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

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
  */
@@ -1,6 +1,5 @@
1
1
  import { IAdditionalOptions, IOptions, IUnset as IUnsetOnService } from './service';
2
2
  import type { CancelReservationAssetTransactionService } from './chevreAdmin/assetTransaction/cancelReservation';
3
- import type { AuthorizationService } from './chevreAdmin/authorization';
4
3
  import type { CustomerService } from './chevreAdmin/customer';
5
4
  import type { EventService } from './chevreAdmin/event';
6
5
  import type { EventOfferService } from './chevreAdmin/eventOffer';
@@ -24,13 +23,6 @@ import type { SeatSectionService } from './chevreAdmin/seatSection';
24
23
  import type { SellerService } from './chevreAdmin/seller';
25
24
  export declare namespace service {
26
25
  type IUnset = IUnsetOnService;
27
- /**
28
- * 承認サービス
29
- */
30
- type Authorization = AuthorizationService;
31
- namespace Authorization {
32
- let svc: typeof AuthorizationService | undefined;
33
- }
34
26
  /**
35
27
  * 顧客サービス
36
28
  */
@@ -194,7 +186,6 @@ export declare namespace service {
194
186
  export declare class ChevreAdmin {
195
187
  options: Pick<IOptions, 'auth' | 'endpoint' | 'disableAutoRetry'>;
196
188
  constructor(options: Pick<IOptions, 'auth' | 'endpoint' | 'disableAutoRetry'>);
197
- createAuthorizationInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<AuthorizationService>;
198
189
  createCustomerInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<CustomerService>;
199
190
  createEventInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<EventService>;
200
191
  createEventOfferInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<EventOfferService>;
@@ -36,9 +36,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.ChevreAdmin = exports.service = void 0;
37
37
  var service;
38
38
  (function (service) {
39
- let Authorization;
40
- (function (Authorization) {
41
- })(Authorization = service.Authorization || (service.Authorization = {}));
42
39
  let Customer;
43
40
  (function (Customer) {
44
41
  })(Customer = service.Customer || (service.Customer = {}));
@@ -117,12 +114,6 @@ class ChevreAdmin {
117
114
  constructor(options) {
118
115
  this.options = options;
119
116
  }
120
- async createAuthorizationInstance(params) {
121
- if (service.Authorization.svc === undefined) {
122
- service.Authorization.svc = (await Promise.resolve().then(() => __importStar(require('./chevreAdmin/authorization.js')))).AuthorizationService;
123
- }
124
- return new service.Authorization.svc({ ...this.options, ...params, retryableStatusCodes: [] });
125
- }
126
117
  async createCustomerInstance(params) {
127
118
  if (service.Customer.svc === undefined) {
128
119
  service.Customer.svc = (await Promise.resolve().then(() => __importStar(require('./chevreAdmin/customer.js')))).CustomerService;
@@ -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
  */