@cinerino/sdk 3.162.0-alpha.3 → 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
- 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
  */
8241
- ProjectService.prototype.findById = function (params) {
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) {
@@ -1,5 +1,5 @@
1
1
  import * as factory from '../factory';
2
- import { IOptions, IProjectionSearchConditions, Service } from '../service';
2
+ import { IOptions, Service } from '../service';
3
3
  export interface IGetHealthResult {
4
4
  version?: string;
5
5
  status?: number;
@@ -19,11 +19,11 @@ export declare class ProjectService extends Service<IOptions> {
19
19
  * 廃止(2023-07-26~)
20
20
  */
21
21
  /**
22
- * プロジェクト取得
22
+ * プロジェクト設定検索
23
23
  */
24
- findById(params: {
24
+ findSettingsById(params: {
25
25
  id: string;
26
- } & IProjectionSearchConditions): Promise<factory.project.IProject>;
26
+ }): Promise<factory.project.ISettings>;
27
27
  /**
28
28
  * プロジェクト更新
29
29
  */
@@ -123,18 +123,16 @@ var ProjectService = /** @class */ (function (_super) {
123
123
  // });
124
124
  // }
125
125
  /**
126
- * プロジェクト取得
126
+ * プロジェクト設定検索
127
127
  */
128
- ProjectService.prototype.findById = function (params) {
128
+ ProjectService.prototype.findSettingsById = function (params) {
129
129
  return __awaiter(this, void 0, void 0, function () {
130
- var id, query;
131
130
  var _this = this;
132
131
  return __generator(this, function (_a) {
133
- id = params.id, query = __rest(params, ["id"]);
134
132
  return [2 /*return*/, this.fetch({
135
- uri: "/projects/" + id,
133
+ uri: "/projects/" + params.id + "/settings",
136
134
  method: 'GET',
137
- qs: query,
135
+ // qs: query,
138
136
  expectedStatusCodes: [http_status_1.OK]
139
137
  })
140
138
  .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
package/lib/bundle.js CHANGED
@@ -8227,18 +8227,16 @@ var ProjectService = /** @class */ (function (_super) {
8227
8227
  // });
8228
8228
  // }
8229
8229
  /**
8230
- * プロジェクト取得
8230
+ * プロジェクト設定検索
8231
8231
  */
8232
- ProjectService.prototype.findById = function (params) {
8232
+ ProjectService.prototype.findSettingsById = function (params) {
8233
8233
  return __awaiter(this, void 0, void 0, function () {
8234
- var id, query;
8235
8234
  var _this = this;
8236
8235
  return __generator(this, function (_a) {
8237
- id = params.id, query = __rest(params, ["id"]);
8238
8236
  return [2 /*return*/, this.fetch({
8239
- uri: "/projects/" + id,
8237
+ uri: "/projects/" + params.id + "/settings",
8240
8238
  method: 'GET',
8241
- qs: query,
8239
+ // qs: query,
8242
8240
  expectedStatusCodes: [http_status_1.OK]
8243
8241
  })
8244
8242
  .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cinerino/sdk",
3
- "version": "3.162.0-alpha.3",
3
+ "version": "3.162.0-alpha.4",
4
4
  "description": "Cinerino SDK",
5
5
  "main": "./lib/index.js",
6
6
  "browser": {