@chevre/factory 4.367.0-alpha.0 → 4.367.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/action/check/paymentMethod/movieTicket.d.ts +1 -1
- package/lib/action/trade/pay.d.ts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/order.d.ts +4 -15
- package/lib/paymentMethod/paymentCard/movieTicket.d.ts +23 -21
- package/lib/reservation/busReservation.d.ts +4 -0
- package/lib/reservation/event.d.ts +4 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type * as surfrock from '@surfrock/sdk';
|
|
2
2
|
import * as ActionFactory from '../../../action';
|
|
3
3
|
import { OrganizationType } from '../../../organizationType';
|
|
4
|
-
import {
|
|
4
|
+
import { IMovieTicketPaymentCard, IMovieTicketServiceOutput } from '../../../paymentMethod/paymentCard/movieTicket';
|
|
5
5
|
import { TransactionType } from '../../../transactionType';
|
|
6
6
|
import * as CheckActionFactory from '../../check';
|
|
7
7
|
import * as PayActionFactory from '../../trade/pay';
|
|
@@ -7,7 +7,7 @@ import { AssetTransactionType } from '../../assetTransactionType';
|
|
|
7
7
|
import { CreativeWorkType } from '../../creativeWorkType';
|
|
8
8
|
import { IPaymentServiceOutput } from '../../invoice';
|
|
9
9
|
import { ITotalPaymentDue, OrderType } from '../../order';
|
|
10
|
-
import {
|
|
10
|
+
import { IMovieTicketPaymentCard } from '../../paymentMethod/paymentCard/movieTicket';
|
|
11
11
|
import { IPropertyValue } from '../../propertyValue';
|
|
12
12
|
import { PaymentServiceType } from '../../service/paymentService';
|
|
13
13
|
import { IAttributes as IInformActionAttributes } from '../interact/inform';
|
package/lib/index.d.ts
CHANGED
|
@@ -340,7 +340,7 @@ export import organizationType = OrganizationType;
|
|
|
340
340
|
export import ownershipInfo = OwnershipInfoFactory;
|
|
341
341
|
export declare namespace paymentMethod {
|
|
342
342
|
type ISearchConditions = any;
|
|
343
|
-
type IPaymentMethod = CreditCardFactory.ICheckedCard | MovieTicketFactory.
|
|
343
|
+
type IPaymentMethod = CreditCardFactory.ICheckedCard | MovieTicketFactory.IMovieTicketPaymentCard;
|
|
344
344
|
namespace paymentCard {
|
|
345
345
|
export import IPaymentCard = PaymentCardFactory.IPaymentCard;
|
|
346
346
|
export import creditCard = CreditCardFactory;
|
package/lib/order.d.ts
CHANGED
|
@@ -122,11 +122,13 @@ export type IEventAsReservationFor = Omit<EventReservationFactory.IReservationFo
|
|
|
122
122
|
export type IReservedTicket = Pick<ITicket, 'typeOf' | 'ticketedSeat' | 'dateIssued' | 'ticketNumber' | 'ticketToken' | 'coaTicketInfo' | 'coaReserveAmount'> & {
|
|
123
123
|
ticketType: ITicketType;
|
|
124
124
|
};
|
|
125
|
-
export type IBusReservation = Pick<BusReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'id' | '
|
|
125
|
+
export type IBusReservation = Pick<BusReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'id' | 'identifier' | // 追加(2024-04-15~)
|
|
126
|
+
'issuedThrough' | 'programMembershipUsed' | 'reservationNumber' | 'typeOf'> & {
|
|
126
127
|
reservationFor: ITripAsReservationFor;
|
|
127
128
|
reservedTicket: IReservedTicket;
|
|
128
129
|
};
|
|
129
|
-
export type IEventReservation = Pick<EventReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'id' | '
|
|
130
|
+
export type IEventReservation = Pick<EventReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'id' | 'identifier' | // 追加(2024-04-15~)
|
|
131
|
+
'issuedThrough' | 'programMembershipUsed' | 'reservationNumber' | 'typeOf'> & {
|
|
130
132
|
reservationFor: IEventAsReservationFor;
|
|
131
133
|
reservedTicket: IReservedTicket;
|
|
132
134
|
};
|
|
@@ -545,19 +547,6 @@ export interface ISearchConditions {
|
|
|
545
547
|
$eq?: string;
|
|
546
548
|
};
|
|
547
549
|
};
|
|
548
|
-
additionalProperty?: {
|
|
549
|
-
$all?: IPropertyValue<string>[];
|
|
550
|
-
$in?: IPropertyValue<string>[];
|
|
551
|
-
$nin?: IPropertyValue<string>[];
|
|
552
|
-
$elemMatch?: {
|
|
553
|
-
name?: {
|
|
554
|
-
/**
|
|
555
|
-
* 一致する名称の追加特性がひとつでも存在する
|
|
556
|
-
*/
|
|
557
|
-
$eq?: string;
|
|
558
|
-
};
|
|
559
|
-
};
|
|
560
|
-
};
|
|
561
550
|
broker?: {
|
|
562
551
|
id?: {
|
|
563
552
|
$eq?: string;
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
import { EventType } from '../../eventType';
|
|
2
2
|
import { ISeat } from '../../reservation';
|
|
3
3
|
import { IPaymentCard } from '../paymentCard';
|
|
4
|
-
export interface
|
|
4
|
+
export interface IMovieTicketReservationFor {
|
|
5
5
|
typeOf: EventType.ScreeningEvent;
|
|
6
6
|
id: string;
|
|
7
7
|
}
|
|
8
|
-
export interface
|
|
8
|
+
export interface IMovieTicketServiceOutput {
|
|
9
|
+
/**
|
|
10
|
+
* 予約識別子
|
|
11
|
+
*/
|
|
12
|
+
identifier?: string;
|
|
9
13
|
/**
|
|
10
14
|
* 予約対象イベント
|
|
11
15
|
*/
|
|
12
|
-
reservationFor:
|
|
16
|
+
reservationFor: IMovieTicketReservationFor;
|
|
13
17
|
/**
|
|
14
18
|
* 予約チケット
|
|
15
19
|
*/
|
|
@@ -17,7 +21,21 @@ export interface IServiceOutput {
|
|
|
17
21
|
ticketedSeat: ISeat;
|
|
18
22
|
};
|
|
19
23
|
}
|
|
20
|
-
|
|
24
|
+
/**
|
|
25
|
+
* 決済カード
|
|
26
|
+
*/
|
|
27
|
+
export interface IMovieTicketPaymentCard extends Pick<IPaymentCard, 'accessCode' | 'amount' | 'serviceOutput' | 'serviceType' | 'identifier' | 'typeOf'> {
|
|
28
|
+
/**
|
|
29
|
+
* 決済方法区分コード
|
|
30
|
+
*/
|
|
31
|
+
typeOf: string;
|
|
32
|
+
category: {
|
|
33
|
+
/**
|
|
34
|
+
* 前売券(カード)の種類
|
|
35
|
+
* 全国券,劇場券など
|
|
36
|
+
*/
|
|
37
|
+
codeValue: string;
|
|
38
|
+
};
|
|
21
39
|
/**
|
|
22
40
|
* 購入管理番号
|
|
23
41
|
*/
|
|
@@ -33,21 +51,5 @@ export interface IAttributes extends IPaymentCard {
|
|
|
33
51
|
/**
|
|
34
52
|
* 利用対象予約
|
|
35
53
|
*/
|
|
36
|
-
serviceOutput:
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* MovieTicket決済カード
|
|
40
|
-
*/
|
|
41
|
-
export interface IMovieTicket extends IAttributes {
|
|
42
|
-
/**
|
|
43
|
-
* 決済方法区分コード
|
|
44
|
-
*/
|
|
45
|
-
typeOf: string;
|
|
46
|
-
category: {
|
|
47
|
-
/**
|
|
48
|
-
* 前売券(カード)の種類
|
|
49
|
-
* 全国券,劇場券など
|
|
50
|
-
*/
|
|
51
|
-
codeValue: string;
|
|
52
|
-
};
|
|
54
|
+
serviceOutput: IMovieTicketServiceOutput;
|
|
53
55
|
}
|
|
@@ -27,6 +27,10 @@ export interface IIssuedThrough extends ReservationFactory.IIssuedThrough {
|
|
|
27
27
|
export interface IReservation extends ReservationFactory.IReservation<IPriceSpecification> {
|
|
28
28
|
bookingTime: Date;
|
|
29
29
|
id: string;
|
|
30
|
+
/**
|
|
31
|
+
* 予約識別子
|
|
32
|
+
*/
|
|
33
|
+
identifier?: string;
|
|
30
34
|
issuedThrough: IIssuedThrough;
|
|
31
35
|
reservationFor: IReservationFor;
|
|
32
36
|
reservationNumber: string;
|
|
@@ -51,6 +51,10 @@ export interface IIssuedThrough extends ReservationFactory.IIssuedThrough {
|
|
|
51
51
|
export interface IReservation extends ReservationFactory.IReservation<IPriceSpecification> {
|
|
52
52
|
bookingTime: Date;
|
|
53
53
|
id: string;
|
|
54
|
+
/**
|
|
55
|
+
* 予約識別子
|
|
56
|
+
*/
|
|
57
|
+
identifier?: string;
|
|
54
58
|
issuedThrough: IIssuedThrough;
|
|
55
59
|
reservationFor: IReservationFor;
|
|
56
60
|
reservationNumber: string;
|