@cinerino/sdk 5.0.0-alpha.6 → 5.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.
@@ -1,9 +1,9 @@
1
1
  import * as factory from '../factory';
2
2
  import { IOptions, ISearchResult, Service } from '../service';
3
3
  import { IPaymentAccepted, IPaymentServiceByProvider, ISearchPaymentServiceConditions } from './seller/factory';
4
- declare type IKeyOfProjection = keyof factory.seller.ISeller | '_id';
4
+ declare type IKeyOfProjection = keyof Omit<factory.seller.ISeller, 'makesOffer' | 'paymentAccepted'>;
5
5
  declare type IProjection = {
6
- [key in IKeyOfProjection]?: 0 | 1;
6
+ [key in IKeyOfProjection]?: 0;
7
7
  };
8
8
  /**
9
9
  * 販売者サービス
@@ -17,13 +17,13 @@ export declare class SellerService extends Service<IOptions> {
17
17
  qs: {
18
18
  $projection: IProjection;
19
19
  };
20
- }): Promise<factory.seller.ISeller>;
20
+ }): Promise<Omit<factory.seller.ISeller, 'makesOffer' | 'paymentAccepted'>>;
21
21
  /**
22
22
  * 販売者検索
23
23
  */
24
24
  search(params: Omit<factory.seller.ISearchConditions, 'project' | 'id'> & {
25
25
  $projection: IProjection;
26
- }): Promise<ISearchResult<Omit<factory.seller.ISeller, 'hasMerchantReturnPolicy' | 'makesOffer'>[]>>;
26
+ }): Promise<ISearchResult<Omit<factory.seller.ISeller, 'hasMerchantReturnPolicy' | 'makesOffer' | 'paymentAccepted'>[]>>;
27
27
  /**
28
28
  * 提供決済サービス検索(public)
29
29
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cinerino/sdk",
3
- "version": "5.0.0-alpha.6",
3
+ "version": "5.0.0-alpha.7",
4
4
  "description": "Cinerino SDK",
5
5
  "main": "./lib/index.js",
6
6
  "browser": {