@chevre/factory 11.1.0-alpha.9 → 11.2.0-alpha.0

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,12 +1,6 @@
1
1
  import { IProject } from './project';
2
2
  import { IPropertyValue } from './propertyValue';
3
3
  import { SortType } from './sortType';
4
- export interface IDefinedTerm {
5
- typeOf: 'DefinedTerm';
6
- termCode: string;
7
- name?: string;
8
- description?: string;
9
- }
10
4
  /**
11
5
  * 勘定科目
12
6
  * {@link https://pending.schema.org/CategoryCode}
@@ -22,25 +16,14 @@ export interface IAccountTitle {
22
16
  * The name of the item.
23
17
  */
24
18
  name?: string;
25
- /**
26
- * A description of the item.
27
- */
28
- /**
29
- * A CategoryCodeSet that contains this catagory code.
30
- */
31
- inCodeSet?: IAccountTitle;
32
19
  /**
33
20
  * A Category code contained in this code set.
34
21
  */
35
- hasCategoryCode?: IAccountTitle[];
36
- /**
37
- * A DefinedTermSet that contains this term.
38
- */
39
- inDefinedTermSet?: IDefinedTerm;
22
+ hasCategoryCode?: Pick<IAccountTitle, 'additionalProperty' | 'codeValue' | 'hasCategoryCode' | 'name' | 'typeOf'>[];
40
23
  /**
41
- * A Defined Term contained in this term set.
24
+ * 一部プロジェクトの細目のみに存在
25
+ * 廃止予定(2026-10-25~)
42
26
  */
43
- hasDefinedTerm?: IDefinedTerm[];
44
27
  additionalProperty?: IPropertyValue<string>[];
45
28
  }
46
29
  /**
@@ -65,19 +48,30 @@ export interface ISearchConditions {
65
48
  $eq?: string;
66
49
  };
67
50
  name?: string;
51
+ /**
52
+ * 科目
53
+ */
68
54
  inCodeSet?: {
69
55
  codeValue?: string | {
70
56
  $eq?: string;
71
57
  };
72
- name?: string;
58
+ /**
59
+ * 科目分類
60
+ */
73
61
  inCodeSet?: {
74
62
  codeValue?: string | {
75
63
  $eq?: string;
76
64
  };
77
- name?: string;
78
65
  };
79
66
  };
67
+ /**
68
+ * 細目追加特性
69
+ */
80
70
  additionalProperty?: {
81
- $elemMatch?: any;
71
+ $elemMatch?: {
72
+ name: {
73
+ $eq: string;
74
+ };
75
+ };
82
76
  };
83
77
  }
@@ -1,4 +1,4 @@
1
1
  import { IAccountTitle } from '../accountTitle';
2
- export type IAccountTitleAsNotification = Pick<IAccountTitle, 'additionalProperty' | 'codeValue' | 'hasCategoryCode' | 'name' | 'project' | 'typeOf'> & {
2
+ export type IAccountTitleAsNotification = Pick<IAccountTitle, 'codeValue' | 'hasCategoryCode' | 'name' | 'project' | 'typeOf'> & {
3
3
  id: string;
4
4
  };
@@ -35,8 +35,17 @@ type IEventOfferAsNotification = (Pick<IExtensibleEventOffer, 'itemOffered' | 't
35
35
  * 外部へのイベント通知
36
36
  * redefine(2025-11-01~)
37
37
  */
38
- type IEventAsNotification = Pick<IScreeningEvent, 'project' | 'organizer' | 'typeOf' | 'name' | 'doorTime' | 'endDate' | 'eventStatus' | 'location' | 'startDate' | 'superEvent' | 'id' | 'additionalProperty'> & {
38
+ type IEventAsNotification = Pick<IScreeningEvent, 'project' | 'organizer' | 'typeOf' | 'name' | 'doorTime' | 'endDate' | 'eventStatus' | 'location' | 'startDate' | 'id' | 'additionalProperty'> & {
39
39
  offers: IEventOfferAsNotification;
40
40
  identifier?: string;
41
+ /**
42
+ * minimize superEvent(2026-10-22~)
43
+ */
44
+ superEvent: Pick<IScreeningEvent['superEvent'], 'id' | 'typeOf'> & {
45
+ /**
46
+ * コンテンツは決して含まれない
47
+ */
48
+ workPerformed?: never;
49
+ };
41
50
  };
42
51
  export { IEvent4inform2agg, IEventAsNotification, IEventOfferAsNotification, IEventSellerMakesOfferAsNotification };
@@ -1,2 +1,8 @@
1
1
  import { IUnitPriceOffer } from '../unitPriceOffer';
2
- export type IOfferAsNotification = Pick<IUnitPriceOffer, 'id' | 'typeOf' | 'name' | 'priceSpecification' | 'additionalProperty' | 'identifier' | 'project'>;
2
+ /**
3
+ * 通知開始
4
+ * 2026-10-21~
5
+ */
6
+ export type IOfferAsNotification = Pick<IUnitPriceOffer, 'id' | 'identifier' | 'name' | 'description' | 'typeOf' | 'additionalProperty' | 'project'> & {
7
+ priceSpecification?: never;
8
+ };
@@ -3,7 +3,6 @@ import { OfferType } from './offerType';
3
3
  import { IAppliesToMovieTicket } from './priceSpecification/unitPriceSpecification';
4
4
  import { ProductType } from './product';
5
5
  import { IProject } from './project';
6
- import { IPropertyValue } from './propertyValue';
7
6
  import { SortType } from './sortType';
8
7
  import { IThing } from './thing';
9
8
  export type OfferCatalogType = 'OfferCatalog';
@@ -73,10 +72,6 @@ export interface IOfferCatalog extends Pick<IThing, 'name' | 'description'> {
73
72
  * プロダクト
74
73
  */
75
74
  itemOffered: IItemOffered;
76
- /**
77
- * 追加特性
78
- */
79
- additionalProperty?: IPropertyValue<string>[];
80
75
  /**
81
76
  * 関連オファー
82
77
  * サブカタログの場合のみ存在
@@ -128,21 +123,6 @@ export interface ISearchConditions {
128
123
  typeOf?: {
129
124
  $eq?: string;
130
125
  };
131
- serviceType?: {
132
- codeValue?: {
133
- $eq?: string;
134
- };
135
- };
136
- };
137
- additionalProperty?: {
138
- $elemMatch?: {
139
- name?: {
140
- /**
141
- * 一致する名称の追加特性がひとつでも存在する
142
- */
143
- $eq?: string;
144
- };
145
- };
146
126
  };
147
127
  relatedOffer?: {
148
128
  priceSpecification?: {
@@ -162,8 +142,8 @@ export interface ISearchConditions {
162
142
  /**
163
143
  * カタログ編集パラメータ
164
144
  */
165
- export type IUpdateOfferCatalogParams = Pick<IOfferCatalog, 'additionalProperty' | 'description' | 'identifier' | 'itemListElement' | 'itemOffered' | 'name'>;
145
+ export type IUpdateOfferCatalogParams = Pick<IOfferCatalog, 'description' | 'identifier' | 'itemListElement' | 'itemOffered' | 'name'>;
166
146
  /**
167
147
  * サブカタログ編集パラメータ
168
148
  */
169
- export type IUpdateOfferCatalogItemParams = Pick<IOfferCatalog, 'additionalProperty' | 'description' | 'identifier' | 'itemListElement' | 'itemOffered' | 'name' | 'relatedOffer'>;
149
+ export type IUpdateOfferCatalogItemParams = Pick<IOfferCatalog, 'description' | 'identifier' | 'itemListElement' | 'itemOffered' | 'name' | 'relatedOffer'>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "11.1.0-alpha.9",
3
+ "version": "11.2.0-alpha.0",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "files": [