@randock/nameshift-api-client 0.0.335 → 0.0.337
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 +13 -0
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +15 -1
- package/dist/apis/AdminApi.js +63 -0
- package/dist/apis/AuctionsApi.d.ts +32 -0
- package/dist/apis/AuctionsApi.js +143 -0
- package/dist/apis/BuyersApi.d.ts +15 -1
- package/dist/apis/BuyersApi.js +67 -4
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AuctionListItemDto.d.ts +119 -0
- package/dist/models/AuctionListItemDto.js +114 -0
- package/dist/models/AuctionListItemDtoDomainInformation.d.ts +44 -0
- package/dist/models/AuctionListItemDtoDomainInformation.js +59 -0
- package/dist/models/AuctionListItemDtoSellerAccount.d.ts +50 -0
- package/dist/models/AuctionListItemDtoSellerAccount.js +63 -0
- package/dist/models/BuyerAuctionListItemDto.d.ts +125 -0
- package/dist/models/BuyerAuctionListItemDto.js +118 -0
- package/dist/models/BuyerAuctionListItemDtoDomainInformation.d.ts +44 -0
- package/dist/models/BuyerAuctionListItemDtoDomainInformation.js +59 -0
- package/dist/models/BuyerAuctionListItemDtoSellerAccount.d.ts +50 -0
- package/dist/models/BuyerAuctionListItemDtoSellerAccount.js +63 -0
- package/dist/models/BuyerSessionDto.d.ts +6 -0
- package/dist/models/BuyerSessionDto.js +4 -0
- package/dist/models/GetAllAuctions200Response.d.ts +47 -0
- package/dist/models/GetAllAuctions200Response.js +62 -0
- package/dist/models/GetAllAuctions200Response1.d.ts +47 -0
- package/dist/models/GetAllAuctions200Response1.js +62 -0
- package/dist/models/GetBuyerAuctions200Response.d.ts +47 -0
- package/dist/models/GetBuyerAuctions200Response.js +62 -0
- package/dist/models/SellerAuctionListItemDto.d.ts +119 -0
- package/dist/models/SellerAuctionListItemDto.js +114 -0
- package/dist/models/SellerAuctionListItemDtoDomainInformation.d.ts +44 -0
- package/dist/models/SellerAuctionListItemDtoDomainInformation.js +59 -0
- package/dist/models/SellerAuctionListItemDtoSellerAccount.d.ts +50 -0
- package/dist/models/SellerAuctionListItemDtoSellerAccount.js +63 -0
- package/dist/models/index.d.ts +12 -0
- package/dist/models/index.js +12 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +60 -0
- package/src/apis/AuctionsApi.ts +90 -0
- package/src/apis/BuyersApi.ts +64 -4
- package/src/apis/index.ts +1 -0
- package/src/models/AuctionListItemDto.ts +217 -0
- package/src/models/AuctionListItemDtoDomainInformation.ts +84 -0
- package/src/models/AuctionListItemDtoSellerAccount.ts +93 -0
- package/src/models/BuyerAuctionListItemDto.ts +226 -0
- package/src/models/BuyerAuctionListItemDtoDomainInformation.ts +84 -0
- package/src/models/BuyerAuctionListItemDtoSellerAccount.ts +93 -0
- package/src/models/BuyerSessionDto.ts +9 -0
- package/src/models/GetAllAuctions200Response.ts +106 -0
- package/src/models/GetAllAuctions200Response1.ts +106 -0
- package/src/models/GetBuyerAuctions200Response.ts +106 -0
- package/src/models/SellerAuctionListItemDto.ts +217 -0
- package/src/models/SellerAuctionListItemDtoDomainInformation.ts +84 -0
- package/src/models/SellerAuctionListItemDtoSellerAccount.ts +93 -0
- package/src/models/index.ts +12 -0
|
@@ -0,0 +1,106 @@
|
|
|
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 { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
17
|
+
import {
|
|
18
|
+
PaginateResponseLinksFromJSON,
|
|
19
|
+
PaginateResponseLinksFromJSONTyped,
|
|
20
|
+
PaginateResponseLinksToJSON,
|
|
21
|
+
PaginateResponseLinksToJSONTyped,
|
|
22
|
+
} from './PaginateResponseLinks';
|
|
23
|
+
import type { BuyerAuctionListItemDto } from './BuyerAuctionListItemDto';
|
|
24
|
+
import {
|
|
25
|
+
BuyerAuctionListItemDtoFromJSON,
|
|
26
|
+
BuyerAuctionListItemDtoFromJSONTyped,
|
|
27
|
+
BuyerAuctionListItemDtoToJSON,
|
|
28
|
+
BuyerAuctionListItemDtoToJSONTyped,
|
|
29
|
+
} from './BuyerAuctionListItemDto';
|
|
30
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
31
|
+
import {
|
|
32
|
+
PaginateResponseMetaFromJSON,
|
|
33
|
+
PaginateResponseMetaFromJSONTyped,
|
|
34
|
+
PaginateResponseMetaToJSON,
|
|
35
|
+
PaginateResponseMetaToJSONTyped,
|
|
36
|
+
} from './PaginateResponseMeta';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface GetBuyerAuctions200Response
|
|
42
|
+
*/
|
|
43
|
+
export interface GetBuyerAuctions200Response {
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Array<BuyerAuctionListItemDto>}
|
|
47
|
+
* @memberof GetBuyerAuctions200Response
|
|
48
|
+
*/
|
|
49
|
+
data: Array<BuyerAuctionListItemDto>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {PaginateResponseMeta}
|
|
53
|
+
* @memberof GetBuyerAuctions200Response
|
|
54
|
+
*/
|
|
55
|
+
meta: PaginateResponseMeta;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {PaginateResponseLinks}
|
|
59
|
+
* @memberof GetBuyerAuctions200Response
|
|
60
|
+
*/
|
|
61
|
+
links: PaginateResponseLinks;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the GetBuyerAuctions200Response interface.
|
|
66
|
+
*/
|
|
67
|
+
export function instanceOfGetBuyerAuctions200Response(value: object): value is GetBuyerAuctions200Response {
|
|
68
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
69
|
+
if (!('meta' in value) || value['meta'] === undefined) return false;
|
|
70
|
+
if (!('links' in value) || value['links'] === undefined) return false;
|
|
71
|
+
return true;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function GetBuyerAuctions200ResponseFromJSON(json: any): GetBuyerAuctions200Response {
|
|
75
|
+
return GetBuyerAuctions200ResponseFromJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function GetBuyerAuctions200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetBuyerAuctions200Response {
|
|
79
|
+
if (json == null) {
|
|
80
|
+
return json;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'data': ((json['data'] as Array<any>).map(BuyerAuctionListItemDtoFromJSON)),
|
|
85
|
+
'meta': PaginateResponseMetaFromJSON(json['meta']),
|
|
86
|
+
'links': PaginateResponseLinksFromJSON(json['links']),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function GetBuyerAuctions200ResponseToJSON(json: any): GetBuyerAuctions200Response {
|
|
91
|
+
return GetBuyerAuctions200ResponseToJSONTyped(json, false);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function GetBuyerAuctions200ResponseToJSONTyped(value?: GetBuyerAuctions200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
95
|
+
if (value == null) {
|
|
96
|
+
return value;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
return {
|
|
100
|
+
|
|
101
|
+
'data': ((value['data'] as Array<any>).map(BuyerAuctionListItemDtoToJSON)),
|
|
102
|
+
'meta': PaginateResponseMetaToJSON(value['meta']),
|
|
103
|
+
'links': PaginateResponseLinksToJSON(value['links']),
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
@@ -0,0 +1,217 @@
|
|
|
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 { AuctionBidDto } from './AuctionBidDto';
|
|
17
|
+
import {
|
|
18
|
+
AuctionBidDtoFromJSON,
|
|
19
|
+
AuctionBidDtoFromJSONTyped,
|
|
20
|
+
AuctionBidDtoToJSON,
|
|
21
|
+
AuctionBidDtoToJSONTyped,
|
|
22
|
+
} from './AuctionBidDto';
|
|
23
|
+
import type { SellerAuctionListItemDtoSellerAccount } from './SellerAuctionListItemDtoSellerAccount';
|
|
24
|
+
import {
|
|
25
|
+
SellerAuctionListItemDtoSellerAccountFromJSON,
|
|
26
|
+
SellerAuctionListItemDtoSellerAccountFromJSONTyped,
|
|
27
|
+
SellerAuctionListItemDtoSellerAccountToJSON,
|
|
28
|
+
SellerAuctionListItemDtoSellerAccountToJSONTyped,
|
|
29
|
+
} from './SellerAuctionListItemDtoSellerAccount';
|
|
30
|
+
import type { MoneyDto } from './MoneyDto';
|
|
31
|
+
import {
|
|
32
|
+
MoneyDtoFromJSON,
|
|
33
|
+
MoneyDtoFromJSONTyped,
|
|
34
|
+
MoneyDtoToJSON,
|
|
35
|
+
MoneyDtoToJSONTyped,
|
|
36
|
+
} from './MoneyDto';
|
|
37
|
+
import type { SellerAuctionListItemDtoDomainInformation } from './SellerAuctionListItemDtoDomainInformation';
|
|
38
|
+
import {
|
|
39
|
+
SellerAuctionListItemDtoDomainInformationFromJSON,
|
|
40
|
+
SellerAuctionListItemDtoDomainInformationFromJSONTyped,
|
|
41
|
+
SellerAuctionListItemDtoDomainInformationToJSON,
|
|
42
|
+
SellerAuctionListItemDtoDomainInformationToJSONTyped,
|
|
43
|
+
} from './SellerAuctionListItemDtoDomainInformation';
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @export
|
|
48
|
+
* @interface SellerAuctionListItemDto
|
|
49
|
+
*/
|
|
50
|
+
export interface SellerAuctionListItemDto {
|
|
51
|
+
/**
|
|
52
|
+
* Auction Id
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof SellerAuctionListItemDto
|
|
55
|
+
*/
|
|
56
|
+
id: string;
|
|
57
|
+
/**
|
|
58
|
+
* Auction status
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof SellerAuctionListItemDto
|
|
61
|
+
*/
|
|
62
|
+
status: SellerAuctionListItemDtoStatusEnum;
|
|
63
|
+
/**
|
|
64
|
+
* Auction minimum bid
|
|
65
|
+
* @type {MoneyDto}
|
|
66
|
+
* @memberof SellerAuctionListItemDto
|
|
67
|
+
*/
|
|
68
|
+
minimumBid: MoneyDto;
|
|
69
|
+
/**
|
|
70
|
+
* Auction reserve price
|
|
71
|
+
* @type {MoneyDto}
|
|
72
|
+
* @memberof SellerAuctionListItemDto
|
|
73
|
+
*/
|
|
74
|
+
reservePrice: MoneyDto | null;
|
|
75
|
+
/**
|
|
76
|
+
* Auction highest bid
|
|
77
|
+
* @type {MoneyDto}
|
|
78
|
+
* @memberof SellerAuctionListItemDto
|
|
79
|
+
*/
|
|
80
|
+
highestBid: MoneyDto | null;
|
|
81
|
+
/**
|
|
82
|
+
* Auction start date
|
|
83
|
+
* @type {Date}
|
|
84
|
+
* @memberof SellerAuctionListItemDto
|
|
85
|
+
*/
|
|
86
|
+
startDate: Date;
|
|
87
|
+
/**
|
|
88
|
+
* Auction end date
|
|
89
|
+
* @type {Date}
|
|
90
|
+
* @memberof SellerAuctionListItemDto
|
|
91
|
+
*/
|
|
92
|
+
endDate: Date;
|
|
93
|
+
/**
|
|
94
|
+
* Auction finished at
|
|
95
|
+
* @type {Date}
|
|
96
|
+
* @memberof SellerAuctionListItemDto
|
|
97
|
+
*/
|
|
98
|
+
finishedAt: Date | null;
|
|
99
|
+
/**
|
|
100
|
+
* Auction creation date
|
|
101
|
+
* @type {Date}
|
|
102
|
+
* @memberof SellerAuctionListItemDto
|
|
103
|
+
*/
|
|
104
|
+
createdAt: Date;
|
|
105
|
+
/**
|
|
106
|
+
* Auction domain information
|
|
107
|
+
* @type {SellerAuctionListItemDtoDomainInformation}
|
|
108
|
+
* @memberof SellerAuctionListItemDto
|
|
109
|
+
*/
|
|
110
|
+
domain: SellerAuctionListItemDtoDomainInformation;
|
|
111
|
+
/**
|
|
112
|
+
* Auction seller account information
|
|
113
|
+
* @type {SellerAuctionListItemDtoSellerAccount}
|
|
114
|
+
* @memberof SellerAuctionListItemDto
|
|
115
|
+
*/
|
|
116
|
+
sellerAccount: SellerAuctionListItemDtoSellerAccount;
|
|
117
|
+
/**
|
|
118
|
+
* Auction number of bids
|
|
119
|
+
* @type {number}
|
|
120
|
+
* @memberof SellerAuctionListItemDto
|
|
121
|
+
*/
|
|
122
|
+
numberOfBids: number;
|
|
123
|
+
/**
|
|
124
|
+
* List of auction bids
|
|
125
|
+
* @type {Array<AuctionBidDto>}
|
|
126
|
+
* @memberof SellerAuctionListItemDto
|
|
127
|
+
*/
|
|
128
|
+
bids: Array<AuctionBidDto>;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* @export
|
|
134
|
+
*/
|
|
135
|
+
export const SellerAuctionListItemDtoStatusEnum = {
|
|
136
|
+
SCHEDULED: 'scheduled',
|
|
137
|
+
ACTIVE: 'active',
|
|
138
|
+
ENDED: 'ended',
|
|
139
|
+
PENDING_PAYMENT: 'pending_payment',
|
|
140
|
+
FINISHED: 'finished'
|
|
141
|
+
} as const;
|
|
142
|
+
export type SellerAuctionListItemDtoStatusEnum = typeof SellerAuctionListItemDtoStatusEnum[keyof typeof SellerAuctionListItemDtoStatusEnum];
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Check if a given object implements the SellerAuctionListItemDto interface.
|
|
147
|
+
*/
|
|
148
|
+
export function instanceOfSellerAuctionListItemDto(value: object): value is SellerAuctionListItemDto {
|
|
149
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
150
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
151
|
+
if (!('minimumBid' in value) || value['minimumBid'] === undefined) return false;
|
|
152
|
+
if (!('reservePrice' in value) || value['reservePrice'] === undefined) return false;
|
|
153
|
+
if (!('highestBid' in value) || value['highestBid'] === undefined) return false;
|
|
154
|
+
if (!('startDate' in value) || value['startDate'] === undefined) return false;
|
|
155
|
+
if (!('endDate' in value) || value['endDate'] === undefined) return false;
|
|
156
|
+
if (!('finishedAt' in value) || value['finishedAt'] === undefined) return false;
|
|
157
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
158
|
+
if (!('domain' in value) || value['domain'] === undefined) return false;
|
|
159
|
+
if (!('sellerAccount' in value) || value['sellerAccount'] === undefined) return false;
|
|
160
|
+
if (!('numberOfBids' in value) || value['numberOfBids'] === undefined) return false;
|
|
161
|
+
if (!('bids' in value) || value['bids'] === undefined) return false;
|
|
162
|
+
return true;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export function SellerAuctionListItemDtoFromJSON(json: any): SellerAuctionListItemDto {
|
|
166
|
+
return SellerAuctionListItemDtoFromJSONTyped(json, false);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export function SellerAuctionListItemDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerAuctionListItemDto {
|
|
170
|
+
if (json == null) {
|
|
171
|
+
return json;
|
|
172
|
+
}
|
|
173
|
+
return {
|
|
174
|
+
|
|
175
|
+
'id': json['id'],
|
|
176
|
+
'status': json['status'],
|
|
177
|
+
'minimumBid': MoneyDtoFromJSON(json['minimumBid']),
|
|
178
|
+
'reservePrice': MoneyDtoFromJSON(json['reservePrice']),
|
|
179
|
+
'highestBid': MoneyDtoFromJSON(json['highestBid']),
|
|
180
|
+
'startDate': (new Date(json['startDate'])),
|
|
181
|
+
'endDate': (new Date(json['endDate'])),
|
|
182
|
+
'finishedAt': (json['finishedAt'] == null ? null : new Date(json['finishedAt'])),
|
|
183
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
184
|
+
'domain': SellerAuctionListItemDtoDomainInformationFromJSON(json['domain']),
|
|
185
|
+
'sellerAccount': SellerAuctionListItemDtoSellerAccountFromJSON(json['sellerAccount']),
|
|
186
|
+
'numberOfBids': json['numberOfBids'],
|
|
187
|
+
'bids': ((json['bids'] as Array<any>).map(AuctionBidDtoFromJSON)),
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export function SellerAuctionListItemDtoToJSON(json: any): SellerAuctionListItemDto {
|
|
192
|
+
return SellerAuctionListItemDtoToJSONTyped(json, false);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export function SellerAuctionListItemDtoToJSONTyped(value?: SellerAuctionListItemDto | null, ignoreDiscriminator: boolean = false): any {
|
|
196
|
+
if (value == null) {
|
|
197
|
+
return value;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
return {
|
|
201
|
+
|
|
202
|
+
'id': value['id'],
|
|
203
|
+
'status': value['status'],
|
|
204
|
+
'minimumBid': MoneyDtoToJSON(value['minimumBid']),
|
|
205
|
+
'reservePrice': MoneyDtoToJSON(value['reservePrice']),
|
|
206
|
+
'highestBid': MoneyDtoToJSON(value['highestBid']),
|
|
207
|
+
'startDate': ((value['startDate']).toISOString()),
|
|
208
|
+
'endDate': ((value['endDate']).toISOString()),
|
|
209
|
+
'finishedAt': (value['finishedAt'] == null ? null : (value['finishedAt'] as any).toISOString()),
|
|
210
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
211
|
+
'domain': SellerAuctionListItemDtoDomainInformationToJSON(value['domain']),
|
|
212
|
+
'sellerAccount': SellerAuctionListItemDtoSellerAccountToJSON(value['sellerAccount']),
|
|
213
|
+
'numberOfBids': value['numberOfBids'],
|
|
214
|
+
'bids': ((value['bids'] as Array<any>).map(AuctionBidDtoToJSON)),
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SellerAuctionListItemDtoDomainInformation
|
|
20
|
+
*/
|
|
21
|
+
export interface SellerAuctionListItemDtoDomainInformation {
|
|
22
|
+
/**
|
|
23
|
+
* Domain TLD
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof SellerAuctionListItemDtoDomainInformation
|
|
26
|
+
*/
|
|
27
|
+
tld: string;
|
|
28
|
+
/**
|
|
29
|
+
* Domain name
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof SellerAuctionListItemDtoDomainInformation
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
* Domain display name
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof SellerAuctionListItemDtoDomainInformation
|
|
38
|
+
*/
|
|
39
|
+
displayName: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the SellerAuctionListItemDtoDomainInformation interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfSellerAuctionListItemDtoDomainInformation(value: object): value is SellerAuctionListItemDtoDomainInformation {
|
|
46
|
+
if (!('tld' in value) || value['tld'] === undefined) return false;
|
|
47
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
48
|
+
if (!('displayName' in value) || value['displayName'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function SellerAuctionListItemDtoDomainInformationFromJSON(json: any): SellerAuctionListItemDtoDomainInformation {
|
|
53
|
+
return SellerAuctionListItemDtoDomainInformationFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function SellerAuctionListItemDtoDomainInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerAuctionListItemDtoDomainInformation {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'tld': json['tld'],
|
|
63
|
+
'name': json['name'],
|
|
64
|
+
'displayName': json['displayName'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function SellerAuctionListItemDtoDomainInformationToJSON(json: any): SellerAuctionListItemDtoDomainInformation {
|
|
69
|
+
return SellerAuctionListItemDtoDomainInformationToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function SellerAuctionListItemDtoDomainInformationToJSONTyped(value?: SellerAuctionListItemDtoDomainInformation | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'tld': value['tld'],
|
|
80
|
+
'name': value['name'],
|
|
81
|
+
'displayName': value['displayName'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SellerAuctionListItemDtoSellerAccount
|
|
20
|
+
*/
|
|
21
|
+
export interface SellerAuctionListItemDtoSellerAccount {
|
|
22
|
+
/**
|
|
23
|
+
* Account ID
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof SellerAuctionListItemDtoSellerAccount
|
|
26
|
+
*/
|
|
27
|
+
accountId: string;
|
|
28
|
+
/**
|
|
29
|
+
* Account identifier
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof SellerAuctionListItemDtoSellerAccount
|
|
32
|
+
*/
|
|
33
|
+
identifier: string;
|
|
34
|
+
/**
|
|
35
|
+
* Account name
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof SellerAuctionListItemDtoSellerAccount
|
|
38
|
+
*/
|
|
39
|
+
name: string | null;
|
|
40
|
+
/**
|
|
41
|
+
* Indicates if account is a business or not
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof SellerAuctionListItemDtoSellerAccount
|
|
44
|
+
*/
|
|
45
|
+
isBusiness: boolean | null;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the SellerAuctionListItemDtoSellerAccount interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfSellerAuctionListItemDtoSellerAccount(value: object): value is SellerAuctionListItemDtoSellerAccount {
|
|
52
|
+
if (!('accountId' in value) || value['accountId'] === undefined) return false;
|
|
53
|
+
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
54
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
55
|
+
if (!('isBusiness' in value) || value['isBusiness'] === undefined) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function SellerAuctionListItemDtoSellerAccountFromJSON(json: any): SellerAuctionListItemDtoSellerAccount {
|
|
60
|
+
return SellerAuctionListItemDtoSellerAccountFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function SellerAuctionListItemDtoSellerAccountFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerAuctionListItemDtoSellerAccount {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'accountId': json['accountId'],
|
|
70
|
+
'identifier': json['identifier'],
|
|
71
|
+
'name': json['name'],
|
|
72
|
+
'isBusiness': json['isBusiness'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function SellerAuctionListItemDtoSellerAccountToJSON(json: any): SellerAuctionListItemDtoSellerAccount {
|
|
77
|
+
return SellerAuctionListItemDtoSellerAccountToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function SellerAuctionListItemDtoSellerAccountToJSONTyped(value?: SellerAuctionListItemDtoSellerAccount | null, ignoreDiscriminator: boolean = false): any {
|
|
81
|
+
if (value == null) {
|
|
82
|
+
return value;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return {
|
|
86
|
+
|
|
87
|
+
'accountId': value['accountId'],
|
|
88
|
+
'identifier': value['identifier'],
|
|
89
|
+
'name': value['name'],
|
|
90
|
+
'isBusiness': value['isBusiness'],
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -47,6 +47,9 @@ export * from './AuctionBidMetricsDto';
|
|
|
47
47
|
export * from './AuctionBuyerDto';
|
|
48
48
|
export * from './AuctionBuyerWithTokenDto';
|
|
49
49
|
export * from './AuctionDto';
|
|
50
|
+
export * from './AuctionListItemDto';
|
|
51
|
+
export * from './AuctionListItemDtoDomainInformation';
|
|
52
|
+
export * from './AuctionListItemDtoSellerAccount';
|
|
50
53
|
export * from './BadRequestException';
|
|
51
54
|
export * from './BatchDeleteBuyerLeadsInput';
|
|
52
55
|
export * from './BatchImportPreviewDto';
|
|
@@ -58,6 +61,9 @@ export * from './BillingInformationDto';
|
|
|
58
61
|
export * from './BulkMarkBuyerNotificationsAsReadInputDto';
|
|
59
62
|
export * from './BulkMarkNotificationsAsReadInputDto';
|
|
60
63
|
export * from './BulkUpdateDomainsWithFiltersInput';
|
|
64
|
+
export * from './BuyerAuctionListItemDto';
|
|
65
|
+
export * from './BuyerAuctionListItemDtoDomainInformation';
|
|
66
|
+
export * from './BuyerAuctionListItemDtoSellerAccount';
|
|
61
67
|
export * from './BuyerDomainTransferAuthCodeDto';
|
|
62
68
|
export * from './BuyerDomainTransferListItemDomainDto';
|
|
63
69
|
export * from './BuyerDomainTransferListItemDto';
|
|
@@ -133,6 +139,8 @@ export * from './DomainUrlDto';
|
|
|
133
139
|
export * from './EppBatchUpdateInput';
|
|
134
140
|
export * from './ForgotPasswordRequestInput';
|
|
135
141
|
export * from './GetAllAffiliateCommissions200Response';
|
|
142
|
+
export * from './GetAllAuctions200Response';
|
|
143
|
+
export * from './GetAllAuctions200Response1';
|
|
136
144
|
export * from './GetAllDomainTransfers200Response';
|
|
137
145
|
export * from './GetAllInvoices200Response';
|
|
138
146
|
export * from './GetAllOrders200Response';
|
|
@@ -140,6 +148,7 @@ export * from './GetAllOwnedDomains200Response';
|
|
|
140
148
|
export * from './GetAllReferrals200Response';
|
|
141
149
|
export * from './GetAllSubscriptions200Response';
|
|
142
150
|
export * from './GetAllSubscriptions200Response1';
|
|
151
|
+
export * from './GetBuyerAuctions200Response';
|
|
143
152
|
export * from './GetBuyerInvoices200Response';
|
|
144
153
|
export * from './GetBuyerLeads200Response';
|
|
145
154
|
export * from './GetBuyerSubscriptions200Response';
|
|
@@ -245,6 +254,9 @@ export * from './RequestAccessTokenInput';
|
|
|
245
254
|
export * from './RequestEmailOtpInput';
|
|
246
255
|
export * from './SellerAccountReferralListItemDto';
|
|
247
256
|
export * from './SellerAffiliateCommissionDto';
|
|
257
|
+
export * from './SellerAuctionListItemDto';
|
|
258
|
+
export * from './SellerAuctionListItemDtoDomainInformation';
|
|
259
|
+
export * from './SellerAuctionListItemDtoSellerAccount';
|
|
248
260
|
export * from './SellerDomainAffiliateCommissionDto';
|
|
249
261
|
export * from './SellerDomainAffiliateCommissionDtoDomain';
|
|
250
262
|
export * from './SellerDomainTransferAuthCodeDto';
|