@cinerino/sdk 15.0.0-alpha.6 → 15.0.0-alpha.7

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.
@@ -20,23 +20,6 @@ class ProductService extends service_1.Service {
20
20
  })
21
21
  .then(async (response) => response.json());
22
22
  }
23
- // discontinue(2025-08-20~)
24
- // public async searchPaymentServices(params: Omit<factory.product.ISearchConditions, 'project' | 'typeOf'> & {
25
- // // 必須化(2023-12-18~)
26
- // typeOf: {
27
- // $eq: factory.service.paymentService.PaymentServiceType.CreditCard;
28
- // };
29
- // }
30
- // // & IProjectionSearchConditions // discontinue(2024-10-21~)
31
- // ): Promise<IPaymentServiceWithoutCredentials[]> {
32
- // return this.fetch({
33
- // uri: '/products',
34
- // method: 'GET',
35
- // qs: params,
36
- // expectedStatusCodes: [status.OK]
37
- // })
38
- // .then(async (response) => response.json());
39
- // }
40
23
  /**
41
24
  * オファー検索
42
25
  */
@@ -43,7 +43,6 @@ import type { PlaceService } from './chevreConsole/place';
43
43
  import type { HasPOSService } from './chevreConsole/place/hasPOS';
44
44
  import type { PriceSpecificationService } from './chevreConsole/priceSpecification';
45
45
  import type { ProductService } from './chevreConsole/product';
46
- import type { ProductModelService } from './chevreConsole/productModel';
47
46
  import type { ProjectService } from './chevreConsole/project';
48
47
  import type { ProjectMakesOfferService } from './chevreConsole/projectMakesOffer';
49
48
  import type { ReservationService } from './chevreConsole/reservation';
@@ -321,13 +320,6 @@ export declare namespace service {
321
320
  namespace Product {
322
321
  let svc: typeof ProductService | undefined;
323
322
  }
324
- /**
325
- * プロダクトモデルサービス
326
- */
327
- type ProductModel = ProductModelService;
328
- namespace ProductModel {
329
- let svc: typeof ProductModelService | undefined;
330
- }
331
323
  /**
332
324
  * プロジェクトサービス
333
325
  */
@@ -526,7 +518,6 @@ export declare class ChevreConsole {
526
518
  createHasPOSInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<HasPOSService>;
527
519
  createPriceSpecificationInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<PriceSpecificationService>;
528
520
  createProductInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<ProductService>;
529
- createProductModelInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<ProductModelService>;
530
521
  createProjectInstance(): Promise<ProjectService>;
531
522
  createProjectMakesOfferInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<ProjectMakesOfferService>;
532
523
  createReservationInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<ReservationService>;
@@ -150,9 +150,6 @@ var service;
150
150
  let Product;
151
151
  (function (Product) {
152
152
  })(Product = service.Product || (service.Product = {}));
153
- let ProductModel;
154
- (function (ProductModel) {
155
- })(ProductModel = service.ProductModel || (service.ProductModel = {}));
156
153
  let Project;
157
154
  (function (Project) {
158
155
  })(Project = service.Project || (service.Project = {}));
@@ -456,12 +453,6 @@ class ChevreConsole {
456
453
  }
457
454
  return new service.Product.svc({ ...this.options, ...params, retryableStatusCodes: [] });
458
455
  }
459
- async createProductModelInstance(params) {
460
- if (service.ProductModel.svc === undefined) {
461
- service.ProductModel.svc = (await Promise.resolve().then(() => __importStar(require('./chevreConsole/productModel.js')))).ProductModelService;
462
- }
463
- return new service.ProductModel.svc({ ...this.options, ...params, retryableStatusCodes: [] });
464
- }
465
456
  async createProjectInstance() {
466
457
  if (service.Project.svc === undefined) {
467
458
  service.Project.svc = (await Promise.resolve().then(() => __importStar(require('./chevreConsole/project.js')))).ProjectService;
@@ -7,9 +7,6 @@ const service_1 = require("../../service");
7
7
  * プロダクト(興行、アドオンなど)サービス
8
8
  */
9
9
  class ProductService extends service_1.Service {
10
- // constructor(options: IAdditionalOptions & Pick<IOptions, 'auth' | 'endpoint' | 'transporter' | 'project' | 'defaultPath'>) {
11
- // super({ ...options, retryableStatusCodes: [BAD_GATEWAY, FORBIDDEN, UNAUTHORIZED] });
12
- // }
13
10
  /**
14
11
  * プロダクトタイプ指定でプロダクトを検索する
15
12
  */