@randock/nameshift-api-client 0.0.282 → 0.0.283
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/IntersectionLeadDtoWithListFieldsDto.d.ts +16 -0
- package/dist/models/IntersectionLeadDtoWithListFieldsDto.js +14 -1
- package/dist/models/LeadDto.d.ts +16 -0
- package/dist/models/LeadDto.js +14 -1
- package/package.json +1 -1
- package/src/models/IntersectionLeadDtoWithListFieldsDto.ts +20 -0
- package/src/models/LeadDto.ts +20 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.283
|
|
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.283 --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
|
+
99e76706369df2e061a8b52ada47185ffc23a3781b53d2d118e9a8117117dc6f15c6b71aae5e37876bba93c0fdb2d3c7
|
|
@@ -120,6 +120,12 @@ export interface IntersectionLeadDtoWithListFieldsDto {
|
|
|
120
120
|
* @memberof IntersectionLeadDtoWithListFieldsDto
|
|
121
121
|
*/
|
|
122
122
|
isPriceNegotiatorAgentPaused: boolean;
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @type {string}
|
|
126
|
+
* @memberof IntersectionLeadDtoWithListFieldsDto
|
|
127
|
+
*/
|
|
128
|
+
manualType: IntersectionLeadDtoWithListFieldsDtoManualTypeEnum | null;
|
|
123
129
|
/**
|
|
124
130
|
* The message in case lastMessageType === LeadMessageTypeEnum.MESSAGE
|
|
125
131
|
* @type {string}
|
|
@@ -175,6 +181,16 @@ export declare const IntersectionLeadDtoWithListFieldsDtoLastMessageTypeEnum: {
|
|
|
175
181
|
readonly MESSAGE: "message";
|
|
176
182
|
};
|
|
177
183
|
export type IntersectionLeadDtoWithListFieldsDtoLastMessageTypeEnum = typeof IntersectionLeadDtoWithListFieldsDtoLastMessageTypeEnum[keyof typeof IntersectionLeadDtoWithListFieldsDtoLastMessageTypeEnum];
|
|
184
|
+
/**
|
|
185
|
+
* @export
|
|
186
|
+
*/
|
|
187
|
+
export declare const IntersectionLeadDtoWithListFieldsDtoManualTypeEnum: {
|
|
188
|
+
readonly BUY_NOW: "buy_now";
|
|
189
|
+
readonly OFFER: "offer";
|
|
190
|
+
readonly LEASE_TO_OWN: "lease_to_own";
|
|
191
|
+
readonly RENT: "rent";
|
|
192
|
+
};
|
|
193
|
+
export type IntersectionLeadDtoWithListFieldsDtoManualTypeEnum = typeof IntersectionLeadDtoWithListFieldsDtoManualTypeEnum[keyof typeof IntersectionLeadDtoWithListFieldsDtoManualTypeEnum];
|
|
178
194
|
/**
|
|
179
195
|
* Check if a given object implements the IntersectionLeadDtoWithListFieldsDto interface.
|
|
180
196
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.IntersectionLeadDtoWithListFieldsDtoLastMessageTypeEnum = exports.IntersectionLeadDtoWithListFieldsDtoLastMessageFromEnum = exports.IntersectionLeadDtoWithListFieldsDtoLastOfferByEnum = exports.IntersectionLeadDtoWithListFieldsDtoStatusEnum = void 0;
|
|
16
|
+
exports.IntersectionLeadDtoWithListFieldsDtoManualTypeEnum = exports.IntersectionLeadDtoWithListFieldsDtoLastMessageTypeEnum = exports.IntersectionLeadDtoWithListFieldsDtoLastMessageFromEnum = exports.IntersectionLeadDtoWithListFieldsDtoLastOfferByEnum = exports.IntersectionLeadDtoWithListFieldsDtoStatusEnum = void 0;
|
|
17
17
|
exports.instanceOfIntersectionLeadDtoWithListFieldsDto = instanceOfIntersectionLeadDtoWithListFieldsDto;
|
|
18
18
|
exports.IntersectionLeadDtoWithListFieldsDtoFromJSON = IntersectionLeadDtoWithListFieldsDtoFromJSON;
|
|
19
19
|
exports.IntersectionLeadDtoWithListFieldsDtoFromJSONTyped = IntersectionLeadDtoWithListFieldsDtoFromJSONTyped;
|
|
@@ -60,6 +60,15 @@ exports.IntersectionLeadDtoWithListFieldsDtoLastMessageTypeEnum = {
|
|
|
60
60
|
OFFER_REJECTED: 'offer_rejected',
|
|
61
61
|
MESSAGE: 'message'
|
|
62
62
|
};
|
|
63
|
+
/**
|
|
64
|
+
* @export
|
|
65
|
+
*/
|
|
66
|
+
exports.IntersectionLeadDtoWithListFieldsDtoManualTypeEnum = {
|
|
67
|
+
BUY_NOW: 'buy_now',
|
|
68
|
+
OFFER: 'offer',
|
|
69
|
+
LEASE_TO_OWN: 'lease_to_own',
|
|
70
|
+
RENT: 'rent'
|
|
71
|
+
};
|
|
63
72
|
/**
|
|
64
73
|
* Check if a given object implements the IntersectionLeadDtoWithListFieldsDto interface.
|
|
65
74
|
*/
|
|
@@ -98,6 +107,8 @@ function instanceOfIntersectionLeadDtoWithListFieldsDto(value) {
|
|
|
98
107
|
return false;
|
|
99
108
|
if (!('isPriceNegotiatorAgentPaused' in value) || value['isPriceNegotiatorAgentPaused'] === undefined)
|
|
100
109
|
return false;
|
|
110
|
+
if (!('manualType' in value) || value['manualType'] === undefined)
|
|
111
|
+
return false;
|
|
101
112
|
if (!('lastMessageMessage' in value) || value['lastMessageMessage'] === undefined)
|
|
102
113
|
return false;
|
|
103
114
|
if (!('lastMessageDate' in value) || value['lastMessageDate'] === undefined)
|
|
@@ -129,6 +140,7 @@ function IntersectionLeadDtoWithListFieldsDtoFromJSONTyped(json, ignoreDiscrimin
|
|
|
129
140
|
'unreadSellerMessagesNumber': json['unreadSellerMessagesNumber'],
|
|
130
141
|
'orderPaymentUrl': json['orderPaymentUrl'],
|
|
131
142
|
'isPriceNegotiatorAgentPaused': json['isPriceNegotiatorAgentPaused'],
|
|
143
|
+
'manualType': json['manualType'],
|
|
132
144
|
'lastMessageMessage': json['lastMessageMessage'],
|
|
133
145
|
'lastMessageDate': (new Date(json['lastMessageDate'])),
|
|
134
146
|
};
|
|
@@ -159,6 +171,7 @@ function IntersectionLeadDtoWithListFieldsDtoToJSONTyped(value, ignoreDiscrimina
|
|
|
159
171
|
'unreadSellerMessagesNumber': value['unreadSellerMessagesNumber'],
|
|
160
172
|
'orderPaymentUrl': value['orderPaymentUrl'],
|
|
161
173
|
'isPriceNegotiatorAgentPaused': value['isPriceNegotiatorAgentPaused'],
|
|
174
|
+
'manualType': value['manualType'],
|
|
162
175
|
'lastMessageMessage': value['lastMessageMessage'],
|
|
163
176
|
'lastMessageDate': ((value['lastMessageDate']).toISOString()),
|
|
164
177
|
};
|
package/dist/models/LeadDto.d.ts
CHANGED
|
@@ -89,6 +89,12 @@ export interface LeadDto {
|
|
|
89
89
|
* @memberof LeadDto
|
|
90
90
|
*/
|
|
91
91
|
isPriceNegotiatorAgentPaused: boolean;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof LeadDto
|
|
96
|
+
*/
|
|
97
|
+
manualType: LeadDtoManualTypeEnum | null;
|
|
92
98
|
}
|
|
93
99
|
/**
|
|
94
100
|
* @export
|
|
@@ -111,6 +117,16 @@ export declare const LeadDtoLastOfferByEnum: {
|
|
|
111
117
|
readonly ADMIN: "admin";
|
|
112
118
|
};
|
|
113
119
|
export type LeadDtoLastOfferByEnum = typeof LeadDtoLastOfferByEnum[keyof typeof LeadDtoLastOfferByEnum];
|
|
120
|
+
/**
|
|
121
|
+
* @export
|
|
122
|
+
*/
|
|
123
|
+
export declare const LeadDtoManualTypeEnum: {
|
|
124
|
+
readonly BUY_NOW: "buy_now";
|
|
125
|
+
readonly OFFER: "offer";
|
|
126
|
+
readonly LEASE_TO_OWN: "lease_to_own";
|
|
127
|
+
readonly RENT: "rent";
|
|
128
|
+
};
|
|
129
|
+
export type LeadDtoManualTypeEnum = typeof LeadDtoManualTypeEnum[keyof typeof LeadDtoManualTypeEnum];
|
|
114
130
|
/**
|
|
115
131
|
* Check if a given object implements the LeadDto interface.
|
|
116
132
|
*/
|
package/dist/models/LeadDto.js
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.LeadDtoLastOfferByEnum = exports.LeadDtoStatusEnum = void 0;
|
|
16
|
+
exports.LeadDtoManualTypeEnum = exports.LeadDtoLastOfferByEnum = exports.LeadDtoStatusEnum = void 0;
|
|
17
17
|
exports.instanceOfLeadDto = instanceOfLeadDto;
|
|
18
18
|
exports.LeadDtoFromJSON = LeadDtoFromJSON;
|
|
19
19
|
exports.LeadDtoFromJSONTyped = LeadDtoFromJSONTyped;
|
|
@@ -40,6 +40,15 @@ exports.LeadDtoLastOfferByEnum = {
|
|
|
40
40
|
AI: 'ai',
|
|
41
41
|
ADMIN: 'admin'
|
|
42
42
|
};
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
exports.LeadDtoManualTypeEnum = {
|
|
47
|
+
BUY_NOW: 'buy_now',
|
|
48
|
+
OFFER: 'offer',
|
|
49
|
+
LEASE_TO_OWN: 'lease_to_own',
|
|
50
|
+
RENT: 'rent'
|
|
51
|
+
};
|
|
43
52
|
/**
|
|
44
53
|
* Check if a given object implements the LeadDto interface.
|
|
45
54
|
*/
|
|
@@ -68,6 +77,8 @@ function instanceOfLeadDto(value) {
|
|
|
68
77
|
return false;
|
|
69
78
|
if (!('isPriceNegotiatorAgentPaused' in value) || value['isPriceNegotiatorAgentPaused'] === undefined)
|
|
70
79
|
return false;
|
|
80
|
+
if (!('manualType' in value) || value['manualType'] === undefined)
|
|
81
|
+
return false;
|
|
71
82
|
return true;
|
|
72
83
|
}
|
|
73
84
|
function LeadDtoFromJSON(json) {
|
|
@@ -90,6 +101,7 @@ function LeadDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
90
101
|
'unreadSellerMessagesNumber': json['unreadSellerMessagesNumber'],
|
|
91
102
|
'orderPaymentUrl': json['orderPaymentUrl'],
|
|
92
103
|
'isPriceNegotiatorAgentPaused': json['isPriceNegotiatorAgentPaused'],
|
|
104
|
+
'manualType': json['manualType'],
|
|
93
105
|
};
|
|
94
106
|
}
|
|
95
107
|
function LeadDtoToJSON(json) {
|
|
@@ -113,5 +125,6 @@ function LeadDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
113
125
|
'unreadSellerMessagesNumber': value['unreadSellerMessagesNumber'],
|
|
114
126
|
'orderPaymentUrl': value['orderPaymentUrl'],
|
|
115
127
|
'isPriceNegotiatorAgentPaused': value['isPriceNegotiatorAgentPaused'],
|
|
128
|
+
'manualType': value['manualType'],
|
|
116
129
|
};
|
|
117
130
|
}
|
package/package.json
CHANGED
|
@@ -143,6 +143,12 @@ export interface IntersectionLeadDtoWithListFieldsDto {
|
|
|
143
143
|
* @memberof IntersectionLeadDtoWithListFieldsDto
|
|
144
144
|
*/
|
|
145
145
|
isPriceNegotiatorAgentPaused: boolean;
|
|
146
|
+
/**
|
|
147
|
+
*
|
|
148
|
+
* @type {string}
|
|
149
|
+
* @memberof IntersectionLeadDtoWithListFieldsDto
|
|
150
|
+
*/
|
|
151
|
+
manualType: IntersectionLeadDtoWithListFieldsDtoManualTypeEnum | null;
|
|
146
152
|
/**
|
|
147
153
|
* The message in case lastMessageType === LeadMessageTypeEnum.MESSAGE
|
|
148
154
|
* @type {string}
|
|
@@ -204,6 +210,17 @@ export const IntersectionLeadDtoWithListFieldsDtoLastMessageTypeEnum = {
|
|
|
204
210
|
} as const;
|
|
205
211
|
export type IntersectionLeadDtoWithListFieldsDtoLastMessageTypeEnum = typeof IntersectionLeadDtoWithListFieldsDtoLastMessageTypeEnum[keyof typeof IntersectionLeadDtoWithListFieldsDtoLastMessageTypeEnum];
|
|
206
212
|
|
|
213
|
+
/**
|
|
214
|
+
* @export
|
|
215
|
+
*/
|
|
216
|
+
export const IntersectionLeadDtoWithListFieldsDtoManualTypeEnum = {
|
|
217
|
+
BUY_NOW: 'buy_now',
|
|
218
|
+
OFFER: 'offer',
|
|
219
|
+
LEASE_TO_OWN: 'lease_to_own',
|
|
220
|
+
RENT: 'rent'
|
|
221
|
+
} as const;
|
|
222
|
+
export type IntersectionLeadDtoWithListFieldsDtoManualTypeEnum = typeof IntersectionLeadDtoWithListFieldsDtoManualTypeEnum[keyof typeof IntersectionLeadDtoWithListFieldsDtoManualTypeEnum];
|
|
223
|
+
|
|
207
224
|
|
|
208
225
|
/**
|
|
209
226
|
* Check if a given object implements the IntersectionLeadDtoWithListFieldsDto interface.
|
|
@@ -226,6 +243,7 @@ export function instanceOfIntersectionLeadDtoWithListFieldsDto(value: object): v
|
|
|
226
243
|
if (!('unreadSellerMessagesNumber' in value) || value['unreadSellerMessagesNumber'] === undefined) return false;
|
|
227
244
|
if (!('orderPaymentUrl' in value) || value['orderPaymentUrl'] === undefined) return false;
|
|
228
245
|
if (!('isPriceNegotiatorAgentPaused' in value) || value['isPriceNegotiatorAgentPaused'] === undefined) return false;
|
|
246
|
+
if (!('manualType' in value) || value['manualType'] === undefined) return false;
|
|
229
247
|
if (!('lastMessageMessage' in value) || value['lastMessageMessage'] === undefined) return false;
|
|
230
248
|
if (!('lastMessageDate' in value) || value['lastMessageDate'] === undefined) return false;
|
|
231
249
|
return true;
|
|
@@ -258,6 +276,7 @@ export function IntersectionLeadDtoWithListFieldsDtoFromJSONTyped(json: any, ign
|
|
|
258
276
|
'unreadSellerMessagesNumber': json['unreadSellerMessagesNumber'],
|
|
259
277
|
'orderPaymentUrl': json['orderPaymentUrl'],
|
|
260
278
|
'isPriceNegotiatorAgentPaused': json['isPriceNegotiatorAgentPaused'],
|
|
279
|
+
'manualType': json['manualType'],
|
|
261
280
|
'lastMessageMessage': json['lastMessageMessage'],
|
|
262
281
|
'lastMessageDate': (new Date(json['lastMessageDate'])),
|
|
263
282
|
};
|
|
@@ -291,6 +310,7 @@ export function IntersectionLeadDtoWithListFieldsDtoToJSONTyped(value?: Intersec
|
|
|
291
310
|
'unreadSellerMessagesNumber': value['unreadSellerMessagesNumber'],
|
|
292
311
|
'orderPaymentUrl': value['orderPaymentUrl'],
|
|
293
312
|
'isPriceNegotiatorAgentPaused': value['isPriceNegotiatorAgentPaused'],
|
|
313
|
+
'manualType': value['manualType'],
|
|
294
314
|
'lastMessageMessage': value['lastMessageMessage'],
|
|
295
315
|
'lastMessageDate': ((value['lastMessageDate']).toISOString()),
|
|
296
316
|
};
|
package/src/models/LeadDto.ts
CHANGED
|
@@ -106,6 +106,12 @@ export interface LeadDto {
|
|
|
106
106
|
* @memberof LeadDto
|
|
107
107
|
*/
|
|
108
108
|
isPriceNegotiatorAgentPaused: boolean;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof LeadDto
|
|
113
|
+
*/
|
|
114
|
+
manualType: LeadDtoManualTypeEnum | null;
|
|
109
115
|
}
|
|
110
116
|
|
|
111
117
|
|
|
@@ -132,6 +138,17 @@ export const LeadDtoLastOfferByEnum = {
|
|
|
132
138
|
} as const;
|
|
133
139
|
export type LeadDtoLastOfferByEnum = typeof LeadDtoLastOfferByEnum[keyof typeof LeadDtoLastOfferByEnum];
|
|
134
140
|
|
|
141
|
+
/**
|
|
142
|
+
* @export
|
|
143
|
+
*/
|
|
144
|
+
export const LeadDtoManualTypeEnum = {
|
|
145
|
+
BUY_NOW: 'buy_now',
|
|
146
|
+
OFFER: 'offer',
|
|
147
|
+
LEASE_TO_OWN: 'lease_to_own',
|
|
148
|
+
RENT: 'rent'
|
|
149
|
+
} as const;
|
|
150
|
+
export type LeadDtoManualTypeEnum = typeof LeadDtoManualTypeEnum[keyof typeof LeadDtoManualTypeEnum];
|
|
151
|
+
|
|
135
152
|
|
|
136
153
|
/**
|
|
137
154
|
* Check if a given object implements the LeadDto interface.
|
|
@@ -149,6 +166,7 @@ export function instanceOfLeadDto(value: object): value is LeadDto {
|
|
|
149
166
|
if (!('unreadSellerMessagesNumber' in value) || value['unreadSellerMessagesNumber'] === undefined) return false;
|
|
150
167
|
if (!('orderPaymentUrl' in value) || value['orderPaymentUrl'] === undefined) return false;
|
|
151
168
|
if (!('isPriceNegotiatorAgentPaused' in value) || value['isPriceNegotiatorAgentPaused'] === undefined) return false;
|
|
169
|
+
if (!('manualType' in value) || value['manualType'] === undefined) return false;
|
|
152
170
|
return true;
|
|
153
171
|
}
|
|
154
172
|
|
|
@@ -174,6 +192,7 @@ export function LeadDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): L
|
|
|
174
192
|
'unreadSellerMessagesNumber': json['unreadSellerMessagesNumber'],
|
|
175
193
|
'orderPaymentUrl': json['orderPaymentUrl'],
|
|
176
194
|
'isPriceNegotiatorAgentPaused': json['isPriceNegotiatorAgentPaused'],
|
|
195
|
+
'manualType': json['manualType'],
|
|
177
196
|
};
|
|
178
197
|
}
|
|
179
198
|
|
|
@@ -200,6 +219,7 @@ export function LeadDtoToJSONTyped(value?: LeadDto | null, ignoreDiscriminator:
|
|
|
200
219
|
'unreadSellerMessagesNumber': value['unreadSellerMessagesNumber'],
|
|
201
220
|
'orderPaymentUrl': value['orderPaymentUrl'],
|
|
202
221
|
'isPriceNegotiatorAgentPaused': value['isPriceNegotiatorAgentPaused'],
|
|
222
|
+
'manualType': value['manualType'],
|
|
203
223
|
};
|
|
204
224
|
}
|
|
205
225
|
|