@cinerino/sdk 10.21.0 → 10.22.0-alpha.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.
- package/example/playground/public/lib/bundle.js +375 -333
- package/example/src/cloud/adminAuthorizations.ts +1 -1
- package/lib/abstract/chevreAdmin/authorization.d.ts +1 -1
- package/lib/abstract/chevreAdmin/iam.d.ts +1 -1
- package/lib/abstract/chevreAdmin/iam.js +4 -13
- package/lib/bundle.js +319 -314
- package/package.json +2 -2
|
@@ -34,7 +34,7 @@ async function main() {
|
|
|
34
34
|
if (applications.length > 0) {
|
|
35
35
|
const result = await authorizationService.create([{
|
|
36
36
|
object: {
|
|
37
|
-
typeOf: factory.
|
|
37
|
+
typeOf: factory.role.RoleType.OrganizationRole,
|
|
38
38
|
member: {
|
|
39
39
|
hasRole: [
|
|
40
40
|
{ roleName: 'sellers.inventoryManager' }
|
|
@@ -36,7 +36,7 @@ export declare class IAMService extends Service {
|
|
|
36
36
|
/**
|
|
37
37
|
* IAMロール検索
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
projectRoles(params: factory.role.organizationRole.ISearchConditions): Promise<factory.role.organizationRole.IRole[]>;
|
|
40
40
|
/**
|
|
41
41
|
* IAMメンバー作成
|
|
42
42
|
*/
|
|
@@ -163,7 +163,7 @@ var IAMService = /** @class */ (function (_super) {
|
|
|
163
163
|
/**
|
|
164
164
|
* IAMロール検索
|
|
165
165
|
*/
|
|
166
|
-
IAMService.prototype.
|
|
166
|
+
IAMService.prototype.projectRoles = function (params) {
|
|
167
167
|
return __awaiter(this, void 0, void 0, function () {
|
|
168
168
|
var _this = this;
|
|
169
169
|
return __generator(this, function (_a) {
|
|
@@ -173,18 +173,9 @@ var IAMService = /** @class */ (function (_super) {
|
|
|
173
173
|
qs: params,
|
|
174
174
|
expectedStatusCodes: [http_status_1.OK]
|
|
175
175
|
})
|
|
176
|
-
.then(function (response) { return __awaiter(_this, void 0, void 0, function () {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
switch (_b.label) {
|
|
180
|
-
case 0:
|
|
181
|
-
_a = {};
|
|
182
|
-
return [4 /*yield*/, response.json()];
|
|
183
|
-
case 1: return [2 /*return*/, (_a.data = _b.sent(),
|
|
184
|
-
_a)];
|
|
185
|
-
}
|
|
186
|
-
});
|
|
187
|
-
}); })];
|
|
176
|
+
.then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
177
|
+
return [2 /*return*/, response.json()];
|
|
178
|
+
}); }); })];
|
|
188
179
|
});
|
|
189
180
|
});
|
|
190
181
|
};
|