@randock/nameshift-api-client 0.0.367 → 0.0.369
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 +29 -1
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +34 -1
- package/dist/apis/AdminApi.js +160 -0
- package/dist/apis/DomainsApi.d.ts +12 -1
- package/dist/apis/DomainsApi.js +53 -0
- package/dist/models/AccountNameshiftCommissionBySubtypeDto.d.ts +55 -0
- package/dist/models/AccountNameshiftCommissionBySubtypeDto.js +70 -0
- package/dist/models/AccountNameshiftCommissionByTypeDto.d.ts +33 -0
- package/dist/models/AccountNameshiftCommissionByTypeDto.js +52 -0
- package/dist/models/AdminListAccountDto.d.ts +137 -0
- package/dist/models/{IntersectionListAccountDtoWithAccountCommissionDto.js → AdminListAccountDto.js} +17 -25
- package/dist/models/BulkCommissionActionsInput.d.ts +33 -0
- package/dist/models/BulkCommissionActionsInput.js +52 -0
- package/dist/models/BulkCommissionActionsInputActionsInner.d.ts +29 -0
- package/dist/models/BulkCommissionActionsInputActionsInner.js +58 -0
- package/dist/models/CommissionAccountDto.d.ts +44 -0
- package/dist/models/CommissionAccountDto.js +59 -0
- package/dist/models/CommissionAction.d.ts +26 -0
- package/dist/models/CommissionAction.js +52 -0
- package/dist/models/CommissionAddUpdateActionInput.d.ts +40 -0
- package/dist/models/CommissionAddUpdateActionInput.js +57 -0
- package/dist/models/CommissionConfigurationDto.d.ts +33 -0
- package/dist/models/CommissionConfigurationDto.js +52 -0
- package/dist/models/CommissionConfigurationDtoPayload.d.ts +27 -0
- package/dist/models/CommissionConfigurationDtoPayload.js +54 -0
- package/dist/models/CommissionConfigurationInput.d.ts +39 -0
- package/dist/models/CommissionConfigurationInput.js +56 -0
- package/dist/models/CommissionDeleteActionInput.d.ts +40 -0
- package/dist/models/CommissionDeleteActionInput.js +57 -0
- package/dist/models/CommissionDto.d.ts +112 -0
- package/dist/models/CommissionDto.js +110 -0
- package/dist/models/CommissionFactor.d.ts +25 -0
- package/dist/models/CommissionFactor.js +51 -0
- package/dist/models/CommissionListDto.d.ts +33 -0
- package/dist/models/CommissionListDto.js +52 -0
- package/dist/models/CommissionPayloadIdInput.d.ts +32 -0
- package/dist/models/CommissionPayloadIdInput.js +51 -0
- package/dist/models/CommissionPayloadInput.d.ts +99 -0
- package/dist/models/CommissionPayloadInput.js +101 -0
- package/dist/models/CommissionPercentageRangeDto.d.ts +44 -0
- package/dist/models/CommissionPercentageRangeDto.js +59 -0
- package/dist/models/CommissionPercentageRangeInput.d.ts +44 -0
- package/dist/models/CommissionPercentageRangeInput.js +59 -0
- package/dist/models/CommissionReasonConfigDto.d.ts +47 -0
- package/dist/models/CommissionReasonConfigDto.js +64 -0
- package/dist/models/CommissionReasonConfigDtoPayload.d.ts +27 -0
- package/dist/models/CommissionReasonConfigDtoPayload.js +54 -0
- package/dist/models/CommissionReasonDto.d.ts +112 -0
- package/dist/models/CommissionReasonDto.js +88 -0
- package/dist/models/DomainVerificationStatusDto.d.ts +32 -0
- package/dist/models/DomainVerificationStatusDto.js +51 -0
- package/dist/models/FixedCommissionPayloadDto.d.ts +39 -0
- package/dist/models/FixedCommissionPayloadDto.js +56 -0
- package/dist/models/FixedCommissionPayloadInput.d.ts +32 -0
- package/dist/models/FixedCommissionPayloadInput.js +51 -0
- package/dist/models/FixedCommissionReasonPayloadDto.d.ts +39 -0
- package/dist/models/FixedCommissionReasonPayloadDto.js +56 -0
- package/dist/models/ListAccounts200Response.d.ts +3 -3
- package/dist/models/ListAccounts200Response.js +3 -3
- package/dist/models/SalesCountCommissionPayloadDto.d.ts +40 -0
- package/dist/models/SalesCountCommissionPayloadDto.js +57 -0
- package/dist/models/SalesCountCommissionPayloadInput.d.ts +33 -0
- package/dist/models/SalesCountCommissionPayloadInput.js +52 -0
- package/dist/models/SalesCountCommissionReasonPayloadDto.d.ts +40 -0
- package/dist/models/SalesCountCommissionReasonPayloadDto.js +57 -0
- package/dist/models/index.d.ts +29 -1
- package/dist/models/index.js +29 -1
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +143 -0
- package/src/apis/DomainsApi.ts +48 -0
- package/src/models/AccountNameshiftCommissionBySubtypeDto.ts +105 -0
- package/src/models/AccountNameshiftCommissionByTypeDto.ts +74 -0
- package/src/models/{IntersectionListAccountDtoWithAccountCommissionDto.ts → AdminListAccountDto.ts} +33 -51
- package/src/models/BulkCommissionActionsInput.ts +74 -0
- package/src/models/BulkCommissionActionsInputActionsInner.ts +77 -0
- package/src/models/CommissionAccountDto.ts +84 -0
- package/src/models/CommissionAction.ts +54 -0
- package/src/models/CommissionAddUpdateActionInput.ts +92 -0
- package/src/models/CommissionConfigurationDto.ts +74 -0
- package/src/models/CommissionConfigurationDtoPayload.ts +73 -0
- package/src/models/CommissionConfigurationInput.ts +85 -0
- package/src/models/CommissionDeleteActionInput.ts +92 -0
- package/src/models/CommissionDto.ts +193 -0
- package/src/models/CommissionFactor.ts +53 -0
- package/src/models/CommissionListDto.ts +74 -0
- package/src/models/CommissionPayloadIdInput.ts +66 -0
- package/src/models/CommissionPayloadInput.ts +168 -0
- package/src/models/CommissionPercentageRangeDto.ts +84 -0
- package/src/models/CommissionPercentageRangeInput.ts +84 -0
- package/src/models/CommissionReasonConfigDto.ts +94 -0
- package/src/models/CommissionReasonConfigDtoPayload.ts +73 -0
- package/src/models/CommissionReasonDto.ts +182 -0
- package/src/models/DomainVerificationStatusDto.ts +66 -0
- package/src/models/FixedCommissionPayloadDto.ts +85 -0
- package/src/models/FixedCommissionPayloadInput.ts +66 -0
- package/src/models/FixedCommissionReasonPayloadDto.ts +85 -0
- package/src/models/ListAccounts200Response.ts +10 -10
- package/src/models/SalesCountCommissionPayloadDto.ts +92 -0
- package/src/models/SalesCountCommissionPayloadInput.ts +74 -0
- package/src/models/SalesCountCommissionReasonPayloadDto.ts +92 -0
- package/src/models/index.ts +29 -1
- package/dist/models/IntersectionListAccountDtoWithAccountCommissionDto.d.ts +0 -149
|
@@ -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 FixedCommissionPayloadInput
|
|
20
|
+
*/
|
|
21
|
+
export interface FixedCommissionPayloadInput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof FixedCommissionPayloadInput
|
|
26
|
+
*/
|
|
27
|
+
value: number;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the FixedCommissionPayloadInput interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfFixedCommissionPayloadInput(value: object): value is FixedCommissionPayloadInput {
|
|
34
|
+
if (!('value' in value) || value['value'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function FixedCommissionPayloadInputFromJSON(json: any): FixedCommissionPayloadInput {
|
|
39
|
+
return FixedCommissionPayloadInputFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function FixedCommissionPayloadInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): FixedCommissionPayloadInput {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'value': json['value'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function FixedCommissionPayloadInputToJSON(json: any): FixedCommissionPayloadInput {
|
|
53
|
+
return FixedCommissionPayloadInputToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function FixedCommissionPayloadInputToJSONTyped(value?: FixedCommissionPayloadInput | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'value': value['value'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,85 @@
|
|
|
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 { CommissionFactor } from './CommissionFactor';
|
|
17
|
+
import {
|
|
18
|
+
CommissionFactorFromJSON,
|
|
19
|
+
CommissionFactorFromJSONTyped,
|
|
20
|
+
CommissionFactorToJSON,
|
|
21
|
+
CommissionFactorToJSONTyped,
|
|
22
|
+
} from './CommissionFactor';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface FixedCommissionReasonPayloadDto
|
|
28
|
+
*/
|
|
29
|
+
export interface FixedCommissionReasonPayloadDto {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {CommissionFactor}
|
|
33
|
+
* @memberof FixedCommissionReasonPayloadDto
|
|
34
|
+
*/
|
|
35
|
+
factor: CommissionFactor;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof FixedCommissionReasonPayloadDto
|
|
40
|
+
*/
|
|
41
|
+
value: number;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the FixedCommissionReasonPayloadDto interface.
|
|
48
|
+
*/
|
|
49
|
+
export function instanceOfFixedCommissionReasonPayloadDto(value: object): value is FixedCommissionReasonPayloadDto {
|
|
50
|
+
if (!('factor' in value) || value['factor'] === undefined) return false;
|
|
51
|
+
if (!('value' in value) || value['value'] === undefined) return false;
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function FixedCommissionReasonPayloadDtoFromJSON(json: any): FixedCommissionReasonPayloadDto {
|
|
56
|
+
return FixedCommissionReasonPayloadDtoFromJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function FixedCommissionReasonPayloadDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): FixedCommissionReasonPayloadDto {
|
|
60
|
+
if (json == null) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
|
|
65
|
+
'factor': CommissionFactorFromJSON(json['factor']),
|
|
66
|
+
'value': json['value'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function FixedCommissionReasonPayloadDtoToJSON(json: any): FixedCommissionReasonPayloadDto {
|
|
71
|
+
return FixedCommissionReasonPayloadDtoToJSONTyped(json, false);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function FixedCommissionReasonPayloadDtoToJSONTyped(value?: FixedCommissionReasonPayloadDto | null, ignoreDiscriminator: boolean = false): any {
|
|
75
|
+
if (value == null) {
|
|
76
|
+
return value;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
return {
|
|
80
|
+
|
|
81
|
+
'factor': CommissionFactorToJSON(value['factor']),
|
|
82
|
+
'value': value['value'],
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
PaginateResponseLinksToJSON,
|
|
21
21
|
PaginateResponseLinksToJSONTyped,
|
|
22
22
|
} from './PaginateResponseLinks';
|
|
23
|
-
import type {
|
|
23
|
+
import type { AdminListAccountDto } from './AdminListAccountDto';
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from './
|
|
25
|
+
AdminListAccountDtoFromJSON,
|
|
26
|
+
AdminListAccountDtoFromJSONTyped,
|
|
27
|
+
AdminListAccountDtoToJSON,
|
|
28
|
+
AdminListAccountDtoToJSONTyped,
|
|
29
|
+
} from './AdminListAccountDto';
|
|
30
30
|
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
31
31
|
import {
|
|
32
32
|
PaginateResponseMetaFromJSON,
|
|
@@ -43,10 +43,10 @@ import {
|
|
|
43
43
|
export interface ListAccounts200Response {
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
|
-
* @type {Array<
|
|
46
|
+
* @type {Array<AdminListAccountDto>}
|
|
47
47
|
* @memberof ListAccounts200Response
|
|
48
48
|
*/
|
|
49
|
-
data: Array<
|
|
49
|
+
data: Array<AdminListAccountDto>;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
52
|
* @type {PaginateResponseMeta}
|
|
@@ -81,7 +81,7 @@ export function ListAccounts200ResponseFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
81
81
|
}
|
|
82
82
|
return {
|
|
83
83
|
|
|
84
|
-
'data': ((json['data'] as Array<any>).map(
|
|
84
|
+
'data': ((json['data'] as Array<any>).map(AdminListAccountDtoFromJSON)),
|
|
85
85
|
'meta': PaginateResponseMetaFromJSON(json['meta']),
|
|
86
86
|
'links': PaginateResponseLinksFromJSON(json['links']),
|
|
87
87
|
};
|
|
@@ -98,7 +98,7 @@ export function ListAccounts200ResponseToJSONTyped(value?: ListAccounts200Respon
|
|
|
98
98
|
|
|
99
99
|
return {
|
|
100
100
|
|
|
101
|
-
'data': ((value['data'] as Array<any>).map(
|
|
101
|
+
'data': ((value['data'] as Array<any>).map(AdminListAccountDtoToJSON)),
|
|
102
102
|
'meta': PaginateResponseMetaToJSON(value['meta']),
|
|
103
103
|
'links': PaginateResponseLinksToJSON(value['links']),
|
|
104
104
|
};
|
|
@@ -0,0 +1,92 @@
|
|
|
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 { CommissionFactor } from './CommissionFactor';
|
|
17
|
+
import {
|
|
18
|
+
CommissionFactorFromJSON,
|
|
19
|
+
CommissionFactorFromJSONTyped,
|
|
20
|
+
CommissionFactorToJSON,
|
|
21
|
+
CommissionFactorToJSONTyped,
|
|
22
|
+
} from './CommissionFactor';
|
|
23
|
+
import type { CommissionPercentageRangeDto } from './CommissionPercentageRangeDto';
|
|
24
|
+
import {
|
|
25
|
+
CommissionPercentageRangeDtoFromJSON,
|
|
26
|
+
CommissionPercentageRangeDtoFromJSONTyped,
|
|
27
|
+
CommissionPercentageRangeDtoToJSON,
|
|
28
|
+
CommissionPercentageRangeDtoToJSONTyped,
|
|
29
|
+
} from './CommissionPercentageRangeDto';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface SalesCountCommissionPayloadDto
|
|
35
|
+
*/
|
|
36
|
+
export interface SalesCountCommissionPayloadDto {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {CommissionFactor}
|
|
40
|
+
* @memberof SalesCountCommissionPayloadDto
|
|
41
|
+
*/
|
|
42
|
+
factor: CommissionFactor;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<CommissionPercentageRangeDto>}
|
|
46
|
+
* @memberof SalesCountCommissionPayloadDto
|
|
47
|
+
*/
|
|
48
|
+
value: Array<CommissionPercentageRangeDto>;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Check if a given object implements the SalesCountCommissionPayloadDto interface.
|
|
55
|
+
*/
|
|
56
|
+
export function instanceOfSalesCountCommissionPayloadDto(value: object): value is SalesCountCommissionPayloadDto {
|
|
57
|
+
if (!('factor' in value) || value['factor'] === undefined) return false;
|
|
58
|
+
if (!('value' in value) || value['value'] === undefined) return false;
|
|
59
|
+
return true;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function SalesCountCommissionPayloadDtoFromJSON(json: any): SalesCountCommissionPayloadDto {
|
|
63
|
+
return SalesCountCommissionPayloadDtoFromJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function SalesCountCommissionPayloadDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SalesCountCommissionPayloadDto {
|
|
67
|
+
if (json == null) {
|
|
68
|
+
return json;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
|
|
72
|
+
'factor': CommissionFactorFromJSON(json['factor']),
|
|
73
|
+
'value': ((json['value'] as Array<any>).map(CommissionPercentageRangeDtoFromJSON)),
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function SalesCountCommissionPayloadDtoToJSON(json: any): SalesCountCommissionPayloadDto {
|
|
78
|
+
return SalesCountCommissionPayloadDtoToJSONTyped(json, false);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export function SalesCountCommissionPayloadDtoToJSONTyped(value?: SalesCountCommissionPayloadDto | null, ignoreDiscriminator: boolean = false): any {
|
|
82
|
+
if (value == null) {
|
|
83
|
+
return value;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
return {
|
|
87
|
+
|
|
88
|
+
'factor': CommissionFactorToJSON(value['factor']),
|
|
89
|
+
'value': ((value['value'] as Array<any>).map(CommissionPercentageRangeDtoToJSON)),
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
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 { CommissionPercentageRangeInput } from './CommissionPercentageRangeInput';
|
|
17
|
+
import {
|
|
18
|
+
CommissionPercentageRangeInputFromJSON,
|
|
19
|
+
CommissionPercentageRangeInputFromJSONTyped,
|
|
20
|
+
CommissionPercentageRangeInputToJSON,
|
|
21
|
+
CommissionPercentageRangeInputToJSONTyped,
|
|
22
|
+
} from './CommissionPercentageRangeInput';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface SalesCountCommissionPayloadInput
|
|
28
|
+
*/
|
|
29
|
+
export interface SalesCountCommissionPayloadInput {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<CommissionPercentageRangeInput>}
|
|
33
|
+
* @memberof SalesCountCommissionPayloadInput
|
|
34
|
+
*/
|
|
35
|
+
value: Array<CommissionPercentageRangeInput>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the SalesCountCommissionPayloadInput interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfSalesCountCommissionPayloadInput(value: object): value is SalesCountCommissionPayloadInput {
|
|
42
|
+
if (!('value' in value) || value['value'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function SalesCountCommissionPayloadInputFromJSON(json: any): SalesCountCommissionPayloadInput {
|
|
47
|
+
return SalesCountCommissionPayloadInputFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function SalesCountCommissionPayloadInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SalesCountCommissionPayloadInput {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'value': ((json['value'] as Array<any>).map(CommissionPercentageRangeInputFromJSON)),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function SalesCountCommissionPayloadInputToJSON(json: any): SalesCountCommissionPayloadInput {
|
|
61
|
+
return SalesCountCommissionPayloadInputToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function SalesCountCommissionPayloadInputToJSONTyped(value?: SalesCountCommissionPayloadInput | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'value': ((value['value'] as Array<any>).map(CommissionPercentageRangeInputToJSON)),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,92 @@
|
|
|
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 { CommissionFactor } from './CommissionFactor';
|
|
17
|
+
import {
|
|
18
|
+
CommissionFactorFromJSON,
|
|
19
|
+
CommissionFactorFromJSONTyped,
|
|
20
|
+
CommissionFactorToJSON,
|
|
21
|
+
CommissionFactorToJSONTyped,
|
|
22
|
+
} from './CommissionFactor';
|
|
23
|
+
import type { CommissionPercentageRangeDto } from './CommissionPercentageRangeDto';
|
|
24
|
+
import {
|
|
25
|
+
CommissionPercentageRangeDtoFromJSON,
|
|
26
|
+
CommissionPercentageRangeDtoFromJSONTyped,
|
|
27
|
+
CommissionPercentageRangeDtoToJSON,
|
|
28
|
+
CommissionPercentageRangeDtoToJSONTyped,
|
|
29
|
+
} from './CommissionPercentageRangeDto';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface SalesCountCommissionReasonPayloadDto
|
|
35
|
+
*/
|
|
36
|
+
export interface SalesCountCommissionReasonPayloadDto {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {CommissionFactor}
|
|
40
|
+
* @memberof SalesCountCommissionReasonPayloadDto
|
|
41
|
+
*/
|
|
42
|
+
factor: CommissionFactor;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<CommissionPercentageRangeDto>}
|
|
46
|
+
* @memberof SalesCountCommissionReasonPayloadDto
|
|
47
|
+
*/
|
|
48
|
+
value: Array<CommissionPercentageRangeDto>;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Check if a given object implements the SalesCountCommissionReasonPayloadDto interface.
|
|
55
|
+
*/
|
|
56
|
+
export function instanceOfSalesCountCommissionReasonPayloadDto(value: object): value is SalesCountCommissionReasonPayloadDto {
|
|
57
|
+
if (!('factor' in value) || value['factor'] === undefined) return false;
|
|
58
|
+
if (!('value' in value) || value['value'] === undefined) return false;
|
|
59
|
+
return true;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function SalesCountCommissionReasonPayloadDtoFromJSON(json: any): SalesCountCommissionReasonPayloadDto {
|
|
63
|
+
return SalesCountCommissionReasonPayloadDtoFromJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function SalesCountCommissionReasonPayloadDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SalesCountCommissionReasonPayloadDto {
|
|
67
|
+
if (json == null) {
|
|
68
|
+
return json;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
|
|
72
|
+
'factor': CommissionFactorFromJSON(json['factor']),
|
|
73
|
+
'value': ((json['value'] as Array<any>).map(CommissionPercentageRangeDtoFromJSON)),
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function SalesCountCommissionReasonPayloadDtoToJSON(json: any): SalesCountCommissionReasonPayloadDto {
|
|
78
|
+
return SalesCountCommissionReasonPayloadDtoToJSONTyped(json, false);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export function SalesCountCommissionReasonPayloadDtoToJSONTyped(value?: SalesCountCommissionReasonPayloadDto | null, ignoreDiscriminator: boolean = false): any {
|
|
82
|
+
if (value == null) {
|
|
83
|
+
return value;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
return {
|
|
87
|
+
|
|
88
|
+
'factor': CommissionFactorToJSON(value['factor']),
|
|
89
|
+
'value': ((value['value'] as Array<any>).map(CommissionPercentageRangeDtoToJSON)),
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -7,6 +7,8 @@ export * from './AccountBankAccountDtoDetails';
|
|
|
7
7
|
export * from './AccountCommissionByDateRangeDto';
|
|
8
8
|
export * from './AccountDto';
|
|
9
9
|
export * from './AccountMetricsDto';
|
|
10
|
+
export * from './AccountNameshiftCommissionBySubtypeDto';
|
|
11
|
+
export * from './AccountNameshiftCommissionByTypeDto';
|
|
10
12
|
export * from './AccountNotificationDto';
|
|
11
13
|
export * from './AccountNotificationReadStatusDto';
|
|
12
14
|
export * from './AccountOnboardingDto';
|
|
@@ -37,6 +39,7 @@ export * from './AdminBankAccountDto';
|
|
|
37
39
|
export * from './AdminCompanyStatsDto';
|
|
38
40
|
export * from './AdminCompanyStatsLedger';
|
|
39
41
|
export * from './AdminGetAllDomainTransfers200Response';
|
|
42
|
+
export * from './AdminListAccountDto';
|
|
40
43
|
export * from './AdminVerificationDepositDto';
|
|
41
44
|
export * from './AggregatedPaginationResponse';
|
|
42
45
|
export * from './AirwallexBankAccountDetailsDto';
|
|
@@ -66,6 +69,8 @@ export * from './BatchReadSellerLeadMessageInput';
|
|
|
66
69
|
export * from './BatchUpdateDomainsInput';
|
|
67
70
|
export * from './BatchVerifyBuyerLeadsInput';
|
|
68
71
|
export * from './BillingInformationDto';
|
|
72
|
+
export * from './BulkCommissionActionsInput';
|
|
73
|
+
export * from './BulkCommissionActionsInputActionsInner';
|
|
69
74
|
export * from './BulkDownloadInvoicesInput';
|
|
70
75
|
export * from './BulkMarkBuyerNotificationsAsReadInputDto';
|
|
71
76
|
export * from './BulkMarkNotificationsAsReadInputDto';
|
|
@@ -98,6 +103,23 @@ export * from './CaBankAccountDetails';
|
|
|
98
103
|
export * from './ChangeOrderStatusInput';
|
|
99
104
|
export * from './ChangeSubscriptionStatusInput';
|
|
100
105
|
export * from './ChartDataPoint';
|
|
106
|
+
export * from './CommissionAccountDto';
|
|
107
|
+
export * from './CommissionAction';
|
|
108
|
+
export * from './CommissionAddUpdateActionInput';
|
|
109
|
+
export * from './CommissionConfigurationDto';
|
|
110
|
+
export * from './CommissionConfigurationDtoPayload';
|
|
111
|
+
export * from './CommissionConfigurationInput';
|
|
112
|
+
export * from './CommissionDeleteActionInput';
|
|
113
|
+
export * from './CommissionDto';
|
|
114
|
+
export * from './CommissionFactor';
|
|
115
|
+
export * from './CommissionListDto';
|
|
116
|
+
export * from './CommissionPayloadIdInput';
|
|
117
|
+
export * from './CommissionPayloadInput';
|
|
118
|
+
export * from './CommissionPercentageRangeDto';
|
|
119
|
+
export * from './CommissionPercentageRangeInput';
|
|
120
|
+
export * from './CommissionReasonConfigDto';
|
|
121
|
+
export * from './CommissionReasonConfigDtoPayload';
|
|
122
|
+
export * from './CommissionReasonDto';
|
|
101
123
|
export * from './CompanyInformationDto';
|
|
102
124
|
export * from './CompanyTaxIdDto';
|
|
103
125
|
export * from './ConcreteDomainTransferTaskData';
|
|
@@ -154,7 +176,11 @@ export * from './DomainTransferTldInformationDto';
|
|
|
154
176
|
export * from './DomainTransferTldInformationResultDto';
|
|
155
177
|
export * from './DomainTransferWorkflowDto';
|
|
156
178
|
export * from './DomainUrlDto';
|
|
179
|
+
export * from './DomainVerificationStatusDto';
|
|
157
180
|
export * from './EppBatchUpdateInput';
|
|
181
|
+
export * from './FixedCommissionPayloadDto';
|
|
182
|
+
export * from './FixedCommissionPayloadInput';
|
|
183
|
+
export * from './FixedCommissionReasonPayloadDto';
|
|
158
184
|
export * from './ForgotPasswordRequestInput';
|
|
159
185
|
export * from './GetAllAffiliateCommissions200Response';
|
|
160
186
|
export * from './GetAllAuctions200Response';
|
|
@@ -180,7 +206,6 @@ export * from './IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto';
|
|
|
180
206
|
export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
|
|
181
207
|
export * from './IntersectionDomainDtoWithSeoMetricsDto';
|
|
182
208
|
export * from './IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto';
|
|
183
|
-
export * from './IntersectionListAccountDtoWithAccountCommissionDto';
|
|
184
209
|
export * from './IntersectionTaskListTaskDto';
|
|
185
210
|
export * from './InvoiceDomainDto';
|
|
186
211
|
export * from './InvoiceDto';
|
|
@@ -288,6 +313,9 @@ export * from './RentConfigurationPresetsDto';
|
|
|
288
313
|
export * from './RentDto';
|
|
289
314
|
export * from './RequestAccessTokenInput';
|
|
290
315
|
export * from './RequestEmailOtpInput';
|
|
316
|
+
export * from './SalesCountCommissionPayloadDto';
|
|
317
|
+
export * from './SalesCountCommissionPayloadInput';
|
|
318
|
+
export * from './SalesCountCommissionReasonPayloadDto';
|
|
291
319
|
export * from './SellerAccountReferralListItemDto';
|
|
292
320
|
export * from './SellerAffiliateCommissionDto';
|
|
293
321
|
export * from './SellerAuctionListItemDto';
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Nameshift
|
|
3
|
-
* Nameshift API
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ListAccountMetricsDto } from './ListAccountMetricsDto';
|
|
13
|
-
import type { ListAccountUserDto } from './ListAccountUserDto';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface IntersectionListAccountDtoWithAccountCommissionDto
|
|
18
|
-
*/
|
|
19
|
-
export interface IntersectionListAccountDtoWithAccountCommissionDto {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
24
|
-
*/
|
|
25
|
-
id: string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
30
|
-
*/
|
|
31
|
-
alias: string | null;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {boolean}
|
|
35
|
-
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
36
|
-
*/
|
|
37
|
-
aliasVerified: boolean;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
42
|
-
*/
|
|
43
|
-
onboardingProvider: IntersectionListAccountDtoWithAccountCommissionDtoOnboardingProviderEnum;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
48
|
-
*/
|
|
49
|
-
onboardingStatus: IntersectionListAccountDtoWithAccountCommissionDtoOnboardingStatusEnum;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
54
|
-
*/
|
|
55
|
-
payoutProvider: IntersectionListAccountDtoWithAccountCommissionDtoPayoutProviderEnum;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
60
|
-
*/
|
|
61
|
-
affiliateId: string | null;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
66
|
-
*/
|
|
67
|
-
identifier: string;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @type {Date}
|
|
71
|
-
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
72
|
-
*/
|
|
73
|
-
createdAt: Date;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {string}
|
|
77
|
-
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
78
|
-
*/
|
|
79
|
-
name: string | null;
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* @type {string}
|
|
83
|
-
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
84
|
-
*/
|
|
85
|
-
type: string | null;
|
|
86
|
-
/**
|
|
87
|
-
*
|
|
88
|
-
* @type {ListAccountMetricsDto}
|
|
89
|
-
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
90
|
-
*/
|
|
91
|
-
metrics: ListAccountMetricsDto;
|
|
92
|
-
/**
|
|
93
|
-
*
|
|
94
|
-
* @type {Date}
|
|
95
|
-
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
96
|
-
*/
|
|
97
|
-
lastOnline: Date;
|
|
98
|
-
/**
|
|
99
|
-
*
|
|
100
|
-
* @type {Array<ListAccountUserDto>}
|
|
101
|
-
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
102
|
-
*/
|
|
103
|
-
users: Array<ListAccountUserDto>;
|
|
104
|
-
/**
|
|
105
|
-
*
|
|
106
|
-
* @type {number}
|
|
107
|
-
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
108
|
-
*/
|
|
109
|
-
defaultCommissionPercentage: number;
|
|
110
|
-
/**
|
|
111
|
-
*
|
|
112
|
-
* @type {number}
|
|
113
|
-
* @memberof IntersectionListAccountDtoWithAccountCommissionDto
|
|
114
|
-
*/
|
|
115
|
-
commissionPercentage: number;
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* @export
|
|
119
|
-
*/
|
|
120
|
-
export declare const IntersectionListAccountDtoWithAccountCommissionDtoOnboardingProviderEnum: {
|
|
121
|
-
readonly STRIPE: "stripe";
|
|
122
|
-
readonly SUMSUB: "sumsub";
|
|
123
|
-
};
|
|
124
|
-
export type IntersectionListAccountDtoWithAccountCommissionDtoOnboardingProviderEnum = typeof IntersectionListAccountDtoWithAccountCommissionDtoOnboardingProviderEnum[keyof typeof IntersectionListAccountDtoWithAccountCommissionDtoOnboardingProviderEnum];
|
|
125
|
-
/**
|
|
126
|
-
* @export
|
|
127
|
-
*/
|
|
128
|
-
export declare const IntersectionListAccountDtoWithAccountCommissionDtoOnboardingStatusEnum: {
|
|
129
|
-
readonly PENDING: "pending";
|
|
130
|
-
readonly ACTIVE: "active";
|
|
131
|
-
readonly REJECTED: "rejected";
|
|
132
|
-
};
|
|
133
|
-
export type IntersectionListAccountDtoWithAccountCommissionDtoOnboardingStatusEnum = typeof IntersectionListAccountDtoWithAccountCommissionDtoOnboardingStatusEnum[keyof typeof IntersectionListAccountDtoWithAccountCommissionDtoOnboardingStatusEnum];
|
|
134
|
-
/**
|
|
135
|
-
* @export
|
|
136
|
-
*/
|
|
137
|
-
export declare const IntersectionListAccountDtoWithAccountCommissionDtoPayoutProviderEnum: {
|
|
138
|
-
readonly STRIPE: "stripe";
|
|
139
|
-
readonly BANK_ACCOUNT: "bank_account";
|
|
140
|
-
};
|
|
141
|
-
export type IntersectionListAccountDtoWithAccountCommissionDtoPayoutProviderEnum = typeof IntersectionListAccountDtoWithAccountCommissionDtoPayoutProviderEnum[keyof typeof IntersectionListAccountDtoWithAccountCommissionDtoPayoutProviderEnum];
|
|
142
|
-
/**
|
|
143
|
-
* Check if a given object implements the IntersectionListAccountDtoWithAccountCommissionDto interface.
|
|
144
|
-
*/
|
|
145
|
-
export declare function instanceOfIntersectionListAccountDtoWithAccountCommissionDto(value: object): value is IntersectionListAccountDtoWithAccountCommissionDto;
|
|
146
|
-
export declare function IntersectionListAccountDtoWithAccountCommissionDtoFromJSON(json: any): IntersectionListAccountDtoWithAccountCommissionDto;
|
|
147
|
-
export declare function IntersectionListAccountDtoWithAccountCommissionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionListAccountDtoWithAccountCommissionDto;
|
|
148
|
-
export declare function IntersectionListAccountDtoWithAccountCommissionDtoToJSON(json: any): IntersectionListAccountDtoWithAccountCommissionDto;
|
|
149
|
-
export declare function IntersectionListAccountDtoWithAccountCommissionDtoToJSONTyped(value?: IntersectionListAccountDtoWithAccountCommissionDto | null, ignoreDiscriminator?: boolean): any;
|