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