@randock/nameshift-api-client 0.0.369 → 0.0.371
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 +6 -0
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +12 -1
- package/dist/apis/AdminApi.js +54 -0
- package/dist/models/AccountCountryStatsDto.d.ts +38 -0
- package/dist/models/AccountCountryStatsDto.js +55 -0
- package/dist/models/AccountsStatsDto.d.ts +56 -0
- package/dist/models/AccountsStatsDto.js +67 -0
- package/dist/models/AdminDashboardStatsDto.d.ts +61 -0
- package/dist/models/AdminDashboardStatsDto.js +72 -0
- package/dist/models/AffiliatesStatsDto.d.ts +32 -0
- package/dist/models/AffiliatesStatsDto.js +51 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
- package/dist/models/PaymentMethodsStatsDto.d.ts +62 -0
- package/dist/models/PaymentMethodsStatsDto.js +71 -0
- package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
- package/dist/models/PrivateAccountGetMeResponse.js +2 -1
- package/dist/models/TopSellerAccountDto.d.ts +44 -0
- package/dist/models/TopSellerAccountDto.js +59 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +45 -0
- package/src/models/AccountCountryStatsDto.ts +75 -0
- package/src/models/AccountsStatsDto.ts +102 -0
- package/src/models/AdminDashboardStatsDto.ts +138 -0
- package/src/models/AffiliatesStatsDto.ts +66 -0
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
- package/src/models/PaymentMethodsStatsDto.ts +111 -0
- package/src/models/PrivateAccountGetMeResponse.ts +2 -1
- package/src/models/TopSellerAccountDto.ts +84 -0
- package/src/models/index.ts +6 -0
|
@@ -0,0 +1,138 @@
|
|
|
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 { AccountsStatsDto } from './AccountsStatsDto';
|
|
17
|
+
import {
|
|
18
|
+
AccountsStatsDtoFromJSON,
|
|
19
|
+
AccountsStatsDtoFromJSONTyped,
|
|
20
|
+
AccountsStatsDtoToJSON,
|
|
21
|
+
AccountsStatsDtoToJSONTyped,
|
|
22
|
+
} from './AccountsStatsDto';
|
|
23
|
+
import type { AffiliatesStatsDto } from './AffiliatesStatsDto';
|
|
24
|
+
import {
|
|
25
|
+
AffiliatesStatsDtoFromJSON,
|
|
26
|
+
AffiliatesStatsDtoFromJSONTyped,
|
|
27
|
+
AffiliatesStatsDtoToJSON,
|
|
28
|
+
AffiliatesStatsDtoToJSONTyped,
|
|
29
|
+
} from './AffiliatesStatsDto';
|
|
30
|
+
import type { AccountCountryStatsDto } from './AccountCountryStatsDto';
|
|
31
|
+
import {
|
|
32
|
+
AccountCountryStatsDtoFromJSON,
|
|
33
|
+
AccountCountryStatsDtoFromJSONTyped,
|
|
34
|
+
AccountCountryStatsDtoToJSON,
|
|
35
|
+
AccountCountryStatsDtoToJSONTyped,
|
|
36
|
+
} from './AccountCountryStatsDto';
|
|
37
|
+
import type { PaymentMethodsStatsDto } from './PaymentMethodsStatsDto';
|
|
38
|
+
import {
|
|
39
|
+
PaymentMethodsStatsDtoFromJSON,
|
|
40
|
+
PaymentMethodsStatsDtoFromJSONTyped,
|
|
41
|
+
PaymentMethodsStatsDtoToJSON,
|
|
42
|
+
PaymentMethodsStatsDtoToJSONTyped,
|
|
43
|
+
} from './PaymentMethodsStatsDto';
|
|
44
|
+
import type { TopSellerAccountDto } from './TopSellerAccountDto';
|
|
45
|
+
import {
|
|
46
|
+
TopSellerAccountDtoFromJSON,
|
|
47
|
+
TopSellerAccountDtoFromJSONTyped,
|
|
48
|
+
TopSellerAccountDtoToJSON,
|
|
49
|
+
TopSellerAccountDtoToJSONTyped,
|
|
50
|
+
} from './TopSellerAccountDto';
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @export
|
|
55
|
+
* @interface AdminDashboardStatsDto
|
|
56
|
+
*/
|
|
57
|
+
export interface AdminDashboardStatsDto {
|
|
58
|
+
/**
|
|
59
|
+
* Payment methods statistics
|
|
60
|
+
* @type {PaymentMethodsStatsDto}
|
|
61
|
+
* @memberof AdminDashboardStatsDto
|
|
62
|
+
*/
|
|
63
|
+
paymentMethods: PaymentMethodsStatsDto;
|
|
64
|
+
/**
|
|
65
|
+
* Affiliates statistics
|
|
66
|
+
* @type {AffiliatesStatsDto}
|
|
67
|
+
* @memberof AdminDashboardStatsDto
|
|
68
|
+
*/
|
|
69
|
+
affiliates: AffiliatesStatsDto;
|
|
70
|
+
/**
|
|
71
|
+
* Accounts statistics
|
|
72
|
+
* @type {AccountsStatsDto}
|
|
73
|
+
* @memberof AdminDashboardStatsDto
|
|
74
|
+
*/
|
|
75
|
+
accounts: AccountsStatsDto;
|
|
76
|
+
/**
|
|
77
|
+
* List of account countries with count
|
|
78
|
+
* @type {Array<AccountCountryStatsDto>}
|
|
79
|
+
* @memberof AdminDashboardStatsDto
|
|
80
|
+
*/
|
|
81
|
+
accountCountries: Array<AccountCountryStatsDto>;
|
|
82
|
+
/**
|
|
83
|
+
* Top 10 accounts with most sold domains
|
|
84
|
+
* @type {Array<TopSellerAccountDto>}
|
|
85
|
+
* @memberof AdminDashboardStatsDto
|
|
86
|
+
*/
|
|
87
|
+
topSellerAccounts: Array<TopSellerAccountDto>;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Check if a given object implements the AdminDashboardStatsDto interface.
|
|
92
|
+
*/
|
|
93
|
+
export function instanceOfAdminDashboardStatsDto(value: object): value is AdminDashboardStatsDto {
|
|
94
|
+
if (!('paymentMethods' in value) || value['paymentMethods'] === undefined) return false;
|
|
95
|
+
if (!('affiliates' in value) || value['affiliates'] === undefined) return false;
|
|
96
|
+
if (!('accounts' in value) || value['accounts'] === undefined) return false;
|
|
97
|
+
if (!('accountCountries' in value) || value['accountCountries'] === undefined) return false;
|
|
98
|
+
if (!('topSellerAccounts' in value) || value['topSellerAccounts'] === undefined) return false;
|
|
99
|
+
return true;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export function AdminDashboardStatsDtoFromJSON(json: any): AdminDashboardStatsDto {
|
|
103
|
+
return AdminDashboardStatsDtoFromJSONTyped(json, false);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export function AdminDashboardStatsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminDashboardStatsDto {
|
|
107
|
+
if (json == null) {
|
|
108
|
+
return json;
|
|
109
|
+
}
|
|
110
|
+
return {
|
|
111
|
+
|
|
112
|
+
'paymentMethods': PaymentMethodsStatsDtoFromJSON(json['paymentMethods']),
|
|
113
|
+
'affiliates': AffiliatesStatsDtoFromJSON(json['affiliates']),
|
|
114
|
+
'accounts': AccountsStatsDtoFromJSON(json['accounts']),
|
|
115
|
+
'accountCountries': ((json['accountCountries'] as Array<any>).map(AccountCountryStatsDtoFromJSON)),
|
|
116
|
+
'topSellerAccounts': ((json['topSellerAccounts'] as Array<any>).map(TopSellerAccountDtoFromJSON)),
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export function AdminDashboardStatsDtoToJSON(json: any): AdminDashboardStatsDto {
|
|
121
|
+
return AdminDashboardStatsDtoToJSONTyped(json, false);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export function AdminDashboardStatsDtoToJSONTyped(value?: AdminDashboardStatsDto | null, ignoreDiscriminator: boolean = false): any {
|
|
125
|
+
if (value == null) {
|
|
126
|
+
return value;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
return {
|
|
130
|
+
|
|
131
|
+
'paymentMethods': PaymentMethodsStatsDtoToJSON(value['paymentMethods']),
|
|
132
|
+
'affiliates': AffiliatesStatsDtoToJSON(value['affiliates']),
|
|
133
|
+
'accounts': AccountsStatsDtoToJSON(value['accounts']),
|
|
134
|
+
'accountCountries': ((value['accountCountries'] as Array<any>).map(AccountCountryStatsDtoToJSON)),
|
|
135
|
+
'topSellerAccounts': ((value['topSellerAccounts'] as Array<any>).map(TopSellerAccountDtoToJSON)),
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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 AffiliatesStatsDto
|
|
20
|
+
*/
|
|
21
|
+
export interface AffiliatesStatsDto {
|
|
22
|
+
/**
|
|
23
|
+
* Number of accounts with affiliates
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof AffiliatesStatsDto
|
|
26
|
+
*/
|
|
27
|
+
accountsWithAffiliates: number;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the AffiliatesStatsDto interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfAffiliatesStatsDto(value: object): value is AffiliatesStatsDto {
|
|
34
|
+
if (!('accountsWithAffiliates' in value) || value['accountsWithAffiliates'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function AffiliatesStatsDtoFromJSON(json: any): AffiliatesStatsDto {
|
|
39
|
+
return AffiliatesStatsDtoFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function AffiliatesStatsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AffiliatesStatsDto {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'accountsWithAffiliates': json['accountsWithAffiliates'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function AffiliatesStatsDtoToJSON(json: any): AffiliatesStatsDto {
|
|
53
|
+
return AffiliatesStatsDtoToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function AffiliatesStatsDtoToJSONTyped(value?: AffiliatesStatsDto | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'accountsWithAffiliates': value['accountsWithAffiliates'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts
CHANGED
|
@@ -154,7 +154,8 @@ export const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatur
|
|
|
154
154
|
SELLER_TRANSFER_COSTS_PAYMENT: 'SELLER_TRANSFER_COSTS_PAYMENT',
|
|
155
155
|
NOTIFICATIONS_MANAGER: 'NOTIFICATIONS_MANAGER',
|
|
156
156
|
DOMAIN_AUCTIONS: 'DOMAIN_AUCTIONS',
|
|
157
|
-
CRYPTO_PAYMENT_METHOD: 'CRYPTO_PAYMENT_METHOD'
|
|
157
|
+
CRYPTO_PAYMENT_METHOD: 'CRYPTO_PAYMENT_METHOD',
|
|
158
|
+
QUADERNO_TAXES: 'QUADERNO_TAXES'
|
|
158
159
|
} as const;
|
|
159
160
|
export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
|
|
160
161
|
|
|
@@ -0,0 +1,111 @@
|
|
|
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 PaymentMethodsStatsDto
|
|
20
|
+
*/
|
|
21
|
+
export interface PaymentMethodsStatsDto {
|
|
22
|
+
/**
|
|
23
|
+
* Number of paid invoices using buy_now method
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof PaymentMethodsStatsDto
|
|
26
|
+
*/
|
|
27
|
+
buyNow: number;
|
|
28
|
+
/**
|
|
29
|
+
* Number of paid invoices using lead (not manual)
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof PaymentMethodsStatsDto
|
|
32
|
+
*/
|
|
33
|
+
leads: number;
|
|
34
|
+
/**
|
|
35
|
+
* Number of paid invoices using manual leads
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof PaymentMethodsStatsDto
|
|
38
|
+
*/
|
|
39
|
+
manualLeads: number;
|
|
40
|
+
/**
|
|
41
|
+
* Number of paid invoices using auctions
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof PaymentMethodsStatsDto
|
|
44
|
+
*/
|
|
45
|
+
auctions: number;
|
|
46
|
+
/**
|
|
47
|
+
* Number of paid invoices grouped by domain, of subscriptions with type "lease_to_own"
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof PaymentMethodsStatsDto
|
|
50
|
+
*/
|
|
51
|
+
leaseToOwn: number;
|
|
52
|
+
/**
|
|
53
|
+
* Number of paid invoices grouped by domain, of subscriptions with type "rent"
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof PaymentMethodsStatsDto
|
|
56
|
+
*/
|
|
57
|
+
rent: number;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the PaymentMethodsStatsDto interface.
|
|
62
|
+
*/
|
|
63
|
+
export function instanceOfPaymentMethodsStatsDto(value: object): value is PaymentMethodsStatsDto {
|
|
64
|
+
if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
|
|
65
|
+
if (!('leads' in value) || value['leads'] === undefined) return false;
|
|
66
|
+
if (!('manualLeads' in value) || value['manualLeads'] === undefined) return false;
|
|
67
|
+
if (!('auctions' in value) || value['auctions'] === undefined) return false;
|
|
68
|
+
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined) return false;
|
|
69
|
+
if (!('rent' in value) || value['rent'] === undefined) return false;
|
|
70
|
+
return true;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function PaymentMethodsStatsDtoFromJSON(json: any): PaymentMethodsStatsDto {
|
|
74
|
+
return PaymentMethodsStatsDtoFromJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function PaymentMethodsStatsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentMethodsStatsDto {
|
|
78
|
+
if (json == null) {
|
|
79
|
+
return json;
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'buyNow': json['buyNow'],
|
|
84
|
+
'leads': json['leads'],
|
|
85
|
+
'manualLeads': json['manualLeads'],
|
|
86
|
+
'auctions': json['auctions'],
|
|
87
|
+
'leaseToOwn': json['leaseToOwn'],
|
|
88
|
+
'rent': json['rent'],
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function PaymentMethodsStatsDtoToJSON(json: any): PaymentMethodsStatsDto {
|
|
93
|
+
return PaymentMethodsStatsDtoToJSONTyped(json, false);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export function PaymentMethodsStatsDtoToJSONTyped(value?: PaymentMethodsStatsDto | null, ignoreDiscriminator: boolean = false): any {
|
|
97
|
+
if (value == null) {
|
|
98
|
+
return value;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
return {
|
|
102
|
+
|
|
103
|
+
'buyNow': value['buyNow'],
|
|
104
|
+
'leads': value['leads'],
|
|
105
|
+
'manualLeads': value['manualLeads'],
|
|
106
|
+
'auctions': value['auctions'],
|
|
107
|
+
'leaseToOwn': value['leaseToOwn'],
|
|
108
|
+
'rent': value['rent'],
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
|
|
@@ -160,7 +160,8 @@ export const PrivateAccountGetMeResponseEnabledFeaturesEnum = {
|
|
|
160
160
|
SELLER_TRANSFER_COSTS_PAYMENT: 'SELLER_TRANSFER_COSTS_PAYMENT',
|
|
161
161
|
NOTIFICATIONS_MANAGER: 'NOTIFICATIONS_MANAGER',
|
|
162
162
|
DOMAIN_AUCTIONS: 'DOMAIN_AUCTIONS',
|
|
163
|
-
CRYPTO_PAYMENT_METHOD: 'CRYPTO_PAYMENT_METHOD'
|
|
163
|
+
CRYPTO_PAYMENT_METHOD: 'CRYPTO_PAYMENT_METHOD',
|
|
164
|
+
QUADERNO_TAXES: 'QUADERNO_TAXES'
|
|
164
165
|
} as const;
|
|
165
166
|
export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
|
|
166
167
|
|
|
@@ -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 TopSellerAccountDto
|
|
20
|
+
*/
|
|
21
|
+
export interface TopSellerAccountDto {
|
|
22
|
+
/**
|
|
23
|
+
* Account identifier
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof TopSellerAccountDto
|
|
26
|
+
*/
|
|
27
|
+
identifier: string;
|
|
28
|
+
/**
|
|
29
|
+
* Account name
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof TopSellerAccountDto
|
|
32
|
+
*/
|
|
33
|
+
name: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* Number of sold domains
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof TopSellerAccountDto
|
|
38
|
+
*/
|
|
39
|
+
soldDomainsCount: number;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the TopSellerAccountDto interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfTopSellerAccountDto(value: object): value is TopSellerAccountDto {
|
|
46
|
+
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
47
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
48
|
+
if (!('soldDomainsCount' in value) || value['soldDomainsCount'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function TopSellerAccountDtoFromJSON(json: any): TopSellerAccountDto {
|
|
53
|
+
return TopSellerAccountDtoFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function TopSellerAccountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): TopSellerAccountDto {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'identifier': json['identifier'],
|
|
63
|
+
'name': json['name'],
|
|
64
|
+
'soldDomainsCount': json['soldDomainsCount'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function TopSellerAccountDtoToJSON(json: any): TopSellerAccountDto {
|
|
69
|
+
return TopSellerAccountDtoToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function TopSellerAccountDtoToJSONTyped(value?: TopSellerAccountDto | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'identifier': value['identifier'],
|
|
80
|
+
'name': value['name'],
|
|
81
|
+
'soldDomainsCount': value['soldDomainsCount'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -5,6 +5,7 @@ export * from './AccountAliasInput';
|
|
|
5
5
|
export * from './AccountBankAccountDto';
|
|
6
6
|
export * from './AccountBankAccountDtoDetails';
|
|
7
7
|
export * from './AccountCommissionByDateRangeDto';
|
|
8
|
+
export * from './AccountCountryStatsDto';
|
|
8
9
|
export * from './AccountDto';
|
|
9
10
|
export * from './AccountMetricsDto';
|
|
10
11
|
export * from './AccountNameshiftCommissionBySubtypeDto';
|
|
@@ -26,6 +27,7 @@ export * from './AccountSettingsInput';
|
|
|
26
27
|
export * from './AccountSettingsLeaseToOwnConfigurationDto';
|
|
27
28
|
export * from './AccountSettingsRentConfigurationDto';
|
|
28
29
|
export * from './AccountSettingsSidnDto';
|
|
30
|
+
export * from './AccountsStatsDto';
|
|
29
31
|
export * from './AddressDto';
|
|
30
32
|
export * from './AdminAccountCommissionByDateRangeInput';
|
|
31
33
|
export * from './AdminAccountLoginDto';
|
|
@@ -38,9 +40,11 @@ export * from './AdminAuctionConfigurationInput';
|
|
|
38
40
|
export * from './AdminBankAccountDto';
|
|
39
41
|
export * from './AdminCompanyStatsDto';
|
|
40
42
|
export * from './AdminCompanyStatsLedger';
|
|
43
|
+
export * from './AdminDashboardStatsDto';
|
|
41
44
|
export * from './AdminGetAllDomainTransfers200Response';
|
|
42
45
|
export * from './AdminListAccountDto';
|
|
43
46
|
export * from './AdminVerificationDepositDto';
|
|
47
|
+
export * from './AffiliatesStatsDto';
|
|
44
48
|
export * from './AggregatedPaginationResponse';
|
|
45
49
|
export * from './AirwallexBankAccountDetailsDto';
|
|
46
50
|
export * from './AirwallexBankAccountDetailsDtoInstitution';
|
|
@@ -286,6 +290,7 @@ export * from './PaginateResponseMeta';
|
|
|
286
290
|
export * from './ParsedDomainDto';
|
|
287
291
|
export * from './PartnerAuctionDto';
|
|
288
292
|
export * from './PayAccountPaymentInput';
|
|
293
|
+
export * from './PaymentMethodsStatsDto';
|
|
289
294
|
export * from './PrivateAccountGetMeResponse';
|
|
290
295
|
export * from './PublicAccountInformationDto';
|
|
291
296
|
export * from './PublicAuctionListItemDto';
|
|
@@ -380,6 +385,7 @@ export * from './TaskListLeadOfferDto';
|
|
|
380
385
|
export * from './TaskListLeadRentConfigurationDto';
|
|
381
386
|
export * from './TimeTableConfigurationDto';
|
|
382
387
|
export * from './TimeTableConfigurationInput';
|
|
388
|
+
export * from './TopSellerAccountDto';
|
|
383
389
|
export * from './UkBankAccountDetails';
|
|
384
390
|
export * from './UpdateAccountBillingInformationInput';
|
|
385
391
|
export * from './UpdateAuctionMuteStatusInput';
|