@randock/nameshift-api-client 0.0.366 → 0.0.368
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 +45 -1
- package/dist/apis/AdminApi.js +211 -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/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/LedgerMutationAttachmentDto.d.ts +38 -0
- package/dist/models/LedgerMutationAttachmentDto.js +55 -0
- package/dist/models/LedgerMutationDto.d.ts +7 -0
- package/dist/models/LedgerMutationDto.js +5 -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 +187 -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/FixedCommissionPayloadDto.ts +85 -0
- package/src/models/FixedCommissionPayloadInput.ts +66 -0
- package/src/models/FixedCommissionReasonPayloadDto.ts +85 -0
- package/src/models/LedgerMutationAttachmentDto.ts +75 -0
- package/src/models/LedgerMutationDto.ts +17 -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
|
@@ -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;
|