@chevre/factory 4.280.0-alpha.11 → 4.280.0-alpha.13
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.
|
@@ -4,7 +4,7 @@ import { ITransaction as IReserveTransaction } from '../assetTransaction/reserve
|
|
|
4
4
|
import { AssetTransactionType } from '../assetTransactionType';
|
|
5
5
|
import { IExtendId } from '../autoGenerated';
|
|
6
6
|
import { IClientUser } from '../clientUser';
|
|
7
|
-
import { IReservation as IEventReservation } from '../reservation/event';
|
|
7
|
+
import { IReservation as IEventReservation, IReservationFor } from '../reservation/event';
|
|
8
8
|
export import IAgent = AssetTransactionFactory.IAgent;
|
|
9
9
|
export declare type IStartParamsWithoutDetail = AssetTransactionFactory.IStartParams<AssetTransactionType.CancelReservation, IAgent, undefined, IObjectWithoutDetail>;
|
|
10
10
|
/**
|
|
@@ -30,13 +30,21 @@ export interface IObjectWithoutDetail {
|
|
|
30
30
|
reservationNumber?: string;
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
|
+
export declare type IReserveTransactionAsObject = Pick<IReserveTransaction, 'typeOf' | 'id' | 'transactionNumber'> & {
|
|
34
|
+
object: {
|
|
35
|
+
reservationFor: Pick<IReservationFor, 'id' | 'typeOf'>;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export declare type IEventReservationAsObject = Pick<IEventReservation, 'id' | 'issuedThrough' | 'reservationNumber' | 'typeOf'> & {
|
|
39
|
+
reservationFor: Pick<IReservationFor, 'id' | 'typeOf'>;
|
|
40
|
+
};
|
|
33
41
|
/**
|
|
34
42
|
* 取引対象物
|
|
35
43
|
*/
|
|
36
44
|
export interface IObject {
|
|
37
45
|
clientUser?: IClientUser;
|
|
38
|
-
transaction?:
|
|
39
|
-
reservations?:
|
|
46
|
+
transaction?: IReserveTransactionAsObject;
|
|
47
|
+
reservations?: IEventReservationAsObject[];
|
|
40
48
|
}
|
|
41
49
|
/**
|
|
42
50
|
* 取引確定パラメータ
|
|
@@ -318,7 +318,7 @@ export declare type ISeller4create = Pick<ISeller, 'makesOffer'> & {
|
|
|
318
318
|
/**
|
|
319
319
|
* POS以外のアプリケーションの共通設定
|
|
320
320
|
*/
|
|
321
|
-
makesOfferDefault?: ISellerMakesOffer
|
|
321
|
+
makesOfferDefault?: Pick<ISellerMakesOffer, 'typeOf' | 'availabilityEnds' | 'availabilityStarts' | 'validFrom' | 'validThrough'>;
|
|
322
322
|
};
|
|
323
323
|
export declare type IOffers4create = Pick<IOffer, 'unacceptedPaymentMethod'> & {
|
|
324
324
|
/**
|