@randock/nameshift-api-client 0.0.91 → 0.0.92
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.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.92
|
|
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.92 --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
|
+
a22b8ca9ddb14fb734981ceee34fd081ad7cfc98cbe8f29eb13217d5253c4b845342b69a15399131fcde360444b3473f
|
|
@@ -53,6 +53,12 @@ export interface BuyerLeadListItemDto {
|
|
|
53
53
|
* @memberof BuyerLeadListItemDto
|
|
54
54
|
*/
|
|
55
55
|
domain: BuyerLeadListItemDomainDto;
|
|
56
|
+
/**
|
|
57
|
+
* Buyer unread messages number *
|
|
58
|
+
* @type {number}
|
|
59
|
+
* @memberof BuyerLeadListItemDto
|
|
60
|
+
*/
|
|
61
|
+
unreadMessages: number;
|
|
56
62
|
}
|
|
57
63
|
/**
|
|
58
64
|
* @export
|
|
@@ -55,6 +55,8 @@ function instanceOfBuyerLeadListItemDto(value) {
|
|
|
55
55
|
return false;
|
|
56
56
|
if (!('domain' in value) || value['domain'] === undefined)
|
|
57
57
|
return false;
|
|
58
|
+
if (!('unreadMessages' in value) || value['unreadMessages'] === undefined)
|
|
59
|
+
return false;
|
|
58
60
|
return true;
|
|
59
61
|
}
|
|
60
62
|
function BuyerLeadListItemDtoFromJSON(json) {
|
|
@@ -71,6 +73,7 @@ function BuyerLeadListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
71
73
|
'lastOfferBy': json['lastOfferBy'],
|
|
72
74
|
'createdAt': (new Date(json['createdAt'])),
|
|
73
75
|
'domain': (0, BuyerLeadListItemDomainDto_1.BuyerLeadListItemDomainDtoFromJSON)(json['domain']),
|
|
76
|
+
'unreadMessages': json['unreadMessages'],
|
|
74
77
|
};
|
|
75
78
|
}
|
|
76
79
|
function BuyerLeadListItemDtoToJSON(value) {
|
|
@@ -84,5 +87,6 @@ function BuyerLeadListItemDtoToJSON(value) {
|
|
|
84
87
|
'lastOfferBy': value['lastOfferBy'],
|
|
85
88
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
86
89
|
'domain': (0, BuyerLeadListItemDomainDto_1.BuyerLeadListItemDomainDtoToJSON)(value['domain']),
|
|
90
|
+
'unreadMessages': value['unreadMessages'],
|
|
87
91
|
};
|
|
88
92
|
}
|
package/package.json
CHANGED
|
@@ -68,6 +68,12 @@ export interface BuyerLeadListItemDto {
|
|
|
68
68
|
* @memberof BuyerLeadListItemDto
|
|
69
69
|
*/
|
|
70
70
|
domain: BuyerLeadListItemDomainDto;
|
|
71
|
+
/**
|
|
72
|
+
* Buyer unread messages number *
|
|
73
|
+
* @type {number}
|
|
74
|
+
* @memberof BuyerLeadListItemDto
|
|
75
|
+
*/
|
|
76
|
+
unreadMessages: number;
|
|
71
77
|
}
|
|
72
78
|
|
|
73
79
|
|
|
@@ -105,6 +111,7 @@ export function instanceOfBuyerLeadListItemDto(value: object): value is BuyerLea
|
|
|
105
111
|
if (!('lastOfferBy' in value) || value['lastOfferBy'] === undefined) return false;
|
|
106
112
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
107
113
|
if (!('domain' in value) || value['domain'] === undefined) return false;
|
|
114
|
+
if (!('unreadMessages' in value) || value['unreadMessages'] === undefined) return false;
|
|
108
115
|
return true;
|
|
109
116
|
}
|
|
110
117
|
|
|
@@ -124,6 +131,7 @@ export function BuyerLeadListItemDtoFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
124
131
|
'lastOfferBy': json['lastOfferBy'],
|
|
125
132
|
'createdAt': (new Date(json['createdAt'])),
|
|
126
133
|
'domain': BuyerLeadListItemDomainDtoFromJSON(json['domain']),
|
|
134
|
+
'unreadMessages': json['unreadMessages'],
|
|
127
135
|
};
|
|
128
136
|
}
|
|
129
137
|
|
|
@@ -139,6 +147,7 @@ export function BuyerLeadListItemDtoToJSON(value?: BuyerLeadListItemDto | null):
|
|
|
139
147
|
'lastOfferBy': value['lastOfferBy'],
|
|
140
148
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
141
149
|
'domain': BuyerLeadListItemDomainDtoToJSON(value['domain']),
|
|
150
|
+
'unreadMessages': value['unreadMessages'],
|
|
142
151
|
};
|
|
143
152
|
}
|
|
144
153
|
|