@emilgroup/partner-sdk 1.1.0 → 1.2.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.
Files changed (79) hide show
  1. package/.openapi-generator/FILES +14 -1
  2. package/README.md +2 -2
  3. package/api/default-api.ts +8 -4
  4. package/api/partner-relations-api.ts +638 -19
  5. package/api/partner-tags-api.ts +662 -0
  6. package/api/partner-version-api.ts +31 -31
  7. package/api/partners-api.ts +118 -0
  8. package/api.ts +2 -0
  9. package/base.ts +5 -1
  10. package/dist/api/default-api.d.ts +8 -4
  11. package/dist/api/default-api.js +8 -4
  12. package/dist/api/partner-relations-api.d.ts +360 -16
  13. package/dist/api/partner-relations-api.js +513 -8
  14. package/dist/api/partner-tags-api.d.ts +375 -0
  15. package/dist/api/partner-tags-api.js +629 -0
  16. package/dist/api/partner-version-api.d.ts +31 -31
  17. package/dist/api/partner-version-api.js +16 -16
  18. package/dist/api/partners-api.d.ts +65 -0
  19. package/dist/api/partners-api.js +99 -0
  20. package/dist/api.d.ts +1 -0
  21. package/dist/api.js +1 -0
  22. package/dist/base.d.ts +1 -0
  23. package/dist/base.js +4 -1
  24. package/dist/models/create-partner-relation-request-dto-rest.d.ts +65 -0
  25. package/dist/models/create-partner-relation-request-dto-rest.js +26 -0
  26. package/dist/models/create-partner-relation-response-class.d.ts +25 -0
  27. package/dist/models/create-partner-type-request-dto.d.ts +13 -3
  28. package/dist/models/create-partner-type-request-dto.js +5 -0
  29. package/dist/models/create-tag-request-dto.d.ts +36 -0
  30. package/dist/models/create-tag-request-dto.js +15 -0
  31. package/dist/models/create-tag-response-class.d.ts +25 -0
  32. package/dist/models/create-tag-response-class.js +15 -0
  33. package/dist/models/get-partner-relation-class.d.ts +25 -0
  34. package/dist/models/get-partner-relation-class.js +15 -0
  35. package/dist/models/get-tag-response-class.d.ts +25 -0
  36. package/dist/models/get-tag-response-class.js +15 -0
  37. package/dist/models/index.d.ts +13 -1
  38. package/dist/models/index.js +13 -1
  39. package/dist/models/list-partner-relation-class.d.ts +31 -0
  40. package/dist/models/list-partner-relation-class.js +15 -0
  41. package/dist/models/list-tags-response-class.d.ts +31 -0
  42. package/dist/models/list-tags-response-class.js +15 -0
  43. package/dist/models/partner-class.d.ts +6 -0
  44. package/dist/models/partner-relation-class.d.ts +72 -0
  45. package/dist/models/partner-relation-class.js +15 -0
  46. package/dist/models/partner-type-class.d.ts +11 -0
  47. package/dist/models/partner-type-class.js +5 -0
  48. package/dist/models/tag-class.d.ts +54 -0
  49. package/dist/models/tag-class.js +15 -0
  50. package/dist/models/tag-partner-request-dto-rest.d.ts +24 -0
  51. package/dist/models/tag-partner-request-dto-rest.js +15 -0
  52. package/dist/models/update-partner-relation-request-dto-rest.d.ts +36 -0
  53. package/dist/models/update-partner-relation-request-dto-rest.js +15 -0
  54. package/dist/models/update-partner-type-request-dto.d.ts +14 -4
  55. package/dist/models/update-partner-type-request-dto.js +5 -0
  56. package/dist/models/update-tag-response-class.d.ts +25 -0
  57. package/dist/models/update-tag-response-class.js +15 -0
  58. package/models/create-partner-relation-request-dto-rest.ts +74 -0
  59. package/models/create-partner-relation-response-class.ts +31 -0
  60. package/models/create-partner-type-request-dto.ts +16 -3
  61. package/models/create-tag-request-dto.ts +42 -0
  62. package/models/create-tag-response-class.ts +31 -0
  63. package/models/get-partner-relation-class.ts +31 -0
  64. package/models/get-tag-response-class.ts +31 -0
  65. package/models/index.ts +13 -1
  66. package/models/list-partner-relation-class.ts +37 -0
  67. package/models/list-tags-response-class.ts +37 -0
  68. package/models/partner-class.ts +6 -0
  69. package/models/partner-relation-class.ts +78 -0
  70. package/models/partner-type-class.ts +14 -0
  71. package/models/tag-class.ts +60 -0
  72. package/models/tag-partner-request-dto-rest.ts +30 -0
  73. package/models/update-partner-relation-request-dto-rest.ts +42 -0
  74. package/models/update-partner-type-request-dto.ts +17 -4
  75. package/models/update-tag-response-class.ts +31 -0
  76. package/package.json +1 -1
  77. package/dist/models/partner-type-custom-schema-dto.d.ts +0 -66
  78. package/models/partner-type-custom-schema-dto.ts +0 -72
  79. /package/dist/models/{partner-type-custom-schema-dto.js → create-partner-relation-response-class.js} +0 -0
@@ -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 TagClass
21
+ */
22
+ export interface TagClass {
23
+ /**
24
+ * Unique identifier for the object.
25
+ * @type {string}
26
+ * @memberof TagClass
27
+ */
28
+ 'code': 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 TagClass
33
+ */
34
+ 'slug': string;
35
+ /**
36
+ * The label of the tag
37
+ * @type {string}
38
+ * @memberof TagClass
39
+ */
40
+ 'label': string;
41
+ /**
42
+ * A short description for the tag
43
+ * @type {string}
44
+ * @memberof TagClass
45
+ */
46
+ 'description': string;
47
+ /**
48
+ * Time at which the object was created.
49
+ * @type {string}
50
+ * @memberof TagClass
51
+ */
52
+ 'createdAt': string;
53
+ /**
54
+ * Time at which the object was updated.
55
+ * @type {string}
56
+ * @memberof TagClass
57
+ */
58
+ 'updatedAt': string;
59
+ }
60
+
@@ -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 TagPartnerRequestDtoRest
21
+ */
22
+ export interface TagPartnerRequestDtoRest {
23
+ /**
24
+ * Slug of the tags to be added to the partner
25
+ * @type {Array<string>}
26
+ * @memberof TagPartnerRequestDtoRest
27
+ */
28
+ 'slug': Array<string>;
29
+ }
30
+
@@ -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 UpdatePartnerRelationRequestDtoRest
21
+ */
22
+ export interface UpdatePartnerRelationRequestDtoRest {
23
+ /**
24
+ * The start datetime of the relationship, provided in ISO 8601 format
25
+ * @type {string}
26
+ * @memberof UpdatePartnerRelationRequestDtoRest
27
+ */
28
+ 'startDate'?: string;
29
+ /**
30
+ * The end datetime of the relationship, provided in ISO 8601 format
31
+ * @type {string}
32
+ * @memberof UpdatePartnerRelationRequestDtoRest
33
+ */
34
+ 'endDate'?: string;
35
+ /**
36
+ * A note about the relationship, provided as a string
37
+ * @type {string}
38
+ * @memberof UpdatePartnerRelationRequestDtoRest
39
+ */
40
+ 'note'?: string;
41
+ }
42
+
@@ -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
  *
@@ -28,10 +27,24 @@ export interface UpdatePartnerTypeRequestDto {
28
27
  */
29
28
  'name': string;
30
29
  /**
31
- * The partner type schema object.
32
- * @type {Array<PartnerTypeCustomSchemaDto>}
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 UpdatePartnerTypeRequestDto
33
+ */
34
+ 'slug': UpdatePartnerTypeRequestDtoSlugEnum;
35
+ /**
36
+ * The partner type schema array of object based on json schema.
37
+ * @type {Array<string>}
33
38
  * @memberof UpdatePartnerTypeRequestDto
34
39
  */
35
- 'schemas': Array<PartnerTypeCustomSchemaDto>;
40
+ 'schemas': Array<string>;
36
41
  }
37
42
 
43
+ export const UpdatePartnerTypeRequestDtoSlugEnum = {
44
+ Person: 'person',
45
+ Organization: 'organization'
46
+ } as const;
47
+
48
+ export type UpdatePartnerTypeRequestDtoSlugEnum = typeof UpdatePartnerTypeRequestDtoSlugEnum[keyof typeof UpdatePartnerTypeRequestDtoSlugEnum];
49
+
50
+
@@ -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 UpdateTagResponseClass
22
+ */
23
+ export interface UpdateTagResponseClass {
24
+ /**
25
+ * The tag response.
26
+ * @type {TagClass}
27
+ * @memberof UpdateTagResponseClass
28
+ */
29
+ 'tag': TagClass;
30
+ }
31
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/partner-sdk",
3
- "version": "1.1.0",
3
+ "version": "1.2.1-beta.1",
4
4
  "description": "OpenAPI client for @emilgroup/partner-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -1,66 +0,0 @@
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
- }
@@ -1,72 +0,0 @@
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
-