@randock/nameshift-api-client 0.0.363 → 0.0.364
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 -0
- package/README.md +3 -3
- package/dist/apis/LeadsApi.d.ts +13 -1
- package/dist/apis/LeadsApi.js +56 -0
- package/dist/models/AccountSettingsDto.d.ts +7 -0
- package/dist/models/AccountSettingsDto.js +5 -0
- package/dist/models/AccountSettingsInput.d.ts +7 -0
- package/dist/models/AccountSettingsInput.js +3 -0
- package/dist/models/AdminAccountSettingsInput.d.ts +7 -0
- package/dist/models/AdminAccountSettingsInput.js +3 -0
- package/dist/models/DomainLockConfigurationDto.d.ts +39 -0
- package/dist/models/DomainLockConfigurationDto.js +56 -0
- package/dist/models/LockConfigurationInput.d.ts +39 -0
- package/dist/models/LockConfigurationInput.js +52 -0
- package/dist/models/LockDurationDto.d.ts +47 -0
- package/dist/models/LockDurationDto.js +64 -0
- package/dist/models/LockDurationInput.d.ts +47 -0
- package/dist/models/LockDurationInput.js +60 -0
- package/dist/models/SellerLeadDetails.d.ts +7 -0
- package/dist/models/SellerLeadDetails.js +5 -0
- package/dist/models/WithSettingsInner.d.ts +7 -0
- package/dist/models/WithSettingsInner.js +5 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/package.json +1 -1
- package/src/apis/LeadsApi.ts +58 -0
- package/src/models/AccountSettingsDto.ts +16 -0
- package/src/models/AccountSettingsInput.ts +15 -0
- package/src/models/AdminAccountSettingsInput.ts +15 -0
- package/src/models/DomainLockConfigurationDto.ts +83 -0
- package/src/models/LockConfigurationInput.ts +81 -0
- package/src/models/LockDurationDto.ts +87 -0
- package/src/models/LockDurationInput.ts +85 -0
- package/src/models/SellerLeadDetails.ts +16 -0
- package/src/models/WithSettingsInner.ts +16 -0
- package/src/models/index.ts +4 -0
|
@@ -0,0 +1,87 @@
|
|
|
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 LockDurationDto
|
|
20
|
+
*/
|
|
21
|
+
export interface LockDurationDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof LockDurationDto
|
|
26
|
+
*/
|
|
27
|
+
amount: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof LockDurationDto
|
|
32
|
+
*/
|
|
33
|
+
unit: LockDurationDtoUnitEnum;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export const LockDurationDtoUnitEnum = {
|
|
41
|
+
MINUTE: 'minute',
|
|
42
|
+
HOUR: 'hour',
|
|
43
|
+
DAY: 'day'
|
|
44
|
+
} as const;
|
|
45
|
+
export type LockDurationDtoUnitEnum = typeof LockDurationDtoUnitEnum[keyof typeof LockDurationDtoUnitEnum];
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the LockDurationDto interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfLockDurationDto(value: object): value is LockDurationDto {
|
|
52
|
+
if (!('amount' in value) || value['amount'] === undefined) return false;
|
|
53
|
+
if (!('unit' in value) || value['unit'] === undefined) return false;
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function LockDurationDtoFromJSON(json: any): LockDurationDto {
|
|
58
|
+
return LockDurationDtoFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function LockDurationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LockDurationDto {
|
|
62
|
+
if (json == null) {
|
|
63
|
+
return json;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
|
|
67
|
+
'amount': json['amount'],
|
|
68
|
+
'unit': json['unit'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function LockDurationDtoToJSON(json: any): LockDurationDto {
|
|
73
|
+
return LockDurationDtoToJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function LockDurationDtoToJSONTyped(value?: LockDurationDto | null, ignoreDiscriminator: boolean = false): any {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'amount': value['amount'],
|
|
84
|
+
'unit': value['unit'],
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|
|
@@ -0,0 +1,85 @@
|
|
|
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 LockDurationInput
|
|
20
|
+
*/
|
|
21
|
+
export interface LockDurationInput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof LockDurationInput
|
|
26
|
+
*/
|
|
27
|
+
amount?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof LockDurationInput
|
|
32
|
+
*/
|
|
33
|
+
unit?: LockDurationInputUnitEnum;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export const LockDurationInputUnitEnum = {
|
|
41
|
+
MINUTE: 'minute',
|
|
42
|
+
HOUR: 'hour',
|
|
43
|
+
DAY: 'day'
|
|
44
|
+
} as const;
|
|
45
|
+
export type LockDurationInputUnitEnum = typeof LockDurationInputUnitEnum[keyof typeof LockDurationInputUnitEnum];
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the LockDurationInput interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfLockDurationInput(value: object): value is LockDurationInput {
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function LockDurationInputFromJSON(json: any): LockDurationInput {
|
|
56
|
+
return LockDurationInputFromJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function LockDurationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LockDurationInput {
|
|
60
|
+
if (json == null) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
|
|
65
|
+
'amount': json['amount'] == null ? undefined : json['amount'],
|
|
66
|
+
'unit': json['unit'] == null ? undefined : json['unit'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function LockDurationInputToJSON(json: any): LockDurationInput {
|
|
71
|
+
return LockDurationInputToJSONTyped(json, false);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function LockDurationInputToJSONTyped(value?: LockDurationInput | null, ignoreDiscriminator: boolean = false): any {
|
|
75
|
+
if (value == null) {
|
|
76
|
+
return value;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
return {
|
|
80
|
+
|
|
81
|
+
'amount': value['amount'],
|
|
82
|
+
'unit': value['unit'],
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
@@ -48,6 +48,13 @@ import {
|
|
|
48
48
|
LeadRentConfigurationDtoToJSON,
|
|
49
49
|
LeadRentConfigurationDtoToJSONTyped,
|
|
50
50
|
} from './LeadRentConfigurationDto';
|
|
51
|
+
import type { DomainLockConfigurationDto } from './DomainLockConfigurationDto';
|
|
52
|
+
import {
|
|
53
|
+
DomainLockConfigurationDtoFromJSON,
|
|
54
|
+
DomainLockConfigurationDtoFromJSONTyped,
|
|
55
|
+
DomainLockConfigurationDtoToJSON,
|
|
56
|
+
DomainLockConfigurationDtoToJSONTyped,
|
|
57
|
+
} from './DomainLockConfigurationDto';
|
|
51
58
|
import type { LeadOfferDto } from './LeadOfferDto';
|
|
52
59
|
import {
|
|
53
60
|
LeadOfferDtoFromJSON,
|
|
@@ -122,6 +129,12 @@ export interface SellerLeadDetails {
|
|
|
122
129
|
* @memberof SellerLeadDetails
|
|
123
130
|
*/
|
|
124
131
|
isMutedForBuyer: boolean;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @type {DomainLockConfigurationDto}
|
|
135
|
+
* @memberof SellerLeadDetails
|
|
136
|
+
*/
|
|
137
|
+
domainLockConfiguration: DomainLockConfigurationDto;
|
|
125
138
|
/**
|
|
126
139
|
* Archived status
|
|
127
140
|
* @type {boolean}
|
|
@@ -251,6 +264,7 @@ export function instanceOfSellerLeadDetails(value: object): value is SellerLeadD
|
|
|
251
264
|
if (!('buyer' in value) || value['buyer'] === undefined) return false;
|
|
252
265
|
if (!('isMutedForSeller' in value) || value['isMutedForSeller'] === undefined) return false;
|
|
253
266
|
if (!('isMutedForBuyer' in value) || value['isMutedForBuyer'] === undefined) return false;
|
|
267
|
+
if (!('domainLockConfiguration' in value) || value['domainLockConfiguration'] === undefined) return false;
|
|
254
268
|
if (!('archived' in value) || value['archived'] === undefined) return false;
|
|
255
269
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
256
270
|
if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
|
|
@@ -285,6 +299,7 @@ export function SellerLeadDetailsFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
285
299
|
'buyer': BuyerDtoFromJSON(json['buyer']),
|
|
286
300
|
'isMutedForSeller': json['isMutedForSeller'],
|
|
287
301
|
'isMutedForBuyer': json['isMutedForBuyer'],
|
|
302
|
+
'domainLockConfiguration': DomainLockConfigurationDtoFromJSON(json['domainLockConfiguration']),
|
|
288
303
|
'archived': json['archived'],
|
|
289
304
|
'createdAt': (new Date(json['createdAt'])),
|
|
290
305
|
'updatedAt': (new Date(json['updatedAt'])),
|
|
@@ -320,6 +335,7 @@ export function SellerLeadDetailsToJSONTyped(value?: SellerLeadDetails | null, i
|
|
|
320
335
|
'buyer': BuyerDtoToJSON(value['buyer']),
|
|
321
336
|
'isMutedForSeller': value['isMutedForSeller'],
|
|
322
337
|
'isMutedForBuyer': value['isMutedForBuyer'],
|
|
338
|
+
'domainLockConfiguration': DomainLockConfigurationDtoToJSON(value['domainLockConfiguration']),
|
|
323
339
|
'archived': value['archived'],
|
|
324
340
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
325
341
|
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
@@ -69,6 +69,13 @@ import {
|
|
|
69
69
|
TimeTableConfigurationDtoToJSON,
|
|
70
70
|
TimeTableConfigurationDtoToJSONTyped,
|
|
71
71
|
} from './TimeTableConfigurationDto';
|
|
72
|
+
import type { DomainLockConfigurationDto } from './DomainLockConfigurationDto';
|
|
73
|
+
import {
|
|
74
|
+
DomainLockConfigurationDtoFromJSON,
|
|
75
|
+
DomainLockConfigurationDtoFromJSONTyped,
|
|
76
|
+
DomainLockConfigurationDtoToJSON,
|
|
77
|
+
DomainLockConfigurationDtoToJSONTyped,
|
|
78
|
+
} from './DomainLockConfigurationDto';
|
|
72
79
|
import type { AccountSettingsRentConfigurationDto } from './AccountSettingsRentConfigurationDto';
|
|
73
80
|
import {
|
|
74
81
|
AccountSettingsRentConfigurationDtoFromJSON,
|
|
@@ -215,6 +222,12 @@ export interface WithSettingsInner {
|
|
|
215
222
|
* @memberof WithSettingsInner
|
|
216
223
|
*/
|
|
217
224
|
auctionConfiguration: AuctionConfigurationDto;
|
|
225
|
+
/**
|
|
226
|
+
*
|
|
227
|
+
* @type {DomainLockConfigurationDto}
|
|
228
|
+
* @memberof WithSettingsInner
|
|
229
|
+
*/
|
|
230
|
+
domainLockConfiguration: DomainLockConfigurationDto;
|
|
218
231
|
}
|
|
219
232
|
|
|
220
233
|
/**
|
|
@@ -243,6 +256,7 @@ export function instanceOfWithSettingsInner(value: object): value is WithSetting
|
|
|
243
256
|
if (!('commissionPercentage' in value) || value['commissionPercentage'] === undefined) return false;
|
|
244
257
|
if (!('commissionsByDateRange' in value) || value['commissionsByDateRange'] === undefined) return false;
|
|
245
258
|
if (!('auctionConfiguration' in value) || value['auctionConfiguration'] === undefined) return false;
|
|
259
|
+
if (!('domainLockConfiguration' in value) || value['domainLockConfiguration'] === undefined) return false;
|
|
246
260
|
return true;
|
|
247
261
|
}
|
|
248
262
|
|
|
@@ -278,6 +292,7 @@ export function WithSettingsInnerFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
278
292
|
'commissionPercentage': json['commissionPercentage'],
|
|
279
293
|
'commissionsByDateRange': ((json['commissionsByDateRange'] as Array<any>).map(AccountCommissionByDateRangeDtoFromJSON)),
|
|
280
294
|
'auctionConfiguration': AuctionConfigurationDtoFromJSON(json['auctionConfiguration']),
|
|
295
|
+
'domainLockConfiguration': DomainLockConfigurationDtoFromJSON(json['domainLockConfiguration']),
|
|
281
296
|
};
|
|
282
297
|
}
|
|
283
298
|
|
|
@@ -314,6 +329,7 @@ export function WithSettingsInnerToJSONTyped(value?: WithSettingsInner | null, i
|
|
|
314
329
|
'commissionPercentage': value['commissionPercentage'],
|
|
315
330
|
'commissionsByDateRange': ((value['commissionsByDateRange'] as Array<any>).map(AccountCommissionByDateRangeDtoToJSON)),
|
|
316
331
|
'auctionConfiguration': AuctionConfigurationDtoToJSON(value['auctionConfiguration']),
|
|
332
|
+
'domainLockConfiguration': DomainLockConfigurationDtoToJSON(value['domainLockConfiguration']),
|
|
317
333
|
};
|
|
318
334
|
}
|
|
319
335
|
|
package/src/models/index.ts
CHANGED
|
@@ -122,6 +122,7 @@ export * from './DomainExchangeRateDto';
|
|
|
122
122
|
export * from './DomainFiltersDto';
|
|
123
123
|
export * from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';
|
|
124
124
|
export * from './DomainLeadPriceNegotiatorAiAgentConfigurationInput';
|
|
125
|
+
export * from './DomainLockConfigurationDto';
|
|
125
126
|
export * from './DomainLockDto';
|
|
126
127
|
export * from './DomainPricesChangeDto';
|
|
127
128
|
export * from './DomainSalesInformationDto';
|
|
@@ -224,6 +225,9 @@ export * from './ListDomainsWithUpdatedPricing200Response';
|
|
|
224
225
|
export * from './ListLeadMessagesDto';
|
|
225
226
|
export * from './ListLeadsResultItem';
|
|
226
227
|
export * from './ListNotifications200Response';
|
|
228
|
+
export * from './LockConfigurationInput';
|
|
229
|
+
export * from './LockDurationDto';
|
|
230
|
+
export * from './LockDurationInput';
|
|
227
231
|
export * from './LoginDto';
|
|
228
232
|
export * from './LoginInput';
|
|
229
233
|
export * from './MajesticMetrics';
|