@randock/nameshift-api-client 0.0.51 → 0.0.52
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/IntersectionDomainDtoWithAccountDto.d.ts +12 -0
- package/dist/models/IntersectionDomainDtoWithAccountDto.js +8 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +12 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +8 -0
- package/package.json +1 -1
- package/src/models/DomainDto.ts +18 -0
- package/src/models/IntersectionDomainDtoWithAccountDto.ts +18 -0
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +18 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.52
|
|
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.52 --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
|
+
1386ce900b8d4349730cfcff1a6e65c70cc125085350b4d4d719b7bc593cdb584c24b665479ec27f04757d248a8201f3
|
|
@@ -22,6 +22,18 @@ export interface DomainDto {
|
|
|
22
22
|
* @memberof DomainDto
|
|
23
23
|
*/
|
|
24
24
|
id: string;
|
|
25
|
+
/**
|
|
26
|
+
* The current owner for the domain
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof DomainDto
|
|
29
|
+
*/
|
|
30
|
+
accountId: string;
|
|
31
|
+
/**
|
|
32
|
+
* The hijacker for the domain
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof DomainDto
|
|
35
|
+
*/
|
|
36
|
+
hijackerId: string | null;
|
|
25
37
|
/**
|
|
26
38
|
* The TLD for this domain.
|
|
27
39
|
* @type {string}
|
package/dist/models/DomainDto.js
CHANGED
|
@@ -21,6 +21,10 @@ var MoneyDto_1 = require("./MoneyDto");
|
|
|
21
21
|
function instanceOfDomainDto(value) {
|
|
22
22
|
if (!('id' in value) || value['id'] === undefined)
|
|
23
23
|
return false;
|
|
24
|
+
if (!('accountId' in value) || value['accountId'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('hijackerId' in value) || value['hijackerId'] === undefined)
|
|
27
|
+
return false;
|
|
24
28
|
if (!('tld' in value) || value['tld'] === undefined)
|
|
25
29
|
return false;
|
|
26
30
|
if (!('verified' in value) || value['verified'] === undefined)
|
|
@@ -48,6 +52,8 @@ function DomainDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
52
|
}
|
|
49
53
|
return {
|
|
50
54
|
'id': json['id'],
|
|
55
|
+
'accountId': json['accountId'],
|
|
56
|
+
'hijackerId': json['hijackerId'],
|
|
51
57
|
'tld': json['tld'],
|
|
52
58
|
'verified': json['verified'],
|
|
53
59
|
'nameservers': json['nameservers'],
|
|
@@ -64,6 +70,8 @@ function DomainDtoToJSON(value) {
|
|
|
64
70
|
}
|
|
65
71
|
return {
|
|
66
72
|
'id': value['id'],
|
|
73
|
+
'accountId': value['accountId'],
|
|
74
|
+
'hijackerId': value['hijackerId'],
|
|
67
75
|
'tld': value['tld'],
|
|
68
76
|
'verified': value['verified'],
|
|
69
77
|
'nameservers': value['nameservers'],
|
|
@@ -23,6 +23,18 @@ export interface IntersectionDomainDtoWithAccountDto {
|
|
|
23
23
|
* @memberof IntersectionDomainDtoWithAccountDto
|
|
24
24
|
*/
|
|
25
25
|
id: string;
|
|
26
|
+
/**
|
|
27
|
+
* The current owner for the domain
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof IntersectionDomainDtoWithAccountDto
|
|
30
|
+
*/
|
|
31
|
+
accountId: string;
|
|
32
|
+
/**
|
|
33
|
+
* The hijacker for the domain
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof IntersectionDomainDtoWithAccountDto
|
|
36
|
+
*/
|
|
37
|
+
hijackerId: string | null;
|
|
26
38
|
/**
|
|
27
39
|
* The TLD for this domain.
|
|
28
40
|
* @type {string}
|
|
@@ -22,6 +22,10 @@ var AccountDto_1 = require("./AccountDto");
|
|
|
22
22
|
function instanceOfIntersectionDomainDtoWithAccountDto(value) {
|
|
23
23
|
if (!('id' in value) || value['id'] === undefined)
|
|
24
24
|
return false;
|
|
25
|
+
if (!('accountId' in value) || value['accountId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('hijackerId' in value) || value['hijackerId'] === undefined)
|
|
28
|
+
return false;
|
|
25
29
|
if (!('tld' in value) || value['tld'] === undefined)
|
|
26
30
|
return false;
|
|
27
31
|
if (!('verified' in value) || value['verified'] === undefined)
|
|
@@ -51,6 +55,8 @@ function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json, ignoreDiscrimina
|
|
|
51
55
|
}
|
|
52
56
|
return {
|
|
53
57
|
'id': json['id'],
|
|
58
|
+
'accountId': json['accountId'],
|
|
59
|
+
'hijackerId': json['hijackerId'],
|
|
54
60
|
'tld': json['tld'],
|
|
55
61
|
'verified': json['verified'],
|
|
56
62
|
'nameservers': json['nameservers'],
|
|
@@ -68,6 +74,8 @@ function IntersectionDomainDtoWithAccountDtoToJSON(value) {
|
|
|
68
74
|
}
|
|
69
75
|
return {
|
|
70
76
|
'id': value['id'],
|
|
77
|
+
'accountId': value['accountId'],
|
|
78
|
+
'hijackerId': value['hijackerId'],
|
|
71
79
|
'tld': value['tld'],
|
|
72
80
|
'verified': value['verified'],
|
|
73
81
|
'nameservers': value['nameservers'],
|
|
@@ -23,6 +23,18 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
23
23
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
24
24
|
*/
|
|
25
25
|
id: string;
|
|
26
|
+
/**
|
|
27
|
+
* The current owner for the domain
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
30
|
+
*/
|
|
31
|
+
accountId: string;
|
|
32
|
+
/**
|
|
33
|
+
* The hijacker for the domain
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
36
|
+
*/
|
|
37
|
+
hijackerId: string | null;
|
|
26
38
|
/**
|
|
27
39
|
* The TLD for this domain.
|
|
28
40
|
* @type {string}
|
|
@@ -22,6 +22,10 @@ var AccountDto_1 = require("./AccountDto");
|
|
|
22
22
|
function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(value) {
|
|
23
23
|
if (!('id' in value) || value['id'] === undefined)
|
|
24
24
|
return false;
|
|
25
|
+
if (!('accountId' in value) || value['accountId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('hijackerId' in value) || value['hijackerId'] === undefined)
|
|
28
|
+
return false;
|
|
25
29
|
if (!('tld' in value) || value['tld'] === undefined)
|
|
26
30
|
return false;
|
|
27
31
|
if (!('verified' in value) || value['verified'] === undefined)
|
|
@@ -53,6 +57,8 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(json, i
|
|
|
53
57
|
}
|
|
54
58
|
return {
|
|
55
59
|
'id': json['id'],
|
|
60
|
+
'accountId': json['accountId'],
|
|
61
|
+
'hijackerId': json['hijackerId'],
|
|
56
62
|
'tld': json['tld'],
|
|
57
63
|
'verified': json['verified'],
|
|
58
64
|
'nameservers': json['nameservers'],
|
|
@@ -71,6 +77,8 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON(value) {
|
|
|
71
77
|
}
|
|
72
78
|
return {
|
|
73
79
|
'id': value['id'],
|
|
80
|
+
'accountId': value['accountId'],
|
|
81
|
+
'hijackerId': value['hijackerId'],
|
|
74
82
|
'tld': value['tld'],
|
|
75
83
|
'verified': value['verified'],
|
|
76
84
|
'nameservers': value['nameservers'],
|
package/package.json
CHANGED
package/src/models/DomainDto.ts
CHANGED
|
@@ -32,6 +32,18 @@ export interface DomainDto {
|
|
|
32
32
|
* @memberof DomainDto
|
|
33
33
|
*/
|
|
34
34
|
id: string;
|
|
35
|
+
/**
|
|
36
|
+
* The current owner for the domain
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof DomainDto
|
|
39
|
+
*/
|
|
40
|
+
accountId: string;
|
|
41
|
+
/**
|
|
42
|
+
* The hijacker for the domain
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof DomainDto
|
|
45
|
+
*/
|
|
46
|
+
hijackerId: string | null;
|
|
35
47
|
/**
|
|
36
48
|
* The TLD for this domain.
|
|
37
49
|
* @type {string}
|
|
@@ -82,6 +94,8 @@ export interface DomainDto {
|
|
|
82
94
|
*/
|
|
83
95
|
export function instanceOfDomainDto(value: object): value is DomainDto {
|
|
84
96
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
97
|
+
if (!('accountId' in value) || value['accountId'] === undefined) return false;
|
|
98
|
+
if (!('hijackerId' in value) || value['hijackerId'] === undefined) return false;
|
|
85
99
|
if (!('tld' in value) || value['tld'] === undefined) return false;
|
|
86
100
|
if (!('verified' in value) || value['verified'] === undefined) return false;
|
|
87
101
|
if (!('nameservers' in value) || value['nameservers'] === undefined) return false;
|
|
@@ -103,6 +117,8 @@ export function DomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
103
117
|
return {
|
|
104
118
|
|
|
105
119
|
'id': json['id'],
|
|
120
|
+
'accountId': json['accountId'],
|
|
121
|
+
'hijackerId': json['hijackerId'],
|
|
106
122
|
'tld': json['tld'],
|
|
107
123
|
'verified': json['verified'],
|
|
108
124
|
'nameservers': json['nameservers'],
|
|
@@ -120,6 +136,8 @@ export function DomainDtoToJSON(value?: DomainDto | null): any {
|
|
|
120
136
|
return {
|
|
121
137
|
|
|
122
138
|
'id': value['id'],
|
|
139
|
+
'accountId': value['accountId'],
|
|
140
|
+
'hijackerId': value['hijackerId'],
|
|
123
141
|
'tld': value['tld'],
|
|
124
142
|
'verified': value['verified'],
|
|
125
143
|
'nameservers': value['nameservers'],
|
|
@@ -38,6 +38,18 @@ export interface IntersectionDomainDtoWithAccountDto {
|
|
|
38
38
|
* @memberof IntersectionDomainDtoWithAccountDto
|
|
39
39
|
*/
|
|
40
40
|
id: string;
|
|
41
|
+
/**
|
|
42
|
+
* The current owner for the domain
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof IntersectionDomainDtoWithAccountDto
|
|
45
|
+
*/
|
|
46
|
+
accountId: string;
|
|
47
|
+
/**
|
|
48
|
+
* The hijacker for the domain
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof IntersectionDomainDtoWithAccountDto
|
|
51
|
+
*/
|
|
52
|
+
hijackerId: string | null;
|
|
41
53
|
/**
|
|
42
54
|
* The TLD for this domain.
|
|
43
55
|
* @type {string}
|
|
@@ -94,6 +106,8 @@ export interface IntersectionDomainDtoWithAccountDto {
|
|
|
94
106
|
*/
|
|
95
107
|
export function instanceOfIntersectionDomainDtoWithAccountDto(value: object): value is IntersectionDomainDtoWithAccountDto {
|
|
96
108
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
109
|
+
if (!('accountId' in value) || value['accountId'] === undefined) return false;
|
|
110
|
+
if (!('hijackerId' in value) || value['hijackerId'] === undefined) return false;
|
|
97
111
|
if (!('tld' in value) || value['tld'] === undefined) return false;
|
|
98
112
|
if (!('verified' in value) || value['verified'] === undefined) return false;
|
|
99
113
|
if (!('nameservers' in value) || value['nameservers'] === undefined) return false;
|
|
@@ -116,6 +130,8 @@ export function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json: any, igno
|
|
|
116
130
|
return {
|
|
117
131
|
|
|
118
132
|
'id': json['id'],
|
|
133
|
+
'accountId': json['accountId'],
|
|
134
|
+
'hijackerId': json['hijackerId'],
|
|
119
135
|
'tld': json['tld'],
|
|
120
136
|
'verified': json['verified'],
|
|
121
137
|
'nameservers': json['nameservers'],
|
|
@@ -134,6 +150,8 @@ export function IntersectionDomainDtoWithAccountDtoToJSON(value?: IntersectionDo
|
|
|
134
150
|
return {
|
|
135
151
|
|
|
136
152
|
'id': value['id'],
|
|
153
|
+
'accountId': value['accountId'],
|
|
154
|
+
'hijackerId': value['hijackerId'],
|
|
137
155
|
'tld': value['tld'],
|
|
138
156
|
'verified': value['verified'],
|
|
139
157
|
'nameservers': value['nameservers'],
|
|
@@ -38,6 +38,18 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
38
38
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
39
39
|
*/
|
|
40
40
|
id: string;
|
|
41
|
+
/**
|
|
42
|
+
* The current owner for the domain
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
45
|
+
*/
|
|
46
|
+
accountId: string;
|
|
47
|
+
/**
|
|
48
|
+
* The hijacker for the domain
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
51
|
+
*/
|
|
52
|
+
hijackerId: string | null;
|
|
41
53
|
/**
|
|
42
54
|
* The TLD for this domain.
|
|
43
55
|
* @type {string}
|
|
@@ -100,6 +112,8 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
100
112
|
*/
|
|
101
113
|
export function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(value: object): value is IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
102
114
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
115
|
+
if (!('accountId' in value) || value['accountId'] === undefined) return false;
|
|
116
|
+
if (!('hijackerId' in value) || value['hijackerId'] === undefined) return false;
|
|
103
117
|
if (!('tld' in value) || value['tld'] === undefined) return false;
|
|
104
118
|
if (!('verified' in value) || value['verified'] === undefined) return false;
|
|
105
119
|
if (!('nameservers' in value) || value['nameservers'] === undefined) return false;
|
|
@@ -123,6 +137,8 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(
|
|
|
123
137
|
return {
|
|
124
138
|
|
|
125
139
|
'id': json['id'],
|
|
140
|
+
'accountId': json['accountId'],
|
|
141
|
+
'hijackerId': json['hijackerId'],
|
|
126
142
|
'tld': json['tld'],
|
|
127
143
|
'verified': json['verified'],
|
|
128
144
|
'nameservers': json['nameservers'],
|
|
@@ -142,6 +158,8 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON(value?:
|
|
|
142
158
|
return {
|
|
143
159
|
|
|
144
160
|
'id': value['id'],
|
|
161
|
+
'accountId': value['accountId'],
|
|
162
|
+
'hijackerId': value['hijackerId'],
|
|
145
163
|
'tld': value['tld'],
|
|
146
164
|
'verified': value['verified'],
|
|
147
165
|
'nameservers': value['nameservers'],
|