@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
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Nameshift
|
|
5
|
-
* Nameshift API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { AuctionDurationDto } from './AuctionDurationDto';
|
|
17
|
-
import {
|
|
18
|
-
AuctionDurationDtoFromJSON,
|
|
19
|
-
AuctionDurationDtoFromJSONTyped,
|
|
20
|
-
AuctionDurationDtoToJSON,
|
|
21
|
-
AuctionDurationDtoToJSONTyped,
|
|
22
|
-
} from './AuctionDurationDto';
|
|
23
|
-
import type { MoneyDto } from './MoneyDto';
|
|
24
|
-
import {
|
|
25
|
-
MoneyDtoFromJSON,
|
|
26
|
-
MoneyDtoFromJSONTyped,
|
|
27
|
-
MoneyDtoToJSON,
|
|
28
|
-
MoneyDtoToJSONTyped,
|
|
29
|
-
} from './MoneyDto';
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
* @interface UpdateAuctionConfigurationDto
|
|
35
|
-
*/
|
|
36
|
-
export interface UpdateAuctionConfigurationDto {
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {AuctionDurationDto}
|
|
40
|
-
* @memberof UpdateAuctionConfigurationDto
|
|
41
|
-
*/
|
|
42
|
-
defaultDurationFromLead?: AuctionDurationDto;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {number}
|
|
46
|
-
* @memberof UpdateAuctionConfigurationDto
|
|
47
|
-
*/
|
|
48
|
-
defaultInitialBidAmount?: number;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {MoneyDto}
|
|
52
|
-
* @memberof UpdateAuctionConfigurationDto
|
|
53
|
-
*/
|
|
54
|
-
paidAuctionPrice?: MoneyDto;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* Check if a given object implements the UpdateAuctionConfigurationDto interface.
|
|
59
|
-
*/
|
|
60
|
-
export function instanceOfUpdateAuctionConfigurationDto(value: object): value is UpdateAuctionConfigurationDto {
|
|
61
|
-
return true;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function UpdateAuctionConfigurationDtoFromJSON(json: any): UpdateAuctionConfigurationDto {
|
|
65
|
-
return UpdateAuctionConfigurationDtoFromJSONTyped(json, false);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function UpdateAuctionConfigurationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateAuctionConfigurationDto {
|
|
69
|
-
if (json == null) {
|
|
70
|
-
return json;
|
|
71
|
-
}
|
|
72
|
-
return {
|
|
73
|
-
|
|
74
|
-
'defaultDurationFromLead': json['defaultDurationFromLead'] == null ? undefined : AuctionDurationDtoFromJSON(json['defaultDurationFromLead']),
|
|
75
|
-
'defaultInitialBidAmount': json['defaultInitialBidAmount'] == null ? undefined : json['defaultInitialBidAmount'],
|
|
76
|
-
'paidAuctionPrice': json['paidAuctionPrice'] == null ? undefined : MoneyDtoFromJSON(json['paidAuctionPrice']),
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export function UpdateAuctionConfigurationDtoToJSON(json: any): UpdateAuctionConfigurationDto {
|
|
81
|
-
return UpdateAuctionConfigurationDtoToJSONTyped(json, false);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export function UpdateAuctionConfigurationDtoToJSONTyped(value?: UpdateAuctionConfigurationDto | null, ignoreDiscriminator: boolean = false): any {
|
|
85
|
-
if (value == null) {
|
|
86
|
-
return value;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
return {
|
|
90
|
-
|
|
91
|
-
'defaultDurationFromLead': AuctionDurationDtoToJSON(value['defaultDurationFromLead']),
|
|
92
|
-
'defaultInitialBidAmount': value['defaultInitialBidAmount'],
|
|
93
|
-
'paidAuctionPrice': MoneyDtoToJSON(value['paidAuctionPrice']),
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
|