@chevre/factory 8.0.0-alpha.0 → 8.0.0-alpha.1
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/action/authorize/offer/any.d.ts +1 -6
- package/lib/chevre/action/authorize/offer/any.js +1 -1
- package/lib/chevre/assetTransactionType.d.ts +0 -5
- package/lib/chevre/assetTransactionType.js +0 -5
- package/lib/chevre/index.d.ts +9 -18
- package/lib/chevre/index.js +0 -6
- package/lib/chevre/order.d.ts +3 -11
- package/lib/chevre/reservedCodeValues.js +0 -1
- package/lib/chevre/task/onAssetTransactionStatusChanged.d.ts +1 -6
- package/lib/chevre/taskName.d.ts +0 -12
- package/lib/chevre/taskName.js +0 -12
- package/package.json +1 -1
- package/lib/chevre/action/authorize/offer/product.d.ts +0 -73
- package/lib/chevre/action/authorize/offer/product.js +0 -5
- package/lib/chevre/action/interact/confirm/registerService.d.ts +0 -27
- package/lib/chevre/action/interact/confirm/registerService.js +0 -2
- package/lib/chevre/assetTransaction/registerService.d.ts +0 -82
- package/lib/chevre/assetTransaction/registerService.js +0 -2
- package/lib/chevre/orderExternal.d.ts +0 -12
- package/lib/chevre/orderExternal.js +0 -2
- package/lib/chevre/task/confirmRegisterService.d.ts +0 -13
- package/lib/chevre/task/confirmRegisterService.js +0 -2
- package/lib/chevre/task/confirmRegisterServiceTransaction.d.ts +0 -13
- package/lib/chevre/task/confirmRegisterServiceTransaction.js +0 -2
- package/lib/chevre/task/voidRegisterServiceTransaction.d.ts +0 -24
- package/lib/chevre/task/voidRegisterServiceTransaction.js +0 -2
|
@@ -9,8 +9,7 @@ import { TransactionType } from '../../../transactionType';
|
|
|
9
9
|
export type IAgent = IParticipantAsSeller;
|
|
10
10
|
export type IRecipient = IParticipantAsWebApplication | IParticipantAsPerson;
|
|
11
11
|
export declare enum ObjectType {
|
|
12
|
-
SeatReservation = "SeatReservation"
|
|
13
|
-
AggregateOffer = "AggregateOffer"
|
|
12
|
+
SeatReservation = "SeatReservation"
|
|
14
13
|
}
|
|
15
14
|
export interface IInstrumentAsCOAReserveTransaction {
|
|
16
15
|
typeOf: AssetTransactionType.COAReserveTransaction;
|
|
@@ -29,10 +28,6 @@ export interface IInstrumentAsReserveTransaction {
|
|
|
29
28
|
*/
|
|
30
29
|
transactionNumber: string;
|
|
31
30
|
}
|
|
32
|
-
export interface IInstrumentAsRegisterService {
|
|
33
|
-
typeOf: AssetTransactionType.RegisterService;
|
|
34
|
-
transactionNumber: string;
|
|
35
|
-
}
|
|
36
31
|
export interface IPurpose {
|
|
37
32
|
typeOf: TransactionType.PlaceOrder;
|
|
38
33
|
id: string;
|
|
@@ -4,5 +4,5 @@ exports.ObjectType = void 0;
|
|
|
4
4
|
var ObjectType;
|
|
5
5
|
(function (ObjectType) {
|
|
6
6
|
ObjectType["SeatReservation"] = "SeatReservation";
|
|
7
|
-
|
|
7
|
+
// AggregateOffer = 'AggregateOffer'
|
|
8
8
|
})(ObjectType || (exports.ObjectType = ObjectType = {}));
|
|
@@ -22,11 +22,6 @@ var AssetTransactionType;
|
|
|
22
22
|
* 返金
|
|
23
23
|
*/
|
|
24
24
|
AssetTransactionType["Refund"] = "Refund";
|
|
25
|
-
/**
|
|
26
|
-
* サービス登録
|
|
27
|
-
* Service: MembershipService,PaymentCard...
|
|
28
|
-
*/
|
|
29
|
-
AssetTransactionType["RegisterService"] = "RegisterService";
|
|
30
25
|
/**
|
|
31
26
|
* 資産取引docは存在しない
|
|
32
27
|
*/
|
package/lib/chevre/index.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ import * as AcceptPayActionFactory from './action/accept/pay';
|
|
|
7
7
|
import * as AuthorizeActionFactory from './action/authorize';
|
|
8
8
|
import * as AuthorizeInvoiceActionFactory from './action/authorize/invoice';
|
|
9
9
|
import * as AuthorizeEventServiceOfferActionFactory from './action/authorize/offer/eventService';
|
|
10
|
-
import * as AuthorizeProductOfferActionFactory from './action/authorize/offer/product';
|
|
11
10
|
import * as AuthorizeAnyPaymentActionFactory from './action/authorize/paymentMethod/any';
|
|
12
11
|
import * as AuthorizeTicketedObjectActionFactory from './action/authorize/ticketedObject';
|
|
13
12
|
import * as CancelCOAReserveActionFactory from './action/cancel/coaReserve';
|
|
@@ -17,7 +16,6 @@ import * as CheckThingActionFactory from './action/check/thing';
|
|
|
17
16
|
import * as UseReservationActionFactory from './action/consume/use/reservation';
|
|
18
17
|
import * as CreateActionFactory from './action/create';
|
|
19
18
|
import * as ConfirmPayActionFactory from './action/interact/confirm/pay';
|
|
20
|
-
import * as ConfirmRegisterServiceActionFactory from './action/interact/confirm/registerService';
|
|
21
19
|
import * as ConfirmReservationActionFactory from './action/interact/confirm/reservation';
|
|
22
20
|
import * as InformActionFactory from './action/interact/inform';
|
|
23
21
|
import * as RegisterActionFactory from './action/interact/register';
|
|
@@ -164,8 +162,6 @@ import * as CancelReservationTaskFactory from './task/cancelReservation';
|
|
|
164
162
|
import * as CheckMovieTicketTaskFactory from './task/checkMovieTicket';
|
|
165
163
|
import * as CheckResourceTaskFactory from './task/checkResource';
|
|
166
164
|
import * as ConfirmPayTransactionTaskFactory from './task/confirmPayTransaction';
|
|
167
|
-
import * as ConfirmRegisterServiceTaskFactory from './task/confirmRegisterService';
|
|
168
|
-
import * as ConfirmRegisterServiceTransactionTaskFactory from './task/confirmRegisterServiceTransaction';
|
|
169
165
|
import * as ConfirmReserveTransactionTaskFactory from './task/confirmReserveTransaction';
|
|
170
166
|
import * as CreateAccountingReportTaskFactory from './task/createAccountingReport';
|
|
171
167
|
import * as DeletePersonTaskFactory from './task/deletePerson';
|
|
@@ -197,7 +193,6 @@ import * as TriggerWebhookTaskFactory from './task/triggerWebhook';
|
|
|
197
193
|
import * as UseReservationTaskFactory from './task/useReservation';
|
|
198
194
|
import * as VoidPaymentTaskFactory from './task/voidPayment';
|
|
199
195
|
import * as VoidPayTransactionTaskFactory from './task/voidPayTransaction';
|
|
200
|
-
import * as VoidRegisterServiceTransactionTaskFactory from './task/voidRegisterServiceTransaction';
|
|
201
196
|
import * as VoidReserveTransactionTaskFactory from './task/voidReserveTransaction';
|
|
202
197
|
import { TaskName } from './taskName';
|
|
203
198
|
import { TaskStatus } from './taskStatus';
|
|
@@ -205,7 +200,6 @@ import * as AssetTransactionFactory from './assetTransaction';
|
|
|
205
200
|
import * as CancelReservationAssetTransactionFactory from './assetTransaction/cancelReservation';
|
|
206
201
|
import * as PayAssetTransactionFactory from './assetTransaction/pay';
|
|
207
202
|
import * as RefundAssetTransactionFactory from './assetTransaction/refund';
|
|
208
|
-
import * as RegisterServiceAssetTransactionFactory from './assetTransaction/registerService';
|
|
209
203
|
import * as ReserveAssetTransactionFactory from './assetTransaction/reserve';
|
|
210
204
|
import { AssetTransactionType } from './assetTransactionType';
|
|
211
205
|
import { TransactionStatusType } from './transactionStatusType';
|
|
@@ -246,7 +240,6 @@ export declare namespace action {
|
|
|
246
240
|
}
|
|
247
241
|
namespace offer {
|
|
248
242
|
export import eventService = AuthorizeEventServiceOfferActionFactory;
|
|
249
|
-
export import product = AuthorizeProductOfferActionFactory;
|
|
250
243
|
}
|
|
251
244
|
export import invoice = AuthorizeInvoiceActionFactory;
|
|
252
245
|
export import ticketedObject = AuthorizeTicketedObjectActionFactory;
|
|
@@ -264,7 +257,6 @@ export declare namespace action {
|
|
|
264
257
|
export import create = CreateActionFactory;
|
|
265
258
|
namespace interact {
|
|
266
259
|
namespace confirm {
|
|
267
|
-
export import registerService = ConfirmRegisterServiceActionFactory;
|
|
268
260
|
export import pay = ConfirmPayActionFactory;
|
|
269
261
|
export import reservation = ConfirmReservationActionFactory;
|
|
270
262
|
}
|
|
@@ -468,9 +460,9 @@ export import schedule = ScheduleFactory;
|
|
|
468
460
|
export import seller = SellerFactory;
|
|
469
461
|
export import sellerReturnPolicy = SellerReturnPolicyFactory;
|
|
470
462
|
export declare namespace task {
|
|
471
|
-
type IData<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IData : T extends TaskName.CreateAccountingReport ? CreateAccountingReportTaskFactory.IData : T extends TaskName.DeletePerson ? DeletePersonTaskFactory.IData : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IData : T extends TaskName.OnAssetTransactionStatusChanged ? OnAssetTransactionStatusChangedTaskFactory.IData : T extends TaskName.OnAuthorizationCreated ? OnAuthorizationCreatedTaskFactory.IData : T extends TaskName.OnEventChanged ? OnEventChangedTaskFactory.IData : T extends TaskName.OnOrderPaymentCompleted ? OnOrderPaymentCompletedTaskFactory.IData : T extends TaskName.OnResourceDeleted ? OnResourceDeletedTaskFactory.IData : T extends TaskName.OnResourceUpdated ? OnResourceUpdatedTaskFactory.IData : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IData : T extends TaskName.
|
|
472
|
-
type IAttributes<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IAttributes : T extends TaskName.CreateAccountingReport ? CreateAccountingReportTaskFactory.IAttributes : T extends TaskName.DeletePerson ? DeletePersonTaskFactory.IAttributes : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IAttributes : T extends TaskName.OnAssetTransactionStatusChanged ? OnAssetTransactionStatusChangedTaskFactory.IAttributes : T extends TaskName.OnAuthorizationCreated ? OnAuthorizationCreatedTaskFactory.IAttributes : T extends TaskName.OnEventChanged ? OnEventChangedTaskFactory.IAttributes : T extends TaskName.OnOrderPaymentCompleted ? OnOrderPaymentCompletedTaskFactory.IAttributes : T extends TaskName.OnResourceDeleted ? OnResourceDeletedTaskFactory.IAttributes : T extends TaskName.OnResourceUpdated ? OnResourceUpdatedTaskFactory.IAttributes : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IAttributes : T extends TaskName.
|
|
473
|
-
type ITask<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.ITask : T extends TaskName.CreateAccountingReport ? CreateAccountingReportTaskFactory.ITask : T extends TaskName.DeletePerson ? DeletePersonTaskFactory.ITask : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.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.OnResourceDeleted ? OnResourceDeletedTaskFactory.ITask : T extends TaskName.OnResourceUpdated ? OnResourceUpdatedTaskFactory.ITask : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.ITask : T extends TaskName.
|
|
463
|
+
type IData<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IData : T extends TaskName.CreateAccountingReport ? CreateAccountingReportTaskFactory.IData : T extends TaskName.DeletePerson ? DeletePersonTaskFactory.IData : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IData : T extends TaskName.OnAssetTransactionStatusChanged ? OnAssetTransactionStatusChangedTaskFactory.IData : T extends TaskName.OnAuthorizationCreated ? OnAuthorizationCreatedTaskFactory.IData : T extends TaskName.OnEventChanged ? OnEventChangedTaskFactory.IData : T extends TaskName.OnOrderPaymentCompleted ? OnOrderPaymentCompletedTaskFactory.IData : T extends TaskName.OnResourceDeleted ? OnResourceDeletedTaskFactory.IData : T extends TaskName.OnResourceUpdated ? OnResourceUpdatedTaskFactory.IData : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IData : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.IData : T extends TaskName.ReturnPayTransaction ? ReturnPayTransactionTaskFactory.IData : T extends TaskName.ReturnReserveTransaction ? ReturnReserveTransactionTaskFactory.IData : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IData : T extends TaskName.SendOrder ? SendOrderTaskFactory.IData : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.IData : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.IData : T extends TaskName.UseReservation ? UseReservationTaskFactory.IData : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.IData : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.IData : TaskFactory.IData;
|
|
464
|
+
type IAttributes<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IAttributes : T extends TaskName.CreateAccountingReport ? CreateAccountingReportTaskFactory.IAttributes : T extends TaskName.DeletePerson ? DeletePersonTaskFactory.IAttributes : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IAttributes : T extends TaskName.OnAssetTransactionStatusChanged ? OnAssetTransactionStatusChangedTaskFactory.IAttributes : T extends TaskName.OnAuthorizationCreated ? OnAuthorizationCreatedTaskFactory.IAttributes : T extends TaskName.OnEventChanged ? OnEventChangedTaskFactory.IAttributes : T extends TaskName.OnOrderPaymentCompleted ? OnOrderPaymentCompletedTaskFactory.IAttributes : T extends TaskName.OnResourceDeleted ? OnResourceDeletedTaskFactory.IAttributes : T extends TaskName.OnResourceUpdated ? OnResourceUpdatedTaskFactory.IAttributes : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IAttributes : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.IAttributes : T extends TaskName.ReturnPayTransaction ? ReturnPayTransactionTaskFactory.IAttributes : T extends TaskName.ReturnReserveTransaction ? ReturnReserveTransactionTaskFactory.IAttributes : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IAttributes : T extends TaskName.SendOrder ? SendOrderTaskFactory.IAttributes : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.IAttributes : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.IAttributes : T extends TaskName.UseReservation ? UseReservationTaskFactory.IAttributes : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.IAttributes : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.IAttributes : TaskFactory.ITaskAttributes;
|
|
465
|
+
type ITask<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.ITask : T extends TaskName.CreateAccountingReport ? CreateAccountingReportTaskFactory.ITask : T extends TaskName.DeletePerson ? DeletePersonTaskFactory.ITask : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.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.OnResourceDeleted ? OnResourceDeletedTaskFactory.ITask : T extends TaskName.OnResourceUpdated ? OnResourceUpdatedTaskFactory.ITask : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.ITask : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.ITask : T extends TaskName.ReturnPayTransaction ? ReturnPayTransactionTaskFactory.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.VoidPayTransaction ? VoidPayTransactionTaskFactory.ITask : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.ITask : TaskFactory.ITask;
|
|
474
466
|
export import ISearchConditions = TaskFactory.ISearchConditions;
|
|
475
467
|
export import IExecutionResult = TaskFactory.IExecutionResult;
|
|
476
468
|
export import acceptCOAOffer = AcceptCOAOfferTaskFactory;
|
|
@@ -526,16 +518,15 @@ export declare namespace trip {
|
|
|
526
518
|
export import tripType = TripType;
|
|
527
519
|
export declare namespace assetTransaction {
|
|
528
520
|
type IProject = AssetTransactionFactory.IProject;
|
|
529
|
-
type IStartParams<T extends AssetTransactionType> = T extends AssetTransactionType.CancelReservation ? CancelReservationAssetTransactionFactory.IStartParams : T extends AssetTransactionType.Pay ? PayAssetTransactionFactory.IStartParams : T extends AssetTransactionType.Refund ? RefundAssetTransactionFactory.IStartParams : T extends AssetTransactionType.
|
|
530
|
-
type IAttributes<T extends AssetTransactionType> = T extends AssetTransactionType.CancelReservation ? CancelReservationAssetTransactionFactory.IAttributes : T extends AssetTransactionType.Pay ? PayAssetTransactionFactory.IAttributes : T extends AssetTransactionType.Refund ? RefundAssetTransactionFactory.IAttributes : T extends AssetTransactionType.
|
|
531
|
-
type ITransaction<T extends AssetTransactionType> = T extends AssetTransactionType.CancelReservation ? CancelReservationAssetTransactionFactory.ITransaction : T extends AssetTransactionType.Pay ? PayAssetTransactionFactory.ITransaction : T extends AssetTransactionType.Refund ? RefundAssetTransactionFactory.ITransaction : T extends AssetTransactionType.
|
|
532
|
-
type IResult<T extends AssetTransactionType> = T extends AssetTransactionType.CancelReservation ? CancelReservationAssetTransactionFactory.IResult : T extends AssetTransactionType.Pay ? PayAssetTransactionFactory.IResult : T extends AssetTransactionType.Refund ? RefundAssetTransactionFactory.IResult : T extends AssetTransactionType.
|
|
533
|
-
type IPotentialActions<T extends AssetTransactionType> = T extends AssetTransactionType.CancelReservation ? CancelReservationAssetTransactionFactory.IPotentialActions : T extends AssetTransactionType.Pay ? PayAssetTransactionFactory.IPotentialActions : T extends AssetTransactionType.Refund ? RefundAssetTransactionFactory.IPotentialActions : T extends AssetTransactionType.
|
|
534
|
-
type ISearchConditions<T extends AssetTransactionType> = T extends AssetTransactionType.CancelReservation ? CancelReservationAssetTransactionFactory.ISearchConditions : T extends AssetTransactionType.Pay ? PayAssetTransactionFactory.ISearchConditions : T extends AssetTransactionType.Refund ? RefundAssetTransactionFactory.ISearchConditions : T extends AssetTransactionType.
|
|
521
|
+
type IStartParams<T extends AssetTransactionType> = T extends AssetTransactionType.CancelReservation ? CancelReservationAssetTransactionFactory.IStartParams : T extends AssetTransactionType.Pay ? PayAssetTransactionFactory.IStartParams : T extends AssetTransactionType.Refund ? RefundAssetTransactionFactory.IStartParams : T extends AssetTransactionType.Reserve ? ReserveAssetTransactionFactory.IStartParams : never;
|
|
522
|
+
type IAttributes<T extends AssetTransactionType> = T extends AssetTransactionType.CancelReservation ? CancelReservationAssetTransactionFactory.IAttributes : T extends AssetTransactionType.Pay ? PayAssetTransactionFactory.IAttributes : T extends AssetTransactionType.Refund ? RefundAssetTransactionFactory.IAttributes : T extends AssetTransactionType.Reserve ? ReserveAssetTransactionFactory.IAttributes : never;
|
|
523
|
+
type ITransaction<T extends AssetTransactionType> = T extends AssetTransactionType.CancelReservation ? CancelReservationAssetTransactionFactory.ITransaction : T extends AssetTransactionType.Pay ? PayAssetTransactionFactory.ITransaction : T extends AssetTransactionType.Refund ? RefundAssetTransactionFactory.ITransaction : T extends AssetTransactionType.Reserve ? ReserveAssetTransactionFactory.ITransaction : never;
|
|
524
|
+
type IResult<T extends AssetTransactionType> = T extends AssetTransactionType.CancelReservation ? CancelReservationAssetTransactionFactory.IResult : T extends AssetTransactionType.Pay ? PayAssetTransactionFactory.IResult : T extends AssetTransactionType.Refund ? RefundAssetTransactionFactory.IResult : T extends AssetTransactionType.Reserve ? ReserveAssetTransactionFactory.IResult : never;
|
|
525
|
+
type IPotentialActions<T extends AssetTransactionType> = T extends AssetTransactionType.CancelReservation ? CancelReservationAssetTransactionFactory.IPotentialActions : T extends AssetTransactionType.Pay ? PayAssetTransactionFactory.IPotentialActions : T extends AssetTransactionType.Refund ? RefundAssetTransactionFactory.IPotentialActions : T extends AssetTransactionType.Reserve ? ReserveAssetTransactionFactory.IPotentialActions : never;
|
|
526
|
+
type ISearchConditions<T extends AssetTransactionType> = T extends AssetTransactionType.CancelReservation ? CancelReservationAssetTransactionFactory.ISearchConditions : T extends AssetTransactionType.Pay ? PayAssetTransactionFactory.ISearchConditions : T extends AssetTransactionType.Refund ? RefundAssetTransactionFactory.ISearchConditions : T extends AssetTransactionType.Reserve ? ReserveAssetTransactionFactory.ISearchConditions : never;
|
|
535
527
|
export import cancelReservation = CancelReservationAssetTransactionFactory;
|
|
536
528
|
export import pay = PayAssetTransactionFactory;
|
|
537
529
|
export import refund = RefundAssetTransactionFactory;
|
|
538
|
-
export import registerService = RegisterServiceAssetTransactionFactory;
|
|
539
530
|
export import reserve = ReserveAssetTransactionFactory;
|
|
540
531
|
}
|
|
541
532
|
export declare namespace transaction {
|
package/lib/chevre/index.js
CHANGED
|
@@ -9,7 +9,6 @@ const AcceptCOAOfferActionFactory = require("./action/accept/coaOffer");
|
|
|
9
9
|
const AcceptPayActionFactory = require("./action/accept/pay");
|
|
10
10
|
const AuthorizeInvoiceActionFactory = require("./action/authorize/invoice");
|
|
11
11
|
const AuthorizeEventServiceOfferActionFactory = require("./action/authorize/offer/eventService");
|
|
12
|
-
const AuthorizeProductOfferActionFactory = require("./action/authorize/offer/product");
|
|
13
12
|
const AuthorizeAnyPaymentActionFactory = require("./action/authorize/paymentMethod/any");
|
|
14
13
|
const AuthorizeTicketedObjectActionFactory = require("./action/authorize/ticketedObject");
|
|
15
14
|
const CancelCOAReserveActionFactory = require("./action/cancel/coaReserve");
|
|
@@ -19,7 +18,6 @@ const CheckThingActionFactory = require("./action/check/thing");
|
|
|
19
18
|
const UseReservationActionFactory = require("./action/consume/use/reservation");
|
|
20
19
|
const CreateActionFactory = require("./action/create");
|
|
21
20
|
const ConfirmPayActionFactory = require("./action/interact/confirm/pay");
|
|
22
|
-
const ConfirmRegisterServiceActionFactory = require("./action/interact/confirm/registerService");
|
|
23
21
|
const ConfirmReservationActionFactory = require("./action/interact/confirm/reservation");
|
|
24
22
|
const InformActionFactory = require("./action/interact/inform");
|
|
25
23
|
const RegisterServiceActionFactory = require("./action/interact/register/service");
|
|
@@ -189,7 +187,6 @@ const taskStatus_1 = require("./taskStatus");
|
|
|
189
187
|
const CancelReservationAssetTransactionFactory = require("./assetTransaction/cancelReservation");
|
|
190
188
|
const PayAssetTransactionFactory = require("./assetTransaction/pay");
|
|
191
189
|
const RefundAssetTransactionFactory = require("./assetTransaction/refund");
|
|
192
|
-
const RegisterServiceAssetTransactionFactory = require("./assetTransaction/registerService");
|
|
193
190
|
const ReserveAssetTransactionFactory = require("./assetTransaction/reserve");
|
|
194
191
|
const assetTransactionType_1 = require("./assetTransactionType");
|
|
195
192
|
const transactionStatusType_1 = require("./transactionStatusType");
|
|
@@ -218,7 +215,6 @@ var action;
|
|
|
218
215
|
let offer;
|
|
219
216
|
(function (offer) {
|
|
220
217
|
offer.eventService = AuthorizeEventServiceOfferActionFactory;
|
|
221
|
-
offer.product = AuthorizeProductOfferActionFactory;
|
|
222
218
|
})(offer = authorize.offer || (authorize.offer = {}));
|
|
223
219
|
authorize.invoice = AuthorizeInvoiceActionFactory;
|
|
224
220
|
authorize.ticketedObject = AuthorizeTicketedObjectActionFactory;
|
|
@@ -242,7 +238,6 @@ var action;
|
|
|
242
238
|
(function (interact) {
|
|
243
239
|
let confirm;
|
|
244
240
|
(function (confirm) {
|
|
245
|
-
confirm.registerService = ConfirmRegisterServiceActionFactory;
|
|
246
241
|
confirm.pay = ConfirmPayActionFactory;
|
|
247
242
|
confirm.reservation = ConfirmReservationActionFactory;
|
|
248
243
|
})(confirm = interact.confirm || (interact.confirm = {}));
|
|
@@ -514,7 +509,6 @@ var assetTransaction;
|
|
|
514
509
|
assetTransaction.cancelReservation = CancelReservationAssetTransactionFactory;
|
|
515
510
|
assetTransaction.pay = PayAssetTransactionFactory;
|
|
516
511
|
assetTransaction.refund = RefundAssetTransactionFactory;
|
|
517
|
-
assetTransaction.registerService = RegisterServiceAssetTransactionFactory;
|
|
518
512
|
assetTransaction.reserve = ReserveAssetTransactionFactory;
|
|
519
513
|
})(assetTransaction || (exports.assetTransaction = assetTransaction = {}));
|
|
520
514
|
var transaction;
|
package/lib/chevre/order.d.ts
CHANGED
|
@@ -10,13 +10,12 @@ import { IOffer } from './offer';
|
|
|
10
10
|
import { OrderStatus } from './orderStatus';
|
|
11
11
|
import { OrganizationType } from './organizationType';
|
|
12
12
|
import { PaymentStatusType } from './paymentStatusType';
|
|
13
|
-
import { IIssuedThroughAsProduct, IPermit as IBasePermit } from './permit';
|
|
14
13
|
import { IPerson, IProfile } from './person';
|
|
15
14
|
import { PersonType } from './personType';
|
|
16
15
|
import { PlaceType } from './placeType';
|
|
17
16
|
import { PriceCurrency } from './priceCurrency';
|
|
18
17
|
import { IPriceSpecification as ICompoundPriceSpecification } from './priceSpecification/compoundPriceSpecification';
|
|
19
|
-
import {
|
|
18
|
+
import { ProductType } from './product';
|
|
20
19
|
import { IPropertyValue } from './propertyValue';
|
|
21
20
|
import { ICategoryChargePriceComponent, IIssuedThrough, IMovieTicketTypeChargePriceComponent, IOptimizedSuperEventLegacy, IOptimizedWorkPerformedLegacy, IProgramMembershipUsedSearchConditions, IReservation as IRawReservation, IReservationForLegacy, IReservedTicket as IRawReservedTicket, ITicketType, IUnitPriceComponent, IServiceTypeOfIssuedThrough } from './reservation/event';
|
|
22
21
|
import { ReservationType } from './reservationType';
|
|
@@ -197,14 +196,10 @@ export type ICOAEventReservation = Pick<IRawReservation, 'additionalProperty' |
|
|
|
197
196
|
* オファー提供アイテムとしての予約
|
|
198
197
|
*/
|
|
199
198
|
export type IReservation = IEventReservation | ICOAEventReservation;
|
|
200
|
-
export type IPermit = Pick<IBasePermit, 'amount' | 'identifier' | 'name' | 'typeOf' | 'validFor'> & {
|
|
201
|
-
identifier: string;
|
|
202
|
-
issuedThrough?: IIssuedThroughAsProduct;
|
|
203
|
-
};
|
|
204
199
|
/**
|
|
205
200
|
* 注文アイテム
|
|
206
201
|
*/
|
|
207
|
-
export type IItemOffered = IReservation
|
|
202
|
+
export type IItemOffered = IReservation;
|
|
208
203
|
export { ICategoryChargePriceComponent };
|
|
209
204
|
export { IMovieTicketTypeChargePriceComponent };
|
|
210
205
|
export { IUnitPriceComponent };
|
|
@@ -294,16 +289,13 @@ export interface IEventServiceAsOrderedItem {
|
|
|
294
289
|
*/
|
|
295
290
|
id?: string;
|
|
296
291
|
}
|
|
297
|
-
export type IProductAsOrderedItem = Pick<IMembershipProduct | IPaymentCardProduct, 'serviceType' | 'typeOf'> & {
|
|
298
|
-
id: string;
|
|
299
|
-
};
|
|
300
292
|
/**
|
|
301
293
|
* 注文アイテム
|
|
302
294
|
* {@link https://schema.org/OrderItem}
|
|
303
295
|
*/
|
|
304
296
|
export interface IOrderedItem {
|
|
305
297
|
typeOf: 'OrderItem';
|
|
306
|
-
orderedItem:
|
|
298
|
+
orderedItem: IEventServiceAsOrderedItem;
|
|
307
299
|
}
|
|
308
300
|
/**
|
|
309
301
|
* 注文
|
|
@@ -31,7 +31,6 @@ exports.RESERVED_CODE_VALUES = [
|
|
|
31
31
|
'MoneyTransfer',
|
|
32
32
|
assetTransactionType_1.AssetTransactionType.Pay,
|
|
33
33
|
assetTransactionType_1.AssetTransactionType.Refund,
|
|
34
|
-
assetTransactionType_1.AssetTransactionType.RegisterService,
|
|
35
34
|
assetTransactionType_1.AssetTransactionType.Reserve,
|
|
36
35
|
'Authorization',
|
|
37
36
|
certificationStatusEnumeration_1.CertificationStatusEnumeration.CertificationActive,
|
|
@@ -25,12 +25,7 @@ export interface IObjectAsReserveTransaction {
|
|
|
25
25
|
transactionNumber: string;
|
|
26
26
|
status: TransactionStatusType.Confirmed;
|
|
27
27
|
}
|
|
28
|
-
export
|
|
29
|
-
typeOf: AssetTransactionType.RegisterService;
|
|
30
|
-
transactionNumber: string;
|
|
31
|
-
status: TransactionStatusType.Confirmed;
|
|
32
|
-
}
|
|
33
|
-
export type IObject = IObjectAsPayTransaction | IObjectAsReserveTransaction | IObjectAsRegisterServiceTransaction;
|
|
28
|
+
export type IObject = IObjectAsPayTransaction | IObjectAsReserveTransaction;
|
|
34
29
|
export interface IData {
|
|
35
30
|
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
36
31
|
object: IObject;
|
package/lib/chevre/taskName.d.ts
CHANGED
|
@@ -28,18 +28,10 @@ export declare enum TaskName {
|
|
|
28
28
|
* リソース検証
|
|
29
29
|
*/
|
|
30
30
|
CheckResource = "checkResource",
|
|
31
|
-
/**
|
|
32
|
-
* サービス登録
|
|
33
|
-
*/
|
|
34
|
-
ConfirmRegisterService = "confirmRegisterService",
|
|
35
31
|
/**
|
|
36
32
|
* 決済資産取引確定
|
|
37
33
|
*/
|
|
38
34
|
ConfirmPayTransaction = "confirmPayTransaction",
|
|
39
|
-
/**
|
|
40
|
-
* サービス登録資産取引確定
|
|
41
|
-
*/
|
|
42
|
-
ConfirmRegisterServiceTransaction = "confirmRegisterServiceTransaction",
|
|
43
35
|
/**
|
|
44
36
|
* 予約資産取引確定
|
|
45
37
|
*/
|
|
@@ -104,10 +96,6 @@ export declare enum TaskName {
|
|
|
104
96
|
* 決済中止
|
|
105
97
|
*/
|
|
106
98
|
VoidPayTransaction = "voidPayTransaction",
|
|
107
|
-
/**
|
|
108
|
-
* サービス登録中止
|
|
109
|
-
*/
|
|
110
|
-
VoidRegisterServiceTransaction = "voidRegisterServiceTransaction",
|
|
111
99
|
/**
|
|
112
100
|
* 予約中止
|
|
113
101
|
*/
|
package/lib/chevre/taskName.js
CHANGED
|
@@ -32,18 +32,10 @@ var TaskName;
|
|
|
32
32
|
* リソース検証
|
|
33
33
|
*/
|
|
34
34
|
TaskName["CheckResource"] = "checkResource";
|
|
35
|
-
/**
|
|
36
|
-
* サービス登録
|
|
37
|
-
*/
|
|
38
|
-
TaskName["ConfirmRegisterService"] = "confirmRegisterService";
|
|
39
35
|
/**
|
|
40
36
|
* 決済資産取引確定
|
|
41
37
|
*/
|
|
42
38
|
TaskName["ConfirmPayTransaction"] = "confirmPayTransaction";
|
|
43
|
-
/**
|
|
44
|
-
* サービス登録資産取引確定
|
|
45
|
-
*/
|
|
46
|
-
TaskName["ConfirmRegisterServiceTransaction"] = "confirmRegisterServiceTransaction";
|
|
47
39
|
/**
|
|
48
40
|
* 予約資産取引確定
|
|
49
41
|
*/
|
|
@@ -113,10 +105,6 @@ var TaskName;
|
|
|
113
105
|
* 決済中止
|
|
114
106
|
*/
|
|
115
107
|
TaskName["VoidPayTransaction"] = "voidPayTransaction";
|
|
116
|
-
/**
|
|
117
|
-
* サービス登録中止
|
|
118
|
-
*/
|
|
119
|
-
TaskName["VoidRegisterServiceTransaction"] = "voidRegisterServiceTransaction";
|
|
120
108
|
/**
|
|
121
109
|
* 予約中止
|
|
122
110
|
*/
|
package/package.json
CHANGED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { IAction as IBaseAction } from '../../../action';
|
|
2
|
-
import { ActionType } from '../../../actionType';
|
|
3
|
-
import { IAcceptedOfferWithoutDetail } from '../../../assetTransaction/registerService';
|
|
4
|
-
import { IOffer } from '../../../offer';
|
|
5
|
-
import { IIssuedThroughAsProduct, IPermit } from '../../../permit';
|
|
6
|
-
import { IMembershipProduct, IPaymentCardProduct, IServiceOutput as IProductServiceOutput, ITicketPriceSpecification } from '../../../product';
|
|
7
|
-
import { ISeller } from '../../../seller';
|
|
8
|
-
import { IAttributes as IBaseAttributes } from '../../authorize';
|
|
9
|
-
import { IAgent, IError, IInstrumentAsRegisterService, IPurpose, IRecipient, IResultAsAggregateOffer, ObjectType } from './any';
|
|
10
|
-
export { IAgent, IRecipient, IInstrumentAsRegisterService, IError, IPurpose, ObjectType, IResultAsAggregateOffer };
|
|
11
|
-
export type IPermitIssuedByProduct = Omit<IPermit, 'issuedThrough'> & {
|
|
12
|
-
issuedThrough?: IIssuedThroughAsProduct;
|
|
13
|
-
};
|
|
14
|
-
export type IItemOffered = Pick<IMembershipProduct | IPaymentCardProduct, 'typeOf' | 'id' | 'name'> & {
|
|
15
|
-
serviceOutput: IProductServiceOutput & IPermitIssuedByProduct;
|
|
16
|
-
pointAward?: never;
|
|
17
|
-
};
|
|
18
|
-
export { IAcceptedOfferWithoutDetail };
|
|
19
|
-
export type ISellerMakesOffer = Pick<ISeller, 'id' | 'name' | 'typeOf'>;
|
|
20
|
-
export interface IAcceptedOffer extends Pick<IOffer, 'typeOf' | 'id' | 'identifier' | 'itemOffered' | 'name' | 'priceCurrency' | 'seller'> {
|
|
21
|
-
/**
|
|
22
|
-
* オファーコード
|
|
23
|
-
*/
|
|
24
|
-
identifier?: string;
|
|
25
|
-
/**
|
|
26
|
-
* オファー対象アイテム
|
|
27
|
-
*/
|
|
28
|
-
itemOffered: IItemOffered;
|
|
29
|
-
/**
|
|
30
|
-
* 販売者
|
|
31
|
-
*/
|
|
32
|
-
seller: ISellerMakesOffer;
|
|
33
|
-
priceSpecification?: ITicketPriceSpecification;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* 承認アクションオブジェクト(最適化されたAcceptedOffer)
|
|
37
|
-
*/
|
|
38
|
-
export interface IObjectAsAcceptedOffer {
|
|
39
|
-
typeOf: ObjectType.AggregateOffer;
|
|
40
|
-
/**
|
|
41
|
-
* オファー対象アイテム
|
|
42
|
-
*/
|
|
43
|
-
itemOffered: Pick<IItemOffered, 'id' | 'typeOf'>;
|
|
44
|
-
event?: never;
|
|
45
|
-
id?: never;
|
|
46
|
-
pendingTransaction?: never;
|
|
47
|
-
}
|
|
48
|
-
export type IObjectWithoutDetail = IAcceptedOfferWithoutDetail[];
|
|
49
|
-
export type IObject = IObjectAsAcceptedOffer;
|
|
50
|
-
export interface IResult extends IResultAsAggregateOffer {
|
|
51
|
-
/**
|
|
52
|
-
* オファー未指定は現時点でありえないので金額は必ず確定
|
|
53
|
-
*/
|
|
54
|
-
price: number;
|
|
55
|
-
requestBody?: never;
|
|
56
|
-
responseBody?: never;
|
|
57
|
-
offers?: never;
|
|
58
|
-
itemOffered?: never;
|
|
59
|
-
amount?: never;
|
|
60
|
-
}
|
|
61
|
-
export type IInstrument = IInstrumentAsRegisterService;
|
|
62
|
-
export interface IAttributes extends IBaseAttributes<IObject, IResult> {
|
|
63
|
-
typeOf: ActionType.AuthorizeAction;
|
|
64
|
-
agent: IAgent;
|
|
65
|
-
instrument: IInstrument;
|
|
66
|
-
recipient: IRecipient;
|
|
67
|
-
object: IObject;
|
|
68
|
-
purpose: IPurpose;
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* プロダクトオファー承認アクション
|
|
72
|
-
*/
|
|
73
|
-
export type IAction = IBaseAction<IAttributes>;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { IParticipantAsProject } from '../../../action';
|
|
2
|
-
import { IConfirmParams } from '../../../assetTransaction/registerService';
|
|
3
|
-
import { AssetTransactionType } from '../../../assetTransactionType';
|
|
4
|
-
import { ISimpleOrder } from '../../../order';
|
|
5
|
-
import { IAction as IBaseAction, IAttributes as IBaseAttributes } from '../confirm';
|
|
6
|
-
export type IAgent = IParticipantAsProject;
|
|
7
|
-
export type IObject = Pick<IConfirmParams, 'transactionNumber' | 'endDate'> & {
|
|
8
|
-
transactionNumber: string;
|
|
9
|
-
typeOf: AssetTransactionType.RegisterService;
|
|
10
|
-
object?: {
|
|
11
|
-
itemOffered?: {
|
|
12
|
-
serviceOutput?: {
|
|
13
|
-
identifier?: string;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export type IPurpose = ISimpleOrder;
|
|
19
|
-
export type IResult = any;
|
|
20
|
-
export interface IAttributes extends IBaseAttributes<IObject, IResult> {
|
|
21
|
-
agent: IAgent;
|
|
22
|
-
purpose: IPurpose;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* サービス登録確定アクション
|
|
26
|
-
*/
|
|
27
|
-
export type IAction = IBaseAction<IAttributes>;
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { IAttributes as IRegisterServiceActionAttributes } from '../action/interact/register/service';
|
|
2
|
-
import { IAgent, ISearchConditions as IBaseSearchConditions, IStartParams as IBaseStartParams, IAttributes as IBaseAttributes } from '../assetTransaction';
|
|
3
|
-
import { AssetTransactionType } from '../assetTransactionType';
|
|
4
|
-
import { IExtendId } from '../autoGenerated';
|
|
5
|
-
import { OfferType } from '../offerType';
|
|
6
|
-
import { IIssuedThroughAsProduct, IPermit } from '../permit';
|
|
7
|
-
import { IMembershipProduct, IPaymentCardProduct } from '../product';
|
|
8
|
-
export { IAgent };
|
|
9
|
-
export type IStartParamsWithoutDetail = IBaseStartParams<AssetTransactionType.RegisterService, IAgent, undefined, IObjectWithoutDetail>;
|
|
10
|
-
/**
|
|
11
|
-
* 取引開始パラメーター
|
|
12
|
-
* サービス: MembershipService,PaymentCardであればserviceOutputを発行する
|
|
13
|
-
*/
|
|
14
|
-
export type IStartParams = IBaseStartParams<AssetTransactionType.RegisterService, IAgent, undefined, IObject>;
|
|
15
|
-
/**
|
|
16
|
-
* 確定パラメータ
|
|
17
|
-
*/
|
|
18
|
-
export interface IConfirmParams {
|
|
19
|
-
id?: string;
|
|
20
|
-
transactionNumber?: string;
|
|
21
|
-
/**
|
|
22
|
-
* 取引確定日時を指定する
|
|
23
|
-
* serviceOutputのvalidFromに適用される
|
|
24
|
-
*/
|
|
25
|
-
endDate?: Date;
|
|
26
|
-
}
|
|
27
|
-
export interface IResult {
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* エラー
|
|
31
|
-
*/
|
|
32
|
-
export type IError = any;
|
|
33
|
-
export type IServiceOutput = Omit<IPermit, 'issuedThrough'> & {
|
|
34
|
-
identifier: string;
|
|
35
|
-
issuedThrough?: IIssuedThroughAsProduct;
|
|
36
|
-
};
|
|
37
|
-
export interface IAcceptedItemOffered {
|
|
38
|
-
id?: string;
|
|
39
|
-
pointAward?: never;
|
|
40
|
-
serviceOutput?: IServiceOutput;
|
|
41
|
-
}
|
|
42
|
-
export interface IAcceptedOfferWithoutDetail {
|
|
43
|
-
typeOf: OfferType.Offer;
|
|
44
|
-
id: string;
|
|
45
|
-
itemOffered: IAcceptedItemOffered;
|
|
46
|
-
}
|
|
47
|
-
export interface IItemOffered extends Pick<IMembershipProduct | IPaymentCardProduct, 'id' | 'typeOf'> {
|
|
48
|
-
serviceOutput: IServiceOutput;
|
|
49
|
-
pointAward?: never;
|
|
50
|
-
}
|
|
51
|
-
export interface IAcceptedOffer {
|
|
52
|
-
typeOf: OfferType.Offer;
|
|
53
|
-
id: string;
|
|
54
|
-
itemOffered: IItemOffered;
|
|
55
|
-
}
|
|
56
|
-
export type IObjectWithoutDetail = IAcceptedOfferWithoutDetail[];
|
|
57
|
-
export type IObject = IAcceptedOffer[];
|
|
58
|
-
export interface IPotentialActions {
|
|
59
|
-
moneyTransfer?: never;
|
|
60
|
-
registerService: IRegisterServiceActionAttributes[];
|
|
61
|
-
}
|
|
62
|
-
export interface IAttributes extends IBaseAttributes<IStartParams, IResult, IError, IPotentialActions> {
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* 取引
|
|
66
|
-
*/
|
|
67
|
-
export type ITransaction = IExtendId<IAttributes>;
|
|
68
|
-
export interface ISearchConditions extends IBaseSearchConditions<AssetTransactionType.RegisterService> {
|
|
69
|
-
object?: {
|
|
70
|
-
itemOffered?: {
|
|
71
|
-
serviceOutput?: {
|
|
72
|
-
/**
|
|
73
|
-
* 発行許可証識別子
|
|
74
|
-
*/
|
|
75
|
-
identifier?: {
|
|
76
|
-
$eq?: string;
|
|
77
|
-
$in?: string[];
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IOrder, IOrderedItem, IProductAsOrderedItem } from './order';
|
|
2
|
-
export interface IExternalProductAsOrderedItem extends IProductAsOrderedItem {
|
|
3
|
-
name?: {
|
|
4
|
-
ja?: string;
|
|
5
|
-
};
|
|
6
|
-
}
|
|
7
|
-
export interface IExternalOrderedItem extends IOrderedItem {
|
|
8
|
-
orderedItem: IExternalProductAsOrderedItem;
|
|
9
|
-
}
|
|
10
|
-
export type IExternalOrder = Pick<IOrder, 'project' | 'typeOf' | 'seller' | 'customer' | 'confirmationNumber' | 'orderNumber' | 'price' | 'priceCurrency' | 'orderDate' | 'name' | 'orderStatus' | 'orderedItem' | 'paymentMethods'> & {
|
|
11
|
-
orderedItem?: IExternalOrderedItem[];
|
|
12
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IAttributes as IConfirmRegisterServiceActionAttributes } from '../action/interact/confirm/registerService';
|
|
2
|
-
import { IExtendId } from '../autoGenerated';
|
|
3
|
-
import { ITaskAttributes } from '../task';
|
|
4
|
-
import { TaskName } from '../taskName';
|
|
5
|
-
export type IData = IConfirmRegisterServiceActionAttributes;
|
|
6
|
-
export interface IAttributes extends ITaskAttributes {
|
|
7
|
-
name: TaskName.ConfirmRegisterService;
|
|
8
|
-
data: IData;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* サービス登録確定タスク
|
|
12
|
-
*/
|
|
13
|
-
export type ITask = IExtendId<IAttributes>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IAttributes as IConfirmRegisterServiceActionAttributes } from '../action/interact/confirm/registerService';
|
|
2
|
-
import { IExtendId } from '../autoGenerated';
|
|
3
|
-
import { ITaskAttributes } from '../task';
|
|
4
|
-
import { TaskName } from '../taskName';
|
|
5
|
-
export type IData = IConfirmRegisterServiceActionAttributes;
|
|
6
|
-
export interface IAttributes extends ITaskAttributes {
|
|
7
|
-
name: TaskName.ConfirmRegisterServiceTransaction;
|
|
8
|
-
data: IData;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* サービス登録資産取引確定タスク
|
|
12
|
-
*/
|
|
13
|
-
export type ITask = IExtendId<IAttributes>;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { IPurpose } from '../action/authorize/offer/product';
|
|
2
|
-
import { IExtendId } from '../autoGenerated';
|
|
3
|
-
import { IProject } from '../project';
|
|
4
|
-
import { ITaskAttributes } from '../task';
|
|
5
|
-
import { TaskName } from '../taskName';
|
|
6
|
-
export interface IData {
|
|
7
|
-
agent?: {
|
|
8
|
-
id: string;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* 承認アクションID指定であれば、指定アクションのみ中止
|
|
12
|
-
*/
|
|
13
|
-
id?: string;
|
|
14
|
-
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
15
|
-
purpose: IPurpose;
|
|
16
|
-
}
|
|
17
|
-
export interface IAttributes extends ITaskAttributes {
|
|
18
|
-
name: TaskName.VoidRegisterServiceTransaction;
|
|
19
|
-
data: IData;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* サービス登録中止タスクインターフェース
|
|
23
|
-
*/
|
|
24
|
-
export type ITask = IExtendId<IAttributes>;
|