@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.
Files changed (47) hide show
  1. package/.openapi-generator/FILES +4 -2
  2. package/README.md +3 -3
  3. package/dist/apis/BuyersApi.d.ts +13 -1
  4. package/dist/apis/BuyersApi.js +56 -0
  5. package/dist/apis/LeadsApi.d.ts +15 -3
  6. package/dist/apis/LeadsApi.js +57 -1
  7. package/dist/models/BuyerLeadListItemDto.d.ts +6 -0
  8. package/dist/models/BuyerLeadListItemDto.js +4 -0
  9. package/dist/models/DomainPricesChangeDto.d.ts +6 -0
  10. package/dist/models/DomainPricesChangeDto.js +4 -0
  11. package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.d.ts +6 -0
  12. package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.js +4 -0
  13. package/dist/models/LeadDto.d.ts +6 -0
  14. package/dist/models/LeadDto.js +4 -0
  15. package/dist/models/List200Response.d.ts +3 -3
  16. package/dist/models/List200Response.js +3 -3
  17. package/dist/models/ListLeadsResultItem.d.ts +213 -0
  18. package/dist/models/{IntersectionLeadDtoWithListFieldsDto.js → ListLeadsResultItem.js} +27 -19
  19. package/dist/models/SellerLeadDetails.d.ts +156 -0
  20. package/dist/models/{IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto.js → SellerLeadDetails.js} +25 -17
  21. package/dist/models/UpdateLeadMuteStatusForBuyerInput.d.ts +32 -0
  22. package/dist/models/UpdateLeadMuteStatusForBuyerInput.js +51 -0
  23. package/dist/models/UpdateLeadMuteStatusInput.d.ts +32 -0
  24. package/dist/models/UpdateLeadMuteStatusInput.js +51 -0
  25. package/dist/models/UpdateUserNotificationSettingsInput.d.ts +36 -0
  26. package/dist/models/UpdateUserNotificationSettingsInput.js +12 -0
  27. package/dist/models/UserNotificationSettingsDto.d.ts +36 -0
  28. package/dist/models/UserNotificationSettingsDto.js +24 -0
  29. package/dist/models/index.d.ts +4 -2
  30. package/dist/models/index.js +4 -2
  31. package/package.json +1 -1
  32. package/src/apis/BuyersApi.ts +58 -0
  33. package/src/apis/LeadsApi.ts +64 -6
  34. package/src/models/BuyerLeadListItemDto.ts +9 -0
  35. package/src/models/DomainPricesChangeDto.ts +9 -0
  36. package/src/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts +9 -0
  37. package/src/models/LeadDto.ts +9 -0
  38. package/src/models/List200Response.ts +10 -10
  39. package/src/models/{IntersectionLeadDtoWithListFieldsDto.ts → ListLeadsResultItem.ts} +63 -45
  40. package/src/models/{IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto.ts → SellerLeadDetails.ts} +51 -33
  41. package/src/models/UpdateLeadMuteStatusForBuyerInput.ts +66 -0
  42. package/src/models/UpdateLeadMuteStatusInput.ts +66 -0
  43. package/src/models/UpdateUserNotificationSettingsInput.ts +48 -0
  44. package/src/models/UserNotificationSettingsDto.ts +54 -0
  45. package/src/models/index.ts +4 -2
  46. package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto.d.ts +0 -144
  47. package/dist/models/IntersectionLeadDtoWithListFieldsDto.d.ts +0 -201
@@ -0,0 +1,213 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { LeadMessageData } from './LeadMessageData';
13
+ import type { LeadDomainDto } from './LeadDomainDto';
14
+ import type { MoneyDto } from './MoneyDto';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface ListLeadsResultItem
19
+ */
20
+ export interface ListLeadsResultItem {
21
+ /**
22
+ * The lead id
23
+ * @type {string}
24
+ * @memberof ListLeadsResultItem
25
+ */
26
+ id: string;
27
+ /**
28
+ * The current lead status
29
+ * @type {string}
30
+ * @memberof ListLeadsResultItem
31
+ */
32
+ status: ListLeadsResultItemStatusEnum;
33
+ /**
34
+ * The lead last offer amount
35
+ * @type {MoneyDto}
36
+ * @memberof ListLeadsResultItem
37
+ */
38
+ lastOffer: MoneyDto | null;
39
+ /**
40
+ *
41
+ * @type {string}
42
+ * @memberof ListLeadsResultItem
43
+ */
44
+ lastOfferBy: ListLeadsResultItemLastOfferByEnum | null;
45
+ /**
46
+ *
47
+ * @type {string}
48
+ * @memberof ListLeadsResultItem
49
+ */
50
+ buyerInitials: string;
51
+ /**
52
+ *
53
+ * @type {string}
54
+ * @memberof ListLeadsResultItem
55
+ */
56
+ buyerIpCountryCode: string | null;
57
+ /**
58
+ *
59
+ * @type {string}
60
+ * @memberof ListLeadsResultItem
61
+ */
62
+ lastMessageFrom: ListLeadsResultItemLastMessageFromEnum;
63
+ /**
64
+ *
65
+ * @type {string}
66
+ * @memberof ListLeadsResultItem
67
+ */
68
+ lastMessageType: ListLeadsResultItemLastMessageTypeEnum;
69
+ /**
70
+ * The data
71
+ * @type {LeadMessageData}
72
+ * @memberof ListLeadsResultItem
73
+ */
74
+ lastMessageData: LeadMessageData | null;
75
+ /**
76
+ *
77
+ * @type {boolean}
78
+ * @memberof ListLeadsResultItem
79
+ */
80
+ isMutedForSeller: boolean;
81
+ /**
82
+ *
83
+ * @type {boolean}
84
+ * @memberof ListLeadsResultItem
85
+ */
86
+ isMutedForBuyer: boolean;
87
+ /**
88
+ * Archived status
89
+ * @type {boolean}
90
+ * @memberof ListLeadsResultItem
91
+ */
92
+ archived: boolean;
93
+ /**
94
+ * Created at date
95
+ * @type {Date}
96
+ * @memberof ListLeadsResultItem
97
+ */
98
+ createdAt: Date;
99
+ /**
100
+ * Updated at date
101
+ * @type {Date}
102
+ * @memberof ListLeadsResultItem
103
+ */
104
+ updatedAt: Date;
105
+ /**
106
+ * Domain information
107
+ * @type {LeadDomainDto}
108
+ * @memberof ListLeadsResultItem
109
+ */
110
+ domain: LeadDomainDto;
111
+ /**
112
+ * Number of buyer unread messages
113
+ * @type {number}
114
+ * @memberof ListLeadsResultItem
115
+ */
116
+ unreadBuyerMessagesNumber: number;
117
+ /**
118
+ * Number of seller unread messages
119
+ * @type {number}
120
+ * @memberof ListLeadsResultItem
121
+ */
122
+ unreadSellerMessagesNumber: number;
123
+ /**
124
+ * Lead order payment URL
125
+ * @type {string}
126
+ * @memberof ListLeadsResultItem
127
+ */
128
+ orderPaymentUrl: string | null;
129
+ /**
130
+ *
131
+ * @type {boolean}
132
+ * @memberof ListLeadsResultItem
133
+ */
134
+ isPriceNegotiatorAgentPaused: boolean;
135
+ /**
136
+ *
137
+ * @type {string}
138
+ * @memberof ListLeadsResultItem
139
+ */
140
+ manualType: ListLeadsResultItemManualTypeEnum | null;
141
+ /**
142
+ * The message in case lastMessageType === LeadMessageTypeEnum.MESSAGE
143
+ * @type {string}
144
+ * @memberof ListLeadsResultItem
145
+ */
146
+ lastMessageMessage: string | null;
147
+ /**
148
+ * The creation date of the message
149
+ * @type {Date}
150
+ * @memberof ListLeadsResultItem
151
+ */
152
+ lastMessageDate: Date;
153
+ }
154
+ /**
155
+ * @export
156
+ */
157
+ export declare const ListLeadsResultItemStatusEnum: {
158
+ readonly UNVERIFIED: "unverified";
159
+ readonly ACTIVE: "active";
160
+ readonly ACCEPTED: "accepted";
161
+ readonly FINISHED: "finished";
162
+ readonly CLOSED: "closed";
163
+ };
164
+ export type ListLeadsResultItemStatusEnum = typeof ListLeadsResultItemStatusEnum[keyof typeof ListLeadsResultItemStatusEnum];
165
+ /**
166
+ * @export
167
+ */
168
+ export declare const ListLeadsResultItemLastOfferByEnum: {
169
+ readonly BUYER: "buyer";
170
+ readonly SELLER: "seller";
171
+ readonly AI: "ai";
172
+ readonly ADMIN: "admin";
173
+ };
174
+ export type ListLeadsResultItemLastOfferByEnum = typeof ListLeadsResultItemLastOfferByEnum[keyof typeof ListLeadsResultItemLastOfferByEnum];
175
+ /**
176
+ * @export
177
+ */
178
+ export declare const ListLeadsResultItemLastMessageFromEnum: {
179
+ readonly BUYER: "buyer";
180
+ readonly SELLER: "seller";
181
+ readonly AI: "ai";
182
+ readonly ADMIN: "admin";
183
+ };
184
+ export type ListLeadsResultItemLastMessageFromEnum = typeof ListLeadsResultItemLastMessageFromEnum[keyof typeof ListLeadsResultItemLastMessageFromEnum];
185
+ /**
186
+ * @export
187
+ */
188
+ export declare const ListLeadsResultItemLastMessageTypeEnum: {
189
+ readonly OFFER: "offer";
190
+ readonly OFFER_ACCEPTED: "offer_accepted";
191
+ readonly OFFER_WITHDRAWN: "offer_withdrawn";
192
+ readonly OFFER_REJECTED: "offer_rejected";
193
+ readonly MESSAGE: "message";
194
+ };
195
+ export type ListLeadsResultItemLastMessageTypeEnum = typeof ListLeadsResultItemLastMessageTypeEnum[keyof typeof ListLeadsResultItemLastMessageTypeEnum];
196
+ /**
197
+ * @export
198
+ */
199
+ export declare const ListLeadsResultItemManualTypeEnum: {
200
+ readonly BUY_NOW: "buy_now";
201
+ readonly OFFER: "offer";
202
+ readonly LEASE_TO_OWN: "lease_to_own";
203
+ readonly RENT: "rent";
204
+ };
205
+ export type ListLeadsResultItemManualTypeEnum = typeof ListLeadsResultItemManualTypeEnum[keyof typeof ListLeadsResultItemManualTypeEnum];
206
+ /**
207
+ * Check if a given object implements the ListLeadsResultItem interface.
208
+ */
209
+ export declare function instanceOfListLeadsResultItem(value: object): value is ListLeadsResultItem;
210
+ export declare function ListLeadsResultItemFromJSON(json: any): ListLeadsResultItem;
211
+ export declare function ListLeadsResultItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListLeadsResultItem;
212
+ export declare function ListLeadsResultItemToJSON(json: any): ListLeadsResultItem;
213
+ export declare function ListLeadsResultItemToJSONTyped(value?: ListLeadsResultItem | null, ignoreDiscriminator?: boolean): any;
@@ -13,19 +13,19 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.IntersectionLeadDtoWithListFieldsDtoManualTypeEnum = exports.IntersectionLeadDtoWithListFieldsDtoLastMessageTypeEnum = exports.IntersectionLeadDtoWithListFieldsDtoLastMessageFromEnum = exports.IntersectionLeadDtoWithListFieldsDtoLastOfferByEnum = exports.IntersectionLeadDtoWithListFieldsDtoStatusEnum = void 0;
17
- exports.instanceOfIntersectionLeadDtoWithListFieldsDto = instanceOfIntersectionLeadDtoWithListFieldsDto;
18
- exports.IntersectionLeadDtoWithListFieldsDtoFromJSON = IntersectionLeadDtoWithListFieldsDtoFromJSON;
19
- exports.IntersectionLeadDtoWithListFieldsDtoFromJSONTyped = IntersectionLeadDtoWithListFieldsDtoFromJSONTyped;
20
- exports.IntersectionLeadDtoWithListFieldsDtoToJSON = IntersectionLeadDtoWithListFieldsDtoToJSON;
21
- exports.IntersectionLeadDtoWithListFieldsDtoToJSONTyped = IntersectionLeadDtoWithListFieldsDtoToJSONTyped;
16
+ exports.ListLeadsResultItemManualTypeEnum = exports.ListLeadsResultItemLastMessageTypeEnum = exports.ListLeadsResultItemLastMessageFromEnum = exports.ListLeadsResultItemLastOfferByEnum = exports.ListLeadsResultItemStatusEnum = void 0;
17
+ exports.instanceOfListLeadsResultItem = instanceOfListLeadsResultItem;
18
+ exports.ListLeadsResultItemFromJSON = ListLeadsResultItemFromJSON;
19
+ exports.ListLeadsResultItemFromJSONTyped = ListLeadsResultItemFromJSONTyped;
20
+ exports.ListLeadsResultItemToJSON = ListLeadsResultItemToJSON;
21
+ exports.ListLeadsResultItemToJSONTyped = ListLeadsResultItemToJSONTyped;
22
22
  var LeadMessageData_1 = require("./LeadMessageData");
23
23
  var LeadDomainDto_1 = require("./LeadDomainDto");
24
24
  var MoneyDto_1 = require("./MoneyDto");
25
25
  /**
26
26
  * @export
27
27
  */
28
- exports.IntersectionLeadDtoWithListFieldsDtoStatusEnum = {
28
+ exports.ListLeadsResultItemStatusEnum = {
29
29
  UNVERIFIED: 'unverified',
30
30
  ACTIVE: 'active',
31
31
  ACCEPTED: 'accepted',
@@ -35,7 +35,7 @@ exports.IntersectionLeadDtoWithListFieldsDtoStatusEnum = {
35
35
  /**
36
36
  * @export
37
37
  */
38
- exports.IntersectionLeadDtoWithListFieldsDtoLastOfferByEnum = {
38
+ exports.ListLeadsResultItemLastOfferByEnum = {
39
39
  BUYER: 'buyer',
40
40
  SELLER: 'seller',
41
41
  AI: 'ai',
@@ -44,7 +44,7 @@ exports.IntersectionLeadDtoWithListFieldsDtoLastOfferByEnum = {
44
44
  /**
45
45
  * @export
46
46
  */
47
- exports.IntersectionLeadDtoWithListFieldsDtoLastMessageFromEnum = {
47
+ exports.ListLeadsResultItemLastMessageFromEnum = {
48
48
  BUYER: 'buyer',
49
49
  SELLER: 'seller',
50
50
  AI: 'ai',
@@ -53,7 +53,7 @@ exports.IntersectionLeadDtoWithListFieldsDtoLastMessageFromEnum = {
53
53
  /**
54
54
  * @export
55
55
  */
56
- exports.IntersectionLeadDtoWithListFieldsDtoLastMessageTypeEnum = {
56
+ exports.ListLeadsResultItemLastMessageTypeEnum = {
57
57
  OFFER: 'offer',
58
58
  OFFER_ACCEPTED: 'offer_accepted',
59
59
  OFFER_WITHDRAWN: 'offer_withdrawn',
@@ -63,16 +63,16 @@ exports.IntersectionLeadDtoWithListFieldsDtoLastMessageTypeEnum = {
63
63
  /**
64
64
  * @export
65
65
  */
66
- exports.IntersectionLeadDtoWithListFieldsDtoManualTypeEnum = {
66
+ exports.ListLeadsResultItemManualTypeEnum = {
67
67
  BUY_NOW: 'buy_now',
68
68
  OFFER: 'offer',
69
69
  LEASE_TO_OWN: 'lease_to_own',
70
70
  RENT: 'rent'
71
71
  };
72
72
  /**
73
- * Check if a given object implements the IntersectionLeadDtoWithListFieldsDto interface.
73
+ * Check if a given object implements the ListLeadsResultItem interface.
74
74
  */
75
- function instanceOfIntersectionLeadDtoWithListFieldsDto(value) {
75
+ function instanceOfListLeadsResultItem(value) {
76
76
  if (!('id' in value) || value['id'] === undefined)
77
77
  return false;
78
78
  if (!('status' in value) || value['status'] === undefined)
@@ -91,6 +91,10 @@ function instanceOfIntersectionLeadDtoWithListFieldsDto(value) {
91
91
  return false;
92
92
  if (!('lastMessageData' in value) || value['lastMessageData'] === undefined)
93
93
  return false;
94
+ if (!('isMutedForSeller' in value) || value['isMutedForSeller'] === undefined)
95
+ return false;
96
+ if (!('isMutedForBuyer' in value) || value['isMutedForBuyer'] === undefined)
97
+ return false;
94
98
  if (!('archived' in value) || value['archived'] === undefined)
95
99
  return false;
96
100
  if (!('createdAt' in value) || value['createdAt'] === undefined)
@@ -115,10 +119,10 @@ function instanceOfIntersectionLeadDtoWithListFieldsDto(value) {
115
119
  return false;
116
120
  return true;
117
121
  }
118
- function IntersectionLeadDtoWithListFieldsDtoFromJSON(json) {
119
- return IntersectionLeadDtoWithListFieldsDtoFromJSONTyped(json, false);
122
+ function ListLeadsResultItemFromJSON(json) {
123
+ return ListLeadsResultItemFromJSONTyped(json, false);
120
124
  }
121
- function IntersectionLeadDtoWithListFieldsDtoFromJSONTyped(json, ignoreDiscriminator) {
125
+ function ListLeadsResultItemFromJSONTyped(json, ignoreDiscriminator) {
122
126
  if (json == null) {
123
127
  return json;
124
128
  }
@@ -132,6 +136,8 @@ function IntersectionLeadDtoWithListFieldsDtoFromJSONTyped(json, ignoreDiscrimin
132
136
  'lastMessageFrom': json['lastMessageFrom'],
133
137
  'lastMessageType': json['lastMessageType'],
134
138
  'lastMessageData': (0, LeadMessageData_1.LeadMessageDataFromJSON)(json['lastMessageData']),
139
+ 'isMutedForSeller': json['isMutedForSeller'],
140
+ 'isMutedForBuyer': json['isMutedForBuyer'],
135
141
  'archived': json['archived'],
136
142
  'createdAt': (new Date(json['createdAt'])),
137
143
  'updatedAt': (new Date(json['updatedAt'])),
@@ -145,10 +151,10 @@ function IntersectionLeadDtoWithListFieldsDtoFromJSONTyped(json, ignoreDiscrimin
145
151
  'lastMessageDate': (new Date(json['lastMessageDate'])),
146
152
  };
147
153
  }
148
- function IntersectionLeadDtoWithListFieldsDtoToJSON(json) {
149
- return IntersectionLeadDtoWithListFieldsDtoToJSONTyped(json, false);
154
+ function ListLeadsResultItemToJSON(json) {
155
+ return ListLeadsResultItemToJSONTyped(json, false);
150
156
  }
151
- function IntersectionLeadDtoWithListFieldsDtoToJSONTyped(value, ignoreDiscriminator) {
157
+ function ListLeadsResultItemToJSONTyped(value, ignoreDiscriminator) {
152
158
  if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
153
159
  if (value == null) {
154
160
  return value;
@@ -163,6 +169,8 @@ function IntersectionLeadDtoWithListFieldsDtoToJSONTyped(value, ignoreDiscrimina
163
169
  'lastMessageFrom': value['lastMessageFrom'],
164
170
  'lastMessageType': value['lastMessageType'],
165
171
  'lastMessageData': (0, LeadMessageData_1.LeadMessageDataToJSON)(value['lastMessageData']),
172
+ 'isMutedForSeller': value['isMutedForSeller'],
173
+ 'isMutedForBuyer': value['isMutedForBuyer'],
166
174
  'archived': value['archived'],
167
175
  'createdAt': ((value['createdAt']).toISOString()),
168
176
  'updatedAt': ((value['updatedAt']).toISOString()),
@@ -0,0 +1,156 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { IntersectionDomainDtoWithAccountDto } from './IntersectionDomainDtoWithAccountDto';
13
+ import type { MoneyDto } from './MoneyDto';
14
+ import type { BuyerDto } from './BuyerDto';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface SellerLeadDetails
19
+ */
20
+ export interface SellerLeadDetails {
21
+ /**
22
+ * The lead id
23
+ * @type {string}
24
+ * @memberof SellerLeadDetails
25
+ */
26
+ id: string;
27
+ /**
28
+ * The current lead status
29
+ * @type {string}
30
+ * @memberof SellerLeadDetails
31
+ */
32
+ status: SellerLeadDetailsStatusEnum;
33
+ /**
34
+ * The lead last offer amount
35
+ * @type {MoneyDto}
36
+ * @memberof SellerLeadDetails
37
+ */
38
+ lastOffer: MoneyDto | null;
39
+ /**
40
+ *
41
+ * @type {string}
42
+ * @memberof SellerLeadDetails
43
+ */
44
+ lastOfferBy: SellerLeadDetailsLastOfferByEnum | null;
45
+ /**
46
+ *
47
+ * @type {IntersectionDomainDtoWithAccountDto}
48
+ * @memberof SellerLeadDetails
49
+ */
50
+ domain: IntersectionDomainDtoWithAccountDto;
51
+ /**
52
+ *
53
+ * @type {string}
54
+ * @memberof SellerLeadDetails
55
+ */
56
+ manualType: SellerLeadDetailsManualTypeEnum | null;
57
+ /**
58
+ *
59
+ * @type {BuyerDto}
60
+ * @memberof SellerLeadDetails
61
+ */
62
+ buyer: BuyerDto;
63
+ /**
64
+ *
65
+ * @type {boolean}
66
+ * @memberof SellerLeadDetails
67
+ */
68
+ isMutedForSeller: boolean;
69
+ /**
70
+ *
71
+ * @type {boolean}
72
+ * @memberof SellerLeadDetails
73
+ */
74
+ isMutedForBuyer: boolean;
75
+ /**
76
+ * Archived status
77
+ * @type {boolean}
78
+ * @memberof SellerLeadDetails
79
+ */
80
+ archived: boolean;
81
+ /**
82
+ * Created at date
83
+ * @type {Date}
84
+ * @memberof SellerLeadDetails
85
+ */
86
+ createdAt: Date;
87
+ /**
88
+ * Updated at date
89
+ * @type {Date}
90
+ * @memberof SellerLeadDetails
91
+ */
92
+ updatedAt: Date;
93
+ /**
94
+ * Number of buyer unread messages
95
+ * @type {number}
96
+ * @memberof SellerLeadDetails
97
+ */
98
+ unreadBuyerMessagesNumber: number;
99
+ /**
100
+ * Number of seller unread messages
101
+ * @type {number}
102
+ * @memberof SellerLeadDetails
103
+ */
104
+ unreadSellerMessagesNumber: number;
105
+ /**
106
+ * Lead order payment URL
107
+ * @type {string}
108
+ * @memberof SellerLeadDetails
109
+ */
110
+ orderPaymentUrl: string | null;
111
+ /**
112
+ *
113
+ * @type {boolean}
114
+ * @memberof SellerLeadDetails
115
+ */
116
+ isPriceNegotiatorAgentPaused: boolean;
117
+ }
118
+ /**
119
+ * @export
120
+ */
121
+ export declare const SellerLeadDetailsStatusEnum: {
122
+ readonly UNVERIFIED: "unverified";
123
+ readonly ACTIVE: "active";
124
+ readonly ACCEPTED: "accepted";
125
+ readonly FINISHED: "finished";
126
+ readonly CLOSED: "closed";
127
+ };
128
+ export type SellerLeadDetailsStatusEnum = typeof SellerLeadDetailsStatusEnum[keyof typeof SellerLeadDetailsStatusEnum];
129
+ /**
130
+ * @export
131
+ */
132
+ export declare const SellerLeadDetailsLastOfferByEnum: {
133
+ readonly BUYER: "buyer";
134
+ readonly SELLER: "seller";
135
+ readonly AI: "ai";
136
+ readonly ADMIN: "admin";
137
+ };
138
+ export type SellerLeadDetailsLastOfferByEnum = typeof SellerLeadDetailsLastOfferByEnum[keyof typeof SellerLeadDetailsLastOfferByEnum];
139
+ /**
140
+ * @export
141
+ */
142
+ export declare const SellerLeadDetailsManualTypeEnum: {
143
+ readonly BUY_NOW: "buy_now";
144
+ readonly OFFER: "offer";
145
+ readonly LEASE_TO_OWN: "lease_to_own";
146
+ readonly RENT: "rent";
147
+ };
148
+ export type SellerLeadDetailsManualTypeEnum = typeof SellerLeadDetailsManualTypeEnum[keyof typeof SellerLeadDetailsManualTypeEnum];
149
+ /**
150
+ * Check if a given object implements the SellerLeadDetails interface.
151
+ */
152
+ export declare function instanceOfSellerLeadDetails(value: object): value is SellerLeadDetails;
153
+ export declare function SellerLeadDetailsFromJSON(json: any): SellerLeadDetails;
154
+ export declare function SellerLeadDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerLeadDetails;
155
+ export declare function SellerLeadDetailsToJSON(json: any): SellerLeadDetails;
156
+ export declare function SellerLeadDetailsToJSONTyped(value?: SellerLeadDetails | null, ignoreDiscriminator?: boolean): any;
@@ -13,19 +13,19 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoManualTypeEnum = exports.IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoLastOfferByEnum = exports.IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoStatusEnum = void 0;
17
- exports.instanceOfIntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto = instanceOfIntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto;
18
- exports.IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoFromJSON = IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoFromJSON;
19
- exports.IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoFromJSONTyped = IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoFromJSONTyped;
20
- exports.IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoToJSON = IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoToJSON;
21
- exports.IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoToJSONTyped = IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoToJSONTyped;
16
+ exports.SellerLeadDetailsManualTypeEnum = exports.SellerLeadDetailsLastOfferByEnum = exports.SellerLeadDetailsStatusEnum = void 0;
17
+ exports.instanceOfSellerLeadDetails = instanceOfSellerLeadDetails;
18
+ exports.SellerLeadDetailsFromJSON = SellerLeadDetailsFromJSON;
19
+ exports.SellerLeadDetailsFromJSONTyped = SellerLeadDetailsFromJSONTyped;
20
+ exports.SellerLeadDetailsToJSON = SellerLeadDetailsToJSON;
21
+ exports.SellerLeadDetailsToJSONTyped = SellerLeadDetailsToJSONTyped;
22
22
  var IntersectionDomainDtoWithAccountDto_1 = require("./IntersectionDomainDtoWithAccountDto");
23
23
  var MoneyDto_1 = require("./MoneyDto");
24
24
  var BuyerDto_1 = require("./BuyerDto");
25
25
  /**
26
26
  * @export
27
27
  */
28
- exports.IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoStatusEnum = {
28
+ exports.SellerLeadDetailsStatusEnum = {
29
29
  UNVERIFIED: 'unverified',
30
30
  ACTIVE: 'active',
31
31
  ACCEPTED: 'accepted',
@@ -35,7 +35,7 @@ exports.IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoStatusEnum = {
35
35
  /**
36
36
  * @export
37
37
  */
38
- exports.IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoLastOfferByEnum = {
38
+ exports.SellerLeadDetailsLastOfferByEnum = {
39
39
  BUYER: 'buyer',
40
40
  SELLER: 'seller',
41
41
  AI: 'ai',
@@ -44,16 +44,16 @@ exports.IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoLastOfferByEnum
44
44
  /**
45
45
  * @export
46
46
  */
47
- exports.IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoManualTypeEnum = {
47
+ exports.SellerLeadDetailsManualTypeEnum = {
48
48
  BUY_NOW: 'buy_now',
49
49
  OFFER: 'offer',
50
50
  LEASE_TO_OWN: 'lease_to_own',
51
51
  RENT: 'rent'
52
52
  };
53
53
  /**
54
- * Check if a given object implements the IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto interface.
54
+ * Check if a given object implements the SellerLeadDetails interface.
55
55
  */
56
- function instanceOfIntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto(value) {
56
+ function instanceOfSellerLeadDetails(value) {
57
57
  if (!('id' in value) || value['id'] === undefined)
58
58
  return false;
59
59
  if (!('status' in value) || value['status'] === undefined)
@@ -68,6 +68,10 @@ function instanceOfIntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto(valu
68
68
  return false;
69
69
  if (!('buyer' in value) || value['buyer'] === undefined)
70
70
  return false;
71
+ if (!('isMutedForSeller' in value) || value['isMutedForSeller'] === undefined)
72
+ return false;
73
+ if (!('isMutedForBuyer' in value) || value['isMutedForBuyer'] === undefined)
74
+ return false;
71
75
  if (!('archived' in value) || value['archived'] === undefined)
72
76
  return false;
73
77
  if (!('createdAt' in value) || value['createdAt'] === undefined)
@@ -84,10 +88,10 @@ function instanceOfIntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto(valu
84
88
  return false;
85
89
  return true;
86
90
  }
87
- function IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoFromJSON(json) {
88
- return IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoFromJSONTyped(json, false);
91
+ function SellerLeadDetailsFromJSON(json) {
92
+ return SellerLeadDetailsFromJSONTyped(json, false);
89
93
  }
90
- function IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoFromJSONTyped(json, ignoreDiscriminator) {
94
+ function SellerLeadDetailsFromJSONTyped(json, ignoreDiscriminator) {
91
95
  if (json == null) {
92
96
  return json;
93
97
  }
@@ -99,6 +103,8 @@ function IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoFromJSONTyped(j
99
103
  'domain': (0, IntersectionDomainDtoWithAccountDto_1.IntersectionDomainDtoWithAccountDtoFromJSON)(json['domain']),
100
104
  'manualType': json['manualType'],
101
105
  'buyer': (0, BuyerDto_1.BuyerDtoFromJSON)(json['buyer']),
106
+ 'isMutedForSeller': json['isMutedForSeller'],
107
+ 'isMutedForBuyer': json['isMutedForBuyer'],
102
108
  'archived': json['archived'],
103
109
  'createdAt': (new Date(json['createdAt'])),
104
110
  'updatedAt': (new Date(json['updatedAt'])),
@@ -108,10 +114,10 @@ function IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoFromJSONTyped(j
108
114
  'isPriceNegotiatorAgentPaused': json['isPriceNegotiatorAgentPaused'],
109
115
  };
110
116
  }
111
- function IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoToJSON(json) {
112
- return IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoToJSONTyped(json, false);
117
+ function SellerLeadDetailsToJSON(json) {
118
+ return SellerLeadDetailsToJSONTyped(json, false);
113
119
  }
114
- function IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoToJSONTyped(value, ignoreDiscriminator) {
120
+ function SellerLeadDetailsToJSONTyped(value, ignoreDiscriminator) {
115
121
  if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
116
122
  if (value == null) {
117
123
  return value;
@@ -124,6 +130,8 @@ function IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDtoToJSONTyped(val
124
130
  'domain': (0, IntersectionDomainDtoWithAccountDto_1.IntersectionDomainDtoWithAccountDtoToJSON)(value['domain']),
125
131
  'manualType': value['manualType'],
126
132
  'buyer': (0, BuyerDto_1.BuyerDtoToJSON)(value['buyer']),
133
+ 'isMutedForSeller': value['isMutedForSeller'],
134
+ 'isMutedForBuyer': value['isMutedForBuyer'],
127
135
  'archived': value['archived'],
128
136
  'createdAt': ((value['createdAt']).toISOString()),
129
137
  'updatedAt': ((value['updatedAt']).toISOString()),
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface UpdateLeadMuteStatusForBuyerInput
16
+ */
17
+ export interface UpdateLeadMuteStatusForBuyerInput {
18
+ /**
19
+ * Whether the lead should be muted for the buyer
20
+ * @type {boolean}
21
+ * @memberof UpdateLeadMuteStatusForBuyerInput
22
+ */
23
+ muted: boolean;
24
+ }
25
+ /**
26
+ * Check if a given object implements the UpdateLeadMuteStatusForBuyerInput interface.
27
+ */
28
+ export declare function instanceOfUpdateLeadMuteStatusForBuyerInput(value: object): value is UpdateLeadMuteStatusForBuyerInput;
29
+ export declare function UpdateLeadMuteStatusForBuyerInputFromJSON(json: any): UpdateLeadMuteStatusForBuyerInput;
30
+ export declare function UpdateLeadMuteStatusForBuyerInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateLeadMuteStatusForBuyerInput;
31
+ export declare function UpdateLeadMuteStatusForBuyerInputToJSON(json: any): UpdateLeadMuteStatusForBuyerInput;
32
+ export declare function UpdateLeadMuteStatusForBuyerInputToJSONTyped(value?: UpdateLeadMuteStatusForBuyerInput | null, ignoreDiscriminator?: boolean): any;