@chevre/factory 4.364.0-alpha.0 → 4.364.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.
|
@@ -22,33 +22,39 @@ export import IPurchaseNumberAuthResult = CheckMovieTicketActionFactory.IPurchas
|
|
|
22
22
|
export interface IObject {
|
|
23
23
|
/**
|
|
24
24
|
* The identifier for the account the payment will be applied to.
|
|
25
|
+
* MovieTicket->購入管理番号
|
|
26
|
+
* PaymentCard->カード識別子
|
|
27
|
+
* その他->空文字
|
|
25
28
|
*/
|
|
26
|
-
accountId
|
|
29
|
+
accountId: string;
|
|
27
30
|
/**
|
|
28
31
|
* 追加特性
|
|
29
32
|
*/
|
|
30
33
|
additionalProperty?: IPropertyValue<string>[];
|
|
31
34
|
/**
|
|
32
35
|
* The amount of money.
|
|
36
|
+
* MovieTicket->固定で0指定(金額として0)
|
|
37
|
+
* その他->決済金額
|
|
33
38
|
*/
|
|
34
39
|
amount: number;
|
|
35
40
|
/**
|
|
36
41
|
* 説明
|
|
42
|
+
* PaymentCardのみ対応
|
|
37
43
|
*/
|
|
38
44
|
description?: string;
|
|
39
45
|
/**
|
|
40
46
|
* 決済方法名称
|
|
41
|
-
*
|
|
47
|
+
* 指定すると注文の決済方法名称へ連携
|
|
42
48
|
*/
|
|
43
49
|
name?: string;
|
|
44
50
|
/**
|
|
45
|
-
*
|
|
51
|
+
* 決済方法区分
|
|
46
52
|
*/
|
|
47
53
|
paymentMethod: AvailablePaymentMethodType;
|
|
48
54
|
/**
|
|
49
55
|
* 決済ID
|
|
50
56
|
*/
|
|
51
|
-
paymentMethodId
|
|
57
|
+
paymentMethodId: string;
|
|
52
58
|
typeOf: ResultType;
|
|
53
59
|
issuedThrough: {
|
|
54
60
|
/**
|
|
@@ -73,6 +79,13 @@ export interface IObject {
|
|
|
73
79
|
*/
|
|
74
80
|
movieTickets?: IMovieTicket[];
|
|
75
81
|
}
|
|
82
|
+
export type IObjectWithoutDetail = Pick<IObject, 'additionalProperty' | 'amount' | 'issuedThrough' | 'paymentMethod' | 'description' | 'name' | 'creditCard' | 'method' | 'movieTickets' | 'fromLocation'> & {
|
|
83
|
+
/**
|
|
84
|
+
* 外部決済URL発行の場合に指定
|
|
85
|
+
* CreditCardのみ対応
|
|
86
|
+
*/
|
|
87
|
+
paymentMethodId?: string;
|
|
88
|
+
};
|
|
76
89
|
export interface IResultPaymentMethod {
|
|
77
90
|
/**
|
|
78
91
|
* 決済方法区分
|
package/lib/index.d.ts
CHANGED
|
@@ -124,6 +124,7 @@ import { UnitCode } from './unitCode';
|
|
|
124
124
|
import * as UnitPriceOfferFactory from './unitPriceOffer';
|
|
125
125
|
import * as TaskFactory from './task';
|
|
126
126
|
import * as AccountMoneyTransferTaskFactory from './task/accountMoneyTransfer';
|
|
127
|
+
import * as AggregateOffersTaskFactory from './task/aggregateOffers';
|
|
127
128
|
import * as AggregateScreeningEventTaskFactory from './task/aggregateScreeningEvent';
|
|
128
129
|
import * as AggregateUseActionsOnEventTaskFactory from './task/aggregateUseActionsOnEvent';
|
|
129
130
|
import * as CancelAccountMoneyTransferTaskFactory from './task/cancelAccountMoneyTransfer';
|
|
@@ -415,6 +416,7 @@ export declare namespace task {
|
|
|
415
416
|
type ITask<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.ITask : T extends TaskName.CreateEvent ? CreateEventTaskFactory.ITask : T extends TaskName.CreateAccountingReport ? CreateAccountingReportTaskFactory.ITask : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.ITask : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.ITask : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.ITask : T extends TaskName.OnAssetTransactionStatusChanged ? OnAssetTransactionStatusChangedTaskFactory.ITask : T extends TaskName.OnAuthorizationCreated ? OnAuthorizationCreatedTaskFactory.ITask : T extends TaskName.OnEventChanged ? OnEventChangedTaskFactory.ITask : T extends TaskName.OnOrderPaymentCompleted ? OnOrderPaymentCompletedTaskFactory.ITask : T extends TaskName.OnResourceUpdated ? OnResourceUpdatedTaskFactory.ITask : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.ITask : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.ITask : T extends TaskName.ConfirmRegisterServiceTransaction ? ConfirmRegisterServiceTransactionTaskFactory.ITask : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.ITask : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.ITask : T extends TaskName.ReturnPayTransaction ? ReturnPayTransactionTaskFactory.ITask : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.ITask : T extends TaskName.ReturnReserveTransaction ? ReturnReserveTransactionTaskFactory.ITask : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.ITask : T extends TaskName.SendOrder ? SendOrderTaskFactory.ITask : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.ITask : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.ITask : T extends TaskName.UseReservation ? UseReservationTaskFactory.ITask : T extends TaskName.VoidMoneyTransferTransaction ? VoidMoneyTransferTransactionTaskFactory.ITask : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.ITask : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.ITask : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.ITask : TaskFactory.ITask;
|
|
416
417
|
export import ISearchConditions = TaskFactory.ISearchConditions;
|
|
417
418
|
export import IExecutionResult = TaskFactory.IExecutionResult;
|
|
419
|
+
export import aggregateOffers = AggregateOffersTaskFactory;
|
|
418
420
|
export import aggregateScreeningEvent = AggregateScreeningEventTaskFactory;
|
|
419
421
|
export import aggregateUseActionsOnEvent = AggregateUseActionsOnEventTaskFactory;
|
|
420
422
|
export import cancelMoneyTransfer = CancelMoneyTransferTaskFactory;
|
package/lib/index.js
CHANGED
|
@@ -113,6 +113,7 @@ var tripType_1 = require("./tripType");
|
|
|
113
113
|
var unitCode_1 = require("./unitCode");
|
|
114
114
|
var UnitPriceOfferFactory = require("./unitPriceOffer");
|
|
115
115
|
var AccountMoneyTransferTaskFactory = require("./task/accountMoneyTransfer");
|
|
116
|
+
var AggregateOffersTaskFactory = require("./task/aggregateOffers");
|
|
116
117
|
var AggregateScreeningEventTaskFactory = require("./task/aggregateScreeningEvent");
|
|
117
118
|
var AggregateUseActionsOnEventTaskFactory = require("./task/aggregateUseActionsOnEvent");
|
|
118
119
|
var CancelAccountMoneyTransferTaskFactory = require("./task/cancelAccountMoneyTransfer");
|
|
@@ -368,6 +369,7 @@ exports.reservationType = reservationType_1.ReservationType;
|
|
|
368
369
|
exports.seller = SellerFactory;
|
|
369
370
|
var task;
|
|
370
371
|
(function (task) {
|
|
372
|
+
task.aggregateOffers = AggregateOffersTaskFactory;
|
|
371
373
|
task.aggregateScreeningEvent = AggregateScreeningEventTaskFactory;
|
|
372
374
|
task.aggregateUseActionsOnEvent = AggregateUseActionsOnEventTaskFactory;
|
|
373
375
|
task.cancelMoneyTransfer = CancelMoneyTransferTaskFactory;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IExtendId } from '../autoGenerated';
|
|
2
|
+
import { EventType } from '../eventType';
|
|
3
|
+
import * as TaskFactory from '../task';
|
|
4
|
+
import { TaskName } from '../taskName';
|
|
5
|
+
export interface IData {
|
|
6
|
+
typeOf: EventType.ScreeningEvent;
|
|
7
|
+
id: string;
|
|
8
|
+
}
|
|
9
|
+
export interface IAttributes extends TaskFactory.IAttributes {
|
|
10
|
+
name: TaskName.AggregateOffers;
|
|
11
|
+
data: IData;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* オファー集計タスク
|
|
15
|
+
*/
|
|
16
|
+
export type ITask = IExtendId<IAttributes>;
|
package/lib/taskName.d.ts
CHANGED
package/lib/taskName.js
CHANGED
|
@@ -10,6 +10,7 @@ var TaskName;
|
|
|
10
10
|
* 口座転送
|
|
11
11
|
*/
|
|
12
12
|
TaskName["AccountMoneyTransfer"] = "accountMoneyTransfer";
|
|
13
|
+
TaskName["AggregateOffers"] = "aggregateOffers";
|
|
13
14
|
TaskName["AggregateScreeningEvent"] = "aggregateScreeningEvent";
|
|
14
15
|
TaskName["AggregateUseActionsOnEvent"] = "aggregateUseActionsOnEvent";
|
|
15
16
|
/**
|