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