@chevre/factory 4.181.0-alpha.6 → 4.181.0-alpha.7
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/CHANGELOG.md +2 -0
- package/lib/chevre.d.ts +0 -2
- package/lib/chevre.js +0 -3
- package/lib/factory/action/cancel/reservation.d.ts +0 -4
- package/lib/factory/action/reserve.d.ts +0 -4
- package/lib/factory/assetTransaction/cancelReservation.d.ts +1 -6
- package/lib/factory/assetTransaction/reserve.d.ts +1 -6
- package/lib/factory/ownershipInfo.d.ts +1 -1
- package/lib/factory/project.d.ts +0 -4
- package/package.json +1 -1
- package/lib/factory/report/order.d.ts +0 -85
- package/lib/factory/report/order.js +0 -15
package/CHANGELOG.md
CHANGED
package/lib/chevre.d.ts
CHANGED
|
@@ -106,7 +106,6 @@ import * as PropertyValueFactory from './factory/propertyValue';
|
|
|
106
106
|
import * as QualitativeValueFactory from './factory/qualitativeValue';
|
|
107
107
|
import * as QuantitativeValueFactory from './factory/quantitativeValue';
|
|
108
108
|
import * as AccountingReportFactory from './factory/report/accountingReport';
|
|
109
|
-
import * as OrderReportFactory from './factory/report/order';
|
|
110
109
|
import * as ReservationFactory from './factory/reservation';
|
|
111
110
|
import * as EventReservationFactory from './factory/reservation/event';
|
|
112
111
|
import * as ReservationPackageFactory from './factory/reservation/reservationPackage';
|
|
@@ -369,7 +368,6 @@ export import qualitativeValue = QualitativeValueFactory;
|
|
|
369
368
|
export import quantitativeValue = QuantitativeValueFactory;
|
|
370
369
|
export declare namespace report {
|
|
371
370
|
export import accountingReport = AccountingReportFactory;
|
|
372
|
-
export import order = OrderReportFactory;
|
|
373
371
|
}
|
|
374
372
|
export declare namespace reservation {
|
|
375
373
|
type IBroker<T extends ReservationType> = T extends ReservationType.EventReservation ? ReservationFactory.IBroker : ReservationFactory.IBroker;
|
package/lib/chevre.js
CHANGED
|
@@ -94,7 +94,6 @@ var PropertyValueFactory = require("./factory/propertyValue");
|
|
|
94
94
|
var QualitativeValueFactory = require("./factory/qualitativeValue");
|
|
95
95
|
var QuantitativeValueFactory = require("./factory/quantitativeValue");
|
|
96
96
|
var AccountingReportFactory = require("./factory/report/accountingReport");
|
|
97
|
-
var OrderReportFactory = require("./factory/report/order");
|
|
98
97
|
var reservationStatusType_1 = require("./factory/reservationStatusType");
|
|
99
98
|
var reservationType_1 = require("./factory/reservationType");
|
|
100
99
|
var SellerFactory = require("./factory/seller");
|
|
@@ -346,8 +345,6 @@ exports.quantitativeValue = QuantitativeValueFactory;
|
|
|
346
345
|
var report;
|
|
347
346
|
(function (report) {
|
|
348
347
|
report.accountingReport = AccountingReportFactory;
|
|
349
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
350
|
-
report.order = OrderReportFactory;
|
|
351
348
|
})(report = exports.report || (exports.report = {}));
|
|
352
349
|
exports.reservationStatusType = reservationStatusType_1.default;
|
|
353
350
|
exports.reservationType = reservationType_1.default;
|
|
@@ -26,10 +26,6 @@ export interface IPurpose {
|
|
|
26
26
|
}
|
|
27
27
|
export declare type IInformReservation = IInformActionAttributes<IObject, any>;
|
|
28
28
|
export interface IPotentialActions {
|
|
29
|
-
/**
|
|
30
|
-
* 予約通知アクション
|
|
31
|
-
*/
|
|
32
|
-
informReservation?: IInformReservation[];
|
|
33
29
|
}
|
|
34
30
|
/**
|
|
35
31
|
* アクション属性インターフェース
|
|
@@ -28,10 +28,6 @@ export interface IPurpose {
|
|
|
28
28
|
export declare type IInformReservation = IInformActionAttributes<IObject, any>;
|
|
29
29
|
export interface IPotentialActions {
|
|
30
30
|
moneyTransfer?: IMoneyTransferActionAttributes[];
|
|
31
|
-
/**
|
|
32
|
-
* 予約通知アクション
|
|
33
|
-
*/
|
|
34
|
-
informReservation?: IInformReservation[];
|
|
35
31
|
}
|
|
36
32
|
/**
|
|
37
33
|
* アクション属性インターフェース
|
|
@@ -4,7 +4,6 @@ import { ITransaction as IReserveTransaction } from '../assetTransaction/reserve
|
|
|
4
4
|
import AssetTransactionType from '../assetTransactionType';
|
|
5
5
|
import { IExtendId } from '../autoGenerated';
|
|
6
6
|
import { IClientUser } from '../clientUser';
|
|
7
|
-
import { IInformParams, IOnReservationStatusChanged } from '../project';
|
|
8
7
|
import { IReservation as IEventReservation } from '../reservation/event';
|
|
9
8
|
export declare type IStartParamsWithoutDetail = TransactionFactory.IStartParams<AssetTransactionType.CancelReservation, IAgent, undefined, IObjectWithoutDetail>;
|
|
10
9
|
/**
|
|
@@ -35,7 +34,6 @@ export interface IObjectWithoutDetail {
|
|
|
35
34
|
*/
|
|
36
35
|
reservationNumber?: string;
|
|
37
36
|
};
|
|
38
|
-
onReservationStatusChanged?: IOnReservationStatusChanged;
|
|
39
37
|
}
|
|
40
38
|
/**
|
|
41
39
|
* 取引対象物インターフェース
|
|
@@ -44,13 +42,10 @@ export interface IObject {
|
|
|
44
42
|
clientUser?: IClientUser;
|
|
45
43
|
transaction?: IReserveTransaction;
|
|
46
44
|
reservations?: IEventReservation[];
|
|
47
|
-
onReservationStatusChanged?: IOnReservationStatusChanged;
|
|
48
45
|
}
|
|
49
46
|
export interface IPotentialActionsParams {
|
|
50
47
|
cancelReservation?: {
|
|
51
|
-
potentialActions?: {
|
|
52
|
-
informReservation?: IInformParams[];
|
|
53
|
-
};
|
|
48
|
+
potentialActions?: {};
|
|
54
49
|
};
|
|
55
50
|
}
|
|
56
51
|
/**
|
|
@@ -6,7 +6,6 @@ import { IExtendId } from '../autoGenerated';
|
|
|
6
6
|
import { ITicketOffer } from '../event/screeningEvent';
|
|
7
7
|
import { IMovieTicket } from '../paymentMethod/paymentCard/movieTicket';
|
|
8
8
|
import { IPointAward } from '../product';
|
|
9
|
-
import { IInformParams, IOnReservationStatusChanged } from '../project';
|
|
10
9
|
import { IPropertyValue } from '../propertyValue';
|
|
11
10
|
import * as ReservationFactory from '../reservation';
|
|
12
11
|
import { IReservation as IEventReservation, IReservationFor as IEventReservationReservationFor, ISubReservation as ISubReservation4eventReservation } from '../reservation/event';
|
|
@@ -164,9 +163,7 @@ export interface IConfirmingReservation {
|
|
|
164
163
|
}
|
|
165
164
|
export interface IPotentialActionsParams {
|
|
166
165
|
reserve?: {
|
|
167
|
-
potentialActions?: {
|
|
168
|
-
informReservation?: IInformParams[];
|
|
169
|
-
};
|
|
166
|
+
potentialActions?: {};
|
|
170
167
|
};
|
|
171
168
|
}
|
|
172
169
|
/**
|
|
@@ -198,7 +195,6 @@ export interface IObjectWithoutDetail {
|
|
|
198
195
|
reservationFor?: {
|
|
199
196
|
id: string;
|
|
200
197
|
};
|
|
201
|
-
onReservationStatusChanged?: IOnReservationStatusChanged;
|
|
202
198
|
}
|
|
203
199
|
export declare type IReservationFor = IEventReservationReservationFor;
|
|
204
200
|
export interface IEventReservationWithAnyReservationFor extends IEventReservation {
|
|
@@ -214,7 +210,6 @@ export interface IObject extends IReservationPackage {
|
|
|
214
210
|
acceptedOffer?: IAcceptedOffer4object[];
|
|
215
211
|
reservationFor?: IReservationFor;
|
|
216
212
|
subReservation?: ISubReservation[];
|
|
217
|
-
onReservationStatusChanged?: IOnReservationStatusChanged;
|
|
218
213
|
}
|
|
219
214
|
export interface IPotentialActions {
|
|
220
215
|
reserve: ReserveActionFactory.IAttributes[];
|
|
@@ -30,7 +30,7 @@ export interface IReservation {
|
|
|
30
30
|
bookingService?: IBookingService;
|
|
31
31
|
}
|
|
32
32
|
export declare type IReservationWithDetail = IReservation & IEventReservation;
|
|
33
|
-
export declare type IPermit = PermitFactory.IPermit
|
|
33
|
+
export declare type IPermit = PermitFactory.IPermit;
|
|
34
34
|
/**
|
|
35
35
|
* 所有対象物インターフェース (Product or Service)
|
|
36
36
|
*/
|
package/lib/factory/project.d.ts
CHANGED
|
@@ -21,9 +21,6 @@ export interface IOnPaymentStatusChanged {
|
|
|
21
21
|
/**
|
|
22
22
|
* 予約ステータス変更時イベントインターフェース
|
|
23
23
|
*/
|
|
24
|
-
export interface IOnReservationStatusChanged {
|
|
25
|
-
informReservation?: IInformParams[];
|
|
26
|
-
}
|
|
27
24
|
/**
|
|
28
25
|
* 予約使用時イベントインターフェース
|
|
29
26
|
*/
|
|
@@ -60,7 +57,6 @@ export interface IWebhookSettings {
|
|
|
60
57
|
export interface ISettings {
|
|
61
58
|
importEventsInWeeks?: number;
|
|
62
59
|
onPaymentStatusChanged?: IOnPaymentStatusChanged;
|
|
63
|
-
onReservationStatusChanged?: IOnReservationStatusChanged;
|
|
64
60
|
onReservationUsed?: IOnReservationUsed;
|
|
65
61
|
cognito?: ICognitoSettings;
|
|
66
62
|
onOrderStatusChanged?: IOnOrderStatusChanged;
|
package/package.json
CHANGED
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import IMultilingualString from '../multilingualString';
|
|
2
|
-
import { IProject } from '../project';
|
|
3
|
-
export interface ICustomer {
|
|
4
|
-
givenName: string;
|
|
5
|
-
familyName: string;
|
|
6
|
-
email: string;
|
|
7
|
-
telephone: string;
|
|
8
|
-
group: string;
|
|
9
|
-
username: string;
|
|
10
|
-
segment: string;
|
|
11
|
-
}
|
|
12
|
-
export interface IReservation {
|
|
13
|
-
id: string;
|
|
14
|
-
reservationFor: {
|
|
15
|
-
id: string;
|
|
16
|
-
startDate: Date;
|
|
17
|
-
};
|
|
18
|
-
reservedTicket?: {
|
|
19
|
-
/**
|
|
20
|
-
* 予約使用日時
|
|
21
|
-
*/
|
|
22
|
-
dateUsed?: Date;
|
|
23
|
-
ticketedSeat?: {
|
|
24
|
-
seatNumber?: string;
|
|
25
|
-
};
|
|
26
|
-
ticketType?: {
|
|
27
|
-
csvCode?: string;
|
|
28
|
-
name?: IMultilingualString;
|
|
29
|
-
priceSpecification?: {
|
|
30
|
-
price?: number;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* レポートにおける予約ステータス
|
|
37
|
-
*/
|
|
38
|
-
export declare enum ReportCategory {
|
|
39
|
-
Reserved = "RESERVED",
|
|
40
|
-
Cancelled = "CANCELLED",
|
|
41
|
-
/**
|
|
42
|
-
* 返品手数料
|
|
43
|
-
*/
|
|
44
|
-
CancellationFee = "CANCELLATION_FEE"
|
|
45
|
-
}
|
|
46
|
-
export interface IMainEntity {
|
|
47
|
-
confirmationNumber: string;
|
|
48
|
-
/**
|
|
49
|
-
* 購入者
|
|
50
|
-
*/
|
|
51
|
-
customer: ICustomer;
|
|
52
|
-
/**
|
|
53
|
-
* 注文日時
|
|
54
|
-
*/
|
|
55
|
-
orderDate: Date;
|
|
56
|
-
/**
|
|
57
|
-
* 注文番号
|
|
58
|
-
*/
|
|
59
|
-
orderNumber: string;
|
|
60
|
-
/**
|
|
61
|
-
* 決済方法名称
|
|
62
|
-
*/
|
|
63
|
-
paymentMethod: string;
|
|
64
|
-
/**
|
|
65
|
-
* 金額
|
|
66
|
-
*/
|
|
67
|
-
price: number;
|
|
68
|
-
typeOf: string;
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* 注文レポートインターフェース
|
|
72
|
-
*/
|
|
73
|
-
export interface IReport {
|
|
74
|
-
amount: number;
|
|
75
|
-
/**
|
|
76
|
-
* レポートカテゴリー
|
|
77
|
-
*/
|
|
78
|
-
category: ReportCategory;
|
|
79
|
-
dateRecorded: Date;
|
|
80
|
-
mainEntity: IMainEntity;
|
|
81
|
-
payment_seat_index?: number;
|
|
82
|
-
project: IProject;
|
|
83
|
-
reservation: IReservation;
|
|
84
|
-
sortBy: string;
|
|
85
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ReportCategory = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* レポートにおける予約ステータス
|
|
6
|
-
*/
|
|
7
|
-
var ReportCategory;
|
|
8
|
-
(function (ReportCategory) {
|
|
9
|
-
ReportCategory["Reserved"] = "RESERVED";
|
|
10
|
-
ReportCategory["Cancelled"] = "CANCELLED";
|
|
11
|
-
/**
|
|
12
|
-
* 返品手数料
|
|
13
|
-
*/
|
|
14
|
-
ReportCategory["CancellationFee"] = "CANCELLATION_FEE";
|
|
15
|
-
})(ReportCategory = exports.ReportCategory || (exports.ReportCategory = {}));
|