@cinerino/sdk 3.162.0-alpha.2 → 3.162.0-alpha.4
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.
|
@@ -8209,45 +8209,34 @@ var ProjectService = /** @class */ (function (_super) {
|
|
|
8209
8209
|
};
|
|
8210
8210
|
/**
|
|
8211
8211
|
* プロジェクト検索
|
|
8212
|
+
* 廃止(2023-07-26~)
|
|
8212
8213
|
*/
|
|
8213
|
-
|
|
8214
|
-
|
|
8215
|
-
|
|
8216
|
-
|
|
8217
|
-
|
|
8218
|
-
|
|
8219
|
-
|
|
8220
|
-
|
|
8221
|
-
|
|
8222
|
-
|
|
8223
|
-
|
|
8224
|
-
|
|
8225
|
-
|
|
8226
|
-
|
|
8227
|
-
|
|
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
|
*/
|
|
8241
|
-
ProjectService.prototype.
|
|
8232
|
+
ProjectService.prototype.findSettingsById = function (params) {
|
|
8242
8233
|
return __awaiter(this, void 0, void 0, function () {
|
|
8243
|
-
var id, query;
|
|
8244
8234
|
var _this = this;
|
|
8245
8235
|
return __generator(this, function (_a) {
|
|
8246
|
-
id = params.id, query = __rest(params, ["id"]);
|
|
8247
8236
|
return [2 /*return*/, this.fetch({
|
|
8248
|
-
uri: "/projects/" + id,
|
|
8237
|
+
uri: "/projects/" + params.id + "/settings",
|
|
8249
8238
|
method: 'GET',
|
|
8250
|
-
qs: query,
|
|
8239
|
+
// qs: query,
|
|
8251
8240
|
expectedStatusCodes: [http_status_1.OK]
|
|
8252
8241
|
})
|
|
8253
8242
|
.then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
@@ -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,
|
|
2
|
+
import { IOptions, Service } from '../service';
|
|
3
3
|
export interface IGetHealthResult {
|
|
4
4
|
version?: string;
|
|
5
5
|
status?: number;
|
|
@@ -16,14 +16,14 @@ 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
|
*/
|
|
24
|
-
|
|
24
|
+
findSettingsById(params: {
|
|
25
25
|
id: string;
|
|
26
|
-
}
|
|
26
|
+
}): Promise<factory.project.ISettings>;
|
|
27
27
|
/**
|
|
28
28
|
* プロジェクト更新
|
|
29
29
|
*/
|
|
@@ -105,45 +105,34 @@ var ProjectService = /** @class */ (function (_super) {
|
|
|
105
105
|
};
|
|
106
106
|
/**
|
|
107
107
|
* プロジェクト検索
|
|
108
|
+
* 廃止(2023-07-26~)
|
|
108
109
|
*/
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
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
|
*/
|
|
137
|
-
ProjectService.prototype.
|
|
128
|
+
ProjectService.prototype.findSettingsById = function (params) {
|
|
138
129
|
return __awaiter(this, void 0, void 0, function () {
|
|
139
|
-
var id, query;
|
|
140
130
|
var _this = this;
|
|
141
131
|
return __generator(this, function (_a) {
|
|
142
|
-
id = params.id, query = __rest(params, ["id"]);
|
|
143
132
|
return [2 /*return*/, this.fetch({
|
|
144
|
-
uri: "/projects/" + id,
|
|
133
|
+
uri: "/projects/" + params.id + "/settings",
|
|
145
134
|
method: 'GET',
|
|
146
|
-
qs: query,
|
|
135
|
+
// qs: query,
|
|
147
136
|
expectedStatusCodes: [http_status_1.OK]
|
|
148
137
|
})
|
|
149
138
|
.then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
package/lib/bundle.js
CHANGED
|
@@ -8209,45 +8209,34 @@ var ProjectService = /** @class */ (function (_super) {
|
|
|
8209
8209
|
};
|
|
8210
8210
|
/**
|
|
8211
8211
|
* プロジェクト検索
|
|
8212
|
+
* 廃止(2023-07-26~)
|
|
8212
8213
|
*/
|
|
8213
|
-
|
|
8214
|
-
|
|
8215
|
-
|
|
8216
|
-
|
|
8217
|
-
|
|
8218
|
-
|
|
8219
|
-
|
|
8220
|
-
|
|
8221
|
-
|
|
8222
|
-
|
|
8223
|
-
|
|
8224
|
-
|
|
8225
|
-
|
|
8226
|
-
|
|
8227
|
-
|
|
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
|
*/
|
|
8241
|
-
ProjectService.prototype.
|
|
8232
|
+
ProjectService.prototype.findSettingsById = function (params) {
|
|
8242
8233
|
return __awaiter(this, void 0, void 0, function () {
|
|
8243
|
-
var id, query;
|
|
8244
8234
|
var _this = this;
|
|
8245
8235
|
return __generator(this, function (_a) {
|
|
8246
|
-
id = params.id, query = __rest(params, ["id"]);
|
|
8247
8236
|
return [2 /*return*/, this.fetch({
|
|
8248
|
-
uri: "/projects/" + id,
|
|
8237
|
+
uri: "/projects/" + params.id + "/settings",
|
|
8249
8238
|
method: 'GET',
|
|
8250
|
-
qs: query,
|
|
8239
|
+
// qs: query,
|
|
8251
8240
|
expectedStatusCodes: [http_status_1.OK]
|
|
8252
8241
|
})
|
|
8253
8242
|
.then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|