@chevre/factory 4.247.0 → 4.250.0
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/chevre.d.ts +1 -0
- package/lib/chevre.js +2 -0
- package/lib/factory/action/interact/confirm/registerService.d.ts +8 -1
- package/lib/factory/assetTransaction/registerService.d.ts +13 -1
- package/lib/factory/priceSpecification/movieTicketTypeChargeSpecification.d.ts +5 -5
- package/lib/factory/priceSpecification/unitPriceSpecification.d.ts +1 -1
- package/package.json +1 -1
package/lib/chevre.d.ts
CHANGED
|
@@ -344,6 +344,7 @@ export declare namespace priceSpecification {
|
|
|
344
344
|
export import IAccounting = PriceSpecificationFactory.IAccounting;
|
|
345
345
|
type IPriceSpecification<T extends PriceSpecificationType> = T extends PriceSpecificationType.CategoryCodeChargeSpecification ? CategoryCodeChargeSpecificationFactory.IPriceSpecification : T extends PriceSpecificationType.MovieTicketTypeChargeSpecification ? MovieTicketTypeChargeSpecificationFactory.IPriceSpecification : T extends PriceSpecificationType.UnitPriceSpecification ? UnitPriceSpecificationFactory.IPriceSpecification : PriceSpecificationFactory.IPriceSpecification<PriceSpecificationType>;
|
|
346
346
|
type ISearchConditions<T extends PriceSpecificationType> = PriceSpecificationFactory.ISearchConditions<T>;
|
|
347
|
+
export import unitPrice = UnitPriceSpecificationFactory;
|
|
347
348
|
}
|
|
348
349
|
export declare namespace compoundPriceSpecification {
|
|
349
350
|
type IPriceSpecification<T extends PriceSpecificationType> = CompoundPriceSpecificationFactory.IPriceSpecification<priceSpecification.IPriceSpecification<T>>;
|
package/lib/chevre.js
CHANGED
|
@@ -84,6 +84,7 @@ var ScreeningRoomSectionPlaceFactory = require("./factory/place/screeningRoomSec
|
|
|
84
84
|
var SeatPlaceFactory = require("./factory/place/seat");
|
|
85
85
|
var placeType_1 = require("./factory/placeType");
|
|
86
86
|
var priceCurrency_1 = require("./factory/priceCurrency");
|
|
87
|
+
var UnitPriceSpecificationFactory = require("./factory/priceSpecification/unitPriceSpecification");
|
|
87
88
|
var priceSpecificationType_1 = require("./factory/priceSpecificationType");
|
|
88
89
|
var ProductFactory = require("./factory/product");
|
|
89
90
|
var ProgramMembershipFactory = require("./factory/programMembership");
|
|
@@ -337,6 +338,7 @@ var place;
|
|
|
337
338
|
exports.placeType = placeType_1.PlaceType;
|
|
338
339
|
var priceSpecification;
|
|
339
340
|
(function (priceSpecification) {
|
|
341
|
+
priceSpecification.unitPrice = UnitPriceSpecificationFactory;
|
|
340
342
|
})(priceSpecification = exports.priceSpecification || (exports.priceSpecification = {}));
|
|
341
343
|
exports.priceSpecificationType = priceSpecificationType_1.PriceSpecificationType;
|
|
342
344
|
exports.programMembership = ProgramMembershipFactory;
|
|
@@ -4,8 +4,15 @@ import { ISimpleOrder } from '../../../order';
|
|
|
4
4
|
import * as OrderProgramMembershipFactory from '../../../task/orderProgramMembership';
|
|
5
5
|
import * as ConfirmActionFactory from '../confirm';
|
|
6
6
|
export declare type IObject = Omit<RegisterServiceFactory.IConfirmParams, 'id'> & {
|
|
7
|
-
transactionNumber
|
|
7
|
+
transactionNumber?: string;
|
|
8
8
|
typeOf: AssetTransactionType.RegisterService;
|
|
9
|
+
object?: {
|
|
10
|
+
itemOffered?: {
|
|
11
|
+
serviceOutput?: {
|
|
12
|
+
identifier?: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
9
16
|
};
|
|
10
17
|
export declare type IPurpose = ISimpleOrder;
|
|
11
18
|
export declare type IResult = any;
|
|
@@ -82,5 +82,17 @@ export interface IAttributes extends AssetTransactionFactory.IAttributes<IStartP
|
|
|
82
82
|
*/
|
|
83
83
|
export declare type ITransaction = IExtendId<IAttributes>;
|
|
84
84
|
export interface ISearchConditions extends AssetTransactionFactory.ISearchConditions<AssetTransactionType.RegisterService> {
|
|
85
|
-
object?:
|
|
85
|
+
object?: {
|
|
86
|
+
itemOffered?: {
|
|
87
|
+
serviceOutput?: {
|
|
88
|
+
/**
|
|
89
|
+
* 発行許可証識別子
|
|
90
|
+
*/
|
|
91
|
+
identifier?: {
|
|
92
|
+
$eq?: string;
|
|
93
|
+
$in?: string[];
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
86
98
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { IPriceSpecification as BaseSpecification } from '../priceSpecification';
|
|
2
2
|
import { PriceSpecificationType } from '../priceSpecificationType';
|
|
3
3
|
import { PaymentServiceType } from '../service/paymentService';
|
|
4
|
+
/**
|
|
5
|
+
* 適用決済カード
|
|
6
|
+
* どの決済方法区分のどの決済カード区分に対して適用されるか
|
|
7
|
+
*/
|
|
4
8
|
export interface IAppliesToMovieTicket {
|
|
5
9
|
typeOf: PaymentServiceType.MovieTicket;
|
|
6
10
|
/**
|
|
7
11
|
* 購入管理番号
|
|
8
12
|
*/
|
|
9
|
-
identifier?: string;
|
|
10
|
-
/**
|
|
11
|
-
* pinコード
|
|
12
|
-
*/
|
|
13
13
|
/**
|
|
14
14
|
* 決済カード区分
|
|
15
15
|
*/
|
|
@@ -31,7 +31,7 @@ export declare type IPriceSpecification = BaseSpecification<PriceSpecificationTy
|
|
|
31
31
|
*/
|
|
32
32
|
appliesToVideoFormat: string;
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* 適用決済カード
|
|
35
35
|
*/
|
|
36
36
|
appliesToMovieTicket: IAppliesToMovieTicket;
|
|
37
37
|
};
|
|
@@ -22,7 +22,7 @@ export declare type IPriceSpecification = BaseSpecification<PriceSpecificationTy
|
|
|
22
22
|
/**
|
|
23
23
|
* 適用MovieTicket
|
|
24
24
|
*/
|
|
25
|
-
appliesToMovieTicket?: IAppliesToMovieTicket;
|
|
25
|
+
appliesToMovieTicket?: IAppliesToMovieTicket | IAppliesToMovieTicket[];
|
|
26
26
|
/**
|
|
27
27
|
* 適用アドオン
|
|
28
28
|
* アドオンを指定された場合に適用される
|