@cinerino/sdk 15.0.0-alpha.3 → 15.0.0-alpha.5
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/abstract/chevreAdmin/eventSeries.d.ts +1 -1
- package/lib/abstract/chevreConsole/customerType.d.ts +3 -1
- package/lib/abstract/chevreConsole/productModel.d.ts +1 -5
- package/lib/abstract/cloud/admin/eventSeries.d.ts +2 -3
- package/lib/bundle.js +2 -2
- package/lib/bundle.js.map +4 -4
- package/package.json +2 -2
|
@@ -56,7 +56,7 @@ export declare class EventSeriesService extends Service {
|
|
|
56
56
|
* 施設ID
|
|
57
57
|
*/
|
|
58
58
|
locationId: string;
|
|
59
|
-
offerType: factory.offerType.
|
|
59
|
+
offerType: factory.offerType.Offer;
|
|
60
60
|
upsert?: boolean;
|
|
61
61
|
/**
|
|
62
62
|
* 関連リソースへの同期有無(2026-01-28~)
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { factory } from '../factory';
|
|
2
2
|
import { Service } from '../service';
|
|
3
|
+
type ICustomerType = Pick<factory.categoryCode.ICategoryCode, 'codeValue' | 'id' | 'name' | 'typeOf'>;
|
|
3
4
|
/**
|
|
4
5
|
* カスタマータイプサービス
|
|
5
6
|
*/
|
|
@@ -7,5 +8,6 @@ export declare class CustomerTypeService extends Service {
|
|
|
7
8
|
/**
|
|
8
9
|
* 検索
|
|
9
10
|
*/
|
|
10
|
-
search(params: Pick<factory.categoryCode.ISearchConditions, 'codeValue' | 'limit' | 'page' | 'sort'>): Promise<
|
|
11
|
+
search(params: Pick<factory.categoryCode.ISearchConditions, 'codeValue' | 'limit' | 'page' | 'sort'>): Promise<ICustomerType[]>;
|
|
11
12
|
}
|
|
13
|
+
export {};
|
|
@@ -22,8 +22,6 @@ interface IProductModel {
|
|
|
22
22
|
}[];
|
|
23
23
|
}[];
|
|
24
24
|
}
|
|
25
|
-
type IKeyOfProjection = keyof IProductModel | '_id';
|
|
26
|
-
type IProjection = Partial<Record<IKeyOfProjection, 0 | 1>>;
|
|
27
25
|
type ISearchConditions = Pick<factory.product.ISearchConditions, 'id' | 'limit' | 'page' | 'project'> & {
|
|
28
26
|
category?: {
|
|
29
27
|
codeValue?: {
|
|
@@ -43,9 +41,7 @@ export declare class ProductModelService extends Service {
|
|
|
43
41
|
create(params: IProductModel): Promise<{
|
|
44
42
|
id: string;
|
|
45
43
|
}>;
|
|
46
|
-
search(params: Omit<ISearchConditions, 'project'>
|
|
47
|
-
$projection?: IProjection;
|
|
48
|
-
}): Promise<IProductModel[]>;
|
|
44
|
+
search(params: Omit<ISearchConditions, 'project'>): Promise<IProductModel[]>;
|
|
49
45
|
updateById(params: IProductModel & {
|
|
50
46
|
id: string;
|
|
51
47
|
}): Promise<void>;
|
|
@@ -18,9 +18,8 @@ export declare class EventSeriesService extends Service {
|
|
|
18
18
|
locationId: string;
|
|
19
19
|
/**
|
|
20
20
|
* オファータイプ
|
|
21
|
-
*
|
|
22
|
-
* AggregateOfferを指定した場合、非対応決済方法区分の指定(offers.unacceptedPaymentMethod)は無視される
|
|
21
|
+
* Offerで固定
|
|
23
22
|
*/
|
|
24
|
-
offerType: factory.offerType.
|
|
23
|
+
offerType: factory.offerType.Offer;
|
|
25
24
|
}): Promise<void>;
|
|
26
25
|
}
|