@cinerino/sdk 3.157.0-alpha.3 → 3.157.0-alpha.5

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.
@@ -15,9 +15,6 @@ export declare class ReservationService extends Service {
15
15
  /**
16
16
  * 予約取得
17
17
  */
18
- findById<T extends factory.reservationType>(params: {
19
- id: string;
20
- }): Promise<factory.reservation.IReservation<T>>;
21
18
  /**
22
19
  * 予約部分更新
23
20
  */
@@ -93,22 +93,17 @@ var ReservationService = /** @class */ (function (_super) {
93
93
  /**
94
94
  * 予約取得
95
95
  */
96
- ReservationService.prototype.findById = function (params) {
97
- return __awaiter(this, void 0, void 0, function () {
98
- var _this = this;
99
- return __generator(this, function (_a) {
100
- return [2 /*return*/, this.fetch({
101
- uri: "/reservations/" + encodeURIComponent(String(params.id)),
102
- method: 'GET',
103
- // qs: params,
104
- expectedStatusCodes: [http_status_1.OK]
105
- })
106
- .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
107
- return [2 /*return*/, response.json()];
108
- }); }); })];
109
- });
110
- });
111
- };
96
+ // public async findById<T extends factory.reservationType>(params: {
97
+ // id: string;
98
+ // }): Promise<factory.reservation.IReservation<T>> {
99
+ // return this.fetch({
100
+ // uri: `/reservations/${encodeURIComponent(String(params.id))}`,
101
+ // method: 'GET',
102
+ // // qs: params,
103
+ // expectedStatusCodes: [OK]
104
+ // })
105
+ // .then(async (response) => response.json());
106
+ // }
112
107
  /**
113
108
  * 予約部分更新
114
109
  */