@chevre/factory 4.347.0-alpha.6 → 4.347.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.
- package/lib/product.d.ts +19 -0
- package/package.json +1 -1
package/lib/product.d.ts
CHANGED
|
@@ -102,6 +102,25 @@ 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?: {
|
|
107
|
+
/**
|
|
108
|
+
* IDを指定する場合
|
|
109
|
+
*/
|
|
110
|
+
id?: string;
|
|
111
|
+
/**
|
|
112
|
+
* カタログコードを指定する場合
|
|
113
|
+
*/
|
|
114
|
+
identifier: string;
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* サービスタイプ
|
|
118
|
+
* 興行->興行区分
|
|
119
|
+
* メンバーシップ->メンバーシップ区分
|
|
120
|
+
* ペイメントカード->決済方法区分
|
|
121
|
+
*/
|
|
122
|
+
serviceType?: Pick<IServiceType, 'codeValue'>;
|
|
123
|
+
};
|
|
105
124
|
export interface ISortOrder {
|
|
106
125
|
productID?: SortType;
|
|
107
126
|
}
|