@chevre/factory 4.259.0-alpha.3 → 4.259.0-alpha.6

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,8 +1,6 @@
1
1
  import * as ActionFactory from '../../../action';
2
2
  import * as OrderFactory from '../../../order';
3
- import * as WebAPIFactory from '../../../service/webAPI';
4
- import { IAttributes as IRefundActionAttributes } from '../../transfer/return/paymentMethod';
5
- import { IAttributes as IReturnReserveTransactionActionAttributes } from '../../transfer/return/reserveTransaction';
3
+ import { IAttributes as IReturnPaymentMethodActionAttributes } from '../../transfer/return/paymentMethod';
6
4
  import * as ReturnActionFactory from '../return';
7
5
  import { IAttributes as ISendEmailMessageActionAttributes } from '../send/message/email';
8
6
  import * as ReturnMoneyTransferActionFactory from './moneyTransfer';
@@ -22,16 +20,23 @@ export declare type IResult = any;
22
20
  export interface IPotentialActions {
23
21
  /**
24
22
  * 設定追加(2022-06-08~)
23
+ * 廃止(2022-08-10~)
25
24
  */
26
- useConfirmRefund: boolean;
27
25
  /**
28
26
  * 予約取引返却アクション
27
+ * 廃止(2022-08-10~)
29
28
  */
30
- cancelReservation?: IReturnReserveTransactionActionAttributes<WebAPIFactory.Identifier>[];
31
29
  /**
32
30
  * 返金アクション
31
+ * 廃止(2022-08-10~)
32
+ * @deprecated Use returnPaymentMethod
33
33
  */
34
- refund: IRefundActionAttributes[];
34
+ refund: IReturnPaymentMethodActionAttributes[];
35
+ /**
36
+ * 決済返却アクション
37
+ * refundから移行(2022-08-10~)
38
+ */
39
+ returnPaymentMethod: IReturnPaymentMethodActionAttributes[];
35
40
  /**
36
41
  * 入金返却アクション
37
42
  */
@@ -1,15 +1,15 @@
1
1
  import { IMultilingualString } from '../multilingualString';
2
2
  import * as OfferFactory from '../offer';
3
- import { IOrganization } from '../organization';
4
3
  import * as PlaceFactory from '../place';
5
4
  import { PlaceType } from '../placeType';
6
5
  import { IQuantitativeValue } from '../quantitativeValue';
6
+ import { ISeller } from '../seller';
7
7
  import { UnitCode } from '../unitCode';
8
8
  import { IPlace as IScreeningRoom } from './screeningRoom';
9
9
  /**
10
10
  * 施設に対するオファーインターフェース
11
11
  */
12
- export interface IOffer extends OfferFactory.IOffer {
12
+ export interface IOffer extends Pick<OfferFactory.IOffer, 'priceCurrency' | 'project' | 'typeOf' | 'eligibleQuantity'> {
13
13
  /**
14
14
  * イベント開始前の販売猶予期間
15
15
  */
@@ -26,11 +26,28 @@ export declare type POSType = 'POS';
26
26
  */
27
27
  export interface IPOS {
28
28
  typeOf: POSType;
29
+ /**
30
+ * コード
31
+ */
29
32
  id: string;
33
+ /**
34
+ * 名称
35
+ */
30
36
  name: string;
31
37
  }
32
- export declare type IEntranceGate = PlaceFactory.IPlace;
33
- export declare type IParentOrganization = IOrganization;
38
+ /**
39
+ * 入場ゲート
40
+ */
41
+ export declare type IEntranceGate = Pick<PlaceFactory.IPlace, 'typeOf' | 'identifier' | 'name'> & {
42
+ typeOf: PlaceType.Place;
43
+ identifier: string;
44
+ };
45
+ /**
46
+ * 親組織
47
+ */
48
+ export declare type IParentOrganization = Pick<ISeller, 'typeOf' | 'id'> & {
49
+ id: string;
50
+ };
34
51
  /**
35
52
  * place interface without screening room
36
53
  */
@@ -40,9 +57,9 @@ export interface IPlaceWithoutScreeningRoom extends PlaceFactory.IPlace {
40
57
  /**
41
58
  * ルーム数
42
59
  */
43
- screenCount: number;
60
+ screenCount?: number;
44
61
  /**
45
- * 枝番号
62
+ * 施設コード
46
63
  */
47
64
  branchCode: string;
48
65
  /**
@@ -5,7 +5,7 @@ import { IPlace as IScreeningRoomSection } from './screeningRoomSection';
5
5
  /**
6
6
  * ルームインターフェース
7
7
  */
8
- export interface IPlace extends PlaceFactory.IPlace {
8
+ export interface IPlace extends Pick<PlaceFactory.IPlace, 'project' | 'typeOf' | 'branchCode' | 'name' | 'address' | 'containedInPlace' | 'containsPlace' | 'additionalProperty' | 'openSeatingAllowed' | 'maximumAttendeeCapacity'> {
9
9
  typeOf: PlaceType.ScreeningRoom;
10
10
  /**
11
11
  * セクションリスト
@@ -4,7 +4,7 @@ import { IPlace as ISeat, IPlaceWithOffer as ISeatWithOffer } from './seat';
4
4
  /**
5
5
  * セクションインターフェース
6
6
  */
7
- export interface IPlace extends PlaceFactory.IPlace {
7
+ export interface IPlace extends Pick<PlaceFactory.IPlace, 'project' | 'typeOf' | 'branchCode' | 'name' | 'containedInPlace' | 'containsPlace' | 'additionalProperty'> {
8
8
  typeOf: PlaceType.ScreeningRoomSection;
9
9
  /**
10
10
  * 座席リスト
@@ -27,7 +27,7 @@ export declare type ISeatingType = string | string[];
27
27
  /**
28
28
  * 座席インターフェース
29
29
  */
30
- export interface IPlace extends PlaceFactory.IPlace {
30
+ export interface IPlace extends Pick<PlaceFactory.IPlace, 'project' | 'typeOf' | 'branchCode' | 'containedInPlace' | 'additionalProperty' | 'name'> {
31
31
  typeOf: PlaceType.Seat;
32
32
  /**
33
33
  * 枝番号
@@ -15,6 +15,7 @@ export interface IPlace extends IThing {
15
15
  containedInPlace?: IPlace;
16
16
  containsPlace?: IPlace[];
17
17
  maximumAttendeeCapacity?: number;
18
+ name?: IMultilingualString;
18
19
  openingHoursSpecification?: any;
19
20
  openSeatingAllowed?: boolean;
20
21
  smokingAllowed?: boolean;
@@ -32,12 +32,6 @@ export declare enum TaskName {
32
32
  * 通貨転送
33
33
  */
34
34
  ConfirmMoneyTransfer = "confirmMoneyTransfer",
35
- /**
36
- * 決済
37
- */
38
- /**
39
- * 返金
40
- */
41
35
  /**
42
36
  * サービス登録
43
37
  */
@@ -36,14 +36,6 @@ var TaskName;
36
36
  * 通貨転送
37
37
  */
38
38
  TaskName["ConfirmMoneyTransfer"] = "confirmMoneyTransfer";
39
- /**
40
- * 決済
41
- */
42
- // ConfirmPay = 'confirmPay',
43
- /**
44
- * 返金
45
- */
46
- // ConfirmRefund = 'confirmRefund',
47
39
  /**
48
40
  * サービス登録
49
41
  */
@@ -118,11 +118,25 @@ export interface IConfirmParams {
118
118
  */
119
119
  potentialActions?: IPotentialActionsParams;
120
120
  }
121
+ export interface IReturnFeesMovieTicket {
122
+ /**
123
+ * 決済カードコード
124
+ */
125
+ identifier: string;
126
+ /**
127
+ * 着券取消実行有無
128
+ */
129
+ returnFees: ReturnFeesEnumeration.FreeReturn | ReturnFeesEnumeration.ReturnFeesCustomerResponsibility;
130
+ }
121
131
  /**
122
132
  * 取引に適用される返品ポリシー
123
133
  */
124
134
  export declare type IReturnPolicy = Pick<IMerchantReturnPolicy, 'typeOf' | 'merchantReturnDays' | 'restockingFee' | 'returnFees'> & {
125
135
  returnFees: ReturnFeesEnumeration;
136
+ /**
137
+ * 決済カードコードごとの着券取消実行有無
138
+ */
139
+ returnFeesMovieTicket?: IReturnFeesMovieTicket[];
126
140
  };
127
141
  /**
128
142
  * 取引対象物
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.259.0-alpha.3",
3
+ "version": "4.259.0-alpha.6",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",