@chevre/factory 8.0.0-alpha.5 → 8.0.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.
Files changed (42) hide show
  1. package/lib/chevre/action/trade/pay.d.ts +1 -15
  2. package/lib/chevre/assetTransaction/pay.d.ts +2 -2
  3. package/lib/chevre/assetTransaction/reserve.d.ts +1 -2
  4. package/lib/chevre/authorization.d.ts +2 -22
  5. package/lib/chevre/index.d.ts +0 -11
  6. package/lib/chevre/index.js +2 -13
  7. package/lib/chevre/ownershipInfo.d.ts +2 -3
  8. package/lib/chevre/permit.d.ts +2 -21
  9. package/lib/chevre/product.d.ts +5 -69
  10. package/lib/chevre/product.js +0 -12
  11. package/lib/chevre/reservation.d.ts +1 -9
  12. package/lib/chevre/reservedCodeValues.js +3 -7
  13. package/lib/chevre/service/paymentService.d.ts +3 -3
  14. package/lib/chevre/taskName.d.ts +0 -1
  15. package/lib/chevre/taskName.js +1 -1
  16. package/lib/chevre/transaction/placeOrder.d.ts +0 -8
  17. package/lib/chevre/unitPriceOffer.d.ts +1 -31
  18. package/package.json +1 -1
  19. package/lib/chevre/account/action/moneyTransfer.d.ts +0 -86
  20. package/lib/chevre/account/action/moneyTransfer.js +0 -2
  21. package/lib/chevre/account/transaction/deposit.d.ts +0 -27
  22. package/lib/chevre/account/transaction/deposit.js +0 -2
  23. package/lib/chevre/account/transaction/transfer.d.ts +0 -32
  24. package/lib/chevre/account/transaction/transfer.js +0 -2
  25. package/lib/chevre/account/transaction/withdraw.d.ts +0 -31
  26. package/lib/chevre/account/transaction/withdraw.js +0 -2
  27. package/lib/chevre/account/transaction.d.ts +0 -143
  28. package/lib/chevre/account/transaction.js +0 -2
  29. package/lib/chevre/account/transactionType.d.ts +0 -17
  30. package/lib/chevre/account/transactionType.js +0 -21
  31. package/lib/chevre/account.d.ts +0 -124
  32. package/lib/chevre/account.js +0 -19
  33. package/lib/chevre/accountType.d.ts +0 -15
  34. package/lib/chevre/accountType.js +0 -19
  35. package/lib/chevre/advanceBookingRequirement.d.ts +0 -60
  36. package/lib/chevre/advanceBookingRequirement.js +0 -2
  37. package/lib/chevre/task/accountMoneyTransfer.d.ts +0 -15
  38. package/lib/chevre/task/accountMoneyTransfer.js +0 -2
  39. package/lib/chevre/task/cancelAccountMoneyTransfer.d.ts +0 -19
  40. package/lib/chevre/task/cancelAccountMoneyTransfer.js +0 -2
  41. package/lib/chevre/task/registerService.d.ts +0 -13
  42. package/lib/chevre/task/registerService.js +0 -2
@@ -1,4 +1,3 @@
1
- import { AccountTransactionType } from '../../account/transactionType';
2
1
  import { IParticipantAsProject, IParticipantAsSeller, IAction as IBaseAction, IAttributes as IBaseAttributes } from '../../action';
3
2
  import { IAttributes as IReturnOrderActionAttributes } from '../../action/transfer/return/order';
4
3
  import { ActionType } from '../../actionType';
@@ -34,19 +33,6 @@ export interface IPurposeAsAssetTransaction {
34
33
  export type IPurposeAsReturnAction = Pick<IReturnOrderActionAttributes, 'object' | 'typeOf'>;
35
34
  export type IPurpose = IOrderAsPayPurpose | IPurposeAsReturnAction;
36
35
  export type AvailablePaymentMethodType = string;
37
- export interface IPendingTransaction {
38
- typeOf: AccountTransactionType;
39
- id: string;
40
- transactionNumber?: string;
41
- object: {
42
- fromLocation?: {
43
- /**
44
- * 口座番号
45
- */
46
- accountNumber: string;
47
- };
48
- };
49
- }
50
36
  /**
51
37
  * 決済方法インターフェース
52
38
  */
@@ -87,7 +73,7 @@ export interface IPaymentService {
87
73
  * 決済方法
88
74
  */
89
75
  paymentMethod: IPaymentMethod;
90
- pendingTransaction?: IPendingTransaction;
76
+ pendingTransaction?: never;
91
77
  /**
92
78
  * 決済カードリスト
93
79
  */
@@ -1,4 +1,4 @@
1
- import { IAction as IPayAction, ILocation, IMovieTicket, IOrderAsPayPurpose, IPendingTransaction, IPlaceOrderRelatedInstrument, IRecipient as IPayRecipient } from '../action/trade/pay';
1
+ import { IAction as IPayAction, ILocation, IMovieTicket, IOrderAsPayPurpose, IPlaceOrderRelatedInstrument, IRecipient as IPayRecipient } from '../action/trade/pay';
2
2
  import { IAgentAsSeller, ISearchConditions as IBaseSearchConditions, IStartParams as IBaseStartParams, IAttributes as IBaseAttributes } from '../assetTransaction';
3
3
  import { AssetTransactionType } from '../assetTransactionType';
4
4
  import { IExtendId } from '../autoGenerated';
@@ -122,7 +122,7 @@ export interface IPaymentServiceAsObject {
122
122
  */
123
123
  id: string;
124
124
  paymentMethod: IPaymentMethod;
125
- pendingTransaction?: IPendingTransaction;
125
+ pendingTransaction?: never;
126
126
  accountsReceivablesByServiceType?: never;
127
127
  /**
128
128
  * 既存決済カード認証アクション(2024-12-13~)
@@ -4,7 +4,6 @@ import { AssetTransactionType } from '../assetTransactionType';
4
4
  import { IExtendId } from '../autoGenerated';
5
5
  import { IOrder } from '../order';
6
6
  import { PermitType } from '../permit';
7
- import { ProductType } from '../product';
8
7
  import { IPropertyValue } from '../propertyValue';
9
8
  import { ITicketIssuedBy, TicketType, IUnderName as IReservationUnderName, IBroker, ISeat as IReservationSeat } from '../reservation';
10
9
  import { IIssuedThrough as IEventReservationIssuedThrough, IPrice as IReservationPrice, IReservation as IEventReservation, IReservationForLegacy as IEventReservationReservationFor, IReservedTicket, ISubReservation as ISubReservation4eventReservation, ITicketType } from '../reservation/event';
@@ -46,7 +45,7 @@ export interface IPermitIssuedThroughMembershipService {
46
45
  * メンバーシップ発行サービスID
47
46
  */
48
47
  id: string;
49
- typeOf: ProductType.MembershipService | PaymentServiceType.CreditCard;
48
+ typeOf: PaymentServiceType.CreditCard;
50
49
  };
51
50
  typeOf: PermitType.Permit;
52
51
  }
@@ -5,7 +5,7 @@ import { IInvoice } from './invoice';
5
5
  import { OfferType } from './offerType';
6
6
  import { IOrder } from './order';
7
7
  import { OrganizationType } from './organizationType';
8
- import { IOwnershipInfo, IPermitAsGood, IPermitIssuedThroughAsProduct } from './ownershipInfo';
8
+ import { IOwnershipInfo } from './ownershipInfo';
9
9
  import { PersonType } from './personType';
10
10
  import { ProductType } from './product';
11
11
  import { IProject } from './project';
@@ -17,10 +17,6 @@ import { TransactionType } from './transactionType';
17
17
  * 発券対象の注文
18
18
  */
19
19
  export type IOrderAsObject = Pick<IOrder, 'orderNumber' | 'typeOf'>;
20
- export type IPermitIssuedThroughOfObjectTypeOfGood = Pick<IPermitIssuedThroughAsProduct, 'id' | 'typeOf'>;
21
- export type IPermitAsTypeOfGood = Pick<IPermitAsGood, 'identifier' | 'typeOf'> & {
22
- issuedThrough?: IPermitIssuedThroughOfObjectTypeOfGood;
23
- };
24
20
  /**
25
21
  * 決済方法チケットの請求情報
26
22
  */
@@ -49,7 +45,6 @@ export interface IFaceToFacePaymentMethodAsTypeOfGood {
49
45
  serviceOutput: IInvoiceAsPaymentMethodServiceOutput;
50
46
  issuedThrough?: never;
51
47
  }
52
- export type IPermitOwnershipInfo = Pick<IOwnershipInfo<IPermitAsTypeOfGood>, 'typeOf' | 'typeOfGood'>;
53
48
  /**
54
49
  * 決済方法所有権
55
50
  * support(2025-11-11~)
@@ -63,22 +58,7 @@ export type IFaceToFacePaymentMethodOwnershipInfo = Pick<IOwnershipInfo<IFaceToF
63
58
  /**
64
59
  * Permit所有権あるいは決済方法所有権
65
60
  */
66
- export type IOwnershipInfoAsObject = IPermitOwnershipInfo | IPaymentMethodOwnershipInfo | IFaceToFacePaymentMethodOwnershipInfo;
67
- /**
68
- * トークン化されたメンバープログラムティア
69
- */
70
- export interface ITokenizedMemberProgramTier {
71
- /**
72
- * ティアトークン
73
- */
74
- token: string;
75
- isTierOf: {
76
- /**
77
- * メンバープログラムコード
78
- */
79
- identifier: string;
80
- };
81
- }
61
+ export type IOwnershipInfoAsObject = IPaymentMethodOwnershipInfo | IFaceToFacePaymentMethodOwnershipInfo;
82
62
  /**
83
63
  * 承認対象としての興行オファー
84
64
  */
@@ -1,6 +1,5 @@
1
1
  export * as waiter from '@waiter/factory';
2
2
  export * as cognito from './cognito';
3
- export * as account from './account';
4
3
  import * as ActionFactory from './action';
5
4
  import * as AcceptCOAOfferActionFactory from './action/accept/coaOffer';
6
5
  import * as AcceptPayActionFactory from './action/accept/pay';
@@ -36,9 +35,7 @@ import * as UpdateActionFactory from './action/update/update';
36
35
  import { ActionStatusType } from './actionStatusType';
37
36
  import { ActionType } from './actionType';
38
37
  import * as AccountTitleFactory from './accountTitle';
39
- import { AccountType } from './accountType';
40
38
  import * as AdditionalPropertyFactory from './additionalProperty';
41
- import * as AdvanceBookingRequirementFactory from './advanceBookingRequirement';
42
39
  import * as AggregationFactory from './aggregation';
43
40
  import * as AuthorizationFactory from './authorization';
44
41
  import * as CategoryCodeFactory from './categoryCode';
@@ -146,12 +143,10 @@ import * as TaskNotification from './notification/task';
146
143
  import * as TransactionNotification from './notification/transaction';
147
144
  import * as TaskFactory from './task';
148
145
  import * as AcceptCOAOfferTaskFactory from './task/acceptCOAOffer';
149
- import * as AccountMoneyTransferTaskFactory from './task/accountMoneyTransfer';
150
146
  import * as AggregateOffersTaskFactory from './task/aggregateOffers';
151
147
  import * as AggregateOnSystemTaskFactory from './task/aggregateOnSystem';
152
148
  import * as AggregateScreeningEventTaskFactory from './task/aggregateScreeningEvent';
153
149
  import * as AuthorizePaymentTaskFactory from './task/authorizePayment';
154
- import * as CancelAccountMoneyTransferTaskFactory from './task/cancelAccountMoneyTransfer';
155
150
  import * as CancelPendingReservationTaskFactory from './task/cancelPendingReservation';
156
151
  import * as CancelReservationTaskFactory from './task/cancelReservation';
157
152
  import * as CheckMovieTicketTaskFactory from './task/checkMovieTicket';
@@ -176,7 +171,6 @@ import * as PayTaskFactory from './task/pay';
176
171
  import * as PlaceOrderTaskFactory from './task/placeOrder';
177
172
  import * as PublishPaymentUrlTaskFactory from './task/publishPaymentUrl';
178
173
  import * as RefundTaskFactory from './task/refund';
179
- import * as RegisterServiceTaskFactory from './task/registerService';
180
174
  import * as ReserveTaskFactory from './task/reserve';
181
175
  import * as ReturnOrderTaskFactory from './task/returnOrder';
182
176
  import * as ReturnPayTransactionTaskFactory from './task/returnPayTransaction';
@@ -298,9 +292,7 @@ export declare namespace action {
298
292
  export import reserve = ReserveActionFactory;
299
293
  }
300
294
  export import accountTitle = AccountTitleFactory;
301
- export import accountType = AccountType;
302
295
  export import additionalProperty = AdditionalPropertyFactory;
303
- export import advanceBookingRequirement = AdvanceBookingRequirementFactory;
304
296
  export import aggregation = AggregationFactory;
305
297
  export import authorization = AuthorizationFactory;
306
298
  export import categoryCode = CategoryCodeFactory;
@@ -480,7 +472,6 @@ export declare namespace task {
480
472
  export import pay = PayTaskFactory;
481
473
  export import publishPaymentUrl = PublishPaymentUrlTaskFactory;
482
474
  export import refund = RefundTaskFactory;
483
- export import registerService = RegisterServiceTaskFactory;
484
475
  export import reserve = ReserveTaskFactory;
485
476
  export import sendEmailMessage = SendEmailMessageTaskFactory;
486
477
  export import syncResourcesFromCOA = SyncResourcesFromCOATaskFactory;
@@ -491,8 +482,6 @@ export declare namespace task {
491
482
  export import onEventChanged = OnEventChangedTaskFactory;
492
483
  export import onResourceDeleted = OnResourceDeletedTaskFactory;
493
484
  export import onResourceUpdated = OnResourceUpdatedTaskFactory;
494
- export import accountMoneyTransfer = AccountMoneyTransferTaskFactory;
495
- export import cancelAccountMoneyTransfer = CancelAccountMoneyTransferTaskFactory;
496
485
  }
497
486
  export declare namespace service {
498
487
  export import paymentService = PaymentServiceFactory;
@@ -1,10 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paymentMethod = exports.ownershipInfo = exports.organizationType = exports.organization = exports.orderStatus = exports.offerType = exports.offerItemCondition = exports.offerCatalog = exports.notification = exports.movieTicketType = exports.monetaryAmount = exports.merchantReturnPolicy = exports.language = exports.itemAvailability = exports.invoice = exports.identityProvider = exports.iam = exports.eventType = exports.eventStatusType = exports.entryPoint = exports.encodingFormat = exports.eventSeries = exports.event = exports.customer = exports.creativeWorkType = exports.creativeWork = exports.clientUser = exports.CertificationStatusEnumeration = exports.categoryCode = exports.authorization = exports.aggregation = exports.advanceBookingRequirement = exports.additionalProperty = exports.accountType = exports.accountTitle = exports.action = exports.actionType = exports.actionStatusType = exports.errorCode = exports.recipe = exports.errors = exports.unitPriceOffer = exports.project = exports.order = exports.eventOffer = exports.aggregateOffer = exports.offer = exports.account = exports.cognito = exports.waiter = void 0;
4
- exports.unitCode = exports.assetTransactionType = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = exports.thing = exports.taskStatus = exports.taskName = exports.sortType = exports.serviceChannel = exports.service = exports.task = exports.sellerReturnPolicy = exports.seller = exports.schedule = exports.role = exports.RESERVED_CODE_VALUES = exports.reservationType = exports.reservationStatusType = exports.reservationPackage = exports.reservation = exports.report = exports.quantitativeValue = exports.qualitativeValue = exports.propertyValue = exports.product = exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.potentialAction = exports.placeType = exports.place = exports.priceCurrency = exports.personType = exports.person = exports.permit = exports.paymentStatusType = void 0;
3
+ exports.person = exports.permit = exports.paymentStatusType = exports.paymentMethod = exports.ownershipInfo = exports.organizationType = exports.organization = exports.orderStatus = exports.offerType = exports.offerItemCondition = exports.offerCatalog = exports.notification = exports.movieTicketType = exports.monetaryAmount = exports.merchantReturnPolicy = exports.language = exports.itemAvailability = exports.invoice = exports.identityProvider = exports.iam = exports.eventType = exports.eventStatusType = exports.entryPoint = exports.encodingFormat = exports.eventSeries = exports.event = exports.customer = exports.creativeWorkType = exports.creativeWork = exports.clientUser = exports.CertificationStatusEnumeration = exports.categoryCode = exports.authorization = exports.aggregation = exports.additionalProperty = exports.accountTitle = exports.action = exports.actionType = exports.actionStatusType = exports.errorCode = exports.recipe = exports.errors = exports.unitPriceOffer = exports.project = exports.order = exports.eventOffer = exports.aggregateOffer = exports.offer = exports.cognito = exports.waiter = void 0;
4
+ exports.unitCode = exports.assetTransactionType = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = exports.thing = exports.taskStatus = exports.taskName = exports.sortType = exports.serviceChannel = exports.service = exports.task = exports.sellerReturnPolicy = exports.seller = exports.schedule = exports.role = exports.RESERVED_CODE_VALUES = exports.reservationType = exports.reservationStatusType = exports.reservationPackage = exports.reservation = exports.report = exports.quantitativeValue = exports.qualitativeValue = exports.propertyValue = exports.product = exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.potentialAction = exports.placeType = exports.place = exports.priceCurrency = exports.personType = void 0;
5
5
  exports.waiter = require("@waiter/factory");
6
6
  exports.cognito = require("./cognito");
7
- exports.account = require("./account");
8
7
  const AcceptCOAOfferActionFactory = require("./action/accept/coaOffer");
9
8
  const AcceptPayActionFactory = require("./action/accept/pay");
10
9
  const AuthorizeInvoiceActionFactory = require("./action/authorize/invoice");
@@ -37,9 +36,7 @@ const UpdateActionFactory = require("./action/update/update");
37
36
  const actionStatusType_1 = require("./actionStatusType");
38
37
  const actionType_1 = require("./actionType");
39
38
  const AccountTitleFactory = require("./accountTitle");
40
- const accountType_1 = require("./accountType");
41
39
  const AdditionalPropertyFactory = require("./additionalProperty");
42
- const AdvanceBookingRequirementFactory = require("./advanceBookingRequirement");
43
40
  const AggregationFactory = require("./aggregation");
44
41
  const AuthorizationFactory = require("./authorization");
45
42
  const CategoryCodeFactory = require("./categoryCode");
@@ -144,12 +141,10 @@ const ReservationNotification = require("./notification/reservation");
144
141
  const TaskNotification = require("./notification/task");
145
142
  const TransactionNotification = require("./notification/transaction");
146
143
  const AcceptCOAOfferTaskFactory = require("./task/acceptCOAOffer");
147
- const AccountMoneyTransferTaskFactory = require("./task/accountMoneyTransfer");
148
144
  const AggregateOffersTaskFactory = require("./task/aggregateOffers");
149
145
  const AggregateOnSystemTaskFactory = require("./task/aggregateOnSystem");
150
146
  const AggregateScreeningEventTaskFactory = require("./task/aggregateScreeningEvent");
151
147
  const AuthorizePaymentTaskFactory = require("./task/authorizePayment");
152
- const CancelAccountMoneyTransferTaskFactory = require("./task/cancelAccountMoneyTransfer");
153
148
  const CancelPendingReservationTaskFactory = require("./task/cancelPendingReservation");
154
149
  const CancelReservationTaskFactory = require("./task/cancelReservation");
155
150
  const CheckMovieTicketTaskFactory = require("./task/checkMovieTicket");
@@ -171,7 +166,6 @@ const OnResourceUpdatedTaskFactory = require("./task/onResourceUpdated");
171
166
  const PayTaskFactory = require("./task/pay");
172
167
  const PublishPaymentUrlTaskFactory = require("./task/publishPaymentUrl");
173
168
  const RefundTaskFactory = require("./task/refund");
174
- const RegisterServiceTaskFactory = require("./task/registerService");
175
169
  const ReserveTaskFactory = require("./task/reserve");
176
170
  const SendEmailMessageTaskFactory = require("./task/sendEmailMessage");
177
171
  const SyncResourcesFromCOATaskFactory = require("./task/syncResourcesFromCOA");
@@ -287,9 +281,7 @@ var action;
287
281
  action.reserve = ReserveActionFactory;
288
282
  })(action || (exports.action = action = {}));
289
283
  exports.accountTitle = AccountTitleFactory;
290
- exports.accountType = accountType_1.AccountType;
291
284
  exports.additionalProperty = AdditionalPropertyFactory;
292
- exports.advanceBookingRequirement = AdvanceBookingRequirementFactory;
293
285
  exports.aggregation = AggregationFactory;
294
286
  exports.authorization = AuthorizationFactory;
295
287
  exports.categoryCode = CategoryCodeFactory;
@@ -453,7 +445,6 @@ var task;
453
445
  task.pay = PayTaskFactory;
454
446
  task.publishPaymentUrl = PublishPaymentUrlTaskFactory;
455
447
  task.refund = RefundTaskFactory;
456
- task.registerService = RegisterServiceTaskFactory;
457
448
  task.reserve = ReserveTaskFactory;
458
449
  task.sendEmailMessage = SendEmailMessageTaskFactory;
459
450
  task.syncResourcesFromCOA = SyncResourcesFromCOATaskFactory;
@@ -464,8 +455,6 @@ var task;
464
455
  task.onEventChanged = OnEventChangedTaskFactory;
465
456
  task.onResourceDeleted = OnResourceDeletedTaskFactory;
466
457
  task.onResourceUpdated = OnResourceUpdatedTaskFactory;
467
- task.accountMoneyTransfer = AccountMoneyTransferTaskFactory;
468
- task.cancelAccountMoneyTransfer = CancelAccountMoneyTransferTaskFactory;
469
458
  })(task || (exports.task = task = {}));
470
459
  var service;
471
460
  (function (service) {
@@ -1,6 +1,6 @@
1
1
  import { IInvoice } from './invoice';
2
2
  import { OrganizationType } from './organizationType';
3
- import { IIssuedThroughAsCreditCard, IIssuedThroughAsFaceToFace, IIssuedThroughAsProduct, IPermit } from './permit';
3
+ import { IIssuedThroughAsCreditCard, IIssuedThroughAsFaceToFace, IPermit } from './permit';
4
4
  import { PersonType } from './personType';
5
5
  import { ProductType } from './product';
6
6
  import { IProject } from './project';
@@ -27,8 +27,7 @@ export interface IEventReservationAsGood {
27
27
  export type IReservation = IEventReservationAsGood;
28
28
  export type IPermitIssuedThroughAsFaceToFace = Pick<IIssuedThroughAsFaceToFace, 'typeOf'>;
29
29
  export type IPermitIssuedThroughAsCreditCard = Pick<IIssuedThroughAsCreditCard, 'id' | 'typeOf'>;
30
- export type IPermitIssuedThroughAsProduct = Pick<IIssuedThroughAsProduct, 'id' | 'typeOf' | 'serviceType'>;
31
- export type IPermitIssuedThrough = IPermitIssuedThroughAsFaceToFace | IPermitIssuedThroughAsCreditCard | IPermitIssuedThroughAsProduct;
30
+ export type IPermitIssuedThrough = IPermitIssuedThroughAsFaceToFace | IPermitIssuedThroughAsCreditCard;
32
31
  export type IPermitAsGood = Pick<IPermit, 'typeOf'> & {
33
32
  identifier: string;
34
33
  issuedThrough?: IPermitIssuedThrough;
@@ -1,7 +1,4 @@
1
- import { IAccount } from './account';
2
- import { IMonetaryAmount } from './monetaryAmount';
3
1
  import { IOrganization } from './organization';
4
- import { IMembershipProduct, IPaymentCardProduct } from './product';
5
2
  import { IProject } from './project';
6
3
  import { IPropertyValue } from './propertyValue';
7
4
  import { IService as IPaymentService, PaymentServiceType } from './service/paymentService';
@@ -12,6 +9,7 @@ export declare enum PermitType {
12
9
  * メンバーシップ出力決済サービス(対面決済IF)
13
10
  */
14
11
  export interface IIssuedThroughAsFaceToFace {
12
+ id?: never;
15
13
  typeOf: PaymentServiceType.FaceToFace;
16
14
  }
17
15
  /**
@@ -25,20 +23,7 @@ export type IIssuedThroughAsCreditCard = Pick<IPaymentService, 'id'> & {
25
23
  serviceType?: never;
26
24
  typeOf: PaymentServiceType.CreditCard;
27
25
  };
28
- /**
29
- * メンバーシップあるいはペイメントカード出力プロダクト
30
- */
31
- export type IIssuedThroughAsProduct = Pick<IMembershipProduct, 'id' | 'serviceType' | 'typeOf'> & {
32
- id: string;
33
- } | Pick<IPaymentCardProduct, 'id' | 'serviceType' | 'typeOf'> & {
34
- id: string;
35
- };
36
- export type IIssuedThrough = IIssuedThroughAsFaceToFace | IIssuedThroughAsCreditCard | IIssuedThroughAsProduct;
37
- export type IPaymentAccount = Pick<IAccount, 'accountNumber' | 'typeOf'>;
38
- export type IPaymentAccountWithDetail = Pick<IAccount, 'accountNumber' | 'availableBalance' | 'balance' | 'typeOf'>;
39
- export type IAmount = Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'value'>;
40
- export type IDepositAmount = Pick<IMonetaryAmount, 'typeOf' | 'maxValue' | 'minValue'>;
41
- export type IPaymentAmount = Pick<IMonetaryAmount, 'typeOf' | 'maxValue' | 'minValue'>;
26
+ export type IIssuedThrough = IIssuedThroughAsFaceToFace | IIssuedThroughAsCreditCard;
42
27
  export type IIssuedBy = Pick<IOrganization, 'typeOf' | 'id' | 'name'>;
43
28
  /**
44
29
  * A permit issued by an organization, e.g. a parking pass.
@@ -51,10 +36,6 @@ export interface IPermit {
51
36
  identifier?: string;
52
37
  accessCode?: string;
53
38
  additionalProperty?: IPropertyValue<string>[];
54
- amount?: IAmount;
55
- depositAmount?: IDepositAmount;
56
- paymentAmount?: IPaymentAmount;
57
- paymentAccount?: IPaymentAccount;
58
39
  dateIssued?: Date;
59
40
  /**
60
41
  * The organization issuing the ticket or permit.
@@ -2,7 +2,7 @@ import { CategorySetIdentifier, ICategoryCode, ICategoryCodeSet } from './catego
2
2
  import { IMultilingualString } from './multilingualString';
3
3
  import { IName as IOfferName, IOffer as IBaseOffer } from './offer';
4
4
  import { OfferType } from './offerType';
5
- import { IAmount as IPermitAmount, IPermit } from './permit';
5
+ import { IPermit } from './permit';
6
6
  import { IAppliesToCategoryCode, IPriceSpecification as ICategoryCodeChargeSpecification } from './priceSpecification/categoryCodeChargeSpecification';
7
7
  import { IPriceSpecification as ICompoundPriceSpecification } from './priceSpecification/compoundPriceSpecification';
8
8
  import { IPriceSpecification as IMovieTicketTypeChargeSpecification } from './priceSpecification/movieTicketTypeChargeSpecification';
@@ -20,22 +20,10 @@ export declare enum ProductType {
20
20
  * 興行
21
21
  */
22
22
  EventService = "EventService",
23
- /**
24
- * メンバーシップサービス
25
- */
26
- MembershipService = "MembershipService",
27
- /**
28
- * ペイメントカード
29
- */
30
- PaymentCard = "PaymentCard",
31
23
  /**
32
24
  * アドオン
33
25
  */
34
- Product = "Product",
35
- /**
36
- * 旅客サービス
37
- */
38
- Transportation = "Transportation"
26
+ Product = "Product"
39
27
  }
40
28
  export interface IOfferCatalogItem {
41
29
  /**
@@ -51,30 +39,12 @@ export interface IHasOfferCatalog {
51
39
  */
52
40
  itemListElement: IOfferCatalogItem[];
53
41
  }
54
- export type IServiceOutput = Pick<IPermit, 'typeOf'> & {
55
- /**
56
- * ペイメントカードの場合、通貨区分
57
- */
58
- amount?: Pick<IPermitAmount, 'currency' | 'typeOf'>;
59
- };
60
- /**
61
- * 外部サービス認証情報
62
- */
63
- export interface ICredentials {
64
- authorizeServerDomain?: string;
65
- clientId?: string;
66
- clientSecret?: string;
67
- }
42
+ export type IServiceOutput = Pick<IPermit, 'typeOf'>;
68
43
  export interface INoCredentials {
69
44
  authorizeServerDomain?: never;
70
45
  clientId?: never;
71
46
  clientSecret?: never;
72
47
  }
73
- export interface IAvailableChannel {
74
- typeOf: 'ServiceChannel';
75
- serviceUrl?: string;
76
- credentials?: ICredentials;
77
- }
78
48
  export interface INoAvailableChannel {
79
49
  typeOf: 'ServiceChannel';
80
50
  serviceUrl?: never;
@@ -109,7 +79,7 @@ export interface ICommonAttributes extends Pick<IThing, 'name' | 'description'>
109
79
  * 興行などのプロダクト
110
80
  */
111
81
  export interface IEventServiceProduct extends ICommonAttributes {
112
- typeOf: ProductType.EventService | ProductType.Transportation;
82
+ typeOf: ProductType.EventService;
113
83
  availableChannel?: INoAvailableChannel;
114
84
  serviceOutput?: never;
115
85
  /**
@@ -127,43 +97,11 @@ export interface IAddOnProduct extends ICommonAttributes {
127
97
  serviceOutput?: never;
128
98
  serviceType?: never;
129
99
  }
130
- /**
131
- * メンバーシッププロダクト
132
- */
133
- export interface IMembershipProduct extends ICommonAttributes {
134
- typeOf: ProductType.MembershipService;
135
- availableChannel?: IAvailableChannel;
136
- /**
137
- * The tangible thing generated by the service, e.g. a passport, permit, etc.
138
- */
139
- serviceOutput?: IServiceOutput;
140
- /**
141
- * The type of service being offered, e.g. veterans' benefits, emergency relief, etc.
142
- * メンバーシップ区分
143
- */
144
- serviceType?: IServiceType;
145
- }
146
- /**
147
- * ペイメントカードプロダクト
148
- */
149
- export interface IPaymentCardProduct extends ICommonAttributes {
150
- typeOf: ProductType.PaymentCard;
151
- availableChannel?: IAvailableChannel;
152
- /**
153
- * The tangible thing generated by the service, e.g. a passport, permit, etc.
154
- */
155
- serviceOutput?: IServiceOutput;
156
- /**
157
- * The type of service being offered, e.g. veterans' benefits, emergency relief, etc.
158
- * 決済方法区分
159
- */
160
- serviceType?: IServiceType;
161
- }
162
100
  /**
163
101
  * プロダクト
164
102
  * {@link https://schema.org/Product}
165
103
  */
166
- export type IProduct = IEventServiceProduct | IAddOnProduct | IMembershipProduct | IPaymentCardProduct;
104
+ export type IProduct = IEventServiceProduct | IAddOnProduct;
167
105
  export interface IHasOfferCatalogOnCreate {
168
106
  /**
169
107
  * IDを指定する場合
@@ -190,8 +128,6 @@ export type ICreateParams = Pick<IProduct, 'typeOf' | 'productID' | 'name' | 'de
190
128
  /**
191
129
  * サービスタイプ
192
130
  * 興行->興行区分
193
- * メンバーシップ->メンバーシップ区分
194
- * ペイメントカード->決済方法区分
195
131
  */
196
132
  serviceType?: Pick<IServiceType, 'codeValue'>;
197
133
  };
@@ -10,20 +10,8 @@ var ProductType;
10
10
  * 興行
11
11
  */
12
12
  ProductType["EventService"] = "EventService";
13
- /**
14
- * メンバーシップサービス
15
- */
16
- ProductType["MembershipService"] = "MembershipService";
17
- /**
18
- * ペイメントカード
19
- */
20
- ProductType["PaymentCard"] = "PaymentCard";
21
13
  /**
22
14
  * アドオン
23
15
  */
24
16
  ProductType["Product"] = "Product";
25
- /**
26
- * 旅客サービス
27
- */
28
- ProductType["Transportation"] = "Transportation";
29
17
  })(ProductType || (exports.ProductType = ProductType = {}));
@@ -122,15 +122,7 @@ export type IProgramMembershipIssuedThroughCreditCard = Pick<IProgramMembership,
122
122
  typeOf: PaymentServiceType.CreditCard;
123
123
  };
124
124
  };
125
- export type IProgramMembershipIssuedThroughMembershipService = Pick<IProgramMembership, 'typeOf'> & {
126
- identifier: string;
127
- issuedThrough: {
128
- id: string;
129
- serviceType: Pick<IServiceType, 'codeValue'>;
130
- typeOf: ProductType.MembershipService;
131
- };
132
- };
133
- export type IProgramMembershipUsed = IProgramMembershipIssuedThroughFaceToFace | IProgramMembershipIssuedThroughCreditCard | IProgramMembershipIssuedThroughMembershipService;
125
+ export type IProgramMembershipUsed = IProgramMembershipIssuedThroughFaceToFace | IProgramMembershipIssuedThroughCreditCard;
134
126
  export type IServiceTypeOfIssuedThrough = Pick<IServiceType, 'codeValue' | 'inCodeSet' | 'typeOf'>;
135
127
  export interface IIssuedThrough {
136
128
  typeOf: ProductType.EventService;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RESERVED_CODE_VALUES = void 0;
4
- const account_1 = require("./account");
5
4
  const assetTransactionType_1 = require("./assetTransactionType");
6
5
  const certificationStatusEnumeration_1 = require("./certificationStatusEnumeration");
7
6
  const creativeWorkType_1 = require("./creativeWorkType");
@@ -97,10 +96,7 @@ exports.RESERVED_CODE_VALUES = [
97
96
  priceSpecificationType_1.PriceSpecificationType.PriceSpecification,
98
97
  priceSpecificationType_1.PriceSpecificationType.UnitPriceSpecification,
99
98
  product_1.ProductType.EventService,
100
- product_1.ProductType.MembershipService,
101
- product_1.ProductType.PaymentCard,
102
99
  product_1.ProductType.Product,
103
- product_1.ProductType.Transportation,
104
100
  reservationStatusType_1.ReservationStatusType.ReservationCancelled,
105
101
  reservationStatusType_1.ReservationStatusType.ReservationConfirmed,
106
102
  reservationStatusType_1.ReservationStatusType.ReservationPending,
@@ -126,9 +122,9 @@ exports.RESERVED_CODE_VALUES = [
126
122
  unitCode_1.UnitCode.C62,
127
123
  unitCode_1.UnitCode.Day,
128
124
  unitCode_1.UnitCode.Sec,
129
- account_1.transactionType.Deposit,
130
- account_1.transactionType.Transfer,
131
- account_1.transactionType.Withdraw,
125
+ 'Deposit',
126
+ 'Transfer',
127
+ 'Withdraw',
132
128
  'MemberProgram',
133
129
  'MemberProgramTier',
134
130
  'Enduser',
@@ -3,7 +3,7 @@ import { IMultilingualString } from '../multilingualString';
3
3
  import { OrganizationType } from '../organizationType';
4
4
  import { IPermit } from '../permit';
5
5
  import { IPotentialInformAction as IPotentialInformActionTemplate } from '../potentialAction';
6
- import { IAvailableChannel as IProductAvailableChannel, IServiceType } from '../product';
6
+ import { IServiceType } from '../product';
7
7
  import { IProject } from '../project';
8
8
  import { IPropertyValue } from '../propertyValue';
9
9
  import { SortType } from '../sortType';
@@ -83,7 +83,7 @@ export interface IProvider {
83
83
  credentials?: IProviderCredentials;
84
84
  }
85
85
  export interface IAvailableChannelCreditCard {
86
- typeOf: IProductAvailableChannel['typeOf'];
86
+ typeOf: 'ServiceChannel';
87
87
  /**
88
88
  * add paymentServiceChannel ID(2025-02-21~)
89
89
  */
@@ -96,7 +96,7 @@ export interface IAvailableChannelCreditCard {
96
96
  totalPaymentDue?: never;
97
97
  }
98
98
  export interface IAvailableChannelMovieTicket {
99
- typeOf: IProductAvailableChannel['typeOf'];
99
+ typeOf: 'ServiceChannel';
100
100
  /**
101
101
  * add paymentServiceChannel ID(2025-02-21~)
102
102
  */
@@ -63,7 +63,6 @@ export declare enum TaskName {
63
63
  */
64
64
  PublishPaymentUrl = "publishPaymentUrl",
65
65
  Refund = "refund",
66
- RegisterService = "registerService",
67
66
  /**
68
67
  * Eメールメッセージ送信
69
68
  */
@@ -72,7 +72,7 @@ var TaskName;
72
72
  */
73
73
  TaskName["PublishPaymentUrl"] = "publishPaymentUrl";
74
74
  TaskName["Refund"] = "refund";
75
- TaskName["RegisterService"] = "registerService";
75
+ // RegisterService = 'registerService',
76
76
  /**
77
77
  * Eメールメッセージ送信
78
78
  */
@@ -1,5 +1,4 @@
1
1
  import type { passport } from '@waiter/factory';
2
- import { AccountType } from '../accountType';
3
2
  import { IAttributes as ISendEmailMessageActionAttributes } from '../action/transfer/send/message/email';
4
3
  import { IExtendId } from '../autoGenerated';
5
4
  import { IClientUser } from '../clientUser';
@@ -30,13 +29,6 @@ export interface IPaymentMethodByPaymentUrl {
30
29
  */
31
30
  paymentMethodId: string;
32
31
  }
33
- /**
34
- * 注文特典口座
35
- */
36
- export interface IAwardAccount {
37
- typeOf: AccountType.Account;
38
- accountNumber: string;
39
- }
40
32
  export interface IObject {
41
33
  clientUser?: Omit<IClientUser, 'scope' | 'scopes'>;
42
34
  broker?: Pick<IBroker, 'id' | 'typeOf'>;