@chevre/factory 4.277.0 → 4.278.0-alpha.1
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.
|
@@ -105,10 +105,17 @@ export interface IItemOffered {
|
|
|
105
105
|
serviceOutput?: IServiceOutput;
|
|
106
106
|
}
|
|
107
107
|
export declare type IOfferedThrough = WebAPIFactory.IService<WebAPIFactory.Identifier>;
|
|
108
|
+
export interface ISellerMakesOffer extends Pick<OfferFactory.IOffer, 'typeOf' | 'availableAtOrFrom' | 'availabilityEnds' | 'availabilityStarts' | 'validFrom' | 'validThrough'> {
|
|
109
|
+
availabilityEnds: Date;
|
|
110
|
+
availabilityStarts: Date;
|
|
111
|
+
validFrom: Date;
|
|
112
|
+
validThrough: Date;
|
|
113
|
+
}
|
|
108
114
|
export interface ISeller {
|
|
109
115
|
typeOf: OrganizationType.Corporation;
|
|
110
116
|
id: string;
|
|
111
117
|
name?: string | IMultilingualString;
|
|
118
|
+
makesOffer: ISellerMakesOffer[];
|
|
112
119
|
}
|
|
113
120
|
export declare type IEligibleQuantity = Pick<IQuantitativeValue<UnitCode.C62>, 'maxValue' | 'typeOf' | 'unitCode' | 'value'>;
|
|
114
121
|
/**
|
|
@@ -310,6 +317,7 @@ export interface IAttributes extends EventFactory.IAttributes<EventType.Screenin
|
|
|
310
317
|
export declare type IEvent = EventFactory.IEvent<IAttributes>;
|
|
311
318
|
export declare type ILocation4create = Pick<ILocation, 'branchCode' | 'maximumAttendeeCapacity'>;
|
|
312
319
|
export declare type ISuperEvent4create = Pick<ISuperEvent, 'id'>;
|
|
320
|
+
export declare type ISeller4create = Pick<ISeller, 'id' | 'makesOffer'>;
|
|
313
321
|
export declare type IOffers4create = Pick<IOffer, 'availabilityEnds' | 'availabilityStarts' | 'validFrom' | 'validThrough' | 'unacceptedPaymentMethod'> & {
|
|
314
322
|
/**
|
|
315
323
|
* 最大予約数を指定
|
|
@@ -320,9 +328,9 @@ export declare type IOffers4create = Pick<IOffer, 'availabilityEnds' | 'availabi
|
|
|
320
328
|
*/
|
|
321
329
|
itemOffered: Pick<IItemOffered, 'id' | 'serviceOutput'>;
|
|
322
330
|
/**
|
|
323
|
-
* 販売者ID
|
|
331
|
+
* 販売者IDとアプリケーション設定
|
|
324
332
|
*/
|
|
325
|
-
seller:
|
|
333
|
+
seller: ISeller4create;
|
|
326
334
|
};
|
|
327
335
|
export declare type ICreateParams = Pick<IAttributes, 'project' | 'typeOf' | 'doorTime' | 'startDate' | 'endDate' | 'eventStatus' | 'additionalProperty'> & {
|
|
328
336
|
/**
|
package/lib/order.d.ts
CHANGED
|
@@ -204,10 +204,6 @@ export interface ISimpleOrder extends Pick<IThing, 'name'> {
|
|
|
204
204
|
* Party placing the order.
|
|
205
205
|
*/
|
|
206
206
|
customer: ISimpleCustomer;
|
|
207
|
-
/**
|
|
208
|
-
* A number that confirms the given order or payment has been received.
|
|
209
|
-
*/
|
|
210
|
-
confirmationNumber: string;
|
|
211
207
|
/**
|
|
212
208
|
* The merchant- specific identifier for the transaction.
|
|
213
209
|
*/
|
|
@@ -273,6 +269,10 @@ export interface IOrder extends ISimpleOrder {
|
|
|
273
269
|
* In most cases a broker never acquires or releases ownership of a product or service involved in an exchange.
|
|
274
270
|
*/
|
|
275
271
|
broker?: IBroker;
|
|
272
|
+
/**
|
|
273
|
+
* A number that confirms the given order or payment has been received.
|
|
274
|
+
*/
|
|
275
|
+
confirmationNumber: string;
|
|
276
276
|
customer: ICustomer;
|
|
277
277
|
/**
|
|
278
278
|
* Date order was returned.
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
import { IAttributes as IConfirmPayActionAttributes } from '../action/interact/confirm/pay';
|
|
1
|
+
import { IAttributes as IConfirmPayActionAttributes, IPurpose as IConfirmPayPurpose } from '../action/interact/confirm/pay';
|
|
2
2
|
import { IExtendId } from '../autoGenerated';
|
|
3
3
|
import * as TaskFactory from '../task';
|
|
4
4
|
import { TaskName } from '../taskName';
|
|
5
|
-
export declare type
|
|
5
|
+
export declare type IPurpose = IConfirmPayPurpose & {
|
|
6
|
+
confirmationNumber: string;
|
|
7
|
+
};
|
|
8
|
+
export interface IData extends IConfirmPayActionAttributes {
|
|
9
|
+
purpose: IPurpose;
|
|
10
|
+
}
|
|
6
11
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
7
12
|
name: TaskName.ConfirmPayTransaction;
|
|
8
13
|
data: IData;
|
package/lib/task/sendOrder.d.ts
CHANGED
|
@@ -3,9 +3,12 @@ import { IExtendId } from '../autoGenerated';
|
|
|
3
3
|
import { IProject } from '../project';
|
|
4
4
|
import * as TaskFactory from '../task';
|
|
5
5
|
import { TaskName } from '../taskName';
|
|
6
|
+
export declare type IObject = SendOrderActionFactory.IObject & {
|
|
7
|
+
confirmationNumber: string;
|
|
8
|
+
};
|
|
6
9
|
export interface IData {
|
|
7
10
|
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
8
|
-
object:
|
|
11
|
+
object: IObject;
|
|
9
12
|
potentialActions?: SendOrderActionFactory.IPotentialActions;
|
|
10
13
|
}
|
|
11
14
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
@@ -13,6 +16,6 @@ export interface IAttributes extends TaskFactory.IAttributes {
|
|
|
13
16
|
data: IData;
|
|
14
17
|
}
|
|
15
18
|
/**
|
|
16
|
-
*
|
|
19
|
+
* 注文配送タスク
|
|
17
20
|
*/
|
|
18
21
|
export declare type ITask = IExtendId<IAttributes>;
|