@cinerino/sdk 12.5.0-alpha.16 → 12.5.0-alpha.17

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.
@@ -7,6 +7,15 @@ declare type ICategoryCodeExceptMovieTicketType = Pick<factory.categoryCode.ICat
7
7
  identifier: CategorySetIdentifierExceptMovieTicketType;
8
8
  };
9
9
  };
10
+ declare type IFindParamsExceptMovieTicketType = Pick<factory.categoryCode.ISearchConditions, 'additionalProperty' | 'codeValue' | 'id' | 'limit' | 'name' | 'page' | 'sort'> & {
11
+ inCodeSet?: {
12
+ identifier?: {
13
+ $eq?: CategorySetIdentifierExceptMovieTicketType;
14
+ $in?: CategorySetIdentifierExceptMovieTicketType[];
15
+ };
16
+ };
17
+ paymentMethod?: never;
18
+ };
10
19
  /**
11
20
  * 区分サービス
12
21
  */
@@ -25,7 +34,7 @@ export declare class CategoryCodeService extends Service {
25
34
  /**
26
35
  * 検索
27
36
  */
28
- search(params: Omit<factory.categoryCode.ISearchConditions, 'project'>): Promise<{
37
+ search(params: IFindParamsExceptMovieTicketType): Promise<{
29
38
  data: factory.categoryCode.ICategoryCode[];
30
39
  }>;
31
40
  /**
@@ -34,9 +43,19 @@ export declare class CategoryCodeService extends Service {
34
43
  findCategoryCodesExceptMovieTicketTypes(params: Omit<factory.categoryCode.ISearchConditions, 'project'> & {
35
44
  excludeMovieTicketType?: boolean;
36
45
  }): Promise<ICategoryCodeExceptMovieTicketType[]>;
37
- findById(params: {
38
- id: string;
39
- }): Promise<factory.categoryCode.ICategoryCode>;
46
+ /**
47
+ * 決済カード区分検索
48
+ * support(2025-10-21~)
49
+ */
50
+ findMovieTicketTypes(params: Pick<factory.categoryCode.ISearchConditions, 'additionalProperty' | 'codeValue' | 'id' | 'name' | 'paymentMethod' | 'sort'> & {
51
+ limit: number;
52
+ page: number;
53
+ inCodeSet: {
54
+ identifier: {
55
+ $eq: factory.categoryCode.CategorySetIdentifier.MovieTicketType;
56
+ };
57
+ };
58
+ }): Promise<factory.categoryCode.ICategoryCode[]>;
40
59
  update(params: factory.categoryCode.ICategoryCode & {
41
60
  $unset?: never;
42
61
  }): Promise<void>;
@@ -139,13 +139,18 @@ var CategoryCodeService = /** @class */ (function (_super) {
139
139
  });
140
140
  });
141
141
  };
142
- CategoryCodeService.prototype.findById = function (params) {
142
+ /**
143
+ * 決済カード区分検索
144
+ * support(2025-10-21~)
145
+ */
146
+ CategoryCodeService.prototype.findMovieTicketTypes = function (params) {
143
147
  return __awaiter(this, void 0, void 0, function () {
144
148
  var _this = this;
145
149
  return __generator(this, function (_a) {
146
150
  return [2 /*return*/, this.fetch({
147
- uri: "/categoryCodes/" + encodeURIComponent(String(params.id)),
151
+ uri: '/movieTicketTypes',
148
152
  method: 'GET',
153
+ qs: params,
149
154
  expectedStatusCodes: [http_status_1.OK]
150
155
  })
151
156
  .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
@@ -154,6 +159,15 @@ var CategoryCodeService = /** @class */ (function (_super) {
154
159
  });
155
160
  });
156
161
  };
162
+ // discontinue(2025-10-21~)
163
+ // public async findById(params: { id: string }): Promise<factory.categoryCode.ICategoryCode> {
164
+ // return this.fetch({
165
+ // uri: `/categoryCodes/${encodeURIComponent(String(params.id))}`,
166
+ // method: 'GET',
167
+ // expectedStatusCodes: [OK]
168
+ // })
169
+ // .then(async (response) => response.json());
170
+ // }
157
171
  CategoryCodeService.prototype.update = function (params) {
158
172
  return __awaiter(this, void 0, void 0, function () {
159
173
  return __generator(this, function (_a) {
@@ -1,6 +1,11 @@
1
1
  import * as factory from '../factory';
2
2
  import { Service } from '../service';
3
- declare type ICategory = Pick<factory.categoryCode.ICategoryCode, 'codeValue' | 'inCodeSet'>;
3
+ declare type ICategory = Pick<factory.categoryCode.ICategoryCode, 'codeValue'> & {
4
+ inCodeSet: {
5
+ typeOf: 'CategoryCodeSet';
6
+ identifier: factory.categoryCode.CategorySetIdentifier.SeatingType;
7
+ };
8
+ };
4
9
  interface IProductModel {
5
10
  id?: string;
6
11
  project: {
package/lib/bundle.js CHANGED
@@ -9502,13 +9502,18 @@ var CategoryCodeService = /** @class */ (function (_super) {
9502
9502
  });
9503
9503
  });
9504
9504
  };
9505
- CategoryCodeService.prototype.findById = function (params) {
9505
+ /**
9506
+ * 決済カード区分検索
9507
+ * support(2025-10-21~)
9508
+ */
9509
+ CategoryCodeService.prototype.findMovieTicketTypes = function (params) {
9506
9510
  return __awaiter(this, void 0, void 0, function () {
9507
9511
  var _this = this;
9508
9512
  return __generator(this, function (_a) {
9509
9513
  return [2 /*return*/, this.fetch({
9510
- uri: "/categoryCodes/" + encodeURIComponent(String(params.id)),
9514
+ uri: '/movieTicketTypes',
9511
9515
  method: 'GET',
9516
+ qs: params,
9512
9517
  expectedStatusCodes: [http_status_1.OK]
9513
9518
  })
9514
9519
  .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
@@ -9517,6 +9522,15 @@ var CategoryCodeService = /** @class */ (function (_super) {
9517
9522
  });
9518
9523
  });
9519
9524
  };
9525
+ // discontinue(2025-10-21~)
9526
+ // public async findById(params: { id: string }): Promise<factory.categoryCode.ICategoryCode> {
9527
+ // return this.fetch({
9528
+ // uri: `/categoryCodes/${encodeURIComponent(String(params.id))}`,
9529
+ // method: 'GET',
9530
+ // expectedStatusCodes: [OK]
9531
+ // })
9532
+ // .then(async (response) => response.json());
9533
+ // }
9520
9534
  CategoryCodeService.prototype.update = function (params) {
9521
9535
  return __awaiter(this, void 0, void 0, function () {
9522
9536
  return __generator(this, function (_a) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cinerino/sdk",
3
- "version": "12.5.0-alpha.16",
3
+ "version": "12.5.0-alpha.17",
4
4
  "description": "Cinerino SDK",
5
5
  "main": "./lib/index.js",
6
6
  "browser": {