@randock/nameshift-api-client 0.0.371 → 0.0.373
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 +3 -0
- package/README.md +3 -3
- package/dist/models/AccountBankAccountDtoDetails.d.ts +3 -0
- package/dist/models/AccountBankAccountDtoDetails.js +5 -0
- package/dist/models/AdminDashboardStatsDto.d.ts +26 -0
- package/dist/models/AdminDashboardStatsDto.js +18 -0
- package/dist/models/AuBankAccountDetails.d.ts +1 -0
- package/dist/models/AuBankAccountDetails.js +1 -0
- package/dist/models/AuctionsStatsDto.d.ts +56 -0
- package/dist/models/AuctionsStatsDto.js +67 -0
- package/dist/models/CaBankAccountDetails.d.ts +1 -0
- package/dist/models/CaBankAccountDetails.js +1 -0
- package/dist/models/CommissionsStatsDto.d.ts +38 -0
- package/dist/models/CommissionsStatsDto.js +55 -0
- package/dist/models/NzBankAccountDetails.d.ts +1 -0
- package/dist/models/NzBankAccountDetails.js +1 -0
- package/dist/models/SeBankAccountDetails.d.ts +75 -0
- package/dist/models/SeBankAccountDetails.js +84 -0
- package/dist/models/SepaBankAccountDetails.d.ts +1 -0
- package/dist/models/SepaBankAccountDetails.js +1 -0
- package/dist/models/UkBankAccountDetails.d.ts +1 -0
- package/dist/models/UkBankAccountDetails.js +1 -0
- package/dist/models/UsBankAccountDetails.d.ts +1 -0
- package/dist/models/UsBankAccountDetails.js +1 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/package.json +1 -1
- package/src/models/AccountBankAccountDtoDetails.ts +12 -1
- package/src/models/AdminDashboardStatsDto.ts +50 -0
- package/src/models/AuBankAccountDetails.ts +1 -0
- package/src/models/AuctionsStatsDto.ts +102 -0
- package/src/models/CaBankAccountDetails.ts +1 -0
- package/src/models/CommissionsStatsDto.ts +75 -0
- package/src/models/NzBankAccountDetails.ts +1 -0
- package/src/models/SeBankAccountDetails.ts +127 -0
- package/src/models/SepaBankAccountDetails.ts +1 -0
- package/src/models/UkBankAccountDetails.ts +1 -0
- package/src/models/UsBankAccountDetails.ts +1 -0
- package/src/models/index.ts +3 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -98,6 +98,7 @@ src/models/AuctionDurationDto.ts
|
|
|
98
98
|
src/models/AuctionListItemDto.ts
|
|
99
99
|
src/models/AuctionListItemDtoDomainInformation.ts
|
|
100
100
|
src/models/AuctionListItemDtoSellerAccount.ts
|
|
101
|
+
src/models/AuctionsStatsDto.ts
|
|
101
102
|
src/models/BadRequestException.ts
|
|
102
103
|
src/models/BatchDeleteBuyerLeadsInput.ts
|
|
103
104
|
src/models/BatchImportPreviewDto.ts
|
|
@@ -157,6 +158,7 @@ src/models/CommissionPercentageRangeInput.ts
|
|
|
157
158
|
src/models/CommissionReasonConfigDto.ts
|
|
158
159
|
src/models/CommissionReasonConfigDtoPayload.ts
|
|
159
160
|
src/models/CommissionReasonDto.ts
|
|
161
|
+
src/models/CommissionsStatsDto.ts
|
|
160
162
|
src/models/CompanyInformationDto.ts
|
|
161
163
|
src/models/CompanyTaxIdDto.ts
|
|
162
164
|
src/models/ConcreteDomainTransferTaskData.ts
|
|
@@ -354,6 +356,7 @@ src/models/RequestEmailOtpInput.ts
|
|
|
354
356
|
src/models/SalesCountCommissionPayloadDto.ts
|
|
355
357
|
src/models/SalesCountCommissionPayloadInput.ts
|
|
356
358
|
src/models/SalesCountCommissionReasonPayloadDto.ts
|
|
359
|
+
src/models/SeBankAccountDetails.ts
|
|
357
360
|
src/models/SellerAccountReferralListItemDto.ts
|
|
358
361
|
src/models/SellerAffiliateCommissionDto.ts
|
|
359
362
|
src/models/SellerAuctionListItemDto.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.373
|
|
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.373 --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
|
+
79216ea505e80a90fbaf77983f94b09af4fe7a4d69620aca8b1cac2ef2ffc18ef37439d9ae2fabccdffe59c10c202251
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import type { AuBankAccountDetails } from './AuBankAccountDetails';
|
|
13
13
|
import type { CaBankAccountDetails } from './CaBankAccountDetails';
|
|
14
14
|
import type { NzBankAccountDetails } from './NzBankAccountDetails';
|
|
15
|
+
import type { SeBankAccountDetails } from './SeBankAccountDetails';
|
|
15
16
|
import type { SepaBankAccountDetails } from './SepaBankAccountDetails';
|
|
16
17
|
import type { UkBankAccountDetails } from './UkBankAccountDetails';
|
|
17
18
|
import type { UsBankAccountDetails } from './UsBankAccountDetails';
|
|
@@ -27,6 +28,8 @@ export type AccountBankAccountDtoDetails = {
|
|
|
27
28
|
} & CaBankAccountDetails | {
|
|
28
29
|
type: 'NzBankAccountDetails';
|
|
29
30
|
} & NzBankAccountDetails | {
|
|
31
|
+
type: 'SeBankAccountDetails';
|
|
32
|
+
} & SeBankAccountDetails | {
|
|
30
33
|
type: 'SepaBankAccountDetails';
|
|
31
34
|
} & SepaBankAccountDetails | {
|
|
32
35
|
type: 'UkBankAccountDetails';
|
|
@@ -20,6 +20,7 @@ exports.AccountBankAccountDtoDetailsToJSONTyped = AccountBankAccountDtoDetailsTo
|
|
|
20
20
|
var AuBankAccountDetails_1 = require("./AuBankAccountDetails");
|
|
21
21
|
var CaBankAccountDetails_1 = require("./CaBankAccountDetails");
|
|
22
22
|
var NzBankAccountDetails_1 = require("./NzBankAccountDetails");
|
|
23
|
+
var SeBankAccountDetails_1 = require("./SeBankAccountDetails");
|
|
23
24
|
var SepaBankAccountDetails_1 = require("./SepaBankAccountDetails");
|
|
24
25
|
var UkBankAccountDetails_1 = require("./UkBankAccountDetails");
|
|
25
26
|
var UsBankAccountDetails_1 = require("./UsBankAccountDetails");
|
|
@@ -37,6 +38,8 @@ function AccountBankAccountDtoDetailsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
38
|
return Object.assign({}, (0, CaBankAccountDetails_1.CaBankAccountDetailsFromJSONTyped)(json, true), { type: 'CaBankAccountDetails' });
|
|
38
39
|
case 'NzBankAccountDetails':
|
|
39
40
|
return Object.assign({}, (0, NzBankAccountDetails_1.NzBankAccountDetailsFromJSONTyped)(json, true), { type: 'NzBankAccountDetails' });
|
|
41
|
+
case 'SeBankAccountDetails':
|
|
42
|
+
return Object.assign({}, (0, SeBankAccountDetails_1.SeBankAccountDetailsFromJSONTyped)(json, true), { type: 'SeBankAccountDetails' });
|
|
40
43
|
case 'SepaBankAccountDetails':
|
|
41
44
|
return Object.assign({}, (0, SepaBankAccountDetails_1.SepaBankAccountDetailsFromJSONTyped)(json, true), { type: 'SepaBankAccountDetails' });
|
|
42
45
|
case 'UkBankAccountDetails':
|
|
@@ -62,6 +65,8 @@ function AccountBankAccountDtoDetailsToJSONTyped(value, ignoreDiscriminator) {
|
|
|
62
65
|
return Object.assign({}, (0, CaBankAccountDetails_1.CaBankAccountDetailsToJSON)(value), { type: 'CaBankAccountDetails' });
|
|
63
66
|
case 'NzBankAccountDetails':
|
|
64
67
|
return Object.assign({}, (0, NzBankAccountDetails_1.NzBankAccountDetailsToJSON)(value), { type: 'NzBankAccountDetails' });
|
|
68
|
+
case 'SeBankAccountDetails':
|
|
69
|
+
return Object.assign({}, (0, SeBankAccountDetails_1.SeBankAccountDetailsToJSON)(value), { type: 'SeBankAccountDetails' });
|
|
65
70
|
case 'SepaBankAccountDetails':
|
|
66
71
|
return Object.assign({}, (0, SepaBankAccountDetails_1.SepaBankAccountDetailsToJSON)(value), { type: 'SepaBankAccountDetails' });
|
|
67
72
|
case 'UkBankAccountDetails':
|
|
@@ -9,8 +9,10 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { CommissionsStatsDto } from './CommissionsStatsDto';
|
|
12
13
|
import type { AccountsStatsDto } from './AccountsStatsDto';
|
|
13
14
|
import type { AffiliatesStatsDto } from './AffiliatesStatsDto';
|
|
15
|
+
import type { AuctionsStatsDto } from './AuctionsStatsDto';
|
|
14
16
|
import type { AccountCountryStatsDto } from './AccountCountryStatsDto';
|
|
15
17
|
import type { PaymentMethodsStatsDto } from './PaymentMethodsStatsDto';
|
|
16
18
|
import type { TopSellerAccountDto } from './TopSellerAccountDto';
|
|
@@ -50,6 +52,30 @@ export interface AdminDashboardStatsDto {
|
|
|
50
52
|
* @memberof AdminDashboardStatsDto
|
|
51
53
|
*/
|
|
52
54
|
topSellerAccounts: Array<TopSellerAccountDto>;
|
|
55
|
+
/**
|
|
56
|
+
* Total number of invoices with target buyer (with Bait state condition)
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof AdminDashboardStatsDto
|
|
59
|
+
*/
|
|
60
|
+
totalSalesNumber: number;
|
|
61
|
+
/**
|
|
62
|
+
* Average price of sale in EUR for invoices paid with target buyer
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof AdminDashboardStatsDto
|
|
65
|
+
*/
|
|
66
|
+
averageSalePriceEur: number;
|
|
67
|
+
/**
|
|
68
|
+
* Commissions statistics
|
|
69
|
+
* @type {CommissionsStatsDto}
|
|
70
|
+
* @memberof AdminDashboardStatsDto
|
|
71
|
+
*/
|
|
72
|
+
commissions: CommissionsStatsDto;
|
|
73
|
+
/**
|
|
74
|
+
* Auctions statistics
|
|
75
|
+
* @type {AuctionsStatsDto}
|
|
76
|
+
* @memberof AdminDashboardStatsDto
|
|
77
|
+
*/
|
|
78
|
+
auctions: AuctionsStatsDto;
|
|
53
79
|
}
|
|
54
80
|
/**
|
|
55
81
|
* Check if a given object implements the AdminDashboardStatsDto interface.
|
|
@@ -18,8 +18,10 @@ exports.AdminDashboardStatsDtoFromJSON = AdminDashboardStatsDtoFromJSON;
|
|
|
18
18
|
exports.AdminDashboardStatsDtoFromJSONTyped = AdminDashboardStatsDtoFromJSONTyped;
|
|
19
19
|
exports.AdminDashboardStatsDtoToJSON = AdminDashboardStatsDtoToJSON;
|
|
20
20
|
exports.AdminDashboardStatsDtoToJSONTyped = AdminDashboardStatsDtoToJSONTyped;
|
|
21
|
+
var CommissionsStatsDto_1 = require("./CommissionsStatsDto");
|
|
21
22
|
var AccountsStatsDto_1 = require("./AccountsStatsDto");
|
|
22
23
|
var AffiliatesStatsDto_1 = require("./AffiliatesStatsDto");
|
|
24
|
+
var AuctionsStatsDto_1 = require("./AuctionsStatsDto");
|
|
23
25
|
var AccountCountryStatsDto_1 = require("./AccountCountryStatsDto");
|
|
24
26
|
var PaymentMethodsStatsDto_1 = require("./PaymentMethodsStatsDto");
|
|
25
27
|
var TopSellerAccountDto_1 = require("./TopSellerAccountDto");
|
|
@@ -37,6 +39,14 @@ function instanceOfAdminDashboardStatsDto(value) {
|
|
|
37
39
|
return false;
|
|
38
40
|
if (!('topSellerAccounts' in value) || value['topSellerAccounts'] === undefined)
|
|
39
41
|
return false;
|
|
42
|
+
if (!('totalSalesNumber' in value) || value['totalSalesNumber'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('averageSalePriceEur' in value) || value['averageSalePriceEur'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('commissions' in value) || value['commissions'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('auctions' in value) || value['auctions'] === undefined)
|
|
49
|
+
return false;
|
|
40
50
|
return true;
|
|
41
51
|
}
|
|
42
52
|
function AdminDashboardStatsDtoFromJSON(json) {
|
|
@@ -52,6 +62,10 @@ function AdminDashboardStatsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
62
|
'accounts': (0, AccountsStatsDto_1.AccountsStatsDtoFromJSON)(json['accounts']),
|
|
53
63
|
'accountCountries': (json['accountCountries'].map(AccountCountryStatsDto_1.AccountCountryStatsDtoFromJSON)),
|
|
54
64
|
'topSellerAccounts': (json['topSellerAccounts'].map(TopSellerAccountDto_1.TopSellerAccountDtoFromJSON)),
|
|
65
|
+
'totalSalesNumber': json['totalSalesNumber'],
|
|
66
|
+
'averageSalePriceEur': json['averageSalePriceEur'],
|
|
67
|
+
'commissions': (0, CommissionsStatsDto_1.CommissionsStatsDtoFromJSON)(json['commissions']),
|
|
68
|
+
'auctions': (0, AuctionsStatsDto_1.AuctionsStatsDtoFromJSON)(json['auctions']),
|
|
55
69
|
};
|
|
56
70
|
}
|
|
57
71
|
function AdminDashboardStatsDtoToJSON(json) {
|
|
@@ -68,5 +82,9 @@ function AdminDashboardStatsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
68
82
|
'accounts': (0, AccountsStatsDto_1.AccountsStatsDtoToJSON)(value['accounts']),
|
|
69
83
|
'accountCountries': (value['accountCountries'].map(AccountCountryStatsDto_1.AccountCountryStatsDtoToJSON)),
|
|
70
84
|
'topSellerAccounts': (value['topSellerAccounts'].map(TopSellerAccountDto_1.TopSellerAccountDtoToJSON)),
|
|
85
|
+
'totalSalesNumber': value['totalSalesNumber'],
|
|
86
|
+
'averageSalePriceEur': value['averageSalePriceEur'],
|
|
87
|
+
'commissions': (0, CommissionsStatsDto_1.CommissionsStatsDtoToJSON)(value['commissions']),
|
|
88
|
+
'auctions': (0, AuctionsStatsDto_1.AuctionsStatsDtoToJSON)(value['auctions']),
|
|
71
89
|
};
|
|
72
90
|
}
|
|
@@ -49,6 +49,7 @@ export declare const AuBankAccountDetailsTypeEnum: {
|
|
|
49
49
|
readonly CA_BANK_ACCOUNT_DETAILS: "CaBankAccountDetails";
|
|
50
50
|
readonly NZ_BANK_ACCOUNT_DETAILS: "NzBankAccountDetails";
|
|
51
51
|
readonly AU_BANK_ACCOUNT_DETAILS: "AuBankAccountDetails";
|
|
52
|
+
readonly SE_BANK_ACCOUNT_DETAILS: "SeBankAccountDetails";
|
|
52
53
|
readonly SEPA_BANK_ACCOUNT_DETAILS: "SepaBankAccountDetails";
|
|
53
54
|
};
|
|
54
55
|
export type AuBankAccountDetailsTypeEnum = typeof AuBankAccountDetailsTypeEnum[keyof typeof AuBankAccountDetailsTypeEnum];
|
|
@@ -28,6 +28,7 @@ exports.AuBankAccountDetailsTypeEnum = {
|
|
|
28
28
|
CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
|
|
29
29
|
NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
|
|
30
30
|
AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
|
|
31
|
+
SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
|
|
31
32
|
SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
|
|
32
33
|
};
|
|
33
34
|
/**
|
|
@@ -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 AuctionsStatsDto
|
|
16
|
+
*/
|
|
17
|
+
export interface AuctionsStatsDto {
|
|
18
|
+
/**
|
|
19
|
+
* Number of auctions for which the seller has paid (auctions with account payment)
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AuctionsStatsDto
|
|
22
|
+
*/
|
|
23
|
+
paidAuctionsCount: number;
|
|
24
|
+
/**
|
|
25
|
+
* Total number of auctions created
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof AuctionsStatsDto
|
|
28
|
+
*/
|
|
29
|
+
totalAuctionsCount: number;
|
|
30
|
+
/**
|
|
31
|
+
* Number of finished auctions that ended with a sale (had a bid)
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof AuctionsStatsDto
|
|
34
|
+
*/
|
|
35
|
+
finishedAuctionsWithSaleCount: number;
|
|
36
|
+
/**
|
|
37
|
+
* Number of finished auctions that ended without a sale (no bid)
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof AuctionsStatsDto
|
|
40
|
+
*/
|
|
41
|
+
finishedAuctionsWithoutSaleCount: number;
|
|
42
|
+
/**
|
|
43
|
+
* Total number of distinct accounts that use paid auctions
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof AuctionsStatsDto
|
|
46
|
+
*/
|
|
47
|
+
accountsUsingPaidAuctionsCount: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the AuctionsStatsDto interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfAuctionsStatsDto(value: object): value is AuctionsStatsDto;
|
|
53
|
+
export declare function AuctionsStatsDtoFromJSON(json: any): AuctionsStatsDto;
|
|
54
|
+
export declare function AuctionsStatsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuctionsStatsDto;
|
|
55
|
+
export declare function AuctionsStatsDtoToJSON(json: any): AuctionsStatsDto;
|
|
56
|
+
export declare function AuctionsStatsDtoToJSONTyped(value?: AuctionsStatsDto | 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.instanceOfAuctionsStatsDto = instanceOfAuctionsStatsDto;
|
|
17
|
+
exports.AuctionsStatsDtoFromJSON = AuctionsStatsDtoFromJSON;
|
|
18
|
+
exports.AuctionsStatsDtoFromJSONTyped = AuctionsStatsDtoFromJSONTyped;
|
|
19
|
+
exports.AuctionsStatsDtoToJSON = AuctionsStatsDtoToJSON;
|
|
20
|
+
exports.AuctionsStatsDtoToJSONTyped = AuctionsStatsDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AuctionsStatsDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAuctionsStatsDto(value) {
|
|
25
|
+
if (!('paidAuctionsCount' in value) || value['paidAuctionsCount'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('totalAuctionsCount' in value) || value['totalAuctionsCount'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('finishedAuctionsWithSaleCount' in value) || value['finishedAuctionsWithSaleCount'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('finishedAuctionsWithoutSaleCount' in value) || value['finishedAuctionsWithoutSaleCount'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('accountsUsingPaidAuctionsCount' in value) || value['accountsUsingPaidAuctionsCount'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function AuctionsStatsDtoFromJSON(json) {
|
|
38
|
+
return AuctionsStatsDtoFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function AuctionsStatsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'paidAuctionsCount': json['paidAuctionsCount'],
|
|
46
|
+
'totalAuctionsCount': json['totalAuctionsCount'],
|
|
47
|
+
'finishedAuctionsWithSaleCount': json['finishedAuctionsWithSaleCount'],
|
|
48
|
+
'finishedAuctionsWithoutSaleCount': json['finishedAuctionsWithoutSaleCount'],
|
|
49
|
+
'accountsUsingPaidAuctionsCount': json['accountsUsingPaidAuctionsCount'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function AuctionsStatsDtoToJSON(json) {
|
|
53
|
+
return AuctionsStatsDtoToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function AuctionsStatsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
56
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'paidAuctionsCount': value['paidAuctionsCount'],
|
|
62
|
+
'totalAuctionsCount': value['totalAuctionsCount'],
|
|
63
|
+
'finishedAuctionsWithSaleCount': value['finishedAuctionsWithSaleCount'],
|
|
64
|
+
'finishedAuctionsWithoutSaleCount': value['finishedAuctionsWithoutSaleCount'],
|
|
65
|
+
'accountsUsingPaidAuctionsCount': value['accountsUsingPaidAuctionsCount'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -55,6 +55,7 @@ export declare const CaBankAccountDetailsTypeEnum: {
|
|
|
55
55
|
readonly CA_BANK_ACCOUNT_DETAILS: "CaBankAccountDetails";
|
|
56
56
|
readonly NZ_BANK_ACCOUNT_DETAILS: "NzBankAccountDetails";
|
|
57
57
|
readonly AU_BANK_ACCOUNT_DETAILS: "AuBankAccountDetails";
|
|
58
|
+
readonly SE_BANK_ACCOUNT_DETAILS: "SeBankAccountDetails";
|
|
58
59
|
readonly SEPA_BANK_ACCOUNT_DETAILS: "SepaBankAccountDetails";
|
|
59
60
|
};
|
|
60
61
|
export type CaBankAccountDetailsTypeEnum = typeof CaBankAccountDetailsTypeEnum[keyof typeof CaBankAccountDetailsTypeEnum];
|
|
@@ -28,6 +28,7 @@ exports.CaBankAccountDetailsTypeEnum = {
|
|
|
28
28
|
CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
|
|
29
29
|
NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
|
|
30
30
|
AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
|
|
31
|
+
SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
|
|
31
32
|
SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
|
|
32
33
|
};
|
|
33
34
|
/**
|
|
@@ -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 CommissionsStatsDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CommissionsStatsDto {
|
|
18
|
+
/**
|
|
19
|
+
* Average commission percentage of all invoices with target seller that have commission greater than zero and are paid
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof CommissionsStatsDto
|
|
22
|
+
*/
|
|
23
|
+
averagePercentage: number;
|
|
24
|
+
/**
|
|
25
|
+
* Commission percentage that is repeated the most in invoices issued with target Seller
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof CommissionsStatsDto
|
|
28
|
+
*/
|
|
29
|
+
mostRepeatedPercentage: number | null;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the CommissionsStatsDto interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfCommissionsStatsDto(value: object): value is CommissionsStatsDto;
|
|
35
|
+
export declare function CommissionsStatsDtoFromJSON(json: any): CommissionsStatsDto;
|
|
36
|
+
export declare function CommissionsStatsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommissionsStatsDto;
|
|
37
|
+
export declare function CommissionsStatsDtoToJSON(json: any): CommissionsStatsDto;
|
|
38
|
+
export declare function CommissionsStatsDtoToJSONTyped(value?: CommissionsStatsDto | 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.instanceOfCommissionsStatsDto = instanceOfCommissionsStatsDto;
|
|
17
|
+
exports.CommissionsStatsDtoFromJSON = CommissionsStatsDtoFromJSON;
|
|
18
|
+
exports.CommissionsStatsDtoFromJSONTyped = CommissionsStatsDtoFromJSONTyped;
|
|
19
|
+
exports.CommissionsStatsDtoToJSON = CommissionsStatsDtoToJSON;
|
|
20
|
+
exports.CommissionsStatsDtoToJSONTyped = CommissionsStatsDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CommissionsStatsDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCommissionsStatsDto(value) {
|
|
25
|
+
if (!('averagePercentage' in value) || value['averagePercentage'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('mostRepeatedPercentage' in value) || value['mostRepeatedPercentage'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function CommissionsStatsDtoFromJSON(json) {
|
|
32
|
+
return CommissionsStatsDtoFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function CommissionsStatsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'averagePercentage': json['averagePercentage'],
|
|
40
|
+
'mostRepeatedPercentage': json['mostRepeatedPercentage'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function CommissionsStatsDtoToJSON(json) {
|
|
44
|
+
return CommissionsStatsDtoToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function CommissionsStatsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'averagePercentage': value['averagePercentage'],
|
|
53
|
+
'mostRepeatedPercentage': value['mostRepeatedPercentage'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -43,6 +43,7 @@ export declare const NzBankAccountDetailsTypeEnum: {
|
|
|
43
43
|
readonly CA_BANK_ACCOUNT_DETAILS: "CaBankAccountDetails";
|
|
44
44
|
readonly NZ_BANK_ACCOUNT_DETAILS: "NzBankAccountDetails";
|
|
45
45
|
readonly AU_BANK_ACCOUNT_DETAILS: "AuBankAccountDetails";
|
|
46
|
+
readonly SE_BANK_ACCOUNT_DETAILS: "SeBankAccountDetails";
|
|
46
47
|
readonly SEPA_BANK_ACCOUNT_DETAILS: "SepaBankAccountDetails";
|
|
47
48
|
};
|
|
48
49
|
export type NzBankAccountDetailsTypeEnum = typeof NzBankAccountDetailsTypeEnum[keyof typeof NzBankAccountDetailsTypeEnum];
|
|
@@ -28,6 +28,7 @@ exports.NzBankAccountDetailsTypeEnum = {
|
|
|
28
28
|
CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
|
|
29
29
|
NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
|
|
30
30
|
AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
|
|
31
|
+
SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
|
|
31
32
|
SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
|
|
32
33
|
};
|
|
33
34
|
/**
|
|
@@ -0,0 +1,75 @@
|
|
|
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 SeBankAccountDetails
|
|
16
|
+
*/
|
|
17
|
+
export interface SeBankAccountDetails {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SeBankAccountDetails
|
|
22
|
+
*/
|
|
23
|
+
type: SeBankAccountDetailsTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SeBankAccountDetails
|
|
28
|
+
*/
|
|
29
|
+
countryCode: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SeBankAccountDetails
|
|
34
|
+
*/
|
|
35
|
+
bankCode: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SeBankAccountDetails
|
|
40
|
+
*/
|
|
41
|
+
accountNumber: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SeBankAccountDetails
|
|
46
|
+
*/
|
|
47
|
+
iban: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof SeBankAccountDetails
|
|
52
|
+
*/
|
|
53
|
+
bic: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export declare const SeBankAccountDetailsTypeEnum: {
|
|
59
|
+
readonly UK_BANK_ACCOUNT_DETAILS: "UkBankAccountDetails";
|
|
60
|
+
readonly US_BANK_ACCOUNT_DETAILS: "UsBankAccountDetails";
|
|
61
|
+
readonly CA_BANK_ACCOUNT_DETAILS: "CaBankAccountDetails";
|
|
62
|
+
readonly NZ_BANK_ACCOUNT_DETAILS: "NzBankAccountDetails";
|
|
63
|
+
readonly AU_BANK_ACCOUNT_DETAILS: "AuBankAccountDetails";
|
|
64
|
+
readonly SE_BANK_ACCOUNT_DETAILS: "SeBankAccountDetails";
|
|
65
|
+
readonly SEPA_BANK_ACCOUNT_DETAILS: "SepaBankAccountDetails";
|
|
66
|
+
};
|
|
67
|
+
export type SeBankAccountDetailsTypeEnum = typeof SeBankAccountDetailsTypeEnum[keyof typeof SeBankAccountDetailsTypeEnum];
|
|
68
|
+
/**
|
|
69
|
+
* Check if a given object implements the SeBankAccountDetails interface.
|
|
70
|
+
*/
|
|
71
|
+
export declare function instanceOfSeBankAccountDetails(value: object): value is SeBankAccountDetails;
|
|
72
|
+
export declare function SeBankAccountDetailsFromJSON(json: any): SeBankAccountDetails;
|
|
73
|
+
export declare function SeBankAccountDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SeBankAccountDetails;
|
|
74
|
+
export declare function SeBankAccountDetailsToJSON(json: any): SeBankAccountDetails;
|
|
75
|
+
export declare function SeBankAccountDetailsToJSONTyped(value?: SeBankAccountDetails | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,84 @@
|
|
|
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.SeBankAccountDetailsTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfSeBankAccountDetails = instanceOfSeBankAccountDetails;
|
|
18
|
+
exports.SeBankAccountDetailsFromJSON = SeBankAccountDetailsFromJSON;
|
|
19
|
+
exports.SeBankAccountDetailsFromJSONTyped = SeBankAccountDetailsFromJSONTyped;
|
|
20
|
+
exports.SeBankAccountDetailsToJSON = SeBankAccountDetailsToJSON;
|
|
21
|
+
exports.SeBankAccountDetailsToJSONTyped = SeBankAccountDetailsToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.SeBankAccountDetailsTypeEnum = {
|
|
26
|
+
UK_BANK_ACCOUNT_DETAILS: 'UkBankAccountDetails',
|
|
27
|
+
US_BANK_ACCOUNT_DETAILS: 'UsBankAccountDetails',
|
|
28
|
+
CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
|
|
29
|
+
NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
|
|
30
|
+
AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
|
|
31
|
+
SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
|
|
32
|
+
SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the SeBankAccountDetails interface.
|
|
36
|
+
*/
|
|
37
|
+
function instanceOfSeBankAccountDetails(value) {
|
|
38
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('countryCode' in value) || value['countryCode'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('bankCode' in value) || value['bankCode'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('accountNumber' in value) || value['accountNumber'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('iban' in value) || value['iban'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('bic' in value) || value['bic'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
function SeBankAccountDetailsFromJSON(json) {
|
|
53
|
+
return SeBankAccountDetailsFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function SeBankAccountDetailsFromJSONTyped(json, ignoreDiscriminator) {
|
|
56
|
+
if (json == null) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'type': json['type'],
|
|
61
|
+
'countryCode': json['countryCode'],
|
|
62
|
+
'bankCode': json['bankCode'],
|
|
63
|
+
'accountNumber': json['accountNumber'],
|
|
64
|
+
'iban': json['iban'],
|
|
65
|
+
'bic': json['bic'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
function SeBankAccountDetailsToJSON(json) {
|
|
69
|
+
return SeBankAccountDetailsToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
function SeBankAccountDetailsToJSONTyped(value, ignoreDiscriminator) {
|
|
72
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
'type': value['type'],
|
|
78
|
+
'countryCode': value['countryCode'],
|
|
79
|
+
'bankCode': value['bankCode'],
|
|
80
|
+
'accountNumber': value['accountNumber'],
|
|
81
|
+
'iban': value['iban'],
|
|
82
|
+
'bic': value['bic'],
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -49,6 +49,7 @@ export declare const SepaBankAccountDetailsTypeEnum: {
|
|
|
49
49
|
readonly CA_BANK_ACCOUNT_DETAILS: "CaBankAccountDetails";
|
|
50
50
|
readonly NZ_BANK_ACCOUNT_DETAILS: "NzBankAccountDetails";
|
|
51
51
|
readonly AU_BANK_ACCOUNT_DETAILS: "AuBankAccountDetails";
|
|
52
|
+
readonly SE_BANK_ACCOUNT_DETAILS: "SeBankAccountDetails";
|
|
52
53
|
readonly SEPA_BANK_ACCOUNT_DETAILS: "SepaBankAccountDetails";
|
|
53
54
|
};
|
|
54
55
|
export type SepaBankAccountDetailsTypeEnum = typeof SepaBankAccountDetailsTypeEnum[keyof typeof SepaBankAccountDetailsTypeEnum];
|
|
@@ -28,6 +28,7 @@ exports.SepaBankAccountDetailsTypeEnum = {
|
|
|
28
28
|
CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
|
|
29
29
|
NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
|
|
30
30
|
AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
|
|
31
|
+
SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
|
|
31
32
|
SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
|
|
32
33
|
};
|
|
33
34
|
/**
|
|
@@ -49,6 +49,7 @@ export declare const UkBankAccountDetailsTypeEnum: {
|
|
|
49
49
|
readonly CA_BANK_ACCOUNT_DETAILS: "CaBankAccountDetails";
|
|
50
50
|
readonly NZ_BANK_ACCOUNT_DETAILS: "NzBankAccountDetails";
|
|
51
51
|
readonly AU_BANK_ACCOUNT_DETAILS: "AuBankAccountDetails";
|
|
52
|
+
readonly SE_BANK_ACCOUNT_DETAILS: "SeBankAccountDetails";
|
|
52
53
|
readonly SEPA_BANK_ACCOUNT_DETAILS: "SepaBankAccountDetails";
|
|
53
54
|
};
|
|
54
55
|
export type UkBankAccountDetailsTypeEnum = typeof UkBankAccountDetailsTypeEnum[keyof typeof UkBankAccountDetailsTypeEnum];
|
|
@@ -28,6 +28,7 @@ exports.UkBankAccountDetailsTypeEnum = {
|
|
|
28
28
|
CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
|
|
29
29
|
NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
|
|
30
30
|
AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
|
|
31
|
+
SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
|
|
31
32
|
SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
|
|
32
33
|
};
|
|
33
34
|
/**
|
|
@@ -49,6 +49,7 @@ export declare const UsBankAccountDetailsTypeEnum: {
|
|
|
49
49
|
readonly CA_BANK_ACCOUNT_DETAILS: "CaBankAccountDetails";
|
|
50
50
|
readonly NZ_BANK_ACCOUNT_DETAILS: "NzBankAccountDetails";
|
|
51
51
|
readonly AU_BANK_ACCOUNT_DETAILS: "AuBankAccountDetails";
|
|
52
|
+
readonly SE_BANK_ACCOUNT_DETAILS: "SeBankAccountDetails";
|
|
52
53
|
readonly SEPA_BANK_ACCOUNT_DETAILS: "SepaBankAccountDetails";
|
|
53
54
|
};
|
|
54
55
|
export type UsBankAccountDetailsTypeEnum = typeof UsBankAccountDetailsTypeEnum[keyof typeof UsBankAccountDetailsTypeEnum];
|
|
@@ -28,6 +28,7 @@ exports.UsBankAccountDetailsTypeEnum = {
|
|
|
28
28
|
CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
|
|
29
29
|
NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
|
|
30
30
|
AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
|
|
31
|
+
SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
|
|
31
32
|
SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
|
|
32
33
|
};
|
|
33
34
|
/**
|
package/dist/models/index.d.ts
CHANGED
|
@@ -63,6 +63,7 @@ export * from './AuctionDurationDto';
|
|
|
63
63
|
export * from './AuctionListItemDto';
|
|
64
64
|
export * from './AuctionListItemDtoDomainInformation';
|
|
65
65
|
export * from './AuctionListItemDtoSellerAccount';
|
|
66
|
+
export * from './AuctionsStatsDto';
|
|
66
67
|
export * from './BadRequestException';
|
|
67
68
|
export * from './BatchDeleteBuyerLeadsInput';
|
|
68
69
|
export * from './BatchImportPreviewDto';
|
|
@@ -122,6 +123,7 @@ export * from './CommissionPercentageRangeInput';
|
|
|
122
123
|
export * from './CommissionReasonConfigDto';
|
|
123
124
|
export * from './CommissionReasonConfigDtoPayload';
|
|
124
125
|
export * from './CommissionReasonDto';
|
|
126
|
+
export * from './CommissionsStatsDto';
|
|
125
127
|
export * from './CompanyInformationDto';
|
|
126
128
|
export * from './CompanyTaxIdDto';
|
|
127
129
|
export * from './ConcreteDomainTransferTaskData';
|
|
@@ -319,6 +321,7 @@ export * from './RequestEmailOtpInput';
|
|
|
319
321
|
export * from './SalesCountCommissionPayloadDto';
|
|
320
322
|
export * from './SalesCountCommissionPayloadInput';
|
|
321
323
|
export * from './SalesCountCommissionReasonPayloadDto';
|
|
324
|
+
export * from './SeBankAccountDetails';
|
|
322
325
|
export * from './SellerAccountReferralListItemDto';
|
|
323
326
|
export * from './SellerAffiliateCommissionDto';
|
|
324
327
|
export * from './SellerAuctionListItemDto';
|
package/dist/models/index.js
CHANGED
|
@@ -81,6 +81,7 @@ __exportStar(require("./AuctionDurationDto"), exports);
|
|
|
81
81
|
__exportStar(require("./AuctionListItemDto"), exports);
|
|
82
82
|
__exportStar(require("./AuctionListItemDtoDomainInformation"), exports);
|
|
83
83
|
__exportStar(require("./AuctionListItemDtoSellerAccount"), exports);
|
|
84
|
+
__exportStar(require("./AuctionsStatsDto"), exports);
|
|
84
85
|
__exportStar(require("./BadRequestException"), exports);
|
|
85
86
|
__exportStar(require("./BatchDeleteBuyerLeadsInput"), exports);
|
|
86
87
|
__exportStar(require("./BatchImportPreviewDto"), exports);
|
|
@@ -140,6 +141,7 @@ __exportStar(require("./CommissionPercentageRangeInput"), exports);
|
|
|
140
141
|
__exportStar(require("./CommissionReasonConfigDto"), exports);
|
|
141
142
|
__exportStar(require("./CommissionReasonConfigDtoPayload"), exports);
|
|
142
143
|
__exportStar(require("./CommissionReasonDto"), exports);
|
|
144
|
+
__exportStar(require("./CommissionsStatsDto"), exports);
|
|
143
145
|
__exportStar(require("./CompanyInformationDto"), exports);
|
|
144
146
|
__exportStar(require("./CompanyTaxIdDto"), exports);
|
|
145
147
|
__exportStar(require("./ConcreteDomainTransferTaskData"), exports);
|
|
@@ -337,6 +339,7 @@ __exportStar(require("./RequestEmailOtpInput"), exports);
|
|
|
337
339
|
__exportStar(require("./SalesCountCommissionPayloadDto"), exports);
|
|
338
340
|
__exportStar(require("./SalesCountCommissionPayloadInput"), exports);
|
|
339
341
|
__exportStar(require("./SalesCountCommissionReasonPayloadDto"), exports);
|
|
342
|
+
__exportStar(require("./SeBankAccountDetails"), exports);
|
|
340
343
|
__exportStar(require("./SellerAccountReferralListItemDto"), exports);
|
|
341
344
|
__exportStar(require("./SellerAffiliateCommissionDto"), exports);
|
|
342
345
|
__exportStar(require("./SellerAuctionListItemDto"), exports);
|
package/package.json
CHANGED
|
@@ -33,6 +33,13 @@ import {
|
|
|
33
33
|
NzBankAccountDetailsFromJSONTyped,
|
|
34
34
|
NzBankAccountDetailsToJSON,
|
|
35
35
|
} from './NzBankAccountDetails';
|
|
36
|
+
import type { SeBankAccountDetails } from './SeBankAccountDetails';
|
|
37
|
+
import {
|
|
38
|
+
instanceOfSeBankAccountDetails,
|
|
39
|
+
SeBankAccountDetailsFromJSON,
|
|
40
|
+
SeBankAccountDetailsFromJSONTyped,
|
|
41
|
+
SeBankAccountDetailsToJSON,
|
|
42
|
+
} from './SeBankAccountDetails';
|
|
36
43
|
import type { SepaBankAccountDetails } from './SepaBankAccountDetails';
|
|
37
44
|
import {
|
|
38
45
|
instanceOfSepaBankAccountDetails,
|
|
@@ -60,7 +67,7 @@ import {
|
|
|
60
67
|
*
|
|
61
68
|
* @export
|
|
62
69
|
*/
|
|
63
|
-
export type AccountBankAccountDtoDetails = { type: 'AuBankAccountDetails' } & AuBankAccountDetails | { type: 'CaBankAccountDetails' } & CaBankAccountDetails | { type: 'NzBankAccountDetails' } & NzBankAccountDetails | { type: 'SepaBankAccountDetails' } & SepaBankAccountDetails | { type: 'UkBankAccountDetails' } & UkBankAccountDetails | { type: 'UsBankAccountDetails' } & UsBankAccountDetails;
|
|
70
|
+
export type AccountBankAccountDtoDetails = { type: 'AuBankAccountDetails' } & AuBankAccountDetails | { type: 'CaBankAccountDetails' } & CaBankAccountDetails | { type: 'NzBankAccountDetails' } & NzBankAccountDetails | { type: 'SeBankAccountDetails' } & SeBankAccountDetails | { type: 'SepaBankAccountDetails' } & SepaBankAccountDetails | { type: 'UkBankAccountDetails' } & UkBankAccountDetails | { type: 'UsBankAccountDetails' } & UsBankAccountDetails;
|
|
64
71
|
|
|
65
72
|
export function AccountBankAccountDtoDetailsFromJSON(json: any): AccountBankAccountDtoDetails {
|
|
66
73
|
return AccountBankAccountDtoDetailsFromJSONTyped(json, false);
|
|
@@ -77,6 +84,8 @@ export function AccountBankAccountDtoDetailsFromJSONTyped(json: any, ignoreDiscr
|
|
|
77
84
|
return Object.assign({}, CaBankAccountDetailsFromJSONTyped(json, true), { type: 'CaBankAccountDetails' } as const);
|
|
78
85
|
case 'NzBankAccountDetails':
|
|
79
86
|
return Object.assign({}, NzBankAccountDetailsFromJSONTyped(json, true), { type: 'NzBankAccountDetails' } as const);
|
|
87
|
+
case 'SeBankAccountDetails':
|
|
88
|
+
return Object.assign({}, SeBankAccountDetailsFromJSONTyped(json, true), { type: 'SeBankAccountDetails' } as const);
|
|
80
89
|
case 'SepaBankAccountDetails':
|
|
81
90
|
return Object.assign({}, SepaBankAccountDetailsFromJSONTyped(json, true), { type: 'SepaBankAccountDetails' } as const);
|
|
82
91
|
case 'UkBankAccountDetails':
|
|
@@ -103,6 +112,8 @@ export function AccountBankAccountDtoDetailsToJSONTyped(value?: AccountBankAccou
|
|
|
103
112
|
return Object.assign({}, CaBankAccountDetailsToJSON(value), { type: 'CaBankAccountDetails' } as const);
|
|
104
113
|
case 'NzBankAccountDetails':
|
|
105
114
|
return Object.assign({}, NzBankAccountDetailsToJSON(value), { type: 'NzBankAccountDetails' } as const);
|
|
115
|
+
case 'SeBankAccountDetails':
|
|
116
|
+
return Object.assign({}, SeBankAccountDetailsToJSON(value), { type: 'SeBankAccountDetails' } as const);
|
|
106
117
|
case 'SepaBankAccountDetails':
|
|
107
118
|
return Object.assign({}, SepaBankAccountDetailsToJSON(value), { type: 'SepaBankAccountDetails' } as const);
|
|
108
119
|
case 'UkBankAccountDetails':
|
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { CommissionsStatsDto } from './CommissionsStatsDto';
|
|
17
|
+
import {
|
|
18
|
+
CommissionsStatsDtoFromJSON,
|
|
19
|
+
CommissionsStatsDtoFromJSONTyped,
|
|
20
|
+
CommissionsStatsDtoToJSON,
|
|
21
|
+
CommissionsStatsDtoToJSONTyped,
|
|
22
|
+
} from './CommissionsStatsDto';
|
|
16
23
|
import type { AccountsStatsDto } from './AccountsStatsDto';
|
|
17
24
|
import {
|
|
18
25
|
AccountsStatsDtoFromJSON,
|
|
@@ -27,6 +34,13 @@ import {
|
|
|
27
34
|
AffiliatesStatsDtoToJSON,
|
|
28
35
|
AffiliatesStatsDtoToJSONTyped,
|
|
29
36
|
} from './AffiliatesStatsDto';
|
|
37
|
+
import type { AuctionsStatsDto } from './AuctionsStatsDto';
|
|
38
|
+
import {
|
|
39
|
+
AuctionsStatsDtoFromJSON,
|
|
40
|
+
AuctionsStatsDtoFromJSONTyped,
|
|
41
|
+
AuctionsStatsDtoToJSON,
|
|
42
|
+
AuctionsStatsDtoToJSONTyped,
|
|
43
|
+
} from './AuctionsStatsDto';
|
|
30
44
|
import type { AccountCountryStatsDto } from './AccountCountryStatsDto';
|
|
31
45
|
import {
|
|
32
46
|
AccountCountryStatsDtoFromJSON,
|
|
@@ -85,6 +99,30 @@ export interface AdminDashboardStatsDto {
|
|
|
85
99
|
* @memberof AdminDashboardStatsDto
|
|
86
100
|
*/
|
|
87
101
|
topSellerAccounts: Array<TopSellerAccountDto>;
|
|
102
|
+
/**
|
|
103
|
+
* Total number of invoices with target buyer (with Bait state condition)
|
|
104
|
+
* @type {number}
|
|
105
|
+
* @memberof AdminDashboardStatsDto
|
|
106
|
+
*/
|
|
107
|
+
totalSalesNumber: number;
|
|
108
|
+
/**
|
|
109
|
+
* Average price of sale in EUR for invoices paid with target buyer
|
|
110
|
+
* @type {number}
|
|
111
|
+
* @memberof AdminDashboardStatsDto
|
|
112
|
+
*/
|
|
113
|
+
averageSalePriceEur: number;
|
|
114
|
+
/**
|
|
115
|
+
* Commissions statistics
|
|
116
|
+
* @type {CommissionsStatsDto}
|
|
117
|
+
* @memberof AdminDashboardStatsDto
|
|
118
|
+
*/
|
|
119
|
+
commissions: CommissionsStatsDto;
|
|
120
|
+
/**
|
|
121
|
+
* Auctions statistics
|
|
122
|
+
* @type {AuctionsStatsDto}
|
|
123
|
+
* @memberof AdminDashboardStatsDto
|
|
124
|
+
*/
|
|
125
|
+
auctions: AuctionsStatsDto;
|
|
88
126
|
}
|
|
89
127
|
|
|
90
128
|
/**
|
|
@@ -96,6 +134,10 @@ export function instanceOfAdminDashboardStatsDto(value: object): value is AdminD
|
|
|
96
134
|
if (!('accounts' in value) || value['accounts'] === undefined) return false;
|
|
97
135
|
if (!('accountCountries' in value) || value['accountCountries'] === undefined) return false;
|
|
98
136
|
if (!('topSellerAccounts' in value) || value['topSellerAccounts'] === undefined) return false;
|
|
137
|
+
if (!('totalSalesNumber' in value) || value['totalSalesNumber'] === undefined) return false;
|
|
138
|
+
if (!('averageSalePriceEur' in value) || value['averageSalePriceEur'] === undefined) return false;
|
|
139
|
+
if (!('commissions' in value) || value['commissions'] === undefined) return false;
|
|
140
|
+
if (!('auctions' in value) || value['auctions'] === undefined) return false;
|
|
99
141
|
return true;
|
|
100
142
|
}
|
|
101
143
|
|
|
@@ -114,6 +156,10 @@ export function AdminDashboardStatsDtoFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
114
156
|
'accounts': AccountsStatsDtoFromJSON(json['accounts']),
|
|
115
157
|
'accountCountries': ((json['accountCountries'] as Array<any>).map(AccountCountryStatsDtoFromJSON)),
|
|
116
158
|
'topSellerAccounts': ((json['topSellerAccounts'] as Array<any>).map(TopSellerAccountDtoFromJSON)),
|
|
159
|
+
'totalSalesNumber': json['totalSalesNumber'],
|
|
160
|
+
'averageSalePriceEur': json['averageSalePriceEur'],
|
|
161
|
+
'commissions': CommissionsStatsDtoFromJSON(json['commissions']),
|
|
162
|
+
'auctions': AuctionsStatsDtoFromJSON(json['auctions']),
|
|
117
163
|
};
|
|
118
164
|
}
|
|
119
165
|
|
|
@@ -133,6 +179,10 @@ export function AdminDashboardStatsDtoToJSONTyped(value?: AdminDashboardStatsDto
|
|
|
133
179
|
'accounts': AccountsStatsDtoToJSON(value['accounts']),
|
|
134
180
|
'accountCountries': ((value['accountCountries'] as Array<any>).map(AccountCountryStatsDtoToJSON)),
|
|
135
181
|
'topSellerAccounts': ((value['topSellerAccounts'] as Array<any>).map(TopSellerAccountDtoToJSON)),
|
|
182
|
+
'totalSalesNumber': value['totalSalesNumber'],
|
|
183
|
+
'averageSalePriceEur': value['averageSalePriceEur'],
|
|
184
|
+
'commissions': CommissionsStatsDtoToJSON(value['commissions']),
|
|
185
|
+
'auctions': AuctionsStatsDtoToJSON(value['auctions']),
|
|
136
186
|
};
|
|
137
187
|
}
|
|
138
188
|
|
|
@@ -55,6 +55,7 @@ export const AuBankAccountDetailsTypeEnum = {
|
|
|
55
55
|
CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
|
|
56
56
|
NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
|
|
57
57
|
AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
|
|
58
|
+
SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
|
|
58
59
|
SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
|
|
59
60
|
} as const;
|
|
60
61
|
export type AuBankAccountDetailsTypeEnum = typeof AuBankAccountDetailsTypeEnum[keyof typeof AuBankAccountDetailsTypeEnum];
|
|
@@ -0,0 +1,102 @@
|
|
|
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 AuctionsStatsDto
|
|
20
|
+
*/
|
|
21
|
+
export interface AuctionsStatsDto {
|
|
22
|
+
/**
|
|
23
|
+
* Number of auctions for which the seller has paid (auctions with account payment)
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof AuctionsStatsDto
|
|
26
|
+
*/
|
|
27
|
+
paidAuctionsCount: number;
|
|
28
|
+
/**
|
|
29
|
+
* Total number of auctions created
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof AuctionsStatsDto
|
|
32
|
+
*/
|
|
33
|
+
totalAuctionsCount: number;
|
|
34
|
+
/**
|
|
35
|
+
* Number of finished auctions that ended with a sale (had a bid)
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof AuctionsStatsDto
|
|
38
|
+
*/
|
|
39
|
+
finishedAuctionsWithSaleCount: number;
|
|
40
|
+
/**
|
|
41
|
+
* Number of finished auctions that ended without a sale (no bid)
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof AuctionsStatsDto
|
|
44
|
+
*/
|
|
45
|
+
finishedAuctionsWithoutSaleCount: number;
|
|
46
|
+
/**
|
|
47
|
+
* Total number of distinct accounts that use paid auctions
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof AuctionsStatsDto
|
|
50
|
+
*/
|
|
51
|
+
accountsUsingPaidAuctionsCount: number;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the AuctionsStatsDto interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfAuctionsStatsDto(value: object): value is AuctionsStatsDto {
|
|
58
|
+
if (!('paidAuctionsCount' in value) || value['paidAuctionsCount'] === undefined) return false;
|
|
59
|
+
if (!('totalAuctionsCount' in value) || value['totalAuctionsCount'] === undefined) return false;
|
|
60
|
+
if (!('finishedAuctionsWithSaleCount' in value) || value['finishedAuctionsWithSaleCount'] === undefined) return false;
|
|
61
|
+
if (!('finishedAuctionsWithoutSaleCount' in value) || value['finishedAuctionsWithoutSaleCount'] === undefined) return false;
|
|
62
|
+
if (!('accountsUsingPaidAuctionsCount' in value) || value['accountsUsingPaidAuctionsCount'] === undefined) return false;
|
|
63
|
+
return true;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function AuctionsStatsDtoFromJSON(json: any): AuctionsStatsDto {
|
|
67
|
+
return AuctionsStatsDtoFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function AuctionsStatsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuctionsStatsDto {
|
|
71
|
+
if (json == null) {
|
|
72
|
+
return json;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'paidAuctionsCount': json['paidAuctionsCount'],
|
|
77
|
+
'totalAuctionsCount': json['totalAuctionsCount'],
|
|
78
|
+
'finishedAuctionsWithSaleCount': json['finishedAuctionsWithSaleCount'],
|
|
79
|
+
'finishedAuctionsWithoutSaleCount': json['finishedAuctionsWithoutSaleCount'],
|
|
80
|
+
'accountsUsingPaidAuctionsCount': json['accountsUsingPaidAuctionsCount'],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function AuctionsStatsDtoToJSON(json: any): AuctionsStatsDto {
|
|
85
|
+
return AuctionsStatsDtoToJSONTyped(json, false);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function AuctionsStatsDtoToJSONTyped(value?: AuctionsStatsDto | null, ignoreDiscriminator: boolean = false): any {
|
|
89
|
+
if (value == null) {
|
|
90
|
+
return value;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
return {
|
|
94
|
+
|
|
95
|
+
'paidAuctionsCount': value['paidAuctionsCount'],
|
|
96
|
+
'totalAuctionsCount': value['totalAuctionsCount'],
|
|
97
|
+
'finishedAuctionsWithSaleCount': value['finishedAuctionsWithSaleCount'],
|
|
98
|
+
'finishedAuctionsWithoutSaleCount': value['finishedAuctionsWithoutSaleCount'],
|
|
99
|
+
'accountsUsingPaidAuctionsCount': value['accountsUsingPaidAuctionsCount'],
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
|
|
@@ -61,6 +61,7 @@ export const CaBankAccountDetailsTypeEnum = {
|
|
|
61
61
|
CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
|
|
62
62
|
NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
|
|
63
63
|
AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
|
|
64
|
+
SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
|
|
64
65
|
SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
|
|
65
66
|
} as const;
|
|
66
67
|
export type CaBankAccountDetailsTypeEnum = typeof CaBankAccountDetailsTypeEnum[keyof typeof CaBankAccountDetailsTypeEnum];
|
|
@@ -0,0 +1,75 @@
|
|
|
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 CommissionsStatsDto
|
|
20
|
+
*/
|
|
21
|
+
export interface CommissionsStatsDto {
|
|
22
|
+
/**
|
|
23
|
+
* Average commission percentage of all invoices with target seller that have commission greater than zero and are paid
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof CommissionsStatsDto
|
|
26
|
+
*/
|
|
27
|
+
averagePercentage: number;
|
|
28
|
+
/**
|
|
29
|
+
* Commission percentage that is repeated the most in invoices issued with target Seller
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof CommissionsStatsDto
|
|
32
|
+
*/
|
|
33
|
+
mostRepeatedPercentage: number | null;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the CommissionsStatsDto interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfCommissionsStatsDto(value: object): value is CommissionsStatsDto {
|
|
40
|
+
if (!('averagePercentage' in value) || value['averagePercentage'] === undefined) return false;
|
|
41
|
+
if (!('mostRepeatedPercentage' in value) || value['mostRepeatedPercentage'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function CommissionsStatsDtoFromJSON(json: any): CommissionsStatsDto {
|
|
46
|
+
return CommissionsStatsDtoFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function CommissionsStatsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommissionsStatsDto {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'averagePercentage': json['averagePercentage'],
|
|
56
|
+
'mostRepeatedPercentage': json['mostRepeatedPercentage'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function CommissionsStatsDtoToJSON(json: any): CommissionsStatsDto {
|
|
61
|
+
return CommissionsStatsDtoToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function CommissionsStatsDtoToJSONTyped(value?: CommissionsStatsDto | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'averagePercentage': value['averagePercentage'],
|
|
72
|
+
'mostRepeatedPercentage': value['mostRepeatedPercentage'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -49,6 +49,7 @@ export const NzBankAccountDetailsTypeEnum = {
|
|
|
49
49
|
CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
|
|
50
50
|
NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
|
|
51
51
|
AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
|
|
52
|
+
SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
|
|
52
53
|
SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
|
|
53
54
|
} as const;
|
|
54
55
|
export type NzBankAccountDetailsTypeEnum = typeof NzBankAccountDetailsTypeEnum[keyof typeof NzBankAccountDetailsTypeEnum];
|
|
@@ -0,0 +1,127 @@
|
|
|
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 SeBankAccountDetails
|
|
20
|
+
*/
|
|
21
|
+
export interface SeBankAccountDetails {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof SeBankAccountDetails
|
|
26
|
+
*/
|
|
27
|
+
type: SeBankAccountDetailsTypeEnum;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof SeBankAccountDetails
|
|
32
|
+
*/
|
|
33
|
+
countryCode: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof SeBankAccountDetails
|
|
38
|
+
*/
|
|
39
|
+
bankCode: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof SeBankAccountDetails
|
|
44
|
+
*/
|
|
45
|
+
accountNumber: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof SeBankAccountDetails
|
|
50
|
+
*/
|
|
51
|
+
iban: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof SeBankAccountDetails
|
|
56
|
+
*/
|
|
57
|
+
bic: string;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
export const SeBankAccountDetailsTypeEnum = {
|
|
65
|
+
UK_BANK_ACCOUNT_DETAILS: 'UkBankAccountDetails',
|
|
66
|
+
US_BANK_ACCOUNT_DETAILS: 'UsBankAccountDetails',
|
|
67
|
+
CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
|
|
68
|
+
NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
|
|
69
|
+
AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
|
|
70
|
+
SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
|
|
71
|
+
SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
|
|
72
|
+
} as const;
|
|
73
|
+
export type SeBankAccountDetailsTypeEnum = typeof SeBankAccountDetailsTypeEnum[keyof typeof SeBankAccountDetailsTypeEnum];
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Check if a given object implements the SeBankAccountDetails interface.
|
|
78
|
+
*/
|
|
79
|
+
export function instanceOfSeBankAccountDetails(value: object): value is SeBankAccountDetails {
|
|
80
|
+
if (!('type' in value) || value['type'] === undefined) return false;
|
|
81
|
+
if (!('countryCode' in value) || value['countryCode'] === undefined) return false;
|
|
82
|
+
if (!('bankCode' in value) || value['bankCode'] === undefined) return false;
|
|
83
|
+
if (!('accountNumber' in value) || value['accountNumber'] === undefined) return false;
|
|
84
|
+
if (!('iban' in value) || value['iban'] === undefined) return false;
|
|
85
|
+
if (!('bic' in value) || value['bic'] === undefined) return false;
|
|
86
|
+
return true;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export function SeBankAccountDetailsFromJSON(json: any): SeBankAccountDetails {
|
|
90
|
+
return SeBankAccountDetailsFromJSONTyped(json, false);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export function SeBankAccountDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SeBankAccountDetails {
|
|
94
|
+
if (json == null) {
|
|
95
|
+
return json;
|
|
96
|
+
}
|
|
97
|
+
return {
|
|
98
|
+
|
|
99
|
+
'type': json['type'],
|
|
100
|
+
'countryCode': json['countryCode'],
|
|
101
|
+
'bankCode': json['bankCode'],
|
|
102
|
+
'accountNumber': json['accountNumber'],
|
|
103
|
+
'iban': json['iban'],
|
|
104
|
+
'bic': json['bic'],
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export function SeBankAccountDetailsToJSON(json: any): SeBankAccountDetails {
|
|
109
|
+
return SeBankAccountDetailsToJSONTyped(json, false);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export function SeBankAccountDetailsToJSONTyped(value?: SeBankAccountDetails | null, ignoreDiscriminator: boolean = false): any {
|
|
113
|
+
if (value == null) {
|
|
114
|
+
return value;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
return {
|
|
118
|
+
|
|
119
|
+
'type': value['type'],
|
|
120
|
+
'countryCode': value['countryCode'],
|
|
121
|
+
'bankCode': value['bankCode'],
|
|
122
|
+
'accountNumber': value['accountNumber'],
|
|
123
|
+
'iban': value['iban'],
|
|
124
|
+
'bic': value['bic'],
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
|
|
@@ -55,6 +55,7 @@ export const SepaBankAccountDetailsTypeEnum = {
|
|
|
55
55
|
CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
|
|
56
56
|
NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
|
|
57
57
|
AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
|
|
58
|
+
SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
|
|
58
59
|
SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
|
|
59
60
|
} as const;
|
|
60
61
|
export type SepaBankAccountDetailsTypeEnum = typeof SepaBankAccountDetailsTypeEnum[keyof typeof SepaBankAccountDetailsTypeEnum];
|
|
@@ -55,6 +55,7 @@ export const UkBankAccountDetailsTypeEnum = {
|
|
|
55
55
|
CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
|
|
56
56
|
NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
|
|
57
57
|
AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
|
|
58
|
+
SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
|
|
58
59
|
SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
|
|
59
60
|
} as const;
|
|
60
61
|
export type UkBankAccountDetailsTypeEnum = typeof UkBankAccountDetailsTypeEnum[keyof typeof UkBankAccountDetailsTypeEnum];
|
|
@@ -55,6 +55,7 @@ export const UsBankAccountDetailsTypeEnum = {
|
|
|
55
55
|
CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
|
|
56
56
|
NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
|
|
57
57
|
AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
|
|
58
|
+
SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
|
|
58
59
|
SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
|
|
59
60
|
} as const;
|
|
60
61
|
export type UsBankAccountDetailsTypeEnum = typeof UsBankAccountDetailsTypeEnum[keyof typeof UsBankAccountDetailsTypeEnum];
|
package/src/models/index.ts
CHANGED
|
@@ -65,6 +65,7 @@ export * from './AuctionDurationDto';
|
|
|
65
65
|
export * from './AuctionListItemDto';
|
|
66
66
|
export * from './AuctionListItemDtoDomainInformation';
|
|
67
67
|
export * from './AuctionListItemDtoSellerAccount';
|
|
68
|
+
export * from './AuctionsStatsDto';
|
|
68
69
|
export * from './BadRequestException';
|
|
69
70
|
export * from './BatchDeleteBuyerLeadsInput';
|
|
70
71
|
export * from './BatchImportPreviewDto';
|
|
@@ -124,6 +125,7 @@ export * from './CommissionPercentageRangeInput';
|
|
|
124
125
|
export * from './CommissionReasonConfigDto';
|
|
125
126
|
export * from './CommissionReasonConfigDtoPayload';
|
|
126
127
|
export * from './CommissionReasonDto';
|
|
128
|
+
export * from './CommissionsStatsDto';
|
|
127
129
|
export * from './CompanyInformationDto';
|
|
128
130
|
export * from './CompanyTaxIdDto';
|
|
129
131
|
export * from './ConcreteDomainTransferTaskData';
|
|
@@ -321,6 +323,7 @@ export * from './RequestEmailOtpInput';
|
|
|
321
323
|
export * from './SalesCountCommissionPayloadDto';
|
|
322
324
|
export * from './SalesCountCommissionPayloadInput';
|
|
323
325
|
export * from './SalesCountCommissionReasonPayloadDto';
|
|
326
|
+
export * from './SeBankAccountDetails';
|
|
324
327
|
export * from './SellerAccountReferralListItemDto';
|
|
325
328
|
export * from './SellerAffiliateCommissionDto';
|
|
326
329
|
export * from './SellerAuctionListItemDto';
|