@cinerino/sdk 3.162.0-alpha.2 → 3.162.0-alpha.3

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.
@@ -4,6 +4,7 @@ export interface ISearchProjectConditions {
4
4
  limit?: number;
5
5
  page?: number;
6
6
  id?: {
7
+ $eq?: string;
7
8
  $regex?: string;
8
9
  };
9
10
  }
@@ -15,7 +16,7 @@ export declare class MeService extends Service<IOptions> {
15
16
  /**
16
17
  * マイプロジェクト検索
17
18
  */
18
- searchProjects(params: ISearchProjectConditions): Promise<ISearchResult<factory.project.IProject[]>>;
19
+ searchProjects(params: ISearchProjectConditions): Promise<ISearchResult<Omit<factory.project.IProject, 'settings'>[]>>;
19
20
  /**
20
21
  * リクエストユーザーのPMとしてのロールを検索する
21
22
  */
@@ -1,5 +1,5 @@
1
1
  import * as factory from '../factory';
2
- import { IOptions, IProjectionSearchConditions, ISearchResult, Service } from '../service';
2
+ import { IOptions, IProjectionSearchConditions, Service } from '../service';
3
3
  export interface IGetHealthResult {
4
4
  version?: string;
5
5
  status?: number;
@@ -16,8 +16,8 @@ export declare class ProjectService extends Service<IOptions> {
16
16
  create(params: factory.project.IProject): Promise<factory.project.IProject>;
17
17
  /**
18
18
  * プロジェクト検索
19
+ * 廃止(2023-07-26~)
19
20
  */
20
- search(params: factory.project.ISearchConditions & IProjectionSearchConditions): Promise<ISearchResult<factory.project.IProject[]>>;
21
21
  /**
22
22
  * プロジェクト取得
23
23
  */
@@ -105,32 +105,23 @@ var ProjectService = /** @class */ (function (_super) {
105
105
  };
106
106
  /**
107
107
  * プロジェクト検索
108
+ * 廃止(2023-07-26~)
108
109
  */
109
- ProjectService.prototype.search = function (params) {
110
- return __awaiter(this, void 0, void 0, function () {
111
- var _this = this;
112
- return __generator(this, function (_a) {
113
- return [2 /*return*/, this.fetch({
114
- uri: '/projects',
115
- method: 'GET',
116
- qs: params,
117
- expectedStatusCodes: [http_status_1.OK]
118
- })
119
- .then(function (response) { return __awaiter(_this, void 0, void 0, function () {
120
- var _a;
121
- return __generator(this, function (_b) {
122
- switch (_b.label) {
123
- case 0:
124
- _a = {};
125
- return [4 /*yield*/, response.json()];
126
- case 1: return [2 /*return*/, (_a.data = _b.sent(),
127
- _a)];
128
- }
129
- });
130
- }); })];
131
- });
132
- });
133
- };
110
+ // public async search(
111
+ // params: factory.project.ISearchConditions & IProjectionSearchConditions
112
+ // ): Promise<ISearchResult<factory.project.IProject[]>> {
113
+ // return this.fetch({
114
+ // uri: '/projects',
115
+ // method: 'GET',
116
+ // qs: params,
117
+ // expectedStatusCodes: [OK]
118
+ // })
119
+ // .then(async (response) => {
120
+ // return {
121
+ // data: await response.json()
122
+ // };
123
+ // });
124
+ // }
134
125
  /**
135
126
  * プロジェクト取得
136
127
  */
package/lib/bundle.js CHANGED
@@ -8209,32 +8209,23 @@ var ProjectService = /** @class */ (function (_super) {
8209
8209
  };
8210
8210
  /**
8211
8211
  * プロジェクト検索
8212
+ * 廃止(2023-07-26~)
8212
8213
  */
8213
- ProjectService.prototype.search = function (params) {
8214
- return __awaiter(this, void 0, void 0, function () {
8215
- var _this = this;
8216
- return __generator(this, function (_a) {
8217
- return [2 /*return*/, this.fetch({
8218
- uri: '/projects',
8219
- method: 'GET',
8220
- qs: params,
8221
- expectedStatusCodes: [http_status_1.OK]
8222
- })
8223
- .then(function (response) { return __awaiter(_this, void 0, void 0, function () {
8224
- var _a;
8225
- return __generator(this, function (_b) {
8226
- switch (_b.label) {
8227
- case 0:
8228
- _a = {};
8229
- return [4 /*yield*/, response.json()];
8230
- case 1: return [2 /*return*/, (_a.data = _b.sent(),
8231
- _a)];
8232
- }
8233
- });
8234
- }); })];
8235
- });
8236
- });
8237
- };
8214
+ // public async search(
8215
+ // params: factory.project.ISearchConditions & IProjectionSearchConditions
8216
+ // ): Promise<ISearchResult<factory.project.IProject[]>> {
8217
+ // return this.fetch({
8218
+ // uri: '/projects',
8219
+ // method: 'GET',
8220
+ // qs: params,
8221
+ // expectedStatusCodes: [OK]
8222
+ // })
8223
+ // .then(async (response) => {
8224
+ // return {
8225
+ // data: await response.json()
8226
+ // };
8227
+ // });
8228
+ // }
8238
8229
  /**
8239
8230
  * プロジェクト取得
8240
8231
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cinerino/sdk",
3
- "version": "3.162.0-alpha.2",
3
+ "version": "3.162.0-alpha.3",
4
4
  "description": "Cinerino SDK",
5
5
  "main": "./lib/index.js",
6
6
  "browser": {