@cinerino/sdk 16.4.0-alpha.10 → 16.4.0-alpha.12

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.
@@ -1,11 +1,11 @@
1
1
  import { factory } from '../factory';
2
- import { ISearchResult, Service } from '../service';
2
+ import { Service } from '../service';
3
3
  /**
4
4
  * 資産取引サービス
5
5
  */
6
6
  export declare class AssetTransactionService extends Service {
7
7
  /**
8
- * 取引検索
8
+ * 資産取引検索
9
9
  */
10
- search<T extends factory.assetTransactionType>(params: factory.assetTransaction.ISearchConditions<T>): Promise<ISearchResult<factory.assetTransaction.ITransaction<T>[]>>;
10
+ findAssetTransactions<T extends factory.assetTransactionType>(params: factory.assetTransaction.ISearchConditions<T>): Promise<factory.assetTransaction.ITransaction<T>[]>;
11
11
  }
@@ -8,20 +8,16 @@ const service_1 = require("../service");
8
8
  */
9
9
  class AssetTransactionService extends service_1.Service {
10
10
  /**
11
- * 取引検索
11
+ * 資産取引検索
12
12
  */
13
- async search(params) {
13
+ async findAssetTransactions(params) {
14
14
  return this.fetch({
15
15
  uri: '/assetTransactions',
16
16
  method: 'GET',
17
17
  qs: params,
18
18
  expectedStatusCodes: [http_status_1.status.OK]
19
19
  })
20
- .then(async (response) => {
21
- return {
22
- data: await response.json()
23
- };
24
- });
20
+ .then(async (response) => response.json());
25
21
  }
26
22
  }
27
23
  exports.AssetTransactionService = AssetTransactionService;
@@ -32,7 +32,6 @@ import type { OfferCatalogService } from './chevreConsole/offerCatalog';
32
32
  import type { OfferCatalogItemService } from './chevreConsole/offerCatalogItem';
33
33
  import type { OfferItemConditionService } from './chevreConsole/offerItemCondition';
34
34
  import type { OrderService } from './chevreConsole/order';
35
- import type { OwnershipInfoService } from './chevreConsole/ownershipInfo';
36
35
  import type { PaymentProductService } from './chevreConsole/paymentService';
37
36
  import type { PaymentServiceChannelService } from './chevreConsole/paymentServiceChannel';
38
37
  import type { PendingReservationService } from './chevreConsole/pendingReservation';
@@ -249,13 +248,6 @@ export declare namespace service {
249
248
  namespace Order {
250
249
  let svc: typeof OrderService | undefined;
251
250
  }
252
- /**
253
- * 所有権サービス
254
- */
255
- type OwnershipInfo = OwnershipInfoService;
256
- namespace OwnershipInfo {
257
- let svc: typeof OwnershipInfoService | undefined;
258
- }
259
251
  /**
260
252
  * 決済サービス
261
253
  */
@@ -516,7 +508,6 @@ export declare class ChevreConsole {
516
508
  createMessageInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<MessageService>;
517
509
  createMovieTicketTypeInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<MovieTicketTypeService>;
518
510
  createOrderInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<OrderService>;
519
- createOwnershipInfoInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<OwnershipInfoService>;
520
511
  createPaymentProductInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<PaymentProductService>;
521
512
  createPaymentServiceChannelInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<PaymentServiceChannelService>;
522
513
  createPendingReservationInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<PendingReservationService>;
@@ -117,9 +117,6 @@ var service;
117
117
  let Order;
118
118
  (function (Order) {
119
119
  })(Order = service.Order || (service.Order = {}));
120
- let OwnershipInfo;
121
- (function (OwnershipInfo) {
122
- })(OwnershipInfo = service.OwnershipInfo || (service.OwnershipInfo = {}));
123
120
  let PaymentProduct;
124
121
  (function (PaymentProduct) {
125
122
  })(PaymentProduct = service.PaymentProduct || (service.PaymentProduct = {}));
@@ -396,12 +393,6 @@ class ChevreConsole {
396
393
  }
397
394
  return new service.Order.svc({ ...this.options, ...params, retryableStatusCodes: [] });
398
395
  }
399
- async createOwnershipInfoInstance(params) {
400
- if (service.OwnershipInfo.svc === undefined) {
401
- service.OwnershipInfo.svc = (await Promise.resolve().then(() => __importStar(require('./chevreConsole/ownershipInfo.js')))).OwnershipInfoService;
402
- }
403
- return new service.OwnershipInfo.svc({ ...this.options, ...params, retryableStatusCodes: [] });
404
- }
405
396
  async createPaymentProductInstance(params) {
406
397
  if (service.PaymentProduct.svc === undefined) {
407
398
  service.PaymentProduct.svc = (await Promise.resolve().then(() => __importStar(require('./chevreConsole/paymentService.js')))).PaymentProductService;