@emilgroup/partner-sdk 1.0.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.
Files changed (85) hide show
  1. package/.openapi-generator/FILES +33 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +51 -0
  5. package/api/default-api.ts +120 -0
  6. package/api/partner-types-api.ts +679 -0
  7. package/api/partners-api.ts +679 -0
  8. package/api.ts +31 -0
  9. package/base.ts +251 -0
  10. package/common.ts +198 -0
  11. package/configuration.ts +101 -0
  12. package/dist/api/default-api.d.ts +66 -0
  13. package/dist/api/default-api.js +196 -0
  14. package/dist/api/partner-types-api.d.ts +385 -0
  15. package/dist/api/partner-types-api.js +636 -0
  16. package/dist/api/partners-api.d.ts +385 -0
  17. package/dist/api/partners-api.js +636 -0
  18. package/dist/api.d.ts +14 -0
  19. package/dist/api.js +32 -0
  20. package/dist/base.d.ts +74 -0
  21. package/dist/base.js +298 -0
  22. package/dist/common.d.ts +91 -0
  23. package/dist/common.js +276 -0
  24. package/dist/configuration.d.ts +83 -0
  25. package/dist/configuration.js +44 -0
  26. package/dist/index.d.ts +15 -0
  27. package/dist/index.js +36 -0
  28. package/dist/models/create-partner-request-dto.d.ts +30 -0
  29. package/dist/models/create-partner-request-dto.js +15 -0
  30. package/dist/models/create-partner-response-class.d.ts +25 -0
  31. package/dist/models/create-partner-response-class.js +15 -0
  32. package/dist/models/create-partner-type-request-dto.d.ts +30 -0
  33. package/dist/models/create-partner-type-request-dto.js +15 -0
  34. package/dist/models/create-partner-type-response-class.d.ts +25 -0
  35. package/dist/models/create-partner-type-response-class.js +15 -0
  36. package/dist/models/delete-response-class.d.ts +24 -0
  37. package/dist/models/delete-response-class.js +15 -0
  38. package/dist/models/get-partner-response-class.d.ts +25 -0
  39. package/dist/models/get-partner-response-class.js +15 -0
  40. package/dist/models/get-partner-type-response-class.d.ts +25 -0
  41. package/dist/models/get-partner-type-response-class.js +15 -0
  42. package/dist/models/index.d.ts +17 -0
  43. package/dist/models/index.js +33 -0
  44. package/dist/models/inline-response200.d.ts +54 -0
  45. package/dist/models/inline-response200.js +15 -0
  46. package/dist/models/inline-response503.d.ts +54 -0
  47. package/dist/models/inline-response503.js +15 -0
  48. package/dist/models/list-partner-types-response-class.d.ts +31 -0
  49. package/dist/models/list-partner-types-response-class.js +15 -0
  50. package/dist/models/list-partners-response-class.d.ts +31 -0
  51. package/dist/models/list-partners-response-class.js +15 -0
  52. package/dist/models/partner-class.d.ts +67 -0
  53. package/dist/models/partner-class.js +15 -0
  54. package/dist/models/partner-type-class.d.ts +54 -0
  55. package/dist/models/partner-type-class.js +15 -0
  56. package/dist/models/update-partner-request-dto.d.ts +30 -0
  57. package/dist/models/update-partner-request-dto.js +15 -0
  58. package/dist/models/update-partner-response-class.d.ts +25 -0
  59. package/dist/models/update-partner-response-class.js +15 -0
  60. package/dist/models/update-partner-type-request-dto.d.ts +30 -0
  61. package/dist/models/update-partner-type-request-dto.js +15 -0
  62. package/dist/models/update-partner-type-response-class.d.ts +25 -0
  63. package/dist/models/update-partner-type-response-class.js +15 -0
  64. package/git_push.sh +57 -0
  65. package/index.ts +19 -0
  66. package/models/create-partner-request-dto.ts +36 -0
  67. package/models/create-partner-response-class.ts +31 -0
  68. package/models/create-partner-type-request-dto.ts +36 -0
  69. package/models/create-partner-type-response-class.ts +31 -0
  70. package/models/delete-response-class.ts +30 -0
  71. package/models/get-partner-response-class.ts +31 -0
  72. package/models/get-partner-type-response-class.ts +31 -0
  73. package/models/index.ts +17 -0
  74. package/models/inline-response200.ts +48 -0
  75. package/models/inline-response503.ts +48 -0
  76. package/models/list-partner-types-response-class.ts +37 -0
  77. package/models/list-partners-response-class.ts +37 -0
  78. package/models/partner-class.ts +73 -0
  79. package/models/partner-type-class.ts +60 -0
  80. package/models/update-partner-request-dto.ts +36 -0
  81. package/models/update-partner-response-class.ts +31 -0
  82. package/models/update-partner-type-request-dto.ts +36 -0
  83. package/models/update-partner-type-response-class.ts +31 -0
  84. package/package.json +27 -0
  85. package/tsconfig.json +22 -0
@@ -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 { PartnerTypeClass } from './partner-type-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdatePartnerTypeResponseClass
17
+ */
18
+ export interface UpdatePartnerTypeResponseClass {
19
+ /**
20
+ * The partnerType response.
21
+ * @type {PartnerTypeClass}
22
+ * @memberof UpdatePartnerTypeResponseClass
23
+ */
24
+ 'partnerType': PartnerTypeClass;
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 });
package/git_push.sh ADDED
@@ -0,0 +1,57 @@
1
+ #!/bin/sh
2
+ # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
3
+ #
4
+ # Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
5
+
6
+ git_user_id=$1
7
+ git_repo_id=$2
8
+ release_note=$3
9
+ git_host=$4
10
+
11
+ if [ "$git_host" = "" ]; then
12
+ git_host="github.com"
13
+ echo "[INFO] No command line input provided. Set \$git_host to $git_host"
14
+ fi
15
+
16
+ if [ "$git_user_id" = "" ]; then
17
+ git_user_id="Emil"
18
+ echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
19
+ fi
20
+
21
+ if [ "$git_repo_id" = "" ]; then
22
+ git_repo_id="partner-sdk"
23
+ echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
24
+ fi
25
+
26
+ if [ "$release_note" = "" ]; then
27
+ release_note="Minor update"
28
+ echo "[INFO] No command line input provided. Set \$release_note to $release_note"
29
+ fi
30
+
31
+ # Initialize the local directory as a Git repository
32
+ git init
33
+
34
+ # Adds the files in the local repository and stages them for commit.
35
+ git add .
36
+
37
+ # Commits the tracked changes and prepares them to be pushed to a remote repository.
38
+ git commit -m "$release_note"
39
+
40
+ # Sets the new remote
41
+ git_remote=$(git remote)
42
+ if [ "$git_remote" = "" ]; then # git remote not defined
43
+
44
+ if [ "$GIT_TOKEN" = "" ]; then
45
+ echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
46
+ git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
47
+ else
48
+ git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
49
+ fi
50
+
51
+ fi
52
+
53
+ git pull origin master
54
+
55
+ # Pushes (Forces) the changes in the local repository up to the remote repository
56
+ echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
57
+ git push origin master 2>&1 | grep -v 'To https'
package/index.ts ADDED
@@ -0,0 +1,19 @@
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
+ export { Environment, BaseAPI } from "./base";
17
+ export * from "./api";
18
+ export * from "./configuration";
19
+ export * from "./models";
@@ -0,0 +1,36 @@
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 CreatePartnerRequestDto
21
+ */
22
+ export interface CreatePartnerRequestDto {
23
+ /**
24
+ * The unique partner type code used to identify the partner type.
25
+ * @type {string}
26
+ * @memberof CreatePartnerRequestDto
27
+ */
28
+ 'partnerTypeCode': string;
29
+ /**
30
+ * The partner object, based on partner schema.
31
+ * @type {object}
32
+ * @memberof CreatePartnerRequestDto
33
+ */
34
+ 'partner': object;
35
+ }
36
+
@@ -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 { PartnerClass } from './partner-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreatePartnerResponseClass
22
+ */
23
+ export interface CreatePartnerResponseClass {
24
+ /**
25
+ * The partner response.
26
+ * @type {PartnerClass}
27
+ * @memberof CreatePartnerResponseClass
28
+ */
29
+ 'partner': PartnerClass;
30
+ }
31
+
@@ -0,0 +1,36 @@
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 CreatePartnerTypeRequestDto
21
+ */
22
+ export interface CreatePartnerTypeRequestDto {
23
+ /**
24
+ * The name of the partner type.
25
+ * @type {string}
26
+ * @memberof CreatePartnerTypeRequestDto
27
+ */
28
+ 'name': string;
29
+ /**
30
+ * The partner type schema object based on json schema.
31
+ * @type {object}
32
+ * @memberof CreatePartnerTypeRequestDto
33
+ */
34
+ 'schema': object;
35
+ }
36
+
@@ -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 { PartnerTypeClass } from './partner-type-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreatePartnerTypeResponseClass
22
+ */
23
+ export interface CreatePartnerTypeResponseClass {
24
+ /**
25
+ * The partnerType response.
26
+ * @type {PartnerTypeClass}
27
+ * @memberof CreatePartnerTypeResponseClass
28
+ */
29
+ 'partnerType': PartnerTypeClass;
30
+ }
31
+
@@ -0,0 +1,30 @@
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 DeleteResponseClass
21
+ */
22
+ export interface DeleteResponseClass {
23
+ /**
24
+ *
25
+ * @type {object}
26
+ * @memberof DeleteResponseClass
27
+ */
28
+ 'response': object;
29
+ }
30
+
@@ -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 { PartnerClass } from './partner-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetPartnerResponseClass
22
+ */
23
+ export interface GetPartnerResponseClass {
24
+ /**
25
+ * The partner response.
26
+ * @type {PartnerClass}
27
+ * @memberof GetPartnerResponseClass
28
+ */
29
+ 'partner': PartnerClass;
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 { PartnerTypeClass } from './partner-type-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetPartnerTypeResponseClass
22
+ */
23
+ export interface GetPartnerTypeResponseClass {
24
+ /**
25
+ * The partnerType response.
26
+ * @type {PartnerTypeClass}
27
+ * @memberof GetPartnerTypeResponseClass
28
+ */
29
+ 'partnerType': PartnerTypeClass;
30
+ }
31
+
@@ -0,0 +1,17 @@
1
+ export * from './create-partner-request-dto';
2
+ export * from './create-partner-response-class';
3
+ export * from './create-partner-type-request-dto';
4
+ export * from './create-partner-type-response-class';
5
+ export * from './delete-response-class';
6
+ export * from './get-partner-response-class';
7
+ export * from './get-partner-type-response-class';
8
+ export * from './inline-response200';
9
+ export * from './inline-response503';
10
+ export * from './list-partner-types-response-class';
11
+ export * from './list-partners-response-class';
12
+ export * from './partner-class';
13
+ export * from './partner-type-class';
14
+ export * from './update-partner-request-dto';
15
+ export * from './update-partner-response-class';
16
+ export * from './update-partner-type-request-dto';
17
+ export * from './update-partner-type-response-class';
@@ -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 InlineResponse200
21
+ */
22
+ export interface InlineResponse200 {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof InlineResponse200
27
+ */
28
+ 'status'?: string;
29
+ /**
30
+ *
31
+ * @type {{ [key: string]: { [key: string]: object; }; }}
32
+ * @memberof InlineResponse200
33
+ */
34
+ 'info'?: { [key: string]: { [key: string]: object; }; } | null;
35
+ /**
36
+ *
37
+ * @type {{ [key: string]: { [key: string]: object; }; }}
38
+ * @memberof InlineResponse200
39
+ */
40
+ 'error'?: { [key: string]: { [key: string]: object; }; } | null;
41
+ /**
42
+ *
43
+ * @type {{ [key: string]: { [key: string]: object; }; }}
44
+ * @memberof InlineResponse200
45
+ */
46
+ 'details'?: { [key: string]: { [key: string]: object; }; };
47
+ }
48
+
@@ -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 InlineResponse503
21
+ */
22
+ export interface InlineResponse503 {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof InlineResponse503
27
+ */
28
+ 'status'?: string;
29
+ /**
30
+ *
31
+ * @type {{ [key: string]: { [key: string]: object; }; }}
32
+ * @memberof InlineResponse503
33
+ */
34
+ 'info'?: { [key: string]: { [key: string]: object; }; } | null;
35
+ /**
36
+ *
37
+ * @type {{ [key: string]: { [key: string]: object; }; }}
38
+ * @memberof InlineResponse503
39
+ */
40
+ 'error'?: { [key: string]: { [key: string]: object; }; } | null;
41
+ /**
42
+ *
43
+ * @type {{ [key: string]: { [key: string]: object; }; }}
44
+ * @memberof InlineResponse503
45
+ */
46
+ 'details'?: { [key: string]: { [key: string]: object; }; };
47
+ }
48
+
@@ -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 { PartnerTypeClass } from './partner-type-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListPartnerTypesResponseClass
22
+ */
23
+ export interface ListPartnerTypesResponseClass {
24
+ /**
25
+ * The list of partnerTypes.
26
+ * @type {Array<PartnerTypeClass>}
27
+ * @memberof ListPartnerTypesResponseClass
28
+ */
29
+ 'items': Array<PartnerTypeClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListPartnerTypesResponseClass
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 { PartnerClass } from './partner-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListPartnersResponseClass
22
+ */
23
+ export interface ListPartnersResponseClass {
24
+ /**
25
+ * The list of Partnerss.
26
+ * @type {Array<PartnerClass>}
27
+ * @memberof ListPartnersResponseClass
28
+ */
29
+ 'items': Array<PartnerClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListPartnersResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+
@@ -0,0 +1,73 @@
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 { PartnerTypeClass } from './partner-type-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface PartnerClass
22
+ */
23
+ export interface PartnerClass {
24
+ /**
25
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
26
+ * @type {number}
27
+ * @memberof PartnerClass
28
+ */
29
+ 'id': number;
30
+ /**
31
+ * Unique identifier for the object.
32
+ * @type {string}
33
+ * @memberof PartnerClass
34
+ */
35
+ 'code': string;
36
+ /**
37
+ * The partner object, based on partner schema.
38
+ * @type {object}
39
+ * @memberof PartnerClass
40
+ */
41
+ 'partner': object;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof PartnerClass
46
+ */
47
+ 'partnerTypeId': number;
48
+ /**
49
+ * For person partner type displayName is a combination if firstname and lastname. For organization its organization name.
50
+ * @type {string}
51
+ * @memberof PartnerClass
52
+ */
53
+ 'displayName': string;
54
+ /**
55
+ * The partner type of this partner
56
+ * @type {PartnerTypeClass}
57
+ * @memberof PartnerClass
58
+ */
59
+ 'partnerType': PartnerTypeClass;
60
+ /**
61
+ * Time at which the object was created.
62
+ * @type {string}
63
+ * @memberof PartnerClass
64
+ */
65
+ 'createdAt': string;
66
+ /**
67
+ * Time at which the object was updated.
68
+ * @type {string}
69
+ * @memberof PartnerClass
70
+ */
71
+ 'updatedAt': string;
72
+ }
73
+
@@ -0,0 +1,60 @@
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 PartnerTypeClass
21
+ */
22
+ export interface PartnerTypeClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof PartnerTypeClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier for the object.
31
+ * @type {string}
32
+ * @memberof PartnerTypeClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ * The name of the partner type.
37
+ * @type {string}
38
+ * @memberof PartnerTypeClass
39
+ */
40
+ 'name': string;
41
+ /**
42
+ * The partner type schema object based on json schema.
43
+ * @type {object}
44
+ * @memberof PartnerTypeClass
45
+ */
46
+ 'schema': object;
47
+ /**
48
+ * Time at which the object was created.
49
+ * @type {string}
50
+ * @memberof PartnerTypeClass
51
+ */
52
+ 'createdAt': string;
53
+ /**
54
+ * Time at which the object was updated.
55
+ * @type {string}
56
+ * @memberof PartnerTypeClass
57
+ */
58
+ 'updatedAt': string;
59
+ }
60
+