@chevre/factory 4.268.0-alpha.0 → 4.268.0-alpha.2

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/account.d.ts CHANGED
@@ -28,6 +28,7 @@ export declare namespace transaction {
28
28
  export import IRecipient = TransactionFactory.IRecipient;
29
29
  export import IPotentialActions = TransactionFactory.IPotentialActions;
30
30
  export import IResult = TransactionFactory.IResult;
31
+ type IStartParamsWithoutDetail<T extends AccountTransactionType> = T extends AccountTransactionType.Deposit ? DepositTransactionFactory.IStartParamsWithoutDetail : T extends AccountTransactionType.Withdraw ? WithdrawTransactionFactory.IStartParamsWithoutDetail : T extends AccountTransactionType.Transfer ? TransferTransactionFactory.IStartParamsWithoutDetail : never;
31
32
  type IStartParams<T extends AccountTransactionType> = T extends AccountTransactionType.Deposit ? DepositTransactionFactory.IStartParams : T extends AccountTransactionType.Withdraw ? WithdrawTransactionFactory.IStartParams : T extends AccountTransactionType.Transfer ? TransferTransactionFactory.IStartParams : never;
32
33
  type IAttributes<T> = T extends AccountTransactionType.Deposit ? DepositTransactionFactory.IAttributes : T extends AccountTransactionType.Withdraw ? WithdrawTransactionFactory.IAttributes : T extends AccountTransactionType.Transfer ? TransferTransactionFactory.IAttributes : never;
33
34
  type ITransaction<T> = T extends AccountTransactionType.Deposit ? DepositTransactionFactory.ITransaction : T extends AccountTransactionType.Withdraw ? WithdrawTransactionFactory.ITransaction : T extends AccountTransactionType.Transfer ? TransferTransactionFactory.ITransaction : never;
@@ -317,6 +317,11 @@ export interface IAttributes extends EventFactory.IAttributes<EventType.Screenin
317
317
  * イベント
318
318
  */
319
319
  export declare type IEvent = EventFactory.IEvent<IAttributes>;
320
+ export declare type ICreateParams = Pick<IAttributes, 'project' | 'typeOf' | 'doorTime' | 'startDate' | 'endDate' | 'name' | 'eventStatus' | 'additionalProperty'> & {
321
+ location: Pick<ILocation, 'branchCode' | 'maximumAttendeeCapacity'>;
322
+ superEvent: Pick<ISuperEvent, 'id'>;
323
+ offers: Pick<IOffer, 'availabilityEnds' | 'availabilityStarts' | 'eligibleQuantity' | 'itemOffered' | 'validFrom' | 'validThrough' | 'unacceptedPaymentMethod' | 'seller'>;
324
+ };
320
325
  /**
321
326
  * ソート条件
322
327
  */
@@ -144,6 +144,7 @@ export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.Scr
144
144
  * 施設コンテンツ
145
145
  */
146
146
  export declare type IEvent = EventFactory.IEvent<IAttributes>;
147
+ export declare type ICreateParams = IAttributes;
147
148
  /**
148
149
  * ソート条件
149
150
  */
package/lib/index.d.ts CHANGED
@@ -54,7 +54,6 @@ import * as WebApplicationFactory from './creativeWork/softwareApplication/webAp
54
54
  import { CreativeWorkType } from './creativeWorkType';
55
55
  import * as CustomerFactory from './customer';
56
56
  import * as EncodingFormat from './encodingFormat';
57
- import * as EventFactory from './event';
58
57
  import * as ScreeningEventFactory from './event/screeningEvent';
59
58
  import * as ScreeningEventSeriesFactory from './event/screeningEventSeries';
60
59
  import { EventStatusType } from './eventStatusType';
@@ -293,9 +292,10 @@ export declare namespace creativeWork {
293
292
  export import creativeWorkType = CreativeWorkType;
294
293
  export import customer = CustomerFactory;
295
294
  export declare namespace event {
296
- type ISearchConditions<T extends EventType> = T extends EventType.ScreeningEvent ? ScreeningEventFactory.ISearchConditions : T extends EventType.ScreeningEventSeries ? ScreeningEventSeriesFactory.ISearchConditions : EventFactory.ISearchConditions<T>;
297
- type IAttributes<T extends EventType> = T extends EventType.ScreeningEvent ? ScreeningEventFactory.IAttributes : T extends EventType.ScreeningEventSeries ? ScreeningEventSeriesFactory.IAttributes : EventFactory.IAttributes<T>;
298
- type IEvent<T extends EventType> = T extends EventType.ScreeningEvent ? ScreeningEventFactory.IEvent : T extends EventType.ScreeningEventSeries ? ScreeningEventSeriesFactory.IEvent : EventFactory.IEvent<EventFactory.IAttributes<T>>;
295
+ type ISearchConditions<T extends EventType> = T extends EventType.ScreeningEvent ? ScreeningEventFactory.ISearchConditions : T extends EventType.ScreeningEventSeries ? ScreeningEventSeriesFactory.ISearchConditions : never;
296
+ type IAttributes<T extends EventType> = T extends EventType.ScreeningEvent ? ScreeningEventFactory.IAttributes : T extends EventType.ScreeningEventSeries ? ScreeningEventSeriesFactory.IAttributes : never;
297
+ type IEvent<T extends EventType> = T extends EventType.ScreeningEvent ? ScreeningEventFactory.IEvent : T extends EventType.ScreeningEventSeries ? ScreeningEventSeriesFactory.IEvent : never;
298
+ type ICreateParams<T extends EventType> = T extends EventType.ScreeningEvent ? ScreeningEventFactory.ICreateParams : T extends EventType.ScreeningEventSeries ? ScreeningEventSeriesFactory.ICreateParams : never;
299
299
  export import screeningEvent = ScreeningEventFactory;
300
300
  export import screeningEventSeries = ScreeningEventSeriesFactory;
301
301
  }
package/lib/product.d.ts CHANGED
@@ -136,6 +136,7 @@ export interface ISearchConditions {
136
136
  };
137
137
  id?: {
138
138
  $eq?: string;
139
+ $in?: string[];
139
140
  };
140
141
  name?: {
141
142
  $regex?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.268.0-alpha.0",
3
+ "version": "4.268.0-alpha.2",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",