@randock/nameshift-api-client 0.0.259 → 0.0.260
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/IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto.d.ts +6 -0
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto.js +4 -0
- package/dist/models/IntersectionLeadDtoWithListFieldsDto.d.ts +6 -0
- package/dist/models/IntersectionLeadDtoWithListFieldsDto.js +4 -0
- package/dist/models/LeadDto.d.ts +6 -0
- package/dist/models/LeadDto.js +4 -0
- package/package.json +1 -1
- package/src/models/IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto.ts +9 -0
- package/src/models/IntersectionLeadDtoWithListFieldsDto.ts +9 -0
- package/src/models/LeadDto.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.260
|
|
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.260 --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
|
+
fc52757682baa120149614fb8a1d7f53064cdc6009d5df3588960e38aa6d628e62bfdab59b66b1a55cf533fefe367f37
|
|
@@ -90,6 +90,12 @@ export interface IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto {
|
|
|
90
90
|
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto
|
|
91
91
|
*/
|
|
92
92
|
orderPaymentUrl: string | null;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @type {boolean}
|
|
96
|
+
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto
|
|
97
|
+
*/
|
|
98
|
+
isPriceNegotiatorAgentPaused: boolean;
|
|
93
99
|
}
|
|
94
100
|
/**
|
|
95
101
|
* @export
|
|
@@ -68,6 +68,8 @@ function instanceOfIntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto(valu
|
|
|
68
68
|
return false;
|
|
69
69
|
if (!('orderPaymentUrl' in value) || value['orderPaymentUrl'] === undefined)
|
|
70
70
|
return false;
|
|
71
|
+
if (!('isPriceNegotiatorAgentPaused' in value) || value['isPriceNegotiatorAgentPaused'] === undefined)
|
|
72
|
+
return false;
|
|
71
73
|
return true;
|
|
72
74
|
}
|
|
73
75
|
function IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoFromJSON(json) {
|
|
@@ -90,6 +92,7 @@ function IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoFromJSONTyped(j
|
|
|
90
92
|
'unreadBuyerMessagesNumber': json['unreadBuyerMessagesNumber'],
|
|
91
93
|
'unreadSellerMessagesNumber': json['unreadSellerMessagesNumber'],
|
|
92
94
|
'orderPaymentUrl': json['orderPaymentUrl'],
|
|
95
|
+
'isPriceNegotiatorAgentPaused': json['isPriceNegotiatorAgentPaused'],
|
|
93
96
|
};
|
|
94
97
|
}
|
|
95
98
|
function IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoToJSON(json) {
|
|
@@ -113,5 +116,6 @@ function IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoToJSONTyped(val
|
|
|
113
116
|
'unreadBuyerMessagesNumber': value['unreadBuyerMessagesNumber'],
|
|
114
117
|
'unreadSellerMessagesNumber': value['unreadSellerMessagesNumber'],
|
|
115
118
|
'orderPaymentUrl': value['orderPaymentUrl'],
|
|
119
|
+
'isPriceNegotiatorAgentPaused': value['isPriceNegotiatorAgentPaused'],
|
|
116
120
|
};
|
|
117
121
|
}
|
|
@@ -114,6 +114,12 @@ export interface IntersectionLeadDtoWithListFieldsDto {
|
|
|
114
114
|
* @memberof IntersectionLeadDtoWithListFieldsDto
|
|
115
115
|
*/
|
|
116
116
|
orderPaymentUrl: string | null;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @type {boolean}
|
|
120
|
+
* @memberof IntersectionLeadDtoWithListFieldsDto
|
|
121
|
+
*/
|
|
122
|
+
isPriceNegotiatorAgentPaused: boolean;
|
|
117
123
|
/**
|
|
118
124
|
* The message in case lastMessageType === LeadMessageTypeEnum.MESSAGE
|
|
119
125
|
* @type {string}
|
|
@@ -94,6 +94,8 @@ function instanceOfIntersectionLeadDtoWithListFieldsDto(value) {
|
|
|
94
94
|
return false;
|
|
95
95
|
if (!('orderPaymentUrl' in value) || value['orderPaymentUrl'] === undefined)
|
|
96
96
|
return false;
|
|
97
|
+
if (!('isPriceNegotiatorAgentPaused' in value) || value['isPriceNegotiatorAgentPaused'] === undefined)
|
|
98
|
+
return false;
|
|
97
99
|
if (!('lastMessageMessage' in value) || value['lastMessageMessage'] === undefined)
|
|
98
100
|
return false;
|
|
99
101
|
if (!('lastMessageDate' in value) || value['lastMessageDate'] === undefined)
|
|
@@ -124,6 +126,7 @@ function IntersectionLeadDtoWithListFieldsDtoFromJSONTyped(json, ignoreDiscrimin
|
|
|
124
126
|
'unreadBuyerMessagesNumber': json['unreadBuyerMessagesNumber'],
|
|
125
127
|
'unreadSellerMessagesNumber': json['unreadSellerMessagesNumber'],
|
|
126
128
|
'orderPaymentUrl': json['orderPaymentUrl'],
|
|
129
|
+
'isPriceNegotiatorAgentPaused': json['isPriceNegotiatorAgentPaused'],
|
|
127
130
|
'lastMessageMessage': json['lastMessageMessage'],
|
|
128
131
|
'lastMessageDate': (new Date(json['lastMessageDate'])),
|
|
129
132
|
};
|
|
@@ -153,6 +156,7 @@ function IntersectionLeadDtoWithListFieldsDtoToJSONTyped(value, ignoreDiscrimina
|
|
|
153
156
|
'unreadBuyerMessagesNumber': value['unreadBuyerMessagesNumber'],
|
|
154
157
|
'unreadSellerMessagesNumber': value['unreadSellerMessagesNumber'],
|
|
155
158
|
'orderPaymentUrl': value['orderPaymentUrl'],
|
|
159
|
+
'isPriceNegotiatorAgentPaused': value['isPriceNegotiatorAgentPaused'],
|
|
156
160
|
'lastMessageMessage': value['lastMessageMessage'],
|
|
157
161
|
'lastMessageDate': ((value['lastMessageDate']).toISOString()),
|
|
158
162
|
};
|
package/dist/models/LeadDto.d.ts
CHANGED
package/dist/models/LeadDto.js
CHANGED
|
@@ -65,6 +65,8 @@ function instanceOfLeadDto(value) {
|
|
|
65
65
|
return false;
|
|
66
66
|
if (!('orderPaymentUrl' in value) || value['orderPaymentUrl'] === undefined)
|
|
67
67
|
return false;
|
|
68
|
+
if (!('isPriceNegotiatorAgentPaused' in value) || value['isPriceNegotiatorAgentPaused'] === undefined)
|
|
69
|
+
return false;
|
|
68
70
|
return true;
|
|
69
71
|
}
|
|
70
72
|
function LeadDtoFromJSON(json) {
|
|
@@ -86,6 +88,7 @@ function LeadDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
86
88
|
'unreadBuyerMessagesNumber': json['unreadBuyerMessagesNumber'],
|
|
87
89
|
'unreadSellerMessagesNumber': json['unreadSellerMessagesNumber'],
|
|
88
90
|
'orderPaymentUrl': json['orderPaymentUrl'],
|
|
91
|
+
'isPriceNegotiatorAgentPaused': json['isPriceNegotiatorAgentPaused'],
|
|
89
92
|
};
|
|
90
93
|
}
|
|
91
94
|
function LeadDtoToJSON(json) {
|
|
@@ -108,5 +111,6 @@ function LeadDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
108
111
|
'unreadBuyerMessagesNumber': value['unreadBuyerMessagesNumber'],
|
|
109
112
|
'unreadSellerMessagesNumber': value['unreadSellerMessagesNumber'],
|
|
110
113
|
'orderPaymentUrl': value['orderPaymentUrl'],
|
|
114
|
+
'isPriceNegotiatorAgentPaused': value['isPriceNegotiatorAgentPaused'],
|
|
111
115
|
};
|
|
112
116
|
}
|
package/package.json
CHANGED
|
@@ -113,6 +113,12 @@ export interface IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto {
|
|
|
113
113
|
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto
|
|
114
114
|
*/
|
|
115
115
|
orderPaymentUrl: string | null;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @type {boolean}
|
|
119
|
+
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto
|
|
120
|
+
*/
|
|
121
|
+
isPriceNegotiatorAgentPaused: boolean;
|
|
116
122
|
}
|
|
117
123
|
|
|
118
124
|
|
|
@@ -155,6 +161,7 @@ export function instanceOfIntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsD
|
|
|
155
161
|
if (!('unreadBuyerMessagesNumber' in value) || value['unreadBuyerMessagesNumber'] === undefined) return false;
|
|
156
162
|
if (!('unreadSellerMessagesNumber' in value) || value['unreadSellerMessagesNumber'] === undefined) return false;
|
|
157
163
|
if (!('orderPaymentUrl' in value) || value['orderPaymentUrl'] === undefined) return false;
|
|
164
|
+
if (!('isPriceNegotiatorAgentPaused' in value) || value['isPriceNegotiatorAgentPaused'] === undefined) return false;
|
|
158
165
|
return true;
|
|
159
166
|
}
|
|
160
167
|
|
|
@@ -180,6 +187,7 @@ export function IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoFromJSON
|
|
|
180
187
|
'unreadBuyerMessagesNumber': json['unreadBuyerMessagesNumber'],
|
|
181
188
|
'unreadSellerMessagesNumber': json['unreadSellerMessagesNumber'],
|
|
182
189
|
'orderPaymentUrl': json['orderPaymentUrl'],
|
|
190
|
+
'isPriceNegotiatorAgentPaused': json['isPriceNegotiatorAgentPaused'],
|
|
183
191
|
};
|
|
184
192
|
}
|
|
185
193
|
|
|
@@ -206,6 +214,7 @@ export function IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoToJSONTy
|
|
|
206
214
|
'unreadBuyerMessagesNumber': value['unreadBuyerMessagesNumber'],
|
|
207
215
|
'unreadSellerMessagesNumber': value['unreadSellerMessagesNumber'],
|
|
208
216
|
'orderPaymentUrl': value['orderPaymentUrl'],
|
|
217
|
+
'isPriceNegotiatorAgentPaused': value['isPriceNegotiatorAgentPaused'],
|
|
209
218
|
};
|
|
210
219
|
}
|
|
211
220
|
|
|
@@ -137,6 +137,12 @@ export interface IntersectionLeadDtoWithListFieldsDto {
|
|
|
137
137
|
* @memberof IntersectionLeadDtoWithListFieldsDto
|
|
138
138
|
*/
|
|
139
139
|
orderPaymentUrl: string | null;
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @type {boolean}
|
|
143
|
+
* @memberof IntersectionLeadDtoWithListFieldsDto
|
|
144
|
+
*/
|
|
145
|
+
isPriceNegotiatorAgentPaused: boolean;
|
|
140
146
|
/**
|
|
141
147
|
* The message in case lastMessageType === LeadMessageTypeEnum.MESSAGE
|
|
142
148
|
* @type {string}
|
|
@@ -217,6 +223,7 @@ export function instanceOfIntersectionLeadDtoWithListFieldsDto(value: object): v
|
|
|
217
223
|
if (!('unreadBuyerMessagesNumber' in value) || value['unreadBuyerMessagesNumber'] === undefined) return false;
|
|
218
224
|
if (!('unreadSellerMessagesNumber' in value) || value['unreadSellerMessagesNumber'] === undefined) return false;
|
|
219
225
|
if (!('orderPaymentUrl' in value) || value['orderPaymentUrl'] === undefined) return false;
|
|
226
|
+
if (!('isPriceNegotiatorAgentPaused' in value) || value['isPriceNegotiatorAgentPaused'] === undefined) return false;
|
|
220
227
|
if (!('lastMessageMessage' in value) || value['lastMessageMessage'] === undefined) return false;
|
|
221
228
|
if (!('lastMessageDate' in value) || value['lastMessageDate'] === undefined) return false;
|
|
222
229
|
return true;
|
|
@@ -248,6 +255,7 @@ export function IntersectionLeadDtoWithListFieldsDtoFromJSONTyped(json: any, ign
|
|
|
248
255
|
'unreadBuyerMessagesNumber': json['unreadBuyerMessagesNumber'],
|
|
249
256
|
'unreadSellerMessagesNumber': json['unreadSellerMessagesNumber'],
|
|
250
257
|
'orderPaymentUrl': json['orderPaymentUrl'],
|
|
258
|
+
'isPriceNegotiatorAgentPaused': json['isPriceNegotiatorAgentPaused'],
|
|
251
259
|
'lastMessageMessage': json['lastMessageMessage'],
|
|
252
260
|
'lastMessageDate': (new Date(json['lastMessageDate'])),
|
|
253
261
|
};
|
|
@@ -280,6 +288,7 @@ export function IntersectionLeadDtoWithListFieldsDtoToJSONTyped(value?: Intersec
|
|
|
280
288
|
'unreadBuyerMessagesNumber': value['unreadBuyerMessagesNumber'],
|
|
281
289
|
'unreadSellerMessagesNumber': value['unreadSellerMessagesNumber'],
|
|
282
290
|
'orderPaymentUrl': value['orderPaymentUrl'],
|
|
291
|
+
'isPriceNegotiatorAgentPaused': value['isPriceNegotiatorAgentPaused'],
|
|
283
292
|
'lastMessageMessage': value['lastMessageMessage'],
|
|
284
293
|
'lastMessageDate': ((value['lastMessageDate']).toISOString()),
|
|
285
294
|
};
|
package/src/models/LeadDto.ts
CHANGED
|
@@ -100,6 +100,12 @@ export interface LeadDto {
|
|
|
100
100
|
* @memberof LeadDto
|
|
101
101
|
*/
|
|
102
102
|
orderPaymentUrl: string | null;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {boolean}
|
|
106
|
+
* @memberof LeadDto
|
|
107
|
+
*/
|
|
108
|
+
isPriceNegotiatorAgentPaused: boolean;
|
|
103
109
|
}
|
|
104
110
|
|
|
105
111
|
|
|
@@ -141,6 +147,7 @@ export function instanceOfLeadDto(value: object): value is LeadDto {
|
|
|
141
147
|
if (!('unreadBuyerMessagesNumber' in value) || value['unreadBuyerMessagesNumber'] === undefined) return false;
|
|
142
148
|
if (!('unreadSellerMessagesNumber' in value) || value['unreadSellerMessagesNumber'] === undefined) return false;
|
|
143
149
|
if (!('orderPaymentUrl' in value) || value['orderPaymentUrl'] === undefined) return false;
|
|
150
|
+
if (!('isPriceNegotiatorAgentPaused' in value) || value['isPriceNegotiatorAgentPaused'] === undefined) return false;
|
|
144
151
|
return true;
|
|
145
152
|
}
|
|
146
153
|
|
|
@@ -165,6 +172,7 @@ export function LeadDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): L
|
|
|
165
172
|
'unreadBuyerMessagesNumber': json['unreadBuyerMessagesNumber'],
|
|
166
173
|
'unreadSellerMessagesNumber': json['unreadSellerMessagesNumber'],
|
|
167
174
|
'orderPaymentUrl': json['orderPaymentUrl'],
|
|
175
|
+
'isPriceNegotiatorAgentPaused': json['isPriceNegotiatorAgentPaused'],
|
|
168
176
|
};
|
|
169
177
|
}
|
|
170
178
|
|
|
@@ -190,6 +198,7 @@ export function LeadDtoToJSONTyped(value?: LeadDto | null, ignoreDiscriminator:
|
|
|
190
198
|
'unreadBuyerMessagesNumber': value['unreadBuyerMessagesNumber'],
|
|
191
199
|
'unreadSellerMessagesNumber': value['unreadSellerMessagesNumber'],
|
|
192
200
|
'orderPaymentUrl': value['orderPaymentUrl'],
|
|
201
|
+
'isPriceNegotiatorAgentPaused': value['isPriceNegotiatorAgentPaused'],
|
|
193
202
|
};
|
|
194
203
|
}
|
|
195
204
|
|