@randock/nameshift-api-client 0.0.358 → 0.0.359
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 -1
- package/README.md +3 -3
- package/dist/models/AdminAccountSettingsInput.d.ts +3 -3
- package/dist/models/AdminAccountSettingsInput.js +3 -3
- package/dist/models/AdminAuctionCommissionByDateRangeInput.d.ts +44 -0
- package/dist/models/AdminAuctionCommissionByDateRangeInput.js +57 -0
- package/dist/models/AdminAuctionConfigurationInput.d.ts +59 -0
- package/dist/models/AdminAuctionConfigurationInput.js +60 -0
- package/dist/models/AuctionCommissionByDateRangeDto.d.ts +44 -0
- package/dist/models/AuctionCommissionByDateRangeDto.js +59 -0
- package/dist/models/AuctionConfigurationDto.d.ts +13 -0
- package/dist/models/AuctionConfigurationDto.js +9 -0
- package/dist/models/MoneyDecimalDto.d.ts +38 -0
- package/dist/models/MoneyDecimalDto.js +55 -0
- package/dist/models/index.d.ts +4 -1
- package/dist/models/index.js +4 -1
- package/package.json +1 -1
- package/src/models/AdminAccountSettingsInput.ts +10 -10
- package/src/models/AdminAuctionCommissionByDateRangeInput.ts +83 -0
- package/src/models/AdminAuctionConfigurationInput.ts +119 -0
- package/src/models/AuctionCommissionByDateRangeDto.ts +84 -0
- package/src/models/AuctionConfigurationDto.ts +25 -0
- package/src/models/MoneyDecimalDto.ts +75 -0
- package/src/models/index.ts +4 -1
- package/dist/models/UpdateAuctionConfigurationDto.d.ts +0 -46
- package/dist/models/UpdateAuctionConfigurationDto.js +0 -55
- package/src/models/UpdateAuctionConfigurationDto.ts +0 -96
package/.openapi-generator/FILES
CHANGED
|
@@ -64,6 +64,8 @@ src/models/AdminAccountSettingsAffiliateCommissionInput.ts
|
|
|
64
64
|
src/models/AdminAccountSettingsAffiliateInput.ts
|
|
65
65
|
src/models/AdminAccountSettingsAffiliateReferralDurationInput.ts
|
|
66
66
|
src/models/AdminAccountSettingsInput.ts
|
|
67
|
+
src/models/AdminAuctionCommissionByDateRangeInput.ts
|
|
68
|
+
src/models/AdminAuctionConfigurationInput.ts
|
|
67
69
|
src/models/AdminBankAccountDto.ts
|
|
68
70
|
src/models/AdminCompanyStatsDto.ts
|
|
69
71
|
src/models/AdminCompanyStatsLedger.ts
|
|
@@ -82,6 +84,7 @@ src/models/AuctionBidInput.ts
|
|
|
82
84
|
src/models/AuctionBidMetricsDto.ts
|
|
83
85
|
src/models/AuctionBuyerDto.ts
|
|
84
86
|
src/models/AuctionBuyerWithTokenDto.ts
|
|
87
|
+
src/models/AuctionCommissionByDateRangeDto.ts
|
|
85
88
|
src/models/AuctionConfigurationDto.ts
|
|
86
89
|
src/models/AuctionDto.ts
|
|
87
90
|
src/models/AuctionDurationDto.ts
|
|
@@ -259,6 +262,7 @@ src/models/MajesticMetrics.ts
|
|
|
259
262
|
src/models/MajesticTopicTrustFlow.ts
|
|
260
263
|
src/models/ManualLeadBuyerDto.ts
|
|
261
264
|
src/models/ManualLeadLeaseToOwnDto.ts
|
|
265
|
+
src/models/MoneyDecimalDto.ts
|
|
262
266
|
src/models/MoneyDto.ts
|
|
263
267
|
src/models/MoneyInput.ts
|
|
264
268
|
src/models/MozMetrics.ts
|
|
@@ -374,7 +378,6 @@ src/models/TimeTableConfigurationDto.ts
|
|
|
374
378
|
src/models/TimeTableConfigurationInput.ts
|
|
375
379
|
src/models/UkBankAccountDetails.ts
|
|
376
380
|
src/models/UpdateAccountBillingInformationInput.ts
|
|
377
|
-
src/models/UpdateAuctionConfigurationDto.ts
|
|
378
381
|
src/models/UpdateAuctionMuteStatusInput.ts
|
|
379
382
|
src/models/UpdateBuyerDomainTransferIpsTagInputDto.ts
|
|
380
383
|
src/models/UpdateBuyerNotificationSettingsInput.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.359
|
|
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.359 --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
|
+
9df8a04debee73bb39bd43547d0abd74603ded2da00895815e0334133337913c82a88d173cc6b64f31dbad47e869ebd7
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { AdminAccountSettingsAffiliateInput } from './AdminAccountSettingsAffiliateInput';
|
|
13
13
|
import type { AdminAccountCommissionByDateRangeInput } from './AdminAccountCommissionByDateRangeInput';
|
|
14
|
-
import type {
|
|
14
|
+
import type { AdminAuctionConfigurationInput } from './AdminAuctionConfigurationInput';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
@@ -56,10 +56,10 @@ export interface AdminAccountSettingsInput {
|
|
|
56
56
|
domainAffiliate?: AdminAccountSettingsAffiliateInput;
|
|
57
57
|
/**
|
|
58
58
|
*
|
|
59
|
-
* @type {
|
|
59
|
+
* @type {AdminAuctionConfigurationInput}
|
|
60
60
|
* @memberof AdminAccountSettingsInput
|
|
61
61
|
*/
|
|
62
|
-
auctionConfiguration?:
|
|
62
|
+
auctionConfiguration?: AdminAuctionConfigurationInput;
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
65
|
* Check if a given object implements the AdminAccountSettingsInput interface.
|
|
@@ -20,7 +20,7 @@ exports.AdminAccountSettingsInputToJSON = AdminAccountSettingsInputToJSON;
|
|
|
20
20
|
exports.AdminAccountSettingsInputToJSONTyped = AdminAccountSettingsInputToJSONTyped;
|
|
21
21
|
var AdminAccountSettingsAffiliateInput_1 = require("./AdminAccountSettingsAffiliateInput");
|
|
22
22
|
var AdminAccountCommissionByDateRangeInput_1 = require("./AdminAccountCommissionByDateRangeInput");
|
|
23
|
-
var
|
|
23
|
+
var AdminAuctionConfigurationInput_1 = require("./AdminAuctionConfigurationInput");
|
|
24
24
|
/**
|
|
25
25
|
* Check if a given object implements the AdminAccountSettingsInput interface.
|
|
26
26
|
*/
|
|
@@ -41,7 +41,7 @@ function AdminAccountSettingsInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
'commissionsByDateRange': json['commissionsByDateRange'] == null ? undefined : (json['commissionsByDateRange'].map(AdminAccountCommissionByDateRangeInput_1.AdminAccountCommissionByDateRangeInputFromJSON)),
|
|
42
42
|
'affiliate': json['affiliate'] == null ? undefined : (0, AdminAccountSettingsAffiliateInput_1.AdminAccountSettingsAffiliateInputFromJSON)(json['affiliate']),
|
|
43
43
|
'domainAffiliate': json['domainAffiliate'] == null ? undefined : (0, AdminAccountSettingsAffiliateInput_1.AdminAccountSettingsAffiliateInputFromJSON)(json['domainAffiliate']),
|
|
44
|
-
'auctionConfiguration': json['auctionConfiguration'] == null ? undefined : (0,
|
|
44
|
+
'auctionConfiguration': json['auctionConfiguration'] == null ? undefined : (0, AdminAuctionConfigurationInput_1.AdminAuctionConfigurationInputFromJSON)(json['auctionConfiguration']),
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
function AdminAccountSettingsInputToJSON(json) {
|
|
@@ -59,6 +59,6 @@ function AdminAccountSettingsInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
59
59
|
'commissionsByDateRange': value['commissionsByDateRange'] == null ? undefined : (value['commissionsByDateRange'].map(AdminAccountCommissionByDateRangeInput_1.AdminAccountCommissionByDateRangeInputToJSON)),
|
|
60
60
|
'affiliate': (0, AdminAccountSettingsAffiliateInput_1.AdminAccountSettingsAffiliateInputToJSON)(value['affiliate']),
|
|
61
61
|
'domainAffiliate': (0, AdminAccountSettingsAffiliateInput_1.AdminAccountSettingsAffiliateInputToJSON)(value['domainAffiliate']),
|
|
62
|
-
'auctionConfiguration': (0,
|
|
62
|
+
'auctionConfiguration': (0, AdminAuctionConfigurationInput_1.AdminAuctionConfigurationInputToJSON)(value['auctionConfiguration']),
|
|
63
63
|
};
|
|
64
64
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 AdminAuctionCommissionByDateRangeInput
|
|
16
|
+
*/
|
|
17
|
+
export interface AdminAuctionCommissionByDateRangeInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AdminAuctionCommissionByDateRangeInput
|
|
22
|
+
*/
|
|
23
|
+
startDate: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AdminAuctionCommissionByDateRangeInput
|
|
28
|
+
*/
|
|
29
|
+
endDate?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof AdminAuctionCommissionByDateRangeInput
|
|
34
|
+
*/
|
|
35
|
+
commissionPercentage: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the AdminAuctionCommissionByDateRangeInput interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfAdminAuctionCommissionByDateRangeInput(value: object): value is AdminAuctionCommissionByDateRangeInput;
|
|
41
|
+
export declare function AdminAuctionCommissionByDateRangeInputFromJSON(json: any): AdminAuctionCommissionByDateRangeInput;
|
|
42
|
+
export declare function AdminAuctionCommissionByDateRangeInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminAuctionCommissionByDateRangeInput;
|
|
43
|
+
export declare function AdminAuctionCommissionByDateRangeInputToJSON(json: any): AdminAuctionCommissionByDateRangeInput;
|
|
44
|
+
export declare function AdminAuctionCommissionByDateRangeInputToJSONTyped(value?: AdminAuctionCommissionByDateRangeInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfAdminAuctionCommissionByDateRangeInput = instanceOfAdminAuctionCommissionByDateRangeInput;
|
|
17
|
+
exports.AdminAuctionCommissionByDateRangeInputFromJSON = AdminAuctionCommissionByDateRangeInputFromJSON;
|
|
18
|
+
exports.AdminAuctionCommissionByDateRangeInputFromJSONTyped = AdminAuctionCommissionByDateRangeInputFromJSONTyped;
|
|
19
|
+
exports.AdminAuctionCommissionByDateRangeInputToJSON = AdminAuctionCommissionByDateRangeInputToJSON;
|
|
20
|
+
exports.AdminAuctionCommissionByDateRangeInputToJSONTyped = AdminAuctionCommissionByDateRangeInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AdminAuctionCommissionByDateRangeInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAdminAuctionCommissionByDateRangeInput(value) {
|
|
25
|
+
if (!('startDate' in value) || value['startDate'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('commissionPercentage' in value) || value['commissionPercentage'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function AdminAuctionCommissionByDateRangeInputFromJSON(json) {
|
|
32
|
+
return AdminAuctionCommissionByDateRangeInputFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function AdminAuctionCommissionByDateRangeInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'startDate': json['startDate'],
|
|
40
|
+
'endDate': json['endDate'] == null ? undefined : json['endDate'],
|
|
41
|
+
'commissionPercentage': json['commissionPercentage'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function AdminAuctionCommissionByDateRangeInputToJSON(json) {
|
|
45
|
+
return AdminAuctionCommissionByDateRangeInputToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function AdminAuctionCommissionByDateRangeInputToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'startDate': value['startDate'],
|
|
54
|
+
'endDate': value['endDate'],
|
|
55
|
+
'commissionPercentage': value['commissionPercentage'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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 { AuctionDurationDto } from './AuctionDurationDto';
|
|
13
|
+
import type { AdminAuctionCommissionByDateRangeInput } from './AdminAuctionCommissionByDateRangeInput';
|
|
14
|
+
import type { MoneyDecimalDto } from './MoneyDecimalDto';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface AdminAuctionConfigurationInput
|
|
19
|
+
*/
|
|
20
|
+
export interface AdminAuctionConfigurationInput {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {AuctionDurationDto}
|
|
24
|
+
* @memberof AdminAuctionConfigurationInput
|
|
25
|
+
*/
|
|
26
|
+
defaultDurationFromLead?: AuctionDurationDto;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {number}
|
|
30
|
+
* @memberof AdminAuctionConfigurationInput
|
|
31
|
+
*/
|
|
32
|
+
defaultInitialBidAmount?: number;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {MoneyDecimalDto}
|
|
36
|
+
* @memberof AdminAuctionConfigurationInput
|
|
37
|
+
*/
|
|
38
|
+
paidAuctionPrice?: MoneyDecimalDto;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {number}
|
|
42
|
+
* @memberof AdminAuctionConfigurationInput
|
|
43
|
+
*/
|
|
44
|
+
commissionPercentage?: number;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {Array<AdminAuctionCommissionByDateRangeInput>}
|
|
48
|
+
* @memberof AdminAuctionConfigurationInput
|
|
49
|
+
*/
|
|
50
|
+
commissionsByDateRange?: Array<AdminAuctionCommissionByDateRangeInput>;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the AdminAuctionConfigurationInput interface.
|
|
54
|
+
*/
|
|
55
|
+
export declare function instanceOfAdminAuctionConfigurationInput(value: object): value is AdminAuctionConfigurationInput;
|
|
56
|
+
export declare function AdminAuctionConfigurationInputFromJSON(json: any): AdminAuctionConfigurationInput;
|
|
57
|
+
export declare function AdminAuctionConfigurationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminAuctionConfigurationInput;
|
|
58
|
+
export declare function AdminAuctionConfigurationInputToJSON(json: any): AdminAuctionConfigurationInput;
|
|
59
|
+
export declare function AdminAuctionConfigurationInputToJSONTyped(value?: AdminAuctionConfigurationInput | 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.instanceOfAdminAuctionConfigurationInput = instanceOfAdminAuctionConfigurationInput;
|
|
17
|
+
exports.AdminAuctionConfigurationInputFromJSON = AdminAuctionConfigurationInputFromJSON;
|
|
18
|
+
exports.AdminAuctionConfigurationInputFromJSONTyped = AdminAuctionConfigurationInputFromJSONTyped;
|
|
19
|
+
exports.AdminAuctionConfigurationInputToJSON = AdminAuctionConfigurationInputToJSON;
|
|
20
|
+
exports.AdminAuctionConfigurationInputToJSONTyped = AdminAuctionConfigurationInputToJSONTyped;
|
|
21
|
+
var AuctionDurationDto_1 = require("./AuctionDurationDto");
|
|
22
|
+
var AdminAuctionCommissionByDateRangeInput_1 = require("./AdminAuctionCommissionByDateRangeInput");
|
|
23
|
+
var MoneyDecimalDto_1 = require("./MoneyDecimalDto");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the AdminAuctionConfigurationInput interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfAdminAuctionConfigurationInput(value) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function AdminAuctionConfigurationInputFromJSON(json) {
|
|
31
|
+
return AdminAuctionConfigurationInputFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function AdminAuctionConfigurationInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'defaultDurationFromLead': json['defaultDurationFromLead'] == null ? undefined : (0, AuctionDurationDto_1.AuctionDurationDtoFromJSON)(json['defaultDurationFromLead']),
|
|
39
|
+
'defaultInitialBidAmount': json['defaultInitialBidAmount'] == null ? undefined : json['defaultInitialBidAmount'],
|
|
40
|
+
'paidAuctionPrice': json['paidAuctionPrice'] == null ? undefined : (0, MoneyDecimalDto_1.MoneyDecimalDtoFromJSON)(json['paidAuctionPrice']),
|
|
41
|
+
'commissionPercentage': json['commissionPercentage'] == null ? undefined : json['commissionPercentage'],
|
|
42
|
+
'commissionsByDateRange': json['commissionsByDateRange'] == null ? undefined : (json['commissionsByDateRange'].map(AdminAuctionCommissionByDateRangeInput_1.AdminAuctionCommissionByDateRangeInputFromJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function AdminAuctionConfigurationInputToJSON(json) {
|
|
46
|
+
return AdminAuctionConfigurationInputToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function AdminAuctionConfigurationInputToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'defaultDurationFromLead': (0, AuctionDurationDto_1.AuctionDurationDtoToJSON)(value['defaultDurationFromLead']),
|
|
55
|
+
'defaultInitialBidAmount': value['defaultInitialBidAmount'],
|
|
56
|
+
'paidAuctionPrice': (0, MoneyDecimalDto_1.MoneyDecimalDtoToJSON)(value['paidAuctionPrice']),
|
|
57
|
+
'commissionPercentage': value['commissionPercentage'],
|
|
58
|
+
'commissionsByDateRange': value['commissionsByDateRange'] == null ? undefined : (value['commissionsByDateRange'].map(AdminAuctionCommissionByDateRangeInput_1.AdminAuctionCommissionByDateRangeInputToJSON)),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 AuctionCommissionByDateRangeDto
|
|
16
|
+
*/
|
|
17
|
+
export interface AuctionCommissionByDateRangeDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AuctionCommissionByDateRangeDto
|
|
22
|
+
*/
|
|
23
|
+
start: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AuctionCommissionByDateRangeDto
|
|
28
|
+
*/
|
|
29
|
+
end: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof AuctionCommissionByDateRangeDto
|
|
34
|
+
*/
|
|
35
|
+
commissionPercentage: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the AuctionCommissionByDateRangeDto interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfAuctionCommissionByDateRangeDto(value: object): value is AuctionCommissionByDateRangeDto;
|
|
41
|
+
export declare function AuctionCommissionByDateRangeDtoFromJSON(json: any): AuctionCommissionByDateRangeDto;
|
|
42
|
+
export declare function AuctionCommissionByDateRangeDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuctionCommissionByDateRangeDto;
|
|
43
|
+
export declare function AuctionCommissionByDateRangeDtoToJSON(json: any): AuctionCommissionByDateRangeDto;
|
|
44
|
+
export declare function AuctionCommissionByDateRangeDtoToJSONTyped(value?: AuctionCommissionByDateRangeDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.instanceOfAuctionCommissionByDateRangeDto = instanceOfAuctionCommissionByDateRangeDto;
|
|
17
|
+
exports.AuctionCommissionByDateRangeDtoFromJSON = AuctionCommissionByDateRangeDtoFromJSON;
|
|
18
|
+
exports.AuctionCommissionByDateRangeDtoFromJSONTyped = AuctionCommissionByDateRangeDtoFromJSONTyped;
|
|
19
|
+
exports.AuctionCommissionByDateRangeDtoToJSON = AuctionCommissionByDateRangeDtoToJSON;
|
|
20
|
+
exports.AuctionCommissionByDateRangeDtoToJSONTyped = AuctionCommissionByDateRangeDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AuctionCommissionByDateRangeDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAuctionCommissionByDateRangeDto(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 (!('commissionPercentage' in value) || value['commissionPercentage'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function AuctionCommissionByDateRangeDtoFromJSON(json) {
|
|
34
|
+
return AuctionCommissionByDateRangeDtoFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function AuctionCommissionByDateRangeDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'start': json['start'],
|
|
42
|
+
'end': json['end'],
|
|
43
|
+
'commissionPercentage': json['commissionPercentage'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function AuctionCommissionByDateRangeDtoToJSON(json) {
|
|
47
|
+
return AuctionCommissionByDateRangeDtoToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function AuctionCommissionByDateRangeDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'start': value['start'],
|
|
56
|
+
'end': value['end'],
|
|
57
|
+
'commissionPercentage': value['commissionPercentage'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { AuctionDurationDto } from './AuctionDurationDto';
|
|
13
|
+
import type { AuctionCommissionByDateRangeDto } from './AuctionCommissionByDateRangeDto';
|
|
13
14
|
import type { MoneyDto } from './MoneyDto';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
@@ -35,6 +36,18 @@ export interface AuctionConfigurationDto {
|
|
|
35
36
|
* @memberof AuctionConfigurationDto
|
|
36
37
|
*/
|
|
37
38
|
paidAuctionPrice: MoneyDto;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {number}
|
|
42
|
+
* @memberof AuctionConfigurationDto
|
|
43
|
+
*/
|
|
44
|
+
commissionPercentage: number;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {Array<AuctionCommissionByDateRangeDto>}
|
|
48
|
+
* @memberof AuctionConfigurationDto
|
|
49
|
+
*/
|
|
50
|
+
commissionsByDateRange: Array<AuctionCommissionByDateRangeDto>;
|
|
38
51
|
}
|
|
39
52
|
/**
|
|
40
53
|
* Check if a given object implements the AuctionConfigurationDto interface.
|
|
@@ -19,6 +19,7 @@ exports.AuctionConfigurationDtoFromJSONTyped = AuctionConfigurationDtoFromJSONTy
|
|
|
19
19
|
exports.AuctionConfigurationDtoToJSON = AuctionConfigurationDtoToJSON;
|
|
20
20
|
exports.AuctionConfigurationDtoToJSONTyped = AuctionConfigurationDtoToJSONTyped;
|
|
21
21
|
var AuctionDurationDto_1 = require("./AuctionDurationDto");
|
|
22
|
+
var AuctionCommissionByDateRangeDto_1 = require("./AuctionCommissionByDateRangeDto");
|
|
22
23
|
var MoneyDto_1 = require("./MoneyDto");
|
|
23
24
|
/**
|
|
24
25
|
* Check if a given object implements the AuctionConfigurationDto interface.
|
|
@@ -30,6 +31,10 @@ function instanceOfAuctionConfigurationDto(value) {
|
|
|
30
31
|
return false;
|
|
31
32
|
if (!('paidAuctionPrice' in value) || value['paidAuctionPrice'] === undefined)
|
|
32
33
|
return false;
|
|
34
|
+
if (!('commissionPercentage' in value) || value['commissionPercentage'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('commissionsByDateRange' in value) || value['commissionsByDateRange'] === undefined)
|
|
37
|
+
return false;
|
|
33
38
|
return true;
|
|
34
39
|
}
|
|
35
40
|
function AuctionConfigurationDtoFromJSON(json) {
|
|
@@ -43,6 +48,8 @@ function AuctionConfigurationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
48
|
'defaultDurationFromLead': (0, AuctionDurationDto_1.AuctionDurationDtoFromJSON)(json['defaultDurationFromLead']),
|
|
44
49
|
'defaultInitialBidAmount': json['defaultInitialBidAmount'],
|
|
45
50
|
'paidAuctionPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['paidAuctionPrice']),
|
|
51
|
+
'commissionPercentage': json['commissionPercentage'],
|
|
52
|
+
'commissionsByDateRange': (json['commissionsByDateRange'].map(AuctionCommissionByDateRangeDto_1.AuctionCommissionByDateRangeDtoFromJSON)),
|
|
46
53
|
};
|
|
47
54
|
}
|
|
48
55
|
function AuctionConfigurationDtoToJSON(json) {
|
|
@@ -57,5 +64,7 @@ function AuctionConfigurationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
57
64
|
'defaultDurationFromLead': (0, AuctionDurationDto_1.AuctionDurationDtoToJSON)(value['defaultDurationFromLead']),
|
|
58
65
|
'defaultInitialBidAmount': value['defaultInitialBidAmount'],
|
|
59
66
|
'paidAuctionPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['paidAuctionPrice']),
|
|
67
|
+
'commissionPercentage': value['commissionPercentage'],
|
|
68
|
+
'commissionsByDateRange': (value['commissionsByDateRange'].map(AuctionCommissionByDateRangeDto_1.AuctionCommissionByDateRangeDtoToJSON)),
|
|
60
69
|
};
|
|
61
70
|
}
|
|
@@ -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 MoneyDecimalDto
|
|
16
|
+
*/
|
|
17
|
+
export interface MoneyDecimalDto {
|
|
18
|
+
/**
|
|
19
|
+
* Monetary amount, represented as an integer without scale/decimals.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof MoneyDecimalDto
|
|
22
|
+
*/
|
|
23
|
+
amount: number;
|
|
24
|
+
/**
|
|
25
|
+
* Three letter ISO currency code
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof MoneyDecimalDto
|
|
28
|
+
*/
|
|
29
|
+
currencyCode: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the MoneyDecimalDto interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfMoneyDecimalDto(value: object): value is MoneyDecimalDto;
|
|
35
|
+
export declare function MoneyDecimalDtoFromJSON(json: any): MoneyDecimalDto;
|
|
36
|
+
export declare function MoneyDecimalDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): MoneyDecimalDto;
|
|
37
|
+
export declare function MoneyDecimalDtoToJSON(json: any): MoneyDecimalDto;
|
|
38
|
+
export declare function MoneyDecimalDtoToJSONTyped(value?: MoneyDecimalDto | 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.instanceOfMoneyDecimalDto = instanceOfMoneyDecimalDto;
|
|
17
|
+
exports.MoneyDecimalDtoFromJSON = MoneyDecimalDtoFromJSON;
|
|
18
|
+
exports.MoneyDecimalDtoFromJSONTyped = MoneyDecimalDtoFromJSONTyped;
|
|
19
|
+
exports.MoneyDecimalDtoToJSON = MoneyDecimalDtoToJSON;
|
|
20
|
+
exports.MoneyDecimalDtoToJSONTyped = MoneyDecimalDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the MoneyDecimalDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfMoneyDecimalDto(value) {
|
|
25
|
+
if (!('amount' in value) || value['amount'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('currencyCode' in value) || value['currencyCode'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function MoneyDecimalDtoFromJSON(json) {
|
|
32
|
+
return MoneyDecimalDtoFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function MoneyDecimalDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'amount': json['amount'],
|
|
40
|
+
'currencyCode': json['currencyCode'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function MoneyDecimalDtoToJSON(json) {
|
|
44
|
+
return MoneyDecimalDtoToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function MoneyDecimalDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'amount': value['amount'],
|
|
53
|
+
'currencyCode': value['currencyCode'],
|
|
54
|
+
};
|
|
55
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -29,6 +29,8 @@ export * from './AdminAccountSettingsAffiliateCommissionInput';
|
|
|
29
29
|
export * from './AdminAccountSettingsAffiliateInput';
|
|
30
30
|
export * from './AdminAccountSettingsAffiliateReferralDurationInput';
|
|
31
31
|
export * from './AdminAccountSettingsInput';
|
|
32
|
+
export * from './AdminAuctionCommissionByDateRangeInput';
|
|
33
|
+
export * from './AdminAuctionConfigurationInput';
|
|
32
34
|
export * from './AdminBankAccountDto';
|
|
33
35
|
export * from './AdminCompanyStatsDto';
|
|
34
36
|
export * from './AdminCompanyStatsLedger';
|
|
@@ -47,6 +49,7 @@ export * from './AuctionBidInput';
|
|
|
47
49
|
export * from './AuctionBidMetricsDto';
|
|
48
50
|
export * from './AuctionBuyerDto';
|
|
49
51
|
export * from './AuctionBuyerWithTokenDto';
|
|
52
|
+
export * from './AuctionCommissionByDateRangeDto';
|
|
50
53
|
export * from './AuctionConfigurationDto';
|
|
51
54
|
export * from './AuctionDto';
|
|
52
55
|
export * from './AuctionDurationDto';
|
|
@@ -224,6 +227,7 @@ export * from './MajesticMetrics';
|
|
|
224
227
|
export * from './MajesticTopicTrustFlow';
|
|
225
228
|
export * from './ManualLeadBuyerDto';
|
|
226
229
|
export * from './ManualLeadLeaseToOwnDto';
|
|
230
|
+
export * from './MoneyDecimalDto';
|
|
227
231
|
export * from './MoneyDto';
|
|
228
232
|
export * from './MoneyInput';
|
|
229
233
|
export * from './MozMetrics';
|
|
@@ -339,7 +343,6 @@ export * from './TimeTableConfigurationDto';
|
|
|
339
343
|
export * from './TimeTableConfigurationInput';
|
|
340
344
|
export * from './UkBankAccountDetails';
|
|
341
345
|
export * from './UpdateAccountBillingInformationInput';
|
|
342
|
-
export * from './UpdateAuctionConfigurationDto';
|
|
343
346
|
export * from './UpdateAuctionMuteStatusInput';
|
|
344
347
|
export * from './UpdateBuyerDomainTransferIpsTagInputDto';
|
|
345
348
|
export * from './UpdateBuyerNotificationSettingsInput';
|
package/dist/models/index.js
CHANGED
|
@@ -47,6 +47,8 @@ __exportStar(require("./AdminAccountSettingsAffiliateCommissionInput"), exports)
|
|
|
47
47
|
__exportStar(require("./AdminAccountSettingsAffiliateInput"), exports);
|
|
48
48
|
__exportStar(require("./AdminAccountSettingsAffiliateReferralDurationInput"), exports);
|
|
49
49
|
__exportStar(require("./AdminAccountSettingsInput"), exports);
|
|
50
|
+
__exportStar(require("./AdminAuctionCommissionByDateRangeInput"), exports);
|
|
51
|
+
__exportStar(require("./AdminAuctionConfigurationInput"), exports);
|
|
50
52
|
__exportStar(require("./AdminBankAccountDto"), exports);
|
|
51
53
|
__exportStar(require("./AdminCompanyStatsDto"), exports);
|
|
52
54
|
__exportStar(require("./AdminCompanyStatsLedger"), exports);
|
|
@@ -65,6 +67,7 @@ __exportStar(require("./AuctionBidInput"), exports);
|
|
|
65
67
|
__exportStar(require("./AuctionBidMetricsDto"), exports);
|
|
66
68
|
__exportStar(require("./AuctionBuyerDto"), exports);
|
|
67
69
|
__exportStar(require("./AuctionBuyerWithTokenDto"), exports);
|
|
70
|
+
__exportStar(require("./AuctionCommissionByDateRangeDto"), exports);
|
|
68
71
|
__exportStar(require("./AuctionConfigurationDto"), exports);
|
|
69
72
|
__exportStar(require("./AuctionDto"), exports);
|
|
70
73
|
__exportStar(require("./AuctionDurationDto"), exports);
|
|
@@ -242,6 +245,7 @@ __exportStar(require("./MajesticMetrics"), exports);
|
|
|
242
245
|
__exportStar(require("./MajesticTopicTrustFlow"), exports);
|
|
243
246
|
__exportStar(require("./ManualLeadBuyerDto"), exports);
|
|
244
247
|
__exportStar(require("./ManualLeadLeaseToOwnDto"), exports);
|
|
248
|
+
__exportStar(require("./MoneyDecimalDto"), exports);
|
|
245
249
|
__exportStar(require("./MoneyDto"), exports);
|
|
246
250
|
__exportStar(require("./MoneyInput"), exports);
|
|
247
251
|
__exportStar(require("./MozMetrics"), exports);
|
|
@@ -357,7 +361,6 @@ __exportStar(require("./TimeTableConfigurationDto"), exports);
|
|
|
357
361
|
__exportStar(require("./TimeTableConfigurationInput"), exports);
|
|
358
362
|
__exportStar(require("./UkBankAccountDetails"), exports);
|
|
359
363
|
__exportStar(require("./UpdateAccountBillingInformationInput"), exports);
|
|
360
|
-
__exportStar(require("./UpdateAuctionConfigurationDto"), exports);
|
|
361
364
|
__exportStar(require("./UpdateAuctionMuteStatusInput"), exports);
|
|
362
365
|
__exportStar(require("./UpdateBuyerDomainTransferIpsTagInputDto"), exports);
|
|
363
366
|
__exportStar(require("./UpdateBuyerNotificationSettingsInput"), exports);
|