@randock/nameshift-api-client 0.0.531 → 0.0.532

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.531
1
+ ## @randock/nameshift-api-client@0.0.532
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.531 --save
39
+ npm install @randock/nameshift-api-client@0.0.532 --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
- e519a9375e36a3cbbc74292937535e361e1439fb5562d26fc6be5d468adbd871778762dcd5ec52ea93766c8e0412829f
47
+ 98a4b7dd7b6b416e508c4c1cee5fffb463f02a05bb7582a4fe5fd476f6a8bd29690936f2a02e744e646d6a2c85dc5e7d
@@ -114,6 +114,12 @@ export interface AccountSettingsDto {
114
114
  * @memberof AccountSettingsDto
115
115
  */
116
116
  leadVerification: LeadVerificationSettingsDto;
117
+ /**
118
+ * When the buyer of an information request (a lead opened to ask for the price) may write and make offers: immediately, or only after the seller has written or made an offer.
119
+ * @type {string}
120
+ * @memberof AccountSettingsDto
121
+ */
122
+ informationRequestCommunication: AccountSettingsDtoInformationRequestCommunicationEnum;
117
123
  }
118
124
  /**
119
125
  * @export
@@ -127,6 +133,14 @@ export declare const AccountSettingsDtoMarketplaceEnum: {
127
133
  readonly NAMECLUB: "nameclub";
128
134
  };
129
135
  export type AccountSettingsDtoMarketplaceEnum = typeof AccountSettingsDtoMarketplaceEnum[keyof typeof AccountSettingsDtoMarketplaceEnum];
136
+ /**
137
+ * @export
138
+ */
139
+ export declare const AccountSettingsDtoInformationRequestCommunicationEnum: {
140
+ readonly IMMEDIATELY: "immediately";
141
+ readonly AFTER_SELLER_FIRST_MESSAGE: "after_seller_first_message";
142
+ };
143
+ export type AccountSettingsDtoInformationRequestCommunicationEnum = typeof AccountSettingsDtoInformationRequestCommunicationEnum[keyof typeof AccountSettingsDtoInformationRequestCommunicationEnum];
130
144
  /**
131
145
  * Check if a given object implements the AccountSettingsDto interface.
132
146
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.AccountSettingsDtoMarketplaceEnum = void 0;
16
+ exports.AccountSettingsDtoInformationRequestCommunicationEnum = exports.AccountSettingsDtoMarketplaceEnum = void 0;
17
17
  exports.instanceOfAccountSettingsDto = instanceOfAccountSettingsDto;
18
18
  exports.AccountSettingsDtoFromJSON = AccountSettingsDtoFromJSON;
19
19
  exports.AccountSettingsDtoFromJSONTyped = AccountSettingsDtoFromJSONTyped;
@@ -39,6 +39,13 @@ exports.AccountSettingsDtoMarketplaceEnum = {
39
39
  SPACESHIP: 'spaceship',
40
40
  NAMECLUB: 'nameclub'
41
41
  };
42
+ /**
43
+ * @export
44
+ */
45
+ exports.AccountSettingsDtoInformationRequestCommunicationEnum = {
46
+ IMMEDIATELY: 'immediately',
47
+ AFTER_SELLER_FIRST_MESSAGE: 'after_seller_first_message'
48
+ };
42
49
  /**
43
50
  * Check if a given object implements the AccountSettingsDto interface.
44
51
  */
@@ -73,6 +80,8 @@ function instanceOfAccountSettingsDto(value) {
73
80
  return false;
74
81
  if (!('leadVerification' in value) || value['leadVerification'] === undefined)
75
82
  return false;
83
+ if (!('informationRequestCommunication' in value) || value['informationRequestCommunication'] === undefined)
84
+ return false;
76
85
  return true;
77
86
  }
78
87
  function AccountSettingsDtoFromJSON(json) {
@@ -98,6 +107,7 @@ function AccountSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
98
107
  'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoFromJSON)(json['leadOfferExpirationConfiguration']),
99
108
  'marketplace': json['marketplace'],
100
109
  'leadVerification': (0, LeadVerificationSettingsDto_1.LeadVerificationSettingsDtoFromJSON)(json['leadVerification']),
110
+ 'informationRequestCommunication': json['informationRequestCommunication'],
101
111
  };
102
112
  }
103
113
  function AccountSettingsDtoToJSON(json) {
@@ -124,5 +134,6 @@ function AccountSettingsDtoToJSONTyped(value, ignoreDiscriminator) {
124
134
  'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoToJSON)(value['leadOfferExpirationConfiguration']),
125
135
  'marketplace': value['marketplace'],
126
136
  'leadVerification': (0, LeadVerificationSettingsDto_1.LeadVerificationSettingsDtoToJSON)(value['leadVerification']),
137
+ 'informationRequestCommunication': value['informationRequestCommunication'],
127
138
  };
128
139
  }
@@ -119,6 +119,12 @@ export interface AccountSettingsInput {
119
119
  * @memberof AccountSettingsInput
120
120
  */
121
121
  leadVerification?: LeadVerificationInput;
122
+ /**
123
+ * When the buyer of an information request (a lead opened to ask for the price) may write and make offers: immediately, or only after the seller has written or made an offer. Applies to information requests opened after the change.
124
+ * @type {string}
125
+ * @memberof AccountSettingsInput
126
+ */
127
+ informationRequestCommunication?: AccountSettingsInputInformationRequestCommunicationEnum;
122
128
  }
123
129
  /**
124
130
  * @export
@@ -132,6 +138,14 @@ export declare const AccountSettingsInputMarketplaceEnum: {
132
138
  readonly NAMECLUB: "nameclub";
133
139
  };
134
140
  export type AccountSettingsInputMarketplaceEnum = typeof AccountSettingsInputMarketplaceEnum[keyof typeof AccountSettingsInputMarketplaceEnum];
141
+ /**
142
+ * @export
143
+ */
144
+ export declare const AccountSettingsInputInformationRequestCommunicationEnum: {
145
+ readonly IMMEDIATELY: "immediately";
146
+ readonly AFTER_SELLER_FIRST_MESSAGE: "after_seller_first_message";
147
+ };
148
+ export type AccountSettingsInputInformationRequestCommunicationEnum = typeof AccountSettingsInputInformationRequestCommunicationEnum[keyof typeof AccountSettingsInputInformationRequestCommunicationEnum];
135
149
  /**
136
150
  * Check if a given object implements the AccountSettingsInput interface.
137
151
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.AccountSettingsInputMarketplaceEnum = void 0;
16
+ exports.AccountSettingsInputInformationRequestCommunicationEnum = exports.AccountSettingsInputMarketplaceEnum = void 0;
17
17
  exports.instanceOfAccountSettingsInput = instanceOfAccountSettingsInput;
18
18
  exports.AccountSettingsInputFromJSON = AccountSettingsInputFromJSON;
19
19
  exports.AccountSettingsInputFromJSONTyped = AccountSettingsInputFromJSONTyped;
@@ -38,6 +38,13 @@ exports.AccountSettingsInputMarketplaceEnum = {
38
38
  SPACESHIP: 'spaceship',
39
39
  NAMECLUB: 'nameclub'
40
40
  };
41
+ /**
42
+ * @export
43
+ */
44
+ exports.AccountSettingsInputInformationRequestCommunicationEnum = {
45
+ IMMEDIATELY: 'immediately',
46
+ AFTER_SELLER_FIRST_MESSAGE: 'after_seller_first_message'
47
+ };
41
48
  /**
42
49
  * Check if a given object implements the AccountSettingsInput interface.
43
50
  */
@@ -68,6 +75,7 @@ function AccountSettingsInputFromJSONTyped(json, ignoreDiscriminator) {
68
75
  'domainLockConfiguration': json['domainLockConfiguration'] == null ? undefined : (0, LockConfigurationInput_1.LockConfigurationInputFromJSON)(json['domainLockConfiguration']),
69
76
  'leadOfferExpirationConfiguration': json['leadOfferExpirationConfiguration'] == null ? undefined : (0, LockConfigurationInput_1.LockConfigurationInputFromJSON)(json['leadOfferExpirationConfiguration']),
70
77
  'leadVerification': json['leadVerification'] == null ? undefined : (0, LeadVerificationInput_1.LeadVerificationInputFromJSON)(json['leadVerification']),
78
+ 'informationRequestCommunication': json['informationRequestCommunication'] == null ? undefined : json['informationRequestCommunication'],
71
79
  };
72
80
  }
73
81
  function AccountSettingsInputToJSON(json) {
@@ -95,5 +103,6 @@ function AccountSettingsInputToJSONTyped(value, ignoreDiscriminator) {
95
103
  'domainLockConfiguration': (0, LockConfigurationInput_1.LockConfigurationInputToJSON)(value['domainLockConfiguration']),
96
104
  'leadOfferExpirationConfiguration': (0, LockConfigurationInput_1.LockConfigurationInputToJSON)(value['leadOfferExpirationConfiguration']),
97
105
  'leadVerification': (0, LeadVerificationInput_1.LeadVerificationInputToJSON)(value['leadVerification']),
106
+ 'informationRequestCommunication': value['informationRequestCommunication'],
98
107
  };
99
108
  }
@@ -159,6 +159,12 @@ export interface LeadDto {
159
159
  * @memberof LeadDto
160
160
  */
161
161
  acceptedAt: Date | null;
162
+ /**
163
+ * Whether the buyer has to wait for the seller to write first. Only an information request can wait, when the seller chose to reply first; the buyer can neither write nor make an offer until the seller has written or made an offer.
164
+ * @type {boolean}
165
+ * @memberof LeadDto
166
+ */
167
+ awaitingSellerFirstMessage: boolean;
162
168
  }
163
169
  /**
164
170
  * @export
@@ -113,6 +113,8 @@ function instanceOfLeadDto(value) {
113
113
  return false;
114
114
  if (!('acceptedAt' in value) || value['acceptedAt'] === undefined)
115
115
  return false;
116
+ if (!('awaitingSellerFirstMessage' in value) || value['awaitingSellerFirstMessage'] === undefined)
117
+ return false;
116
118
  return true;
117
119
  }
118
120
  function LeadDtoFromJSON(json) {
@@ -146,6 +148,7 @@ function LeadDtoFromJSONTyped(json, ignoreDiscriminator) {
146
148
  'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoFromJSON)(json['leadOfferExpirationConfiguration']),
147
149
  'canBeClosedBySeller': json['canBeClosedBySeller'],
148
150
  'acceptedAt': (json['acceptedAt'] == null ? null : new Date(json['acceptedAt'])),
151
+ 'awaitingSellerFirstMessage': json['awaitingSellerFirstMessage'],
149
152
  };
150
153
  }
151
154
  function LeadDtoToJSON(json) {
@@ -180,5 +183,6 @@ function LeadDtoToJSONTyped(value, ignoreDiscriminator) {
180
183
  'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoToJSON)(value['leadOfferExpirationConfiguration']),
181
184
  'canBeClosedBySeller': value['canBeClosedBySeller'],
182
185
  'acceptedAt': (value['acceptedAt'] == null ? null : value['acceptedAt'].toISOString()),
186
+ 'awaitingSellerFirstMessage': value['awaitingSellerFirstMessage'],
183
187
  };
184
188
  }
@@ -160,6 +160,12 @@ export interface ListLeadsResultItem {
160
160
  * @memberof ListLeadsResultItem
161
161
  */
162
162
  acceptedAt: Date | null;
163
+ /**
164
+ * Whether the buyer has to wait for the seller to write first. Only an information request can wait, when the seller chose to reply first; the buyer can neither write nor make an offer until the seller has written or made an offer.
165
+ * @type {boolean}
166
+ * @memberof ListLeadsResultItem
167
+ */
168
+ awaitingSellerFirstMessage: boolean;
163
169
  /**
164
170
  * Buyer initials derived from the buyer name.
165
171
  * @type {string}
@@ -134,6 +134,8 @@ function instanceOfListLeadsResultItem(value) {
134
134
  return false;
135
135
  if (!('acceptedAt' in value) || value['acceptedAt'] === undefined)
136
136
  return false;
137
+ if (!('awaitingSellerFirstMessage' in value) || value['awaitingSellerFirstMessage'] === undefined)
138
+ return false;
137
139
  if (!('buyerInitials' in value) || value['buyerInitials'] === undefined)
138
140
  return false;
139
141
  if (!('buyerIpCountryCode' in value) || value['buyerIpCountryCode'] === undefined)
@@ -183,6 +185,7 @@ function ListLeadsResultItemFromJSONTyped(json, ignoreDiscriminator) {
183
185
  'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoFromJSON)(json['leadOfferExpirationConfiguration']),
184
186
  'canBeClosedBySeller': json['canBeClosedBySeller'],
185
187
  'acceptedAt': (json['acceptedAt'] == null ? null : new Date(json['acceptedAt'])),
188
+ 'awaitingSellerFirstMessage': json['awaitingSellerFirstMessage'],
186
189
  'buyerInitials': json['buyerInitials'],
187
190
  'buyerIpCountryCode': json['buyerIpCountryCode'],
188
191
  'lastMessageFrom': json['lastMessageFrom'],
@@ -225,6 +228,7 @@ function ListLeadsResultItemToJSONTyped(value, ignoreDiscriminator) {
225
228
  'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoToJSON)(value['leadOfferExpirationConfiguration']),
226
229
  'canBeClosedBySeller': value['canBeClosedBySeller'],
227
230
  'acceptedAt': (value['acceptedAt'] == null ? null : value['acceptedAt'].toISOString()),
231
+ 'awaitingSellerFirstMessage': value['awaitingSellerFirstMessage'],
228
232
  'buyerInitials': value['buyerInitials'],
229
233
  'buyerIpCountryCode': value['buyerIpCountryCode'],
230
234
  'lastMessageFrom': value['lastMessageFrom'],
@@ -161,6 +161,12 @@ export interface ManualLeadDetails {
161
161
  * @memberof ManualLeadDetails
162
162
  */
163
163
  acceptedAt: Date | null;
164
+ /**
165
+ * Whether the buyer has to wait for the seller to write first. Only an information request can wait, when the seller chose to reply first; the buyer can neither write nor make an offer until the seller has written or made an offer.
166
+ * @type {boolean}
167
+ * @memberof ManualLeadDetails
168
+ */
169
+ awaitingSellerFirstMessage: boolean;
164
170
  /**
165
171
  * Buyer details for the manually created lead.
166
172
  * @type {ManualLeadBuyerDto}
@@ -115,6 +115,8 @@ function instanceOfManualLeadDetails(value) {
115
115
  return false;
116
116
  if (!('acceptedAt' in value) || value['acceptedAt'] === undefined)
117
117
  return false;
118
+ if (!('awaitingSellerFirstMessage' in value) || value['awaitingSellerFirstMessage'] === undefined)
119
+ return false;
118
120
  if (!('buyer' in value) || value['buyer'] === undefined)
119
121
  return false;
120
122
  if (!('domainLockConfiguration' in value) || value['domainLockConfiguration'] === undefined)
@@ -152,6 +154,7 @@ function ManualLeadDetailsFromJSONTyped(json, ignoreDiscriminator) {
152
154
  'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoFromJSON)(json['leadOfferExpirationConfiguration']),
153
155
  'canBeClosedBySeller': json['canBeClosedBySeller'],
154
156
  'acceptedAt': (json['acceptedAt'] == null ? null : new Date(json['acceptedAt'])),
157
+ 'awaitingSellerFirstMessage': json['awaitingSellerFirstMessage'],
155
158
  'buyer': (0, ManualLeadBuyerDto_1.ManualLeadBuyerDtoFromJSON)(json['buyer']),
156
159
  'domainLockConfiguration': (0, DomainLockConfigurationDto_1.DomainLockConfigurationDtoFromJSON)(json['domainLockConfiguration']),
157
160
  };
@@ -188,6 +191,7 @@ function ManualLeadDetailsToJSONTyped(value, ignoreDiscriminator) {
188
191
  'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoToJSON)(value['leadOfferExpirationConfiguration']),
189
192
  'canBeClosedBySeller': value['canBeClosedBySeller'],
190
193
  'acceptedAt': (value['acceptedAt'] == null ? null : value['acceptedAt'].toISOString()),
194
+ 'awaitingSellerFirstMessage': value['awaitingSellerFirstMessage'],
191
195
  'buyer': (0, ManualLeadBuyerDto_1.ManualLeadBuyerDtoToJSON)(value['buyer']),
192
196
  'domainLockConfiguration': (0, DomainLockConfigurationDto_1.DomainLockConfigurationDtoToJSON)(value['domainLockConfiguration']),
193
197
  };
@@ -161,6 +161,12 @@ export interface SellerLeadDetails {
161
161
  * @memberof SellerLeadDetails
162
162
  */
163
163
  acceptedAt: Date | null;
164
+ /**
165
+ * Whether the buyer has to wait for the seller to write first. Only an information request can wait, when the seller chose to reply first; the buyer can neither write nor make an offer until the seller has written or made an offer.
166
+ * @type {boolean}
167
+ * @memberof SellerLeadDetails
168
+ */
169
+ awaitingSellerFirstMessage: boolean;
164
170
  /**
165
171
  * Buyer details associated with the lead.
166
172
  * @type {BuyerDto}
@@ -115,6 +115,8 @@ function instanceOfSellerLeadDetails(value) {
115
115
  return false;
116
116
  if (!('acceptedAt' in value) || value['acceptedAt'] === undefined)
117
117
  return false;
118
+ if (!('awaitingSellerFirstMessage' in value) || value['awaitingSellerFirstMessage'] === undefined)
119
+ return false;
118
120
  if (!('buyer' in value) || value['buyer'] === undefined)
119
121
  return false;
120
122
  if (!('isMutedForSeller' in value) || value['isMutedForSeller'] === undefined)
@@ -154,6 +156,7 @@ function SellerLeadDetailsFromJSONTyped(json, ignoreDiscriminator) {
154
156
  'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoFromJSON)(json['leadOfferExpirationConfiguration']),
155
157
  'canBeClosedBySeller': json['canBeClosedBySeller'],
156
158
  'acceptedAt': (json['acceptedAt'] == null ? null : new Date(json['acceptedAt'])),
159
+ 'awaitingSellerFirstMessage': json['awaitingSellerFirstMessage'],
157
160
  'buyer': (0, BuyerDto_1.BuyerDtoFromJSON)(json['buyer']),
158
161
  'isMutedForSeller': json['isMutedForSeller'],
159
162
  'domainLockConfiguration': (0, DomainLockConfigurationDto_1.DomainLockConfigurationDtoFromJSON)(json['domainLockConfiguration']),
@@ -191,6 +194,7 @@ function SellerLeadDetailsToJSONTyped(value, ignoreDiscriminator) {
191
194
  'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoToJSON)(value['leadOfferExpirationConfiguration']),
192
195
  'canBeClosedBySeller': value['canBeClosedBySeller'],
193
196
  'acceptedAt': (value['acceptedAt'] == null ? null : value['acceptedAt'].toISOString()),
197
+ 'awaitingSellerFirstMessage': value['awaitingSellerFirstMessage'],
194
198
  'buyer': (0, BuyerDto_1.BuyerDtoToJSON)(value['buyer']),
195
199
  'isMutedForSeller': value['isMutedForSeller'],
196
200
  'domainLockConfiguration': (0, DomainLockConfigurationDto_1.DomainLockConfigurationDtoToJSON)(value['domainLockConfiguration']),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.531",
3
+ "version": "0.0.532",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -173,6 +173,12 @@ export interface AccountSettingsDto {
173
173
  * @memberof AccountSettingsDto
174
174
  */
175
175
  leadVerification: LeadVerificationSettingsDto;
176
+ /**
177
+ * When the buyer of an information request (a lead opened to ask for the price) may write and make offers: immediately, or only after the seller has written or made an offer.
178
+ * @type {string}
179
+ * @memberof AccountSettingsDto
180
+ */
181
+ informationRequestCommunication: AccountSettingsDtoInformationRequestCommunicationEnum;
176
182
  }
177
183
 
178
184
 
@@ -189,6 +195,15 @@ export const AccountSettingsDtoMarketplaceEnum = {
189
195
  } as const;
190
196
  export type AccountSettingsDtoMarketplaceEnum = typeof AccountSettingsDtoMarketplaceEnum[keyof typeof AccountSettingsDtoMarketplaceEnum];
191
197
 
198
+ /**
199
+ * @export
200
+ */
201
+ export const AccountSettingsDtoInformationRequestCommunicationEnum = {
202
+ IMMEDIATELY: 'immediately',
203
+ AFTER_SELLER_FIRST_MESSAGE: 'after_seller_first_message'
204
+ } as const;
205
+ export type AccountSettingsDtoInformationRequestCommunicationEnum = typeof AccountSettingsDtoInformationRequestCommunicationEnum[keyof typeof AccountSettingsDtoInformationRequestCommunicationEnum];
206
+
192
207
 
193
208
  /**
194
209
  * Check if a given object implements the AccountSettingsDto interface.
@@ -209,6 +224,7 @@ export function instanceOfAccountSettingsDto(value: object): value is AccountSet
209
224
  if (!('leadOfferExpirationConfiguration' in value) || value['leadOfferExpirationConfiguration'] === undefined) return false;
210
225
  if (!('marketplace' in value) || value['marketplace'] === undefined) return false;
211
226
  if (!('leadVerification' in value) || value['leadVerification'] === undefined) return false;
227
+ if (!('informationRequestCommunication' in value) || value['informationRequestCommunication'] === undefined) return false;
212
228
  return true;
213
229
  }
214
230
 
@@ -237,6 +253,7 @@ export function AccountSettingsDtoFromJSONTyped(json: any, ignoreDiscriminator:
237
253
  'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoFromJSON(json['leadOfferExpirationConfiguration']),
238
254
  'marketplace': json['marketplace'],
239
255
  'leadVerification': LeadVerificationSettingsDtoFromJSON(json['leadVerification']),
256
+ 'informationRequestCommunication': json['informationRequestCommunication'],
240
257
  };
241
258
  }
242
259
 
@@ -266,6 +283,7 @@ export function AccountSettingsDtoToJSONTyped(value?: AccountSettingsDto | null,
266
283
  'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoToJSON(value['leadOfferExpirationConfiguration']),
267
284
  'marketplace': value['marketplace'],
268
285
  'leadVerification': LeadVerificationSettingsDtoToJSON(value['leadVerification']),
286
+ 'informationRequestCommunication': value['informationRequestCommunication'],
269
287
  };
270
288
  }
271
289
 
@@ -172,6 +172,12 @@ export interface AccountSettingsInput {
172
172
  * @memberof AccountSettingsInput
173
173
  */
174
174
  leadVerification?: LeadVerificationInput;
175
+ /**
176
+ * When the buyer of an information request (a lead opened to ask for the price) may write and make offers: immediately, or only after the seller has written or made an offer. Applies to information requests opened after the change.
177
+ * @type {string}
178
+ * @memberof AccountSettingsInput
179
+ */
180
+ informationRequestCommunication?: AccountSettingsInputInformationRequestCommunicationEnum;
175
181
  }
176
182
 
177
183
 
@@ -188,6 +194,15 @@ export const AccountSettingsInputMarketplaceEnum = {
188
194
  } as const;
189
195
  export type AccountSettingsInputMarketplaceEnum = typeof AccountSettingsInputMarketplaceEnum[keyof typeof AccountSettingsInputMarketplaceEnum];
190
196
 
197
+ /**
198
+ * @export
199
+ */
200
+ export const AccountSettingsInputInformationRequestCommunicationEnum = {
201
+ IMMEDIATELY: 'immediately',
202
+ AFTER_SELLER_FIRST_MESSAGE: 'after_seller_first_message'
203
+ } as const;
204
+ export type AccountSettingsInputInformationRequestCommunicationEnum = typeof AccountSettingsInputInformationRequestCommunicationEnum[keyof typeof AccountSettingsInputInformationRequestCommunicationEnum];
205
+
191
206
 
192
207
  /**
193
208
  * Check if a given object implements the AccountSettingsInput interface.
@@ -222,6 +237,7 @@ export function AccountSettingsInputFromJSONTyped(json: any, ignoreDiscriminator
222
237
  'domainLockConfiguration': json['domainLockConfiguration'] == null ? undefined : LockConfigurationInputFromJSON(json['domainLockConfiguration']),
223
238
  'leadOfferExpirationConfiguration': json['leadOfferExpirationConfiguration'] == null ? undefined : LockConfigurationInputFromJSON(json['leadOfferExpirationConfiguration']),
224
239
  'leadVerification': json['leadVerification'] == null ? undefined : LeadVerificationInputFromJSON(json['leadVerification']),
240
+ 'informationRequestCommunication': json['informationRequestCommunication'] == null ? undefined : json['informationRequestCommunication'],
225
241
  };
226
242
  }
227
243
 
@@ -252,6 +268,7 @@ export function AccountSettingsInputToJSONTyped(value?: AccountSettingsInput | n
252
268
  'domainLockConfiguration': LockConfigurationInputToJSON(value['domainLockConfiguration']),
253
269
  'leadOfferExpirationConfiguration': LockConfigurationInputToJSON(value['leadOfferExpirationConfiguration']),
254
270
  'leadVerification': LeadVerificationInputToJSON(value['leadVerification']),
271
+ 'informationRequestCommunication': value['informationRequestCommunication'],
255
272
  };
256
273
  }
257
274
 
@@ -200,6 +200,12 @@ export interface LeadDto {
200
200
  * @memberof LeadDto
201
201
  */
202
202
  acceptedAt: Date | null;
203
+ /**
204
+ * Whether the buyer has to wait for the seller to write first. Only an information request can wait, when the seller chose to reply first; the buyer can neither write nor make an offer until the seller has written or made an offer.
205
+ * @type {boolean}
206
+ * @memberof LeadDto
207
+ */
208
+ awaitingSellerFirstMessage: boolean;
203
209
  }
204
210
 
205
211
 
@@ -277,6 +283,7 @@ export function instanceOfLeadDto(value: object): value is LeadDto {
277
283
  if (!('leadOfferExpirationConfiguration' in value) || value['leadOfferExpirationConfiguration'] === undefined) return false;
278
284
  if (!('canBeClosedBySeller' in value) || value['canBeClosedBySeller'] === undefined) return false;
279
285
  if (!('acceptedAt' in value) || value['acceptedAt'] === undefined) return false;
286
+ if (!('awaitingSellerFirstMessage' in value) || value['awaitingSellerFirstMessage'] === undefined) return false;
280
287
  return true;
281
288
  }
282
289
 
@@ -313,6 +320,7 @@ export function LeadDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): L
313
320
  'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoFromJSON(json['leadOfferExpirationConfiguration']),
314
321
  'canBeClosedBySeller': json['canBeClosedBySeller'],
315
322
  'acceptedAt': (json['acceptedAt'] == null ? null : new Date(json['acceptedAt'])),
323
+ 'awaitingSellerFirstMessage': json['awaitingSellerFirstMessage'],
316
324
  };
317
325
  }
318
326
 
@@ -350,6 +358,7 @@ export function LeadDtoToJSONTyped(value?: LeadDto | null, ignoreDiscriminator:
350
358
  'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoToJSON(value['leadOfferExpirationConfiguration']),
351
359
  'canBeClosedBySeller': value['canBeClosedBySeller'],
352
360
  'acceptedAt': (value['acceptedAt'] == null ? null : (value['acceptedAt'] as any).toISOString()),
361
+ 'awaitingSellerFirstMessage': value['awaitingSellerFirstMessage'],
353
362
  };
354
363
  }
355
364
 
@@ -207,6 +207,12 @@ export interface ListLeadsResultItem {
207
207
  * @memberof ListLeadsResultItem
208
208
  */
209
209
  acceptedAt: Date | null;
210
+ /**
211
+ * Whether the buyer has to wait for the seller to write first. Only an information request can wait, when the seller chose to reply first; the buyer can neither write nor make an offer until the seller has written or made an offer.
212
+ * @type {boolean}
213
+ * @memberof ListLeadsResultItem
214
+ */
215
+ awaitingSellerFirstMessage: boolean;
210
216
  /**
211
217
  * Buyer initials derived from the buyer name.
212
218
  * @type {string}
@@ -356,6 +362,7 @@ export function instanceOfListLeadsResultItem(value: object): value is ListLeads
356
362
  if (!('leadOfferExpirationConfiguration' in value) || value['leadOfferExpirationConfiguration'] === undefined) return false;
357
363
  if (!('canBeClosedBySeller' in value) || value['canBeClosedBySeller'] === undefined) return false;
358
364
  if (!('acceptedAt' in value) || value['acceptedAt'] === undefined) return false;
365
+ if (!('awaitingSellerFirstMessage' in value) || value['awaitingSellerFirstMessage'] === undefined) return false;
359
366
  if (!('buyerInitials' in value) || value['buyerInitials'] === undefined) return false;
360
367
  if (!('buyerIpCountryCode' in value) || value['buyerIpCountryCode'] === undefined) return false;
361
368
  if (!('lastMessageFrom' in value) || value['lastMessageFrom'] === undefined) return false;
@@ -400,6 +407,7 @@ export function ListLeadsResultItemFromJSONTyped(json: any, ignoreDiscriminator:
400
407
  'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoFromJSON(json['leadOfferExpirationConfiguration']),
401
408
  'canBeClosedBySeller': json['canBeClosedBySeller'],
402
409
  'acceptedAt': (json['acceptedAt'] == null ? null : new Date(json['acceptedAt'])),
410
+ 'awaitingSellerFirstMessage': json['awaitingSellerFirstMessage'],
403
411
  'buyerInitials': json['buyerInitials'],
404
412
  'buyerIpCountryCode': json['buyerIpCountryCode'],
405
413
  'lastMessageFrom': json['lastMessageFrom'],
@@ -445,6 +453,7 @@ export function ListLeadsResultItemToJSONTyped(value?: ListLeadsResultItem | nul
445
453
  'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoToJSON(value['leadOfferExpirationConfiguration']),
446
454
  'canBeClosedBySeller': value['canBeClosedBySeller'],
447
455
  'acceptedAt': (value['acceptedAt'] == null ? null : (value['acceptedAt'] as any).toISOString()),
456
+ 'awaitingSellerFirstMessage': value['awaitingSellerFirstMessage'],
448
457
  'buyerInitials': value['buyerInitials'],
449
458
  'buyerIpCountryCode': value['buyerIpCountryCode'],
450
459
  'lastMessageFrom': value['lastMessageFrom'],
@@ -214,6 +214,12 @@ export interface ManualLeadDetails {
214
214
  * @memberof ManualLeadDetails
215
215
  */
216
216
  acceptedAt: Date | null;
217
+ /**
218
+ * Whether the buyer has to wait for the seller to write first. Only an information request can wait, when the seller chose to reply first; the buyer can neither write nor make an offer until the seller has written or made an offer.
219
+ * @type {boolean}
220
+ * @memberof ManualLeadDetails
221
+ */
222
+ awaitingSellerFirstMessage: boolean;
217
223
  /**
218
224
  * Buyer details for the manually created lead.
219
225
  * @type {ManualLeadBuyerDto}
@@ -303,6 +309,7 @@ export function instanceOfManualLeadDetails(value: object): value is ManualLeadD
303
309
  if (!('leadOfferExpirationConfiguration' in value) || value['leadOfferExpirationConfiguration'] === undefined) return false;
304
310
  if (!('canBeClosedBySeller' in value) || value['canBeClosedBySeller'] === undefined) return false;
305
311
  if (!('acceptedAt' in value) || value['acceptedAt'] === undefined) return false;
312
+ if (!('awaitingSellerFirstMessage' in value) || value['awaitingSellerFirstMessage'] === undefined) return false;
306
313
  if (!('buyer' in value) || value['buyer'] === undefined) return false;
307
314
  if (!('domainLockConfiguration' in value) || value['domainLockConfiguration'] === undefined) return false;
308
315
  return true;
@@ -341,6 +348,7 @@ export function ManualLeadDetailsFromJSONTyped(json: any, ignoreDiscriminator: b
341
348
  'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoFromJSON(json['leadOfferExpirationConfiguration']),
342
349
  'canBeClosedBySeller': json['canBeClosedBySeller'],
343
350
  'acceptedAt': (json['acceptedAt'] == null ? null : new Date(json['acceptedAt'])),
351
+ 'awaitingSellerFirstMessage': json['awaitingSellerFirstMessage'],
344
352
  'buyer': ManualLeadBuyerDtoFromJSON(json['buyer']),
345
353
  'domainLockConfiguration': DomainLockConfigurationDtoFromJSON(json['domainLockConfiguration']),
346
354
  };
@@ -380,6 +388,7 @@ export function ManualLeadDetailsToJSONTyped(value?: ManualLeadDetails | null, i
380
388
  'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoToJSON(value['leadOfferExpirationConfiguration']),
381
389
  'canBeClosedBySeller': value['canBeClosedBySeller'],
382
390
  'acceptedAt': (value['acceptedAt'] == null ? null : (value['acceptedAt'] as any).toISOString()),
391
+ 'awaitingSellerFirstMessage': value['awaitingSellerFirstMessage'],
383
392
  'buyer': ManualLeadBuyerDtoToJSON(value['buyer']),
384
393
  'domainLockConfiguration': DomainLockConfigurationDtoToJSON(value['domainLockConfiguration']),
385
394
  };
@@ -214,6 +214,12 @@ export interface SellerLeadDetails {
214
214
  * @memberof SellerLeadDetails
215
215
  */
216
216
  acceptedAt: Date | null;
217
+ /**
218
+ * Whether the buyer has to wait for the seller to write first. Only an information request can wait, when the seller chose to reply first; the buyer can neither write nor make an offer until the seller has written or made an offer.
219
+ * @type {boolean}
220
+ * @memberof SellerLeadDetails
221
+ */
222
+ awaitingSellerFirstMessage: boolean;
217
223
  /**
218
224
  * Buyer details associated with the lead.
219
225
  * @type {BuyerDto}
@@ -309,6 +315,7 @@ export function instanceOfSellerLeadDetails(value: object): value is SellerLeadD
309
315
  if (!('leadOfferExpirationConfiguration' in value) || value['leadOfferExpirationConfiguration'] === undefined) return false;
310
316
  if (!('canBeClosedBySeller' in value) || value['canBeClosedBySeller'] === undefined) return false;
311
317
  if (!('acceptedAt' in value) || value['acceptedAt'] === undefined) return false;
318
+ if (!('awaitingSellerFirstMessage' in value) || value['awaitingSellerFirstMessage'] === undefined) return false;
312
319
  if (!('buyer' in value) || value['buyer'] === undefined) return false;
313
320
  if (!('isMutedForSeller' in value) || value['isMutedForSeller'] === undefined) return false;
314
321
  if (!('domainLockConfiguration' in value) || value['domainLockConfiguration'] === undefined) return false;
@@ -348,6 +355,7 @@ export function SellerLeadDetailsFromJSONTyped(json: any, ignoreDiscriminator: b
348
355
  'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoFromJSON(json['leadOfferExpirationConfiguration']),
349
356
  'canBeClosedBySeller': json['canBeClosedBySeller'],
350
357
  'acceptedAt': (json['acceptedAt'] == null ? null : new Date(json['acceptedAt'])),
358
+ 'awaitingSellerFirstMessage': json['awaitingSellerFirstMessage'],
351
359
  'buyer': BuyerDtoFromJSON(json['buyer']),
352
360
  'isMutedForSeller': json['isMutedForSeller'],
353
361
  'domainLockConfiguration': DomainLockConfigurationDtoFromJSON(json['domainLockConfiguration']),
@@ -388,6 +396,7 @@ export function SellerLeadDetailsToJSONTyped(value?: SellerLeadDetails | null, i
388
396
  'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoToJSON(value['leadOfferExpirationConfiguration']),
389
397
  'canBeClosedBySeller': value['canBeClosedBySeller'],
390
398
  'acceptedAt': (value['acceptedAt'] == null ? null : (value['acceptedAt'] as any).toISOString()),
399
+ 'awaitingSellerFirstMessage': value['awaitingSellerFirstMessage'],
391
400
  'buyer': BuyerDtoToJSON(value['buyer']),
392
401
  'isMutedForSeller': value['isMutedForSeller'],
393
402
  'domainLockConfiguration': DomainLockConfigurationDtoToJSON(value['domainLockConfiguration']),