@emilgroup/commission-sdk 1.0.0-beta.3 → 1.0.0-beta.5
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 +16 -0
- package/README.md +2 -2
- package/api/commission-agreement-products-api.ts +665 -0
- package/api/commission-recipients-api.ts +638 -0
- package/api.ts +4 -0
- package/dist/api/commission-agreement-products-api.d.ts +375 -0
- package/dist/api/commission-agreement-products-api.js +632 -0
- package/dist/api/commission-recipients-api.d.ts +357 -0
- package/dist/api/commission-recipients-api.js +620 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/models/commission-agreement-product-class.d.ts +78 -0
- package/dist/models/commission-agreement-product-class.js +20 -0
- package/dist/models/commission-recipient-class.d.ts +90 -0
- package/dist/models/commission-recipient-class.js +20 -0
- package/dist/models/create-commission-agreement-product-request-dto.d.ts +30 -0
- package/dist/models/create-commission-agreement-product-request-dto.js +15 -0
- package/dist/models/create-commission-agreement-product-response-class.d.ts +25 -0
- package/dist/models/create-commission-agreement-product-response-class.js +15 -0
- package/dist/models/create-commission-recipient-request-dto.d.ts +36 -0
- package/dist/models/create-commission-recipient-request-dto.js +15 -0
- package/dist/models/create-commission-recipient-response-class.d.ts +25 -0
- package/dist/models/create-commission-recipient-response-class.js +15 -0
- package/dist/models/get-commission-agreement-product-response-class.d.ts +25 -0
- package/dist/models/get-commission-agreement-product-response-class.js +15 -0
- package/dist/models/get-commission-recipient-response-class.d.ts +25 -0
- package/dist/models/get-commission-recipient-response-class.js +15 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/dist/models/list-commission-agreement-products-response-class.d.ts +43 -0
- package/dist/models/list-commission-agreement-products-response-class.js +15 -0
- package/dist/models/list-commission-recipients-response-class.d.ts +43 -0
- package/dist/models/list-commission-recipients-response-class.js +15 -0
- package/dist/models/update-commission-agreement-product-request-dto.d.ts +41 -0
- package/dist/models/update-commission-agreement-product-request-dto.js +20 -0
- package/dist/models/update-commission-agreement-product-response-class.d.ts +25 -0
- package/dist/models/update-commission-agreement-product-response-class.js +15 -0
- package/dist/models/update-commission-recipient-request-dto.d.ts +42 -0
- package/dist/models/update-commission-recipient-request-dto.js +15 -0
- package/dist/models/update-commission-recipient-response-class.d.ts +25 -0
- package/dist/models/update-commission-recipient-response-class.js +15 -0
- package/models/commission-agreement-product-class.ts +87 -0
- package/models/commission-recipient-class.ts +99 -0
- package/models/create-commission-agreement-product-request-dto.ts +36 -0
- package/models/create-commission-agreement-product-response-class.ts +31 -0
- package/models/create-commission-recipient-request-dto.ts +42 -0
- package/models/create-commission-recipient-response-class.ts +31 -0
- package/models/get-commission-agreement-product-response-class.ts +31 -0
- package/models/get-commission-recipient-response-class.ts +31 -0
- package/models/index.ts +14 -0
- package/models/list-commission-agreement-products-response-class.ts +49 -0
- package/models/list-commission-recipients-response-class.ts +49 -0
- package/models/update-commission-agreement-product-request-dto.ts +50 -0
- package/models/update-commission-agreement-product-response-class.ts +31 -0
- package/models/update-commission-recipient-request-dto.ts +48 -0
- package/models/update-commission-recipient-response-class.ts +31 -0
- package/package.json +1 -1
|
@@ -0,0 +1,49 @@
|
|
|
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 { CommissionAgreementProductClass } from './commission-agreement-product-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListCommissionAgreementProductsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListCommissionAgreementProductsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Array of commission agreement product objects
|
|
26
|
+
* @type {Array<CommissionAgreementProductClass>}
|
|
27
|
+
* @memberof ListCommissionAgreementProductsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<CommissionAgreementProductClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Token for retrieving the next page of results
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListCommissionAgreementProductsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
/**
|
|
37
|
+
* Number of items per page
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListCommissionAgreementProductsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
* Total number of items
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ListCommissionAgreementProductsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'totalItems': number;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { CommissionRecipientClass } from './commission-recipient-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListCommissionRecipientsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListCommissionRecipientsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* An array of commission recipients that were retrieved
|
|
26
|
+
* @type {Array<CommissionRecipientClass>}
|
|
27
|
+
* @memberof ListCommissionRecipientsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<CommissionRecipientClass>;
|
|
30
|
+
/**
|
|
31
|
+
* nextPageToken
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListCommissionRecipientsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
/**
|
|
37
|
+
* itemsPerPage
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListCommissionRecipientsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
* totalItems
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ListCommissionRecipientsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'totalItems': number;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,50 @@
|
|
|
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 UpdateCommissionAgreementProductRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateCommissionAgreementProductRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Code of the commission agreement product to update
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof UpdateCommissionAgreementProductRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'code': string;
|
|
29
|
+
/**
|
|
30
|
+
* Product slug identifier
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof UpdateCommissionAgreementProductRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'productSlug': string;
|
|
35
|
+
/**
|
|
36
|
+
* Status of the commission agreement product
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof UpdateCommissionAgreementProductRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'status': UpdateCommissionAgreementProductRequestDtoStatusEnum;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export const UpdateCommissionAgreementProductRequestDtoStatusEnum = {
|
|
44
|
+
Active: 'active',
|
|
45
|
+
Inactive: 'inactive'
|
|
46
|
+
} as const;
|
|
47
|
+
|
|
48
|
+
export type UpdateCommissionAgreementProductRequestDtoStatusEnum = typeof UpdateCommissionAgreementProductRequestDtoStatusEnum[keyof typeof UpdateCommissionAgreementProductRequestDtoStatusEnum];
|
|
49
|
+
|
|
50
|
+
|
|
@@ -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 { CommissionAgreementProductClass } from './commission-agreement-product-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface UpdateCommissionAgreementProductResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface UpdateCommissionAgreementProductResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The updated commission agreement product object
|
|
26
|
+
* @type {CommissionAgreementProductClass}
|
|
27
|
+
* @memberof UpdateCommissionAgreementProductResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'product'?: CommissionAgreementProductClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
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 UpdateCommissionRecipientRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateCommissionRecipientRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Unique code identifier for the commission recipient to update
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof UpdateCommissionRecipientRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'code': string;
|
|
29
|
+
/**
|
|
30
|
+
* Updated human-readable display name for the commission recipient
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof UpdateCommissionRecipientRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'displayName': string;
|
|
35
|
+
/**
|
|
36
|
+
* Updated unique code or identifier of the partner associated with this commission recipient
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof UpdateCommissionRecipientRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'partnerCode': string;
|
|
41
|
+
/**
|
|
42
|
+
* Updated status of the commission recipient (e.g., pending, settled, active, inactive)
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof UpdateCommissionRecipientRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'status': string;
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -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 { CommissionRecipientClass } from './commission-recipient-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface UpdateCommissionRecipientResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface UpdateCommissionRecipientResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The commission recipient that was updated
|
|
26
|
+
* @type {CommissionRecipientClass}
|
|
27
|
+
* @memberof UpdateCommissionRecipientResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'recipient'?: CommissionRecipientClass;
|
|
30
|
+
}
|
|
31
|
+
|