@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
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
.gitignore
|
|
2
|
+
.npmignore
|
|
3
|
+
.openapi-generator-ignore
|
|
4
|
+
README.md
|
|
5
|
+
api.ts
|
|
6
|
+
api/commission-agreement-versions-api.ts
|
|
7
|
+
api/commission-agreements-api.ts
|
|
8
|
+
api/commissions-api.ts
|
|
9
|
+
api/default-api.ts
|
|
10
|
+
base.ts
|
|
11
|
+
common.ts
|
|
12
|
+
configuration.ts
|
|
13
|
+
git_push.sh
|
|
14
|
+
index.ts
|
|
15
|
+
models/commission-agreement-class.ts
|
|
16
|
+
models/commission-agreement-version-class.ts
|
|
17
|
+
models/commission-class.ts
|
|
18
|
+
models/commission-item-class.ts
|
|
19
|
+
models/create-commission-agreement-request-dto.ts
|
|
20
|
+
models/create-commission-agreement-response-class.ts
|
|
21
|
+
models/create-commission-agreement-version-request-dto.ts
|
|
22
|
+
models/create-commission-agreement-version-response-class.ts
|
|
23
|
+
models/create-commission-item-request-dto.ts
|
|
24
|
+
models/create-commission-request-dto.ts
|
|
25
|
+
models/create-commission-response-class.ts
|
|
26
|
+
models/get-commission-agreement-response-class.ts
|
|
27
|
+
models/get-commission-agreement-version-response-class.ts
|
|
28
|
+
models/get-commission-response-class.ts
|
|
29
|
+
models/index.ts
|
|
30
|
+
models/inline-response200.ts
|
|
31
|
+
models/inline-response503.ts
|
|
32
|
+
models/list-commission-agreement-versions-response-class.ts
|
|
33
|
+
models/list-commission-agreements-response-class.ts
|
|
34
|
+
models/list-commissions-response-class.ts
|
|
35
|
+
models/update-commission-agreement-request-dto.ts
|
|
36
|
+
models/update-commission-agreement-response-class.ts
|
|
37
|
+
models/update-commission-request-dto.ts
|
|
38
|
+
models/update-commission-response-class.ts
|
|
39
|
+
package.json
|
|
40
|
+
tsconfig.json
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
5.4.0
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# OpenAPI Generator Ignore
|
|
2
|
+
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
|
|
3
|
+
|
|
4
|
+
# Use this file to prevent files from being overwritten by the generator.
|
|
5
|
+
# The patterns follow closely to .gitignore or .dockerignore.
|
|
6
|
+
|
|
7
|
+
# As an example, the C# client generator defines ApiClient.cs.
|
|
8
|
+
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
|
|
9
|
+
#ApiClient.cs
|
|
10
|
+
|
|
11
|
+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
|
|
12
|
+
#foo/*/qux
|
|
13
|
+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
|
|
14
|
+
|
|
15
|
+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
|
|
16
|
+
#foo/**/qux
|
|
17
|
+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
|
|
18
|
+
|
|
19
|
+
# You can also negate patterns with an exclamation (!).
|
|
20
|
+
# For example, you can ignore all files in a docs folder with the file extension .md:
|
|
21
|
+
#docs/*.md
|
|
22
|
+
# Then explicitly reverse the ignore rule for a single file:
|
|
23
|
+
#!docs/README.md
|
package/README.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Emil Commission SDK
|
|
2
|
+
|
|
3
|
+
This TypeScript/JavaScript client utilizes [axios](https://github.com/axios/axios). The generated module can be used with client-based applications (i.e. React).
|
|
4
|
+
|
|
5
|
+
Language level
|
|
6
|
+
* ES5 - you must have a Promises/A+ library installed
|
|
7
|
+
* ES6
|
|
8
|
+
|
|
9
|
+
Module system
|
|
10
|
+
* CommonJS
|
|
11
|
+
* ES6 module system
|
|
12
|
+
|
|
13
|
+
Although this package can be used in both TypeScript and JavaScript, it is intended to be used with TypeScript. The definition should be automatically resolved via `package.json`. ([Reference](http://www.typescriptlang.org/docs/handbook/typings-for-npm-packages.html)). For more information, you can go to [Emil Api documentation](https://emil.stoplight.io/docs/emil-api/).
|
|
14
|
+
|
|
15
|
+
## Consuming
|
|
16
|
+
|
|
17
|
+
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
npm install @emilgroup/commission-sdk@1.0.0-beta.1 --save
|
|
21
|
+
```
|
|
22
|
+
or
|
|
23
|
+
```
|
|
24
|
+
yarn add @emilgroup/commission-sdk@1.0.0-beta.1
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
And then you can import `CommissionApi`.
|
|
28
|
+
|
|
29
|
+
```ts
|
|
30
|
+
import { CommissionApi } from '@emilgroup/commission-sdk'
|
|
31
|
+
|
|
32
|
+
const commissionApi = new CommissionApi();
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
To use authentication protected endpoints, you have to first authorize. To do so, use the `authorize` function in `CommissionApi`:
|
|
36
|
+
|
|
37
|
+
```ts
|
|
38
|
+
async function listCommissions(): Promise<Void> {
|
|
39
|
+
try {
|
|
40
|
+
const commissionApi = new CommissionApi();
|
|
41
|
+
|
|
42
|
+
await commissionApi.authorize('username', 'password');
|
|
43
|
+
|
|
44
|
+
const { data: { items } } = await commissionApi.listCommissions();
|
|
45
|
+
|
|
46
|
+
console.log(items);
|
|
47
|
+
} catch(error) {
|
|
48
|
+
// process error
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
```
|
|
@@ -0,0 +1,531 @@
|
|
|
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
|
+
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
17
|
+
import { Configuration } from '../configuration';
|
|
18
|
+
// Some imports not used depending on template conditions
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { CreateCommissionAgreementVersionRequestDto } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { CreateCommissionAgreementVersionResponseClass } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { GetCommissionAgreementVersionResponseClass } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { ListCommissionAgreementVersionsResponseClass } from '../models';
|
|
31
|
+
/**
|
|
32
|
+
* CommissionAgreementVersionsApi - axios parameter creator
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export const CommissionAgreementVersionsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
|
+
return {
|
|
37
|
+
/**
|
|
38
|
+
* This will create commission agreement version.
|
|
39
|
+
* @summary Create the commission agreement version
|
|
40
|
+
* @param {CreateCommissionAgreementVersionRequestDto} createCommissionAgreementVersionRequestDto
|
|
41
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
createCommissionAgreementVersion: async (createCommissionAgreementVersionRequestDto: CreateCommissionAgreementVersionRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
46
|
+
// verify required parameter 'createCommissionAgreementVersionRequestDto' is not null or undefined
|
|
47
|
+
assertParamExists('createCommissionAgreementVersion', 'createCommissionAgreementVersionRequestDto', createCommissionAgreementVersionRequestDto)
|
|
48
|
+
const localVarPath = `/commissionservice/v1/agreement-versions`;
|
|
49
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
51
|
+
let baseOptions;
|
|
52
|
+
let baseAccessToken;
|
|
53
|
+
if (configuration) {
|
|
54
|
+
baseOptions = configuration.baseOptions;
|
|
55
|
+
baseAccessToken = configuration.accessToken;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
59
|
+
const localVarHeaderParameter = {} as any;
|
|
60
|
+
const localVarQueryParameter = {} as any;
|
|
61
|
+
|
|
62
|
+
// authentication bearer required
|
|
63
|
+
// http bearer authentication required
|
|
64
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
65
|
+
|
|
66
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
67
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
73
|
+
|
|
74
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
75
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
76
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
77
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createCommissionAgreementVersionRequestDto, localVarRequestOptions, configuration)
|
|
78
|
+
|
|
79
|
+
return {
|
|
80
|
+
url: toPathString(localVarUrlObj),
|
|
81
|
+
options: localVarRequestOptions,
|
|
82
|
+
};
|
|
83
|
+
},
|
|
84
|
+
/**
|
|
85
|
+
* This will delete commission agreement version.
|
|
86
|
+
* @summary Delete the commission agreement version
|
|
87
|
+
* @param {string} code Unique identifier for the object.
|
|
88
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
89
|
+
* @param {*} [options] Override http request option.
|
|
90
|
+
* @throws {RequiredError}
|
|
91
|
+
*/
|
|
92
|
+
deleteCommissionAgreementVersion: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
93
|
+
// verify required parameter 'code' is not null or undefined
|
|
94
|
+
assertParamExists('deleteCommissionAgreementVersion', 'code', code)
|
|
95
|
+
const localVarPath = `/commissionservice/v1/agreement-versions/{code}`
|
|
96
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
97
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
98
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
99
|
+
let baseOptions;
|
|
100
|
+
let baseAccessToken;
|
|
101
|
+
if (configuration) {
|
|
102
|
+
baseOptions = configuration.baseOptions;
|
|
103
|
+
baseAccessToken = configuration.accessToken;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
107
|
+
const localVarHeaderParameter = {} as any;
|
|
108
|
+
const localVarQueryParameter = {} as any;
|
|
109
|
+
|
|
110
|
+
// authentication bearer required
|
|
111
|
+
// http bearer authentication required
|
|
112
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
113
|
+
|
|
114
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
115
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
121
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
122
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
123
|
+
|
|
124
|
+
return {
|
|
125
|
+
url: toPathString(localVarUrlObj),
|
|
126
|
+
options: localVarRequestOptions,
|
|
127
|
+
};
|
|
128
|
+
},
|
|
129
|
+
/**
|
|
130
|
+
* This will get commission agreement version.
|
|
131
|
+
* @summary Retrieve the commission agreement version
|
|
132
|
+
* @param {string} code
|
|
133
|
+
* @param {string} expand
|
|
134
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
135
|
+
* @param {*} [options] Override http request option.
|
|
136
|
+
* @throws {RequiredError}
|
|
137
|
+
*/
|
|
138
|
+
getCommissionAgreementVersion: async (code: string, expand: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
139
|
+
// verify required parameter 'code' is not null or undefined
|
|
140
|
+
assertParamExists('getCommissionAgreementVersion', 'code', code)
|
|
141
|
+
// verify required parameter 'expand' is not null or undefined
|
|
142
|
+
assertParamExists('getCommissionAgreementVersion', 'expand', expand)
|
|
143
|
+
const localVarPath = `/commissionservice/v1/agreement-versions/{code}`
|
|
144
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
145
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
146
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
147
|
+
let baseOptions;
|
|
148
|
+
let baseAccessToken;
|
|
149
|
+
if (configuration) {
|
|
150
|
+
baseOptions = configuration.baseOptions;
|
|
151
|
+
baseAccessToken = configuration.accessToken;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
155
|
+
const localVarHeaderParameter = {} as any;
|
|
156
|
+
const localVarQueryParameter = {} as any;
|
|
157
|
+
|
|
158
|
+
// authentication bearer required
|
|
159
|
+
// http bearer authentication required
|
|
160
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
161
|
+
|
|
162
|
+
if (expand !== undefined) {
|
|
163
|
+
localVarQueryParameter['expand'] = expand;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
167
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
173
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
174
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
175
|
+
|
|
176
|
+
return {
|
|
177
|
+
url: toPathString(localVarUrlObj),
|
|
178
|
+
options: localVarRequestOptions,
|
|
179
|
+
};
|
|
180
|
+
},
|
|
181
|
+
/**
|
|
182
|
+
* Retrieves a list of commission agreement versions.
|
|
183
|
+
* @summary List commission agreement versions
|
|
184
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
185
|
+
* @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>
|
|
186
|
+
* @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>
|
|
187
|
+
* @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>
|
|
188
|
+
* @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/>
|
|
189
|
+
* @param {*} [options] Override http request option.
|
|
190
|
+
* @throws {RequiredError}
|
|
191
|
+
*/
|
|
192
|
+
listCommissionAgreementVersions: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
193
|
+
const localVarPath = `/commissionservice/v1/agreement-versions`;
|
|
194
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
195
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
196
|
+
let baseOptions;
|
|
197
|
+
let baseAccessToken;
|
|
198
|
+
if (configuration) {
|
|
199
|
+
baseOptions = configuration.baseOptions;
|
|
200
|
+
baseAccessToken = configuration.accessToken;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
204
|
+
const localVarHeaderParameter = {} as any;
|
|
205
|
+
const localVarQueryParameter = {} as any;
|
|
206
|
+
|
|
207
|
+
// authentication bearer required
|
|
208
|
+
// http bearer authentication required
|
|
209
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
210
|
+
|
|
211
|
+
if (filter !== undefined) {
|
|
212
|
+
localVarQueryParameter['filter'] = filter;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
if (filters !== undefined) {
|
|
216
|
+
localVarQueryParameter['filters'] = filters;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
if (order !== undefined) {
|
|
220
|
+
localVarQueryParameter['order'] = order;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
if (expand !== undefined) {
|
|
224
|
+
localVarQueryParameter['expand'] = expand;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
228
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
234
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
235
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
236
|
+
|
|
237
|
+
return {
|
|
238
|
+
url: toPathString(localVarUrlObj),
|
|
239
|
+
options: localVarRequestOptions,
|
|
240
|
+
};
|
|
241
|
+
},
|
|
242
|
+
}
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* CommissionAgreementVersionsApi - functional programming interface
|
|
247
|
+
* @export
|
|
248
|
+
*/
|
|
249
|
+
export const CommissionAgreementVersionsApiFp = function(configuration?: Configuration) {
|
|
250
|
+
const localVarAxiosParamCreator = CommissionAgreementVersionsApiAxiosParamCreator(configuration)
|
|
251
|
+
return {
|
|
252
|
+
/**
|
|
253
|
+
* This will create commission agreement version.
|
|
254
|
+
* @summary Create the commission agreement version
|
|
255
|
+
* @param {CreateCommissionAgreementVersionRequestDto} createCommissionAgreementVersionRequestDto
|
|
256
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
257
|
+
* @param {*} [options] Override http request option.
|
|
258
|
+
* @throws {RequiredError}
|
|
259
|
+
*/
|
|
260
|
+
async createCommissionAgreementVersion(createCommissionAgreementVersionRequestDto: CreateCommissionAgreementVersionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCommissionAgreementVersionResponseClass>> {
|
|
261
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createCommissionAgreementVersion(createCommissionAgreementVersionRequestDto, authorization, options);
|
|
262
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
263
|
+
},
|
|
264
|
+
/**
|
|
265
|
+
* This will delete commission agreement version.
|
|
266
|
+
* @summary Delete the commission agreement version
|
|
267
|
+
* @param {string} code Unique identifier for the object.
|
|
268
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
269
|
+
* @param {*} [options] Override http request option.
|
|
270
|
+
* @throws {RequiredError}
|
|
271
|
+
*/
|
|
272
|
+
async deleteCommissionAgreementVersion(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
273
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCommissionAgreementVersion(code, authorization, options);
|
|
274
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
275
|
+
},
|
|
276
|
+
/**
|
|
277
|
+
* This will get commission agreement version.
|
|
278
|
+
* @summary Retrieve the commission agreement version
|
|
279
|
+
* @param {string} code
|
|
280
|
+
* @param {string} expand
|
|
281
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
282
|
+
* @param {*} [options] Override http request option.
|
|
283
|
+
* @throws {RequiredError}
|
|
284
|
+
*/
|
|
285
|
+
async getCommissionAgreementVersion(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCommissionAgreementVersionResponseClass>> {
|
|
286
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCommissionAgreementVersion(code, expand, authorization, options);
|
|
287
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
288
|
+
},
|
|
289
|
+
/**
|
|
290
|
+
* Retrieves a list of commission agreement versions.
|
|
291
|
+
* @summary List commission agreement versions
|
|
292
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
293
|
+
* @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>
|
|
294
|
+
* @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>
|
|
295
|
+
* @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>
|
|
296
|
+
* @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/>
|
|
297
|
+
* @param {*} [options] Override http request option.
|
|
298
|
+
* @throws {RequiredError}
|
|
299
|
+
*/
|
|
300
|
+
async listCommissionAgreementVersions(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionAgreementVersionsResponseClass>> {
|
|
301
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listCommissionAgreementVersions(authorization, filter, filters, order, expand, options);
|
|
302
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
303
|
+
},
|
|
304
|
+
}
|
|
305
|
+
};
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* CommissionAgreementVersionsApi - factory interface
|
|
309
|
+
* @export
|
|
310
|
+
*/
|
|
311
|
+
export const CommissionAgreementVersionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
312
|
+
const localVarFp = CommissionAgreementVersionsApiFp(configuration)
|
|
313
|
+
return {
|
|
314
|
+
/**
|
|
315
|
+
* This will create commission agreement version.
|
|
316
|
+
* @summary Create the commission agreement version
|
|
317
|
+
* @param {CreateCommissionAgreementVersionRequestDto} createCommissionAgreementVersionRequestDto
|
|
318
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
319
|
+
* @param {*} [options] Override http request option.
|
|
320
|
+
* @throws {RequiredError}
|
|
321
|
+
*/
|
|
322
|
+
createCommissionAgreementVersion(createCommissionAgreementVersionRequestDto: CreateCommissionAgreementVersionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCommissionAgreementVersionResponseClass> {
|
|
323
|
+
return localVarFp.createCommissionAgreementVersion(createCommissionAgreementVersionRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
324
|
+
},
|
|
325
|
+
/**
|
|
326
|
+
* This will delete commission agreement version.
|
|
327
|
+
* @summary Delete the commission agreement version
|
|
328
|
+
* @param {string} code Unique identifier for the object.
|
|
329
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
330
|
+
* @param {*} [options] Override http request option.
|
|
331
|
+
* @throws {RequiredError}
|
|
332
|
+
*/
|
|
333
|
+
deleteCommissionAgreementVersion(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
334
|
+
return localVarFp.deleteCommissionAgreementVersion(code, authorization, options).then((request) => request(axios, basePath));
|
|
335
|
+
},
|
|
336
|
+
/**
|
|
337
|
+
* This will get commission agreement version.
|
|
338
|
+
* @summary Retrieve the commission agreement version
|
|
339
|
+
* @param {string} code
|
|
340
|
+
* @param {string} expand
|
|
341
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
342
|
+
* @param {*} [options] Override http request option.
|
|
343
|
+
* @throws {RequiredError}
|
|
344
|
+
*/
|
|
345
|
+
getCommissionAgreementVersion(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetCommissionAgreementVersionResponseClass> {
|
|
346
|
+
return localVarFp.getCommissionAgreementVersion(code, expand, authorization, options).then((request) => request(axios, basePath));
|
|
347
|
+
},
|
|
348
|
+
/**
|
|
349
|
+
* Retrieves a list of commission agreement versions.
|
|
350
|
+
* @summary List commission agreement versions
|
|
351
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
352
|
+
* @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>
|
|
353
|
+
* @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>
|
|
354
|
+
* @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>
|
|
355
|
+
* @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/>
|
|
356
|
+
* @param {*} [options] Override http request option.
|
|
357
|
+
* @throws {RequiredError}
|
|
358
|
+
*/
|
|
359
|
+
listCommissionAgreementVersions(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListCommissionAgreementVersionsResponseClass> {
|
|
360
|
+
return localVarFp.listCommissionAgreementVersions(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
|
|
361
|
+
},
|
|
362
|
+
};
|
|
363
|
+
};
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* Request parameters for createCommissionAgreementVersion operation in CommissionAgreementVersionsApi.
|
|
367
|
+
* @export
|
|
368
|
+
* @interface CommissionAgreementVersionsApiCreateCommissionAgreementVersionRequest
|
|
369
|
+
*/
|
|
370
|
+
export interface CommissionAgreementVersionsApiCreateCommissionAgreementVersionRequest {
|
|
371
|
+
/**
|
|
372
|
+
*
|
|
373
|
+
* @type {CreateCommissionAgreementVersionRequestDto}
|
|
374
|
+
* @memberof CommissionAgreementVersionsApiCreateCommissionAgreementVersion
|
|
375
|
+
*/
|
|
376
|
+
readonly createCommissionAgreementVersionRequestDto: CreateCommissionAgreementVersionRequestDto
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
380
|
+
* @type {string}
|
|
381
|
+
* @memberof CommissionAgreementVersionsApiCreateCommissionAgreementVersion
|
|
382
|
+
*/
|
|
383
|
+
readonly authorization?: string
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* Request parameters for deleteCommissionAgreementVersion operation in CommissionAgreementVersionsApi.
|
|
388
|
+
* @export
|
|
389
|
+
* @interface CommissionAgreementVersionsApiDeleteCommissionAgreementVersionRequest
|
|
390
|
+
*/
|
|
391
|
+
export interface CommissionAgreementVersionsApiDeleteCommissionAgreementVersionRequest {
|
|
392
|
+
/**
|
|
393
|
+
* Unique identifier for the object.
|
|
394
|
+
* @type {string}
|
|
395
|
+
* @memberof CommissionAgreementVersionsApiDeleteCommissionAgreementVersion
|
|
396
|
+
*/
|
|
397
|
+
readonly code: string
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
401
|
+
* @type {string}
|
|
402
|
+
* @memberof CommissionAgreementVersionsApiDeleteCommissionAgreementVersion
|
|
403
|
+
*/
|
|
404
|
+
readonly authorization?: string
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
/**
|
|
408
|
+
* Request parameters for getCommissionAgreementVersion operation in CommissionAgreementVersionsApi.
|
|
409
|
+
* @export
|
|
410
|
+
* @interface CommissionAgreementVersionsApiGetCommissionAgreementVersionRequest
|
|
411
|
+
*/
|
|
412
|
+
export interface CommissionAgreementVersionsApiGetCommissionAgreementVersionRequest {
|
|
413
|
+
/**
|
|
414
|
+
*
|
|
415
|
+
* @type {string}
|
|
416
|
+
* @memberof CommissionAgreementVersionsApiGetCommissionAgreementVersion
|
|
417
|
+
*/
|
|
418
|
+
readonly code: string
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
*
|
|
422
|
+
* @type {string}
|
|
423
|
+
* @memberof CommissionAgreementVersionsApiGetCommissionAgreementVersion
|
|
424
|
+
*/
|
|
425
|
+
readonly expand: string
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
429
|
+
* @type {string}
|
|
430
|
+
* @memberof CommissionAgreementVersionsApiGetCommissionAgreementVersion
|
|
431
|
+
*/
|
|
432
|
+
readonly authorization?: string
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
/**
|
|
436
|
+
* Request parameters for listCommissionAgreementVersions operation in CommissionAgreementVersionsApi.
|
|
437
|
+
* @export
|
|
438
|
+
* @interface CommissionAgreementVersionsApiListCommissionAgreementVersionsRequest
|
|
439
|
+
*/
|
|
440
|
+
export interface CommissionAgreementVersionsApiListCommissionAgreementVersionsRequest {
|
|
441
|
+
/**
|
|
442
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
443
|
+
* @type {string}
|
|
444
|
+
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
445
|
+
*/
|
|
446
|
+
readonly authorization?: string
|
|
447
|
+
|
|
448
|
+
/**
|
|
449
|
+
* 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>
|
|
450
|
+
* @type {string}
|
|
451
|
+
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
452
|
+
*/
|
|
453
|
+
readonly filter?: string
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* 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>
|
|
457
|
+
* @type {string}
|
|
458
|
+
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
459
|
+
*/
|
|
460
|
+
readonly filters?: string
|
|
461
|
+
|
|
462
|
+
/**
|
|
463
|
+
* 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>
|
|
464
|
+
* @type {string}
|
|
465
|
+
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
466
|
+
*/
|
|
467
|
+
readonly order?: string
|
|
468
|
+
|
|
469
|
+
/**
|
|
470
|
+
* 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/>
|
|
471
|
+
* @type {string}
|
|
472
|
+
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
473
|
+
*/
|
|
474
|
+
readonly expand?: string
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* CommissionAgreementVersionsApi - object-oriented interface
|
|
479
|
+
* @export
|
|
480
|
+
* @class CommissionAgreementVersionsApi
|
|
481
|
+
* @extends {BaseAPI}
|
|
482
|
+
*/
|
|
483
|
+
export class CommissionAgreementVersionsApi extends BaseAPI {
|
|
484
|
+
/**
|
|
485
|
+
* This will create commission agreement version.
|
|
486
|
+
* @summary Create the commission agreement version
|
|
487
|
+
* @param {CommissionAgreementVersionsApiCreateCommissionAgreementVersionRequest} requestParameters Request parameters.
|
|
488
|
+
* @param {*} [options] Override http request option.
|
|
489
|
+
* @throws {RequiredError}
|
|
490
|
+
* @memberof CommissionAgreementVersionsApi
|
|
491
|
+
*/
|
|
492
|
+
public createCommissionAgreementVersion(requestParameters: CommissionAgreementVersionsApiCreateCommissionAgreementVersionRequest, options?: AxiosRequestConfig) {
|
|
493
|
+
return CommissionAgreementVersionsApiFp(this.configuration).createCommissionAgreementVersion(requestParameters.createCommissionAgreementVersionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* This will delete commission agreement version.
|
|
498
|
+
* @summary Delete the commission agreement version
|
|
499
|
+
* @param {CommissionAgreementVersionsApiDeleteCommissionAgreementVersionRequest} requestParameters Request parameters.
|
|
500
|
+
* @param {*} [options] Override http request option.
|
|
501
|
+
* @throws {RequiredError}
|
|
502
|
+
* @memberof CommissionAgreementVersionsApi
|
|
503
|
+
*/
|
|
504
|
+
public deleteCommissionAgreementVersion(requestParameters: CommissionAgreementVersionsApiDeleteCommissionAgreementVersionRequest, options?: AxiosRequestConfig) {
|
|
505
|
+
return CommissionAgreementVersionsApiFp(this.configuration).deleteCommissionAgreementVersion(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* This will get commission agreement version.
|
|
510
|
+
* @summary Retrieve the commission agreement version
|
|
511
|
+
* @param {CommissionAgreementVersionsApiGetCommissionAgreementVersionRequest} requestParameters Request parameters.
|
|
512
|
+
* @param {*} [options] Override http request option.
|
|
513
|
+
* @throws {RequiredError}
|
|
514
|
+
* @memberof CommissionAgreementVersionsApi
|
|
515
|
+
*/
|
|
516
|
+
public getCommissionAgreementVersion(requestParameters: CommissionAgreementVersionsApiGetCommissionAgreementVersionRequest, options?: AxiosRequestConfig) {
|
|
517
|
+
return CommissionAgreementVersionsApiFp(this.configuration).getCommissionAgreementVersion(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* Retrieves a list of commission agreement versions.
|
|
522
|
+
* @summary List commission agreement versions
|
|
523
|
+
* @param {CommissionAgreementVersionsApiListCommissionAgreementVersionsRequest} requestParameters Request parameters.
|
|
524
|
+
* @param {*} [options] Override http request option.
|
|
525
|
+
* @throws {RequiredError}
|
|
526
|
+
* @memberof CommissionAgreementVersionsApi
|
|
527
|
+
*/
|
|
528
|
+
public listCommissionAgreementVersions(requestParameters: CommissionAgreementVersionsApiListCommissionAgreementVersionsRequest = {}, options?: AxiosRequestConfig) {
|
|
529
|
+
return CommissionAgreementVersionsApiFp(this.configuration).listCommissionAgreementVersions(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
530
|
+
}
|
|
531
|
+
}
|