@emilgroup/commission-sdk 1.0.0-beta.1
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 +40 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +51 -0
- package/api/commission-agreement-versions-api.ts +531 -0
- package/api/commission-agreements-api.ts +638 -0
- package/api/commissions-api.ts +637 -0
- package/api/default-api.ts +124 -0
- package/api.ts +33 -0
- package/base.ts +331 -0
- package/common.ts +198 -0
- package/configuration.ts +110 -0
- package/dist/api/commission-agreement-versions-api.d.ts +300 -0
- package/dist/api/commission-agreement-versions-api.js +527 -0
- package/dist/api/commission-agreements-api.d.ts +357 -0
- package/dist/api/commission-agreements-api.js +620 -0
- package/dist/api/commissions-api.d.ts +357 -0
- package/dist/api/commissions-api.js +620 -0
- package/dist/api/default-api.d.ts +70 -0
- package/dist/api/default-api.js +200 -0
- package/dist/api.d.ts +15 -0
- package/dist/api.js +33 -0
- package/dist/base.d.ts +86 -0
- package/dist/base.js +367 -0
- package/dist/common.d.ts +91 -0
- package/dist/common.js +276 -0
- package/dist/configuration.d.ts +89 -0
- package/dist/configuration.js +52 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/commission-agreement-class.d.ts +89 -0
- package/dist/models/commission-agreement-class.js +25 -0
- package/dist/models/commission-agreement-version-class.d.ts +79 -0
- package/dist/models/commission-agreement-version-class.js +15 -0
- package/dist/models/commission-class.d.ts +103 -0
- package/dist/models/commission-class.js +15 -0
- package/dist/models/commission-item-class.d.ts +84 -0
- package/dist/models/commission-item-class.js +21 -0
- package/dist/models/create-commission-agreement-request-dto.d.ts +71 -0
- package/dist/models/create-commission-agreement-request-dto.js +25 -0
- package/dist/models/create-commission-agreement-response-class.d.ts +25 -0
- package/dist/models/create-commission-agreement-response-class.js +15 -0
- package/dist/models/create-commission-agreement-version-request-dto.d.ts +42 -0
- package/dist/models/create-commission-agreement-version-request-dto.js +15 -0
- package/dist/models/create-commission-agreement-version-response-class.d.ts +25 -0
- package/dist/models/create-commission-agreement-version-response-class.js +15 -0
- package/dist/models/create-commission-item-request-dto.d.ts +48 -0
- package/dist/models/create-commission-item-request-dto.js +21 -0
- package/dist/models/create-commission-request-dto.d.ts +55 -0
- package/dist/models/create-commission-request-dto.js +15 -0
- package/dist/models/create-commission-response-class.d.ts +25 -0
- package/dist/models/create-commission-response-class.js +15 -0
- package/dist/models/get-commission-agreement-response-class.d.ts +25 -0
- package/dist/models/get-commission-agreement-response-class.js +15 -0
- package/dist/models/get-commission-agreement-version-response-class.d.ts +25 -0
- package/dist/models/get-commission-agreement-version-response-class.js +15 -0
- package/dist/models/get-commission-response-class.d.ts +25 -0
- package/dist/models/get-commission-response-class.js +15 -0
- package/dist/models/index.d.ts +23 -0
- package/dist/models/index.js +39 -0
- package/dist/models/inline-response200.d.ts +54 -0
- package/dist/models/inline-response200.js +15 -0
- package/dist/models/inline-response503.d.ts +54 -0
- package/dist/models/inline-response503.js +15 -0
- package/dist/models/list-commission-agreement-versions-response-class.d.ts +43 -0
- package/dist/models/list-commission-agreement-versions-response-class.js +15 -0
- package/dist/models/list-commission-agreements-response-class.d.ts +43 -0
- package/dist/models/list-commission-agreements-response-class.js +15 -0
- package/dist/models/list-commissions-response-class.d.ts +43 -0
- package/dist/models/list-commissions-response-class.js +15 -0
- package/dist/models/update-commission-agreement-request-dto.d.ts +48 -0
- package/dist/models/update-commission-agreement-request-dto.js +21 -0
- package/dist/models/update-commission-agreement-response-class.d.ts +25 -0
- package/dist/models/update-commission-agreement-response-class.js +15 -0
- package/dist/models/update-commission-request-dto.d.ts +53 -0
- package/dist/models/update-commission-request-dto.js +20 -0
- package/dist/models/update-commission-response-class.d.ts +25 -0
- package/dist/models/update-commission-response-class.js +15 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/commission-agreement-class.ts +99 -0
- package/models/commission-agreement-version-class.ts +85 -0
- package/models/commission-class.ts +109 -0
- package/models/commission-item-class.ts +93 -0
- package/models/create-commission-agreement-request-dto.ts +81 -0
- package/models/create-commission-agreement-response-class.ts +31 -0
- package/models/create-commission-agreement-version-request-dto.ts +48 -0
- package/models/create-commission-agreement-version-response-class.ts +31 -0
- package/models/create-commission-item-request-dto.ts +57 -0
- package/models/create-commission-request-dto.ts +61 -0
- package/models/create-commission-response-class.ts +31 -0
- package/models/get-commission-agreement-response-class.ts +31 -0
- package/models/get-commission-agreement-version-response-class.ts +31 -0
- package/models/get-commission-response-class.ts +31 -0
- package/models/index.ts +23 -0
- package/models/inline-response200.ts +48 -0
- package/models/inline-response503.ts +48 -0
- package/models/list-commission-agreement-versions-response-class.ts +49 -0
- package/models/list-commission-agreements-response-class.ts +49 -0
- package/models/list-commissions-response-class.ts +49 -0
- package/models/update-commission-agreement-request-dto.ts +57 -0
- package/models/update-commission-agreement-response-class.ts +31 -0
- package/models/update-commission-request-dto.ts +62 -0
- package/models/update-commission-response-class.ts +31 -0
- package/package.json +26 -0
- package/tsconfig.json +23 -0
package/configuration.ts
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CommissionService
|
|
5
|
+
* The EMIL CommissionService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
16
|
+
export interface ConfigurationParameters {
|
|
17
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
18
|
+
username?: string;
|
|
19
|
+
password?: string;
|
|
20
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
21
|
+
basePath?: string;
|
|
22
|
+
baseOptions?: any;
|
|
23
|
+
formDataCtor?: new () => any;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export class Configuration {
|
|
27
|
+
/**
|
|
28
|
+
* parameter for apiKey security
|
|
29
|
+
* @param name security name
|
|
30
|
+
* @memberof Configuration
|
|
31
|
+
*/
|
|
32
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
33
|
+
/**
|
|
34
|
+
* parameter for basic security
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof Configuration
|
|
38
|
+
*/
|
|
39
|
+
username?: string;
|
|
40
|
+
/**
|
|
41
|
+
* parameter for basic security
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof Configuration
|
|
45
|
+
*/
|
|
46
|
+
password?: string;
|
|
47
|
+
/**
|
|
48
|
+
* parameter for oauth2 security
|
|
49
|
+
* @param name security name
|
|
50
|
+
* @param scopes oauth2 scope
|
|
51
|
+
* @memberof Configuration
|
|
52
|
+
*/
|
|
53
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
54
|
+
/**
|
|
55
|
+
* override base path
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof Configuration
|
|
59
|
+
*/
|
|
60
|
+
basePath?: string;
|
|
61
|
+
/**
|
|
62
|
+
* base options for axios calls
|
|
63
|
+
*
|
|
64
|
+
* @type {any}
|
|
65
|
+
* @memberof Configuration
|
|
66
|
+
*/
|
|
67
|
+
baseOptions?: any;
|
|
68
|
+
/**
|
|
69
|
+
* The FormData constructor that will be used to create multipart form data
|
|
70
|
+
* requests. You can inject this here so that execution environments that
|
|
71
|
+
* do not support the FormData class can still run the generated client.
|
|
72
|
+
*
|
|
73
|
+
* @type {new () => FormData}
|
|
74
|
+
*/
|
|
75
|
+
formDataCtor?: new () => any;
|
|
76
|
+
|
|
77
|
+
constructor(param: ConfigurationParameters = {}) {
|
|
78
|
+
this.apiKey = param.apiKey;
|
|
79
|
+
this.username = param.username;
|
|
80
|
+
this.password = param.password;
|
|
81
|
+
this.accessToken = param.accessToken;
|
|
82
|
+
this.basePath = param.basePath;
|
|
83
|
+
this.baseOptions = param.baseOptions;
|
|
84
|
+
this.formDataCtor = param.formDataCtor;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Check if the given MIME is a JSON MIME.
|
|
89
|
+
* JSON MIME examples:
|
|
90
|
+
* application/json
|
|
91
|
+
* application/json; charset=UTF8
|
|
92
|
+
* APPLICATION/JSON
|
|
93
|
+
* application/vnd.company+json
|
|
94
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
95
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
96
|
+
*/
|
|
97
|
+
public isJsonMime(mime: string): boolean {
|
|
98
|
+
const jsonMime: RegExp = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
|
|
99
|
+
return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Returns "Bearer" token.
|
|
104
|
+
* @param token - access token.
|
|
105
|
+
* @return Bearer token.
|
|
106
|
+
*/
|
|
107
|
+
public getBearerToken(token?: string): string {
|
|
108
|
+
return ('' + token).startsWith("Bearer") ? token : "Bearer " + token;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CommissionService
|
|
3
|
+
* The EMIL CommissionService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
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 { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CreateCommissionAgreementVersionRequestDto } from '../models';
|
|
16
|
+
import { CreateCommissionAgreementVersionResponseClass } from '../models';
|
|
17
|
+
import { GetCommissionAgreementVersionResponseClass } from '../models';
|
|
18
|
+
import { ListCommissionAgreementVersionsResponseClass } from '../models';
|
|
19
|
+
/**
|
|
20
|
+
* CommissionAgreementVersionsApi - axios parameter creator
|
|
21
|
+
* @export
|
|
22
|
+
*/
|
|
23
|
+
export declare const CommissionAgreementVersionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
|
+
/**
|
|
25
|
+
* This will create commission agreement version.
|
|
26
|
+
* @summary Create the commission agreement version
|
|
27
|
+
* @param {CreateCommissionAgreementVersionRequestDto} createCommissionAgreementVersionRequestDto
|
|
28
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
29
|
+
* @param {*} [options] Override http request option.
|
|
30
|
+
* @throws {RequiredError}
|
|
31
|
+
*/
|
|
32
|
+
createCommissionAgreementVersion: (createCommissionAgreementVersionRequestDto: CreateCommissionAgreementVersionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
|
+
/**
|
|
34
|
+
* This will delete commission agreement version.
|
|
35
|
+
* @summary Delete the commission agreement version
|
|
36
|
+
* @param {string} code Unique identifier for the object.
|
|
37
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
38
|
+
* @param {*} [options] Override http request option.
|
|
39
|
+
* @throws {RequiredError}
|
|
40
|
+
*/
|
|
41
|
+
deleteCommissionAgreementVersion: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
|
+
/**
|
|
43
|
+
* This will get commission agreement version.
|
|
44
|
+
* @summary Retrieve the commission agreement version
|
|
45
|
+
* @param {string} code
|
|
46
|
+
* @param {string} expand
|
|
47
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
48
|
+
* @param {*} [options] Override http request option.
|
|
49
|
+
* @throws {RequiredError}
|
|
50
|
+
*/
|
|
51
|
+
getCommissionAgreementVersion: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
|
+
/**
|
|
53
|
+
* Retrieves a list of commission agreement versions.
|
|
54
|
+
* @summary List commission agreement versions
|
|
55
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
56
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, commissionAgreementId, startDate, endDate, createdAt</i>
|
|
57
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, commissionAgreementId, startDate, endDate, createdAt</i>
|
|
58
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt, startDate, endDate</i>
|
|
59
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
60
|
+
* @param {*} [options] Override http request option.
|
|
61
|
+
* @throws {RequiredError}
|
|
62
|
+
*/
|
|
63
|
+
listCommissionAgreementVersions: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* CommissionAgreementVersionsApi - functional programming interface
|
|
67
|
+
* @export
|
|
68
|
+
*/
|
|
69
|
+
export declare const CommissionAgreementVersionsApiFp: (configuration?: Configuration) => {
|
|
70
|
+
/**
|
|
71
|
+
* This will create commission agreement version.
|
|
72
|
+
* @summary Create the commission agreement version
|
|
73
|
+
* @param {CreateCommissionAgreementVersionRequestDto} createCommissionAgreementVersionRequestDto
|
|
74
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
75
|
+
* @param {*} [options] Override http request option.
|
|
76
|
+
* @throws {RequiredError}
|
|
77
|
+
*/
|
|
78
|
+
createCommissionAgreementVersion(createCommissionAgreementVersionRequestDto: CreateCommissionAgreementVersionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCommissionAgreementVersionResponseClass>>;
|
|
79
|
+
/**
|
|
80
|
+
* This will delete commission agreement version.
|
|
81
|
+
* @summary Delete the commission agreement version
|
|
82
|
+
* @param {string} code Unique identifier for the object.
|
|
83
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
84
|
+
* @param {*} [options] Override http request option.
|
|
85
|
+
* @throws {RequiredError}
|
|
86
|
+
*/
|
|
87
|
+
deleteCommissionAgreementVersion(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
88
|
+
/**
|
|
89
|
+
* This will get commission agreement version.
|
|
90
|
+
* @summary Retrieve the commission agreement version
|
|
91
|
+
* @param {string} code
|
|
92
|
+
* @param {string} expand
|
|
93
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
94
|
+
* @param {*} [options] Override http request option.
|
|
95
|
+
* @throws {RequiredError}
|
|
96
|
+
*/
|
|
97
|
+
getCommissionAgreementVersion(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCommissionAgreementVersionResponseClass>>;
|
|
98
|
+
/**
|
|
99
|
+
* Retrieves a list of commission agreement versions.
|
|
100
|
+
* @summary List commission agreement versions
|
|
101
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
102
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, commissionAgreementId, startDate, endDate, createdAt</i>
|
|
103
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, commissionAgreementId, startDate, endDate, createdAt</i>
|
|
104
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt, startDate, endDate</i>
|
|
105
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
106
|
+
* @param {*} [options] Override http request option.
|
|
107
|
+
* @throws {RequiredError}
|
|
108
|
+
*/
|
|
109
|
+
listCommissionAgreementVersions(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionAgreementVersionsResponseClass>>;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* CommissionAgreementVersionsApi - factory interface
|
|
113
|
+
* @export
|
|
114
|
+
*/
|
|
115
|
+
export declare const CommissionAgreementVersionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
116
|
+
/**
|
|
117
|
+
* This will create commission agreement version.
|
|
118
|
+
* @summary Create the commission agreement version
|
|
119
|
+
* @param {CreateCommissionAgreementVersionRequestDto} createCommissionAgreementVersionRequestDto
|
|
120
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
121
|
+
* @param {*} [options] Override http request option.
|
|
122
|
+
* @throws {RequiredError}
|
|
123
|
+
*/
|
|
124
|
+
createCommissionAgreementVersion(createCommissionAgreementVersionRequestDto: CreateCommissionAgreementVersionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCommissionAgreementVersionResponseClass>;
|
|
125
|
+
/**
|
|
126
|
+
* This will delete commission agreement version.
|
|
127
|
+
* @summary Delete the commission agreement version
|
|
128
|
+
* @param {string} code Unique identifier for the object.
|
|
129
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
130
|
+
* @param {*} [options] Override http request option.
|
|
131
|
+
* @throws {RequiredError}
|
|
132
|
+
*/
|
|
133
|
+
deleteCommissionAgreementVersion(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
134
|
+
/**
|
|
135
|
+
* This will get commission agreement version.
|
|
136
|
+
* @summary Retrieve the commission agreement version
|
|
137
|
+
* @param {string} code
|
|
138
|
+
* @param {string} expand
|
|
139
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
140
|
+
* @param {*} [options] Override http request option.
|
|
141
|
+
* @throws {RequiredError}
|
|
142
|
+
*/
|
|
143
|
+
getCommissionAgreementVersion(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetCommissionAgreementVersionResponseClass>;
|
|
144
|
+
/**
|
|
145
|
+
* Retrieves a list of commission agreement versions.
|
|
146
|
+
* @summary List commission agreement versions
|
|
147
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
148
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, commissionAgreementId, startDate, endDate, createdAt</i>
|
|
149
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, commissionAgreementId, startDate, endDate, createdAt</i>
|
|
150
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt, startDate, endDate</i>
|
|
151
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
152
|
+
* @param {*} [options] Override http request option.
|
|
153
|
+
* @throws {RequiredError}
|
|
154
|
+
*/
|
|
155
|
+
listCommissionAgreementVersions(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListCommissionAgreementVersionsResponseClass>;
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* Request parameters for createCommissionAgreementVersion operation in CommissionAgreementVersionsApi.
|
|
159
|
+
* @export
|
|
160
|
+
* @interface CommissionAgreementVersionsApiCreateCommissionAgreementVersionRequest
|
|
161
|
+
*/
|
|
162
|
+
export interface CommissionAgreementVersionsApiCreateCommissionAgreementVersionRequest {
|
|
163
|
+
/**
|
|
164
|
+
*
|
|
165
|
+
* @type {CreateCommissionAgreementVersionRequestDto}
|
|
166
|
+
* @memberof CommissionAgreementVersionsApiCreateCommissionAgreementVersion
|
|
167
|
+
*/
|
|
168
|
+
readonly createCommissionAgreementVersionRequestDto: CreateCommissionAgreementVersionRequestDto;
|
|
169
|
+
/**
|
|
170
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
171
|
+
* @type {string}
|
|
172
|
+
* @memberof CommissionAgreementVersionsApiCreateCommissionAgreementVersion
|
|
173
|
+
*/
|
|
174
|
+
readonly authorization?: string;
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Request parameters for deleteCommissionAgreementVersion operation in CommissionAgreementVersionsApi.
|
|
178
|
+
* @export
|
|
179
|
+
* @interface CommissionAgreementVersionsApiDeleteCommissionAgreementVersionRequest
|
|
180
|
+
*/
|
|
181
|
+
export interface CommissionAgreementVersionsApiDeleteCommissionAgreementVersionRequest {
|
|
182
|
+
/**
|
|
183
|
+
* Unique identifier for the object.
|
|
184
|
+
* @type {string}
|
|
185
|
+
* @memberof CommissionAgreementVersionsApiDeleteCommissionAgreementVersion
|
|
186
|
+
*/
|
|
187
|
+
readonly code: string;
|
|
188
|
+
/**
|
|
189
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
190
|
+
* @type {string}
|
|
191
|
+
* @memberof CommissionAgreementVersionsApiDeleteCommissionAgreementVersion
|
|
192
|
+
*/
|
|
193
|
+
readonly authorization?: string;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Request parameters for getCommissionAgreementVersion operation in CommissionAgreementVersionsApi.
|
|
197
|
+
* @export
|
|
198
|
+
* @interface CommissionAgreementVersionsApiGetCommissionAgreementVersionRequest
|
|
199
|
+
*/
|
|
200
|
+
export interface CommissionAgreementVersionsApiGetCommissionAgreementVersionRequest {
|
|
201
|
+
/**
|
|
202
|
+
*
|
|
203
|
+
* @type {string}
|
|
204
|
+
* @memberof CommissionAgreementVersionsApiGetCommissionAgreementVersion
|
|
205
|
+
*/
|
|
206
|
+
readonly code: string;
|
|
207
|
+
/**
|
|
208
|
+
*
|
|
209
|
+
* @type {string}
|
|
210
|
+
* @memberof CommissionAgreementVersionsApiGetCommissionAgreementVersion
|
|
211
|
+
*/
|
|
212
|
+
readonly expand: string;
|
|
213
|
+
/**
|
|
214
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
215
|
+
* @type {string}
|
|
216
|
+
* @memberof CommissionAgreementVersionsApiGetCommissionAgreementVersion
|
|
217
|
+
*/
|
|
218
|
+
readonly authorization?: string;
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* Request parameters for listCommissionAgreementVersions operation in CommissionAgreementVersionsApi.
|
|
222
|
+
* @export
|
|
223
|
+
* @interface CommissionAgreementVersionsApiListCommissionAgreementVersionsRequest
|
|
224
|
+
*/
|
|
225
|
+
export interface CommissionAgreementVersionsApiListCommissionAgreementVersionsRequest {
|
|
226
|
+
/**
|
|
227
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
228
|
+
* @type {string}
|
|
229
|
+
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
230
|
+
*/
|
|
231
|
+
readonly authorization?: string;
|
|
232
|
+
/**
|
|
233
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, commissionAgreementId, startDate, endDate, createdAt</i>
|
|
234
|
+
* @type {string}
|
|
235
|
+
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
236
|
+
*/
|
|
237
|
+
readonly filter?: string;
|
|
238
|
+
/**
|
|
239
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, commissionAgreementId, startDate, endDate, createdAt</i>
|
|
240
|
+
* @type {string}
|
|
241
|
+
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
242
|
+
*/
|
|
243
|
+
readonly filters?: string;
|
|
244
|
+
/**
|
|
245
|
+
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt, startDate, endDate</i>
|
|
246
|
+
* @type {string}
|
|
247
|
+
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
248
|
+
*/
|
|
249
|
+
readonly order?: string;
|
|
250
|
+
/**
|
|
251
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
252
|
+
* @type {string}
|
|
253
|
+
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
254
|
+
*/
|
|
255
|
+
readonly expand?: string;
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* CommissionAgreementVersionsApi - object-oriented interface
|
|
259
|
+
* @export
|
|
260
|
+
* @class CommissionAgreementVersionsApi
|
|
261
|
+
* @extends {BaseAPI}
|
|
262
|
+
*/
|
|
263
|
+
export declare class CommissionAgreementVersionsApi extends BaseAPI {
|
|
264
|
+
/**
|
|
265
|
+
* This will create commission agreement version.
|
|
266
|
+
* @summary Create the commission agreement version
|
|
267
|
+
* @param {CommissionAgreementVersionsApiCreateCommissionAgreementVersionRequest} requestParameters Request parameters.
|
|
268
|
+
* @param {*} [options] Override http request option.
|
|
269
|
+
* @throws {RequiredError}
|
|
270
|
+
* @memberof CommissionAgreementVersionsApi
|
|
271
|
+
*/
|
|
272
|
+
createCommissionAgreementVersion(requestParameters: CommissionAgreementVersionsApiCreateCommissionAgreementVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCommissionAgreementVersionResponseClass, any, {}>>;
|
|
273
|
+
/**
|
|
274
|
+
* This will delete commission agreement version.
|
|
275
|
+
* @summary Delete the commission agreement version
|
|
276
|
+
* @param {CommissionAgreementVersionsApiDeleteCommissionAgreementVersionRequest} requestParameters Request parameters.
|
|
277
|
+
* @param {*} [options] Override http request option.
|
|
278
|
+
* @throws {RequiredError}
|
|
279
|
+
* @memberof CommissionAgreementVersionsApi
|
|
280
|
+
*/
|
|
281
|
+
deleteCommissionAgreementVersion(requestParameters: CommissionAgreementVersionsApiDeleteCommissionAgreementVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
282
|
+
/**
|
|
283
|
+
* This will get commission agreement version.
|
|
284
|
+
* @summary Retrieve the commission agreement version
|
|
285
|
+
* @param {CommissionAgreementVersionsApiGetCommissionAgreementVersionRequest} requestParameters Request parameters.
|
|
286
|
+
* @param {*} [options] Override http request option.
|
|
287
|
+
* @throws {RequiredError}
|
|
288
|
+
* @memberof CommissionAgreementVersionsApi
|
|
289
|
+
*/
|
|
290
|
+
getCommissionAgreementVersion(requestParameters: CommissionAgreementVersionsApiGetCommissionAgreementVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCommissionAgreementVersionResponseClass, any, {}>>;
|
|
291
|
+
/**
|
|
292
|
+
* Retrieves a list of commission agreement versions.
|
|
293
|
+
* @summary List commission agreement versions
|
|
294
|
+
* @param {CommissionAgreementVersionsApiListCommissionAgreementVersionsRequest} requestParameters Request parameters.
|
|
295
|
+
* @param {*} [options] Override http request option.
|
|
296
|
+
* @throws {RequiredError}
|
|
297
|
+
* @memberof CommissionAgreementVersionsApi
|
|
298
|
+
*/
|
|
299
|
+
listCommissionAgreementVersions(requestParameters?: CommissionAgreementVersionsApiListCommissionAgreementVersionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCommissionAgreementVersionsResponseClass, any, {}>>;
|
|
300
|
+
}
|