@randock/nameshift-api-client 0.0.324 → 0.0.326
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/.openapi-generator/FILES +4 -2
- package/README.md +3 -3
- package/dist/apis/BuyersApi.d.ts +13 -1
- package/dist/apis/BuyersApi.js +56 -0
- package/dist/apis/LeadsApi.d.ts +15 -3
- package/dist/apis/LeadsApi.js +57 -1
- package/dist/models/BuyerLeadListItemDto.d.ts +6 -0
- package/dist/models/BuyerLeadListItemDto.js +4 -0
- package/dist/models/DomainPricesChangeDto.d.ts +6 -0
- package/dist/models/DomainPricesChangeDto.js +4 -0
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.d.ts +6 -0
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.js +4 -0
- package/dist/models/LeadDto.d.ts +6 -0
- package/dist/models/LeadDto.js +4 -0
- package/dist/models/List200Response.d.ts +3 -3
- package/dist/models/List200Response.js +3 -3
- package/dist/models/ListLeadsResultItem.d.ts +213 -0
- package/dist/models/{IntersectionLeadDtoWithListFieldsDto.js → ListLeadsResultItem.js} +27 -19
- package/dist/models/SellerLeadDetails.d.ts +156 -0
- package/dist/models/{IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto.js → SellerLeadDetails.js} +25 -17
- package/dist/models/UpdateLeadMuteStatusForBuyerInput.d.ts +32 -0
- package/dist/models/UpdateLeadMuteStatusForBuyerInput.js +51 -0
- package/dist/models/UpdateLeadMuteStatusInput.d.ts +32 -0
- package/dist/models/UpdateLeadMuteStatusInput.js +51 -0
- package/dist/models/UpdateUserNotificationSettingsInput.d.ts +36 -0
- package/dist/models/UpdateUserNotificationSettingsInput.js +12 -0
- package/dist/models/UserNotificationSettingsDto.d.ts +36 -0
- package/dist/models/UserNotificationSettingsDto.js +24 -0
- package/dist/models/index.d.ts +4 -2
- package/dist/models/index.js +4 -2
- package/package.json +1 -1
- package/src/apis/BuyersApi.ts +58 -0
- package/src/apis/LeadsApi.ts +64 -6
- package/src/models/BuyerLeadListItemDto.ts +9 -0
- package/src/models/DomainPricesChangeDto.ts +9 -0
- package/src/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts +9 -0
- package/src/models/LeadDto.ts +9 -0
- package/src/models/List200Response.ts +10 -10
- package/src/models/{IntersectionLeadDtoWithListFieldsDto.ts → ListLeadsResultItem.ts} +63 -45
- package/src/models/{IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto.ts → SellerLeadDetails.ts} +51 -33
- package/src/models/UpdateLeadMuteStatusForBuyerInput.ts +66 -0
- package/src/models/UpdateLeadMuteStatusInput.ts +66 -0
- package/src/models/UpdateUserNotificationSettingsInput.ts +48 -0
- package/src/models/UserNotificationSettingsDto.ts +54 -0
- package/src/models/index.ts +4 -2
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto.d.ts +0 -144
- package/dist/models/IntersectionLeadDtoWithListFieldsDto.d.ts +0 -201
|
@@ -38,91 +38,103 @@ import {
|
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @export
|
|
41
|
-
* @interface
|
|
41
|
+
* @interface SellerLeadDetails
|
|
42
42
|
*/
|
|
43
|
-
export interface
|
|
43
|
+
export interface SellerLeadDetails {
|
|
44
44
|
/**
|
|
45
45
|
* The lead id
|
|
46
46
|
* @type {string}
|
|
47
|
-
* @memberof
|
|
47
|
+
* @memberof SellerLeadDetails
|
|
48
48
|
*/
|
|
49
49
|
id: string;
|
|
50
50
|
/**
|
|
51
51
|
* The current lead status
|
|
52
52
|
* @type {string}
|
|
53
|
-
* @memberof
|
|
53
|
+
* @memberof SellerLeadDetails
|
|
54
54
|
*/
|
|
55
|
-
status:
|
|
55
|
+
status: SellerLeadDetailsStatusEnum;
|
|
56
56
|
/**
|
|
57
57
|
* The lead last offer amount
|
|
58
58
|
* @type {MoneyDto}
|
|
59
|
-
* @memberof
|
|
59
|
+
* @memberof SellerLeadDetails
|
|
60
60
|
*/
|
|
61
61
|
lastOffer: MoneyDto | null;
|
|
62
62
|
/**
|
|
63
63
|
*
|
|
64
64
|
* @type {string}
|
|
65
|
-
* @memberof
|
|
65
|
+
* @memberof SellerLeadDetails
|
|
66
66
|
*/
|
|
67
|
-
lastOfferBy:
|
|
67
|
+
lastOfferBy: SellerLeadDetailsLastOfferByEnum | null;
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
70
|
* @type {IntersectionDomainDtoWithAccountDto}
|
|
71
|
-
* @memberof
|
|
71
|
+
* @memberof SellerLeadDetails
|
|
72
72
|
*/
|
|
73
73
|
domain: IntersectionDomainDtoWithAccountDto;
|
|
74
74
|
/**
|
|
75
75
|
*
|
|
76
76
|
* @type {string}
|
|
77
|
-
* @memberof
|
|
77
|
+
* @memberof SellerLeadDetails
|
|
78
78
|
*/
|
|
79
|
-
manualType:
|
|
79
|
+
manualType: SellerLeadDetailsManualTypeEnum | null;
|
|
80
80
|
/**
|
|
81
81
|
*
|
|
82
82
|
* @type {BuyerDto}
|
|
83
|
-
* @memberof
|
|
83
|
+
* @memberof SellerLeadDetails
|
|
84
84
|
*/
|
|
85
85
|
buyer: BuyerDto;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {boolean}
|
|
89
|
+
* @memberof SellerLeadDetails
|
|
90
|
+
*/
|
|
91
|
+
isMutedForSeller: boolean;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {boolean}
|
|
95
|
+
* @memberof SellerLeadDetails
|
|
96
|
+
*/
|
|
97
|
+
isMutedForBuyer: boolean;
|
|
86
98
|
/**
|
|
87
99
|
* Archived status
|
|
88
100
|
* @type {boolean}
|
|
89
|
-
* @memberof
|
|
101
|
+
* @memberof SellerLeadDetails
|
|
90
102
|
*/
|
|
91
103
|
archived: boolean;
|
|
92
104
|
/**
|
|
93
105
|
* Created at date
|
|
94
106
|
* @type {Date}
|
|
95
|
-
* @memberof
|
|
107
|
+
* @memberof SellerLeadDetails
|
|
96
108
|
*/
|
|
97
109
|
createdAt: Date;
|
|
98
110
|
/**
|
|
99
111
|
* Updated at date
|
|
100
112
|
* @type {Date}
|
|
101
|
-
* @memberof
|
|
113
|
+
* @memberof SellerLeadDetails
|
|
102
114
|
*/
|
|
103
115
|
updatedAt: Date;
|
|
104
116
|
/**
|
|
105
117
|
* Number of buyer unread messages
|
|
106
118
|
* @type {number}
|
|
107
|
-
* @memberof
|
|
119
|
+
* @memberof SellerLeadDetails
|
|
108
120
|
*/
|
|
109
121
|
unreadBuyerMessagesNumber: number;
|
|
110
122
|
/**
|
|
111
123
|
* Number of seller unread messages
|
|
112
124
|
* @type {number}
|
|
113
|
-
* @memberof
|
|
125
|
+
* @memberof SellerLeadDetails
|
|
114
126
|
*/
|
|
115
127
|
unreadSellerMessagesNumber: number;
|
|
116
128
|
/**
|
|
117
129
|
* Lead order payment URL
|
|
118
130
|
* @type {string}
|
|
119
|
-
* @memberof
|
|
131
|
+
* @memberof SellerLeadDetails
|
|
120
132
|
*/
|
|
121
133
|
orderPaymentUrl: string | null;
|
|
122
134
|
/**
|
|
123
135
|
*
|
|
124
136
|
* @type {boolean}
|
|
125
|
-
* @memberof
|
|
137
|
+
* @memberof SellerLeadDetails
|
|
126
138
|
*/
|
|
127
139
|
isPriceNegotiatorAgentPaused: boolean;
|
|
128
140
|
}
|
|
@@ -131,42 +143,42 @@ export interface IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto {
|
|
|
131
143
|
/**
|
|
132
144
|
* @export
|
|
133
145
|
*/
|
|
134
|
-
export const
|
|
146
|
+
export const SellerLeadDetailsStatusEnum = {
|
|
135
147
|
UNVERIFIED: 'unverified',
|
|
136
148
|
ACTIVE: 'active',
|
|
137
149
|
ACCEPTED: 'accepted',
|
|
138
150
|
FINISHED: 'finished',
|
|
139
151
|
CLOSED: 'closed'
|
|
140
152
|
} as const;
|
|
141
|
-
export type
|
|
153
|
+
export type SellerLeadDetailsStatusEnum = typeof SellerLeadDetailsStatusEnum[keyof typeof SellerLeadDetailsStatusEnum];
|
|
142
154
|
|
|
143
155
|
/**
|
|
144
156
|
* @export
|
|
145
157
|
*/
|
|
146
|
-
export const
|
|
158
|
+
export const SellerLeadDetailsLastOfferByEnum = {
|
|
147
159
|
BUYER: 'buyer',
|
|
148
160
|
SELLER: 'seller',
|
|
149
161
|
AI: 'ai',
|
|
150
162
|
ADMIN: 'admin'
|
|
151
163
|
} as const;
|
|
152
|
-
export type
|
|
164
|
+
export type SellerLeadDetailsLastOfferByEnum = typeof SellerLeadDetailsLastOfferByEnum[keyof typeof SellerLeadDetailsLastOfferByEnum];
|
|
153
165
|
|
|
154
166
|
/**
|
|
155
167
|
* @export
|
|
156
168
|
*/
|
|
157
|
-
export const
|
|
169
|
+
export const SellerLeadDetailsManualTypeEnum = {
|
|
158
170
|
BUY_NOW: 'buy_now',
|
|
159
171
|
OFFER: 'offer',
|
|
160
172
|
LEASE_TO_OWN: 'lease_to_own',
|
|
161
173
|
RENT: 'rent'
|
|
162
174
|
} as const;
|
|
163
|
-
export type
|
|
175
|
+
export type SellerLeadDetailsManualTypeEnum = typeof SellerLeadDetailsManualTypeEnum[keyof typeof SellerLeadDetailsManualTypeEnum];
|
|
164
176
|
|
|
165
177
|
|
|
166
178
|
/**
|
|
167
|
-
* Check if a given object implements the
|
|
179
|
+
* Check if a given object implements the SellerLeadDetails interface.
|
|
168
180
|
*/
|
|
169
|
-
export function
|
|
181
|
+
export function instanceOfSellerLeadDetails(value: object): value is SellerLeadDetails {
|
|
170
182
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
171
183
|
if (!('status' in value) || value['status'] === undefined) return false;
|
|
172
184
|
if (!('lastOffer' in value) || value['lastOffer'] === undefined) return false;
|
|
@@ -174,6 +186,8 @@ export function instanceOfIntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsD
|
|
|
174
186
|
if (!('domain' in value) || value['domain'] === undefined) return false;
|
|
175
187
|
if (!('manualType' in value) || value['manualType'] === undefined) return false;
|
|
176
188
|
if (!('buyer' in value) || value['buyer'] === undefined) return false;
|
|
189
|
+
if (!('isMutedForSeller' in value) || value['isMutedForSeller'] === undefined) return false;
|
|
190
|
+
if (!('isMutedForBuyer' in value) || value['isMutedForBuyer'] === undefined) return false;
|
|
177
191
|
if (!('archived' in value) || value['archived'] === undefined) return false;
|
|
178
192
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
179
193
|
if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
|
|
@@ -184,11 +198,11 @@ export function instanceOfIntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsD
|
|
|
184
198
|
return true;
|
|
185
199
|
}
|
|
186
200
|
|
|
187
|
-
export function
|
|
188
|
-
return
|
|
201
|
+
export function SellerLeadDetailsFromJSON(json: any): SellerLeadDetails {
|
|
202
|
+
return SellerLeadDetailsFromJSONTyped(json, false);
|
|
189
203
|
}
|
|
190
204
|
|
|
191
|
-
export function
|
|
205
|
+
export function SellerLeadDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerLeadDetails {
|
|
192
206
|
if (json == null) {
|
|
193
207
|
return json;
|
|
194
208
|
}
|
|
@@ -201,6 +215,8 @@ export function IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoFromJSON
|
|
|
201
215
|
'domain': IntersectionDomainDtoWithAccountDtoFromJSON(json['domain']),
|
|
202
216
|
'manualType': json['manualType'],
|
|
203
217
|
'buyer': BuyerDtoFromJSON(json['buyer']),
|
|
218
|
+
'isMutedForSeller': json['isMutedForSeller'],
|
|
219
|
+
'isMutedForBuyer': json['isMutedForBuyer'],
|
|
204
220
|
'archived': json['archived'],
|
|
205
221
|
'createdAt': (new Date(json['createdAt'])),
|
|
206
222
|
'updatedAt': (new Date(json['updatedAt'])),
|
|
@@ -211,11 +227,11 @@ export function IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoFromJSON
|
|
|
211
227
|
};
|
|
212
228
|
}
|
|
213
229
|
|
|
214
|
-
export function
|
|
215
|
-
return
|
|
230
|
+
export function SellerLeadDetailsToJSON(json: any): SellerLeadDetails {
|
|
231
|
+
return SellerLeadDetailsToJSONTyped(json, false);
|
|
216
232
|
}
|
|
217
233
|
|
|
218
|
-
export function
|
|
234
|
+
export function SellerLeadDetailsToJSONTyped(value?: SellerLeadDetails | null, ignoreDiscriminator: boolean = false): any {
|
|
219
235
|
if (value == null) {
|
|
220
236
|
return value;
|
|
221
237
|
}
|
|
@@ -229,6 +245,8 @@ export function IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoToJSONTy
|
|
|
229
245
|
'domain': IntersectionDomainDtoWithAccountDtoToJSON(value['domain']),
|
|
230
246
|
'manualType': value['manualType'],
|
|
231
247
|
'buyer': BuyerDtoToJSON(value['buyer']),
|
|
248
|
+
'isMutedForSeller': value['isMutedForSeller'],
|
|
249
|
+
'isMutedForBuyer': value['isMutedForBuyer'],
|
|
232
250
|
'archived': value['archived'],
|
|
233
251
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
234
252
|
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface UpdateLeadMuteStatusForBuyerInput
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateLeadMuteStatusForBuyerInput {
|
|
22
|
+
/**
|
|
23
|
+
* Whether the lead should be muted for the buyer
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof UpdateLeadMuteStatusForBuyerInput
|
|
26
|
+
*/
|
|
27
|
+
muted: boolean;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the UpdateLeadMuteStatusForBuyerInput interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfUpdateLeadMuteStatusForBuyerInput(value: object): value is UpdateLeadMuteStatusForBuyerInput {
|
|
34
|
+
if (!('muted' in value) || value['muted'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function UpdateLeadMuteStatusForBuyerInputFromJSON(json: any): UpdateLeadMuteStatusForBuyerInput {
|
|
39
|
+
return UpdateLeadMuteStatusForBuyerInputFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function UpdateLeadMuteStatusForBuyerInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateLeadMuteStatusForBuyerInput {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'muted': json['muted'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function UpdateLeadMuteStatusForBuyerInputToJSON(json: any): UpdateLeadMuteStatusForBuyerInput {
|
|
53
|
+
return UpdateLeadMuteStatusForBuyerInputToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function UpdateLeadMuteStatusForBuyerInputToJSONTyped(value?: UpdateLeadMuteStatusForBuyerInput | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'muted': value['muted'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface UpdateLeadMuteStatusInput
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateLeadMuteStatusInput {
|
|
22
|
+
/**
|
|
23
|
+
* Whether the lead should be muted for the seller
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof UpdateLeadMuteStatusInput
|
|
26
|
+
*/
|
|
27
|
+
muted: boolean;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the UpdateLeadMuteStatusInput interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfUpdateLeadMuteStatusInput(value: object): value is UpdateLeadMuteStatusInput {
|
|
34
|
+
if (!('muted' in value) || value['muted'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function UpdateLeadMuteStatusInputFromJSON(json: any): UpdateLeadMuteStatusInput {
|
|
39
|
+
return UpdateLeadMuteStatusInputFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function UpdateLeadMuteStatusInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateLeadMuteStatusInput {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'muted': json['muted'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function UpdateLeadMuteStatusInputToJSON(json: any): UpdateLeadMuteStatusInput {
|
|
53
|
+
return UpdateLeadMuteStatusInputToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function UpdateLeadMuteStatusInputToJSONTyped(value?: UpdateLeadMuteStatusInput | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'muted': value['muted'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -19,6 +19,12 @@ import { mapValues } from '../runtime';
|
|
|
19
19
|
* @interface UpdateUserNotificationSettingsInput
|
|
20
20
|
*/
|
|
21
21
|
export interface UpdateUserNotificationSettingsInput {
|
|
22
|
+
/**
|
|
23
|
+
* Disable all notifications
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof UpdateUserNotificationSettingsInput
|
|
26
|
+
*/
|
|
27
|
+
allDisabled?: boolean;
|
|
22
28
|
/**
|
|
23
29
|
* Enable notifications for domain sold events
|
|
24
30
|
* @type {boolean}
|
|
@@ -67,6 +73,36 @@ export interface UpdateUserNotificationSettingsInput {
|
|
|
67
73
|
* @memberof UpdateUserNotificationSettingsInput
|
|
68
74
|
*/
|
|
69
75
|
taskDailyTime?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Enable notifications for lead tasks
|
|
78
|
+
* @type {boolean}
|
|
79
|
+
* @memberof UpdateUserNotificationSettingsInput
|
|
80
|
+
*/
|
|
81
|
+
leadTasks?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Enable notifications for domain transfer tasks
|
|
84
|
+
* @type {boolean}
|
|
85
|
+
* @memberof UpdateUserNotificationSettingsInput
|
|
86
|
+
*/
|
|
87
|
+
domainTransferTasks?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Enable notifications for lead new offer events
|
|
90
|
+
* @type {boolean}
|
|
91
|
+
* @memberof UpdateUserNotificationSettingsInput
|
|
92
|
+
*/
|
|
93
|
+
leadNewOffer?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* Enable notifications for lead new message events
|
|
96
|
+
* @type {boolean}
|
|
97
|
+
* @memberof UpdateUserNotificationSettingsInput
|
|
98
|
+
*/
|
|
99
|
+
leadNewMessage?: boolean;
|
|
100
|
+
/**
|
|
101
|
+
* Enable notifications for lead status changed events
|
|
102
|
+
* @type {boolean}
|
|
103
|
+
* @memberof UpdateUserNotificationSettingsInput
|
|
104
|
+
*/
|
|
105
|
+
leadStatusChanged?: boolean;
|
|
70
106
|
}
|
|
71
107
|
|
|
72
108
|
|
|
@@ -97,6 +133,7 @@ export function UpdateUserNotificationSettingsInputFromJSONTyped(json: any, igno
|
|
|
97
133
|
}
|
|
98
134
|
return {
|
|
99
135
|
|
|
136
|
+
'allDisabled': json['allDisabled'] == null ? undefined : json['allDisabled'],
|
|
100
137
|
'domainSold': json['domainSold'] == null ? undefined : json['domainSold'],
|
|
101
138
|
'domainTransferCompleted': json['domainTransferCompleted'] == null ? undefined : json['domainTransferCompleted'],
|
|
102
139
|
'leadClosed': json['leadClosed'] == null ? undefined : json['leadClosed'],
|
|
@@ -105,6 +142,11 @@ export function UpdateUserNotificationSettingsInputFromJSONTyped(json: any, igno
|
|
|
105
142
|
'leadMessagesFrequencyInMinutes': json['leadMessagesFrequencyInMinutes'] == null ? undefined : json['leadMessagesFrequencyInMinutes'],
|
|
106
143
|
'tasksFrequency': json['tasksFrequency'] == null ? undefined : json['tasksFrequency'],
|
|
107
144
|
'taskDailyTime': json['taskDailyTime'] == null ? undefined : json['taskDailyTime'],
|
|
145
|
+
'leadTasks': json['leadTasks'] == null ? undefined : json['leadTasks'],
|
|
146
|
+
'domainTransferTasks': json['domainTransferTasks'] == null ? undefined : json['domainTransferTasks'],
|
|
147
|
+
'leadNewOffer': json['leadNewOffer'] == null ? undefined : json['leadNewOffer'],
|
|
148
|
+
'leadNewMessage': json['leadNewMessage'] == null ? undefined : json['leadNewMessage'],
|
|
149
|
+
'leadStatusChanged': json['leadStatusChanged'] == null ? undefined : json['leadStatusChanged'],
|
|
108
150
|
};
|
|
109
151
|
}
|
|
110
152
|
|
|
@@ -119,6 +161,7 @@ export function UpdateUserNotificationSettingsInputToJSONTyped(value?: UpdateUse
|
|
|
119
161
|
|
|
120
162
|
return {
|
|
121
163
|
|
|
164
|
+
'allDisabled': value['allDisabled'],
|
|
122
165
|
'domainSold': value['domainSold'],
|
|
123
166
|
'domainTransferCompleted': value['domainTransferCompleted'],
|
|
124
167
|
'leadClosed': value['leadClosed'],
|
|
@@ -127,6 +170,11 @@ export function UpdateUserNotificationSettingsInputToJSONTyped(value?: UpdateUse
|
|
|
127
170
|
'leadMessagesFrequencyInMinutes': value['leadMessagesFrequencyInMinutes'],
|
|
128
171
|
'tasksFrequency': value['tasksFrequency'],
|
|
129
172
|
'taskDailyTime': value['taskDailyTime'],
|
|
173
|
+
'leadTasks': value['leadTasks'],
|
|
174
|
+
'domainTransferTasks': value['domainTransferTasks'],
|
|
175
|
+
'leadNewOffer': value['leadNewOffer'],
|
|
176
|
+
'leadNewMessage': value['leadNewMessage'],
|
|
177
|
+
'leadStatusChanged': value['leadStatusChanged'],
|
|
130
178
|
};
|
|
131
179
|
}
|
|
132
180
|
|
|
@@ -19,6 +19,12 @@ import { mapValues } from '../runtime';
|
|
|
19
19
|
* @interface UserNotificationSettingsDto
|
|
20
20
|
*/
|
|
21
21
|
export interface UserNotificationSettingsDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof UserNotificationSettingsDto
|
|
26
|
+
*/
|
|
27
|
+
allDisabled: boolean;
|
|
22
28
|
/**
|
|
23
29
|
*
|
|
24
30
|
* @type {boolean}
|
|
@@ -67,6 +73,36 @@ export interface UserNotificationSettingsDto {
|
|
|
67
73
|
* @memberof UserNotificationSettingsDto
|
|
68
74
|
*/
|
|
69
75
|
taskDailyTime: string | null;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {boolean}
|
|
79
|
+
* @memberof UserNotificationSettingsDto
|
|
80
|
+
*/
|
|
81
|
+
leadTasks: boolean;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {boolean}
|
|
85
|
+
* @memberof UserNotificationSettingsDto
|
|
86
|
+
*/
|
|
87
|
+
domainTransferTasks: boolean;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {boolean}
|
|
91
|
+
* @memberof UserNotificationSettingsDto
|
|
92
|
+
*/
|
|
93
|
+
leadNewOffer: boolean;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {boolean}
|
|
97
|
+
* @memberof UserNotificationSettingsDto
|
|
98
|
+
*/
|
|
99
|
+
leadNewMessage: boolean;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {boolean}
|
|
103
|
+
* @memberof UserNotificationSettingsDto
|
|
104
|
+
*/
|
|
105
|
+
leadStatusChanged: boolean;
|
|
70
106
|
}
|
|
71
107
|
|
|
72
108
|
|
|
@@ -84,6 +120,7 @@ export type UserNotificationSettingsDtoTasksFrequencyEnum = typeof UserNotificat
|
|
|
84
120
|
* Check if a given object implements the UserNotificationSettingsDto interface.
|
|
85
121
|
*/
|
|
86
122
|
export function instanceOfUserNotificationSettingsDto(value: object): value is UserNotificationSettingsDto {
|
|
123
|
+
if (!('allDisabled' in value) || value['allDisabled'] === undefined) return false;
|
|
87
124
|
if (!('domainSold' in value) || value['domainSold'] === undefined) return false;
|
|
88
125
|
if (!('domainTransferCompleted' in value) || value['domainTransferCompleted'] === undefined) return false;
|
|
89
126
|
if (!('leadClosed' in value) || value['leadClosed'] === undefined) return false;
|
|
@@ -92,6 +129,11 @@ export function instanceOfUserNotificationSettingsDto(value: object): value is U
|
|
|
92
129
|
if (!('leadMessagesFrequencyInMinutes' in value) || value['leadMessagesFrequencyInMinutes'] === undefined) return false;
|
|
93
130
|
if (!('tasksFrequency' in value) || value['tasksFrequency'] === undefined) return false;
|
|
94
131
|
if (!('taskDailyTime' in value) || value['taskDailyTime'] === undefined) return false;
|
|
132
|
+
if (!('leadTasks' in value) || value['leadTasks'] === undefined) return false;
|
|
133
|
+
if (!('domainTransferTasks' in value) || value['domainTransferTasks'] === undefined) return false;
|
|
134
|
+
if (!('leadNewOffer' in value) || value['leadNewOffer'] === undefined) return false;
|
|
135
|
+
if (!('leadNewMessage' in value) || value['leadNewMessage'] === undefined) return false;
|
|
136
|
+
if (!('leadStatusChanged' in value) || value['leadStatusChanged'] === undefined) return false;
|
|
95
137
|
return true;
|
|
96
138
|
}
|
|
97
139
|
|
|
@@ -105,6 +147,7 @@ export function UserNotificationSettingsDtoFromJSONTyped(json: any, ignoreDiscri
|
|
|
105
147
|
}
|
|
106
148
|
return {
|
|
107
149
|
|
|
150
|
+
'allDisabled': json['allDisabled'],
|
|
108
151
|
'domainSold': json['domainSold'],
|
|
109
152
|
'domainTransferCompleted': json['domainTransferCompleted'],
|
|
110
153
|
'leadClosed': json['leadClosed'],
|
|
@@ -113,6 +156,11 @@ export function UserNotificationSettingsDtoFromJSONTyped(json: any, ignoreDiscri
|
|
|
113
156
|
'leadMessagesFrequencyInMinutes': json['leadMessagesFrequencyInMinutes'],
|
|
114
157
|
'tasksFrequency': json['tasksFrequency'],
|
|
115
158
|
'taskDailyTime': json['taskDailyTime'],
|
|
159
|
+
'leadTasks': json['leadTasks'],
|
|
160
|
+
'domainTransferTasks': json['domainTransferTasks'],
|
|
161
|
+
'leadNewOffer': json['leadNewOffer'],
|
|
162
|
+
'leadNewMessage': json['leadNewMessage'],
|
|
163
|
+
'leadStatusChanged': json['leadStatusChanged'],
|
|
116
164
|
};
|
|
117
165
|
}
|
|
118
166
|
|
|
@@ -127,6 +175,7 @@ export function UserNotificationSettingsDtoToJSONTyped(value?: UserNotificationS
|
|
|
127
175
|
|
|
128
176
|
return {
|
|
129
177
|
|
|
178
|
+
'allDisabled': value['allDisabled'],
|
|
130
179
|
'domainSold': value['domainSold'],
|
|
131
180
|
'domainTransferCompleted': value['domainTransferCompleted'],
|
|
132
181
|
'leadClosed': value['leadClosed'],
|
|
@@ -135,6 +184,11 @@ export function UserNotificationSettingsDtoToJSONTyped(value?: UserNotificationS
|
|
|
135
184
|
'leadMessagesFrequencyInMinutes': value['leadMessagesFrequencyInMinutes'],
|
|
136
185
|
'tasksFrequency': value['tasksFrequency'],
|
|
137
186
|
'taskDailyTime': value['taskDailyTime'],
|
|
187
|
+
'leadTasks': value['leadTasks'],
|
|
188
|
+
'domainTransferTasks': value['domainTransferTasks'],
|
|
189
|
+
'leadNewOffer': value['leadNewOffer'],
|
|
190
|
+
'leadNewMessage': value['leadNewMessage'],
|
|
191
|
+
'leadStatusChanged': value['leadStatusChanged'],
|
|
138
192
|
};
|
|
139
193
|
}
|
|
140
194
|
|
package/src/models/index.ts
CHANGED
|
@@ -134,9 +134,7 @@ export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFe
|
|
|
134
134
|
export * from './IntersectionDomainDtoWithAccountDto';
|
|
135
135
|
export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
|
|
136
136
|
export * from './IntersectionDomainDtoWithSeoMetricsDto';
|
|
137
|
-
export * from './IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto';
|
|
138
137
|
export * from './IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto';
|
|
139
|
-
export * from './IntersectionLeadDtoWithListFieldsDto';
|
|
140
138
|
export * from './IntersectionListAccountDtoWithAccountCommissionDto';
|
|
141
139
|
export * from './IntersectionTaskListTaskDto';
|
|
142
140
|
export * from './InvoiceDomainDto';
|
|
@@ -173,6 +171,7 @@ export * from './ListBankAccounts200Response';
|
|
|
173
171
|
export * from './ListDomains200Response';
|
|
174
172
|
export * from './ListDomainsWithUpdatedPricing200Response';
|
|
175
173
|
export * from './ListLeadMessagesDto';
|
|
174
|
+
export * from './ListLeadsResultItem';
|
|
176
175
|
export * from './ListNotifications200Response';
|
|
177
176
|
export * from './LoginDto';
|
|
178
177
|
export * from './LoginInput';
|
|
@@ -232,6 +231,7 @@ export * from './SellerDomainTransferListItemDto';
|
|
|
232
231
|
export * from './SellerInvoiceDomainDto';
|
|
233
232
|
export * from './SellerInvoiceDto';
|
|
234
233
|
export * from './SellerInvoiceSellerAccountDto';
|
|
234
|
+
export * from './SellerLeadDetails';
|
|
235
235
|
export * from './SellerPendingPayoutsByCurrencyStatsItemDto';
|
|
236
236
|
export * from './SellerRemainingAndTotalLeaseToOwnByCurrencyStatsItemDto';
|
|
237
237
|
export * from './SellerSalesCountStatsItemDto';
|
|
@@ -281,6 +281,8 @@ export * from './UpdateDomainInput';
|
|
|
281
281
|
export * from './UpdateDomainTransferAuthCodeInput';
|
|
282
282
|
export * from './UpdateDomainTransferIpsTagInput';
|
|
283
283
|
export * from './UpdateLeadInput';
|
|
284
|
+
export * from './UpdateLeadMuteStatusForBuyerInput';
|
|
285
|
+
export * from './UpdateLeadMuteStatusInput';
|
|
284
286
|
export * from './UpdateOrderInput';
|
|
285
287
|
export * from './UpdateSubscriptionBillingPeriodicityInput';
|
|
286
288
|
export * from './UpdateSubscriptionInput';
|