@randock/nameshift-api-client 0.0.294 → 0.0.296
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 +5 -1
- package/README.md +3 -3
- package/dist/models/AccountSettingsAffiliateCommissionDto.d.ts +56 -0
- package/dist/models/AccountSettingsAffiliateCommissionDto.js +67 -0
- package/dist/models/AccountSettingsAffiliateDto.d.ts +51 -0
- package/dist/models/AccountSettingsAffiliateDto.js +64 -0
- package/dist/models/AdminAccountSettingsAffiliateCommissionInput.d.ts +56 -0
- package/dist/models/AdminAccountSettingsAffiliateCommissionInput.js +65 -0
- package/dist/models/AdminAccountSettingsAffiliateInput.d.ts +51 -0
- package/dist/models/AdminAccountSettingsAffiliateInput.js +56 -0
- package/dist/models/AdminAccountSettingsInput.d.ts +7 -0
- package/dist/models/AdminAccountSettingsInput.js +3 -0
- package/dist/models/{DomainDto.d.ts → IntersectionDomainDtoWithSeoMetricsDto.d.ts} +34 -27
- package/dist/models/{DomainDto.js → IntersectionDomainDtoWithSeoMetricsDto.js} +18 -13
- package/dist/models/List200Response2.d.ts +3 -3
- package/dist/models/List200Response2.js +3 -3
- package/dist/models/WithSettingsInner.d.ts +7 -0
- package/dist/models/WithSettingsInner.js +5 -0
- package/dist/models/index.d.ts +5 -1
- package/dist/models/index.js +5 -1
- package/package.json +1 -1
- package/src/models/AccountSettingsAffiliateCommissionDto.ts +102 -0
- package/src/models/AccountSettingsAffiliateDto.ts +101 -0
- package/src/models/AdminAccountSettingsAffiliateCommissionInput.ts +101 -0
- package/src/models/AdminAccountSettingsAffiliateInput.ts +97 -0
- package/src/models/AdminAccountSettingsInput.ts +16 -0
- package/src/models/{DomainDto.ts → IntersectionDomainDtoWithSeoMetricsDto.ts} +45 -29
- package/src/models/List200Response2.ts +10 -10
- package/src/models/WithSettingsInner.ts +16 -0
- package/src/models/index.ts +5 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -37,6 +37,8 @@ src/models/AccountNotificationReadStatusDto.ts
|
|
|
37
37
|
src/models/AccountOnboardingDto.ts
|
|
38
38
|
src/models/AccountOnboardingSessionDto.ts
|
|
39
39
|
src/models/AccountPayoutDto.ts
|
|
40
|
+
src/models/AccountSettingsAffiliateCommissionDto.ts
|
|
41
|
+
src/models/AccountSettingsAffiliateDto.ts
|
|
40
42
|
src/models/AccountSettingsAliasDto.ts
|
|
41
43
|
src/models/AccountSettingsDto.ts
|
|
42
44
|
src/models/AccountSettingsInput.ts
|
|
@@ -45,6 +47,8 @@ src/models/AccountSettingsRentConfigurationDto.ts
|
|
|
45
47
|
src/models/AccountSettingsSidnDto.ts
|
|
46
48
|
src/models/AddressDto.ts
|
|
47
49
|
src/models/AdminAccountLoginDto.ts
|
|
50
|
+
src/models/AdminAccountSettingsAffiliateCommissionInput.ts
|
|
51
|
+
src/models/AdminAccountSettingsAffiliateInput.ts
|
|
48
52
|
src/models/AdminAccountSettingsInput.ts
|
|
49
53
|
src/models/AdminBankAccountDto.ts
|
|
50
54
|
src/models/AdminCompanyStatsDto.ts
|
|
@@ -96,7 +100,6 @@ src/models/CreateSubscriptionInput.ts
|
|
|
96
100
|
src/models/CursorBasedPageInfo.ts
|
|
97
101
|
src/models/CursorBasedPaginationResponse.ts
|
|
98
102
|
src/models/DeleteDomainsInput.ts
|
|
99
|
-
src/models/DomainDto.ts
|
|
100
103
|
src/models/DomainExchangeRateDto.ts
|
|
101
104
|
src/models/DomainLeadPriceNegotiatorAiAgentConfigurationDto.ts
|
|
102
105
|
src/models/DomainLeadPriceNegotiatorAiAgentConfigurationInput.ts
|
|
@@ -145,6 +148,7 @@ src/models/HttpException.ts
|
|
|
145
148
|
src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts
|
|
146
149
|
src/models/IntersectionDomainDtoWithAccountDto.ts
|
|
147
150
|
src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts
|
|
151
|
+
src/models/IntersectionDomainDtoWithSeoMetricsDto.ts
|
|
148
152
|
src/models/IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto.ts
|
|
149
153
|
src/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts
|
|
150
154
|
src/models/IntersectionLeadDtoWithListFieldsDto.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.296
|
|
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.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.296 --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
|
-
|
|
47
|
+
181442239f51cabd1e784d25826c73d97c01462f98edd705b41f5265d77bb2fd9b1b4a60b3ce02dc5547b94179afc9ce
|
|
@@ -0,0 +1,56 @@
|
|
|
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 AccountSettingsAffiliateCommissionDto
|
|
16
|
+
*/
|
|
17
|
+
export interface AccountSettingsAffiliateCommissionDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Date}
|
|
21
|
+
* @memberof AccountSettingsAffiliateCommissionDto
|
|
22
|
+
*/
|
|
23
|
+
start: Date;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof AccountSettingsAffiliateCommissionDto
|
|
28
|
+
*/
|
|
29
|
+
end: Date | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof AccountSettingsAffiliateCommissionDto
|
|
34
|
+
*/
|
|
35
|
+
leaseToOwnPercentage: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof AccountSettingsAffiliateCommissionDto
|
|
40
|
+
*/
|
|
41
|
+
rentPercentage: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof AccountSettingsAffiliateCommissionDto
|
|
46
|
+
*/
|
|
47
|
+
orderPercentage: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the AccountSettingsAffiliateCommissionDto interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfAccountSettingsAffiliateCommissionDto(value: object): value is AccountSettingsAffiliateCommissionDto;
|
|
53
|
+
export declare function AccountSettingsAffiliateCommissionDtoFromJSON(json: any): AccountSettingsAffiliateCommissionDto;
|
|
54
|
+
export declare function AccountSettingsAffiliateCommissionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountSettingsAffiliateCommissionDto;
|
|
55
|
+
export declare function AccountSettingsAffiliateCommissionDtoToJSON(json: any): AccountSettingsAffiliateCommissionDto;
|
|
56
|
+
export declare function AccountSettingsAffiliateCommissionDtoToJSONTyped(value?: AccountSettingsAffiliateCommissionDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
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.instanceOfAccountSettingsAffiliateCommissionDto = instanceOfAccountSettingsAffiliateCommissionDto;
|
|
17
|
+
exports.AccountSettingsAffiliateCommissionDtoFromJSON = AccountSettingsAffiliateCommissionDtoFromJSON;
|
|
18
|
+
exports.AccountSettingsAffiliateCommissionDtoFromJSONTyped = AccountSettingsAffiliateCommissionDtoFromJSONTyped;
|
|
19
|
+
exports.AccountSettingsAffiliateCommissionDtoToJSON = AccountSettingsAffiliateCommissionDtoToJSON;
|
|
20
|
+
exports.AccountSettingsAffiliateCommissionDtoToJSONTyped = AccountSettingsAffiliateCommissionDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AccountSettingsAffiliateCommissionDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAccountSettingsAffiliateCommissionDto(value) {
|
|
25
|
+
if (!('start' in value) || value['start'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('end' in value) || value['end'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('leaseToOwnPercentage' in value) || value['leaseToOwnPercentage'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('rentPercentage' in value) || value['rentPercentage'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('orderPercentage' in value) || value['orderPercentage'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function AccountSettingsAffiliateCommissionDtoFromJSON(json) {
|
|
38
|
+
return AccountSettingsAffiliateCommissionDtoFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function AccountSettingsAffiliateCommissionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'start': (new Date(json['start'])),
|
|
46
|
+
'end': (json['end'] == null ? null : new Date(json['end'])),
|
|
47
|
+
'leaseToOwnPercentage': json['leaseToOwnPercentage'],
|
|
48
|
+
'rentPercentage': json['rentPercentage'],
|
|
49
|
+
'orderPercentage': json['orderPercentage'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function AccountSettingsAffiliateCommissionDtoToJSON(json) {
|
|
53
|
+
return AccountSettingsAffiliateCommissionDtoToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function AccountSettingsAffiliateCommissionDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
56
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'start': ((value['start']).toISOString()),
|
|
62
|
+
'end': (value['end'] == null ? null : value['end'].toISOString()),
|
|
63
|
+
'leaseToOwnPercentage': value['leaseToOwnPercentage'],
|
|
64
|
+
'rentPercentage': value['rentPercentage'],
|
|
65
|
+
'orderPercentage': value['orderPercentage'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { AccountSettingsAffiliateCommissionDto } from './AccountSettingsAffiliateCommissionDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AccountSettingsAffiliateDto
|
|
17
|
+
*/
|
|
18
|
+
export interface AccountSettingsAffiliateDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof AccountSettingsAffiliateDto
|
|
23
|
+
*/
|
|
24
|
+
defaultCommissionLeaseToOwn: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof AccountSettingsAffiliateDto
|
|
29
|
+
*/
|
|
30
|
+
defaultCommissionRent: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof AccountSettingsAffiliateDto
|
|
35
|
+
*/
|
|
36
|
+
defaultCommissionOrder: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<AccountSettingsAffiliateCommissionDto>}
|
|
40
|
+
* @memberof AccountSettingsAffiliateDto
|
|
41
|
+
*/
|
|
42
|
+
commissions: Array<AccountSettingsAffiliateCommissionDto>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the AccountSettingsAffiliateDto interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfAccountSettingsAffiliateDto(value: object): value is AccountSettingsAffiliateDto;
|
|
48
|
+
export declare function AccountSettingsAffiliateDtoFromJSON(json: any): AccountSettingsAffiliateDto;
|
|
49
|
+
export declare function AccountSettingsAffiliateDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountSettingsAffiliateDto;
|
|
50
|
+
export declare function AccountSettingsAffiliateDtoToJSON(json: any): AccountSettingsAffiliateDto;
|
|
51
|
+
export declare function AccountSettingsAffiliateDtoToJSONTyped(value?: AccountSettingsAffiliateDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
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.instanceOfAccountSettingsAffiliateDto = instanceOfAccountSettingsAffiliateDto;
|
|
17
|
+
exports.AccountSettingsAffiliateDtoFromJSON = AccountSettingsAffiliateDtoFromJSON;
|
|
18
|
+
exports.AccountSettingsAffiliateDtoFromJSONTyped = AccountSettingsAffiliateDtoFromJSONTyped;
|
|
19
|
+
exports.AccountSettingsAffiliateDtoToJSON = AccountSettingsAffiliateDtoToJSON;
|
|
20
|
+
exports.AccountSettingsAffiliateDtoToJSONTyped = AccountSettingsAffiliateDtoToJSONTyped;
|
|
21
|
+
var AccountSettingsAffiliateCommissionDto_1 = require("./AccountSettingsAffiliateCommissionDto");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AccountSettingsAffiliateDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAccountSettingsAffiliateDto(value) {
|
|
26
|
+
if (!('defaultCommissionLeaseToOwn' in value) || value['defaultCommissionLeaseToOwn'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('defaultCommissionRent' in value) || value['defaultCommissionRent'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('defaultCommissionOrder' in value) || value['defaultCommissionOrder'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('commissions' in value) || value['commissions'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function AccountSettingsAffiliateDtoFromJSON(json) {
|
|
37
|
+
return AccountSettingsAffiliateDtoFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function AccountSettingsAffiliateDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'defaultCommissionLeaseToOwn': json['defaultCommissionLeaseToOwn'],
|
|
45
|
+
'defaultCommissionRent': json['defaultCommissionRent'],
|
|
46
|
+
'defaultCommissionOrder': json['defaultCommissionOrder'],
|
|
47
|
+
'commissions': (json['commissions'].map(AccountSettingsAffiliateCommissionDto_1.AccountSettingsAffiliateCommissionDtoFromJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function AccountSettingsAffiliateDtoToJSON(json) {
|
|
51
|
+
return AccountSettingsAffiliateDtoToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function AccountSettingsAffiliateDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
54
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'defaultCommissionLeaseToOwn': value['defaultCommissionLeaseToOwn'],
|
|
60
|
+
'defaultCommissionRent': value['defaultCommissionRent'],
|
|
61
|
+
'defaultCommissionOrder': value['defaultCommissionOrder'],
|
|
62
|
+
'commissions': (value['commissions'].map(AccountSettingsAffiliateCommissionDto_1.AccountSettingsAffiliateCommissionDtoToJSON)),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 AdminAccountSettingsAffiliateCommissionInput
|
|
16
|
+
*/
|
|
17
|
+
export interface AdminAccountSettingsAffiliateCommissionInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AdminAccountSettingsAffiliateCommissionInput
|
|
22
|
+
*/
|
|
23
|
+
startDate: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AdminAccountSettingsAffiliateCommissionInput
|
|
28
|
+
*/
|
|
29
|
+
endDate?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof AdminAccountSettingsAffiliateCommissionInput
|
|
34
|
+
*/
|
|
35
|
+
leaseToOwnPercentage: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof AdminAccountSettingsAffiliateCommissionInput
|
|
40
|
+
*/
|
|
41
|
+
rentPercentage: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof AdminAccountSettingsAffiliateCommissionInput
|
|
46
|
+
*/
|
|
47
|
+
orderPercentage: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the AdminAccountSettingsAffiliateCommissionInput interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfAdminAccountSettingsAffiliateCommissionInput(value: object): value is AdminAccountSettingsAffiliateCommissionInput;
|
|
53
|
+
export declare function AdminAccountSettingsAffiliateCommissionInputFromJSON(json: any): AdminAccountSettingsAffiliateCommissionInput;
|
|
54
|
+
export declare function AdminAccountSettingsAffiliateCommissionInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminAccountSettingsAffiliateCommissionInput;
|
|
55
|
+
export declare function AdminAccountSettingsAffiliateCommissionInputToJSON(json: any): AdminAccountSettingsAffiliateCommissionInput;
|
|
56
|
+
export declare function AdminAccountSettingsAffiliateCommissionInputToJSONTyped(value?: AdminAccountSettingsAffiliateCommissionInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,65 @@
|
|
|
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.instanceOfAdminAccountSettingsAffiliateCommissionInput = instanceOfAdminAccountSettingsAffiliateCommissionInput;
|
|
17
|
+
exports.AdminAccountSettingsAffiliateCommissionInputFromJSON = AdminAccountSettingsAffiliateCommissionInputFromJSON;
|
|
18
|
+
exports.AdminAccountSettingsAffiliateCommissionInputFromJSONTyped = AdminAccountSettingsAffiliateCommissionInputFromJSONTyped;
|
|
19
|
+
exports.AdminAccountSettingsAffiliateCommissionInputToJSON = AdminAccountSettingsAffiliateCommissionInputToJSON;
|
|
20
|
+
exports.AdminAccountSettingsAffiliateCommissionInputToJSONTyped = AdminAccountSettingsAffiliateCommissionInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AdminAccountSettingsAffiliateCommissionInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAdminAccountSettingsAffiliateCommissionInput(value) {
|
|
25
|
+
if (!('startDate' in value) || value['startDate'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('leaseToOwnPercentage' in value) || value['leaseToOwnPercentage'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('rentPercentage' in value) || value['rentPercentage'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('orderPercentage' in value) || value['orderPercentage'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function AdminAccountSettingsAffiliateCommissionInputFromJSON(json) {
|
|
36
|
+
return AdminAccountSettingsAffiliateCommissionInputFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function AdminAccountSettingsAffiliateCommissionInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'startDate': json['startDate'],
|
|
44
|
+
'endDate': json['endDate'] == null ? undefined : json['endDate'],
|
|
45
|
+
'leaseToOwnPercentage': json['leaseToOwnPercentage'],
|
|
46
|
+
'rentPercentage': json['rentPercentage'],
|
|
47
|
+
'orderPercentage': json['orderPercentage'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function AdminAccountSettingsAffiliateCommissionInputToJSON(json) {
|
|
51
|
+
return AdminAccountSettingsAffiliateCommissionInputToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function AdminAccountSettingsAffiliateCommissionInputToJSONTyped(value, ignoreDiscriminator) {
|
|
54
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'startDate': value['startDate'],
|
|
60
|
+
'endDate': value['endDate'],
|
|
61
|
+
'leaseToOwnPercentage': value['leaseToOwnPercentage'],
|
|
62
|
+
'rentPercentage': value['rentPercentage'],
|
|
63
|
+
'orderPercentage': value['orderPercentage'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { AdminAccountSettingsAffiliateCommissionInput } from './AdminAccountSettingsAffiliateCommissionInput';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AdminAccountSettingsAffiliateInput
|
|
17
|
+
*/
|
|
18
|
+
export interface AdminAccountSettingsAffiliateInput {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof AdminAccountSettingsAffiliateInput
|
|
23
|
+
*/
|
|
24
|
+
defaultCommissionLeaseToOwn?: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof AdminAccountSettingsAffiliateInput
|
|
29
|
+
*/
|
|
30
|
+
defaultCommissionRent?: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof AdminAccountSettingsAffiliateInput
|
|
35
|
+
*/
|
|
36
|
+
defaultCommissionOrder?: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<AdminAccountSettingsAffiliateCommissionInput>}
|
|
40
|
+
* @memberof AdminAccountSettingsAffiliateInput
|
|
41
|
+
*/
|
|
42
|
+
commissions?: Array<AdminAccountSettingsAffiliateCommissionInput>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the AdminAccountSettingsAffiliateInput interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfAdminAccountSettingsAffiliateInput(value: object): value is AdminAccountSettingsAffiliateInput;
|
|
48
|
+
export declare function AdminAccountSettingsAffiliateInputFromJSON(json: any): AdminAccountSettingsAffiliateInput;
|
|
49
|
+
export declare function AdminAccountSettingsAffiliateInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminAccountSettingsAffiliateInput;
|
|
50
|
+
export declare function AdminAccountSettingsAffiliateInputToJSON(json: any): AdminAccountSettingsAffiliateInput;
|
|
51
|
+
export declare function AdminAccountSettingsAffiliateInputToJSONTyped(value?: AdminAccountSettingsAffiliateInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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.instanceOfAdminAccountSettingsAffiliateInput = instanceOfAdminAccountSettingsAffiliateInput;
|
|
17
|
+
exports.AdminAccountSettingsAffiliateInputFromJSON = AdminAccountSettingsAffiliateInputFromJSON;
|
|
18
|
+
exports.AdminAccountSettingsAffiliateInputFromJSONTyped = AdminAccountSettingsAffiliateInputFromJSONTyped;
|
|
19
|
+
exports.AdminAccountSettingsAffiliateInputToJSON = AdminAccountSettingsAffiliateInputToJSON;
|
|
20
|
+
exports.AdminAccountSettingsAffiliateInputToJSONTyped = AdminAccountSettingsAffiliateInputToJSONTyped;
|
|
21
|
+
var AdminAccountSettingsAffiliateCommissionInput_1 = require("./AdminAccountSettingsAffiliateCommissionInput");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AdminAccountSettingsAffiliateInput interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAdminAccountSettingsAffiliateInput(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function AdminAccountSettingsAffiliateInputFromJSON(json) {
|
|
29
|
+
return AdminAccountSettingsAffiliateInputFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function AdminAccountSettingsAffiliateInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'defaultCommissionLeaseToOwn': json['defaultCommissionLeaseToOwn'] == null ? undefined : json['defaultCommissionLeaseToOwn'],
|
|
37
|
+
'defaultCommissionRent': json['defaultCommissionRent'] == null ? undefined : json['defaultCommissionRent'],
|
|
38
|
+
'defaultCommissionOrder': json['defaultCommissionOrder'] == null ? undefined : json['defaultCommissionOrder'],
|
|
39
|
+
'commissions': json['commissions'] == null ? undefined : (json['commissions'].map(AdminAccountSettingsAffiliateCommissionInput_1.AdminAccountSettingsAffiliateCommissionInputFromJSON)),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function AdminAccountSettingsAffiliateInputToJSON(json) {
|
|
43
|
+
return AdminAccountSettingsAffiliateInputToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function AdminAccountSettingsAffiliateInputToJSONTyped(value, ignoreDiscriminator) {
|
|
46
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'defaultCommissionLeaseToOwn': value['defaultCommissionLeaseToOwn'],
|
|
52
|
+
'defaultCommissionRent': value['defaultCommissionRent'],
|
|
53
|
+
'defaultCommissionOrder': value['defaultCommissionOrder'],
|
|
54
|
+
'commissions': value['commissions'] == null ? undefined : (value['commissions'].map(AdminAccountSettingsAffiliateCommissionInput_1.AdminAccountSettingsAffiliateCommissionInputToJSON)),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { AdminAccountSettingsAffiliateInput } from './AdminAccountSettingsAffiliateInput';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -27,6 +28,12 @@ export interface AdminAccountSettingsInput {
|
|
|
27
28
|
* @memberof AdminAccountSettingsInput
|
|
28
29
|
*/
|
|
29
30
|
leaseToOwnKickBackPercentage?: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {AdminAccountSettingsAffiliateInput}
|
|
34
|
+
* @memberof AdminAccountSettingsInput
|
|
35
|
+
*/
|
|
36
|
+
affiliate?: AdminAccountSettingsAffiliateInput;
|
|
30
37
|
}
|
|
31
38
|
/**
|
|
32
39
|
* Check if a given object implements the AdminAccountSettingsInput interface.
|
|
@@ -18,6 +18,7 @@ exports.AdminAccountSettingsInputFromJSON = AdminAccountSettingsInputFromJSON;
|
|
|
18
18
|
exports.AdminAccountSettingsInputFromJSONTyped = AdminAccountSettingsInputFromJSONTyped;
|
|
19
19
|
exports.AdminAccountSettingsInputToJSON = AdminAccountSettingsInputToJSON;
|
|
20
20
|
exports.AdminAccountSettingsInputToJSONTyped = AdminAccountSettingsInputToJSONTyped;
|
|
21
|
+
var AdminAccountSettingsAffiliateInput_1 = require("./AdminAccountSettingsAffiliateInput");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the AdminAccountSettingsInput interface.
|
|
23
24
|
*/
|
|
@@ -34,6 +35,7 @@ function AdminAccountSettingsInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
35
|
return {
|
|
35
36
|
'automaticPayouts': json['automaticPayouts'] == null ? undefined : json['automaticPayouts'],
|
|
36
37
|
'leaseToOwnKickBackPercentage': json['leaseToOwnKickBackPercentage'] == null ? undefined : json['leaseToOwnKickBackPercentage'],
|
|
38
|
+
'affiliate': json['affiliate'] == null ? undefined : (0, AdminAccountSettingsAffiliateInput_1.AdminAccountSettingsAffiliateInputFromJSON)(json['affiliate']),
|
|
37
39
|
};
|
|
38
40
|
}
|
|
39
41
|
function AdminAccountSettingsInputToJSON(json) {
|
|
@@ -47,5 +49,6 @@ function AdminAccountSettingsInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
47
49
|
return {
|
|
48
50
|
'automaticPayouts': value['automaticPayouts'],
|
|
49
51
|
'leaseToOwnKickBackPercentage': value['leaseToOwnKickBackPercentage'],
|
|
52
|
+
'affiliate': (0, AdminAccountSettingsAffiliateInput_1.AdminAccountSettingsAffiliateInputToJSON)(value['affiliate']),
|
|
50
53
|
};
|
|
51
54
|
}
|