@randock/nameshift-api-client 0.0.364 → 0.0.365

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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.364
1
+ ## @randock/nameshift-api-client@0.0.365
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.364 --save
39
+ npm install @randock/nameshift-api-client@0.0.365 --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
- b8af6f75ac68bc0761c871ebdf3ee69af707ec41a13468c43a5444863613d0e457d2d1ef385401135c3c49c3b3e68684
47
+ 229c14a66c5375b49c0e303e5143a0e6bf24b8b3ce8b94bfedbaba17102cbcb2d38b7693acc09919afd444ceb98cddb4
@@ -52,6 +52,12 @@ export interface IntersectionDomainDtoWithAccountDto {
52
52
  * @memberof IntersectionDomainDtoWithAccountDto
53
53
  */
54
54
  isLocked: boolean;
55
+ /**
56
+ * The date until which the domain is locked (end date of the current continuous lock period), or null if not locked
57
+ * @type {Date}
58
+ * @memberof IntersectionDomainDtoWithAccountDto
59
+ */
60
+ lockedUntil: Date | null;
55
61
  /**
56
62
  * The TLD for this domain.
57
63
  * @type {string}
@@ -39,6 +39,8 @@ function instanceOfIntersectionDomainDtoWithAccountDto(value) {
39
39
  return false;
40
40
  if (!('isLocked' in value) || value['isLocked'] === undefined)
41
41
  return false;
42
+ if (!('lockedUntil' in value) || value['lockedUntil'] === undefined)
43
+ return false;
42
44
  if (!('tld' in value) || value['tld'] === undefined)
43
45
  return false;
44
46
  if (!('verified' in value) || value['verified'] === undefined)
@@ -94,6 +96,7 @@ function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json, ignoreDiscrimina
94
96
  'hijackerId': json['hijackerId'],
95
97
  'isDeleteable': json['isDeleteable'],
96
98
  'isLocked': json['isLocked'],
99
+ 'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
97
100
  'tld': json['tld'],
98
101
  'verified': json['verified'],
99
102
  'nameservers': json['nameservers'],
@@ -130,6 +133,7 @@ function IntersectionDomainDtoWithAccountDtoToJSONTyped(value, ignoreDiscriminat
130
133
  'hijackerId': value['hijackerId'],
131
134
  'isDeleteable': value['isDeleteable'],
132
135
  'isLocked': value['isLocked'],
136
+ 'lockedUntil': (value['lockedUntil'] == null ? null : value['lockedUntil'].toISOString()),
133
137
  'tld': value['tld'],
134
138
  'verified': value['verified'],
135
139
  'nameservers': value['nameservers'],
@@ -52,6 +52,12 @@ export interface IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto {
52
52
  * @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
53
53
  */
54
54
  isLocked: boolean;
55
+ /**
56
+ * The date until which the domain is locked (end date of the current continuous lock period), or null if not locked
57
+ * @type {Date}
58
+ * @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
59
+ */
60
+ lockedUntil: Date | null;
55
61
  /**
56
62
  * The TLD for this domain.
57
63
  * @type {string}
@@ -39,6 +39,8 @@ function instanceOfIntersectionDomainDtoWithAccountDtoWithAuctionInfoDto(value)
39
39
  return false;
40
40
  if (!('isLocked' in value) || value['isLocked'] === undefined)
41
41
  return false;
42
+ if (!('lockedUntil' in value) || value['lockedUntil'] === undefined)
43
+ return false;
42
44
  if (!('tld' in value) || value['tld'] === undefined)
43
45
  return false;
44
46
  if (!('verified' in value) || value['verified'] === undefined)
@@ -96,6 +98,7 @@ function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoFromJSONTyped(json
96
98
  'hijackerId': json['hijackerId'],
97
99
  'isDeleteable': json['isDeleteable'],
98
100
  'isLocked': json['isLocked'],
101
+ 'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
99
102
  'tld': json['tld'],
100
103
  'verified': json['verified'],
101
104
  'nameservers': json['nameservers'],
@@ -133,6 +136,7 @@ function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoToJSONTyped(value,
133
136
  'hijackerId': value['hijackerId'],
134
137
  'isDeleteable': value['isDeleteable'],
135
138
  'isLocked': value['isLocked'],
139
+ 'lockedUntil': (value['lockedUntil'] == null ? null : value['lockedUntil'].toISOString()),
136
140
  'tld': value['tld'],
137
141
  'verified': value['verified'],
138
142
  'nameservers': value['nameservers'],
@@ -52,6 +52,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
52
52
  * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
53
53
  */
54
54
  isLocked: boolean;
55
+ /**
56
+ * The date until which the domain is locked (end date of the current continuous lock period), or null if not locked
57
+ * @type {Date}
58
+ * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
59
+ */
60
+ lockedUntil: Date | null;
55
61
  /**
56
62
  * The TLD for this domain.
57
63
  * @type {string}
@@ -39,6 +39,8 @@ function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(value) {
39
39
  return false;
40
40
  if (!('isLocked' in value) || value['isLocked'] === undefined)
41
41
  return false;
42
+ if (!('lockedUntil' in value) || value['lockedUntil'] === undefined)
43
+ return false;
42
44
  if (!('tld' in value) || value['tld'] === undefined)
43
45
  return false;
44
46
  if (!('verified' in value) || value['verified'] === undefined)
@@ -96,6 +98,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(json, i
96
98
  'hijackerId': json['hijackerId'],
97
99
  'isDeleteable': json['isDeleteable'],
98
100
  'isLocked': json['isLocked'],
101
+ 'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
99
102
  'tld': json['tld'],
100
103
  'verified': json['verified'],
101
104
  'nameservers': json['nameservers'],
@@ -133,6 +136,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(value, ig
133
136
  'hijackerId': value['hijackerId'],
134
137
  'isDeleteable': value['isDeleteable'],
135
138
  'isLocked': value['isLocked'],
139
+ 'lockedUntil': (value['lockedUntil'] == null ? null : value['lockedUntil'].toISOString()),
136
140
  'tld': value['tld'],
137
141
  'verified': value['verified'],
138
142
  'nameservers': value['nameservers'],
@@ -52,6 +52,12 @@ export interface IntersectionDomainDtoWithSeoMetricsDto {
52
52
  * @memberof IntersectionDomainDtoWithSeoMetricsDto
53
53
  */
54
54
  isLocked: boolean;
55
+ /**
56
+ * The date until which the domain is locked (end date of the current continuous lock period), or null if not locked
57
+ * @type {Date}
58
+ * @memberof IntersectionDomainDtoWithSeoMetricsDto
59
+ */
60
+ lockedUntil: Date | null;
55
61
  /**
56
62
  * The SEO metrics for this domain
57
63
  * @type {SeoMetricsDto}
@@ -39,6 +39,8 @@ function instanceOfIntersectionDomainDtoWithSeoMetricsDto(value) {
39
39
  return false;
40
40
  if (!('isLocked' in value) || value['isLocked'] === undefined)
41
41
  return false;
42
+ if (!('lockedUntil' in value) || value['lockedUntil'] === undefined)
43
+ return false;
42
44
  if (!('seoMetrics' in value) || value['seoMetrics'] === undefined)
43
45
  return false;
44
46
  if (!('tld' in value) || value['tld'] === undefined)
@@ -94,6 +96,7 @@ function IntersectionDomainDtoWithSeoMetricsDtoFromJSONTyped(json, ignoreDiscrim
94
96
  'hijackerId': json['hijackerId'],
95
97
  'isDeleteable': json['isDeleteable'],
96
98
  'isLocked': json['isLocked'],
99
+ 'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
97
100
  'seoMetrics': (0, SeoMetricsDto_1.SeoMetricsDtoFromJSON)(json['seoMetrics']),
98
101
  'tld': json['tld'],
99
102
  'verified': json['verified'],
@@ -130,6 +133,7 @@ function IntersectionDomainDtoWithSeoMetricsDtoToJSONTyped(value, ignoreDiscrimi
130
133
  'hijackerId': value['hijackerId'],
131
134
  'isDeleteable': value['isDeleteable'],
132
135
  'isLocked': value['isLocked'],
136
+ 'lockedUntil': (value['lockedUntil'] == null ? null : value['lockedUntil'].toISOString()),
133
137
  'seoMetrics': (0, SeoMetricsDto_1.SeoMetricsDtoToJSON)(value['seoMetrics']),
134
138
  'tld': value['tld'],
135
139
  'verified': value['verified'],
@@ -28,6 +28,12 @@ export interface LeadDomainDto {
28
28
  * @memberof LeadDomainDto
29
29
  */
30
30
  isLocked: boolean;
31
+ /**
32
+ * Whether the domain is currently locked
33
+ * @type {Date}
34
+ * @memberof LeadDomainDto
35
+ */
36
+ lockedUntil: Date | null;
31
37
  /**
32
38
  * Domain name
33
39
  * @type {string}
@@ -27,6 +27,8 @@ function instanceOfLeadDomainDto(value) {
27
27
  return false;
28
28
  if (!('isLocked' in value) || value['isLocked'] === undefined)
29
29
  return false;
30
+ if (!('lockedUntil' in value) || value['lockedUntil'] === undefined)
31
+ return false;
30
32
  if (!('name' in value) || value['name'] === undefined)
31
33
  return false;
32
34
  if (!('displayName' in value) || value['displayName'] === undefined)
@@ -51,6 +53,7 @@ function LeadDomainDtoFromJSONTyped(json, ignoreDiscriminator) {
51
53
  return {
52
54
  'id': json['id'],
53
55
  'isLocked': json['isLocked'],
56
+ 'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
54
57
  'name': json['name'],
55
58
  'displayName': json['displayName'],
56
59
  'currencyCode': json['currencyCode'],
@@ -70,6 +73,7 @@ function LeadDomainDtoToJSONTyped(value, ignoreDiscriminator) {
70
73
  return {
71
74
  'id': value['id'],
72
75
  'isLocked': value['isLocked'],
76
+ 'lockedUntil': (value['lockedUntil'] == null ? null : value['lockedUntil'].toISOString()),
73
77
  'name': value['name'],
74
78
  'displayName': value['displayName'],
75
79
  'currencyCode': value['currencyCode'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.364",
3
+ "version": "0.0.365",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -99,6 +99,12 @@ export interface IntersectionDomainDtoWithAccountDto {
99
99
  * @memberof IntersectionDomainDtoWithAccountDto
100
100
  */
101
101
  isLocked: boolean;
102
+ /**
103
+ * The date until which the domain is locked (end date of the current continuous lock period), or null if not locked
104
+ * @type {Date}
105
+ * @memberof IntersectionDomainDtoWithAccountDto
106
+ */
107
+ lockedUntil: Date | null;
102
108
  /**
103
109
  * The TLD for this domain.
104
110
  * @type {string}
@@ -231,6 +237,7 @@ export function instanceOfIntersectionDomainDtoWithAccountDto(value: object): va
231
237
  if (!('hijackerId' in value) || value['hijackerId'] === undefined) return false;
232
238
  if (!('isDeleteable' in value) || value['isDeleteable'] === undefined) return false;
233
239
  if (!('isLocked' in value) || value['isLocked'] === undefined) return false;
240
+ if (!('lockedUntil' in value) || value['lockedUntil'] === undefined) return false;
234
241
  if (!('tld' in value) || value['tld'] === undefined) return false;
235
242
  if (!('verified' in value) || value['verified'] === undefined) return false;
236
243
  if (!('nameservers' in value) || value['nameservers'] === undefined) return false;
@@ -269,6 +276,7 @@ export function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json: any, igno
269
276
  'hijackerId': json['hijackerId'],
270
277
  'isDeleteable': json['isDeleteable'],
271
278
  'isLocked': json['isLocked'],
279
+ 'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
272
280
  'tld': json['tld'],
273
281
  'verified': json['verified'],
274
282
  'nameservers': json['nameservers'],
@@ -308,6 +316,7 @@ export function IntersectionDomainDtoWithAccountDtoToJSONTyped(value?: Intersect
308
316
  'hijackerId': value['hijackerId'],
309
317
  'isDeleteable': value['isDeleteable'],
310
318
  'isLocked': value['isLocked'],
319
+ 'lockedUntil': (value['lockedUntil'] == null ? null : (value['lockedUntil'] as any).toISOString()),
311
320
  'tld': value['tld'],
312
321
  'verified': value['verified'],
313
322
  'nameservers': value['nameservers'],
@@ -99,6 +99,12 @@ export interface IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto {
99
99
  * @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
100
100
  */
101
101
  isLocked: boolean;
102
+ /**
103
+ * The date until which the domain is locked (end date of the current continuous lock period), or null if not locked
104
+ * @type {Date}
105
+ * @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
106
+ */
107
+ lockedUntil: Date | null;
102
108
  /**
103
109
  * The TLD for this domain.
104
110
  * @type {string}
@@ -237,6 +243,7 @@ export function instanceOfIntersectionDomainDtoWithAccountDtoWithAuctionInfoDto(
237
243
  if (!('hijackerId' in value) || value['hijackerId'] === undefined) return false;
238
244
  if (!('isDeleteable' in value) || value['isDeleteable'] === undefined) return false;
239
245
  if (!('isLocked' in value) || value['isLocked'] === undefined) return false;
246
+ if (!('lockedUntil' in value) || value['lockedUntil'] === undefined) return false;
240
247
  if (!('tld' in value) || value['tld'] === undefined) return false;
241
248
  if (!('verified' in value) || value['verified'] === undefined) return false;
242
249
  if (!('nameservers' in value) || value['nameservers'] === undefined) return false;
@@ -276,6 +283,7 @@ export function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoFromJSONTyp
276
283
  'hijackerId': json['hijackerId'],
277
284
  'isDeleteable': json['isDeleteable'],
278
285
  'isLocked': json['isLocked'],
286
+ 'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
279
287
  'tld': json['tld'],
280
288
  'verified': json['verified'],
281
289
  'nameservers': json['nameservers'],
@@ -316,6 +324,7 @@ export function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoToJSONTyped
316
324
  'hijackerId': value['hijackerId'],
317
325
  'isDeleteable': value['isDeleteable'],
318
326
  'isLocked': value['isLocked'],
327
+ 'lockedUntil': (value['lockedUntil'] == null ? null : (value['lockedUntil'] as any).toISOString()),
319
328
  'tld': value['tld'],
320
329
  'verified': value['verified'],
321
330
  'nameservers': value['nameservers'],
@@ -99,6 +99,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
99
99
  * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
100
100
  */
101
101
  isLocked: boolean;
102
+ /**
103
+ * The date until which the domain is locked (end date of the current continuous lock period), or null if not locked
104
+ * @type {Date}
105
+ * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
106
+ */
107
+ lockedUntil: Date | null;
102
108
  /**
103
109
  * The TLD for this domain.
104
110
  * @type {string}
@@ -237,6 +243,7 @@ export function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(val
237
243
  if (!('hijackerId' in value) || value['hijackerId'] === undefined) return false;
238
244
  if (!('isDeleteable' in value) || value['isDeleteable'] === undefined) return false;
239
245
  if (!('isLocked' in value) || value['isLocked'] === undefined) return false;
246
+ if (!('lockedUntil' in value) || value['lockedUntil'] === undefined) return false;
240
247
  if (!('tld' in value) || value['tld'] === undefined) return false;
241
248
  if (!('verified' in value) || value['verified'] === undefined) return false;
242
249
  if (!('nameservers' in value) || value['nameservers'] === undefined) return false;
@@ -276,6 +283,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(
276
283
  'hijackerId': json['hijackerId'],
277
284
  'isDeleteable': json['isDeleteable'],
278
285
  'isLocked': json['isLocked'],
286
+ 'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
279
287
  'tld': json['tld'],
280
288
  'verified': json['verified'],
281
289
  'nameservers': json['nameservers'],
@@ -316,6 +324,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(va
316
324
  'hijackerId': value['hijackerId'],
317
325
  'isDeleteable': value['isDeleteable'],
318
326
  'isLocked': value['isLocked'],
327
+ 'lockedUntil': (value['lockedUntil'] == null ? null : (value['lockedUntil'] as any).toISOString()),
319
328
  'tld': value['tld'],
320
329
  'verified': value['verified'],
321
330
  'nameservers': value['nameservers'],
@@ -99,6 +99,12 @@ export interface IntersectionDomainDtoWithSeoMetricsDto {
99
99
  * @memberof IntersectionDomainDtoWithSeoMetricsDto
100
100
  */
101
101
  isLocked: boolean;
102
+ /**
103
+ * The date until which the domain is locked (end date of the current continuous lock period), or null if not locked
104
+ * @type {Date}
105
+ * @memberof IntersectionDomainDtoWithSeoMetricsDto
106
+ */
107
+ lockedUntil: Date | null;
102
108
  /**
103
109
  * The SEO metrics for this domain
104
110
  * @type {SeoMetricsDto}
@@ -231,6 +237,7 @@ export function instanceOfIntersectionDomainDtoWithSeoMetricsDto(value: object):
231
237
  if (!('hijackerId' in value) || value['hijackerId'] === undefined) return false;
232
238
  if (!('isDeleteable' in value) || value['isDeleteable'] === undefined) return false;
233
239
  if (!('isLocked' in value) || value['isLocked'] === undefined) return false;
240
+ if (!('lockedUntil' in value) || value['lockedUntil'] === undefined) return false;
234
241
  if (!('seoMetrics' in value) || value['seoMetrics'] === undefined) return false;
235
242
  if (!('tld' in value) || value['tld'] === undefined) return false;
236
243
  if (!('verified' in value) || value['verified'] === undefined) return false;
@@ -269,6 +276,7 @@ export function IntersectionDomainDtoWithSeoMetricsDtoFromJSONTyped(json: any, i
269
276
  'hijackerId': json['hijackerId'],
270
277
  'isDeleteable': json['isDeleteable'],
271
278
  'isLocked': json['isLocked'],
279
+ 'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
272
280
  'seoMetrics': SeoMetricsDtoFromJSON(json['seoMetrics']),
273
281
  'tld': json['tld'],
274
282
  'verified': json['verified'],
@@ -308,6 +316,7 @@ export function IntersectionDomainDtoWithSeoMetricsDtoToJSONTyped(value?: Inters
308
316
  'hijackerId': value['hijackerId'],
309
317
  'isDeleteable': value['isDeleteable'],
310
318
  'isLocked': value['isLocked'],
319
+ 'lockedUntil': (value['lockedUntil'] == null ? null : (value['lockedUntil'] as any).toISOString()),
311
320
  'seoMetrics': SeoMetricsDtoToJSON(value['seoMetrics']),
312
321
  'tld': value['tld'],
313
322
  'verified': value['verified'],
@@ -39,6 +39,12 @@ export interface LeadDomainDto {
39
39
  * @memberof LeadDomainDto
40
40
  */
41
41
  isLocked: boolean;
42
+ /**
43
+ * Whether the domain is currently locked
44
+ * @type {Date}
45
+ * @memberof LeadDomainDto
46
+ */
47
+ lockedUntil: Date | null;
42
48
  /**
43
49
  * Domain name
44
50
  * @type {string}
@@ -83,6 +89,7 @@ export interface LeadDomainDto {
83
89
  export function instanceOfLeadDomainDto(value: object): value is LeadDomainDto {
84
90
  if (!('id' in value) || value['id'] === undefined) return false;
85
91
  if (!('isLocked' in value) || value['isLocked'] === undefined) return false;
92
+ if (!('lockedUntil' in value) || value['lockedUntil'] === undefined) return false;
86
93
  if (!('name' in value) || value['name'] === undefined) return false;
87
94
  if (!('displayName' in value) || value['displayName'] === undefined) return false;
88
95
  if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
@@ -104,6 +111,7 @@ export function LeadDomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boole
104
111
 
105
112
  'id': json['id'],
106
113
  'isLocked': json['isLocked'],
114
+ 'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
107
115
  'name': json['name'],
108
116
  'displayName': json['displayName'],
109
117
  'currencyCode': json['currencyCode'],
@@ -126,6 +134,7 @@ export function LeadDomainDtoToJSONTyped(value?: LeadDomainDto | null, ignoreDis
126
134
 
127
135
  'id': value['id'],
128
136
  'isLocked': value['isLocked'],
137
+ 'lockedUntil': (value['lockedUntil'] == null ? null : (value['lockedUntil'] as any).toISOString()),
129
138
  'name': value['name'],
130
139
  'displayName': value['displayName'],
131
140
  'currencyCode': value['currencyCode'],