@emilgroup/partner-sdk-node 1.4.1-beta.0 → 1.5.1-beta.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 (83) hide show
  1. package/.openapi-generator/FILES +10 -5
  2. package/README.md +2 -2
  3. package/api/{partners-api.ts → partner-api.ts} +90 -90
  4. package/api/partner-invitation-api.ts +169 -0
  5. package/api/{partner-relations-api.ts → partner-relation-api.ts} +95 -95
  6. package/api/{partner-tags-api.ts → partner-tag-api.ts} +70 -70
  7. package/api/{partner-types-api.ts → partner-type-api.ts} +68 -68
  8. package/api/partner-version-api.ts +4 -4
  9. package/api.ts +10 -8
  10. package/base.ts +3 -3
  11. package/dist/api/{partners-api.d.ts → partner-api.d.ts} +82 -82
  12. package/dist/api/{partners-api.js → partner-api.js} +56 -56
  13. package/dist/api/partner-invitation-api.d.ts +97 -0
  14. package/dist/api/partner-invitation-api.js +228 -0
  15. package/dist/api/{partner-relations-api.d.ts → partner-relation-api.d.ts} +86 -86
  16. package/dist/api/{partner-relations-api.js → partner-relation-api.js} +53 -53
  17. package/dist/api/{partner-tags-api.d.ts → partner-tag-api.d.ts} +63 -63
  18. package/dist/api/{partner-tags-api.js → partner-tag-api.js} +46 -46
  19. package/dist/api/{partner-types-api.d.ts → partner-type-api.d.ts} +61 -61
  20. package/dist/api/{partner-types-api.js → partner-type-api.js} +43 -43
  21. package/dist/api/partner-version-api.d.ts +4 -4
  22. package/dist/api/partner-version-api.js +3 -3
  23. package/dist/api.d.ts +5 -4
  24. package/dist/api.js +5 -4
  25. package/dist/base.d.ts +2 -2
  26. package/dist/base.js +1 -2
  27. package/dist/models/create-partner-response-class.d.ts +7 -0
  28. package/dist/models/create-partner-type-request-dto.d.ts +2 -3
  29. package/dist/models/create-partner-type-response-class.d.ts +1 -1
  30. package/dist/models/create-tag-request-dto.d.ts +1 -1
  31. package/dist/models/get-partner-type-response-class.d.ts +1 -1
  32. package/dist/models/get-partner-version-response-class.d.ts +3 -3
  33. package/dist/models/index.d.ts +5 -1
  34. package/dist/models/index.js +5 -1
  35. package/dist/models/invite-class.d.ts +79 -0
  36. package/dist/models/invite-partner-to-eis-response-class.d.ts +25 -0
  37. package/dist/models/invite-partner-to-eis-response-class.js +15 -0
  38. package/dist/models/invite-partner-to-eisrequest-dto.d.ts +42 -0
  39. package/dist/models/invite-partner-to-eisrequest-dto.js +15 -0
  40. package/dist/models/list-partner-relation-class.d.ts +1 -1
  41. package/dist/models/list-partner-relation-types-class.d.ts +1 -1
  42. package/dist/models/list-partner-types-response-class.d.ts +1 -1
  43. package/dist/models/list-partner-versions-response-class.d.ts +7 -1
  44. package/dist/models/list-partners-response-class.d.ts +1 -1
  45. package/dist/models/partner-class.d.ts +24 -6
  46. package/dist/models/partner-relation-class.d.ts +12 -0
  47. package/dist/models/partner-relation-type-class.d.ts +12 -0
  48. package/dist/models/partner-type-class.d.ts +12 -0
  49. package/dist/models/permission-class.d.ts +72 -0
  50. package/dist/models/permission-class.js +15 -0
  51. package/dist/models/role-class.d.ts +73 -0
  52. package/dist/models/role-class.js +15 -0
  53. package/dist/models/tag-class.d.ts +12 -0
  54. package/dist/models/update-partner-type-request-dto.d.ts +2 -3
  55. package/dist/models/update-partner-type-response-class.d.ts +1 -1
  56. package/models/create-partner-response-class.ts +7 -0
  57. package/models/create-partner-type-request-dto.ts +2 -3
  58. package/models/create-partner-type-response-class.ts +1 -1
  59. package/models/create-tag-request-dto.ts +1 -1
  60. package/models/get-partner-type-response-class.ts +1 -1
  61. package/models/get-partner-version-response-class.ts +3 -3
  62. package/models/index.ts +5 -1
  63. package/models/invite-class.ts +85 -0
  64. package/models/invite-partner-to-eis-response-class.ts +31 -0
  65. package/models/invite-partner-to-eisrequest-dto.ts +48 -0
  66. package/models/list-partner-relation-class.ts +1 -1
  67. package/models/list-partner-relation-types-class.ts +1 -1
  68. package/models/list-partner-types-response-class.ts +1 -1
  69. package/models/list-partner-versions-response-class.ts +7 -1
  70. package/models/list-partners-response-class.ts +1 -1
  71. package/models/partner-class.ts +24 -6
  72. package/models/partner-relation-class.ts +12 -0
  73. package/models/partner-relation-type-class.ts +12 -0
  74. package/models/partner-type-class.ts +12 -0
  75. package/models/permission-class.ts +78 -0
  76. package/models/role-class.ts +79 -0
  77. package/models/tag-class.ts +12 -0
  78. package/models/update-partner-type-request-dto.ts +2 -3
  79. package/models/update-partner-type-response-class.ts +1 -1
  80. package/package.json +1 -1
  81. package/dist/models/partner-type-custom-schema-dto.d.ts +0 -102
  82. package/models/partner-type-custom-schema-dto.ts +0 -108
  83. /package/dist/models/{partner-type-custom-schema-dto.js → invite-class.js} +0 -0
@@ -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,29 @@ export interface PartnerClass {
87
81
  * @memberof PartnerClass
88
82
  */
89
83
  'tags': Array<string>;
84
+ /**
85
+ * The user code of the partner
86
+ * @type {string}
87
+ * @memberof PartnerClass
88
+ */
89
+ 'tenantUserCode'?: string;
90
+ /**
91
+ * Identifier of the user who created the record.
92
+ * @type {string}
93
+ * @memberof PartnerClass
94
+ */
95
+ 'createdBy': string;
96
+ /**
97
+ * Identifier of the user who last updated the record.
98
+ * @type {string}
99
+ * @memberof PartnerClass
100
+ */
101
+ 'updatedBy': string;
102
+ /**
103
+ * Emil Resources Names (ERN) identifies the most specific owner of a resource.
104
+ * @type {string}
105
+ * @memberof PartnerClass
106
+ */
107
+ 'ern': string;
90
108
  }
91
109
 
@@ -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 = {
@@ -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 PermissionClass
21
+ */
22
+ export interface PermissionClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof PermissionClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier for the object.
31
+ * @type {string}
32
+ * @memberof PermissionClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ * Permission module.
37
+ * @type {string}
38
+ * @memberof PermissionClass
39
+ */
40
+ 'module': string;
41
+ /**
42
+ * Permission entity.
43
+ * @type {string}
44
+ * @memberof PermissionClass
45
+ */
46
+ 'entity': string;
47
+ /**
48
+ * Permission action.
49
+ * @type {string}
50
+ * @memberof PermissionClass
51
+ */
52
+ 'action': string;
53
+ /**
54
+ * Time at which the object was created.
55
+ * @type {string}
56
+ * @memberof PermissionClass
57
+ */
58
+ 'createdAt': string;
59
+ /**
60
+ * Time at which the object was updated.
61
+ * @type {string}
62
+ * @memberof PermissionClass
63
+ */
64
+ 'updatedAt': string;
65
+ /**
66
+ * Identifier of the user who created the record.
67
+ * @type {string}
68
+ * @memberof PermissionClass
69
+ */
70
+ 'createdBy': string;
71
+ /**
72
+ * Identifier of the user who last updated the record.
73
+ * @type {string}
74
+ * @memberof PermissionClass
75
+ */
76
+ 'updatedBy': string;
77
+ }
78
+
@@ -0,0 +1,79 @@
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 { PermissionClass } from './permission-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface RoleClass
22
+ */
23
+ export interface RoleClass {
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof RoleClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
32
+ * @type {number}
33
+ * @memberof RoleClass
34
+ */
35
+ 'id': number;
36
+ /**
37
+ * Short description of the role.
38
+ * @type {string}
39
+ * @memberof RoleClass
40
+ */
41
+ 'description': string;
42
+ /**
43
+ * Role label.
44
+ * @type {string}
45
+ * @memberof RoleClass
46
+ */
47
+ 'label': string;
48
+ /**
49
+ * Permissions associated with the role.
50
+ * @type {Array<PermissionClass>}
51
+ * @memberof RoleClass
52
+ */
53
+ 'permissions': Array<PermissionClass>;
54
+ /**
55
+ * Time at which the object was created.
56
+ * @type {string}
57
+ * @memberof RoleClass
58
+ */
59
+ 'createdAt': string;
60
+ /**
61
+ * Time at which the object was updated.
62
+ * @type {string}
63
+ * @memberof RoleClass
64
+ */
65
+ 'updatedAt': string;
66
+ /**
67
+ * Identifier of the user who created the record.
68
+ * @type {string}
69
+ * @memberof RoleClass
70
+ */
71
+ 'createdBy': string;
72
+ /**
73
+ * Identifier of the user who last updated the record.
74
+ * @type {string}
75
+ * @memberof RoleClass
76
+ */
77
+ 'updatedBy': string;
78
+ }
79
+
@@ -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.1-beta.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,108 +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
- * 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
-