@chevre/factory 8.0.0-alpha.4 → 8.0.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) 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/creativeWorkType.d.ts +0 -1
  6. package/lib/chevre/creativeWorkType.js +0 -1
  7. package/lib/chevre/index.d.ts +0 -11
  8. package/lib/chevre/index.js +2 -13
  9. package/lib/chevre/ownershipInfo.d.ts +2 -3
  10. package/lib/chevre/permit.d.ts +2 -21
  11. package/lib/chevre/product.d.ts +5 -69
  12. package/lib/chevre/product.js +0 -12
  13. package/lib/chevre/reservation.d.ts +1 -9
  14. package/lib/chevre/reservedCodeValues.js +4 -8
  15. package/lib/chevre/service/paymentService.d.ts +3 -3
  16. package/lib/chevre/taskName.d.ts +0 -1
  17. package/lib/chevre/taskName.js +1 -1
  18. package/lib/chevre/transaction/placeOrder.d.ts +0 -8
  19. package/lib/chevre/unitPriceOffer.d.ts +1 -15
  20. package/package.json +1 -1
  21. package/lib/chevre/account/action/moneyTransfer.d.ts +0 -86
  22. package/lib/chevre/account/action/moneyTransfer.js +0 -2
  23. package/lib/chevre/account/transaction/deposit.d.ts +0 -27
  24. package/lib/chevre/account/transaction/deposit.js +0 -2
  25. package/lib/chevre/account/transaction/transfer.d.ts +0 -32
  26. package/lib/chevre/account/transaction/transfer.js +0 -2
  27. package/lib/chevre/account/transaction/withdraw.d.ts +0 -31
  28. package/lib/chevre/account/transaction/withdraw.js +0 -2
  29. package/lib/chevre/account/transaction.d.ts +0 -143
  30. package/lib/chevre/account/transaction.js +0 -2
  31. package/lib/chevre/account/transactionType.d.ts +0 -17
  32. package/lib/chevre/account/transactionType.js +0 -21
  33. package/lib/chevre/account.d.ts +0 -124
  34. package/lib/chevre/account.js +0 -19
  35. package/lib/chevre/accountType.d.ts +0 -15
  36. package/lib/chevre/accountType.js +0 -19
  37. package/lib/chevre/creativeWork/comment.d.ts +0 -51
  38. package/lib/chevre/creativeWork/comment.js +0 -2
  39. package/lib/chevre/task/accountMoneyTransfer.d.ts +0 -15
  40. package/lib/chevre/task/accountMoneyTransfer.js +0 -2
  41. package/lib/chevre/task/cancelAccountMoneyTransfer.d.ts +0 -19
  42. package/lib/chevre/task/cancelAccountMoneyTransfer.js +0 -2
  43. package/lib/chevre/task/registerService.d.ts +0 -13
  44. 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
  */
@@ -3,7 +3,6 @@
3
3
  */
4
4
  export declare enum CreativeWorkType {
5
5
  Certification = "Certification",
6
- Comment = "Comment",
7
6
  EmailMessage = "EmailMessage",
8
7
  Movie = "Movie",
9
8
  NoteDigitalDocument = "NoteDigitalDocument",
@@ -7,7 +7,6 @@ exports.CreativeWorkType = void 0;
7
7
  var CreativeWorkType;
8
8
  (function (CreativeWorkType) {
9
9
  CreativeWorkType["Certification"] = "Certification";
10
- CreativeWorkType["Comment"] = "Comment";
11
10
  CreativeWorkType["EmailMessage"] = "EmailMessage";
12
11
  CreativeWorkType["Movie"] = "Movie";
13
12
  CreativeWorkType["NoteDigitalDocument"] = "NoteDigitalDocument";
@@ -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,7 +35,6 @@ 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
39
  import * as AdvanceBookingRequirementFactory from './advanceBookingRequirement';
42
40
  import * as AggregationFactory from './aggregation';
@@ -47,7 +45,6 @@ import * as ClientUserFactory from './clientUser';
47
45
  import * as softwareApplicationCertification from './creativeWork/certification/softwareApplication';
48
46
  import * as webApplicationCertification from './creativeWork/certification/webApplication';
49
47
  import * as webSiteCertification from './creativeWork/certification/webSite';
50
- import * as CommentFactory from './creativeWork/comment';
51
48
  import * as EmailMessageFactory from './creativeWork/message/email';
52
49
  import * as MovieFactory from './creativeWork/movie';
53
50
  import * as NoteDigitalDocumentFactory from './creativeWork/noteDigitalDocument';
@@ -147,12 +144,10 @@ import * as TaskNotification from './notification/task';
147
144
  import * as TransactionNotification from './notification/transaction';
148
145
  import * as TaskFactory from './task';
149
146
  import * as AcceptCOAOfferTaskFactory from './task/acceptCOAOffer';
150
- import * as AccountMoneyTransferTaskFactory from './task/accountMoneyTransfer';
151
147
  import * as AggregateOffersTaskFactory from './task/aggregateOffers';
152
148
  import * as AggregateOnSystemTaskFactory from './task/aggregateOnSystem';
153
149
  import * as AggregateScreeningEventTaskFactory from './task/aggregateScreeningEvent';
154
150
  import * as AuthorizePaymentTaskFactory from './task/authorizePayment';
155
- import * as CancelAccountMoneyTransferTaskFactory from './task/cancelAccountMoneyTransfer';
156
151
  import * as CancelPendingReservationTaskFactory from './task/cancelPendingReservation';
157
152
  import * as CancelReservationTaskFactory from './task/cancelReservation';
158
153
  import * as CheckMovieTicketTaskFactory from './task/checkMovieTicket';
@@ -177,7 +172,6 @@ import * as PayTaskFactory from './task/pay';
177
172
  import * as PlaceOrderTaskFactory from './task/placeOrder';
178
173
  import * as PublishPaymentUrlTaskFactory from './task/publishPaymentUrl';
179
174
  import * as RefundTaskFactory from './task/refund';
180
- import * as RegisterServiceTaskFactory from './task/registerService';
181
175
  import * as ReserveTaskFactory from './task/reserve';
182
176
  import * as ReturnOrderTaskFactory from './task/returnOrder';
183
177
  import * as ReturnPayTransactionTaskFactory from './task/returnPayTransaction';
@@ -299,7 +293,6 @@ export declare namespace action {
299
293
  export import reserve = ReserveActionFactory;
300
294
  }
301
295
  export import accountTitle = AccountTitleFactory;
302
- export import accountType = AccountType;
303
296
  export import additionalProperty = AdditionalPropertyFactory;
304
297
  export import advanceBookingRequirement = AdvanceBookingRequirementFactory;
305
298
  export import aggregation = AggregationFactory;
@@ -322,7 +315,6 @@ export declare namespace creativeWork {
322
315
  */
323
316
  export import webSite = webSiteCertification;
324
317
  }
325
- export import comment = CommentFactory;
326
318
  namespace message {
327
319
  export import email = EmailMessageFactory;
328
320
  }
@@ -482,7 +474,6 @@ export declare namespace task {
482
474
  export import pay = PayTaskFactory;
483
475
  export import publishPaymentUrl = PublishPaymentUrlTaskFactory;
484
476
  export import refund = RefundTaskFactory;
485
- export import registerService = RegisterServiceTaskFactory;
486
477
  export import reserve = ReserveTaskFactory;
487
478
  export import sendEmailMessage = SendEmailMessageTaskFactory;
488
479
  export import syncResourcesFromCOA = SyncResourcesFromCOATaskFactory;
@@ -493,8 +484,6 @@ export declare namespace task {
493
484
  export import onEventChanged = OnEventChangedTaskFactory;
494
485
  export import onResourceDeleted = OnResourceDeletedTaskFactory;
495
486
  export import onResourceUpdated = OnResourceUpdatedTaskFactory;
496
- export import accountMoneyTransfer = AccountMoneyTransferTaskFactory;
497
- export import cancelAccountMoneyTransfer = CancelAccountMoneyTransferTaskFactory;
498
487
  }
499
488
  export declare namespace service {
500
489
  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.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.advanceBookingRequirement = 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 = exports.person = 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,7 +36,6 @@ 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
40
  const AdvanceBookingRequirementFactory = require("./advanceBookingRequirement");
43
41
  const AggregationFactory = require("./aggregation");
@@ -49,7 +47,6 @@ const ClientUserFactory = require("./clientUser");
49
47
  const softwareApplicationCertification = require("./creativeWork/certification/softwareApplication");
50
48
  const webApplicationCertification = require("./creativeWork/certification/webApplication");
51
49
  const webSiteCertification = require("./creativeWork/certification/webSite");
52
- const CommentFactory = require("./creativeWork/comment");
53
50
  const EmailMessageFactory = require("./creativeWork/message/email");
54
51
  const MovieFactory = require("./creativeWork/movie");
55
52
  const NoteDigitalDocumentFactory = require("./creativeWork/noteDigitalDocument");
@@ -145,12 +142,10 @@ const ReservationNotification = require("./notification/reservation");
145
142
  const TaskNotification = require("./notification/task");
146
143
  const TransactionNotification = require("./notification/transaction");
147
144
  const AcceptCOAOfferTaskFactory = require("./task/acceptCOAOffer");
148
- const AccountMoneyTransferTaskFactory = require("./task/accountMoneyTransfer");
149
145
  const AggregateOffersTaskFactory = require("./task/aggregateOffers");
150
146
  const AggregateOnSystemTaskFactory = require("./task/aggregateOnSystem");
151
147
  const AggregateScreeningEventTaskFactory = require("./task/aggregateScreeningEvent");
152
148
  const AuthorizePaymentTaskFactory = require("./task/authorizePayment");
153
- const CancelAccountMoneyTransferTaskFactory = require("./task/cancelAccountMoneyTransfer");
154
149
  const CancelPendingReservationTaskFactory = require("./task/cancelPendingReservation");
155
150
  const CancelReservationTaskFactory = require("./task/cancelReservation");
156
151
  const CheckMovieTicketTaskFactory = require("./task/checkMovieTicket");
@@ -172,7 +167,6 @@ const OnResourceUpdatedTaskFactory = require("./task/onResourceUpdated");
172
167
  const PayTaskFactory = require("./task/pay");
173
168
  const PublishPaymentUrlTaskFactory = require("./task/publishPaymentUrl");
174
169
  const RefundTaskFactory = require("./task/refund");
175
- const RegisterServiceTaskFactory = require("./task/registerService");
176
170
  const ReserveTaskFactory = require("./task/reserve");
177
171
  const SendEmailMessageTaskFactory = require("./task/sendEmailMessage");
178
172
  const SyncResourcesFromCOATaskFactory = require("./task/syncResourcesFromCOA");
@@ -288,7 +282,6 @@ var action;
288
282
  action.reserve = ReserveActionFactory;
289
283
  })(action || (exports.action = action = {}));
290
284
  exports.accountTitle = AccountTitleFactory;
291
- exports.accountType = accountType_1.AccountType;
292
285
  exports.additionalProperty = AdditionalPropertyFactory;
293
286
  exports.advanceBookingRequirement = AdvanceBookingRequirementFactory;
294
287
  exports.aggregation = AggregationFactory;
@@ -312,7 +305,6 @@ var creativeWork;
312
305
  */
313
306
  certification.webSite = webSiteCertification;
314
307
  })(certification = creativeWork.certification || (creativeWork.certification = {}));
315
- creativeWork.comment = CommentFactory;
316
308
  let message;
317
309
  (function (message) {
318
310
  message.email = EmailMessageFactory;
@@ -455,7 +447,6 @@ var task;
455
447
  task.pay = PayTaskFactory;
456
448
  task.publishPaymentUrl = PublishPaymentUrlTaskFactory;
457
449
  task.refund = RefundTaskFactory;
458
- task.registerService = RegisterServiceTaskFactory;
459
450
  task.reserve = ReserveTaskFactory;
460
451
  task.sendEmailMessage = SendEmailMessageTaskFactory;
461
452
  task.syncResourcesFromCOA = SyncResourcesFromCOATaskFactory;
@@ -466,8 +457,6 @@ var task;
466
457
  task.onEventChanged = OnEventChangedTaskFactory;
467
458
  task.onResourceDeleted = OnResourceDeletedTaskFactory;
468
459
  task.onResourceUpdated = OnResourceUpdatedTaskFactory;
469
- task.accountMoneyTransfer = AccountMoneyTransferTaskFactory;
470
- task.cancelAccountMoneyTransfer = CancelAccountMoneyTransferTaskFactory;
471
460
  })(task || (exports.task = task = {}));
472
461
  var service;
473
462
  (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");
@@ -36,7 +35,7 @@ exports.RESERVED_CODE_VALUES = [
36
35
  certificationStatusEnumeration_1.CertificationStatusEnumeration.CertificationActive,
37
36
  certificationStatusEnumeration_1.CertificationStatusEnumeration.CertificationInactive,
38
37
  creativeWorkType_1.CreativeWorkType.Certification,
39
- creativeWorkType_1.CreativeWorkType.Comment,
38
+ 'Comment',
40
39
  creativeWorkType_1.CreativeWorkType.EmailMessage,
41
40
  creativeWorkType_1.CreativeWorkType.Movie,
42
41
  creativeWorkType_1.CreativeWorkType.NoteDigitalDocument,
@@ -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'>;