@emilgroup/partner-sdk 1.1.0 → 1.3.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 +14 -1
- package/README.md +2 -2
- package/api/default-api.ts +8 -4
- package/api/partner-relations-api.ts +638 -19
- package/api/partner-tags-api.ts +662 -0
- package/api/partner-version-api.ts +31 -31
- package/api/partners-api.ts +118 -0
- package/api.ts +2 -0
- package/base.ts +5 -1
- package/dist/api/default-api.d.ts +8 -4
- package/dist/api/default-api.js +8 -4
- package/dist/api/partner-relations-api.d.ts +360 -16
- package/dist/api/partner-relations-api.js +513 -8
- package/dist/api/partner-tags-api.d.ts +375 -0
- package/dist/api/partner-tags-api.js +629 -0
- package/dist/api/partner-version-api.d.ts +31 -31
- package/dist/api/partner-version-api.js +16 -16
- package/dist/api/partners-api.d.ts +65 -0
- package/dist/api/partners-api.js +99 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/base.d.ts +1 -0
- package/dist/base.js +4 -1
- package/dist/models/create-partner-relation-request-dto-rest.d.ts +65 -0
- package/dist/models/create-partner-relation-request-dto-rest.js +26 -0
- package/dist/models/create-partner-relation-response-class.d.ts +25 -0
- package/dist/models/create-partner-type-request-dto.d.ts +13 -3
- package/dist/models/create-partner-type-request-dto.js +5 -0
- package/dist/models/create-tag-request-dto.d.ts +36 -0
- package/dist/models/create-tag-request-dto.js +15 -0
- package/dist/models/create-tag-response-class.d.ts +25 -0
- package/dist/models/create-tag-response-class.js +15 -0
- package/dist/models/get-partner-relation-class.d.ts +25 -0
- package/dist/models/get-partner-relation-class.js +15 -0
- package/dist/models/get-tag-response-class.d.ts +25 -0
- package/dist/models/get-tag-response-class.js +15 -0
- package/dist/models/index.d.ts +13 -1
- package/dist/models/index.js +13 -1
- package/dist/models/list-partner-relation-class.d.ts +31 -0
- package/dist/models/list-partner-relation-class.js +15 -0
- package/dist/models/list-tags-response-class.d.ts +31 -0
- package/dist/models/list-tags-response-class.js +15 -0
- package/dist/models/partner-class.d.ts +6 -0
- package/dist/models/partner-relation-class.d.ts +72 -0
- package/dist/models/partner-relation-class.js +15 -0
- package/dist/models/partner-type-class.d.ts +11 -0
- package/dist/models/partner-type-class.js +5 -0
- package/dist/models/tag-class.d.ts +54 -0
- package/dist/models/tag-class.js +15 -0
- package/dist/models/tag-partner-request-dto-rest.d.ts +24 -0
- package/dist/models/tag-partner-request-dto-rest.js +15 -0
- package/dist/models/update-partner-relation-request-dto-rest.d.ts +36 -0
- package/dist/models/update-partner-relation-request-dto-rest.js +15 -0
- package/dist/models/update-partner-type-request-dto.d.ts +14 -4
- package/dist/models/update-partner-type-request-dto.js +5 -0
- package/dist/models/update-tag-response-class.d.ts +25 -0
- package/dist/models/update-tag-response-class.js +15 -0
- package/models/create-partner-relation-request-dto-rest.ts +74 -0
- package/models/create-partner-relation-response-class.ts +31 -0
- package/models/create-partner-type-request-dto.ts +16 -3
- package/models/create-tag-request-dto.ts +42 -0
- package/models/create-tag-response-class.ts +31 -0
- package/models/get-partner-relation-class.ts +31 -0
- package/models/get-tag-response-class.ts +31 -0
- package/models/index.ts +13 -1
- package/models/list-partner-relation-class.ts +37 -0
- package/models/list-tags-response-class.ts +37 -0
- package/models/partner-class.ts +6 -0
- package/models/partner-relation-class.ts +78 -0
- package/models/partner-type-class.ts +14 -0
- package/models/tag-class.ts +60 -0
- package/models/tag-partner-request-dto-rest.ts +30 -0
- package/models/update-partner-relation-request-dto-rest.ts +42 -0
- package/models/update-partner-type-request-dto.ts +17 -4
- package/models/update-tag-response-class.ts +31 -0
- package/package.json +1 -1
- package/dist/models/partner-type-custom-schema-dto.d.ts +0 -66
- package/models/partner-type-custom-schema-dto.ts +0 -72
- /package/dist/models/{partner-type-custom-schema-dto.js → create-partner-relation-response-class.js} +0 -0
|
@@ -0,0 +1,36 @@
|
|
|
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 UpdatePartnerRelationRequestDtoRest
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdatePartnerRelationRequestDtoRest {
|
|
18
|
+
/**
|
|
19
|
+
* The start datetime of the relationship, provided in ISO 8601 format
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdatePartnerRelationRequestDtoRest
|
|
22
|
+
*/
|
|
23
|
+
'startDate'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The end datetime of the relationship, provided in ISO 8601 format
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdatePartnerRelationRequestDtoRest
|
|
28
|
+
*/
|
|
29
|
+
'endDate'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* A note about the relationship, provided as a string
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdatePartnerRelationRequestDtoRest
|
|
34
|
+
*/
|
|
35
|
+
'note'?: string;
|
|
36
|
+
}
|
|
@@ -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,7 +9,6 @@
|
|
|
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';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
@@ -23,9 +22,20 @@ export interface UpdatePartnerTypeRequestDto {
|
|
|
23
22
|
*/
|
|
24
23
|
'name': string;
|
|
25
24
|
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {
|
|
25
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdatePartnerTypeRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'slug': UpdatePartnerTypeRequestDtoSlugEnum;
|
|
30
|
+
/**
|
|
31
|
+
* The partner type schema array of object based on json schema.
|
|
32
|
+
* @type {Array<string>}
|
|
28
33
|
* @memberof UpdatePartnerTypeRequestDto
|
|
29
34
|
*/
|
|
30
|
-
'schemas': Array<
|
|
35
|
+
'schemas': Array<string>;
|
|
31
36
|
}
|
|
37
|
+
export declare const UpdatePartnerTypeRequestDtoSlugEnum: {
|
|
38
|
+
readonly Person: "person";
|
|
39
|
+
readonly Organization: "organization";
|
|
40
|
+
};
|
|
41
|
+
export type UpdatePartnerTypeRequestDtoSlugEnum = typeof UpdatePartnerTypeRequestDtoSlugEnum[keyof typeof UpdatePartnerTypeRequestDtoSlugEnum];
|
|
@@ -13,3 +13,8 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UpdatePartnerTypeRequestDtoSlugEnum = void 0;
|
|
17
|
+
exports.UpdatePartnerTypeRequestDtoSlugEnum = {
|
|
18
|
+
Person: 'person',
|
|
19
|
+
Organization: 'organization'
|
|
20
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { TagClass } from './tag-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdateTagResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateTagResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The tag response.
|
|
21
|
+
* @type {TagClass}
|
|
22
|
+
* @memberof UpdateTagResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'tag': TagClass;
|
|
25
|
+
}
|
|
@@ -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,74 @@
|
|
|
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 CreatePartnerRelationRequestDtoRest
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePartnerRelationRequestDtoRest {
|
|
23
|
+
/**
|
|
24
|
+
* The ID of the first partner in the relationship
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof CreatePartnerRelationRequestDtoRest
|
|
27
|
+
*/
|
|
28
|
+
'partner1Id': number;
|
|
29
|
+
/**
|
|
30
|
+
* The ID of the second partner in the relationship
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof CreatePartnerRelationRequestDtoRest
|
|
33
|
+
*/
|
|
34
|
+
'partner2Id': number;
|
|
35
|
+
/**
|
|
36
|
+
* The slug of the partner relation type
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreatePartnerRelationRequestDtoRest
|
|
39
|
+
*/
|
|
40
|
+
'relationTypeSlug': CreatePartnerRelationRequestDtoRestRelationTypeSlugEnum;
|
|
41
|
+
/**
|
|
42
|
+
* The start datetime of the relationship, provided in ISO 8601 format
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreatePartnerRelationRequestDtoRest
|
|
45
|
+
*/
|
|
46
|
+
'startDate': string;
|
|
47
|
+
/**
|
|
48
|
+
* The end datetime of the relationship, provided in ISO 8601 format
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreatePartnerRelationRequestDtoRest
|
|
51
|
+
*/
|
|
52
|
+
'endDate': string;
|
|
53
|
+
/**
|
|
54
|
+
* A note about the relationship, provided as a string
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreatePartnerRelationRequestDtoRest
|
|
57
|
+
*/
|
|
58
|
+
'note': string;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export const CreatePartnerRelationRequestDtoRestRelationTypeSlugEnum = {
|
|
62
|
+
Parent: 'parent',
|
|
63
|
+
Sibling: 'sibling',
|
|
64
|
+
Married: 'married',
|
|
65
|
+
ManagingDirector: 'managing_director',
|
|
66
|
+
Subsidiary: 'subsidiary',
|
|
67
|
+
SubAgent: 'sub-agent',
|
|
68
|
+
Employee: 'employee',
|
|
69
|
+
Other: 'other'
|
|
70
|
+
} as const;
|
|
71
|
+
|
|
72
|
+
export type CreatePartnerRelationRequestDtoRestRelationTypeSlugEnum = typeof CreatePartnerRelationRequestDtoRestRelationTypeSlugEnum[keyof typeof CreatePartnerRelationRequestDtoRestRelationTypeSlugEnum];
|
|
73
|
+
|
|
74
|
+
|
|
@@ -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 { PartnerRelationClass } from './partner-relation-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreatePartnerRelationResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreatePartnerRelationResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The partner relation response.
|
|
26
|
+
* @type {PartnerRelationClass}
|
|
27
|
+
* @memberof CreatePartnerRelationResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'partnerRelation': PartnerRelationClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
import { PartnerTypeCustomSchemaDto } from './partner-type-custom-schema-dto';
|
|
17
16
|
|
|
18
17
|
/**
|
|
19
18
|
*
|
|
@@ -27,11 +26,25 @@ export interface CreatePartnerTypeRequestDto {
|
|
|
27
26
|
* @memberof CreatePartnerTypeRequestDto
|
|
28
27
|
*/
|
|
29
28
|
'name': string;
|
|
29
|
+
/**
|
|
30
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreatePartnerTypeRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'slug': CreatePartnerTypeRequestDtoSlugEnum;
|
|
30
35
|
/**
|
|
31
36
|
* The partner type schema array of object based on json schema.
|
|
32
|
-
* @type {Array<
|
|
37
|
+
* @type {Array<string>}
|
|
33
38
|
* @memberof CreatePartnerTypeRequestDto
|
|
34
39
|
*/
|
|
35
|
-
'schemas': Array<
|
|
40
|
+
'schemas': Array<string>;
|
|
36
41
|
}
|
|
37
42
|
|
|
43
|
+
export const CreatePartnerTypeRequestDtoSlugEnum = {
|
|
44
|
+
Person: 'person',
|
|
45
|
+
Organization: 'organization'
|
|
46
|
+
} as const;
|
|
47
|
+
|
|
48
|
+
export type CreatePartnerTypeRequestDtoSlugEnum = typeof CreatePartnerTypeRequestDtoSlugEnum[keyof typeof CreatePartnerTypeRequestDtoSlugEnum];
|
|
49
|
+
|
|
50
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
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 CreateTagRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateTagRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateTagRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'slug': string;
|
|
29
|
+
/**
|
|
30
|
+
* A label for the tag - can be used for display purposes and localization
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateTagRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'label': string;
|
|
35
|
+
/**
|
|
36
|
+
* A short description for the tag
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreateTagRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'description': string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -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 { TagClass } from './tag-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateTagResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateTagResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The tag response.
|
|
26
|
+
* @type {TagClass}
|
|
27
|
+
* @memberof CreateTagResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'tag': TagClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -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 { PartnerRelationClass } from './partner-relation-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetPartnerRelationClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetPartnerRelationClass {
|
|
24
|
+
/**
|
|
25
|
+
* The partner relation response.
|
|
26
|
+
* @type {PartnerRelationClass}
|
|
27
|
+
* @memberof GetPartnerRelationClass
|
|
28
|
+
*/
|
|
29
|
+
'partnerRelation': PartnerRelationClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -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 { TagClass } from './tag-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetTagResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetTagResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The tag response.
|
|
26
|
+
* @type {TagClass}
|
|
27
|
+
* @memberof GetTagResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'tag': TagClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -1,23 +1,35 @@
|
|
|
1
|
+
export * from './create-partner-relation-request-dto-rest';
|
|
2
|
+
export * from './create-partner-relation-response-class';
|
|
1
3
|
export * from './create-partner-request-dto';
|
|
2
4
|
export * from './create-partner-response-class';
|
|
3
5
|
export * from './create-partner-type-request-dto';
|
|
4
6
|
export * from './create-partner-type-response-class';
|
|
7
|
+
export * from './create-tag-request-dto';
|
|
8
|
+
export * from './create-tag-response-class';
|
|
5
9
|
export * from './delete-response-class';
|
|
10
|
+
export * from './get-partner-relation-class';
|
|
6
11
|
export * from './get-partner-relation-type-class';
|
|
7
12
|
export * from './get-partner-response-class';
|
|
8
13
|
export * from './get-partner-type-response-class';
|
|
9
14
|
export * from './get-partner-version-response-class';
|
|
15
|
+
export * from './get-tag-response-class';
|
|
10
16
|
export * from './inline-response200';
|
|
11
17
|
export * from './inline-response503';
|
|
18
|
+
export * from './list-partner-relation-class';
|
|
12
19
|
export * from './list-partner-relation-types-class';
|
|
13
20
|
export * from './list-partner-types-response-class';
|
|
14
21
|
export * from './list-partner-versions-response-class';
|
|
15
22
|
export * from './list-partners-response-class';
|
|
23
|
+
export * from './list-tags-response-class';
|
|
16
24
|
export * from './partner-class';
|
|
25
|
+
export * from './partner-relation-class';
|
|
17
26
|
export * from './partner-relation-type-class';
|
|
18
27
|
export * from './partner-type-class';
|
|
19
|
-
export * from './
|
|
28
|
+
export * from './tag-class';
|
|
29
|
+
export * from './tag-partner-request-dto-rest';
|
|
30
|
+
export * from './update-partner-relation-request-dto-rest';
|
|
20
31
|
export * from './update-partner-request-dto';
|
|
21
32
|
export * from './update-partner-response-class';
|
|
22
33
|
export * from './update-partner-type-request-dto';
|
|
23
34
|
export * from './update-partner-type-response-class';
|
|
35
|
+
export * from './update-tag-response-class';
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { PartnerRelationClass } from './partner-relation-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListPartnerRelationClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListPartnerRelationClass {
|
|
24
|
+
/**
|
|
25
|
+
* The list of partner relationss.
|
|
26
|
+
* @type {Array<PartnerRelationClass>}
|
|
27
|
+
* @memberof ListPartnerRelationClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<PartnerRelationClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListPartnerRelationClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { TagClass } from './tag-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListTagsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListTagsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The list of partner tagss.
|
|
26
|
+
* @type {Array<TagClass>}
|
|
27
|
+
* @memberof ListTagsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<TagClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListTagsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
}
|
|
37
|
+
|
package/models/partner-class.ts
CHANGED
|
@@ -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 PartnerRelationClass
|
|
21
|
+
*/
|
|
22
|
+
export interface PartnerRelationClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof PartnerRelationClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof PartnerRelationClass
|
|
33
|
+
*/
|
|
34
|
+
'partner1Id': number;
|
|
35
|
+
/**
|
|
36
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof PartnerRelationClass
|
|
39
|
+
*/
|
|
40
|
+
'partner2Id': number;
|
|
41
|
+
/**
|
|
42
|
+
* Relation type slug to identify the type of the relation
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PartnerRelationClass
|
|
45
|
+
*/
|
|
46
|
+
'partnerRelationTypeSlug': string;
|
|
47
|
+
/**
|
|
48
|
+
* Starting date of the relation - will default to current time if not provided
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof PartnerRelationClass
|
|
51
|
+
*/
|
|
52
|
+
'startDate': string;
|
|
53
|
+
/**
|
|
54
|
+
* Ending date of the relation - if not provided, the relation is considered active
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof PartnerRelationClass
|
|
57
|
+
*/
|
|
58
|
+
'endDate': string;
|
|
59
|
+
/**
|
|
60
|
+
* Any additional notes for the relation
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof PartnerRelationClass
|
|
63
|
+
*/
|
|
64
|
+
'note': string;
|
|
65
|
+
/**
|
|
66
|
+
* Time at which the object was created.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof PartnerRelationClass
|
|
69
|
+
*/
|
|
70
|
+
'createdAt': string;
|
|
71
|
+
/**
|
|
72
|
+
* Time at which the object was updated.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof PartnerRelationClass
|
|
75
|
+
*/
|
|
76
|
+
'updatedAt': string;
|
|
77
|
+
}
|
|
78
|
+
|
|
@@ -38,6 +38,12 @@ export interface PartnerTypeClass {
|
|
|
38
38
|
* @memberof PartnerTypeClass
|
|
39
39
|
*/
|
|
40
40
|
'name': string;
|
|
41
|
+
/**
|
|
42
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PartnerTypeClass
|
|
45
|
+
*/
|
|
46
|
+
'slug': PartnerTypeClassSlugEnum;
|
|
41
47
|
/**
|
|
42
48
|
* The partner type schema object based on json schema.
|
|
43
49
|
* @type {object}
|
|
@@ -64,3 +70,11 @@ export interface PartnerTypeClass {
|
|
|
64
70
|
'updatedAt': string;
|
|
65
71
|
}
|
|
66
72
|
|
|
73
|
+
export const PartnerTypeClassSlugEnum = {
|
|
74
|
+
Person: 'person',
|
|
75
|
+
Organization: 'organization'
|
|
76
|
+
} as const;
|
|
77
|
+
|
|
78
|
+
export type PartnerTypeClassSlugEnum = typeof PartnerTypeClassSlugEnum[keyof typeof PartnerTypeClassSlugEnum];
|
|
79
|
+
|
|
80
|
+
|