@emilgroup/partner-sdk-node 1.6.0 → 1.6.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.
- package/.openapi-generator/FILES +10 -4
- package/README.md +2 -2
- package/api/{partners-api.ts → partner-api.ts} +82 -82
- package/api/partner-invitation-api.ts +169 -0
- package/api/{partner-relations-api.ts → partner-relation-api.ts} +91 -91
- package/api/{partner-tags-api.ts → partner-tag-api.ts} +66 -66
- package/api/{partner-types-api.ts → partner-type-api.ts} +64 -64
- package/api.ts +10 -8
- package/dist/api/{partners-api.d.ts → partner-api.d.ts} +74 -74
- package/dist/api/{partners-api.js → partner-api.js} +49 -49
- package/dist/api/partner-invitation-api.d.ts +97 -0
- package/dist/api/partner-invitation-api.js +228 -0
- package/dist/api/{partner-relations-api.d.ts → partner-relation-api.d.ts} +82 -82
- package/dist/api/{partner-relations-api.js → partner-relation-api.js} +50 -50
- package/dist/api/{partner-tags-api.d.ts → partner-tag-api.d.ts} +59 -59
- package/dist/api/{partner-tags-api.js → partner-tag-api.js} +42 -42
- package/dist/api/{partner-types-api.d.ts → partner-type-api.d.ts} +57 -57
- package/dist/api/{partner-types-api.js → partner-type-api.js} +39 -39
- package/dist/api.d.ts +5 -4
- package/dist/api.js +5 -4
- package/dist/models/create-partner-response-class.d.ts +7 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/dist/models/invite-class.d.ts +79 -0
- package/dist/models/invite-class.js +15 -0
- package/dist/models/invite-partner-to-eis-response-class.d.ts +25 -0
- package/dist/models/invite-partner-to-eis-response-class.js +15 -0
- package/dist/models/invite-partner-to-eisrequest-dto.d.ts +42 -0
- package/dist/models/invite-partner-to-eisrequest-dto.js +15 -0
- package/dist/models/partner-class.d.ts +6 -0
- package/dist/models/permission-class.d.ts +72 -0
- package/dist/models/permission-class.js +15 -0
- package/dist/models/role-class.d.ts +73 -0
- package/dist/models/role-class.js +15 -0
- package/models/create-partner-response-class.ts +7 -0
- package/models/index.ts +5 -0
- package/models/invite-class.ts +85 -0
- package/models/invite-partner-to-eis-response-class.ts +31 -0
- package/models/invite-partner-to-eisrequest-dto.ts +48 -0
- package/models/partner-class.ts +6 -0
- package/models/permission-class.ts +78 -0
- package/models/role-class.ts +79 -0
- package/package.json +1 -1
|
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.
|
|
81
|
+
exports.PartnerTypeApi = exports.PartnerTypeApiFactory = exports.PartnerTypeApiFp = exports.PartnerTypeApiAxiosParamCreator = void 0;
|
|
82
82
|
var axios_1 = __importDefault(require("axios"));
|
|
83
83
|
// Some imports not used depending on template conditions
|
|
84
84
|
// @ts-ignore
|
|
@@ -90,10 +90,10 @@ var base_1 = require("../base");
|
|
|
90
90
|
var url_1 = require("url");
|
|
91
91
|
var FormData = require('form-data');
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* PartnerTypeApi - axios parameter creator
|
|
94
94
|
* @export
|
|
95
95
|
*/
|
|
96
|
-
var
|
|
96
|
+
var PartnerTypeApiAxiosParamCreator = function (configuration) {
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
@@ -372,13 +372,13 @@ var PartnerTypesApiAxiosParamCreator = function (configuration) {
|
|
|
372
372
|
},
|
|
373
373
|
};
|
|
374
374
|
};
|
|
375
|
-
exports.
|
|
375
|
+
exports.PartnerTypeApiAxiosParamCreator = PartnerTypeApiAxiosParamCreator;
|
|
376
376
|
/**
|
|
377
|
-
*
|
|
377
|
+
* PartnerTypeApi - functional programming interface
|
|
378
378
|
* @export
|
|
379
379
|
*/
|
|
380
|
-
var
|
|
381
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
380
|
+
var PartnerTypeApiFp = function (configuration) {
|
|
381
|
+
var localVarAxiosParamCreator = (0, exports.PartnerTypeApiAxiosParamCreator)(configuration);
|
|
382
382
|
return {
|
|
383
383
|
/**
|
|
384
384
|
* This will create a partner type.
|
|
@@ -495,13 +495,13 @@ var PartnerTypesApiFp = function (configuration) {
|
|
|
495
495
|
},
|
|
496
496
|
};
|
|
497
497
|
};
|
|
498
|
-
exports.
|
|
498
|
+
exports.PartnerTypeApiFp = PartnerTypeApiFp;
|
|
499
499
|
/**
|
|
500
|
-
*
|
|
500
|
+
* PartnerTypeApi - factory interface
|
|
501
501
|
* @export
|
|
502
502
|
*/
|
|
503
|
-
var
|
|
504
|
-
var localVarFp = (0, exports.
|
|
503
|
+
var PartnerTypeApiFactory = function (configuration, basePath, axios) {
|
|
504
|
+
var localVarFp = (0, exports.PartnerTypeApiFp)(configuration);
|
|
505
505
|
return {
|
|
506
506
|
/**
|
|
507
507
|
* This will create a partner type.
|
|
@@ -568,79 +568,79 @@ var PartnerTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
568
568
|
},
|
|
569
569
|
};
|
|
570
570
|
};
|
|
571
|
-
exports.
|
|
571
|
+
exports.PartnerTypeApiFactory = PartnerTypeApiFactory;
|
|
572
572
|
/**
|
|
573
|
-
*
|
|
573
|
+
* PartnerTypeApi - object-oriented interface
|
|
574
574
|
* @export
|
|
575
|
-
* @class
|
|
575
|
+
* @class PartnerTypeApi
|
|
576
576
|
* @extends {BaseAPI}
|
|
577
577
|
*/
|
|
578
|
-
var
|
|
579
|
-
__extends(
|
|
580
|
-
function
|
|
578
|
+
var PartnerTypeApi = /** @class */ (function (_super) {
|
|
579
|
+
__extends(PartnerTypeApi, _super);
|
|
580
|
+
function PartnerTypeApi() {
|
|
581
581
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
582
582
|
}
|
|
583
583
|
/**
|
|
584
584
|
* This will create a partner type.
|
|
585
585
|
* @summary Create the partner-types
|
|
586
|
-
* @param {
|
|
586
|
+
* @param {PartnerTypeApiCreatePartnerTypeRequest} requestParameters Request parameters.
|
|
587
587
|
* @param {*} [options] Override http request option.
|
|
588
588
|
* @throws {RequiredError}
|
|
589
|
-
* @memberof
|
|
589
|
+
* @memberof PartnerTypeApi
|
|
590
590
|
*/
|
|
591
|
-
|
|
591
|
+
PartnerTypeApi.prototype.createPartnerType = function (requestParameters, options) {
|
|
592
592
|
var _this = this;
|
|
593
|
-
return (0, exports.
|
|
593
|
+
return (0, exports.PartnerTypeApiFp)(this.configuration).createPartnerType(requestParameters.createPartnerTypeRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
594
594
|
};
|
|
595
595
|
/**
|
|
596
596
|
* Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it.
|
|
597
597
|
* @summary Delete the partner-types
|
|
598
|
-
* @param {
|
|
598
|
+
* @param {PartnerTypeApiDeletePartnerTypeRequest} requestParameters Request parameters.
|
|
599
599
|
* @param {*} [options] Override http request option.
|
|
600
600
|
* @throws {RequiredError}
|
|
601
|
-
* @memberof
|
|
601
|
+
* @memberof PartnerTypeApi
|
|
602
602
|
*/
|
|
603
|
-
|
|
603
|
+
PartnerTypeApi.prototype.deletePartnerType = function (requestParameters, options) {
|
|
604
604
|
var _this = this;
|
|
605
|
-
return (0, exports.
|
|
605
|
+
return (0, exports.PartnerTypeApiFp)(this.configuration).deletePartnerType(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
606
606
|
};
|
|
607
607
|
/**
|
|
608
608
|
* Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
|
|
609
609
|
* @summary Retrieve the partner-types
|
|
610
|
-
* @param {
|
|
610
|
+
* @param {PartnerTypeApiGetPartnerTypeRequest} requestParameters Request parameters.
|
|
611
611
|
* @param {*} [options] Override http request option.
|
|
612
612
|
* @throws {RequiredError}
|
|
613
|
-
* @memberof
|
|
613
|
+
* @memberof PartnerTypeApi
|
|
614
614
|
*/
|
|
615
|
-
|
|
615
|
+
PartnerTypeApi.prototype.getPartnerType = function (requestParameters, options) {
|
|
616
616
|
var _this = this;
|
|
617
|
-
return (0, exports.
|
|
617
|
+
return (0, exports.PartnerTypeApiFp)(this.configuration).getPartnerType(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
618
618
|
};
|
|
619
619
|
/**
|
|
620
620
|
* Returns a list of partner-types you have previously created. The partner-types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
621
621
|
* @summary List partner-types
|
|
622
|
-
* @param {
|
|
622
|
+
* @param {PartnerTypeApiListPartnerTypesRequest} requestParameters Request parameters.
|
|
623
623
|
* @param {*} [options] Override http request option.
|
|
624
624
|
* @throws {RequiredError}
|
|
625
|
-
* @memberof
|
|
625
|
+
* @memberof PartnerTypeApi
|
|
626
626
|
*/
|
|
627
|
-
|
|
627
|
+
PartnerTypeApi.prototype.listPartnerTypes = function (requestParameters, options) {
|
|
628
628
|
var _this = this;
|
|
629
629
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
630
|
-
return (0, exports.
|
|
630
|
+
return (0, exports.PartnerTypeApiFp)(this.configuration).listPartnerTypes(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
631
631
|
};
|
|
632
632
|
/**
|
|
633
633
|
* Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
634
634
|
* @summary Update the partner-types
|
|
635
|
-
* @param {
|
|
635
|
+
* @param {PartnerTypeApiUpdatePartnerTypeRequest} requestParameters Request parameters.
|
|
636
636
|
* @param {*} [options] Override http request option.
|
|
637
637
|
* @throws {RequiredError}
|
|
638
|
-
* @memberof
|
|
638
|
+
* @memberof PartnerTypeApi
|
|
639
639
|
*/
|
|
640
|
-
|
|
640
|
+
PartnerTypeApi.prototype.updatePartnerType = function (requestParameters, options) {
|
|
641
641
|
var _this = this;
|
|
642
|
-
return (0, exports.
|
|
642
|
+
return (0, exports.PartnerTypeApiFp)(this.configuration).updatePartnerType(requestParameters.code, requestParameters.updatePartnerTypeRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
643
643
|
};
|
|
644
|
-
return
|
|
644
|
+
return PartnerTypeApi;
|
|
645
645
|
}(base_1.BaseAPI));
|
|
646
|
-
exports.
|
|
646
|
+
exports.PartnerTypeApi = PartnerTypeApi;
|
package/dist/api.d.ts
CHANGED
|
@@ -10,8 +10,9 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
export * from './api/default-api';
|
|
13
|
-
export * from './api/partner-
|
|
14
|
-
export * from './api/partner-
|
|
15
|
-
export * from './api/partner-
|
|
13
|
+
export * from './api/partner-api';
|
|
14
|
+
export * from './api/partner-invitation-api';
|
|
15
|
+
export * from './api/partner-relation-api';
|
|
16
|
+
export * from './api/partner-tag-api';
|
|
17
|
+
export * from './api/partner-type-api';
|
|
16
18
|
export * from './api/partner-version-api';
|
|
17
|
-
export * from './api/partners-api';
|
package/dist/api.js
CHANGED
|
@@ -28,8 +28,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
__exportStar(require("./api/default-api"), exports);
|
|
31
|
-
__exportStar(require("./api/partner-
|
|
32
|
-
__exportStar(require("./api/partner-
|
|
33
|
-
__exportStar(require("./api/partner-
|
|
31
|
+
__exportStar(require("./api/partner-api"), exports);
|
|
32
|
+
__exportStar(require("./api/partner-invitation-api"), exports);
|
|
33
|
+
__exportStar(require("./api/partner-relation-api"), exports);
|
|
34
|
+
__exportStar(require("./api/partner-tag-api"), exports);
|
|
35
|
+
__exportStar(require("./api/partner-type-api"), exports);
|
|
34
36
|
__exportStar(require("./api/partner-version-api"), exports);
|
|
35
|
-
__exportStar(require("./api/partners-api"), exports);
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { InviteClass } from './invite-class';
|
|
12
13
|
import { PartnerClass } from './partner-class';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -22,4 +23,10 @@ export interface CreatePartnerResponseClass {
|
|
|
22
23
|
* @memberof CreatePartnerResponseClass
|
|
23
24
|
*/
|
|
24
25
|
'partner': PartnerClass;
|
|
26
|
+
/**
|
|
27
|
+
* The invite response.
|
|
28
|
+
* @type {InviteClass}
|
|
29
|
+
* @memberof CreatePartnerResponseClass
|
|
30
|
+
*/
|
|
31
|
+
'invite': InviteClass;
|
|
25
32
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -15,6 +15,9 @@ export * from './get-partner-version-response-class';
|
|
|
15
15
|
export * from './get-tag-response-class';
|
|
16
16
|
export * from './inline-response200';
|
|
17
17
|
export * from './inline-response503';
|
|
18
|
+
export * from './invite-class';
|
|
19
|
+
export * from './invite-partner-to-eisrequest-dto';
|
|
20
|
+
export * from './invite-partner-to-eis-response-class';
|
|
18
21
|
export * from './list-partner-relation-class';
|
|
19
22
|
export * from './list-partner-relation-types-class';
|
|
20
23
|
export * from './list-partner-types-response-class';
|
|
@@ -25,6 +28,8 @@ export * from './partner-class';
|
|
|
25
28
|
export * from './partner-relation-class';
|
|
26
29
|
export * from './partner-relation-type-class';
|
|
27
30
|
export * from './partner-type-class';
|
|
31
|
+
export * from './permission-class';
|
|
32
|
+
export * from './role-class';
|
|
28
33
|
export * from './tag-class';
|
|
29
34
|
export * from './tag-partner-request-dto-rest';
|
|
30
35
|
export * from './update-partner-relation-request-dto-rest';
|
package/dist/models/index.js
CHANGED
|
@@ -31,6 +31,9 @@ __exportStar(require("./get-partner-version-response-class"), exports);
|
|
|
31
31
|
__exportStar(require("./get-tag-response-class"), exports);
|
|
32
32
|
__exportStar(require("./inline-response200"), exports);
|
|
33
33
|
__exportStar(require("./inline-response503"), exports);
|
|
34
|
+
__exportStar(require("./invite-class"), exports);
|
|
35
|
+
__exportStar(require("./invite-partner-to-eisrequest-dto"), exports);
|
|
36
|
+
__exportStar(require("./invite-partner-to-eis-response-class"), exports);
|
|
34
37
|
__exportStar(require("./list-partner-relation-class"), exports);
|
|
35
38
|
__exportStar(require("./list-partner-relation-types-class"), exports);
|
|
36
39
|
__exportStar(require("./list-partner-types-response-class"), exports);
|
|
@@ -41,6 +44,8 @@ __exportStar(require("./partner-class"), exports);
|
|
|
41
44
|
__exportStar(require("./partner-relation-class"), exports);
|
|
42
45
|
__exportStar(require("./partner-relation-type-class"), exports);
|
|
43
46
|
__exportStar(require("./partner-type-class"), exports);
|
|
47
|
+
__exportStar(require("./permission-class"), exports);
|
|
48
|
+
__exportStar(require("./role-class"), exports);
|
|
44
49
|
__exportStar(require("./tag-class"), exports);
|
|
45
50
|
__exportStar(require("./tag-partner-request-dto-rest"), exports);
|
|
46
51
|
__exportStar(require("./update-partner-relation-request-dto-rest"), exports);
|
|
@@ -0,0 +1,79 @@
|
|
|
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 { RoleClass } from './role-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface InviteClass
|
|
17
|
+
*/
|
|
18
|
+
export interface InviteClass {
|
|
19
|
+
/**
|
|
20
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof InviteClass
|
|
23
|
+
*/
|
|
24
|
+
'id': number;
|
|
25
|
+
/**
|
|
26
|
+
* User email address.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof InviteClass
|
|
29
|
+
*/
|
|
30
|
+
'email': string;
|
|
31
|
+
/**
|
|
32
|
+
* Roles associated with the invite.
|
|
33
|
+
* @type {Array<RoleClass>}
|
|
34
|
+
* @memberof InviteClass
|
|
35
|
+
*/
|
|
36
|
+
'roles': Array<RoleClass>;
|
|
37
|
+
/**
|
|
38
|
+
* Expiry date of invitation email.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof InviteClass
|
|
41
|
+
*/
|
|
42
|
+
'expiresOn': string;
|
|
43
|
+
/**
|
|
44
|
+
* Time at which the object was created.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof InviteClass
|
|
47
|
+
*/
|
|
48
|
+
'createdAt': string;
|
|
49
|
+
/**
|
|
50
|
+
* Time at which the object was updated.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof InviteClass
|
|
53
|
+
*/
|
|
54
|
+
'updatedAt': string;
|
|
55
|
+
/**
|
|
56
|
+
* Identifier of the user who created the record.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof InviteClass
|
|
59
|
+
*/
|
|
60
|
+
'createdBy': string;
|
|
61
|
+
/**
|
|
62
|
+
* Identifier of the user who last updated the record.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof InviteClass
|
|
65
|
+
*/
|
|
66
|
+
'updatedBy': string;
|
|
67
|
+
/**
|
|
68
|
+
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof InviteClass
|
|
71
|
+
*/
|
|
72
|
+
'ern': string;
|
|
73
|
+
/**
|
|
74
|
+
* Optional metadata associated with the invite - useful for passing data to the front end for custom logic.
|
|
75
|
+
* @type {object}
|
|
76
|
+
* @memberof InviteClass
|
|
77
|
+
*/
|
|
78
|
+
'metadata': object;
|
|
79
|
+
}
|
|
@@ -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,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 { InviteClass } from './invite-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface InvitePartnerToEisResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface InvitePartnerToEisResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The invite response.
|
|
21
|
+
* @type {InviteClass}
|
|
22
|
+
* @memberof InvitePartnerToEisResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'invite': InviteClass;
|
|
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,42 @@
|
|
|
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 InvitePartnerToEISRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface InvitePartnerToEISRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* The code of the partner that will be invited to EIS .
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InvitePartnerToEISRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'partnerCode': string;
|
|
24
|
+
/**
|
|
25
|
+
* The email address of the partner to be invited to the EIS platform.This email address will be used to send the invitation link to the partner.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InvitePartnerToEISRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'signupEmail': string;
|
|
30
|
+
/**
|
|
31
|
+
* The partner will be invited to the given organization id in the EIS platform. If the organiztion id is not provided, the partner will be invited to the root tenant.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof InvitePartnerToEISRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'organizationId'?: number;
|
|
36
|
+
/**
|
|
37
|
+
* After signing up the invited partner will have the provided roles.
|
|
38
|
+
* @type {Array<number>}
|
|
39
|
+
* @memberof InvitePartnerToEISRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'roleIds': Array<number>;
|
|
42
|
+
}
|
|
@@ -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 });
|
|
@@ -76,6 +76,12 @@ export interface PartnerClass {
|
|
|
76
76
|
* @memberof PartnerClass
|
|
77
77
|
*/
|
|
78
78
|
'tags': Array<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The user code of the partner
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof PartnerClass
|
|
83
|
+
*/
|
|
84
|
+
'tenantUserCode'?: string;
|
|
79
85
|
/**
|
|
80
86
|
* Identifier of the user who created the record.
|
|
81
87
|
* @type {string}
|
|
@@ -0,0 +1,72 @@
|
|
|
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 PermissionClass
|
|
16
|
+
*/
|
|
17
|
+
export interface PermissionClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PermissionClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for the object.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PermissionClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* Permission module.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PermissionClass
|
|
34
|
+
*/
|
|
35
|
+
'module': string;
|
|
36
|
+
/**
|
|
37
|
+
* Permission entity.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PermissionClass
|
|
40
|
+
*/
|
|
41
|
+
'entity': string;
|
|
42
|
+
/**
|
|
43
|
+
* Permission action.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PermissionClass
|
|
46
|
+
*/
|
|
47
|
+
'action': string;
|
|
48
|
+
/**
|
|
49
|
+
* Time at which the object was created.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PermissionClass
|
|
52
|
+
*/
|
|
53
|
+
'createdAt': string;
|
|
54
|
+
/**
|
|
55
|
+
* Time at which the object was updated.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PermissionClass
|
|
58
|
+
*/
|
|
59
|
+
'updatedAt': string;
|
|
60
|
+
/**
|
|
61
|
+
* Identifier of the user who created the record.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PermissionClass
|
|
64
|
+
*/
|
|
65
|
+
'createdBy': string;
|
|
66
|
+
/**
|
|
67
|
+
* Identifier of the user who last updated the record.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof PermissionClass
|
|
70
|
+
*/
|
|
71
|
+
'updatedBy': string;
|
|
72
|
+
}
|
|
@@ -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,73 @@
|
|
|
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 { PermissionClass } from './permission-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface RoleClass
|
|
17
|
+
*/
|
|
18
|
+
export interface RoleClass {
|
|
19
|
+
/**
|
|
20
|
+
* Unique identifier for the object.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof RoleClass
|
|
23
|
+
*/
|
|
24
|
+
'code': string;
|
|
25
|
+
/**
|
|
26
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof RoleClass
|
|
29
|
+
*/
|
|
30
|
+
'id': number;
|
|
31
|
+
/**
|
|
32
|
+
* Short description of the role.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof RoleClass
|
|
35
|
+
*/
|
|
36
|
+
'description': string;
|
|
37
|
+
/**
|
|
38
|
+
* Role label.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof RoleClass
|
|
41
|
+
*/
|
|
42
|
+
'label': string;
|
|
43
|
+
/**
|
|
44
|
+
* Permissions associated with the role.
|
|
45
|
+
* @type {Array<PermissionClass>}
|
|
46
|
+
* @memberof RoleClass
|
|
47
|
+
*/
|
|
48
|
+
'permissions': Array<PermissionClass>;
|
|
49
|
+
/**
|
|
50
|
+
* Time at which the object was created.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof RoleClass
|
|
53
|
+
*/
|
|
54
|
+
'createdAt': string;
|
|
55
|
+
/**
|
|
56
|
+
* Time at which the object was updated.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof RoleClass
|
|
59
|
+
*/
|
|
60
|
+
'updatedAt': string;
|
|
61
|
+
/**
|
|
62
|
+
* Identifier of the user who created the record.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof RoleClass
|
|
65
|
+
*/
|
|
66
|
+
'createdBy': string;
|
|
67
|
+
/**
|
|
68
|
+
* Identifier of the user who last updated the record.
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof RoleClass
|
|
71
|
+
*/
|
|
72
|
+
'updatedBy': string;
|
|
73
|
+
}
|
|
@@ -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 });
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { InviteClass } from './invite-class';
|
|
16
17
|
import { PartnerClass } from './partner-class';
|
|
17
18
|
|
|
18
19
|
/**
|
|
@@ -27,5 +28,11 @@ export interface CreatePartnerResponseClass {
|
|
|
27
28
|
* @memberof CreatePartnerResponseClass
|
|
28
29
|
*/
|
|
29
30
|
'partner': PartnerClass;
|
|
31
|
+
/**
|
|
32
|
+
* The invite response.
|
|
33
|
+
* @type {InviteClass}
|
|
34
|
+
* @memberof CreatePartnerResponseClass
|
|
35
|
+
*/
|
|
36
|
+
'invite': InviteClass;
|
|
30
37
|
}
|
|
31
38
|
|