@chevre/factory 4.313.0-alpha.45 → 4.313.0-alpha.47

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,9 +1,9 @@
1
- import * as ActionFactory from '../../../../action';
1
+ import { IParticipantAsCustomer, IParticipantAsPerson, IParticipantAsProject, IParticipantAsWebApplication } from '../../../../action';
2
2
  import { ICreativeWork as IEmailMessage } from '../../../../creativeWork/message/email';
3
3
  import { ISimpleOrder } from '../../../../order';
4
4
  import * as SendActionFactory from '../../send';
5
- export declare type IAgent = ActionFactory.IParticipantAsProject;
6
- export declare type IRecipient = ActionFactory.IParticipant;
5
+ export declare type IAgent = IParticipantAsProject;
6
+ export declare type IRecipient = IParticipantAsWebApplication | IParticipantAsPerson | IParticipantAsCustomer;
7
7
  /**
8
8
  * オブジェクト
9
9
  * 「Eメール通知」を送信する
@@ -17,6 +17,7 @@ export interface IAttributes extends SendActionFactory.IAttributes<IObject, IRes
17
17
  agent: IAgent;
18
18
  purpose: IPurpose;
19
19
  potentialActions?: IPotentialActions;
20
+ recipient: IRecipient;
20
21
  }
21
22
  /**
22
23
  * Eメール送信アクション
@@ -1,4 +1,4 @@
1
- import * as ActionFactory from '../../../action';
1
+ import { IParticipantAsCustomer, IParticipantAsPerson, IParticipantAsProject, IParticipantAsWebApplication } from '../../../action';
2
2
  import * as OrderFactory from '../../../order';
3
3
  import * as OwnershipInfoFactory from '../../../ownershipInfo';
4
4
  import * as WebAPIFactory from '../../../service/webAPI';
@@ -7,8 +7,8 @@ import { IAttributes as IRegisterServiceAttributes } from '../../interact/confir
7
7
  import { IAttributes as IConfirmReservationActionAttributes } from '../../interact/confirm/reservation';
8
8
  import * as SendActionFactory from '../send';
9
9
  import { IAttributes as ISendEmailMessageActionAttributes } from './message/email';
10
- export declare type IAgent = ActionFactory.IParticipantAsPerson | ActionFactory.IParticipantAsProject | ActionFactory.IParticipantAsWebApplication;
11
- export declare type IRecipient = ActionFactory.IParticipant;
10
+ export declare type IAgent = IParticipantAsPerson | IParticipantAsProject | IParticipantAsWebApplication;
11
+ export declare type IRecipient = IParticipantAsWebApplication | IParticipantAsPerson | IParticipantAsCustomer;
12
12
  export declare type IObject = OrderFactory.ISimpleOrder;
13
13
  /**
14
14
  * 注文配送結果としての所有権
package/lib/order.d.ts CHANGED
@@ -98,16 +98,16 @@ export declare type IEventAsReservationFor = Omit<EventReservationFactory.IReser
98
98
  export declare type IReservedTicket = Pick<ITicket, 'typeOf' | 'ticketedSeat' | 'dateIssued' | 'ticketNumber' | 'ticketToken' | 'coaTicketInfo' | 'coaReserveAmount'> & {
99
99
  ticketType: ITicketType;
100
100
  };
101
- export declare type IBusReservation = Pick<BusReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'bookingTime' | 'id' | 'issuedThrough' | 'programMembershipUsed' | 'project' | 'reservationNumber' | 'typeOf'> & {
101
+ export declare type IBusReservation = Pick<BusReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'bookingTime' | 'id' | 'issuedThrough' | 'programMembershipUsed' | 'reservationNumber' | 'typeOf'> & {
102
102
  reservationFor: ITripAsReservationFor;
103
103
  reservedTicket: IReservedTicket;
104
104
  };
105
- export declare type IEventReservation = Pick<EventReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'bookingTime' | 'id' | 'issuedThrough' | 'programMembershipUsed' | 'project' | 'reservationNumber' | 'typeOf'> & {
105
+ export declare type IEventReservation = Pick<EventReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'bookingTime' | 'id' | 'issuedThrough' | 'programMembershipUsed' | 'reservationNumber' | 'typeOf'> & {
106
106
  reservationFor: IEventAsReservationFor;
107
107
  reservedTicket: IReservedTicket;
108
108
  };
109
109
  export declare type IReservation = IBusReservation | IEventReservation;
110
- export declare type IPermit = Pick<PermitFactory.IPermit, 'amount' | 'identifier' | 'issuedThrough' | 'name' | 'project' | 'typeOf' | 'validFor'>;
110
+ export declare type IPermit = Pick<PermitFactory.IPermit, 'amount' | 'identifier' | 'issuedThrough' | 'name' | 'typeOf' | 'validFor'>;
111
111
  export interface IMoneyTransferPendingTransaction {
112
112
  typeOf: AssetTransactionType.MoneyTransfer;
113
113
  /**
@@ -139,7 +139,6 @@ export interface IMoneyTransfer {
139
139
  * 注文アイテム
140
140
  */
141
141
  export declare type IItemOffered = IMoneyTransfer | IReservation | IPermit;
142
- export declare type IOfferOptimized4acceptedOffer = Pick<IOffer, 'typeOf' | 'id' | 'itemOffered' | 'offeredThrough' | 'priceCurrency'>;
143
142
  export declare type ICategoryChargePriceComponent = Omit<ICategoryCodeChargeSpecification, 'project'>;
144
143
  export declare type IMovieTicketTypeChargePriceComponent = Omit<IMovieTicketTypeChargeSpecification, 'project'>;
145
144
  export declare type IUnitPriceComponent = Pick<IUnitPriceOfferPriceSpecification, 'accounting' | 'appliesToMovieTicket' | 'appliesToAddOn' | 'name' | 'price' | 'priceCurrency' | 'referenceQuantity' | 'typeOf' | 'valueAddedTaxIncluded'>;
@@ -151,6 +150,7 @@ export declare type ITicketPriceComponent = ICategoryChargePriceComponent | IMov
151
150
  * 承認時に提供される価格仕様
152
151
  */
153
152
  export declare type ITicketPriceSpecification = Omit<ICompoundPriceSpecification<ITicketPriceComponent>, 'project'>;
153
+ export declare type IOfferOptimized4acceptedOffer = Pick<IOffer, 'typeOf' | 'id' | 'itemOffered' | 'offeredThrough' | 'name'>;
154
154
  /**
155
155
  * 受け入れオファー
156
156
  */
@@ -159,13 +159,6 @@ export interface IAcceptedOffer<T extends IItemOffered> extends IOfferOptimized4
159
159
  * オファー対象アイテム
160
160
  */
161
161
  itemOffered: T;
162
- /**
163
- * 販売者
164
- */
165
- seller: {
166
- typeOf: OrganizationType.Corporation;
167
- name?: string | IMultilingualString;
168
- };
169
162
  priceSpecification?: ITicketPriceSpecification;
170
163
  }
171
164
  /**
@@ -28,7 +28,7 @@ export interface ITicketType {
28
28
  description?: string | IMultilingualString;
29
29
  id?: string;
30
30
  identifier: string;
31
- name?: string | IMultilingualString;
31
+ name?: IMultilingualString;
32
32
  typeOf: OfferType.Offer;
33
33
  validRateLimit?: OfferFactory.IValidRateLimit;
34
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.313.0-alpha.45",
3
+ "version": "4.313.0-alpha.47",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",