@randock/nameshift-api-client 0.0.122 → 0.0.123
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/IntersectionDomainSalesInformationDtoWithDomainStatsDto.d.ts +6 -0
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.js +4 -0
- package/package.json +1 -1
- package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.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.123
|
|
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.123 --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
|
+
857e206628c0cadf1fe44189ed07c7ad444cfdc9bd3e85d55cfa99e1bb33d29b096707aa8f68eed0a03bdb14809eaef0
|
|
@@ -60,6 +60,12 @@ export interface IntersectionDomainSalesInformationDtoWithDomainStatsDto {
|
|
|
60
60
|
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDto
|
|
61
61
|
*/
|
|
62
62
|
sold: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* The domain "isPurchaseable" status
|
|
65
|
+
* @type {boolean}
|
|
66
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDto
|
|
67
|
+
*/
|
|
68
|
+
isPurchaseable: boolean;
|
|
63
69
|
}
|
|
64
70
|
/**
|
|
65
71
|
* Check if a given object implements the IntersectionDomainSalesInformationDtoWithDomainStatsDto interface.
|
|
@@ -39,6 +39,8 @@ function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDto(value
|
|
|
39
39
|
return false;
|
|
40
40
|
if (!('sold' in value) || value['sold'] === undefined)
|
|
41
41
|
return false;
|
|
42
|
+
if (!('isPurchaseable' in value) || value['isPurchaseable'] === undefined)
|
|
43
|
+
return false;
|
|
42
44
|
return true;
|
|
43
45
|
}
|
|
44
46
|
function IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSON(json) {
|
|
@@ -56,6 +58,7 @@ function IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSONTyped(js
|
|
|
56
58
|
'minOfferPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOfferPrice']),
|
|
57
59
|
'seller': (0, DomainSellerDto_1.DomainSellerDtoFromJSON)(json['seller']),
|
|
58
60
|
'sold': json['sold'],
|
|
61
|
+
'isPurchaseable': json['isPurchaseable'],
|
|
59
62
|
};
|
|
60
63
|
}
|
|
61
64
|
function IntersectionDomainSalesInformationDtoWithDomainStatsDtoToJSON(json) {
|
|
@@ -74,5 +77,6 @@ function IntersectionDomainSalesInformationDtoWithDomainStatsDtoToJSONTyped(valu
|
|
|
74
77
|
'minOfferPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOfferPrice']),
|
|
75
78
|
'seller': (0, DomainSellerDto_1.DomainSellerDtoToJSON)(value['seller']),
|
|
76
79
|
'sold': value['sold'],
|
|
80
|
+
'isPurchaseable': value['isPurchaseable'],
|
|
77
81
|
};
|
|
78
82
|
}
|
package/package.json
CHANGED
|
@@ -83,6 +83,12 @@ export interface IntersectionDomainSalesInformationDtoWithDomainStatsDto {
|
|
|
83
83
|
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDto
|
|
84
84
|
*/
|
|
85
85
|
sold: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* The domain "isPurchaseable" status
|
|
88
|
+
* @type {boolean}
|
|
89
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDto
|
|
90
|
+
*/
|
|
91
|
+
isPurchaseable: boolean;
|
|
86
92
|
}
|
|
87
93
|
|
|
88
94
|
/**
|
|
@@ -96,6 +102,7 @@ export function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDt
|
|
|
96
102
|
if (!('minOfferPrice' in value) || value['minOfferPrice'] === undefined) return false;
|
|
97
103
|
if (!('seller' in value) || value['seller'] === undefined) return false;
|
|
98
104
|
if (!('sold' in value) || value['sold'] === undefined) return false;
|
|
105
|
+
if (!('isPurchaseable' in value) || value['isPurchaseable'] === undefined) return false;
|
|
99
106
|
return true;
|
|
100
107
|
}
|
|
101
108
|
|
|
@@ -116,6 +123,7 @@ export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSONT
|
|
|
116
123
|
'minOfferPrice': MoneyDtoFromJSON(json['minOfferPrice']),
|
|
117
124
|
'seller': DomainSellerDtoFromJSON(json['seller']),
|
|
118
125
|
'sold': json['sold'],
|
|
126
|
+
'isPurchaseable': json['isPurchaseable'],
|
|
119
127
|
};
|
|
120
128
|
}
|
|
121
129
|
|
|
@@ -137,6 +145,7 @@ export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSONT
|
|
|
137
145
|
'minOfferPrice': MoneyDtoToJSON(value['minOfferPrice']),
|
|
138
146
|
'seller': DomainSellerDtoToJSON(value['seller']),
|
|
139
147
|
'sold': value['sold'],
|
|
148
|
+
'isPurchaseable': value['isPurchaseable'],
|
|
140
149
|
};
|
|
141
150
|
}
|
|
142
151
|
|