@chevre/factory 4.347.0-alpha.6 → 4.347.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.
Files changed (2) hide show
  1. package/lib/product.d.ts +15 -0
  2. package/package.json +1 -1
package/lib/product.d.ts CHANGED
@@ -102,6 +102,21 @@ export interface IProduct extends Pick<IThing, 'name' | 'description'> {
102
102
  serviceType?: IServiceType;
103
103
  additionalProperty?: IPropertyValue<string>[];
104
104
  }
105
+ export type ICreateParams = Pick<IProduct, 'typeOf' | 'productID' | 'name' | 'description' | 'availableChannel' | 'serviceOutput'> & {
106
+ hasOfferCatalog?: Pick<IHasOfferCatalog, 'id'> | {
107
+ /**
108
+ * カタログコードを指定する場合
109
+ */
110
+ identifier: string;
111
+ };
112
+ /**
113
+ * サービスタイプ
114
+ * 興行->興行区分
115
+ * メンバーシップ->メンバーシップ区分
116
+ * ペイメントカード->決済方法区分
117
+ */
118
+ serviceType?: Pick<IServiceType, 'codeValue'>;
119
+ };
105
120
  export interface ISortOrder {
106
121
  productID?: SortType;
107
122
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.347.0-alpha.6",
3
+ "version": "4.347.0-alpha.7",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",