@chevre/factory 4.386.0-alpha.2 → 4.386.0-alpha.3
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 +15 -10
- package/package.json +1 -1
package/lib/product.d.ts
CHANGED
|
@@ -123,17 +123,22 @@ export interface IProduct extends Pick<IThing, 'name' | 'description'> {
|
|
|
123
123
|
serviceType?: IServiceType;
|
|
124
124
|
additionalProperty?: IPropertyValue<string>[];
|
|
125
125
|
}
|
|
126
|
+
export interface IHasOfferCatalogOnCreate {
|
|
127
|
+
/**
|
|
128
|
+
* IDを指定する場合
|
|
129
|
+
*/
|
|
130
|
+
id?: string;
|
|
131
|
+
/**
|
|
132
|
+
* カタログコードを指定する場合
|
|
133
|
+
*/
|
|
134
|
+
identifier?: string;
|
|
135
|
+
}
|
|
126
136
|
export type ICreateParams = Pick<IProduct, 'typeOf' | 'productID' | 'name' | 'description' | 'availableChannel' | 'serviceOutput'> & {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* カタログコードを指定する場合
|
|
134
|
-
*/
|
|
135
|
-
identifier?: string;
|
|
136
|
-
};
|
|
137
|
+
/**
|
|
138
|
+
* 興行に複数設定の場合はArray
|
|
139
|
+
* 最大数: 2
|
|
140
|
+
*/
|
|
141
|
+
hasOfferCatalog?: IHasOfferCatalogOnCreate | IHasOfferCatalogOnCreate[];
|
|
137
142
|
/**
|
|
138
143
|
* サービスタイプ
|
|
139
144
|
* 興行->興行区分
|