@randock/nameshift-api-client 0.0.137 → 0.0.138
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/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/package.json +1 -1
- package/src/models/DomainDto.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/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.138
|
|
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.138 --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
|
+
e2b55afbe1b9a79c569a71e1f4c28ad54c22882f870a1d8c1d5dc22cf802714043a5baf4e0b55f46b65f857fe95d5d38
|
|
@@ -95,6 +95,12 @@ export interface DomainDto {
|
|
|
95
95
|
* @memberof DomainDto
|
|
96
96
|
*/
|
|
97
97
|
deletedAt: Date | null;
|
|
98
|
+
/**
|
|
99
|
+
* The amount of pageviews for this domain, or null if none are tracked.
|
|
100
|
+
* @type {number}
|
|
101
|
+
* @memberof DomainDto
|
|
102
|
+
*/
|
|
103
|
+
pageviews: number | null;
|
|
98
104
|
}
|
|
99
105
|
/**
|
|
100
106
|
* Check if a given object implements the DomainDto interface.
|
package/dist/models/DomainDto.js
CHANGED
|
@@ -49,6 +49,8 @@ function instanceOfDomainDto(value) {
|
|
|
49
49
|
return false;
|
|
50
50
|
if (!('deletedAt' in value) || value['deletedAt'] === undefined)
|
|
51
51
|
return false;
|
|
52
|
+
if (!('pageviews' in value) || value['pageviews'] === undefined)
|
|
53
|
+
return false;
|
|
52
54
|
return true;
|
|
53
55
|
}
|
|
54
56
|
function DomainDtoFromJSON(json) {
|
|
@@ -72,6 +74,7 @@ function DomainDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
72
74
|
'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
|
|
73
75
|
'createdAt': (new Date(json['createdAt'])),
|
|
74
76
|
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
77
|
+
'pageviews': json['pageviews'],
|
|
75
78
|
};
|
|
76
79
|
}
|
|
77
80
|
function DomainDtoToJSON(json) {
|
|
@@ -96,5 +99,6 @@ function DomainDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
96
99
|
'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
|
|
97
100
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
98
101
|
'deletedAt': (value['deletedAt'] == null ? null : value['deletedAt'].toISOString()),
|
|
102
|
+
'pageviews': value['pageviews'],
|
|
99
103
|
};
|
|
100
104
|
}
|
|
@@ -96,6 +96,12 @@ export interface IntersectionDomainDtoWithAccountDto {
|
|
|
96
96
|
* @memberof IntersectionDomainDtoWithAccountDto
|
|
97
97
|
*/
|
|
98
98
|
deletedAt: Date | null;
|
|
99
|
+
/**
|
|
100
|
+
* The amount of pageviews for this domain, or null if none are tracked.
|
|
101
|
+
* @type {number}
|
|
102
|
+
* @memberof IntersectionDomainDtoWithAccountDto
|
|
103
|
+
*/
|
|
104
|
+
pageviews: number | null;
|
|
99
105
|
/**
|
|
100
106
|
*
|
|
101
107
|
* @type {AccountDto}
|
|
@@ -50,6 +50,8 @@ function instanceOfIntersectionDomainDtoWithAccountDto(value) {
|
|
|
50
50
|
return false;
|
|
51
51
|
if (!('deletedAt' in value) || value['deletedAt'] === undefined)
|
|
52
52
|
return false;
|
|
53
|
+
if (!('pageviews' in value) || value['pageviews'] === undefined)
|
|
54
|
+
return false;
|
|
53
55
|
if (!('account' in value) || value['account'] === undefined)
|
|
54
56
|
return false;
|
|
55
57
|
return true;
|
|
@@ -75,6 +77,7 @@ function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json, ignoreDiscrimina
|
|
|
75
77
|
'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
|
|
76
78
|
'createdAt': (new Date(json['createdAt'])),
|
|
77
79
|
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
80
|
+
'pageviews': json['pageviews'],
|
|
78
81
|
'account': (0, AccountDto_1.AccountDtoFromJSON)(json['account']),
|
|
79
82
|
};
|
|
80
83
|
}
|
|
@@ -100,6 +103,7 @@ function IntersectionDomainDtoWithAccountDtoToJSONTyped(value, ignoreDiscriminat
|
|
|
100
103
|
'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
|
|
101
104
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
102
105
|
'deletedAt': (value['deletedAt'] == null ? null : value['deletedAt'].toISOString()),
|
|
106
|
+
'pageviews': value['pageviews'],
|
|
103
107
|
'account': (0, AccountDto_1.AccountDtoToJSON)(value['account']),
|
|
104
108
|
};
|
|
105
109
|
}
|
|
@@ -101,6 +101,12 @@ export interface IntersectionDomainDtoWithDomainUrlDto {
|
|
|
101
101
|
* @memberof IntersectionDomainDtoWithDomainUrlDto
|
|
102
102
|
*/
|
|
103
103
|
deletedAt: Date | null;
|
|
104
|
+
/**
|
|
105
|
+
* The amount of pageviews for this domain, or null if none are tracked.
|
|
106
|
+
* @type {number}
|
|
107
|
+
* @memberof IntersectionDomainDtoWithDomainUrlDto
|
|
108
|
+
*/
|
|
109
|
+
pageviews: number | null;
|
|
104
110
|
}
|
|
105
111
|
/**
|
|
106
112
|
* Check if a given object implements the IntersectionDomainDtoWithDomainUrlDto interface.
|
|
@@ -51,6 +51,8 @@ function instanceOfIntersectionDomainDtoWithDomainUrlDto(value) {
|
|
|
51
51
|
return false;
|
|
52
52
|
if (!('deletedAt' in value) || value['deletedAt'] === undefined)
|
|
53
53
|
return false;
|
|
54
|
+
if (!('pageviews' in value) || value['pageviews'] === undefined)
|
|
55
|
+
return false;
|
|
54
56
|
return true;
|
|
55
57
|
}
|
|
56
58
|
function IntersectionDomainDtoWithDomainUrlDtoFromJSON(json) {
|
|
@@ -75,6 +77,7 @@ function IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped(json, ignoreDiscrimi
|
|
|
75
77
|
'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
|
|
76
78
|
'createdAt': (new Date(json['createdAt'])),
|
|
77
79
|
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
80
|
+
'pageviews': json['pageviews'],
|
|
78
81
|
};
|
|
79
82
|
}
|
|
80
83
|
function IntersectionDomainDtoWithDomainUrlDtoToJSON(json) {
|
|
@@ -100,5 +103,6 @@ function IntersectionDomainDtoWithDomainUrlDtoToJSONTyped(value, ignoreDiscrimin
|
|
|
100
103
|
'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
|
|
101
104
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
102
105
|
'deletedAt': (value['deletedAt'] == null ? null : value['deletedAt'].toISOString()),
|
|
106
|
+
'pageviews': value['pageviews'],
|
|
103
107
|
};
|
|
104
108
|
}
|
|
@@ -96,6 +96,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
96
96
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
97
97
|
*/
|
|
98
98
|
deletedAt: Date | null;
|
|
99
|
+
/**
|
|
100
|
+
* The amount of pageviews for this domain, or null if none are tracked.
|
|
101
|
+
* @type {number}
|
|
102
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
103
|
+
*/
|
|
104
|
+
pageviews: number | null;
|
|
99
105
|
/**
|
|
100
106
|
*
|
|
101
107
|
* @type {AccountDto}
|
|
@@ -50,6 +50,8 @@ function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(value) {
|
|
|
50
50
|
return false;
|
|
51
51
|
if (!('deletedAt' in value) || value['deletedAt'] === undefined)
|
|
52
52
|
return false;
|
|
53
|
+
if (!('pageviews' in value) || value['pageviews'] === undefined)
|
|
54
|
+
return false;
|
|
53
55
|
if (!('hijacker' in value) || value['hijacker'] === undefined)
|
|
54
56
|
return false;
|
|
55
57
|
if (!('account' in value) || value['account'] === undefined)
|
|
@@ -77,6 +79,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(json, i
|
|
|
77
79
|
'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
|
|
78
80
|
'createdAt': (new Date(json['createdAt'])),
|
|
79
81
|
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
82
|
+
'pageviews': json['pageviews'],
|
|
80
83
|
'hijacker': (0, AccountDto_1.AccountDtoFromJSON)(json['hijacker']),
|
|
81
84
|
'account': (0, AccountDto_1.AccountDtoFromJSON)(json['account']),
|
|
82
85
|
};
|
|
@@ -103,6 +106,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(value, ig
|
|
|
103
106
|
'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
|
|
104
107
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
105
108
|
'deletedAt': (value['deletedAt'] == null ? null : value['deletedAt'].toISOString()),
|
|
109
|
+
'pageviews': value['pageviews'],
|
|
106
110
|
'hijacker': (0, AccountDto_1.AccountDtoToJSON)(value['hijacker']),
|
|
107
111
|
'account': (0, AccountDto_1.AccountDtoToJSON)(value['account']),
|
|
108
112
|
};
|
package/package.json
CHANGED
package/src/models/DomainDto.ts
CHANGED
|
@@ -106,6 +106,12 @@ export interface DomainDto {
|
|
|
106
106
|
* @memberof DomainDto
|
|
107
107
|
*/
|
|
108
108
|
deletedAt: Date | null;
|
|
109
|
+
/**
|
|
110
|
+
* The amount of pageviews for this domain, or null if none are tracked.
|
|
111
|
+
* @type {number}
|
|
112
|
+
* @memberof DomainDto
|
|
113
|
+
*/
|
|
114
|
+
pageviews: number | null;
|
|
109
115
|
}
|
|
110
116
|
|
|
111
117
|
/**
|
|
@@ -125,6 +131,7 @@ export function instanceOfDomainDto(value: object): value is DomainDto {
|
|
|
125
131
|
if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
|
|
126
132
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
127
133
|
if (!('deletedAt' in value) || value['deletedAt'] === undefined) return false;
|
|
134
|
+
if (!('pageviews' in value) || value['pageviews'] === undefined) return false;
|
|
128
135
|
return true;
|
|
129
136
|
}
|
|
130
137
|
|
|
@@ -151,6 +158,7 @@ export function DomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
151
158
|
'minOffer': MoneyDtoFromJSON(json['minOffer']),
|
|
152
159
|
'createdAt': (new Date(json['createdAt'])),
|
|
153
160
|
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
161
|
+
'pageviews': json['pageviews'],
|
|
154
162
|
};
|
|
155
163
|
}
|
|
156
164
|
|
|
@@ -178,6 +186,7 @@ export function DomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
178
186
|
'minOffer': MoneyDtoToJSON(value['minOffer']),
|
|
179
187
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
180
188
|
'deletedAt': (value['deletedAt'] == null ? null : (value['deletedAt'] as any).toISOString()),
|
|
189
|
+
'pageviews': value['pageviews'],
|
|
181
190
|
};
|
|
182
191
|
}
|
|
183
192
|
|
|
@@ -113,6 +113,12 @@ export interface IntersectionDomainDtoWithAccountDto {
|
|
|
113
113
|
* @memberof IntersectionDomainDtoWithAccountDto
|
|
114
114
|
*/
|
|
115
115
|
deletedAt: Date | null;
|
|
116
|
+
/**
|
|
117
|
+
* The amount of pageviews for this domain, or null if none are tracked.
|
|
118
|
+
* @type {number}
|
|
119
|
+
* @memberof IntersectionDomainDtoWithAccountDto
|
|
120
|
+
*/
|
|
121
|
+
pageviews: number | null;
|
|
116
122
|
/**
|
|
117
123
|
*
|
|
118
124
|
* @type {AccountDto}
|
|
@@ -138,6 +144,7 @@ export function instanceOfIntersectionDomainDtoWithAccountDto(value: object): va
|
|
|
138
144
|
if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
|
|
139
145
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
140
146
|
if (!('deletedAt' in value) || value['deletedAt'] === undefined) return false;
|
|
147
|
+
if (!('pageviews' in value) || value['pageviews'] === undefined) return false;
|
|
141
148
|
if (!('account' in value) || value['account'] === undefined) return false;
|
|
142
149
|
return true;
|
|
143
150
|
}
|
|
@@ -165,6 +172,7 @@ export function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json: any, igno
|
|
|
165
172
|
'minOffer': MoneyDtoFromJSON(json['minOffer']),
|
|
166
173
|
'createdAt': (new Date(json['createdAt'])),
|
|
167
174
|
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
175
|
+
'pageviews': json['pageviews'],
|
|
168
176
|
'account': AccountDtoFromJSON(json['account']),
|
|
169
177
|
};
|
|
170
178
|
}
|
|
@@ -193,6 +201,7 @@ export function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json: any, igno
|
|
|
193
201
|
'minOffer': MoneyDtoToJSON(value['minOffer']),
|
|
194
202
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
195
203
|
'deletedAt': (value['deletedAt'] == null ? null : (value['deletedAt'] as any).toISOString()),
|
|
204
|
+
'pageviews': value['pageviews'],
|
|
196
205
|
'account': AccountDtoToJSON(value['account']),
|
|
197
206
|
};
|
|
198
207
|
}
|
|
@@ -112,6 +112,12 @@ export interface IntersectionDomainDtoWithDomainUrlDto {
|
|
|
112
112
|
* @memberof IntersectionDomainDtoWithDomainUrlDto
|
|
113
113
|
*/
|
|
114
114
|
deletedAt: Date | null;
|
|
115
|
+
/**
|
|
116
|
+
* The amount of pageviews for this domain, or null if none are tracked.
|
|
117
|
+
* @type {number}
|
|
118
|
+
* @memberof IntersectionDomainDtoWithDomainUrlDto
|
|
119
|
+
*/
|
|
120
|
+
pageviews: number | null;
|
|
115
121
|
}
|
|
116
122
|
|
|
117
123
|
/**
|
|
@@ -132,6 +138,7 @@ export function instanceOfIntersectionDomainDtoWithDomainUrlDto(value: object):
|
|
|
132
138
|
if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
|
|
133
139
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
134
140
|
if (!('deletedAt' in value) || value['deletedAt'] === undefined) return false;
|
|
141
|
+
if (!('pageviews' in value) || value['pageviews'] === undefined) return false;
|
|
135
142
|
return true;
|
|
136
143
|
}
|
|
137
144
|
|
|
@@ -159,6 +166,7 @@ export function IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped(json: any, ig
|
|
|
159
166
|
'minOffer': MoneyDtoFromJSON(json['minOffer']),
|
|
160
167
|
'createdAt': (new Date(json['createdAt'])),
|
|
161
168
|
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
169
|
+
'pageviews': json['pageviews'],
|
|
162
170
|
};
|
|
163
171
|
}
|
|
164
172
|
|
|
@@ -187,6 +195,7 @@ export function IntersectionDomainDtoWithDomainUrlDtoFromJSONTyped(json: any, ig
|
|
|
187
195
|
'minOffer': MoneyDtoToJSON(value['minOffer']),
|
|
188
196
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
189
197
|
'deletedAt': (value['deletedAt'] == null ? null : (value['deletedAt'] as any).toISOString()),
|
|
198
|
+
'pageviews': value['pageviews'],
|
|
190
199
|
};
|
|
191
200
|
}
|
|
192
201
|
|
|
@@ -113,6 +113,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
113
113
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
114
114
|
*/
|
|
115
115
|
deletedAt: Date | null;
|
|
116
|
+
/**
|
|
117
|
+
* The amount of pageviews for this domain, or null if none are tracked.
|
|
118
|
+
* @type {number}
|
|
119
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
120
|
+
*/
|
|
121
|
+
pageviews: number | null;
|
|
116
122
|
/**
|
|
117
123
|
*
|
|
118
124
|
* @type {AccountDto}
|
|
@@ -144,6 +150,7 @@ export function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(val
|
|
|
144
150
|
if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
|
|
145
151
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
146
152
|
if (!('deletedAt' in value) || value['deletedAt'] === undefined) return false;
|
|
153
|
+
if (!('pageviews' in value) || value['pageviews'] === undefined) return false;
|
|
147
154
|
if (!('hijacker' in value) || value['hijacker'] === undefined) return false;
|
|
148
155
|
if (!('account' in value) || value['account'] === undefined) return false;
|
|
149
156
|
return true;
|
|
@@ -172,6 +179,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(
|
|
|
172
179
|
'minOffer': MoneyDtoFromJSON(json['minOffer']),
|
|
173
180
|
'createdAt': (new Date(json['createdAt'])),
|
|
174
181
|
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
182
|
+
'pageviews': json['pageviews'],
|
|
175
183
|
'hijacker': AccountDtoFromJSON(json['hijacker']),
|
|
176
184
|
'account': AccountDtoFromJSON(json['account']),
|
|
177
185
|
};
|
|
@@ -201,6 +209,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(
|
|
|
201
209
|
'minOffer': MoneyDtoToJSON(value['minOffer']),
|
|
202
210
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
203
211
|
'deletedAt': (value['deletedAt'] == null ? null : (value['deletedAt'] as any).toISOString()),
|
|
212
|
+
'pageviews': value['pageviews'],
|
|
204
213
|
'hijacker': AccountDtoToJSON(value['hijacker']),
|
|
205
214
|
'account': AccountDtoToJSON(value['account']),
|
|
206
215
|
};
|