@randock/nameshift-api-client 0.0.117 → 0.0.118
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/DomainDto.d.ts +6 -0
- package/dist/models/DomainDto.js +4 -0
- package/dist/models/DomainTransferDetailsDomainDto.d.ts +6 -0
- package/dist/models/DomainTransferDetailsDomainDto.js +4 -0
- package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithAccountDto.js +4 -0
- package/dist/models/IntersectionDomainDtoWithDomainUrlDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithDomainUrlDto.js +4 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +4 -0
- package/dist/models/LeadDomainDto.d.ts +6 -0
- package/dist/models/LeadDomainDto.js +4 -0
- package/package.json +1 -1
- package/src/models/DomainDto.ts +9 -0
- package/src/models/DomainTransferDetailsDomainDto.ts +9 -0
- package/src/models/IntersectionDomainDtoWithAccountDto.ts +9 -0
- package/src/models/IntersectionDomainDtoWithDomainUrlDto.ts +9 -0
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +9 -0
- package/src/models/LeadDomainDto.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.118
|
|
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.118 --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
|
+
911d8f9a99279c0f1bdf2e50a1af17d92390ae765045b5cebfaec1c4d99e98756c094a0d21de31889c21f5521403a731
|
|
@@ -89,6 +89,12 @@ export interface DomainDto {
|
|
|
89
89
|
* @memberof DomainDto
|
|
90
90
|
*/
|
|
91
91
|
createdAt: Date;
|
|
92
|
+
/**
|
|
93
|
+
* The deletion date
|
|
94
|
+
* @type {Date}
|
|
95
|
+
* @memberof DomainDto
|
|
96
|
+
*/
|
|
97
|
+
deletedAt: Date | null;
|
|
92
98
|
}
|
|
93
99
|
/**
|
|
94
100
|
* Check if a given object implements the DomainDto interface.
|
package/dist/models/DomainDto.js
CHANGED
|
@@ -46,6 +46,8 @@ function instanceOfDomainDto(value) {
|
|
|
46
46
|
return false;
|
|
47
47
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
48
48
|
return false;
|
|
49
|
+
if (!('deletedAt' in value) || value['deletedAt'] === undefined)
|
|
50
|
+
return false;
|
|
49
51
|
return true;
|
|
50
52
|
}
|
|
51
53
|
function DomainDtoFromJSON(json) {
|
|
@@ -68,6 +70,7 @@ function DomainDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
68
70
|
'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
|
|
69
71
|
'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
|
|
70
72
|
'createdAt': (new Date(json['createdAt'])),
|
|
73
|
+
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
71
74
|
};
|
|
72
75
|
}
|
|
73
76
|
function DomainDtoToJSON(value) {
|
|
@@ -87,5 +90,6 @@ function DomainDtoToJSON(value) {
|
|
|
87
90
|
'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
|
|
88
91
|
'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
|
|
89
92
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
93
|
+
'deletedAt': (value['deletedAt'] == null ? null : value['deletedAt'].toISOString()),
|
|
90
94
|
};
|
|
91
95
|
}
|
|
@@ -33,6 +33,12 @@ export interface DomainTransferDetailsDomainDto {
|
|
|
33
33
|
* @memberof DomainTransferDetailsDomainDto
|
|
34
34
|
*/
|
|
35
35
|
tld: string;
|
|
36
|
+
/**
|
|
37
|
+
* The domain deletion date
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof DomainTransferDetailsDomainDto
|
|
40
|
+
*/
|
|
41
|
+
deletedAt: Date | null;
|
|
36
42
|
}
|
|
37
43
|
/**
|
|
38
44
|
* Check if a given object implements the DomainTransferDetailsDomainDto interface.
|
|
@@ -27,6 +27,8 @@ function instanceOfDomainTransferDetailsDomainDto(value) {
|
|
|
27
27
|
return false;
|
|
28
28
|
if (!('tld' in value) || value['tld'] === undefined)
|
|
29
29
|
return false;
|
|
30
|
+
if (!('deletedAt' in value) || value['deletedAt'] === undefined)
|
|
31
|
+
return false;
|
|
30
32
|
return true;
|
|
31
33
|
}
|
|
32
34
|
function DomainTransferDetailsDomainDtoFromJSON(json) {
|
|
@@ -40,6 +42,7 @@ function DomainTransferDetailsDomainDtoFromJSONTyped(json, ignoreDiscriminator)
|
|
|
40
42
|
'id': json['id'],
|
|
41
43
|
'name': json['name'],
|
|
42
44
|
'tld': json['tld'],
|
|
45
|
+
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
43
46
|
};
|
|
44
47
|
}
|
|
45
48
|
function DomainTransferDetailsDomainDtoToJSON(value) {
|
|
@@ -50,5 +53,6 @@ function DomainTransferDetailsDomainDtoToJSON(value) {
|
|
|
50
53
|
'id': value['id'],
|
|
51
54
|
'name': value['name'],
|
|
52
55
|
'tld': value['tld'],
|
|
56
|
+
'deletedAt': (value['deletedAt'] == null ? null : value['deletedAt'].toISOString()),
|
|
53
57
|
};
|
|
54
58
|
}
|
|
@@ -90,6 +90,12 @@ export interface IntersectionDomainDtoWithAccountDto {
|
|
|
90
90
|
* @memberof IntersectionDomainDtoWithAccountDto
|
|
91
91
|
*/
|
|
92
92
|
createdAt: Date;
|
|
93
|
+
/**
|
|
94
|
+
* The deletion date
|
|
95
|
+
* @type {Date}
|
|
96
|
+
* @memberof IntersectionDomainDtoWithAccountDto
|
|
97
|
+
*/
|
|
98
|
+
deletedAt: Date | null;
|
|
93
99
|
/**
|
|
94
100
|
*
|
|
95
101
|
* @type {AccountDto}
|
|
@@ -47,6 +47,8 @@ function instanceOfIntersectionDomainDtoWithAccountDto(value) {
|
|
|
47
47
|
return false;
|
|
48
48
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
49
49
|
return false;
|
|
50
|
+
if (!('deletedAt' in value) || value['deletedAt'] === undefined)
|
|
51
|
+
return false;
|
|
50
52
|
if (!('account' in value) || value['account'] === undefined)
|
|
51
53
|
return false;
|
|
52
54
|
return true;
|
|
@@ -71,6 +73,7 @@ function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json, ignoreDiscrimina
|
|
|
71
73
|
'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
|
|
72
74
|
'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
|
|
73
75
|
'createdAt': (new Date(json['createdAt'])),
|
|
76
|
+
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
74
77
|
'account': (0, AccountDto_1.AccountDtoFromJSON)(json['account']),
|
|
75
78
|
};
|
|
76
79
|
}
|
|
@@ -91,6 +94,7 @@ function IntersectionDomainDtoWithAccountDtoToJSON(value) {
|
|
|
91
94
|
'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
|
|
92
95
|
'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
|
|
93
96
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
97
|
+
'deletedAt': (value['deletedAt'] == null ? null : value['deletedAt'].toISOString()),
|
|
94
98
|
'account': (0, AccountDto_1.AccountDtoToJSON)(value['account']),
|
|
95
99
|
};
|
|
96
100
|
}
|
|
@@ -95,6 +95,12 @@ export interface IntersectionDomainDtoWithDomainUrlDto {
|
|
|
95
95
|
* @memberof IntersectionDomainDtoWithDomainUrlDto
|
|
96
96
|
*/
|
|
97
97
|
createdAt: Date;
|
|
98
|
+
/**
|
|
99
|
+
* The deletion date
|
|
100
|
+
* @type {Date}
|
|
101
|
+
* @memberof IntersectionDomainDtoWithDomainUrlDto
|
|
102
|
+
*/
|
|
103
|
+
deletedAt: Date | null;
|
|
98
104
|
}
|
|
99
105
|
/**
|
|
100
106
|
* Check if a given object implements the IntersectionDomainDtoWithDomainUrlDto interface.
|
|
@@ -48,6 +48,8 @@ function instanceOfIntersectionDomainDtoWithDomainUrlDto(value) {
|
|
|
48
48
|
return false;
|
|
49
49
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
50
50
|
return false;
|
|
51
|
+
if (!('deletedAt' in value) || value['deletedAt'] === undefined)
|
|
52
|
+
return false;
|
|
51
53
|
return true;
|
|
52
54
|
}
|
|
53
55
|
function IntersectionDomainDtoWithDomainUrlDtoFromJSON(json) {
|
|
@@ -71,6 +73,7 @@ function IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped(json, ignoreDiscrimi
|
|
|
71
73
|
'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
|
|
72
74
|
'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
|
|
73
75
|
'createdAt': (new Date(json['createdAt'])),
|
|
76
|
+
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
74
77
|
};
|
|
75
78
|
}
|
|
76
79
|
function IntersectionDomainDtoWithDomainUrlDtoToJSON(value) {
|
|
@@ -91,5 +94,6 @@ function IntersectionDomainDtoWithDomainUrlDtoToJSON(value) {
|
|
|
91
94
|
'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
|
|
92
95
|
'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
|
|
93
96
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
97
|
+
'deletedAt': (value['deletedAt'] == null ? null : value['deletedAt'].toISOString()),
|
|
94
98
|
};
|
|
95
99
|
}
|
|
@@ -90,6 +90,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
90
90
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
91
91
|
*/
|
|
92
92
|
createdAt: Date;
|
|
93
|
+
/**
|
|
94
|
+
* The deletion date
|
|
95
|
+
* @type {Date}
|
|
96
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
97
|
+
*/
|
|
98
|
+
deletedAt: Date | null;
|
|
93
99
|
/**
|
|
94
100
|
*
|
|
95
101
|
* @type {AccountDto}
|
|
@@ -47,6 +47,8 @@ function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(value) {
|
|
|
47
47
|
return false;
|
|
48
48
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
49
49
|
return false;
|
|
50
|
+
if (!('deletedAt' in value) || value['deletedAt'] === undefined)
|
|
51
|
+
return false;
|
|
50
52
|
if (!('hijacker' in value) || value['hijacker'] === undefined)
|
|
51
53
|
return false;
|
|
52
54
|
if (!('account' in value) || value['account'] === undefined)
|
|
@@ -73,6 +75,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(json, i
|
|
|
73
75
|
'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
|
|
74
76
|
'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
|
|
75
77
|
'createdAt': (new Date(json['createdAt'])),
|
|
78
|
+
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
76
79
|
'hijacker': (0, AccountDto_1.AccountDtoFromJSON)(json['hijacker']),
|
|
77
80
|
'account': (0, AccountDto_1.AccountDtoFromJSON)(json['account']),
|
|
78
81
|
};
|
|
@@ -94,6 +97,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON(value) {
|
|
|
94
97
|
'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
|
|
95
98
|
'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
|
|
96
99
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
100
|
+
'deletedAt': (value['deletedAt'] == null ? null : value['deletedAt'].toISOString()),
|
|
97
101
|
'hijacker': (0, AccountDto_1.AccountDtoToJSON)(value['hijacker']),
|
|
98
102
|
'account': (0, AccountDto_1.AccountDtoToJSON)(value['account']),
|
|
99
103
|
};
|
|
@@ -33,6 +33,12 @@ export interface LeadDomainDto {
|
|
|
33
33
|
* @memberof LeadDomainDto
|
|
34
34
|
*/
|
|
35
35
|
currencyCode: string;
|
|
36
|
+
/**
|
|
37
|
+
* Domain deletion date
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof LeadDomainDto
|
|
40
|
+
*/
|
|
41
|
+
deletedAt: Date | null;
|
|
36
42
|
}
|
|
37
43
|
/**
|
|
38
44
|
* Check if a given object implements the LeadDomainDto interface.
|
|
@@ -27,6 +27,8 @@ function instanceOfLeadDomainDto(value) {
|
|
|
27
27
|
return false;
|
|
28
28
|
if (!('currencyCode' in value) || value['currencyCode'] === undefined)
|
|
29
29
|
return false;
|
|
30
|
+
if (!('deletedAt' in value) || value['deletedAt'] === undefined)
|
|
31
|
+
return false;
|
|
30
32
|
return true;
|
|
31
33
|
}
|
|
32
34
|
function LeadDomainDtoFromJSON(json) {
|
|
@@ -40,6 +42,7 @@ function LeadDomainDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
42
|
'id': json['id'],
|
|
41
43
|
'name': json['name'],
|
|
42
44
|
'currencyCode': json['currencyCode'],
|
|
45
|
+
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
43
46
|
};
|
|
44
47
|
}
|
|
45
48
|
function LeadDomainDtoToJSON(value) {
|
|
@@ -50,5 +53,6 @@ function LeadDomainDtoToJSON(value) {
|
|
|
50
53
|
'id': value['id'],
|
|
51
54
|
'name': value['name'],
|
|
52
55
|
'currencyCode': value['currencyCode'],
|
|
56
|
+
'deletedAt': (value['deletedAt'] == null ? null : value['deletedAt'].toISOString()),
|
|
53
57
|
};
|
|
54
58
|
}
|
package/package.json
CHANGED
package/src/models/DomainDto.ts
CHANGED
|
@@ -99,6 +99,12 @@ export interface DomainDto {
|
|
|
99
99
|
* @memberof DomainDto
|
|
100
100
|
*/
|
|
101
101
|
createdAt: Date;
|
|
102
|
+
/**
|
|
103
|
+
* The deletion date
|
|
104
|
+
* @type {Date}
|
|
105
|
+
* @memberof DomainDto
|
|
106
|
+
*/
|
|
107
|
+
deletedAt: Date | null;
|
|
102
108
|
}
|
|
103
109
|
|
|
104
110
|
/**
|
|
@@ -117,6 +123,7 @@ export function instanceOfDomainDto(value: object): value is DomainDto {
|
|
|
117
123
|
if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
|
|
118
124
|
if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
|
|
119
125
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
126
|
+
if (!('deletedAt' in value) || value['deletedAt'] === undefined) return false;
|
|
120
127
|
return true;
|
|
121
128
|
}
|
|
122
129
|
|
|
@@ -142,6 +149,7 @@ export function DomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
142
149
|
'buyNow': MoneyDtoFromJSON(json['buyNow']),
|
|
143
150
|
'minOffer': MoneyDtoFromJSON(json['minOffer']),
|
|
144
151
|
'createdAt': (new Date(json['createdAt'])),
|
|
152
|
+
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
145
153
|
};
|
|
146
154
|
}
|
|
147
155
|
|
|
@@ -163,6 +171,7 @@ export function DomainDtoToJSON(value?: DomainDto | null): any {
|
|
|
163
171
|
'buyNow': MoneyDtoToJSON(value['buyNow']),
|
|
164
172
|
'minOffer': MoneyDtoToJSON(value['minOffer']),
|
|
165
173
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
174
|
+
'deletedAt': (value['deletedAt'] == null ? null : (value['deletedAt'] as any).toISOString()),
|
|
166
175
|
};
|
|
167
176
|
}
|
|
168
177
|
|
|
@@ -37,6 +37,12 @@ export interface DomainTransferDetailsDomainDto {
|
|
|
37
37
|
* @memberof DomainTransferDetailsDomainDto
|
|
38
38
|
*/
|
|
39
39
|
tld: string;
|
|
40
|
+
/**
|
|
41
|
+
* The domain deletion date
|
|
42
|
+
* @type {Date}
|
|
43
|
+
* @memberof DomainTransferDetailsDomainDto
|
|
44
|
+
*/
|
|
45
|
+
deletedAt: Date | null;
|
|
40
46
|
}
|
|
41
47
|
|
|
42
48
|
/**
|
|
@@ -46,6 +52,7 @@ export function instanceOfDomainTransferDetailsDomainDto(value: object): value i
|
|
|
46
52
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
47
53
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
48
54
|
if (!('tld' in value) || value['tld'] === undefined) return false;
|
|
55
|
+
if (!('deletedAt' in value) || value['deletedAt'] === undefined) return false;
|
|
49
56
|
return true;
|
|
50
57
|
}
|
|
51
58
|
|
|
@@ -62,6 +69,7 @@ export function DomainTransferDetailsDomainDtoFromJSONTyped(json: any, ignoreDis
|
|
|
62
69
|
'id': json['id'],
|
|
63
70
|
'name': json['name'],
|
|
64
71
|
'tld': json['tld'],
|
|
72
|
+
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
65
73
|
};
|
|
66
74
|
}
|
|
67
75
|
|
|
@@ -74,6 +82,7 @@ export function DomainTransferDetailsDomainDtoToJSON(value?: DomainTransferDetai
|
|
|
74
82
|
'id': value['id'],
|
|
75
83
|
'name': value['name'],
|
|
76
84
|
'tld': value['tld'],
|
|
85
|
+
'deletedAt': (value['deletedAt'] == null ? null : (value['deletedAt'] as any).toISOString()),
|
|
77
86
|
};
|
|
78
87
|
}
|
|
79
88
|
|
|
@@ -105,6 +105,12 @@ export interface IntersectionDomainDtoWithAccountDto {
|
|
|
105
105
|
* @memberof IntersectionDomainDtoWithAccountDto
|
|
106
106
|
*/
|
|
107
107
|
createdAt: Date;
|
|
108
|
+
/**
|
|
109
|
+
* The deletion date
|
|
110
|
+
* @type {Date}
|
|
111
|
+
* @memberof IntersectionDomainDtoWithAccountDto
|
|
112
|
+
*/
|
|
113
|
+
deletedAt: Date | null;
|
|
108
114
|
/**
|
|
109
115
|
*
|
|
110
116
|
* @type {AccountDto}
|
|
@@ -129,6 +135,7 @@ export function instanceOfIntersectionDomainDtoWithAccountDto(value: object): va
|
|
|
129
135
|
if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
|
|
130
136
|
if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
|
|
131
137
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
138
|
+
if (!('deletedAt' in value) || value['deletedAt'] === undefined) return false;
|
|
132
139
|
if (!('account' in value) || value['account'] === undefined) return false;
|
|
133
140
|
return true;
|
|
134
141
|
}
|
|
@@ -155,6 +162,7 @@ export function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json: any, igno
|
|
|
155
162
|
'buyNow': MoneyDtoFromJSON(json['buyNow']),
|
|
156
163
|
'minOffer': MoneyDtoFromJSON(json['minOffer']),
|
|
157
164
|
'createdAt': (new Date(json['createdAt'])),
|
|
165
|
+
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
158
166
|
'account': AccountDtoFromJSON(json['account']),
|
|
159
167
|
};
|
|
160
168
|
}
|
|
@@ -177,6 +185,7 @@ export function IntersectionDomainDtoWithAccountDtoToJSON(value?: IntersectionDo
|
|
|
177
185
|
'buyNow': MoneyDtoToJSON(value['buyNow']),
|
|
178
186
|
'minOffer': MoneyDtoToJSON(value['minOffer']),
|
|
179
187
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
188
|
+
'deletedAt': (value['deletedAt'] == null ? null : (value['deletedAt'] as any).toISOString()),
|
|
180
189
|
'account': AccountDtoToJSON(value['account']),
|
|
181
190
|
};
|
|
182
191
|
}
|
|
@@ -105,6 +105,12 @@ export interface IntersectionDomainDtoWithDomainUrlDto {
|
|
|
105
105
|
* @memberof IntersectionDomainDtoWithDomainUrlDto
|
|
106
106
|
*/
|
|
107
107
|
createdAt: Date;
|
|
108
|
+
/**
|
|
109
|
+
* The deletion date
|
|
110
|
+
* @type {Date}
|
|
111
|
+
* @memberof IntersectionDomainDtoWithDomainUrlDto
|
|
112
|
+
*/
|
|
113
|
+
deletedAt: Date | null;
|
|
108
114
|
}
|
|
109
115
|
|
|
110
116
|
/**
|
|
@@ -124,6 +130,7 @@ export function instanceOfIntersectionDomainDtoWithDomainUrlDto(value: object):
|
|
|
124
130
|
if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
|
|
125
131
|
if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
|
|
126
132
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
133
|
+
if (!('deletedAt' in value) || value['deletedAt'] === undefined) return false;
|
|
127
134
|
return true;
|
|
128
135
|
}
|
|
129
136
|
|
|
@@ -150,6 +157,7 @@ export function IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped(json: any, ig
|
|
|
150
157
|
'buyNow': MoneyDtoFromJSON(json['buyNow']),
|
|
151
158
|
'minOffer': MoneyDtoFromJSON(json['minOffer']),
|
|
152
159
|
'createdAt': (new Date(json['createdAt'])),
|
|
160
|
+
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
153
161
|
};
|
|
154
162
|
}
|
|
155
163
|
|
|
@@ -172,6 +180,7 @@ export function IntersectionDomainDtoWithDomainUrlDtoToJSON(value?: Intersection
|
|
|
172
180
|
'buyNow': MoneyDtoToJSON(value['buyNow']),
|
|
173
181
|
'minOffer': MoneyDtoToJSON(value['minOffer']),
|
|
174
182
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
183
|
+
'deletedAt': (value['deletedAt'] == null ? null : (value['deletedAt'] as any).toISOString()),
|
|
175
184
|
};
|
|
176
185
|
}
|
|
177
186
|
|
|
@@ -105,6 +105,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
105
105
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
106
106
|
*/
|
|
107
107
|
createdAt: Date;
|
|
108
|
+
/**
|
|
109
|
+
* The deletion date
|
|
110
|
+
* @type {Date}
|
|
111
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
112
|
+
*/
|
|
113
|
+
deletedAt: Date | null;
|
|
108
114
|
/**
|
|
109
115
|
*
|
|
110
116
|
* @type {AccountDto}
|
|
@@ -135,6 +141,7 @@ export function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(val
|
|
|
135
141
|
if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
|
|
136
142
|
if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
|
|
137
143
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
144
|
+
if (!('deletedAt' in value) || value['deletedAt'] === undefined) return false;
|
|
138
145
|
if (!('hijacker' in value) || value['hijacker'] === undefined) return false;
|
|
139
146
|
if (!('account' in value) || value['account'] === undefined) return false;
|
|
140
147
|
return true;
|
|
@@ -162,6 +169,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(
|
|
|
162
169
|
'buyNow': MoneyDtoFromJSON(json['buyNow']),
|
|
163
170
|
'minOffer': MoneyDtoFromJSON(json['minOffer']),
|
|
164
171
|
'createdAt': (new Date(json['createdAt'])),
|
|
172
|
+
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
165
173
|
'hijacker': AccountDtoFromJSON(json['hijacker']),
|
|
166
174
|
'account': AccountDtoFromJSON(json['account']),
|
|
167
175
|
};
|
|
@@ -185,6 +193,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON(value?:
|
|
|
185
193
|
'buyNow': MoneyDtoToJSON(value['buyNow']),
|
|
186
194
|
'minOffer': MoneyDtoToJSON(value['minOffer']),
|
|
187
195
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
196
|
+
'deletedAt': (value['deletedAt'] == null ? null : (value['deletedAt'] as any).toISOString()),
|
|
188
197
|
'hijacker': AccountDtoToJSON(value['hijacker']),
|
|
189
198
|
'account': AccountDtoToJSON(value['account']),
|
|
190
199
|
};
|
|
@@ -37,6 +37,12 @@ export interface LeadDomainDto {
|
|
|
37
37
|
* @memberof LeadDomainDto
|
|
38
38
|
*/
|
|
39
39
|
currencyCode: string;
|
|
40
|
+
/**
|
|
41
|
+
* Domain deletion date
|
|
42
|
+
* @type {Date}
|
|
43
|
+
* @memberof LeadDomainDto
|
|
44
|
+
*/
|
|
45
|
+
deletedAt: Date | null;
|
|
40
46
|
}
|
|
41
47
|
|
|
42
48
|
/**
|
|
@@ -46,6 +52,7 @@ export function instanceOfLeadDomainDto(value: object): value is LeadDomainDto {
|
|
|
46
52
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
47
53
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
48
54
|
if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
|
|
55
|
+
if (!('deletedAt' in value) || value['deletedAt'] === undefined) return false;
|
|
49
56
|
return true;
|
|
50
57
|
}
|
|
51
58
|
|
|
@@ -62,6 +69,7 @@ export function LeadDomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
62
69
|
'id': json['id'],
|
|
63
70
|
'name': json['name'],
|
|
64
71
|
'currencyCode': json['currencyCode'],
|
|
72
|
+
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
65
73
|
};
|
|
66
74
|
}
|
|
67
75
|
|
|
@@ -74,6 +82,7 @@ export function LeadDomainDtoToJSON(value?: LeadDomainDto | null): any {
|
|
|
74
82
|
'id': value['id'],
|
|
75
83
|
'name': value['name'],
|
|
76
84
|
'currencyCode': value['currencyCode'],
|
|
85
|
+
'deletedAt': (value['deletedAt'] == null ? null : (value['deletedAt'] as any).toISOString()),
|
|
77
86
|
};
|
|
78
87
|
}
|
|
79
88
|
|