@randock/nameshift-api-client 0.0.365 → 0.0.367
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/AdminApi.d.ts +11 -0
- package/dist/apis/AdminApi.js +51 -0
- 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 +6 -0
- package/dist/models/AccountSettingsInput.js +2 -0
- package/dist/models/AdminAccountSettingsInput.d.ts +6 -0
- package/dist/models/AdminAccountSettingsInput.js +2 -0
- package/dist/models/BuyerDomainTransferListItemDto.d.ts +6 -0
- package/dist/models/BuyerDomainTransferListItemDto.js +4 -0
- package/dist/models/BuyerLeadListItemDto.d.ts +6 -0
- package/dist/models/BuyerLeadListItemDto.js +4 -0
- package/dist/models/CreateManualLeadInput.d.ts +14 -0
- package/dist/models/CreateManualLeadInput.js +6 -0
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.d.ts +7 -0
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.js +5 -0
- package/dist/models/LeadDto.d.ts +7 -0
- package/dist/models/LeadDto.js +5 -0
- package/dist/models/LeadOfferExpirationConfigurationDto.d.ts +39 -0
- package/dist/models/LeadOfferExpirationConfigurationDto.js +56 -0
- package/dist/models/LeadOfferExpirationConfigurationInput.d.ts +39 -0
- package/dist/models/LeadOfferExpirationConfigurationInput.js +52 -0
- package/dist/models/LeadOfferExpirationDurationInput.d.ts +47 -0
- package/dist/models/LeadOfferExpirationDurationInput.js +60 -0
- package/dist/models/LedgerMutationAttachmentDto.d.ts +38 -0
- package/dist/models/LedgerMutationAttachmentDto.js +55 -0
- package/dist/models/LedgerMutationDto.d.ts +7 -0
- package/dist/models/LedgerMutationDto.js +5 -0
- package/dist/models/ListLeadsResultItem.d.ts +7 -0
- package/dist/models/ListLeadsResultItem.js +5 -0
- package/dist/models/PutLeadOfferInput.d.ts +7 -0
- package/dist/models/PutLeadOfferInput.js +3 -0
- package/dist/models/SellerLeadDetails.d.ts +7 -0
- package/dist/models/SellerLeadDetails.js +5 -0
- package/dist/models/TaskListLeadDto.d.ts +7 -0
- package/dist/models/TaskListLeadDto.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/AdminApi.ts +44 -0
- package/src/apis/LeadsApi.ts +58 -0
- package/src/models/AccountSettingsDto.ts +16 -0
- package/src/models/AccountSettingsInput.ts +8 -0
- package/src/models/AdminAccountSettingsInput.ts +8 -0
- package/src/models/BuyerDomainTransferListItemDto.ts +9 -0
- package/src/models/BuyerLeadListItemDto.ts +9 -0
- package/src/models/CreateManualLeadInput.ts +30 -0
- package/src/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts +16 -0
- package/src/models/LeadDto.ts +16 -0
- package/src/models/LeadOfferExpirationConfigurationDto.ts +83 -0
- package/src/models/LeadOfferExpirationConfigurationInput.ts +81 -0
- package/src/models/LeadOfferExpirationDurationInput.ts +85 -0
- package/src/models/LedgerMutationAttachmentDto.ts +75 -0
- package/src/models/LedgerMutationDto.ts +17 -0
- package/src/models/ListLeadsResultItem.ts +16 -0
- package/src/models/PutLeadOfferInput.ts +15 -0
- package/src/models/SellerLeadDetails.ts +16 -0
- package/src/models/TaskListLeadDto.ts +16 -0
- package/src/models/WithSettingsInner.ts +16 -0
- package/src/models/index.ts +4 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfLeadOfferExpirationConfigurationDto = instanceOfLeadOfferExpirationConfigurationDto;
|
|
17
|
+
exports.LeadOfferExpirationConfigurationDtoFromJSON = LeadOfferExpirationConfigurationDtoFromJSON;
|
|
18
|
+
exports.LeadOfferExpirationConfigurationDtoFromJSONTyped = LeadOfferExpirationConfigurationDtoFromJSONTyped;
|
|
19
|
+
exports.LeadOfferExpirationConfigurationDtoToJSON = LeadOfferExpirationConfigurationDtoToJSON;
|
|
20
|
+
exports.LeadOfferExpirationConfigurationDtoToJSONTyped = LeadOfferExpirationConfigurationDtoToJSONTyped;
|
|
21
|
+
var LockDurationDto_1 = require("./LockDurationDto");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the LeadOfferExpirationConfigurationDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfLeadOfferExpirationConfigurationDto(value) {
|
|
26
|
+
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('duration' in value) || value['duration'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function LeadOfferExpirationConfigurationDtoFromJSON(json) {
|
|
33
|
+
return LeadOfferExpirationConfigurationDtoFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function LeadOfferExpirationConfigurationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'enabled': json['enabled'],
|
|
41
|
+
'duration': (0, LockDurationDto_1.LockDurationDtoFromJSON)(json['duration']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function LeadOfferExpirationConfigurationDtoToJSON(json) {
|
|
45
|
+
return LeadOfferExpirationConfigurationDtoToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function LeadOfferExpirationConfigurationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'enabled': value['enabled'],
|
|
54
|
+
'duration': (0, LockDurationDto_1.LockDurationDtoToJSON)(value['duration']),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { LeadOfferExpirationDurationInput } from './LeadOfferExpirationDurationInput';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface LeadOfferExpirationConfigurationInput
|
|
17
|
+
*/
|
|
18
|
+
export interface LeadOfferExpirationConfigurationInput {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof LeadOfferExpirationConfigurationInput
|
|
23
|
+
*/
|
|
24
|
+
enabled?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {LeadOfferExpirationDurationInput}
|
|
28
|
+
* @memberof LeadOfferExpirationConfigurationInput
|
|
29
|
+
*/
|
|
30
|
+
duration?: LeadOfferExpirationDurationInput;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the LeadOfferExpirationConfigurationInput interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfLeadOfferExpirationConfigurationInput(value: object): value is LeadOfferExpirationConfigurationInput;
|
|
36
|
+
export declare function LeadOfferExpirationConfigurationInputFromJSON(json: any): LeadOfferExpirationConfigurationInput;
|
|
37
|
+
export declare function LeadOfferExpirationConfigurationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadOfferExpirationConfigurationInput;
|
|
38
|
+
export declare function LeadOfferExpirationConfigurationInputToJSON(json: any): LeadOfferExpirationConfigurationInput;
|
|
39
|
+
export declare function LeadOfferExpirationConfigurationInputToJSONTyped(value?: LeadOfferExpirationConfigurationInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfLeadOfferExpirationConfigurationInput = instanceOfLeadOfferExpirationConfigurationInput;
|
|
17
|
+
exports.LeadOfferExpirationConfigurationInputFromJSON = LeadOfferExpirationConfigurationInputFromJSON;
|
|
18
|
+
exports.LeadOfferExpirationConfigurationInputFromJSONTyped = LeadOfferExpirationConfigurationInputFromJSONTyped;
|
|
19
|
+
exports.LeadOfferExpirationConfigurationInputToJSON = LeadOfferExpirationConfigurationInputToJSON;
|
|
20
|
+
exports.LeadOfferExpirationConfigurationInputToJSONTyped = LeadOfferExpirationConfigurationInputToJSONTyped;
|
|
21
|
+
var LeadOfferExpirationDurationInput_1 = require("./LeadOfferExpirationDurationInput");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the LeadOfferExpirationConfigurationInput interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfLeadOfferExpirationConfigurationInput(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function LeadOfferExpirationConfigurationInputFromJSON(json) {
|
|
29
|
+
return LeadOfferExpirationConfigurationInputFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function LeadOfferExpirationConfigurationInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
37
|
+
'duration': json['duration'] == null ? undefined : (0, LeadOfferExpirationDurationInput_1.LeadOfferExpirationDurationInputFromJSON)(json['duration']),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function LeadOfferExpirationConfigurationInputToJSON(json) {
|
|
41
|
+
return LeadOfferExpirationConfigurationInputToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function LeadOfferExpirationConfigurationInputToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'enabled': value['enabled'],
|
|
50
|
+
'duration': (0, LeadOfferExpirationDurationInput_1.LeadOfferExpirationDurationInputToJSON)(value['duration']),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 LeadOfferExpirationDurationInput
|
|
16
|
+
*/
|
|
17
|
+
export interface LeadOfferExpirationDurationInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof LeadOfferExpirationDurationInput
|
|
22
|
+
*/
|
|
23
|
+
amount?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof LeadOfferExpirationDurationInput
|
|
28
|
+
*/
|
|
29
|
+
unit?: LeadOfferExpirationDurationInputUnitEnum;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const LeadOfferExpirationDurationInputUnitEnum: {
|
|
35
|
+
readonly MINUTE: "minute";
|
|
36
|
+
readonly HOUR: "hour";
|
|
37
|
+
readonly DAY: "day";
|
|
38
|
+
};
|
|
39
|
+
export type LeadOfferExpirationDurationInputUnitEnum = typeof LeadOfferExpirationDurationInputUnitEnum[keyof typeof LeadOfferExpirationDurationInputUnitEnum];
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the LeadOfferExpirationDurationInput interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfLeadOfferExpirationDurationInput(value: object): value is LeadOfferExpirationDurationInput;
|
|
44
|
+
export declare function LeadOfferExpirationDurationInputFromJSON(json: any): LeadOfferExpirationDurationInput;
|
|
45
|
+
export declare function LeadOfferExpirationDurationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadOfferExpirationDurationInput;
|
|
46
|
+
export declare function LeadOfferExpirationDurationInputToJSON(json: any): LeadOfferExpirationDurationInput;
|
|
47
|
+
export declare function LeadOfferExpirationDurationInputToJSONTyped(value?: LeadOfferExpirationDurationInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.LeadOfferExpirationDurationInputUnitEnum = void 0;
|
|
17
|
+
exports.instanceOfLeadOfferExpirationDurationInput = instanceOfLeadOfferExpirationDurationInput;
|
|
18
|
+
exports.LeadOfferExpirationDurationInputFromJSON = LeadOfferExpirationDurationInputFromJSON;
|
|
19
|
+
exports.LeadOfferExpirationDurationInputFromJSONTyped = LeadOfferExpirationDurationInputFromJSONTyped;
|
|
20
|
+
exports.LeadOfferExpirationDurationInputToJSON = LeadOfferExpirationDurationInputToJSON;
|
|
21
|
+
exports.LeadOfferExpirationDurationInputToJSONTyped = LeadOfferExpirationDurationInputToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.LeadOfferExpirationDurationInputUnitEnum = {
|
|
26
|
+
MINUTE: 'minute',
|
|
27
|
+
HOUR: 'hour',
|
|
28
|
+
DAY: 'day'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the LeadOfferExpirationDurationInput interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfLeadOfferExpirationDurationInput(value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function LeadOfferExpirationDurationInputFromJSON(json) {
|
|
37
|
+
return LeadOfferExpirationDurationInputFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function LeadOfferExpirationDurationInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'amount': json['amount'] == null ? undefined : json['amount'],
|
|
45
|
+
'unit': json['unit'] == null ? undefined : json['unit'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function LeadOfferExpirationDurationInputToJSON(json) {
|
|
49
|
+
return LeadOfferExpirationDurationInputToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function LeadOfferExpirationDurationInputToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'amount': value['amount'],
|
|
58
|
+
'unit': value['unit'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 LedgerMutationAttachmentDto
|
|
16
|
+
*/
|
|
17
|
+
export interface LedgerMutationAttachmentDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof LedgerMutationAttachmentDto
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof LedgerMutationAttachmentDto
|
|
28
|
+
*/
|
|
29
|
+
filename: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the LedgerMutationAttachmentDto interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfLedgerMutationAttachmentDto(value: object): value is LedgerMutationAttachmentDto;
|
|
35
|
+
export declare function LedgerMutationAttachmentDtoFromJSON(json: any): LedgerMutationAttachmentDto;
|
|
36
|
+
export declare function LedgerMutationAttachmentDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LedgerMutationAttachmentDto;
|
|
37
|
+
export declare function LedgerMutationAttachmentDtoToJSON(json: any): LedgerMutationAttachmentDto;
|
|
38
|
+
export declare function LedgerMutationAttachmentDtoToJSONTyped(value?: LedgerMutationAttachmentDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfLedgerMutationAttachmentDto = instanceOfLedgerMutationAttachmentDto;
|
|
17
|
+
exports.LedgerMutationAttachmentDtoFromJSON = LedgerMutationAttachmentDtoFromJSON;
|
|
18
|
+
exports.LedgerMutationAttachmentDtoFromJSONTyped = LedgerMutationAttachmentDtoFromJSONTyped;
|
|
19
|
+
exports.LedgerMutationAttachmentDtoToJSON = LedgerMutationAttachmentDtoToJSON;
|
|
20
|
+
exports.LedgerMutationAttachmentDtoToJSONTyped = LedgerMutationAttachmentDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the LedgerMutationAttachmentDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfLedgerMutationAttachmentDto(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('filename' in value) || value['filename'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function LedgerMutationAttachmentDtoFromJSON(json) {
|
|
32
|
+
return LedgerMutationAttachmentDtoFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function LedgerMutationAttachmentDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'filename': json['filename'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function LedgerMutationAttachmentDtoToJSON(json) {
|
|
44
|
+
return LedgerMutationAttachmentDtoToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function LedgerMutationAttachmentDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'id': value['id'],
|
|
53
|
+
'filename': value['filename'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { LedgerMutationAttachmentDto } from './LedgerMutationAttachmentDto';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -51,6 +52,12 @@ export interface LedgerMutationDto {
|
|
|
51
52
|
* @memberof LedgerMutationDto
|
|
52
53
|
*/
|
|
53
54
|
date: Date;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Array<LedgerMutationAttachmentDto>}
|
|
58
|
+
* @memberof LedgerMutationDto
|
|
59
|
+
*/
|
|
60
|
+
attachments: Array<LedgerMutationAttachmentDto>;
|
|
54
61
|
}
|
|
55
62
|
/**
|
|
56
63
|
* Check if a given object implements the LedgerMutationDto interface.
|
|
@@ -18,6 +18,7 @@ exports.LedgerMutationDtoFromJSON = LedgerMutationDtoFromJSON;
|
|
|
18
18
|
exports.LedgerMutationDtoFromJSONTyped = LedgerMutationDtoFromJSONTyped;
|
|
19
19
|
exports.LedgerMutationDtoToJSON = LedgerMutationDtoToJSON;
|
|
20
20
|
exports.LedgerMutationDtoToJSONTyped = LedgerMutationDtoToJSONTyped;
|
|
21
|
+
var LedgerMutationAttachmentDto_1 = require("./LedgerMutationAttachmentDto");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the LedgerMutationDto interface.
|
|
23
24
|
*/
|
|
@@ -34,6 +35,8 @@ function instanceOfLedgerMutationDto(value) {
|
|
|
34
35
|
return false;
|
|
35
36
|
if (!('date' in value) || value['date'] === undefined)
|
|
36
37
|
return false;
|
|
38
|
+
if (!('attachments' in value) || value['attachments'] === undefined)
|
|
39
|
+
return false;
|
|
37
40
|
return true;
|
|
38
41
|
}
|
|
39
42
|
function LedgerMutationDtoFromJSON(json) {
|
|
@@ -50,6 +53,7 @@ function LedgerMutationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
53
|
'credit': json['credit'],
|
|
51
54
|
'description': json['description'],
|
|
52
55
|
'date': (new Date(json['date'])),
|
|
56
|
+
'attachments': (json['attachments'].map(LedgerMutationAttachmentDto_1.LedgerMutationAttachmentDtoFromJSON)),
|
|
53
57
|
};
|
|
54
58
|
}
|
|
55
59
|
function LedgerMutationDtoToJSON(json) {
|
|
@@ -67,5 +71,6 @@ function LedgerMutationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
67
71
|
'credit': value['credit'],
|
|
68
72
|
'description': value['description'],
|
|
69
73
|
'date': ((value['date']).toISOString()),
|
|
74
|
+
'attachments': (value['attachments'].map(LedgerMutationAttachmentDto_1.LedgerMutationAttachmentDtoToJSON)),
|
|
70
75
|
};
|
|
71
76
|
}
|
|
@@ -14,6 +14,7 @@ import type { LeadMessageData } from './LeadMessageData';
|
|
|
14
14
|
import type { LeadDomainDto } from './LeadDomainDto';
|
|
15
15
|
import type { MoneyDto } from './MoneyDto';
|
|
16
16
|
import type { LeadRentConfigurationDto } from './LeadRentConfigurationDto';
|
|
17
|
+
import type { LeadOfferExpirationConfigurationDto } from './LeadOfferExpirationConfigurationDto';
|
|
17
18
|
import type { LeadOfferDto } from './LeadOfferDto';
|
|
18
19
|
/**
|
|
19
20
|
*
|
|
@@ -171,6 +172,12 @@ export interface ListLeadsResultItem {
|
|
|
171
172
|
* @memberof ListLeadsResultItem
|
|
172
173
|
*/
|
|
173
174
|
lastSellerOffer: LeadOfferDto | null;
|
|
175
|
+
/**
|
|
176
|
+
*
|
|
177
|
+
* @type {LeadOfferExpirationConfigurationDto}
|
|
178
|
+
* @memberof ListLeadsResultItem
|
|
179
|
+
*/
|
|
180
|
+
leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
|
|
174
181
|
/**
|
|
175
182
|
* The message in case lastMessageType === LeadMessageTypeEnum.MESSAGE
|
|
176
183
|
* @type {string}
|
|
@@ -24,6 +24,7 @@ var LeadMessageData_1 = require("./LeadMessageData");
|
|
|
24
24
|
var LeadDomainDto_1 = require("./LeadDomainDto");
|
|
25
25
|
var MoneyDto_1 = require("./MoneyDto");
|
|
26
26
|
var LeadRentConfigurationDto_1 = require("./LeadRentConfigurationDto");
|
|
27
|
+
var LeadOfferExpirationConfigurationDto_1 = require("./LeadOfferExpirationConfigurationDto");
|
|
27
28
|
var LeadOfferDto_1 = require("./LeadOfferDto");
|
|
28
29
|
/**
|
|
29
30
|
* @export
|
|
@@ -135,6 +136,8 @@ function instanceOfListLeadsResultItem(value) {
|
|
|
135
136
|
return false;
|
|
136
137
|
if (!('lastSellerOffer' in value) || value['lastSellerOffer'] === undefined)
|
|
137
138
|
return false;
|
|
139
|
+
if (!('leadOfferExpirationConfiguration' in value) || value['leadOfferExpirationConfiguration'] === undefined)
|
|
140
|
+
return false;
|
|
138
141
|
if (!('lastMessageMessage' in value) || value['lastMessageMessage'] === undefined)
|
|
139
142
|
return false;
|
|
140
143
|
if (!('lastMessageDate' in value) || value['lastMessageDate'] === undefined)
|
|
@@ -174,6 +177,7 @@ function ListLeadsResultItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
174
177
|
'rent': (0, LeadRentConfigurationDto_1.LeadRentConfigurationDtoFromJSON)(json['rent']),
|
|
175
178
|
'lastBuyerOffer': (0, LeadOfferDto_1.LeadOfferDtoFromJSON)(json['lastBuyerOffer']),
|
|
176
179
|
'lastSellerOffer': (0, LeadOfferDto_1.LeadOfferDtoFromJSON)(json['lastSellerOffer']),
|
|
180
|
+
'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoFromJSON)(json['leadOfferExpirationConfiguration']),
|
|
177
181
|
'lastMessageMessage': json['lastMessageMessage'],
|
|
178
182
|
'lastMessageDate': (new Date(json['lastMessageDate'])),
|
|
179
183
|
};
|
|
@@ -212,6 +216,7 @@ function ListLeadsResultItemToJSONTyped(value, ignoreDiscriminator) {
|
|
|
212
216
|
'rent': (0, LeadRentConfigurationDto_1.LeadRentConfigurationDtoToJSON)(value['rent']),
|
|
213
217
|
'lastBuyerOffer': (0, LeadOfferDto_1.LeadOfferDtoToJSON)(value['lastBuyerOffer']),
|
|
214
218
|
'lastSellerOffer': (0, LeadOfferDto_1.LeadOfferDtoToJSON)(value['lastSellerOffer']),
|
|
219
|
+
'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoToJSON)(value['leadOfferExpirationConfiguration']),
|
|
215
220
|
'lastMessageMessage': value['lastMessageMessage'],
|
|
216
221
|
'lastMessageDate': ((value['lastMessageDate']).toISOString()),
|
|
217
222
|
};
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { MoneyDto } from './MoneyDto';
|
|
13
|
+
import type { LeadOfferExpirationConfigurationInput } from './LeadOfferExpirationConfigurationInput';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -34,6 +35,12 @@ export interface PutLeadOfferInput {
|
|
|
34
35
|
* @memberof PutLeadOfferInput
|
|
35
36
|
*/
|
|
36
37
|
leaseToOwnMonths?: number | null;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {LeadOfferExpirationConfigurationInput}
|
|
41
|
+
* @memberof PutLeadOfferInput
|
|
42
|
+
*/
|
|
43
|
+
leadOfferExpirationConfiguration?: LeadOfferExpirationConfigurationInput;
|
|
37
44
|
}
|
|
38
45
|
/**
|
|
39
46
|
* @export
|
|
@@ -20,6 +20,7 @@ exports.PutLeadOfferInputFromJSONTyped = PutLeadOfferInputFromJSONTyped;
|
|
|
20
20
|
exports.PutLeadOfferInputToJSON = PutLeadOfferInputToJSON;
|
|
21
21
|
exports.PutLeadOfferInputToJSONTyped = PutLeadOfferInputToJSONTyped;
|
|
22
22
|
var MoneyDto_1 = require("./MoneyDto");
|
|
23
|
+
var LeadOfferExpirationConfigurationInput_1 = require("./LeadOfferExpirationConfigurationInput");
|
|
23
24
|
/**
|
|
24
25
|
* @export
|
|
25
26
|
*/
|
|
@@ -46,6 +47,7 @@ function PutLeadOfferInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
47
|
'offer': json['offer'] == null ? undefined : (0, MoneyDto_1.MoneyDtoFromJSON)(json['offer']),
|
|
47
48
|
'offerType': json['offerType'] == null ? undefined : json['offerType'],
|
|
48
49
|
'leaseToOwnMonths': json['leaseToOwnMonths'] == null ? undefined : json['leaseToOwnMonths'],
|
|
50
|
+
'leadOfferExpirationConfiguration': json['leadOfferExpirationConfiguration'] == null ? undefined : (0, LeadOfferExpirationConfigurationInput_1.LeadOfferExpirationConfigurationInputFromJSON)(json['leadOfferExpirationConfiguration']),
|
|
49
51
|
};
|
|
50
52
|
}
|
|
51
53
|
function PutLeadOfferInputToJSON(json) {
|
|
@@ -60,5 +62,6 @@ function PutLeadOfferInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
60
62
|
'offer': (0, MoneyDto_1.MoneyDtoToJSON)(value['offer']),
|
|
61
63
|
'offerType': value['offerType'],
|
|
62
64
|
'leaseToOwnMonths': value['leaseToOwnMonths'],
|
|
65
|
+
'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationInput_1.LeadOfferExpirationConfigurationInputToJSON)(value['leadOfferExpirationConfiguration']),
|
|
63
66
|
};
|
|
64
67
|
}
|
|
@@ -14,6 +14,7 @@ import type { MoneyDto } from './MoneyDto';
|
|
|
14
14
|
import type { IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto } from './IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto';
|
|
15
15
|
import type { BuyerDto } from './BuyerDto';
|
|
16
16
|
import type { LeadRentConfigurationDto } from './LeadRentConfigurationDto';
|
|
17
|
+
import type { LeadOfferExpirationConfigurationDto } from './LeadOfferExpirationConfigurationDto';
|
|
17
18
|
import type { DomainLockConfigurationDto } from './DomainLockConfigurationDto';
|
|
18
19
|
import type { LeadOfferDto } from './LeadOfferDto';
|
|
19
20
|
/**
|
|
@@ -154,6 +155,12 @@ export interface SellerLeadDetails {
|
|
|
154
155
|
* @memberof SellerLeadDetails
|
|
155
156
|
*/
|
|
156
157
|
lastSellerOffer: LeadOfferDto | null;
|
|
158
|
+
/**
|
|
159
|
+
*
|
|
160
|
+
* @type {LeadOfferExpirationConfigurationDto}
|
|
161
|
+
* @memberof SellerLeadDetails
|
|
162
|
+
*/
|
|
163
|
+
leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
|
|
157
164
|
}
|
|
158
165
|
/**
|
|
159
166
|
* @export
|
|
@@ -24,6 +24,7 @@ var MoneyDto_1 = require("./MoneyDto");
|
|
|
24
24
|
var IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto_1 = require("./IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto");
|
|
25
25
|
var BuyerDto_1 = require("./BuyerDto");
|
|
26
26
|
var LeadRentConfigurationDto_1 = require("./LeadRentConfigurationDto");
|
|
27
|
+
var LeadOfferExpirationConfigurationDto_1 = require("./LeadOfferExpirationConfigurationDto");
|
|
27
28
|
var DomainLockConfigurationDto_1 = require("./DomainLockConfigurationDto");
|
|
28
29
|
var LeadOfferDto_1 = require("./LeadOfferDto");
|
|
29
30
|
/**
|
|
@@ -111,6 +112,8 @@ function instanceOfSellerLeadDetails(value) {
|
|
|
111
112
|
return false;
|
|
112
113
|
if (!('lastSellerOffer' in value) || value['lastSellerOffer'] === undefined)
|
|
113
114
|
return false;
|
|
115
|
+
if (!('leadOfferExpirationConfiguration' in value) || value['leadOfferExpirationConfiguration'] === undefined)
|
|
116
|
+
return false;
|
|
114
117
|
return true;
|
|
115
118
|
}
|
|
116
119
|
function SellerLeadDetailsFromJSON(json) {
|
|
@@ -143,6 +146,7 @@ function SellerLeadDetailsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
143
146
|
'rent': (0, LeadRentConfigurationDto_1.LeadRentConfigurationDtoFromJSON)(json['rent']),
|
|
144
147
|
'lastBuyerOffer': (0, LeadOfferDto_1.LeadOfferDtoFromJSON)(json['lastBuyerOffer']),
|
|
145
148
|
'lastSellerOffer': (0, LeadOfferDto_1.LeadOfferDtoFromJSON)(json['lastSellerOffer']),
|
|
149
|
+
'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoFromJSON)(json['leadOfferExpirationConfiguration']),
|
|
146
150
|
};
|
|
147
151
|
}
|
|
148
152
|
function SellerLeadDetailsToJSON(json) {
|
|
@@ -176,5 +180,6 @@ function SellerLeadDetailsToJSONTyped(value, ignoreDiscriminator) {
|
|
|
176
180
|
'rent': (0, LeadRentConfigurationDto_1.LeadRentConfigurationDtoToJSON)(value['rent']),
|
|
177
181
|
'lastBuyerOffer': (0, LeadOfferDto_1.LeadOfferDtoToJSON)(value['lastBuyerOffer']),
|
|
178
182
|
'lastSellerOffer': (0, LeadOfferDto_1.LeadOfferDtoToJSON)(value['lastSellerOffer']),
|
|
183
|
+
'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoToJSON)(value['leadOfferExpirationConfiguration']),
|
|
179
184
|
};
|
|
180
185
|
}
|
|
@@ -13,6 +13,7 @@ import type { TaskListLeadLeaseToOwnConfigurationDto } from './TaskListLeadLease
|
|
|
13
13
|
import type { TaskListLeadOfferDto } from './TaskListLeadOfferDto';
|
|
14
14
|
import type { MoneyDto } from './MoneyDto';
|
|
15
15
|
import type { TaskListLeadRentConfigurationDto } from './TaskListLeadRentConfigurationDto';
|
|
16
|
+
import type { LeadOfferExpirationConfigurationDto } from './LeadOfferExpirationConfigurationDto';
|
|
16
17
|
/**
|
|
17
18
|
*
|
|
18
19
|
* @export
|
|
@@ -73,6 +74,12 @@ export interface TaskListLeadDto {
|
|
|
73
74
|
* @memberof TaskListLeadDto
|
|
74
75
|
*/
|
|
75
76
|
rent: TaskListLeadRentConfigurationDto;
|
|
77
|
+
/**
|
|
78
|
+
* Lead offer expiration configuration
|
|
79
|
+
* @type {LeadOfferExpirationConfigurationDto}
|
|
80
|
+
* @memberof TaskListLeadDto
|
|
81
|
+
*/
|
|
82
|
+
leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
|
|
76
83
|
}
|
|
77
84
|
/**
|
|
78
85
|
* @export
|
|
@@ -23,6 +23,7 @@ var TaskListLeadLeaseToOwnConfigurationDto_1 = require("./TaskListLeadLeaseToOwn
|
|
|
23
23
|
var TaskListLeadOfferDto_1 = require("./TaskListLeadOfferDto");
|
|
24
24
|
var MoneyDto_1 = require("./MoneyDto");
|
|
25
25
|
var TaskListLeadRentConfigurationDto_1 = require("./TaskListLeadRentConfigurationDto");
|
|
26
|
+
var LeadOfferExpirationConfigurationDto_1 = require("./LeadOfferExpirationConfigurationDto");
|
|
26
27
|
/**
|
|
27
28
|
* @export
|
|
28
29
|
*/
|
|
@@ -63,6 +64,8 @@ function instanceOfTaskListLeadDto(value) {
|
|
|
63
64
|
return false;
|
|
64
65
|
if (!('rent' in value) || value['rent'] === undefined)
|
|
65
66
|
return false;
|
|
67
|
+
if (!('leadOfferExpirationConfiguration' in value) || value['leadOfferExpirationConfiguration'] === undefined)
|
|
68
|
+
return false;
|
|
66
69
|
return true;
|
|
67
70
|
}
|
|
68
71
|
function TaskListLeadDtoFromJSON(json) {
|
|
@@ -82,6 +85,7 @@ function TaskListLeadDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
82
85
|
'lastSellerOffer': (0, TaskListLeadOfferDto_1.TaskListLeadOfferDtoFromJSON)(json['lastSellerOffer']),
|
|
83
86
|
'leaseToOwn': (0, TaskListLeadLeaseToOwnConfigurationDto_1.TaskListLeadLeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
|
|
84
87
|
'rent': (0, TaskListLeadRentConfigurationDto_1.TaskListLeadRentConfigurationDtoFromJSON)(json['rent']),
|
|
88
|
+
'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoFromJSON)(json['leadOfferExpirationConfiguration']),
|
|
85
89
|
};
|
|
86
90
|
}
|
|
87
91
|
function TaskListLeadDtoToJSON(json) {
|
|
@@ -102,5 +106,6 @@ function TaskListLeadDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
102
106
|
'lastSellerOffer': (0, TaskListLeadOfferDto_1.TaskListLeadOfferDtoToJSON)(value['lastSellerOffer']),
|
|
103
107
|
'leaseToOwn': (0, TaskListLeadLeaseToOwnConfigurationDto_1.TaskListLeadLeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
|
|
104
108
|
'rent': (0, TaskListLeadRentConfigurationDto_1.TaskListLeadRentConfigurationDtoToJSON)(value['rent']),
|
|
109
|
+
'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoToJSON)(value['leadOfferExpirationConfiguration']),
|
|
105
110
|
};
|
|
106
111
|
}
|
|
@@ -14,6 +14,7 @@ import type { AccountSettingsAffiliateDto } from './AccountSettingsAffiliateDto'
|
|
|
14
14
|
import type { MoneyDto } from './MoneyDto';
|
|
15
15
|
import type { AccountAliasDto } from './AccountAliasDto';
|
|
16
16
|
import type { AccountSettingsLeaseToOwnConfigurationDto } from './AccountSettingsLeaseToOwnConfigurationDto';
|
|
17
|
+
import type { LeadOfferExpirationConfigurationDto } from './LeadOfferExpirationConfigurationDto';
|
|
17
18
|
import type { AuctionConfigurationDto } from './AuctionConfigurationDto';
|
|
18
19
|
import type { AccountCommissionByDateRangeDto } from './AccountCommissionByDateRangeDto';
|
|
19
20
|
import type { TimeTableConfigurationDto } from './TimeTableConfigurationDto';
|
|
@@ -163,6 +164,12 @@ export interface WithSettingsInner {
|
|
|
163
164
|
* @memberof WithSettingsInner
|
|
164
165
|
*/
|
|
165
166
|
domainLockConfiguration: DomainLockConfigurationDto;
|
|
167
|
+
/**
|
|
168
|
+
*
|
|
169
|
+
* @type {LeadOfferExpirationConfigurationDto}
|
|
170
|
+
* @memberof WithSettingsInner
|
|
171
|
+
*/
|
|
172
|
+
leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
|
|
166
173
|
}
|
|
167
174
|
/**
|
|
168
175
|
* Check if a given object implements the WithSettingsInner interface.
|