@chevre/factory 4.398.0-alpha.2 → 4.398.0-alpha.4
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/event/anyEvent.d.ts +1 -4
- package/lib/event/screeningEvent.d.ts +1 -7
- package/lib/schedule.d.ts +8 -1
- package/lib/schedule.js +0 -25
- package/package.json +1 -1
package/lib/event/anyEvent.d.ts
CHANGED
|
@@ -279,10 +279,7 @@ export type IOffers4create = Pick<IOffer, 'unacceptedPaymentMethod'> & {
|
|
|
279
279
|
*/
|
|
280
280
|
seller: ISeller4create;
|
|
281
281
|
};
|
|
282
|
-
export type ICreateParams = Pick<IAttributes, '
|
|
283
|
-
/**
|
|
284
|
-
* ルームコードとキャパシティを指定
|
|
285
|
-
*/
|
|
282
|
+
export type ICreateParams = Pick<IAttributes, 'doorTime' | 'startDate' | 'endDate' | 'eventStatus' | 'additionalProperty' | 'identifier'> & {
|
|
286
283
|
location?: never;
|
|
287
284
|
offers: IOffers4create;
|
|
288
285
|
};
|
|
@@ -144,14 +144,8 @@ export type IOffers4create = Pick<IOffer, 'unacceptedPaymentMethod'> & {
|
|
|
144
144
|
*/
|
|
145
145
|
seller: ISeller4create;
|
|
146
146
|
};
|
|
147
|
-
export type ICreateParams = Pick<IAttributes, '
|
|
148
|
-
/**
|
|
149
|
-
* ルームコードとキャパシティを指定
|
|
150
|
-
*/
|
|
147
|
+
export type ICreateParams = Pick<IAttributes, 'doorTime' | 'startDate' | 'endDate' | 'eventStatus' | 'additionalProperty' | 'identifier' | 'maximumPhysicalAttendeeCapacity'> & {
|
|
151
148
|
location?: never;
|
|
152
|
-
/**
|
|
153
|
-
* 施設コンテンツIDを指定
|
|
154
|
-
*/
|
|
155
149
|
superEvent?: never;
|
|
156
150
|
offers: IOffers4create;
|
|
157
151
|
};
|
package/lib/schedule.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IAvailableAtOrFrom } from './offer';
|
|
1
|
+
import { IAvailableAtOrFrom, IEligibleQuantity } from './offer';
|
|
2
2
|
import { OrganizationType } from './organizationType';
|
|
3
3
|
export interface ISchedule {
|
|
4
4
|
/**
|
|
@@ -34,6 +34,7 @@ export interface IEventWithSchedule {
|
|
|
34
34
|
*/
|
|
35
35
|
id?: string;
|
|
36
36
|
offers?: {
|
|
37
|
+
eligibleQuantity?: Pick<IEligibleQuantity, 'maxValue'>;
|
|
37
38
|
itemOffered?: {
|
|
38
39
|
/**
|
|
39
40
|
* 興行ID
|
|
@@ -55,5 +56,11 @@ export interface IEventWithSchedule {
|
|
|
55
56
|
*/
|
|
56
57
|
id?: string;
|
|
57
58
|
};
|
|
59
|
+
location?: {
|
|
60
|
+
/**
|
|
61
|
+
* ルームコード
|
|
62
|
+
*/
|
|
63
|
+
branchCode?: string;
|
|
64
|
+
};
|
|
58
65
|
eventSchedule: ISchedule;
|
|
59
66
|
}
|
package/lib/schedule.js
CHANGED
|
@@ -1,27 +1,2 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
// export interface ISchedule4ttts extends Pick<IEventWithSchedule, 'id' | 'offers' | 'project' | 'superEvent'> {
|
|
4
|
-
// eventSchedule?: never;
|
|
5
|
-
// duration: number;
|
|
6
|
-
// noPerformanceTimes: string[];
|
|
7
|
-
// /**
|
|
8
|
-
// * 作成対象時間: 9,10,11など
|
|
9
|
-
// */
|
|
10
|
-
// hours: string[];
|
|
11
|
-
// /**
|
|
12
|
-
// * ['00', '15', '30', '45']
|
|
13
|
-
// */
|
|
14
|
-
// minutes: string[];
|
|
15
|
-
// /**
|
|
16
|
-
// * ['1', '2', '3', '4']
|
|
17
|
-
// */
|
|
18
|
-
// tours: string[];
|
|
19
|
-
// /**
|
|
20
|
-
// * 作成開始が今日から何日後か
|
|
21
|
-
// */
|
|
22
|
-
// // start: number;
|
|
23
|
-
// /**
|
|
24
|
-
// * 何日分作成するか
|
|
25
|
-
// */
|
|
26
|
-
// days: number;
|
|
27
|
-
// }
|