@emilgroup/partner-sdk 1.6.0 → 1.6.1-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 +11 -4
- package/README.md +2 -2
- package/api/{partners-api.ts → partner-api.ts} +82 -82
- package/api/partner-invitation-api.ts +165 -0
- package/api/{partner-relations-api.ts → partner-relation-api.ts} +91 -91
- package/api/{partner-tags-api.ts → partner-tag-api.ts} +66 -66
- package/api/{partner-types-api.ts → partner-type-api.ts} +64 -64
- package/api.ts +10 -8
- package/dist/api/{partners-api.d.ts → partner-api.d.ts} +74 -74
- package/dist/api/{partners-api.js → partner-api.js} +49 -49
- 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} +82 -82
- package/dist/api/{partner-relations-api.js → partner-relation-api.js} +50 -50
- package/dist/api/{partner-tags-api.d.ts → partner-tag-api.d.ts} +59 -59
- package/dist/api/{partner-tags-api.js → partner-tag-api.js} +42 -42
- package/dist/api/{partner-types-api.d.ts → partner-type-api.d.ts} +57 -57
- package/dist/api/{partner-types-api.js → partner-type-api.js} +39 -39
- package/dist/api.d.ts +5 -4
- package/dist/api.js +5 -4
- package/dist/models/create-partner-request-dto.d.ts +1 -1
- package/dist/models/create-partner-response-class.d.ts +7 -0
- package/dist/models/create-partner-type-request-dto.d.ts +3 -2
- package/dist/models/create-tag-request-dto.d.ts +1 -1
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -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/partner-class.d.ts +6 -0
- package/dist/models/partner-type-custom-schema-dto.d.ts +102 -0
- package/dist/models/partner-type-custom-schema-dto.js +15 -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/update-partner-type-request-dto.d.ts +3 -2
- package/models/create-partner-request-dto.ts +1 -1
- package/models/create-partner-response-class.ts +7 -0
- package/models/create-partner-type-request-dto.ts +3 -2
- package/models/create-tag-request-dto.ts +1 -1
- package/models/index.ts +6 -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/partner-class.ts +6 -0
- package/models/partner-type-custom-schema-dto.ts +108 -0
- package/models/permission-class.ts +78 -0
- package/models/role-class.ts +79 -0
- package/models/update-partner-type-request-dto.ts +3 -2
- package/package.json +1 -1
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL PartnerService
|
|
3
|
+
* The EMIL PartnerService 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 PermissionClass
|
|
16
|
+
*/
|
|
17
|
+
export interface PermissionClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PermissionClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for the object.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PermissionClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* Permission module.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PermissionClass
|
|
34
|
+
*/
|
|
35
|
+
'module': string;
|
|
36
|
+
/**
|
|
37
|
+
* Permission entity.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PermissionClass
|
|
40
|
+
*/
|
|
41
|
+
'entity': string;
|
|
42
|
+
/**
|
|
43
|
+
* Permission action.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PermissionClass
|
|
46
|
+
*/
|
|
47
|
+
'action': string;
|
|
48
|
+
/**
|
|
49
|
+
* Time at which the object was created.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PermissionClass
|
|
52
|
+
*/
|
|
53
|
+
'createdAt': string;
|
|
54
|
+
/**
|
|
55
|
+
* Time at which the object was updated.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PermissionClass
|
|
58
|
+
*/
|
|
59
|
+
'updatedAt': string;
|
|
60
|
+
/**
|
|
61
|
+
* Identifier of the user who created the record.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PermissionClass
|
|
64
|
+
*/
|
|
65
|
+
'createdBy': string;
|
|
66
|
+
/**
|
|
67
|
+
* Identifier of the user who last updated the record.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof PermissionClass
|
|
70
|
+
*/
|
|
71
|
+
'updatedBy': string;
|
|
72
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL PartnerService
|
|
6
|
+
* The EMIL PartnerService 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 });
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL PartnerService
|
|
3
|
+
* The EMIL PartnerService 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 { PermissionClass } from './permission-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface RoleClass
|
|
17
|
+
*/
|
|
18
|
+
export interface RoleClass {
|
|
19
|
+
/**
|
|
20
|
+
* Unique identifier for the object.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof RoleClass
|
|
23
|
+
*/
|
|
24
|
+
'code': string;
|
|
25
|
+
/**
|
|
26
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof RoleClass
|
|
29
|
+
*/
|
|
30
|
+
'id': number;
|
|
31
|
+
/**
|
|
32
|
+
* Short description of the role.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof RoleClass
|
|
35
|
+
*/
|
|
36
|
+
'description': string;
|
|
37
|
+
/**
|
|
38
|
+
* Role label.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof RoleClass
|
|
41
|
+
*/
|
|
42
|
+
'label': string;
|
|
43
|
+
/**
|
|
44
|
+
* Permissions associated with the role.
|
|
45
|
+
* @type {Array<PermissionClass>}
|
|
46
|
+
* @memberof RoleClass
|
|
47
|
+
*/
|
|
48
|
+
'permissions': Array<PermissionClass>;
|
|
49
|
+
/**
|
|
50
|
+
* Time at which the object was created.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof RoleClass
|
|
53
|
+
*/
|
|
54
|
+
'createdAt': string;
|
|
55
|
+
/**
|
|
56
|
+
* Time at which the object was updated.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof RoleClass
|
|
59
|
+
*/
|
|
60
|
+
'updatedAt': string;
|
|
61
|
+
/**
|
|
62
|
+
* Identifier of the user who created the record.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof RoleClass
|
|
65
|
+
*/
|
|
66
|
+
'createdBy': string;
|
|
67
|
+
/**
|
|
68
|
+
* Identifier of the user who last updated the record.
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof RoleClass
|
|
71
|
+
*/
|
|
72
|
+
'updatedBy': string;
|
|
73
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL PartnerService
|
|
6
|
+
* The EMIL PartnerService 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 });
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { PartnerTypeCustomSchemaDto } from './partner-type-custom-schema-dto';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -29,10 +30,10 @@ export interface UpdatePartnerTypeRequestDto {
|
|
|
29
30
|
'slug': UpdatePartnerTypeRequestDtoSlugEnum;
|
|
30
31
|
/**
|
|
31
32
|
* The partner type schema array of object based on json schema.
|
|
32
|
-
* @type {Array<
|
|
33
|
+
* @type {Array<PartnerTypeCustomSchemaDto>}
|
|
33
34
|
* @memberof UpdatePartnerTypeRequestDto
|
|
34
35
|
*/
|
|
35
|
-
'schemas': Array<
|
|
36
|
+
'schemas': Array<PartnerTypeCustomSchemaDto>;
|
|
36
37
|
}
|
|
37
38
|
export declare const UpdatePartnerTypeRequestDtoSlugEnum: {
|
|
38
39
|
readonly Person: "person";
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { InviteClass } from './invite-class';
|
|
16
17
|
import { PartnerClass } from './partner-class';
|
|
17
18
|
|
|
18
19
|
/**
|
|
@@ -27,5 +28,11 @@ export interface CreatePartnerResponseClass {
|
|
|
27
28
|
* @memberof CreatePartnerResponseClass
|
|
28
29
|
*/
|
|
29
30
|
'partner': PartnerClass;
|
|
31
|
+
/**
|
|
32
|
+
* The invite response.
|
|
33
|
+
* @type {InviteClass}
|
|
34
|
+
* @memberof CreatePartnerResponseClass
|
|
35
|
+
*/
|
|
36
|
+
'invite': InviteClass;
|
|
30
37
|
}
|
|
31
38
|
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { PartnerTypeCustomSchemaDto } from './partner-type-custom-schema-dto';
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
@@ -34,10 +35,10 @@ export interface CreatePartnerTypeRequestDto {
|
|
|
34
35
|
'slug': CreatePartnerTypeRequestDtoSlugEnum;
|
|
35
36
|
/**
|
|
36
37
|
* The partner type schema array of object based on json schema.
|
|
37
|
-
* @type {Array<
|
|
38
|
+
* @type {Array<PartnerTypeCustomSchemaDto>}
|
|
38
39
|
* @memberof CreatePartnerTypeRequestDto
|
|
39
40
|
*/
|
|
40
|
-
'schemas': Array<
|
|
41
|
+
'schemas': Array<PartnerTypeCustomSchemaDto>;
|
|
41
42
|
}
|
|
42
43
|
|
|
43
44
|
export const CreatePartnerTypeRequestDtoSlugEnum = {
|
package/models/index.ts
CHANGED
|
@@ -15,6 +15,9 @@ export * from './get-partner-version-response-class';
|
|
|
15
15
|
export * from './get-tag-response-class';
|
|
16
16
|
export * from './inline-response200';
|
|
17
17
|
export * from './inline-response503';
|
|
18
|
+
export * from './invite-class';
|
|
19
|
+
export * from './invite-partner-to-eisrequest-dto';
|
|
20
|
+
export * from './invite-partner-to-eis-response-class';
|
|
18
21
|
export * from './list-partner-relation-class';
|
|
19
22
|
export * from './list-partner-relation-types-class';
|
|
20
23
|
export * from './list-partner-types-response-class';
|
|
@@ -25,6 +28,9 @@ export * from './partner-class';
|
|
|
25
28
|
export * from './partner-relation-class';
|
|
26
29
|
export * from './partner-relation-type-class';
|
|
27
30
|
export * from './partner-type-class';
|
|
31
|
+
export * from './partner-type-custom-schema-dto';
|
|
32
|
+
export * from './permission-class';
|
|
33
|
+
export * from './role-class';
|
|
28
34
|
export * from './tag-class';
|
|
29
35
|
export * from './tag-partner-request-dto-rest';
|
|
30
36
|
export * from './update-partner-relation-request-dto-rest';
|
|
@@ -0,0 +1,85 @@
|
|
|
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 { RoleClass } from './role-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface InviteClass
|
|
22
|
+
*/
|
|
23
|
+
export interface InviteClass {
|
|
24
|
+
/**
|
|
25
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof InviteClass
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
* User email address.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InviteClass
|
|
34
|
+
*/
|
|
35
|
+
'email': string;
|
|
36
|
+
/**
|
|
37
|
+
* Roles associated with the invite.
|
|
38
|
+
* @type {Array<RoleClass>}
|
|
39
|
+
* @memberof InviteClass
|
|
40
|
+
*/
|
|
41
|
+
'roles': Array<RoleClass>;
|
|
42
|
+
/**
|
|
43
|
+
* Expiry date of invitation email.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof InviteClass
|
|
46
|
+
*/
|
|
47
|
+
'expiresOn': string;
|
|
48
|
+
/**
|
|
49
|
+
* Time at which the object was created.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof InviteClass
|
|
52
|
+
*/
|
|
53
|
+
'createdAt': string;
|
|
54
|
+
/**
|
|
55
|
+
* Time at which the object was updated.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof InviteClass
|
|
58
|
+
*/
|
|
59
|
+
'updatedAt': string;
|
|
60
|
+
/**
|
|
61
|
+
* Identifier of the user who created the record.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof InviteClass
|
|
64
|
+
*/
|
|
65
|
+
'createdBy': string;
|
|
66
|
+
/**
|
|
67
|
+
* Identifier of the user who last updated the record.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof InviteClass
|
|
70
|
+
*/
|
|
71
|
+
'updatedBy': string;
|
|
72
|
+
/**
|
|
73
|
+
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof InviteClass
|
|
76
|
+
*/
|
|
77
|
+
'ern': string;
|
|
78
|
+
/**
|
|
79
|
+
* Optional metadata associated with the invite - useful for passing data to the front end for custom logic.
|
|
80
|
+
* @type {object}
|
|
81
|
+
* @memberof InviteClass
|
|
82
|
+
*/
|
|
83
|
+
'metadata': object;
|
|
84
|
+
}
|
|
85
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { InviteClass } from './invite-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface InvitePartnerToEisResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface InvitePartnerToEisResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The invite response.
|
|
26
|
+
* @type {InviteClass}
|
|
27
|
+
* @memberof InvitePartnerToEisResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'invite': InviteClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
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 InvitePartnerToEISRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface InvitePartnerToEISRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* The code of the partner that will be invited to EIS .
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof InvitePartnerToEISRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'partnerCode': string;
|
|
29
|
+
/**
|
|
30
|
+
* The email address of the partner to be invited to the EIS platform.This email address will be used to send the invitation link to the partner.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof InvitePartnerToEISRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'signupEmail': string;
|
|
35
|
+
/**
|
|
36
|
+
* The partner will be invited to the given organization id in the EIS platform. If the organiztion id is not provided, the partner will be invited to the root tenant.
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof InvitePartnerToEISRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'organizationId'?: number;
|
|
41
|
+
/**
|
|
42
|
+
* After signing up the invited partner will have the provided roles.
|
|
43
|
+
* @type {Array<number>}
|
|
44
|
+
* @memberof InvitePartnerToEISRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'roleIds': Array<number>;
|
|
47
|
+
}
|
|
48
|
+
|
package/models/partner-class.ts
CHANGED
|
@@ -81,6 +81,12 @@ export interface PartnerClass {
|
|
|
81
81
|
* @memberof PartnerClass
|
|
82
82
|
*/
|
|
83
83
|
'tags': Array<string>;
|
|
84
|
+
/**
|
|
85
|
+
* The user code of the partner
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof PartnerClass
|
|
88
|
+
*/
|
|
89
|
+
'tenantUserCode'?: string;
|
|
84
90
|
/**
|
|
85
91
|
* Identifier of the user who created the record.
|
|
86
92
|
* @type {string}
|
|
@@ -0,0 +1,108 @@
|
|
|
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 PartnerTypeCustomSchemaDto
|
|
21
|
+
*/
|
|
22
|
+
export interface PartnerTypeCustomSchemaDto {
|
|
23
|
+
/**
|
|
24
|
+
* The name of the schema property - should be camelCase.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
27
|
+
*/
|
|
28
|
+
'name': string;
|
|
29
|
+
/**
|
|
30
|
+
* The type of the schema property.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
33
|
+
*/
|
|
34
|
+
'type': string;
|
|
35
|
+
/**
|
|
36
|
+
* A boolean value to state if the property is required or not.
|
|
37
|
+
* @type {boolean}
|
|
38
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
39
|
+
*/
|
|
40
|
+
'isRequired': boolean;
|
|
41
|
+
/**
|
|
42
|
+
* The label of the schema property as it will be displayed in the UI. If no label is provided, the name will be used in its place.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
45
|
+
*/
|
|
46
|
+
'label'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Minimum value of the property value. Applicable only if the property is a number type.
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
51
|
+
*/
|
|
52
|
+
'minimum'?: number;
|
|
53
|
+
/**
|
|
54
|
+
* Maxium value of the property value. Applicable only if the property is a number type.
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
57
|
+
*/
|
|
58
|
+
'maximum'?: number;
|
|
59
|
+
/**
|
|
60
|
+
* Minimum character length of the property value. Applicable only if the property is a string type.
|
|
61
|
+
* @type {number}
|
|
62
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
63
|
+
*/
|
|
64
|
+
'minLength'?: number;
|
|
65
|
+
/**
|
|
66
|
+
* Maximum character length of the property value. Applicable only if the property is a string type.
|
|
67
|
+
* @type {number}
|
|
68
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
69
|
+
*/
|
|
70
|
+
'maxLength'?: number;
|
|
71
|
+
/**
|
|
72
|
+
* Possible options to select
|
|
73
|
+
* @type {object}
|
|
74
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
75
|
+
*/
|
|
76
|
+
'options'?: object;
|
|
77
|
+
/**
|
|
78
|
+
* The minimum number of items allowed for array fields.
|
|
79
|
+
* @type {number}
|
|
80
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
81
|
+
*/
|
|
82
|
+
'minItems'?: number;
|
|
83
|
+
/**
|
|
84
|
+
* The maximum number of items allowed for array fields.
|
|
85
|
+
* @type {number}
|
|
86
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
87
|
+
*/
|
|
88
|
+
'maxItems'?: number;
|
|
89
|
+
/**
|
|
90
|
+
* Defines the structure of items for array fields.
|
|
91
|
+
* @type {PartnerTypeCustomSchemaDto}
|
|
92
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
93
|
+
*/
|
|
94
|
+
'items'?: PartnerTypeCustomSchemaDto;
|
|
95
|
+
/**
|
|
96
|
+
* Defines the properties for object fields.
|
|
97
|
+
* @type {object}
|
|
98
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
99
|
+
*/
|
|
100
|
+
'properties'?: object;
|
|
101
|
+
/**
|
|
102
|
+
* Defines the regex expression for string field.
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
105
|
+
*/
|
|
106
|
+
'regexExpression'?: string;
|
|
107
|
+
}
|
|
108
|
+
|
|
@@ -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
|
+
|