@chevre/factory 11.1.0-alpha.0 → 11.1.0-alpha.10

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 (30) hide show
  1. package/lib/chevre/acceptedOffer.d.ts +173 -0
  2. package/lib/chevre/{event.js → acceptedOffer.js} +1 -0
  3. package/lib/chevre/action/accept/coaOffer.d.ts +1 -1
  4. package/lib/chevre/action/transfer/send/message/email.d.ts +15 -4
  5. package/lib/chevre/action/update/delete.d.ts +1 -1
  6. package/lib/chevre/action/update/update/object.d.ts +1 -1
  7. package/lib/chevre/action/update/update/result.d.ts +1 -1
  8. package/lib/chevre/action/update/update/targetCollection.d.ts +1 -1
  9. package/lib/chevre/assetTransaction/reserve.d.ts +1 -16
  10. package/lib/chevre/creativeWork/message/email.d.ts +9 -1
  11. package/lib/chevre/event/anyEvent.d.ts +0 -5
  12. package/lib/chevre/event/screeningEvent.d.ts +90 -35
  13. package/lib/chevre/event/sellerMakesOffer.d.ts +7 -6
  14. package/lib/chevre/{event/eventSeries.d.ts → eventSeries.d.ts} +91 -32
  15. package/lib/chevre/index.d.ts +3 -1
  16. package/lib/chevre/index.js +5 -3
  17. package/lib/chevre/invoice.d.ts +2 -1
  18. package/lib/chevre/issuer.d.ts +0 -8
  19. package/lib/chevre/notification/eventSeries.d.ts +10 -3
  20. package/lib/chevre/notification/offer.d.ts +7 -1
  21. package/lib/chevre/notification/order.d.ts +22 -7
  22. package/lib/chevre/offer/eventOffer.d.ts +0 -1
  23. package/lib/chevre/order.d.ts +1 -176
  24. package/lib/chevre/project.d.ts +21 -6
  25. package/lib/chevre/reservation/event.d.ts +1 -2
  26. package/lib/chevre/role/organizationRole.d.ts +6 -1
  27. package/lib/chevre/role/organizationRole.js +5 -0
  28. package/package.json +1 -1
  29. package/lib/chevre/event.d.ts +0 -94
  30. /package/lib/chevre/{event/eventSeries.js → eventSeries.js} +0 -0
@@ -1,94 +0,0 @@
1
- import { EventStatusType } from './eventStatusType';
2
- import { EventType } from './eventType';
3
- import { IMultilingualString } from './multilingualString';
4
- import { IProject } from './project';
5
- import { IPropertyValue } from './propertyValue';
6
- import { SortType } from './sortType';
7
- export interface IAttributes<T extends EventType> {
8
- project: Pick<IProject, 'id' | 'typeOf'>;
9
- /**
10
- * イベントタイプ
11
- */
12
- typeOf: T;
13
- /**
14
- * イベント識別子
15
- * プロジェクト内でユニーク必須
16
- */
17
- identifier?: string;
18
- /**
19
- * イベント名称
20
- */
21
- name: IMultilingualString;
22
- /**
23
- * イベント説明
24
- */
25
- description?: IMultilingualString;
26
- /**
27
- * イベントステータス
28
- * イベントがキャンセル、あるいは、延期された場合に主に使用されます。
29
- */
30
- eventStatus: EventStatusType;
31
- additionalProperty?: IPropertyValue<string>[];
32
- }
33
- /**
34
- * イベント
35
- */
36
- export type IEvent<T extends IAttributes<EventType>> = T & {
37
- id: string;
38
- };
39
- /**
40
- * ソート条件
41
- */
42
- export interface ISortOrder {
43
- startDate?: SortType;
44
- }
45
- export interface ISearchConditions {
46
- limit?: number;
47
- page?: number;
48
- sort?: ISortOrder;
49
- id?: {
50
- $eq?: string;
51
- $in?: string[];
52
- };
53
- identifiers?: string[];
54
- organizer?: {
55
- id?: {
56
- $eq?: string;
57
- };
58
- };
59
- project?: {
60
- id?: {
61
- $eq?: string;
62
- };
63
- };
64
- /**
65
- * 開催中 from
66
- * ISO 8601 date format
67
- */
68
- inSessionFrom?: Date;
69
- /**
70
- * 開催中 through
71
- * ISO 8601 date format
72
- */
73
- inSessionThrough?: Date;
74
- /**
75
- * 開始日時 from
76
- * ISO 8601 date format
77
- */
78
- startFrom?: Date;
79
- /**
80
- * 開始日時 through
81
- * ISO 8601 date format
82
- */
83
- startThrough?: Date;
84
- /**
85
- * 終了日時 from
86
- * ISO 8601 date format
87
- */
88
- endFrom?: Date;
89
- /**
90
- * 終了日時 through
91
- * ISO 8601 date format
92
- */
93
- endThrough?: Date;
94
- }