@emilgroup/commission-sdk-node 1.0.0-beta.32 → 1.0.0-beta.34
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 +2 -0
- package/README.md +2 -2
- package/api/commission-agreements-api.ts +120 -0
- package/dist/api/commission-agreements-api.d.ts +66 -0
- package/dist/api/commission-agreements-api.js +99 -0
- package/dist/models/commission-agreement-class.d.ts +4 -2
- package/dist/models/commission-agreement-class.js +3 -1
- package/dist/models/create-commission-agreement-request-dto.d.ts +4 -2
- package/dist/models/create-commission-agreement-request-dto.js +3 -1
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/patch-commission-agreement-status-request-dto.d.ts +37 -0
- package/dist/models/patch-commission-agreement-status-request-dto.js +22 -0
- package/dist/models/patch-commission-agreement-status-response-class.d.ts +25 -0
- package/dist/models/patch-commission-agreement-status-response-class.js +15 -0
- package/models/commission-agreement-class.ts +4 -2
- package/models/create-commission-agreement-request-dto.ts +4 -2
- package/models/index.ts +2 -0
- package/models/patch-commission-agreement-status-request-dto.ts +46 -0
- package/models/patch-commission-agreement-status-response-class.ts +31 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -65,6 +65,8 @@ models/list-commission-agreements-response-class.ts
|
|
|
65
65
|
models/list-commission-recipients-response-class.ts
|
|
66
66
|
models/list-commission-settlements-response-class.ts
|
|
67
67
|
models/list-commissions-response-class.ts
|
|
68
|
+
models/patch-commission-agreement-status-request-dto.ts
|
|
69
|
+
models/patch-commission-agreement-status-response-class.ts
|
|
68
70
|
models/publish-commission-settlements-request-dto.ts
|
|
69
71
|
models/publish-commission-settlements-response-class.ts
|
|
70
72
|
models/update-commission-agreement-product-request-dto.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/commission-sdk-node@1.0.0-beta.
|
|
20
|
+
npm install @emilgroup/commission-sdk-node@1.0.0-beta.34 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/commission-sdk-node@1.0.0-beta.
|
|
24
|
+
yarn add @emilgroup/commission-sdk-node@1.0.0-beta.34
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `CommissionApi`.
|
|
@@ -29,6 +29,10 @@ import { GetCommissionAgreementResponseClass } from '../models';
|
|
|
29
29
|
// @ts-ignore
|
|
30
30
|
import { ListCommissionAgreementsResponseClass } from '../models';
|
|
31
31
|
// @ts-ignore
|
|
32
|
+
import { PatchCommissionAgreementStatusRequestDto } from '../models';
|
|
33
|
+
// @ts-ignore
|
|
34
|
+
import { PatchCommissionAgreementStatusResponseClass } from '../models';
|
|
35
|
+
// @ts-ignore
|
|
32
36
|
import { UpdateCommissionAgreementRequestDto } from '../models';
|
|
33
37
|
// @ts-ignore
|
|
34
38
|
import { UpdateCommissionAgreementResponseClass } from '../models';
|
|
@@ -262,6 +266,57 @@ export const CommissionAgreementsApiAxiosParamCreator = function (configuration?
|
|
|
262
266
|
options: localVarRequestOptions,
|
|
263
267
|
};
|
|
264
268
|
},
|
|
269
|
+
/**
|
|
270
|
+
* This will patch commission agreement status.
|
|
271
|
+
* @summary Update the commission agreement status
|
|
272
|
+
* @param {string} code Unique identifier for the object.
|
|
273
|
+
* @param {PatchCommissionAgreementStatusRequestDto} patchCommissionAgreementStatusRequestDto
|
|
274
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
275
|
+
* @param {*} [options] Override http request option.
|
|
276
|
+
* @throws {RequiredError}
|
|
277
|
+
*/
|
|
278
|
+
patchCommissionAgreementStatus: async (code: string, patchCommissionAgreementStatusRequestDto: PatchCommissionAgreementStatusRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
279
|
+
// verify required parameter 'code' is not null or undefined
|
|
280
|
+
assertParamExists('patchCommissionAgreementStatus', 'code', code)
|
|
281
|
+
// verify required parameter 'patchCommissionAgreementStatusRequestDto' is not null or undefined
|
|
282
|
+
assertParamExists('patchCommissionAgreementStatus', 'patchCommissionAgreementStatusRequestDto', patchCommissionAgreementStatusRequestDto)
|
|
283
|
+
const localVarPath = `/commissionservice/v1/agreements/{code}/status`
|
|
284
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
285
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
286
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
287
|
+
let baseOptions;
|
|
288
|
+
let baseAccessToken;
|
|
289
|
+
if (configuration) {
|
|
290
|
+
baseOptions = configuration.baseOptions;
|
|
291
|
+
baseAccessToken = configuration.accessToken;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
295
|
+
const localVarHeaderParameter = {} as any;
|
|
296
|
+
const localVarQueryParameter = {} as any;
|
|
297
|
+
|
|
298
|
+
// authentication bearer required
|
|
299
|
+
// http bearer authentication required
|
|
300
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
301
|
+
|
|
302
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
303
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
309
|
+
|
|
310
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
311
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
312
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
313
|
+
localVarRequestOptions.data = serializeDataIfNeeded(patchCommissionAgreementStatusRequestDto, localVarRequestOptions, configuration)
|
|
314
|
+
|
|
315
|
+
return {
|
|
316
|
+
url: toPathString(localVarUrlObj),
|
|
317
|
+
options: localVarRequestOptions,
|
|
318
|
+
};
|
|
319
|
+
},
|
|
265
320
|
/**
|
|
266
321
|
* This will update commission agreement.
|
|
267
322
|
* @summary Update the commission agreement
|
|
@@ -378,6 +433,19 @@ export const CommissionAgreementsApiFp = function(configuration?: Configuration)
|
|
|
378
433
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listCommissionAgreements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
379
434
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
380
435
|
},
|
|
436
|
+
/**
|
|
437
|
+
* This will patch commission agreement status.
|
|
438
|
+
* @summary Update the commission agreement status
|
|
439
|
+
* @param {string} code Unique identifier for the object.
|
|
440
|
+
* @param {PatchCommissionAgreementStatusRequestDto} patchCommissionAgreementStatusRequestDto
|
|
441
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
442
|
+
* @param {*} [options] Override http request option.
|
|
443
|
+
* @throws {RequiredError}
|
|
444
|
+
*/
|
|
445
|
+
async patchCommissionAgreementStatus(code: string, patchCommissionAgreementStatusRequestDto: PatchCommissionAgreementStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchCommissionAgreementStatusResponseClass>> {
|
|
446
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchCommissionAgreementStatus(code, patchCommissionAgreementStatusRequestDto, authorization, options);
|
|
447
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
448
|
+
},
|
|
381
449
|
/**
|
|
382
450
|
* This will update commission agreement.
|
|
383
451
|
* @summary Update the commission agreement
|
|
@@ -452,6 +520,18 @@ export const CommissionAgreementsApiFactory = function (configuration?: Configur
|
|
|
452
520
|
listCommissionAgreements(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCommissionAgreementsResponseClass> {
|
|
453
521
|
return localVarFp.listCommissionAgreements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
454
522
|
},
|
|
523
|
+
/**
|
|
524
|
+
* This will patch commission agreement status.
|
|
525
|
+
* @summary Update the commission agreement status
|
|
526
|
+
* @param {string} code Unique identifier for the object.
|
|
527
|
+
* @param {PatchCommissionAgreementStatusRequestDto} patchCommissionAgreementStatusRequestDto
|
|
528
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
529
|
+
* @param {*} [options] Override http request option.
|
|
530
|
+
* @throws {RequiredError}
|
|
531
|
+
*/
|
|
532
|
+
patchCommissionAgreementStatus(code: string, patchCommissionAgreementStatusRequestDto: PatchCommissionAgreementStatusRequestDto, authorization?: string, options?: any): AxiosPromise<PatchCommissionAgreementStatusResponseClass> {
|
|
533
|
+
return localVarFp.patchCommissionAgreementStatus(code, patchCommissionAgreementStatusRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
534
|
+
},
|
|
455
535
|
/**
|
|
456
536
|
* This will update commission agreement.
|
|
457
537
|
* @summary Update the commission agreement
|
|
@@ -600,6 +680,34 @@ export interface CommissionAgreementsApiListCommissionAgreementsRequest {
|
|
|
600
680
|
readonly filters?: string
|
|
601
681
|
}
|
|
602
682
|
|
|
683
|
+
/**
|
|
684
|
+
* Request parameters for patchCommissionAgreementStatus operation in CommissionAgreementsApi.
|
|
685
|
+
* @export
|
|
686
|
+
* @interface CommissionAgreementsApiPatchCommissionAgreementStatusRequest
|
|
687
|
+
*/
|
|
688
|
+
export interface CommissionAgreementsApiPatchCommissionAgreementStatusRequest {
|
|
689
|
+
/**
|
|
690
|
+
* Unique identifier for the object.
|
|
691
|
+
* @type {string}
|
|
692
|
+
* @memberof CommissionAgreementsApiPatchCommissionAgreementStatus
|
|
693
|
+
*/
|
|
694
|
+
readonly code: string
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
*
|
|
698
|
+
* @type {PatchCommissionAgreementStatusRequestDto}
|
|
699
|
+
* @memberof CommissionAgreementsApiPatchCommissionAgreementStatus
|
|
700
|
+
*/
|
|
701
|
+
readonly patchCommissionAgreementStatusRequestDto: PatchCommissionAgreementStatusRequestDto
|
|
702
|
+
|
|
703
|
+
/**
|
|
704
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
705
|
+
* @type {string}
|
|
706
|
+
* @memberof CommissionAgreementsApiPatchCommissionAgreementStatus
|
|
707
|
+
*/
|
|
708
|
+
readonly authorization?: string
|
|
709
|
+
}
|
|
710
|
+
|
|
603
711
|
/**
|
|
604
712
|
* Request parameters for updateCommissionAgreement operation in CommissionAgreementsApi.
|
|
605
713
|
* @export
|
|
@@ -683,6 +791,18 @@ export class CommissionAgreementsApi extends BaseAPI {
|
|
|
683
791
|
return CommissionAgreementsApiFp(this.configuration).listCommissionAgreements(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
684
792
|
}
|
|
685
793
|
|
|
794
|
+
/**
|
|
795
|
+
* This will patch commission agreement status.
|
|
796
|
+
* @summary Update the commission agreement status
|
|
797
|
+
* @param {CommissionAgreementsApiPatchCommissionAgreementStatusRequest} requestParameters Request parameters.
|
|
798
|
+
* @param {*} [options] Override http request option.
|
|
799
|
+
* @throws {RequiredError}
|
|
800
|
+
* @memberof CommissionAgreementsApi
|
|
801
|
+
*/
|
|
802
|
+
public patchCommissionAgreementStatus(requestParameters: CommissionAgreementsApiPatchCommissionAgreementStatusRequest, options?: AxiosRequestConfig) {
|
|
803
|
+
return CommissionAgreementsApiFp(this.configuration).patchCommissionAgreementStatus(requestParameters.code, requestParameters.patchCommissionAgreementStatusRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
804
|
+
}
|
|
805
|
+
|
|
686
806
|
/**
|
|
687
807
|
* This will update commission agreement.
|
|
688
808
|
* @summary Update the commission agreement
|
|
@@ -16,6 +16,8 @@ import { CreateCommissionAgreementRequestDto } from '../models';
|
|
|
16
16
|
import { CreateCommissionAgreementResponseClass } from '../models';
|
|
17
17
|
import { GetCommissionAgreementResponseClass } from '../models';
|
|
18
18
|
import { ListCommissionAgreementsResponseClass } from '../models';
|
|
19
|
+
import { PatchCommissionAgreementStatusRequestDto } from '../models';
|
|
20
|
+
import { PatchCommissionAgreementStatusResponseClass } from '../models';
|
|
19
21
|
import { UpdateCommissionAgreementRequestDto } from '../models';
|
|
20
22
|
import { UpdateCommissionAgreementResponseClass } from '../models';
|
|
21
23
|
/**
|
|
@@ -66,6 +68,16 @@ export declare const CommissionAgreementsApiAxiosParamCreator: (configuration?:
|
|
|
66
68
|
* @throws {RequiredError}
|
|
67
69
|
*/
|
|
68
70
|
listCommissionAgreements: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
71
|
+
/**
|
|
72
|
+
* This will patch commission agreement status.
|
|
73
|
+
* @summary Update the commission agreement status
|
|
74
|
+
* @param {string} code Unique identifier for the object.
|
|
75
|
+
* @param {PatchCommissionAgreementStatusRequestDto} patchCommissionAgreementStatusRequestDto
|
|
76
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
77
|
+
* @param {*} [options] Override http request option.
|
|
78
|
+
* @throws {RequiredError}
|
|
79
|
+
*/
|
|
80
|
+
patchCommissionAgreementStatus: (code: string, patchCommissionAgreementStatusRequestDto: PatchCommissionAgreementStatusRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
81
|
/**
|
|
70
82
|
* This will update commission agreement.
|
|
71
83
|
* @summary Update the commission agreement
|
|
@@ -125,6 +137,16 @@ export declare const CommissionAgreementsApiFp: (configuration?: Configuration)
|
|
|
125
137
|
* @throws {RequiredError}
|
|
126
138
|
*/
|
|
127
139
|
listCommissionAgreements(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionAgreementsResponseClass>>;
|
|
140
|
+
/**
|
|
141
|
+
* This will patch commission agreement status.
|
|
142
|
+
* @summary Update the commission agreement status
|
|
143
|
+
* @param {string} code Unique identifier for the object.
|
|
144
|
+
* @param {PatchCommissionAgreementStatusRequestDto} patchCommissionAgreementStatusRequestDto
|
|
145
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
146
|
+
* @param {*} [options] Override http request option.
|
|
147
|
+
* @throws {RequiredError}
|
|
148
|
+
*/
|
|
149
|
+
patchCommissionAgreementStatus(code: string, patchCommissionAgreementStatusRequestDto: PatchCommissionAgreementStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchCommissionAgreementStatusResponseClass>>;
|
|
128
150
|
/**
|
|
129
151
|
* This will update commission agreement.
|
|
130
152
|
* @summary Update the commission agreement
|
|
@@ -184,6 +206,16 @@ export declare const CommissionAgreementsApiFactory: (configuration?: Configurat
|
|
|
184
206
|
* @throws {RequiredError}
|
|
185
207
|
*/
|
|
186
208
|
listCommissionAgreements(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCommissionAgreementsResponseClass>;
|
|
209
|
+
/**
|
|
210
|
+
* This will patch commission agreement status.
|
|
211
|
+
* @summary Update the commission agreement status
|
|
212
|
+
* @param {string} code Unique identifier for the object.
|
|
213
|
+
* @param {PatchCommissionAgreementStatusRequestDto} patchCommissionAgreementStatusRequestDto
|
|
214
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
215
|
+
* @param {*} [options] Override http request option.
|
|
216
|
+
* @throws {RequiredError}
|
|
217
|
+
*/
|
|
218
|
+
patchCommissionAgreementStatus(code: string, patchCommissionAgreementStatusRequestDto: PatchCommissionAgreementStatusRequestDto, authorization?: string, options?: any): AxiosPromise<PatchCommissionAgreementStatusResponseClass>;
|
|
187
219
|
/**
|
|
188
220
|
* This will update commission agreement.
|
|
189
221
|
* @summary Update the commission agreement
|
|
@@ -313,6 +345,31 @@ export interface CommissionAgreementsApiListCommissionAgreementsRequest {
|
|
|
313
345
|
*/
|
|
314
346
|
readonly filters?: string;
|
|
315
347
|
}
|
|
348
|
+
/**
|
|
349
|
+
* Request parameters for patchCommissionAgreementStatus operation in CommissionAgreementsApi.
|
|
350
|
+
* @export
|
|
351
|
+
* @interface CommissionAgreementsApiPatchCommissionAgreementStatusRequest
|
|
352
|
+
*/
|
|
353
|
+
export interface CommissionAgreementsApiPatchCommissionAgreementStatusRequest {
|
|
354
|
+
/**
|
|
355
|
+
* Unique identifier for the object.
|
|
356
|
+
* @type {string}
|
|
357
|
+
* @memberof CommissionAgreementsApiPatchCommissionAgreementStatus
|
|
358
|
+
*/
|
|
359
|
+
readonly code: string;
|
|
360
|
+
/**
|
|
361
|
+
*
|
|
362
|
+
* @type {PatchCommissionAgreementStatusRequestDto}
|
|
363
|
+
* @memberof CommissionAgreementsApiPatchCommissionAgreementStatus
|
|
364
|
+
*/
|
|
365
|
+
readonly patchCommissionAgreementStatusRequestDto: PatchCommissionAgreementStatusRequestDto;
|
|
366
|
+
/**
|
|
367
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
368
|
+
* @type {string}
|
|
369
|
+
* @memberof CommissionAgreementsApiPatchCommissionAgreementStatus
|
|
370
|
+
*/
|
|
371
|
+
readonly authorization?: string;
|
|
372
|
+
}
|
|
316
373
|
/**
|
|
317
374
|
* Request parameters for updateCommissionAgreement operation in CommissionAgreementsApi.
|
|
318
375
|
* @export
|
|
@@ -381,6 +438,15 @@ export declare class CommissionAgreementsApi extends BaseAPI {
|
|
|
381
438
|
* @memberof CommissionAgreementsApi
|
|
382
439
|
*/
|
|
383
440
|
listCommissionAgreements(requestParameters?: CommissionAgreementsApiListCommissionAgreementsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCommissionAgreementsResponseClass, any, {}>>;
|
|
441
|
+
/**
|
|
442
|
+
* This will patch commission agreement status.
|
|
443
|
+
* @summary Update the commission agreement status
|
|
444
|
+
* @param {CommissionAgreementsApiPatchCommissionAgreementStatusRequest} requestParameters Request parameters.
|
|
445
|
+
* @param {*} [options] Override http request option.
|
|
446
|
+
* @throws {RequiredError}
|
|
447
|
+
* @memberof CommissionAgreementsApi
|
|
448
|
+
*/
|
|
449
|
+
patchCommissionAgreementStatus(requestParameters: CommissionAgreementsApiPatchCommissionAgreementStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchCommissionAgreementStatusResponseClass, any, {}>>;
|
|
384
450
|
/**
|
|
385
451
|
* This will update commission agreement.
|
|
386
452
|
* @summary Update the commission agreement
|
|
@@ -319,6 +319,59 @@ var CommissionAgreementsApiAxiosParamCreator = function (configuration) {
|
|
|
319
319
|
});
|
|
320
320
|
});
|
|
321
321
|
},
|
|
322
|
+
/**
|
|
323
|
+
* This will patch commission agreement status.
|
|
324
|
+
* @summary Update the commission agreement status
|
|
325
|
+
* @param {string} code Unique identifier for the object.
|
|
326
|
+
* @param {PatchCommissionAgreementStatusRequestDto} patchCommissionAgreementStatusRequestDto
|
|
327
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
328
|
+
* @param {*} [options] Override http request option.
|
|
329
|
+
* @throws {RequiredError}
|
|
330
|
+
*/
|
|
331
|
+
patchCommissionAgreementStatus: function (code, patchCommissionAgreementStatusRequestDto, authorization, options) {
|
|
332
|
+
if (options === void 0) { options = {}; }
|
|
333
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
334
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
335
|
+
return __generator(this, function (_a) {
|
|
336
|
+
switch (_a.label) {
|
|
337
|
+
case 0:
|
|
338
|
+
// verify required parameter 'code' is not null or undefined
|
|
339
|
+
(0, common_1.assertParamExists)('patchCommissionAgreementStatus', 'code', code);
|
|
340
|
+
// verify required parameter 'patchCommissionAgreementStatusRequestDto' is not null or undefined
|
|
341
|
+
(0, common_1.assertParamExists)('patchCommissionAgreementStatus', 'patchCommissionAgreementStatusRequestDto', patchCommissionAgreementStatusRequestDto);
|
|
342
|
+
localVarPath = "/commissionservice/v1/agreements/{code}/status"
|
|
343
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
344
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
345
|
+
if (configuration) {
|
|
346
|
+
baseOptions = configuration.baseOptions;
|
|
347
|
+
baseAccessToken = configuration.accessToken;
|
|
348
|
+
}
|
|
349
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
350
|
+
localVarHeaderParameter = {};
|
|
351
|
+
localVarQueryParameter = {};
|
|
352
|
+
// authentication bearer required
|
|
353
|
+
// http bearer authentication required
|
|
354
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
355
|
+
case 1:
|
|
356
|
+
// authentication bearer required
|
|
357
|
+
// http bearer authentication required
|
|
358
|
+
_a.sent();
|
|
359
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
360
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
361
|
+
}
|
|
362
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
363
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
364
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
365
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
366
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchCommissionAgreementStatusRequestDto, localVarRequestOptions, configuration);
|
|
367
|
+
return [2 /*return*/, {
|
|
368
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
369
|
+
options: localVarRequestOptions,
|
|
370
|
+
}];
|
|
371
|
+
}
|
|
372
|
+
});
|
|
373
|
+
});
|
|
374
|
+
},
|
|
322
375
|
/**
|
|
323
376
|
* This will update commission agreement.
|
|
324
377
|
* @summary Update the commission agreement
|
|
@@ -473,6 +526,28 @@ var CommissionAgreementsApiFp = function (configuration) {
|
|
|
473
526
|
});
|
|
474
527
|
});
|
|
475
528
|
},
|
|
529
|
+
/**
|
|
530
|
+
* This will patch commission agreement status.
|
|
531
|
+
* @summary Update the commission agreement status
|
|
532
|
+
* @param {string} code Unique identifier for the object.
|
|
533
|
+
* @param {PatchCommissionAgreementStatusRequestDto} patchCommissionAgreementStatusRequestDto
|
|
534
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
535
|
+
* @param {*} [options] Override http request option.
|
|
536
|
+
* @throws {RequiredError}
|
|
537
|
+
*/
|
|
538
|
+
patchCommissionAgreementStatus: function (code, patchCommissionAgreementStatusRequestDto, authorization, options) {
|
|
539
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
540
|
+
var localVarAxiosArgs;
|
|
541
|
+
return __generator(this, function (_a) {
|
|
542
|
+
switch (_a.label) {
|
|
543
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchCommissionAgreementStatus(code, patchCommissionAgreementStatusRequestDto, authorization, options)];
|
|
544
|
+
case 1:
|
|
545
|
+
localVarAxiosArgs = _a.sent();
|
|
546
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
547
|
+
}
|
|
548
|
+
});
|
|
549
|
+
});
|
|
550
|
+
},
|
|
476
551
|
/**
|
|
477
552
|
* This will update commission agreement.
|
|
478
553
|
* @summary Update the commission agreement
|
|
@@ -556,6 +631,18 @@ var CommissionAgreementsApiFactory = function (configuration, basePath, axios) {
|
|
|
556
631
|
listCommissionAgreements: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
557
632
|
return localVarFp.listCommissionAgreements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
558
633
|
},
|
|
634
|
+
/**
|
|
635
|
+
* This will patch commission agreement status.
|
|
636
|
+
* @summary Update the commission agreement status
|
|
637
|
+
* @param {string} code Unique identifier for the object.
|
|
638
|
+
* @param {PatchCommissionAgreementStatusRequestDto} patchCommissionAgreementStatusRequestDto
|
|
639
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
640
|
+
* @param {*} [options] Override http request option.
|
|
641
|
+
* @throws {RequiredError}
|
|
642
|
+
*/
|
|
643
|
+
patchCommissionAgreementStatus: function (code, patchCommissionAgreementStatusRequestDto, authorization, options) {
|
|
644
|
+
return localVarFp.patchCommissionAgreementStatus(code, patchCommissionAgreementStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
645
|
+
},
|
|
559
646
|
/**
|
|
560
647
|
* This will update commission agreement.
|
|
561
648
|
* @summary Update the commission agreement
|
|
@@ -631,6 +718,18 @@ var CommissionAgreementsApi = /** @class */ (function (_super) {
|
|
|
631
718
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
632
719
|
return (0, exports.CommissionAgreementsApiFp)(this.configuration).listCommissionAgreements(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
633
720
|
};
|
|
721
|
+
/**
|
|
722
|
+
* This will patch commission agreement status.
|
|
723
|
+
* @summary Update the commission agreement status
|
|
724
|
+
* @param {CommissionAgreementsApiPatchCommissionAgreementStatusRequest} requestParameters Request parameters.
|
|
725
|
+
* @param {*} [options] Override http request option.
|
|
726
|
+
* @throws {RequiredError}
|
|
727
|
+
* @memberof CommissionAgreementsApi
|
|
728
|
+
*/
|
|
729
|
+
CommissionAgreementsApi.prototype.patchCommissionAgreementStatus = function (requestParameters, options) {
|
|
730
|
+
var _this = this;
|
|
731
|
+
return (0, exports.CommissionAgreementsApiFp)(this.configuration).patchCommissionAgreementStatus(requestParameters.code, requestParameters.patchCommissionAgreementStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
732
|
+
};
|
|
634
733
|
/**
|
|
635
734
|
* This will update commission agreement.
|
|
636
735
|
* @summary Update the commission agreement
|
|
@@ -42,7 +42,7 @@ export interface CommissionAgreementClass {
|
|
|
42
42
|
*/
|
|
43
43
|
'commissionAgreementNumber': string;
|
|
44
44
|
/**
|
|
45
|
-
* Current status of the commission agreement (e.g., active,
|
|
45
|
+
* Current status of the commission agreement (e.g., draft, active, processing, archived)
|
|
46
46
|
* @type {string}
|
|
47
47
|
* @memberof CommissionAgreementClass
|
|
48
48
|
*/
|
|
@@ -97,8 +97,10 @@ export interface CommissionAgreementClass {
|
|
|
97
97
|
'updatedBy'?: string;
|
|
98
98
|
}
|
|
99
99
|
export declare const CommissionAgreementClassStatusEnum: {
|
|
100
|
+
readonly Draft: "draft";
|
|
100
101
|
readonly Active: "active";
|
|
101
|
-
readonly
|
|
102
|
+
readonly Processing: "processing";
|
|
103
|
+
readonly Archived: "archived";
|
|
102
104
|
};
|
|
103
105
|
export type CommissionAgreementClassStatusEnum = typeof CommissionAgreementClassStatusEnum[keyof typeof CommissionAgreementClassStatusEnum];
|
|
104
106
|
export declare const CommissionAgreementClassBillingFrequencyEnum: {
|
|
@@ -15,8 +15,10 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.CommissionAgreementClassBillingFrequencyEnum = exports.CommissionAgreementClassStatusEnum = void 0;
|
|
17
17
|
exports.CommissionAgreementClassStatusEnum = {
|
|
18
|
+
Draft: 'draft',
|
|
18
19
|
Active: 'active',
|
|
19
|
-
|
|
20
|
+
Processing: 'processing',
|
|
21
|
+
Archived: 'archived'
|
|
20
22
|
};
|
|
21
23
|
exports.CommissionAgreementClassBillingFrequencyEnum = {
|
|
22
24
|
Monthly: 'monthly',
|
|
@@ -29,7 +29,7 @@ export interface CreateCommissionAgreementRequestDto {
|
|
|
29
29
|
*/
|
|
30
30
|
'billingFrequency': CreateCommissionAgreementRequestDtoBillingFrequencyEnum;
|
|
31
31
|
/**
|
|
32
|
-
* Current status of the commission agreement (e.g., active,
|
|
32
|
+
* Current status of the commission agreement (e.g., draft, active, processing, archived)
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof CreateCommissionAgreementRequestDto
|
|
35
35
|
*/
|
|
@@ -72,7 +72,9 @@ export declare const CreateCommissionAgreementRequestDtoBillingFrequencyEnum: {
|
|
|
72
72
|
};
|
|
73
73
|
export type CreateCommissionAgreementRequestDtoBillingFrequencyEnum = typeof CreateCommissionAgreementRequestDtoBillingFrequencyEnum[keyof typeof CreateCommissionAgreementRequestDtoBillingFrequencyEnum];
|
|
74
74
|
export declare const CreateCommissionAgreementRequestDtoStatusEnum: {
|
|
75
|
+
readonly Draft: "draft";
|
|
75
76
|
readonly Active: "active";
|
|
76
|
-
readonly
|
|
77
|
+
readonly Processing: "processing";
|
|
78
|
+
readonly Archived: "archived";
|
|
77
79
|
};
|
|
78
80
|
export type CreateCommissionAgreementRequestDtoStatusEnum = typeof CreateCommissionAgreementRequestDtoStatusEnum[keyof typeof CreateCommissionAgreementRequestDtoStatusEnum];
|
|
@@ -20,6 +20,8 @@ exports.CreateCommissionAgreementRequestDtoBillingFrequencyEnum = {
|
|
|
20
20
|
Yearly: 'yearly'
|
|
21
21
|
};
|
|
22
22
|
exports.CreateCommissionAgreementRequestDtoStatusEnum = {
|
|
23
|
+
Draft: 'draft',
|
|
23
24
|
Active: 'active',
|
|
24
|
-
|
|
25
|
+
Processing: 'processing',
|
|
26
|
+
Archived: 'archived'
|
|
25
27
|
};
|
package/dist/models/index.d.ts
CHANGED
|
@@ -46,6 +46,8 @@ export * from './list-commission-agreements-response-class';
|
|
|
46
46
|
export * from './list-commission-recipients-response-class';
|
|
47
47
|
export * from './list-commission-settlements-response-class';
|
|
48
48
|
export * from './list-commissions-response-class';
|
|
49
|
+
export * from './patch-commission-agreement-status-request-dto';
|
|
50
|
+
export * from './patch-commission-agreement-status-response-class';
|
|
49
51
|
export * from './publish-commission-settlements-request-dto';
|
|
50
52
|
export * from './publish-commission-settlements-response-class';
|
|
51
53
|
export * from './update-commission-agreement-product-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -62,6 +62,8 @@ __exportStar(require("./list-commission-agreements-response-class"), exports);
|
|
|
62
62
|
__exportStar(require("./list-commission-recipients-response-class"), exports);
|
|
63
63
|
__exportStar(require("./list-commission-settlements-response-class"), exports);
|
|
64
64
|
__exportStar(require("./list-commissions-response-class"), exports);
|
|
65
|
+
__exportStar(require("./patch-commission-agreement-status-request-dto"), exports);
|
|
66
|
+
__exportStar(require("./patch-commission-agreement-status-response-class"), exports);
|
|
65
67
|
__exportStar(require("./publish-commission-settlements-request-dto"), exports);
|
|
66
68
|
__exportStar(require("./publish-commission-settlements-response-class"), exports);
|
|
67
69
|
__exportStar(require("./update-commission-agreement-product-request-dto"), exports);
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PatchCommissionAgreementStatusRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface PatchCommissionAgreementStatusRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Unique code identifier for the commission agreement
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PatchCommissionAgreementStatusRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'code': string;
|
|
24
|
+
/**
|
|
25
|
+
* Status of the commission agreement. Valid values: draft, active, processing, archived
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PatchCommissionAgreementStatusRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'status': PatchCommissionAgreementStatusRequestDtoStatusEnum;
|
|
30
|
+
}
|
|
31
|
+
export declare const PatchCommissionAgreementStatusRequestDtoStatusEnum: {
|
|
32
|
+
readonly Draft: "draft";
|
|
33
|
+
readonly Active: "active";
|
|
34
|
+
readonly Processing: "processing";
|
|
35
|
+
readonly Archived: "archived";
|
|
36
|
+
};
|
|
37
|
+
export type PatchCommissionAgreementStatusRequestDtoStatusEnum = typeof PatchCommissionAgreementStatusRequestDtoStatusEnum[keyof typeof PatchCommissionAgreementStatusRequestDtoStatusEnum];
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL CommissionService
|
|
6
|
+
* The EMIL CommissionService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PatchCommissionAgreementStatusRequestDtoStatusEnum = void 0;
|
|
17
|
+
exports.PatchCommissionAgreementStatusRequestDtoStatusEnum = {
|
|
18
|
+
Draft: 'draft',
|
|
19
|
+
Active: 'active',
|
|
20
|
+
Processing: 'processing',
|
|
21
|
+
Archived: 'archived'
|
|
22
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { CommissionAgreementClass } from './commission-agreement-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PatchCommissionAgreementStatusResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface PatchCommissionAgreementStatusResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The commission agreement with updated status
|
|
21
|
+
* @type {CommissionAgreementClass}
|
|
22
|
+
* @memberof PatchCommissionAgreementStatusResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'commissionAgreement'?: CommissionAgreementClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL CommissionService
|
|
6
|
+
* The EMIL CommissionService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -47,7 +47,7 @@ export interface CommissionAgreementClass {
|
|
|
47
47
|
*/
|
|
48
48
|
'commissionAgreementNumber': string;
|
|
49
49
|
/**
|
|
50
|
-
* Current status of the commission agreement (e.g., active,
|
|
50
|
+
* Current status of the commission agreement (e.g., draft, active, processing, archived)
|
|
51
51
|
* @type {string}
|
|
52
52
|
* @memberof CommissionAgreementClass
|
|
53
53
|
*/
|
|
@@ -103,8 +103,10 @@ export interface CommissionAgreementClass {
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
export const CommissionAgreementClassStatusEnum = {
|
|
106
|
+
Draft: 'draft',
|
|
106
107
|
Active: 'active',
|
|
107
|
-
|
|
108
|
+
Processing: 'processing',
|
|
109
|
+
Archived: 'archived'
|
|
108
110
|
} as const;
|
|
109
111
|
|
|
110
112
|
export type CommissionAgreementClassStatusEnum = typeof CommissionAgreementClassStatusEnum[keyof typeof CommissionAgreementClassStatusEnum];
|
|
@@ -34,7 +34,7 @@ export interface CreateCommissionAgreementRequestDto {
|
|
|
34
34
|
*/
|
|
35
35
|
'billingFrequency': CreateCommissionAgreementRequestDtoBillingFrequencyEnum;
|
|
36
36
|
/**
|
|
37
|
-
* Current status of the commission agreement (e.g., active,
|
|
37
|
+
* Current status of the commission agreement (e.g., draft, active, processing, archived)
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof CreateCommissionAgreementRequestDto
|
|
40
40
|
*/
|
|
@@ -79,8 +79,10 @@ export const CreateCommissionAgreementRequestDtoBillingFrequencyEnum = {
|
|
|
79
79
|
|
|
80
80
|
export type CreateCommissionAgreementRequestDtoBillingFrequencyEnum = typeof CreateCommissionAgreementRequestDtoBillingFrequencyEnum[keyof typeof CreateCommissionAgreementRequestDtoBillingFrequencyEnum];
|
|
81
81
|
export const CreateCommissionAgreementRequestDtoStatusEnum = {
|
|
82
|
+
Draft: 'draft',
|
|
82
83
|
Active: 'active',
|
|
83
|
-
|
|
84
|
+
Processing: 'processing',
|
|
85
|
+
Archived: 'archived'
|
|
84
86
|
} as const;
|
|
85
87
|
|
|
86
88
|
export type CreateCommissionAgreementRequestDtoStatusEnum = typeof CreateCommissionAgreementRequestDtoStatusEnum[keyof typeof CreateCommissionAgreementRequestDtoStatusEnum];
|
package/models/index.ts
CHANGED
|
@@ -46,6 +46,8 @@ export * from './list-commission-agreements-response-class';
|
|
|
46
46
|
export * from './list-commission-recipients-response-class';
|
|
47
47
|
export * from './list-commission-settlements-response-class';
|
|
48
48
|
export * from './list-commissions-response-class';
|
|
49
|
+
export * from './patch-commission-agreement-status-request-dto';
|
|
50
|
+
export * from './patch-commission-agreement-status-response-class';
|
|
49
51
|
export * from './publish-commission-settlements-request-dto';
|
|
50
52
|
export * from './publish-commission-settlements-response-class';
|
|
51
53
|
export * from './update-commission-agreement-product-request-dto';
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface PatchCommissionAgreementStatusRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface PatchCommissionAgreementStatusRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Unique code identifier for the commission agreement
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PatchCommissionAgreementStatusRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'code': string;
|
|
29
|
+
/**
|
|
30
|
+
* Status of the commission agreement. Valid values: draft, active, processing, archived
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PatchCommissionAgreementStatusRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'status': PatchCommissionAgreementStatusRequestDtoStatusEnum;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export const PatchCommissionAgreementStatusRequestDtoStatusEnum = {
|
|
38
|
+
Draft: 'draft',
|
|
39
|
+
Active: 'active',
|
|
40
|
+
Processing: 'processing',
|
|
41
|
+
Archived: 'archived'
|
|
42
|
+
} as const;
|
|
43
|
+
|
|
44
|
+
export type PatchCommissionAgreementStatusRequestDtoStatusEnum = typeof PatchCommissionAgreementStatusRequestDtoStatusEnum[keyof typeof PatchCommissionAgreementStatusRequestDtoStatusEnum];
|
|
45
|
+
|
|
46
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { CommissionAgreementClass } from './commission-agreement-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface PatchCommissionAgreementStatusResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface PatchCommissionAgreementStatusResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The commission agreement with updated status
|
|
26
|
+
* @type {CommissionAgreementClass}
|
|
27
|
+
* @memberof PatchCommissionAgreementStatusResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'commissionAgreement'?: CommissionAgreementClass;
|
|
30
|
+
}
|
|
31
|
+
|