@cinerino/sdk 10.21.0 → 10.22.0-alpha.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.
@@ -36,7 +36,7 @@ export declare class IAMService extends Service {
36
36
  /**
37
37
  * IAMロール検索
38
38
  */
39
- searchRoles(params: factory.iam.IRoleSearchConditions): Promise<ISearchResult<factory.iam.IRole[]>>;
39
+ projectRoles(params: factory.iam.IRoleSearchConditions): Promise<factory.iam.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.searchRoles = function (params) {
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
- var _a;
178
- return __generator(this, function (_b) {
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
  };
package/lib/bundle.js CHANGED
@@ -7188,7 +7188,7 @@ var IAMService = /** @class */ (function (_super) {
7188
7188
  /**
7189
7189
  * IAMロール検索
7190
7190
  */
7191
- IAMService.prototype.searchRoles = function (params) {
7191
+ IAMService.prototype.projectRoles = function (params) {
7192
7192
  return __awaiter(this, void 0, void 0, function () {
7193
7193
  var _this = this;
7194
7194
  return __generator(this, function (_a) {
@@ -7198,18 +7198,9 @@ var IAMService = /** @class */ (function (_super) {
7198
7198
  qs: params,
7199
7199
  expectedStatusCodes: [http_status_1.OK]
7200
7200
  })
7201
- .then(function (response) { return __awaiter(_this, void 0, void 0, function () {
7202
- var _a;
7203
- return __generator(this, function (_b) {
7204
- switch (_b.label) {
7205
- case 0:
7206
- _a = {};
7207
- return [4 /*yield*/, response.json()];
7208
- case 1: return [2 /*return*/, (_a.data = _b.sent(),
7209
- _a)];
7210
- }
7211
- });
7212
- }); })];
7201
+ .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
7202
+ return [2 /*return*/, response.json()];
7203
+ }); }); })];
7213
7204
  });
7214
7205
  });
7215
7206
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cinerino/sdk",
3
- "version": "10.21.0",
3
+ "version": "10.22.0-alpha.0",
4
4
  "description": "Cinerino SDK",
5
5
  "main": "./lib/index.js",
6
6
  "browser": {
@@ -92,7 +92,7 @@
92
92
  "watchify": "^3.11.1"
93
93
  },
94
94
  "dependencies": {
95
- "@chevre/factory": "4.394.0-alpha.5",
95
+ "@chevre/factory": "4.394.0-alpha.6",
96
96
  "debug": "3.2.7",
97
97
  "http-status": "1.7.4",
98
98
  "idtoken-verifier": "2.0.3",