@emilgroup/partner-sdk 1.4.0 → 1.5.1-beta.0
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 +10 -4
- package/README.md +2 -2
- package/api/{partners-api.ts → partner-api.ts} +90 -90
- package/api/partner-invitation-api.ts +165 -0
- package/api/{partner-relations-api.ts → partner-relation-api.ts} +95 -95
- package/api/{partner-tags-api.ts → partner-tag-api.ts} +70 -70
- package/api/{partner-types-api.ts → partner-type-api.ts} +68 -68
- package/api/partner-version-api.ts +4 -4
- package/api.ts +10 -8
- package/base.ts +3 -3
- package/dist/api/{partners-api.d.ts → partner-api.d.ts} +82 -82
- package/dist/api/{partners-api.js → partner-api.js} +56 -56
- package/dist/api/partner-invitation-api.d.ts +97 -0
- package/dist/api/partner-invitation-api.js +224 -0
- package/dist/api/{partner-relations-api.d.ts → partner-relation-api.d.ts} +86 -86
- package/dist/api/{partner-relations-api.js → partner-relation-api.js} +53 -53
- package/dist/api/{partner-tags-api.d.ts → partner-tag-api.d.ts} +63 -63
- package/dist/api/{partner-tags-api.js → partner-tag-api.js} +46 -46
- package/dist/api/{partner-types-api.d.ts → partner-type-api.d.ts} +61 -61
- package/dist/api/{partner-types-api.js → partner-type-api.js} +43 -43
- package/dist/api/partner-version-api.d.ts +4 -4
- package/dist/api/partner-version-api.js +3 -3
- package/dist/api.d.ts +5 -4
- package/dist/api.js +5 -4
- package/dist/base.d.ts +2 -2
- package/dist/base.js +1 -2
- package/dist/models/create-partner-response-class.d.ts +7 -0
- package/dist/models/create-partner-type-response-class.d.ts +1 -1
- package/dist/models/get-partner-type-response-class.d.ts +1 -1
- package/dist/models/get-partner-version-response-class.d.ts +3 -3
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/dist/models/invite-class.d.ts +79 -0
- package/dist/models/invite-class.js +15 -0
- package/dist/models/invite-partner-to-eis-response-class.d.ts +25 -0
- package/dist/models/invite-partner-to-eis-response-class.js +15 -0
- package/dist/models/invite-partner-to-eisrequest-dto.d.ts +42 -0
- package/dist/models/invite-partner-to-eisrequest-dto.js +15 -0
- package/dist/models/list-partner-relation-class.d.ts +1 -1
- package/dist/models/list-partner-relation-types-class.d.ts +1 -1
- package/dist/models/list-partner-types-response-class.d.ts +1 -1
- package/dist/models/list-partner-versions-response-class.d.ts +7 -1
- package/dist/models/list-partners-response-class.d.ts +1 -1
- package/dist/models/partner-class.d.ts +24 -6
- package/dist/models/partner-relation-class.d.ts +12 -0
- package/dist/models/partner-relation-type-class.d.ts +12 -0
- package/dist/models/partner-type-class.d.ts +12 -0
- package/dist/models/permission-class.d.ts +72 -0
- package/dist/models/permission-class.js +15 -0
- package/dist/models/role-class.d.ts +73 -0
- package/dist/models/role-class.js +15 -0
- package/dist/models/tag-class.d.ts +12 -0
- package/dist/models/update-partner-type-response-class.d.ts +1 -1
- package/models/create-partner-response-class.ts +7 -0
- package/models/create-partner-type-response-class.ts +1 -1
- package/models/get-partner-type-response-class.ts +1 -1
- package/models/get-partner-version-response-class.ts +3 -3
- package/models/index.ts +5 -0
- package/models/invite-class.ts +85 -0
- package/models/invite-partner-to-eis-response-class.ts +31 -0
- package/models/invite-partner-to-eisrequest-dto.ts +48 -0
- package/models/list-partner-relation-class.ts +1 -1
- package/models/list-partner-relation-types-class.ts +1 -1
- package/models/list-partner-types-response-class.ts +1 -1
- package/models/list-partner-versions-response-class.ts +7 -1
- package/models/list-partners-response-class.ts +1 -1
- package/models/partner-class.ts +24 -6
- package/models/partner-relation-class.ts +12 -0
- package/models/partner-relation-type-class.ts +12 -0
- package/models/partner-type-class.ts +12 -0
- package/models/permission-class.ts +78 -0
- package/models/role-class.ts +79 -0
- package/models/tag-class.ts +12 -0
- package/models/update-partner-type-response-class.ts +1 -1
- package/package.json +1 -1
package/models/partner-class.ts
CHANGED
|
@@ -69,12 +69,6 @@ export interface PartnerClass {
|
|
|
69
69
|
* @memberof PartnerClass
|
|
70
70
|
*/
|
|
71
71
|
'updatedAt': string;
|
|
72
|
-
/**
|
|
73
|
-
* Last user who updated the entity
|
|
74
|
-
* @type {string}
|
|
75
|
-
* @memberof PartnerClass
|
|
76
|
-
*/
|
|
77
|
-
'updatedBy': string;
|
|
78
72
|
/**
|
|
79
73
|
* The version number of the partner
|
|
80
74
|
* @type {number}
|
|
@@ -87,5 +81,29 @@ export interface PartnerClass {
|
|
|
87
81
|
* @memberof PartnerClass
|
|
88
82
|
*/
|
|
89
83
|
'tags': Array<string>;
|
|
84
|
+
/**
|
|
85
|
+
* The user code of the partner
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof PartnerClass
|
|
88
|
+
*/
|
|
89
|
+
'tenantUserCode'?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Identifier of the user who created the record.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof PartnerClass
|
|
94
|
+
*/
|
|
95
|
+
'createdBy': string;
|
|
96
|
+
/**
|
|
97
|
+
* Identifier of the user who last updated the record.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof PartnerClass
|
|
100
|
+
*/
|
|
101
|
+
'updatedBy': string;
|
|
102
|
+
/**
|
|
103
|
+
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof PartnerClass
|
|
106
|
+
*/
|
|
107
|
+
'ern': string;
|
|
90
108
|
}
|
|
91
109
|
|
|
@@ -74,5 +74,17 @@ export interface PartnerRelationClass {
|
|
|
74
74
|
* @memberof PartnerRelationClass
|
|
75
75
|
*/
|
|
76
76
|
'updatedAt': string;
|
|
77
|
+
/**
|
|
78
|
+
* Identifier of the user who created the record.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof PartnerRelationClass
|
|
81
|
+
*/
|
|
82
|
+
'createdBy': string;
|
|
83
|
+
/**
|
|
84
|
+
* Identifier of the user who last updated the record.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof PartnerRelationClass
|
|
87
|
+
*/
|
|
88
|
+
'updatedBy': string;
|
|
77
89
|
}
|
|
78
90
|
|
|
@@ -68,5 +68,17 @@ export interface PartnerRelationTypeClass {
|
|
|
68
68
|
* @memberof PartnerRelationTypeClass
|
|
69
69
|
*/
|
|
70
70
|
'updatedAt': string;
|
|
71
|
+
/**
|
|
72
|
+
* Identifier of the user who created the record.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof PartnerRelationTypeClass
|
|
75
|
+
*/
|
|
76
|
+
'createdBy': string;
|
|
77
|
+
/**
|
|
78
|
+
* Identifier of the user who last updated the record.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof PartnerRelationTypeClass
|
|
81
|
+
*/
|
|
82
|
+
'updatedBy': string;
|
|
71
83
|
}
|
|
72
84
|
|
|
@@ -68,6 +68,18 @@ export interface PartnerTypeClass {
|
|
|
68
68
|
* @memberof PartnerTypeClass
|
|
69
69
|
*/
|
|
70
70
|
'updatedAt': string;
|
|
71
|
+
/**
|
|
72
|
+
* Identifier of the user who created the record.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof PartnerTypeClass
|
|
75
|
+
*/
|
|
76
|
+
'createdBy': string;
|
|
77
|
+
/**
|
|
78
|
+
* Identifier of the user who last updated the record.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof PartnerTypeClass
|
|
81
|
+
*/
|
|
82
|
+
'updatedBy': string;
|
|
71
83
|
}
|
|
72
84
|
|
|
73
85
|
export const PartnerTypeClassSlugEnum = {
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL PartnerService
|
|
5
|
+
* The EMIL PartnerService 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 PermissionClass
|
|
21
|
+
*/
|
|
22
|
+
export interface PermissionClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof PermissionClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the object.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PermissionClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* Permission module.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof PermissionClass
|
|
39
|
+
*/
|
|
40
|
+
'module': string;
|
|
41
|
+
/**
|
|
42
|
+
* Permission entity.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PermissionClass
|
|
45
|
+
*/
|
|
46
|
+
'entity': string;
|
|
47
|
+
/**
|
|
48
|
+
* Permission action.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof PermissionClass
|
|
51
|
+
*/
|
|
52
|
+
'action': string;
|
|
53
|
+
/**
|
|
54
|
+
* Time at which the object was created.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof PermissionClass
|
|
57
|
+
*/
|
|
58
|
+
'createdAt': string;
|
|
59
|
+
/**
|
|
60
|
+
* Time at which the object was updated.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof PermissionClass
|
|
63
|
+
*/
|
|
64
|
+
'updatedAt': string;
|
|
65
|
+
/**
|
|
66
|
+
* Identifier of the user who created the record.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof PermissionClass
|
|
69
|
+
*/
|
|
70
|
+
'createdBy': string;
|
|
71
|
+
/**
|
|
72
|
+
* Identifier of the user who last updated the record.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof PermissionClass
|
|
75
|
+
*/
|
|
76
|
+
'updatedBy': string;
|
|
77
|
+
}
|
|
78
|
+
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL PartnerService
|
|
5
|
+
* The EMIL PartnerService 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 { PermissionClass } from './permission-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface RoleClass
|
|
22
|
+
*/
|
|
23
|
+
export interface RoleClass {
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for the object.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RoleClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof RoleClass
|
|
34
|
+
*/
|
|
35
|
+
'id': number;
|
|
36
|
+
/**
|
|
37
|
+
* Short description of the role.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof RoleClass
|
|
40
|
+
*/
|
|
41
|
+
'description': string;
|
|
42
|
+
/**
|
|
43
|
+
* Role label.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof RoleClass
|
|
46
|
+
*/
|
|
47
|
+
'label': string;
|
|
48
|
+
/**
|
|
49
|
+
* Permissions associated with the role.
|
|
50
|
+
* @type {Array<PermissionClass>}
|
|
51
|
+
* @memberof RoleClass
|
|
52
|
+
*/
|
|
53
|
+
'permissions': Array<PermissionClass>;
|
|
54
|
+
/**
|
|
55
|
+
* Time at which the object was created.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof RoleClass
|
|
58
|
+
*/
|
|
59
|
+
'createdAt': string;
|
|
60
|
+
/**
|
|
61
|
+
* Time at which the object was updated.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof RoleClass
|
|
64
|
+
*/
|
|
65
|
+
'updatedAt': string;
|
|
66
|
+
/**
|
|
67
|
+
* Identifier of the user who created the record.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof RoleClass
|
|
70
|
+
*/
|
|
71
|
+
'createdBy': string;
|
|
72
|
+
/**
|
|
73
|
+
* Identifier of the user who last updated the record.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof RoleClass
|
|
76
|
+
*/
|
|
77
|
+
'updatedBy': string;
|
|
78
|
+
}
|
|
79
|
+
|
package/models/tag-class.ts
CHANGED
|
@@ -56,5 +56,17 @@ export interface TagClass {
|
|
|
56
56
|
* @memberof TagClass
|
|
57
57
|
*/
|
|
58
58
|
'updatedAt': string;
|
|
59
|
+
/**
|
|
60
|
+
* Identifier of the user who created the record.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof TagClass
|
|
63
|
+
*/
|
|
64
|
+
'createdBy': string;
|
|
65
|
+
/**
|
|
66
|
+
* Identifier of the user who last updated the record.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof TagClass
|
|
69
|
+
*/
|
|
70
|
+
'updatedBy': string;
|
|
59
71
|
}
|
|
60
72
|
|
|
@@ -22,7 +22,7 @@ import { PartnerTypeClass } from './partner-type-class';
|
|
|
22
22
|
*/
|
|
23
23
|
export interface UpdatePartnerTypeResponseClass {
|
|
24
24
|
/**
|
|
25
|
-
* The
|
|
25
|
+
* The partner type response.
|
|
26
26
|
* @type {PartnerTypeClass}
|
|
27
27
|
* @memberof UpdatePartnerTypeResponseClass
|
|
28
28
|
*/
|