@emilgroup/partner-sdk 1.6.1-beta.0 → 1.6.1-beta.2
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 +1 -0
- package/README.md +2 -2
- package/dist/models/create-partner-request-dto.d.ts +1 -1
- 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 +1 -0
- package/dist/models/index.js +1 -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/update-partner-type-request-dto.d.ts +3 -2
- package/models/create-partner-request-dto.ts +1 -1
- package/models/create-partner-type-request-dto.ts +3 -2
- package/models/create-tag-request-dto.ts +1 -1
- package/models/index.ts +1 -0
- package/models/partner-type-custom-schema-dto.ts +108 -0
- package/models/update-partner-type-request-dto.ts +3 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
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/partner-sdk@1.6.1-beta.
|
|
20
|
+
npm install @emilgroup/partner-sdk@1.6.1-beta.2 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/partner-sdk@1.6.1-beta.
|
|
24
|
+
yarn add @emilgroup/partner-sdk@1.6.1-beta.2
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PartnersApi`.
|
|
@@ -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 CreatePartnerTypeRequestDto {
|
|
|
29
30
|
'slug': CreatePartnerTypeRequestDtoSlugEnum;
|
|
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 CreatePartnerTypeRequestDto
|
|
34
35
|
*/
|
|
35
|
-
'schemas': Array<
|
|
36
|
+
'schemas': Array<PartnerTypeCustomSchemaDto>;
|
|
36
37
|
}
|
|
37
38
|
export declare const CreatePartnerTypeRequestDtoSlugEnum: {
|
|
38
39
|
readonly Person: "person";
|
package/dist/models/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export * from './partner-class';
|
|
|
28
28
|
export * from './partner-relation-class';
|
|
29
29
|
export * from './partner-relation-type-class';
|
|
30
30
|
export * from './partner-type-class';
|
|
31
|
+
export * from './partner-type-custom-schema-dto';
|
|
31
32
|
export * from './permission-class';
|
|
32
33
|
export * from './role-class';
|
|
33
34
|
export * from './tag-class';
|
package/dist/models/index.js
CHANGED
|
@@ -44,6 +44,7 @@ __exportStar(require("./partner-class"), exports);
|
|
|
44
44
|
__exportStar(require("./partner-relation-class"), exports);
|
|
45
45
|
__exportStar(require("./partner-relation-type-class"), exports);
|
|
46
46
|
__exportStar(require("./partner-type-class"), exports);
|
|
47
|
+
__exportStar(require("./partner-type-custom-schema-dto"), exports);
|
|
47
48
|
__exportStar(require("./permission-class"), exports);
|
|
48
49
|
__exportStar(require("./role-class"), exports);
|
|
49
50
|
__exportStar(require("./tag-class"), exports);
|
|
@@ -0,0 +1,102 @@
|
|
|
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 PartnerTypeCustomSchemaDto
|
|
16
|
+
*/
|
|
17
|
+
export interface PartnerTypeCustomSchemaDto {
|
|
18
|
+
/**
|
|
19
|
+
* The name of the schema property - should be camelCase.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
22
|
+
*/
|
|
23
|
+
'name': string;
|
|
24
|
+
/**
|
|
25
|
+
* The type of the schema property.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
28
|
+
*/
|
|
29
|
+
'type': string;
|
|
30
|
+
/**
|
|
31
|
+
* A boolean value to state if the property is required or not.
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
34
|
+
*/
|
|
35
|
+
'isRequired': boolean;
|
|
36
|
+
/**
|
|
37
|
+
* 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.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
40
|
+
*/
|
|
41
|
+
'label'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Minimum value of the property value. Applicable only if the property is a number type.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
46
|
+
*/
|
|
47
|
+
'minimum'?: number;
|
|
48
|
+
/**
|
|
49
|
+
* Maxium value of the property value. Applicable only if the property is a number type.
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
52
|
+
*/
|
|
53
|
+
'maximum'?: number;
|
|
54
|
+
/**
|
|
55
|
+
* Minimum character length of the property value. Applicable only if the property is a string type.
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
58
|
+
*/
|
|
59
|
+
'minLength'?: number;
|
|
60
|
+
/**
|
|
61
|
+
* Maximum character length of the property value. Applicable only if the property is a string type.
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
64
|
+
*/
|
|
65
|
+
'maxLength'?: number;
|
|
66
|
+
/**
|
|
67
|
+
* Possible options to select
|
|
68
|
+
* @type {object}
|
|
69
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
70
|
+
*/
|
|
71
|
+
'options'?: object;
|
|
72
|
+
/**
|
|
73
|
+
* The minimum number of items allowed for array fields.
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
76
|
+
*/
|
|
77
|
+
'minItems'?: number;
|
|
78
|
+
/**
|
|
79
|
+
* The maximum number of items allowed for array fields.
|
|
80
|
+
* @type {number}
|
|
81
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
82
|
+
*/
|
|
83
|
+
'maxItems'?: number;
|
|
84
|
+
/**
|
|
85
|
+
* Defines the structure of items for array fields.
|
|
86
|
+
* @type {PartnerTypeCustomSchemaDto}
|
|
87
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
88
|
+
*/
|
|
89
|
+
'items'?: PartnerTypeCustomSchemaDto;
|
|
90
|
+
/**
|
|
91
|
+
* Defines the properties for object fields.
|
|
92
|
+
* @type {object}
|
|
93
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
94
|
+
*/
|
|
95
|
+
'properties'?: object;
|
|
96
|
+
/**
|
|
97
|
+
* Defines the regex expression for string field.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
100
|
+
*/
|
|
101
|
+
'regexExpression'?: string;
|
|
102
|
+
}
|
|
@@ -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 { 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
|
@@ -28,6 +28,7 @@ export * from './partner-class';
|
|
|
28
28
|
export * from './partner-relation-class';
|
|
29
29
|
export * from './partner-relation-type-class';
|
|
30
30
|
export * from './partner-type-class';
|
|
31
|
+
export * from './partner-type-custom-schema-dto';
|
|
31
32
|
export * from './permission-class';
|
|
32
33
|
export * from './role-class';
|
|
33
34
|
export * from './tag-class';
|
|
@@ -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
|
+
|
|
@@ -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 UpdatePartnerTypeRequestDto {
|
|
|
34
35
|
'slug': UpdatePartnerTypeRequestDtoSlugEnum;
|
|
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 UpdatePartnerTypeRequestDto
|
|
39
40
|
*/
|
|
40
|
-
'schemas': Array<
|
|
41
|
+
'schemas': Array<PartnerTypeCustomSchemaDto>;
|
|
41
42
|
}
|
|
42
43
|
|
|
43
44
|
export const UpdatePartnerTypeRequestDtoSlugEnum = {
|