@emilgroup/partner-sdk-node 1.4.1-beta.0 → 1.5.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 (61) hide show
  1. package/.openapi-generator/FILES +0 -1
  2. package/README.md +2 -2
  3. package/api/partner-relations-api.ts +8 -8
  4. package/api/partner-tags-api.ts +8 -8
  5. package/api/partner-types-api.ts +4 -4
  6. package/api/partner-version-api.ts +4 -4
  7. package/api/partners-api.ts +8 -8
  8. package/base.ts +3 -3
  9. package/dist/api/partner-relations-api.d.ts +8 -8
  10. package/dist/api/partner-relations-api.js +6 -6
  11. package/dist/api/partner-tags-api.d.ts +8 -8
  12. package/dist/api/partner-tags-api.js +7 -7
  13. package/dist/api/partner-types-api.d.ts +4 -4
  14. package/dist/api/partner-types-api.js +4 -4
  15. package/dist/api/partner-version-api.d.ts +4 -4
  16. package/dist/api/partner-version-api.js +3 -3
  17. package/dist/api/partners-api.d.ts +8 -8
  18. package/dist/api/partners-api.js +7 -7
  19. package/dist/base.d.ts +2 -2
  20. package/dist/base.js +1 -2
  21. package/dist/models/create-partner-type-request-dto.d.ts +2 -3
  22. package/dist/models/create-partner-type-response-class.d.ts +1 -1
  23. package/dist/models/create-tag-request-dto.d.ts +1 -1
  24. package/dist/models/get-partner-type-response-class.d.ts +1 -1
  25. package/dist/models/get-partner-version-response-class.d.ts +3 -3
  26. package/dist/models/index.d.ts +0 -1
  27. package/dist/models/index.js +0 -1
  28. package/dist/models/list-partner-relation-class.d.ts +1 -1
  29. package/dist/models/list-partner-relation-types-class.d.ts +1 -1
  30. package/dist/models/list-partner-types-response-class.d.ts +1 -1
  31. package/dist/models/list-partner-versions-response-class.d.ts +7 -1
  32. package/dist/models/list-partners-response-class.d.ts +1 -1
  33. package/dist/models/partner-class.d.ts +12 -6
  34. package/dist/models/partner-relation-class.d.ts +12 -0
  35. package/dist/models/partner-relation-type-class.d.ts +12 -0
  36. package/dist/models/partner-type-class.d.ts +12 -0
  37. package/dist/models/tag-class.d.ts +12 -0
  38. package/dist/models/update-partner-type-request-dto.d.ts +2 -3
  39. package/dist/models/update-partner-type-response-class.d.ts +1 -1
  40. package/models/create-partner-type-request-dto.ts +2 -3
  41. package/models/create-partner-type-response-class.ts +1 -1
  42. package/models/create-tag-request-dto.ts +1 -1
  43. package/models/get-partner-type-response-class.ts +1 -1
  44. package/models/get-partner-version-response-class.ts +3 -3
  45. package/models/index.ts +0 -1
  46. package/models/list-partner-relation-class.ts +1 -1
  47. package/models/list-partner-relation-types-class.ts +1 -1
  48. package/models/list-partner-types-response-class.ts +1 -1
  49. package/models/list-partner-versions-response-class.ts +7 -1
  50. package/models/list-partners-response-class.ts +1 -1
  51. package/models/partner-class.ts +12 -6
  52. package/models/partner-relation-class.ts +12 -0
  53. package/models/partner-relation-type-class.ts +12 -0
  54. package/models/partner-type-class.ts +12 -0
  55. package/models/tag-class.ts +12 -0
  56. package/models/update-partner-type-request-dto.ts +2 -3
  57. package/models/update-partner-type-response-class.ts +1 -1
  58. package/package.json +1 -1
  59. package/dist/models/partner-type-custom-schema-dto.d.ts +0 -102
  60. package/dist/models/partner-type-custom-schema-dto.js +0 -15
  61. package/models/partner-type-custom-schema-dto.ts +0 -108
@@ -17,7 +17,7 @@ import { PartnerTypeClass } from './partner-type-class';
17
17
  */
18
18
  export interface ListPartnerTypesResponseClass {
19
19
  /**
20
- * The list of partnerTypes.
20
+ * The list of partner typess.
21
21
  * @type {Array<PartnerTypeClass>}
22
22
  * @memberof ListPartnerTypesResponseClass
23
23
  */
@@ -17,9 +17,15 @@ import { PartnerClass } from './partner-class';
17
17
  */
18
18
  export interface ListPartnerVersionsResponseClass {
19
19
  /**
20
- * The list of Partnerss.
20
+ * The list of partnerss.
21
21
  * @type {Array<PartnerClass>}
22
22
  * @memberof ListPartnerVersionsResponseClass
23
23
  */
24
24
  'items': Array<PartnerClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListPartnerVersionsResponseClass
29
+ */
30
+ 'nextPageToken': string;
25
31
  }
@@ -17,7 +17,7 @@ import { PartnerClass } from './partner-class';
17
17
  */
18
18
  export interface ListPartnersResponseClass {
19
19
  /**
20
- * The list of Partnerss.
20
+ * The list of partnerss.
21
21
  * @type {Array<PartnerClass>}
22
22
  * @memberof ListPartnersResponseClass
23
23
  */
@@ -64,12 +64,6 @@ export interface PartnerClass {
64
64
  * @memberof PartnerClass
65
65
  */
66
66
  'updatedAt': string;
67
- /**
68
- * Last user who updated the entity
69
- * @type {string}
70
- * @memberof PartnerClass
71
- */
72
- 'updatedBy': string;
73
67
  /**
74
68
  * The version number of the partner
75
69
  * @type {number}
@@ -82,4 +76,16 @@ export interface PartnerClass {
82
76
  * @memberof PartnerClass
83
77
  */
84
78
  'tags': Array<string>;
79
+ /**
80
+ * Identifier of the user who created the record.
81
+ * @type {string}
82
+ * @memberof PartnerClass
83
+ */
84
+ 'createdBy': string;
85
+ /**
86
+ * Identifier of the user who last updated the record.
87
+ * @type {string}
88
+ * @memberof PartnerClass
89
+ */
90
+ 'updatedBy': string;
85
91
  }
@@ -69,4 +69,16 @@ export interface PartnerRelationClass {
69
69
  * @memberof PartnerRelationClass
70
70
  */
71
71
  'updatedAt': string;
72
+ /**
73
+ * Identifier of the user who created the record.
74
+ * @type {string}
75
+ * @memberof PartnerRelationClass
76
+ */
77
+ 'createdBy': string;
78
+ /**
79
+ * Identifier of the user who last updated the record.
80
+ * @type {string}
81
+ * @memberof PartnerRelationClass
82
+ */
83
+ 'updatedBy': string;
72
84
  }
@@ -63,4 +63,16 @@ export interface PartnerRelationTypeClass {
63
63
  * @memberof PartnerRelationTypeClass
64
64
  */
65
65
  'updatedAt': string;
66
+ /**
67
+ * Identifier of the user who created the record.
68
+ * @type {string}
69
+ * @memberof PartnerRelationTypeClass
70
+ */
71
+ 'createdBy': string;
72
+ /**
73
+ * Identifier of the user who last updated the record.
74
+ * @type {string}
75
+ * @memberof PartnerRelationTypeClass
76
+ */
77
+ 'updatedBy': string;
66
78
  }
@@ -63,6 +63,18 @@ export interface PartnerTypeClass {
63
63
  * @memberof PartnerTypeClass
64
64
  */
65
65
  'updatedAt': string;
66
+ /**
67
+ * Identifier of the user who created the record.
68
+ * @type {string}
69
+ * @memberof PartnerTypeClass
70
+ */
71
+ 'createdBy': string;
72
+ /**
73
+ * Identifier of the user who last updated the record.
74
+ * @type {string}
75
+ * @memberof PartnerTypeClass
76
+ */
77
+ 'updatedBy': string;
66
78
  }
67
79
  export declare const PartnerTypeClassSlugEnum: {
68
80
  readonly Person: "person";
@@ -51,4 +51,16 @@ export interface TagClass {
51
51
  * @memberof TagClass
52
52
  */
53
53
  'updatedAt': string;
54
+ /**
55
+ * Identifier of the user who created the record.
56
+ * @type {string}
57
+ * @memberof TagClass
58
+ */
59
+ 'createdBy': string;
60
+ /**
61
+ * Identifier of the user who last updated the record.
62
+ * @type {string}
63
+ * @memberof TagClass
64
+ */
65
+ 'updatedBy': string;
54
66
  }
@@ -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
@@ -30,10 +29,10 @@ export interface UpdatePartnerTypeRequestDto {
30
29
  'slug': UpdatePartnerTypeRequestDtoSlugEnum;
31
30
  /**
32
31
  * The partner type schema array of object based on json schema.
33
- * @type {Array<PartnerTypeCustomSchemaDto>}
32
+ * @type {Array<string>}
34
33
  * @memberof UpdatePartnerTypeRequestDto
35
34
  */
36
- 'schemas': Array<PartnerTypeCustomSchemaDto>;
35
+ 'schemas': Array<string>;
37
36
  }
38
37
  export declare const UpdatePartnerTypeRequestDtoSlugEnum: {
39
38
  readonly Person: "person";
@@ -17,7 +17,7 @@ import { PartnerTypeClass } from './partner-type-class';
17
17
  */
18
18
  export interface UpdatePartnerTypeResponseClass {
19
19
  /**
20
- * The partnerType response.
20
+ * The partner type response.
21
21
  * @type {PartnerTypeClass}
22
22
  * @memberof UpdatePartnerTypeResponseClass
23
23
  */
@@ -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
  *
@@ -35,10 +34,10 @@ export interface CreatePartnerTypeRequestDto {
35
34
  'slug': CreatePartnerTypeRequestDtoSlugEnum;
36
35
  /**
37
36
  * The partner type schema array of object based on json schema.
38
- * @type {Array<PartnerTypeCustomSchemaDto>}
37
+ * @type {Array<string>}
39
38
  * @memberof CreatePartnerTypeRequestDto
40
39
  */
41
- 'schemas': Array<PartnerTypeCustomSchemaDto>;
40
+ 'schemas': Array<string>;
42
41
  }
43
42
 
44
43
  export const CreatePartnerTypeRequestDtoSlugEnum = {
@@ -22,7 +22,7 @@ import { PartnerTypeClass } from './partner-type-class';
22
22
  */
23
23
  export interface CreatePartnerTypeResponseClass {
24
24
  /**
25
- * The partnerType response.
25
+ * The partner type response.
26
26
  * @type {PartnerTypeClass}
27
27
  * @memberof CreatePartnerTypeResponseClass
28
28
  */
@@ -37,6 +37,6 @@ export interface CreateTagRequestDto {
37
37
  * @type {string}
38
38
  * @memberof CreateTagRequestDto
39
39
  */
40
- 'description'?: string;
40
+ 'description': string;
41
41
  }
42
42
 
@@ -22,7 +22,7 @@ import { PartnerTypeClass } from './partner-type-class';
22
22
  */
23
23
  export interface GetPartnerTypeResponseClass {
24
24
  /**
25
- * The partnerType response.
25
+ * The partner type response.
26
26
  * @type {PartnerTypeClass}
27
27
  * @memberof GetPartnerTypeResponseClass
28
28
  */
@@ -22,10 +22,10 @@ import { PartnerClass } from './partner-class';
22
22
  */
23
23
  export interface GetPartnerVersionResponseClass {
24
24
  /**
25
- * The list of partners.
26
- * @type {Array<PartnerClass>}
25
+ * The partner response.
26
+ * @type {PartnerClass}
27
27
  * @memberof GetPartnerVersionResponseClass
28
28
  */
29
- 'partnerVersion': Array<PartnerClass>;
29
+ 'partnerVersion': PartnerClass;
30
30
  }
31
31
 
package/models/index.ts CHANGED
@@ -25,7 +25,6 @@ export * from './partner-class';
25
25
  export * from './partner-relation-class';
26
26
  export * from './partner-relation-type-class';
27
27
  export * from './partner-type-class';
28
- export * from './partner-type-custom-schema-dto';
29
28
  export * from './tag-class';
30
29
  export * from './tag-partner-request-dto-rest';
31
30
  export * from './update-partner-relation-request-dto-rest';
@@ -28,7 +28,7 @@ export interface ListPartnerRelationClass {
28
28
  */
29
29
  'items': Array<PartnerRelationClass>;
30
30
  /**
31
- * Next page token
31
+ * Next page token.
32
32
  * @type {string}
33
33
  * @memberof ListPartnerRelationClass
34
34
  */
@@ -28,7 +28,7 @@ export interface ListPartnerRelationTypesClass {
28
28
  */
29
29
  'items': Array<PartnerRelationTypeClass>;
30
30
  /**
31
- * Next page token
31
+ * Next page token.
32
32
  * @type {string}
33
33
  * @memberof ListPartnerRelationTypesClass
34
34
  */
@@ -22,7 +22,7 @@ import { PartnerTypeClass } from './partner-type-class';
22
22
  */
23
23
  export interface ListPartnerTypesResponseClass {
24
24
  /**
25
- * The list of partnerTypes.
25
+ * The list of partner typess.
26
26
  * @type {Array<PartnerTypeClass>}
27
27
  * @memberof ListPartnerTypesResponseClass
28
28
  */
@@ -22,10 +22,16 @@ import { PartnerClass } from './partner-class';
22
22
  */
23
23
  export interface ListPartnerVersionsResponseClass {
24
24
  /**
25
- * The list of Partnerss.
25
+ * The list of partnerss.
26
26
  * @type {Array<PartnerClass>}
27
27
  * @memberof ListPartnerVersionsResponseClass
28
28
  */
29
29
  'items': Array<PartnerClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListPartnerVersionsResponseClass
34
+ */
35
+ 'nextPageToken': string;
30
36
  }
31
37
 
@@ -22,7 +22,7 @@ import { PartnerClass } from './partner-class';
22
22
  */
23
23
  export interface ListPartnersResponseClass {
24
24
  /**
25
- * The list of Partnerss.
25
+ * The list of partnerss.
26
26
  * @type {Array<PartnerClass>}
27
27
  * @memberof ListPartnersResponseClass
28
28
  */
@@ -69,12 +69,6 @@ export interface PartnerClass {
69
69
  * @memberof PartnerClass
70
70
  */
71
71
  'updatedAt': string;
72
- /**
73
- * Last user who updated the entity
74
- * @type {string}
75
- * @memberof PartnerClass
76
- */
77
- 'updatedBy': string;
78
72
  /**
79
73
  * The version number of the partner
80
74
  * @type {number}
@@ -87,5 +81,17 @@ export interface PartnerClass {
87
81
  * @memberof PartnerClass
88
82
  */
89
83
  'tags': Array<string>;
84
+ /**
85
+ * Identifier of the user who created the record.
86
+ * @type {string}
87
+ * @memberof PartnerClass
88
+ */
89
+ 'createdBy': string;
90
+ /**
91
+ * Identifier of the user who last updated the record.
92
+ * @type {string}
93
+ * @memberof PartnerClass
94
+ */
95
+ 'updatedBy': string;
90
96
  }
91
97
 
@@ -74,5 +74,17 @@ export interface PartnerRelationClass {
74
74
  * @memberof PartnerRelationClass
75
75
  */
76
76
  'updatedAt': string;
77
+ /**
78
+ * Identifier of the user who created the record.
79
+ * @type {string}
80
+ * @memberof PartnerRelationClass
81
+ */
82
+ 'createdBy': string;
83
+ /**
84
+ * Identifier of the user who last updated the record.
85
+ * @type {string}
86
+ * @memberof PartnerRelationClass
87
+ */
88
+ 'updatedBy': string;
77
89
  }
78
90
 
@@ -68,5 +68,17 @@ export interface PartnerRelationTypeClass {
68
68
  * @memberof PartnerRelationTypeClass
69
69
  */
70
70
  'updatedAt': string;
71
+ /**
72
+ * Identifier of the user who created the record.
73
+ * @type {string}
74
+ * @memberof PartnerRelationTypeClass
75
+ */
76
+ 'createdBy': string;
77
+ /**
78
+ * Identifier of the user who last updated the record.
79
+ * @type {string}
80
+ * @memberof PartnerRelationTypeClass
81
+ */
82
+ 'updatedBy': string;
71
83
  }
72
84
 
@@ -68,6 +68,18 @@ export interface PartnerTypeClass {
68
68
  * @memberof PartnerTypeClass
69
69
  */
70
70
  'updatedAt': string;
71
+ /**
72
+ * Identifier of the user who created the record.
73
+ * @type {string}
74
+ * @memberof PartnerTypeClass
75
+ */
76
+ 'createdBy': string;
77
+ /**
78
+ * Identifier of the user who last updated the record.
79
+ * @type {string}
80
+ * @memberof PartnerTypeClass
81
+ */
82
+ 'updatedBy': string;
71
83
  }
72
84
 
73
85
  export const PartnerTypeClassSlugEnum = {
@@ -56,5 +56,17 @@ export interface TagClass {
56
56
  * @memberof TagClass
57
57
  */
58
58
  'updatedAt': string;
59
+ /**
60
+ * Identifier of the user who created the record.
61
+ * @type {string}
62
+ * @memberof TagClass
63
+ */
64
+ 'createdBy': string;
65
+ /**
66
+ * Identifier of the user who last updated the record.
67
+ * @type {string}
68
+ * @memberof TagClass
69
+ */
70
+ 'updatedBy': string;
59
71
  }
60
72
 
@@ -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
  *
@@ -35,10 +34,10 @@ export interface UpdatePartnerTypeRequestDto {
35
34
  'slug': UpdatePartnerTypeRequestDtoSlugEnum;
36
35
  /**
37
36
  * The partner type schema array of object based on json schema.
38
- * @type {Array<PartnerTypeCustomSchemaDto>}
37
+ * @type {Array<string>}
39
38
  * @memberof UpdatePartnerTypeRequestDto
40
39
  */
41
- 'schemas': Array<PartnerTypeCustomSchemaDto>;
40
+ 'schemas': Array<string>;
42
41
  }
43
42
 
44
43
  export const UpdatePartnerTypeRequestDtoSlugEnum = {
@@ -22,7 +22,7 @@ import { PartnerTypeClass } from './partner-type-class';
22
22
  */
23
23
  export interface UpdatePartnerTypeResponseClass {
24
24
  /**
25
- * The partnerType response.
25
+ * The partner type response.
26
26
  * @type {PartnerTypeClass}
27
27
  * @memberof UpdatePartnerTypeResponseClass
28
28
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/partner-sdk-node",
3
- "version": "1.4.1-beta.0",
3
+ "version": "1.5.0",
4
4
  "description": "OpenAPI client for @emilgroup/partner-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -1,102 +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
- /**
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
- }
@@ -1,15 +0,0 @@
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 });