@chevre/factory 4.335.0 → 4.337.0

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 (154) hide show
  1. package/README.md +0 -5
  2. package/lib/account/action/moneyTransfer.d.ts +5 -5
  3. package/lib/account/transaction/deposit.d.ts +3 -3
  4. package/lib/account/transaction/transfer.d.ts +3 -3
  5. package/lib/account/transaction/withdraw.d.ts +3 -3
  6. package/lib/account/transaction.d.ts +2 -2
  7. package/lib/action/authorize/award/point.d.ts +4 -4
  8. package/lib/action/authorize/offer/moneyTransfer.d.ts +8 -8
  9. package/lib/action/authorize/offer/product.d.ts +11 -11
  10. package/lib/action/authorize/offer/seatReservation/coa.d.ts +1 -1
  11. package/lib/action/authorize/offer/seatReservation.d.ts +22 -22
  12. package/lib/action/authorize/paymentMethod/any.d.ts +6 -6
  13. package/lib/action/authorize.d.ts +4 -4
  14. package/lib/action/cancel/reservation.d.ts +4 -4
  15. package/lib/action/check/paymentMethod/movieTicket.d.ts +7 -7
  16. package/lib/action/check/token.d.ts +4 -4
  17. package/lib/action/check.d.ts +3 -3
  18. package/lib/action/consume/use/reservation.d.ts +5 -5
  19. package/lib/action/consume/use.d.ts +4 -4
  20. package/lib/action/interact/confirm/moneyTransfer.d.ts +3 -3
  21. package/lib/action/interact/confirm/pay.d.ts +4 -4
  22. package/lib/action/interact/confirm/registerService.d.ts +4 -4
  23. package/lib/action/interact/confirm/reservation.d.ts +7 -7
  24. package/lib/action/interact/confirm.d.ts +6 -6
  25. package/lib/action/interact/inform.d.ts +6 -6
  26. package/lib/action/interact/register/service.d.ts +4 -4
  27. package/lib/action/interact/register.d.ts +5 -5
  28. package/lib/action/reserve.d.ts +5 -5
  29. package/lib/action/trade/order.d.ts +5 -5
  30. package/lib/action/trade/pay.d.ts +7 -7
  31. package/lib/action/trade/refund.d.ts +8 -8
  32. package/lib/action/transfer/give/pointAward.d.ts +5 -5
  33. package/lib/action/transfer/give.d.ts +6 -6
  34. package/lib/action/transfer/moneyTransfer.d.ts +9 -9
  35. package/lib/action/transfer/return/moneyTransfer.d.ts +5 -5
  36. package/lib/action/transfer/return/order.d.ts +5 -5
  37. package/lib/action/transfer/return/paymentMethod.d.ts +6 -6
  38. package/lib/action/transfer/return/pointAward.d.ts +6 -6
  39. package/lib/action/transfer/return/reserveTransaction.d.ts +8 -8
  40. package/lib/action/transfer/return.d.ts +3 -3
  41. package/lib/action/transfer/send/message/email.d.ts +6 -6
  42. package/lib/action/transfer/send/order.d.ts +5 -5
  43. package/lib/action/transfer/send.d.ts +7 -7
  44. package/lib/action/update/delete/member.d.ts +3 -3
  45. package/lib/action/update/delete.d.ts +5 -5
  46. package/lib/action.d.ts +7 -7
  47. package/lib/additionalProperty.d.ts +4 -4
  48. package/lib/assetTransaction/cancelReservation.d.ts +7 -7
  49. package/lib/assetTransaction/moneyTransfer.d.ts +10 -10
  50. package/lib/assetTransaction/pay.d.ts +7 -7
  51. package/lib/assetTransaction/refund.d.ts +7 -7
  52. package/lib/assetTransaction/registerService.d.ts +7 -7
  53. package/lib/assetTransaction/reserve.d.ts +16 -16
  54. package/lib/assetTransaction.d.ts +3 -3
  55. package/lib/authorization.d.ts +7 -7
  56. package/lib/autoGenerated.d.ts +1 -1
  57. package/lib/cognito.d.ts +2 -4
  58. package/lib/creativeWork/comment.d.ts +2 -2
  59. package/lib/creativeWork/movie.d.ts +1 -1
  60. package/lib/creativeWork.d.ts +1 -1
  61. package/lib/error/alreadyInUse.js +1 -1
  62. package/lib/error/argument.js +1 -1
  63. package/lib/error/argumentNull.js +1 -1
  64. package/lib/error/notFound.js +1 -1
  65. package/lib/event/anyEvent.d.ts +14 -14
  66. package/lib/event/screeningEvent.d.ts +12 -12
  67. package/lib/event/screeningEventSeries.d.ts +4 -4
  68. package/lib/event.d.ts +2 -2
  69. package/lib/iam.d.ts +2 -2
  70. package/lib/index.d.ts +1 -1
  71. package/lib/invoice.d.ts +11 -11
  72. package/lib/merchantReturnPolicy.d.ts +4 -4
  73. package/lib/offer/aggregateOffer.d.ts +1 -1
  74. package/lib/offer.d.ts +6 -6
  75. package/lib/offerCatalog.d.ts +2 -2
  76. package/lib/offerItemCondition.d.ts +1 -1
  77. package/lib/order.d.ts +30 -35
  78. package/lib/orderExternal.d.ts +1 -1
  79. package/lib/organization.d.ts +2 -2
  80. package/lib/ownershipInfo.d.ts +9 -9
  81. package/lib/paymentMethod/paymentCard.d.ts +1 -1
  82. package/lib/permit.d.ts +9 -9
  83. package/lib/person.d.ts +3 -3
  84. package/lib/place/movieTheater.d.ts +4 -18
  85. package/lib/place/screeningRoom.d.ts +2 -2
  86. package/lib/place/seat.d.ts +8 -6
  87. package/lib/place.d.ts +1 -2
  88. package/lib/priceSpecification/categoryCodeChargeSpecification.d.ts +1 -1
  89. package/lib/priceSpecification/compoundPriceSpecification.d.ts +2 -2
  90. package/lib/priceSpecification/unitPriceSpecification.d.ts +3 -3
  91. package/lib/priceSpecification.d.ts +2 -2
  92. package/lib/product.d.ts +10 -10
  93. package/lib/quantitativeValue.d.ts +1 -1
  94. package/lib/report/accountingReport.d.ts +7 -7
  95. package/lib/reservation/busReservation.d.ts +3 -3
  96. package/lib/reservation/event.d.ts +4 -4
  97. package/lib/reservation/reservationPackage.d.ts +2 -2
  98. package/lib/reservation.d.ts +12 -12
  99. package/lib/seller.d.ts +4 -4
  100. package/lib/service/paymentService.d.ts +3 -3
  101. package/lib/task/accountMoneyTransfer.d.ts +1 -1
  102. package/lib/task/aggregateScreeningEvent.d.ts +1 -1
  103. package/lib/task/aggregateUseActionsOnEvent.d.ts +1 -1
  104. package/lib/task/cancelAccountMoneyTransfer.d.ts +1 -1
  105. package/lib/task/cancelMoneyTransfer.d.ts +1 -1
  106. package/lib/task/cancelPendingReservation.d.ts +1 -1
  107. package/lib/task/cancelReservation.d.ts +1 -1
  108. package/lib/task/confirmMoneyTransfer.d.ts +2 -2
  109. package/lib/task/confirmPayTransaction.d.ts +2 -2
  110. package/lib/task/confirmRegisterService.d.ts +2 -2
  111. package/lib/task/confirmRegisterServiceTransaction.d.ts +2 -2
  112. package/lib/task/confirmReserveTransaction.d.ts +2 -2
  113. package/lib/task/createEvent.d.ts +3 -3
  114. package/lib/task/deleteTransaction.d.ts +5 -5
  115. package/lib/task/givePointAward.d.ts +2 -2
  116. package/lib/task/importEventCapacitiesFromCOA.d.ts +1 -1
  117. package/lib/task/importEventsFromCOA.d.ts +1 -1
  118. package/lib/task/importOffersFromCOA.d.ts +1 -1
  119. package/lib/task/moneyTransfer.d.ts +2 -2
  120. package/lib/task/onAssetTransactionStatusChanged.d.ts +1 -1
  121. package/lib/task/onAuthorizationCreated.d.ts +1 -1
  122. package/lib/task/onEventChanged.d.ts +1 -1
  123. package/lib/task/onOrderPaymentCompleted.d.ts +1 -1
  124. package/lib/task/onResourceUpdated.d.ts +6 -6
  125. package/lib/task/pay.d.ts +2 -2
  126. package/lib/task/placeOrder.d.ts +1 -1
  127. package/lib/task/refund.d.ts +2 -2
  128. package/lib/task/registerService.d.ts +2 -2
  129. package/lib/task/reserve.d.ts +1 -1
  130. package/lib/task/returnMoneyTransfer.d.ts +2 -2
  131. package/lib/task/returnOrder.d.ts +2 -2
  132. package/lib/task/returnPayTransaction.d.ts +2 -2
  133. package/lib/task/returnPointAward.d.ts +2 -2
  134. package/lib/task/returnReserveTransaction.d.ts +2 -2
  135. package/lib/task/sendEmailMessage.d.ts +1 -1
  136. package/lib/task/sendOrder.d.ts +2 -2
  137. package/lib/task/syncScreeningRooms.d.ts +1 -1
  138. package/lib/task/triggerWebhook.d.ts +2 -2
  139. package/lib/task/useReservation.d.ts +3 -3
  140. package/lib/task/voidMoneyTransferTransaction.d.ts +1 -1
  141. package/lib/task/voidPayTransaction.d.ts +2 -2
  142. package/lib/task/voidPayment.d.ts +2 -2
  143. package/lib/task/voidRegisterServiceTransaction.d.ts +1 -1
  144. package/lib/task/voidReserveTransaction.d.ts +2 -2
  145. package/lib/task.d.ts +3 -3
  146. package/lib/thing.d.ts +1 -1
  147. package/lib/transaction/moneyTransfer.d.ts +7 -7
  148. package/lib/transaction/placeOrder.d.ts +7 -7
  149. package/lib/transaction/returnOrder.d.ts +8 -8
  150. package/lib/transaction.d.ts +3 -3
  151. package/lib/trip/busTrip.d.ts +3 -3
  152. package/lib/unitPriceOffer/merchantReturnPolicy.d.ts +1 -1
  153. package/lib/unitPriceOffer.d.ts +4 -4
  154. package/package.json +9 -14
@@ -1,11 +1,11 @@
1
1
  import * as ActionFactory from '../../action';
2
2
  import { ActionType } from '../../actionType';
3
- export declare type IAgent = ActionFactory.IParticipant;
4
- export declare type IRecipient = ActionFactory.IParticipant;
5
- export declare type IObject = any;
6
- export declare type IResult = any;
7
- export declare type IPotentialActions = any;
8
- export declare type IPurpose = any;
3
+ export type IAgent = ActionFactory.IParticipant;
4
+ export type IRecipient = ActionFactory.IParticipant;
5
+ export type IObject = any;
6
+ export type IResult = any;
7
+ export type IPotentialActions = any;
8
+ export type IPurpose = any;
9
9
  export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes<ActionType.SendAction, TObject, TResult> {
10
10
  agent: IAgent;
11
11
  recipient: ActionFactory.IParticipant;
@@ -15,4 +15,4 @@ export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes
15
15
  /**
16
16
  * 送信(配送)アクションインターフェース
17
17
  */
18
- export declare type IAction<TAttributes extends IAttributes<IObject, IResult>> = ActionFactory.IAction<TAttributes>;
18
+ export type IAction<TAttributes extends IAttributes<IObject, IResult>> = ActionFactory.IAction<TAttributes>;
@@ -1,6 +1,6 @@
1
1
  import { IPerson } from '../../../person';
2
2
  import * as DeleteActionFactory from '../delete';
3
- export declare type IObject = Pick<IPerson, 'id' | 'typeOf'> & {
3
+ export type IObject = Pick<IPerson, 'id' | 'typeOf'> & {
4
4
  /**
5
5
  * 新ユーザープールへ移行するかどうか
6
6
  */
@@ -14,10 +14,10 @@ export declare type IObject = Pick<IPerson, 'id' | 'typeOf'> & {
14
14
  */
15
15
  physically?: boolean;
16
16
  };
17
- export declare type IResult = any;
17
+ export type IResult = any;
18
18
  export interface IAttributes extends Omit<DeleteActionFactory.IAttributes<IObject, IResult>, 'potentialActions'> {
19
19
  }
20
20
  /**
21
21
  * 会員削除アクション
22
22
  */
23
- export declare type IAction = DeleteActionFactory.IAction<IAttributes>;
23
+ export type IAction = DeleteActionFactory.IAction<IAttributes>;
@@ -1,9 +1,9 @@
1
1
  import * as ActionFactory from '../../action';
2
2
  import { ActionType } from '../../actionType';
3
- export declare type IAgent = ActionFactory.IParticipant;
4
- export declare type IRecipient = ActionFactory.IParticipant;
5
- export declare type IObject = any;
6
- export declare type IResult = any;
3
+ export type IAgent = ActionFactory.IParticipant;
4
+ export type IRecipient = ActionFactory.IParticipant;
5
+ export type IObject = any;
6
+ export type IResult = any;
7
7
  export interface IPotentialActions {
8
8
  }
9
9
  export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes<ActionType.DeleteAction, TObject, TResult> {
@@ -12,4 +12,4 @@ export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes
12
12
  /**
13
13
  * 削除アクションインターフェース
14
14
  */
15
- export declare type IAction<TAttributes extends IAttributes<IObject, IResult>> = ActionFactory.IAction<TAttributes>;
15
+ export type IAction<TAttributes extends IAttributes<IObject, IResult>> = ActionFactory.IAction<TAttributes>;
package/lib/action.d.ts CHANGED
@@ -10,27 +10,27 @@ export interface IParticipantOptionalAttributes {
10
10
  name?: string;
11
11
  url?: string;
12
12
  }
13
- export declare type IParticipantAsWebApplication = IParticipantOptionalAttributes & {
13
+ export type IParticipantAsWebApplication = IParticipantOptionalAttributes & {
14
14
  typeOf: CreativeWorkType.WebApplication;
15
15
  id: string;
16
16
  };
17
- export declare type IParticipantAsPerson = IParticipantOptionalAttributes & Pick<IPersonAttributes, 'id' | 'typeOf'>;
18
- export declare type IParticipantAsSeller = IParticipantOptionalAttributes & {
17
+ export type IParticipantAsPerson = IParticipantOptionalAttributes & Pick<IPersonAttributes, 'id' | 'typeOf'>;
18
+ export type IParticipantAsSeller = IParticipantOptionalAttributes & {
19
19
  typeOf: OrganizationType.Corporation;
20
20
  id: string;
21
21
  };
22
- export declare type IParticipantAsProject = IParticipantOptionalAttributes & {
22
+ export type IParticipantAsProject = IParticipantOptionalAttributes & {
23
23
  typeOf: OrganizationType.Project;
24
24
  id: string;
25
25
  };
26
- export declare type IParticipantAsCustomer = IParticipantOptionalAttributes & {
26
+ export type IParticipantAsCustomer = IParticipantOptionalAttributes & {
27
27
  typeOf: OrganizationType.Organization;
28
28
  id: string;
29
29
  };
30
30
  /**
31
31
  * アクションへの関係者
32
32
  */
33
- export declare type IParticipant = IParticipantAsWebApplication | IParticipantAsPerson | IParticipantAsSeller | IParticipantAsProject | IParticipantAsCustomer;
33
+ export type IParticipant = IParticipantAsWebApplication | IParticipantAsPerson | IParticipantAsSeller | IParticipantAsProject | IParticipantAsCustomer;
34
34
  /**
35
35
  * アクション目的
36
36
  */
@@ -76,7 +76,7 @@ export interface IDynamicAttributes {
76
76
  * アクション
77
77
  * {@link https://schema.org/Action}
78
78
  */
79
- export declare type IAction<TAttributes extends IAttributes<ActionType, any, any>> = IExtendId<TAttributes & IDynamicAttributes>;
79
+ export type IAction<TAttributes extends IAttributes<ActionType, any, any>> = IExtendId<TAttributes & IDynamicAttributes>;
80
80
  /**
81
81
  * ソート条件
82
82
  */
@@ -10,10 +10,10 @@ import { PropertyValueType } from './propertyValue';
10
10
  import { ISeller } from './seller';
11
11
  import { SortType } from './sortType';
12
12
  import { IThing } from './thing';
13
- export declare type CategoryCodeType = ICategoryCode['typeOf'];
14
- export declare type OfferCatalogType = IOfferCatalog['typeOf'];
15
- export declare type SellerType = ISeller['typeOf'];
16
- export declare type CategorySetIdentifier = CategoryCodeType | CreativeWorkType.Movie | EventType.ScreeningEvent | EventType.ScreeningEventSeries | PropertyValueType.LocationFeatureSpecification | OfferCatalogType | OfferType.Offer | OrderType.Order | SellerType;
13
+ export type CategoryCodeType = ICategoryCode['typeOf'];
14
+ export type OfferCatalogType = IOfferCatalog['typeOf'];
15
+ export type SellerType = ISeller['typeOf'];
16
+ export type CategorySetIdentifier = CategoryCodeType | CreativeWorkType.Movie | EventType.ScreeningEvent | EventType.ScreeningEventSeries | PropertyValueType.LocationFeatureSpecification | OfferCatalogType | OfferType.Offer | OrderType.Order | SellerType;
17
17
  /**
18
18
  * {@link https://schema.org/CategoryCodeSet}
19
19
  */
@@ -7,17 +7,17 @@ import { IClientUser } from '../clientUser';
7
7
  import { IReservation as IBusReservation, IReservationFor as IBusReservationFor } from '../reservation/busReservation';
8
8
  import { IReservation as IEventReservation, IReservationFor as IEventReservationFor } from '../reservation/event';
9
9
  export import IAgent = AssetTransactionFactory.IAgent;
10
- export declare type IStartParamsWithoutDetail = AssetTransactionFactory.IStartParams<AssetTransactionType.CancelReservation, IAgent, undefined, IObjectWithoutDetail>;
10
+ export type IStartParamsWithoutDetail = AssetTransactionFactory.IStartParams<AssetTransactionType.CancelReservation, IAgent, undefined, IObjectWithoutDetail>;
11
11
  /**
12
12
  * 取引開始パラメータ
13
13
  */
14
- export declare type IStartParams = AssetTransactionFactory.IStartParams<AssetTransactionType.CancelReservation, IAgent, undefined, IObject>;
14
+ export type IStartParams = AssetTransactionFactory.IStartParams<AssetTransactionType.CancelReservation, IAgent, undefined, IObject>;
15
15
  export interface IResult {
16
16
  }
17
17
  /**
18
18
  * エラー
19
19
  */
20
- export declare type IError = any;
20
+ export type IError = any;
21
21
  export interface IObjectWithoutDetail {
22
22
  clientUser?: IClientUser;
23
23
  reservation?: {
@@ -31,15 +31,15 @@ export interface IObjectWithoutDetail {
31
31
  reservationNumber?: string;
32
32
  };
33
33
  }
34
- export declare type IReserveTransactionAsObject = Pick<IReserveTransaction, 'typeOf' | 'id' | 'transactionNumber'> & {
34
+ export type IReserveTransactionAsObject = Pick<IReserveTransaction, 'typeOf' | 'id' | 'transactionNumber'> & {
35
35
  object: {
36
36
  reservationFor: Pick<IEventReservationFor | IBusReservationFor, 'id' | 'typeOf'>;
37
37
  };
38
38
  };
39
- export declare type IBusReservationAsObject = Pick<IBusReservation, 'id' | 'issuedThrough' | 'reservationNumber' | 'typeOf'> & {
39
+ export type IBusReservationAsObject = Pick<IBusReservation, 'id' | 'issuedThrough' | 'reservationNumber' | 'typeOf'> & {
40
40
  reservationFor: Pick<IBusReservationFor, 'id' | 'typeOf'>;
41
41
  };
42
- export declare type IEventReservationAsObject = Pick<IEventReservation, 'id' | 'issuedThrough' | 'reservationNumber' | 'typeOf'> & {
42
+ export type IEventReservationAsObject = Pick<IEventReservation, 'id' | 'issuedThrough' | 'reservationNumber' | 'typeOf'> & {
43
43
  reservationFor: Pick<IEventReservationFor, 'id' | 'typeOf'>;
44
44
  };
45
45
  /**
@@ -59,7 +59,7 @@ export interface IConfirmParams {
59
59
  export interface IPotentialActions {
60
60
  cancelReservation: ICancelReservationActionAttributes[];
61
61
  }
62
- export declare type ITransaction = IExtendId<IAttributes>;
62
+ export type ITransaction = IExtendId<IAttributes>;
63
63
  /**
64
64
  * 取引属性
65
65
  */
@@ -5,11 +5,11 @@ import { IExtendId } from '../autoGenerated';
5
5
  import { OrderType } from '../order';
6
6
  import { PermitType } from '../permit';
7
7
  export import IAgent = AssetTransactionFactory.IAgent;
8
- export declare type IRecipient = IMoneyTransferRecipient & {
8
+ export type IRecipient = IMoneyTransferRecipient & {
9
9
  name: string;
10
10
  };
11
- export declare type IFromLocation = ILocation;
12
- export declare type IToLocation = ILocation;
11
+ export type IFromLocation = ILocation;
12
+ export type IToLocation = ILocation;
13
13
  /**
14
14
  * ペイメントカード
15
15
  */
@@ -28,7 +28,7 @@ export interface IPaymentCard {
28
28
  /**
29
29
  * トークン化されたペイメントカードンターフェース
30
30
  */
31
- export declare type ITokenizedPaymentCard = string;
31
+ export type ITokenizedPaymentCard = string;
32
32
  /**
33
33
  * 転送元としての注文
34
34
  */
@@ -37,8 +37,8 @@ export interface IOrderAsFromLocation {
37
37
  confirmationNumber: string;
38
38
  orderNumber: string;
39
39
  }
40
- export declare type IFromLocationBeforeStart = IOrderAsFromLocation | IPaymentCard | ITokenizedPaymentCard;
41
- export declare type IToLocationBeforeStart = IOrderAsFromLocation | IPaymentCard;
40
+ export type IFromLocationBeforeStart = IOrderAsFromLocation | IPaymentCard | ITokenizedPaymentCard;
41
+ export type IToLocationBeforeStart = IOrderAsFromLocation | IPaymentCard;
42
42
  /**
43
43
  * 取引対象物
44
44
  */
@@ -65,7 +65,7 @@ export interface IObject {
65
65
  */
66
66
  force?: boolean;
67
67
  }
68
- export declare type IObjectWithoutDetail = IObject;
68
+ export type IObjectWithoutDetail = IObject;
69
69
  export interface IObjectBeforeStart {
70
70
  /**
71
71
  * 金額
@@ -101,8 +101,8 @@ export interface IStartParamsBeforeStart extends AssetTransactionFactory.IStartP
101
101
  export interface IStartParams extends AssetTransactionFactory.IStartParams<AssetTransactionType.MoneyTransfer, IAgent, IRecipient, IObject> {
102
102
  recipient: IRecipient;
103
103
  }
104
- export declare type IResult = any;
105
- export declare type IError = any;
104
+ export type IResult = any;
105
+ export type IError = any;
106
106
  export interface IPotentialActions {
107
107
  /**
108
108
  * 通貨転送アクション
@@ -114,7 +114,7 @@ export interface IAttributes extends AssetTransactionFactory.IAttributes<IStartP
114
114
  /**
115
115
  * 転送取引
116
116
  */
117
- export declare type ITransaction = IExtendId<IAttributes>;
117
+ export type ITransaction = IExtendId<IAttributes>;
118
118
  export interface ISearchConditions extends AssetTransactionFactory.ISearchConditions<AssetTransactionType.MoneyTransfer> {
119
119
  object?: {
120
120
  fromLocation?: {
@@ -10,12 +10,12 @@ import { IOnPaymentStatusChanged } from '../project';
10
10
  import { IPropertyValue } from '../propertyValue';
11
11
  import { PaymentServiceType } from '../service/paymentService';
12
12
  export import IAgent = AssetTransactionFactory.IAgent;
13
- export declare type IRecipient = IPayRecipient;
13
+ export type IRecipient = IPayRecipient;
14
14
  /**
15
15
  * ペイメントカードトークン
16
16
  */
17
- export declare type ITokenizedPaymentCard = string;
18
- export declare type IFromLocation = ITokenizedPaymentCard;
17
+ export type ITokenizedPaymentCard = string;
18
+ export type IFromLocation = ITokenizedPaymentCard;
19
19
  /**
20
20
  * クレジットカード決済承認に必要なクレジットカードインターフェース
21
21
  */
@@ -109,7 +109,7 @@ export interface IPaymentMethodWithoutDetail extends IPaymentMethod {
109
109
  export interface IObjectWithoutDetail extends Pick<IObject, 'typeOf' | 'id' | 'paymentMethod'> {
110
110
  paymentMethod: IPaymentMethodWithoutDetail;
111
111
  }
112
- export declare type IStartParamsWithoutDetail = AssetTransactionFactory.IStartParams<AssetTransactionType.Pay, IAgent, IRecipient, IObjectWithoutDetail> & {
112
+ export type IStartParamsWithoutDetail = AssetTransactionFactory.IStartParams<AssetTransactionType.Pay, IAgent, IRecipient, IObjectWithoutDetail> & {
113
113
  location?: ILocation;
114
114
  recipient: IRecipient;
115
115
  purpose?: IPayPurpose;
@@ -143,11 +143,11 @@ export interface IConfirmParams {
143
143
  endDate?: Date;
144
144
  potentialActions: IPotentialActionsParams;
145
145
  }
146
- export declare type IResult = any;
147
- export declare type IError = any;
146
+ export type IResult = any;
147
+ export type IError = any;
148
148
  export interface IAttributes extends AssetTransactionFactory.IAttributes<IStartParams, IResult, IError, IPotentialActions> {
149
149
  }
150
- export declare type ITransaction = IExtendId<IAttributes>;
150
+ export type ITransaction = IExtendId<IAttributes>;
151
151
  export interface ISearchConditions extends AssetTransactionFactory.ISearchConditions<AssetTransactionType.Pay> {
152
152
  object?: {
153
153
  accountId?: {
@@ -6,7 +6,7 @@ import { IExtendId } from '../autoGenerated';
6
6
  import { IOnPaymentStatusChanged } from '../project';
7
7
  import { PaymentServiceType } from '../service/paymentService';
8
8
  export import IAgent = AssetTransactionFactory.IAgent;
9
- export declare type IRecipient = IRefundRecipient;
9
+ export type IRecipient = IRefundRecipient;
10
10
  /**
11
11
  * 取引対象物
12
12
  */
@@ -22,11 +22,11 @@ export interface IObject {
22
22
  paymentMethod: IPaymentMethod;
23
23
  refundFee?: number;
24
24
  }
25
- export declare type IObjectWithoutDetail = Pick<IObject, 'typeOf' | 'id' | 'paymentMethod' | 'refundFee'>;
26
- export declare type IStartParamsWithoutDetail = AssetTransactionFactory.IStartParams<AssetTransactionType.Refund, IAgent, IRecipient, IObjectWithoutDetail>;
25
+ export type IObjectWithoutDetail = Pick<IObject, 'typeOf' | 'id' | 'paymentMethod' | 'refundFee'>;
26
+ export type IStartParamsWithoutDetail = AssetTransactionFactory.IStartParams<AssetTransactionType.Refund, IAgent, IRecipient, IObjectWithoutDetail>;
27
27
  export interface IStartParams extends AssetTransactionFactory.IStartParams<AssetTransactionType.Refund, IAgent, IRecipient, IObject> {
28
28
  }
29
- export declare type IRefundPurpose = IReturnActionAsPayPurpose;
29
+ export type IRefundPurpose = IReturnActionAsPayPurpose;
30
30
  export interface IPotentialActionsParams {
31
31
  refund?: {
32
32
  purpose?: IRefundPurpose;
@@ -41,15 +41,15 @@ export interface IConfirmParams {
41
41
  endDate?: Date;
42
42
  potentialActions?: IPotentialActionsParams;
43
43
  }
44
- export declare type IResult = any;
45
- export declare type IError = any;
44
+ export type IResult = any;
45
+ export type IError = any;
46
46
  export interface IPotentialActions {
47
47
  /**
48
48
  * 返金アクション
49
49
  */
50
50
  refund: IRefundActionAttributes[];
51
51
  }
52
- export declare type ITransaction = IExtendId<IAttributes>;
52
+ export type ITransaction = IExtendId<IAttributes>;
53
53
  /**
54
54
  * 返金取引
55
55
  */
@@ -7,12 +7,12 @@ import { OfferType } from '../offerType';
7
7
  import { IIssuedThroughAsProduct, IPermit } from '../permit';
8
8
  import { IProduct } from '../product';
9
9
  export import IAgent = AssetTransactionFactory.IAgent;
10
- export declare type IStartParamsWithoutDetail = AssetTransactionFactory.IStartParams<AssetTransactionType.RegisterService, IAgent, undefined, IObjectWithoutDetail>;
10
+ export type IStartParamsWithoutDetail = AssetTransactionFactory.IStartParams<AssetTransactionType.RegisterService, IAgent, undefined, IObjectWithoutDetail>;
11
11
  /**
12
12
  * 取引開始パラメーター
13
13
  * サービス: MembershipService,PaymentCardであればserviceOutputを発行する
14
14
  */
15
- export declare type IStartParams = AssetTransactionFactory.IStartParams<AssetTransactionType.RegisterService, IAgent, undefined, IObject>;
15
+ export type IStartParams = AssetTransactionFactory.IStartParams<AssetTransactionType.RegisterService, IAgent, undefined, IObject>;
16
16
  /**
17
17
  * 確定パラメータ
18
18
  */
@@ -30,7 +30,7 @@ export interface IResult {
30
30
  /**
31
31
  * エラー
32
32
  */
33
- export declare type IError = any;
33
+ export type IError = any;
34
34
  export interface IAcceptedPointAward {
35
35
  purpose?: {
36
36
  identifier?: string;
@@ -52,7 +52,7 @@ export interface IAcceptedPointAward {
52
52
  };
53
53
  };
54
54
  }
55
- export declare type IServiceOutput = Omit<IPermit, 'issuedThrough'> & {
55
+ export type IServiceOutput = Omit<IPermit, 'issuedThrough'> & {
56
56
  issuedThrough?: IIssuedThroughAsProduct;
57
57
  };
58
58
  export interface IAcceptedItemOffered {
@@ -74,8 +74,8 @@ export interface IAcceptedOffer {
74
74
  id: string;
75
75
  itemOffered: IItemOffered;
76
76
  }
77
- export declare type IObjectWithoutDetail = IAcceptedOfferWithoutDetail[];
78
- export declare type IObject = IAcceptedOffer[];
77
+ export type IObjectWithoutDetail = IAcceptedOfferWithoutDetail[];
78
+ export type IObject = IAcceptedOffer[];
79
79
  export interface IPotentialActions {
80
80
  moneyTransfer: IMoneyTransferActionAttributes[];
81
81
  registerService: IRegisterServiceActionAttributes[];
@@ -85,7 +85,7 @@ export interface IAttributes extends AssetTransactionFactory.IAttributes<IStartP
85
85
  /**
86
86
  * 取引
87
87
  */
88
- export declare type ITransaction = IExtendId<IAttributes>;
88
+ export type ITransaction = IExtendId<IAttributes>;
89
89
  export interface ISearchConditions extends AssetTransactionFactory.ISearchConditions<AssetTransactionType.RegisterService> {
90
90
  object?: {
91
91
  itemOffered?: {
@@ -12,11 +12,11 @@ import { IReservation as IReservationPackage } from '../reservation/reservationP
12
12
  import { ReservationType } from '../reservationType';
13
13
  import { IUnitPriceOffer } from '../unitPriceOffer';
14
14
  export import IAgent = AssetTransactionFactory.IAgent;
15
- export declare type IStartParamsWithoutDetail = AssetTransactionFactory.IStartParams<AssetTransactionType.Reserve, IAgent, undefined, IObjectWithoutDetail>;
15
+ export type IStartParamsWithoutDetail = AssetTransactionFactory.IStartParams<AssetTransactionType.Reserve, IAgent, undefined, IObjectWithoutDetail>;
16
16
  /**
17
17
  * 取引開始パラメータ
18
18
  */
19
- export declare type IStartParams = AssetTransactionFactory.IStartParams<AssetTransactionType.Reserve, IAgent, undefined, IObject>;
19
+ export type IStartParams = AssetTransactionFactory.IStartParams<AssetTransactionType.Reserve, IAgent, undefined, IObject>;
20
20
  export interface IAcceptedProgramMembershipUsedAsObject {
21
21
  accessCode?: string;
22
22
  /**
@@ -33,12 +33,12 @@ export interface IAcceptedProgramMembershipUsedAsObject {
33
33
  /**
34
34
  * トークン化された適用メンバーシップ
35
35
  */
36
- export declare type ITokenizedAcceptedProgramMembershipUsed = string;
36
+ export type ITokenizedAcceptedProgramMembershipUsed = string;
37
37
  /**
38
38
  * 適用メンバーシップ
39
39
  */
40
- export declare type IAcceptedProgramMembershipUsed = IAcceptedProgramMembershipUsedAsObject | ITokenizedAcceptedProgramMembershipUsed;
41
- export declare type IAcceptedSubReservation = ISubReservation4eventReservation;
40
+ export type IAcceptedProgramMembershipUsed = IAcceptedProgramMembershipUsedAsObject | ITokenizedAcceptedProgramMembershipUsed;
41
+ export type IAcceptedSubReservation = ISubReservation4eventReservation;
42
42
  export interface IAcceptedPointAward {
43
43
  typeOf: ActionType.MoneyTransfer;
44
44
  recipient?: any;
@@ -104,7 +104,7 @@ export interface IEventReservatonAsItemOfferedServiceOutput {
104
104
  };
105
105
  subReservation?: IAcceptedSubReservation[];
106
106
  }
107
- export declare type IItemOfferedServiceOutput = IBusReservatonAsItemOfferedServiceOutput | IEventReservatonAsItemOfferedServiceOutput;
107
+ export type IItemOfferedServiceOutput = IBusReservatonAsItemOfferedServiceOutput | IEventReservatonAsItemOfferedServiceOutput;
108
108
  /**
109
109
  * 受け入れられたオファーのアイテム
110
110
  */
@@ -146,7 +146,7 @@ export interface ISingleAcceptedAppliesToMovieTicket {
146
146
  * 複数承認適用決済カード
147
147
  * 複数指定の場合、カード識別子と決済方法区分の組み合わせで指定します
148
148
  */
149
- export declare type IMultipleAcceptedAppliesToMovieTicket = {
149
+ export type IMultipleAcceptedAppliesToMovieTicket = {
150
150
  /**
151
151
  * 適用決済カード識別子
152
152
  */
@@ -161,7 +161,7 @@ export declare type IMultipleAcceptedAppliesToMovieTicket = {
161
161
  /**
162
162
  * 承認適用決済カード
163
163
  */
164
- export declare type IAcceptedAppliesToMovieTicket = ISingleAcceptedAppliesToMovieTicket | IMultipleAcceptedAppliesToMovieTicket;
164
+ export type IAcceptedAppliesToMovieTicket = ISingleAcceptedAppliesToMovieTicket | IMultipleAcceptedAppliesToMovieTicket;
165
165
  /**
166
166
  * 受け入れられたチケットオファー(詳細なし)
167
167
  */
@@ -212,7 +212,7 @@ export interface IResult {
212
212
  /**
213
213
  * エラー
214
214
  */
215
- export declare type IError = any;
215
+ export type IError = any;
216
216
  export interface IObjectWithoutDetail {
217
217
  acceptedOffer?: IAcceptedTicketOfferWithoutDetail[];
218
218
  broker?: ReservationFactory.IBroker;
@@ -220,14 +220,14 @@ export interface IObjectWithoutDetail {
220
220
  id: string;
221
221
  };
222
222
  }
223
- export declare type IReservationFor = IBusReservationReservationFor | IEventReservationReservationFor;
224
- export declare type IOmittedReservationProperty = 'reservationFor' | 'broker' | 'issuedThrough' | 'provider' | 'reservationStatus';
225
- export declare type IObjectSubReservation = Omit<IBusReservation, IOmittedReservationProperty> | Omit<IEventReservation, IOmittedReservationProperty>;
226
- export declare type IObjectSubReservationReservedTicket = Pick<ReservationFactory.ITicket, 'issuedBy' | 'ticketedSeat' | 'ticketType'>;
227
- export declare type IMinimizedObjectSubReservation = Pick<IObjectSubReservation, 'typeOf' | 'id' | 'subReservation'> & {
223
+ export type IReservationFor = IBusReservationReservationFor | IEventReservationReservationFor;
224
+ export type IOmittedReservationProperty = 'reservationFor' | 'broker' | 'issuedThrough' | 'provider' | 'reservationStatus';
225
+ export type IObjectSubReservation = Omit<IBusReservation, IOmittedReservationProperty> | Omit<IEventReservation, IOmittedReservationProperty>;
226
+ export type IObjectSubReservationReservedTicket = Pick<ReservationFactory.ITicket, 'issuedBy' | 'ticketedSeat' | 'ticketType'>;
227
+ export type IMinimizedObjectSubReservation = Pick<IObjectSubReservation, 'typeOf' | 'id' | 'subReservation'> & {
228
228
  reservedTicket: IObjectSubReservationReservedTicket;
229
229
  };
230
- export declare type IIssuedThrough = IBusReservationIssuedThrough | IEventReservationIssuedThrough;
230
+ export type IIssuedThrough = IBusReservationIssuedThrough | IEventReservationIssuedThrough;
231
231
  /**
232
232
  * 取引対象物
233
233
  */
@@ -251,7 +251,7 @@ export interface IAttributes extends AssetTransactionFactory.IAttributes<IStartP
251
251
  /**
252
252
  * 予約取引
253
253
  */
254
- export declare type ITransaction = IExtendId<IAttributes>;
254
+ export type ITransaction = IExtendId<IAttributes>;
255
255
  export interface IObjectSearchConditions {
256
256
  provider?: {
257
257
  id?: {
@@ -33,7 +33,7 @@ export interface IAgentAsPerson {
33
33
  /**
34
34
  * 資産取引主体は販売者or管理者
35
35
  */
36
- export declare type IAgent = IAgentAsSeller | IAgentAsPerson;
36
+ export type IAgent = IAgentAsSeller | IAgentAsPerson;
37
37
  export interface IProject {
38
38
  id: string;
39
39
  typeOf: OrganizationType.Project;
@@ -82,7 +82,7 @@ export interface IStartParams<T extends AssetTransactionType, TAgent extends IAg
82
82
  /**
83
83
  * 資産取引属性
84
84
  */
85
- export declare type IAttributes<TStartParams, TResult, TError, TPotentialActions> = TStartParams & {
85
+ export type IAttributes<TStartParams, TResult, TError, TPotentialActions> = TStartParams & {
86
86
  purpose?: any;
87
87
  /**
88
88
  * 取引状態
@@ -121,7 +121,7 @@ export declare type IAttributes<TStartParams, TResult, TError, TPotentialActions
121
121
  /**
122
122
  * 資産取引
123
123
  */
124
- export declare type ITransaction<TStartParams, TResult, TError, TPotentialActions> = IExtendId<IAttributes<TStartParams, TResult, TError, TPotentialActions>>;
124
+ export type ITransaction<TStartParams, TResult, TError, TPotentialActions> = IExtendId<IAttributes<TStartParams, TResult, TError, TPotentialActions>>;
125
125
  /**
126
126
  * ソート条件
127
127
  */
@@ -2,15 +2,15 @@ import { IOrder } from './order';
2
2
  import { IOwnershipInfo, IPermitAsGood, IPermitIssuedThrough, IReservation } from './ownershipInfo';
3
3
  import { IProject } from './project';
4
4
  import { SortType } from './sortType';
5
- export declare type IOrderAsObject = Pick<IOrder, 'orderNumber' | 'typeOf'>;
6
- export declare type IPermitIssuedThroughOfObjectTypeOfGood = Pick<IPermitIssuedThrough, 'id' | 'typeOf'>;
7
- export declare type IPermitAsObjectTypeOfGood = Pick<IPermitAsGood, 'identifier' | 'typeOf'> & {
5
+ export type IOrderAsObject = Pick<IOrder, 'orderNumber' | 'typeOf'>;
6
+ export type IPermitIssuedThroughOfObjectTypeOfGood = Pick<IPermitIssuedThrough, 'id' | 'typeOf'>;
7
+ export type IPermitAsObjectTypeOfGood = Pick<IPermitAsGood, 'identifier' | 'typeOf'> & {
8
8
  issuedThrough?: IPermitIssuedThroughOfObjectTypeOfGood;
9
9
  };
10
- export declare type IPermitOwnershipInfoAsObject = Pick<IOwnershipInfo<IPermitAsObjectTypeOfGood>, 'id' | 'identifier' | 'typeOf' | 'typeOfGood'>;
11
- export declare type IReservationOwnershipInfoAsObject = Pick<IOwnershipInfo<IReservation>, 'id' | 'identifier' | 'typeOf' | 'typeOfGood'>;
12
- export declare type IOwnershipInfoAsObject = IPermitOwnershipInfoAsObject | IReservationOwnershipInfoAsObject;
13
- export declare type IObject = IOrderAsObject | IOwnershipInfoAsObject;
10
+ export type IPermitOwnershipInfoAsObject = Pick<IOwnershipInfo<IPermitAsObjectTypeOfGood>, 'id' | 'identifier' | 'typeOf' | 'typeOfGood'>;
11
+ export type IReservationOwnershipInfoAsObject = Pick<IOwnershipInfo<IReservation>, 'id' | 'identifier' | 'typeOf' | 'typeOfGood'>;
12
+ export type IOwnershipInfoAsObject = IPermitOwnershipInfoAsObject | IReservationOwnershipInfoAsObject;
13
+ export type IObject = IOrderAsObject | IOwnershipInfoAsObject;
14
14
  /**
15
15
  * 承認
16
16
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * extend ID interface
3
3
  */
4
- export declare type IExtendId<T> = T & {
4
+ export type IExtendId<T> = T & {
5
5
  id: string;
6
6
  };
package/lib/cognito.d.ts CHANGED
@@ -1,7 +1,5 @@
1
1
  /**
2
2
  * Cognitoインターフェース
3
3
  */
4
- import type { CognitoIdentityServiceProvider } from 'aws-sdk';
5
- export declare type UserPoolClientType = CognitoIdentityServiceProvider.UserPoolClientType;
6
- export declare type UserPoolClientListType = CognitoIdentityServiceProvider.UserPoolClientListType;
7
- export declare type UserPoolType = CognitoIdentityServiceProvider.UserPoolType;
4
+ import type { UserPoolClientDescription, UserPoolClientType, UserPoolType } from '@aws-sdk/client-cognito-identity-provider';
5
+ export { UserPoolClientDescription, UserPoolClientType, UserPoolType };
@@ -7,8 +7,8 @@ export interface IAbout {
7
7
  id: string;
8
8
  typeOf: string;
9
9
  }
10
- export declare type IAuthor = Pick<IPerson, 'id' | 'name' | 'typeOf'>;
11
- export declare type IMention = Pick<IPerson, 'id' | 'name' | 'typeOf'>;
10
+ export type IAuthor = Pick<IPerson, 'id' | 'name' | 'typeOf'>;
11
+ export type IMention = Pick<IPerson, 'id' | 'name' | 'typeOf'>;
12
12
  /**
13
13
  * コメント
14
14
  * {@link https://schema.org/Comment}
@@ -8,7 +8,7 @@ import { SortType } from '../sortType';
8
8
  * コンテンツに対するオファー
9
9
  * 最適化(2023-08-01~)
10
10
  */
11
- export declare type IOffer = Pick<OfferFactory.IOffer, 'typeOf' | 'availabilityEnds' | 'availabilityStarts'>;
11
+ export type IOffer = Pick<OfferFactory.IOffer, 'typeOf' | 'availabilityEnds' | 'availabilityStarts'>;
12
12
  /**
13
13
  * 配給者
14
14
  */
@@ -5,7 +5,7 @@ import { IThing } from './thing';
5
5
  export interface ICopyrightHolder {
6
6
  name: string;
7
7
  }
8
- export declare type IContentRating = COA.factory.master.IKubunNameResult | string;
8
+ export type IContentRating = COA.factory.master.IKubunNameResult | string;
9
9
  /**
10
10
  * 作品
11
11
  * {@link https://schema.org/CreativeWork}
@@ -29,7 +29,7 @@ var AlreadyInUseError = /** @class */ (function (_super) {
29
29
  var _this = this;
30
30
  var actualMessage = message;
31
31
  if (message === undefined || message.length === 0) {
32
- actualMessage = "The specified '" + entityName + "' value is already in use for: " + fieldNames.join(', ') + ".";
32
+ actualMessage = "The specified '".concat(entityName, "' value is already in use for: ").concat(fieldNames.join(', '), ".");
33
33
  }
34
34
  // tslint:disable-next-line:no-single-line-block-comment
35
35
  _this = _super.call(this, errorCode_1.ErrorCode.AlreadyInUse, actualMessage) /* istanbul ignore next */ || this;
@@ -29,7 +29,7 @@ var ArgumentError = /** @class */ (function (_super) {
29
29
  var _this = this;
30
30
  var actualMessage = message;
31
31
  if (message === undefined || message.length === 0) {
32
- actualMessage = "Invalid or missing argument supplied: " + argumentName + ".";
32
+ actualMessage = "Invalid or missing argument supplied: ".concat(argumentName, ".");
33
33
  }
34
34
  // tslint:disable-next-line:no-single-line-block-comment
35
35
  _this = _super.call(this, errorCode_1.ErrorCode.Argument, actualMessage) /* istanbul ignore next */ || this;
@@ -29,7 +29,7 @@ var ArgumentNullError = /** @class */ (function (_super) {
29
29
  var _this = this;
30
30
  var actualMessage = message;
31
31
  if (message === undefined || message.length === 0) {
32
- actualMessage = "Missing argument: " + argumentName + ".";
32
+ actualMessage = "Missing argument: ".concat(argumentName, ".");
33
33
  }
34
34
  // tslint:disable-next-line:no-single-line-block-comment
35
35
  _this = _super.call(this, errorCode_1.ErrorCode.ArgumentNull, actualMessage) /* istanbul ignore next */ || this;
@@ -29,7 +29,7 @@ var NotFoundError = /** @class */ (function (_super) {
29
29
  var _this = this;
30
30
  var actualMessage = message;
31
31
  if (message === undefined || message.length === 0) {
32
- actualMessage = "Not Found: " + entityName + ".";
32
+ actualMessage = "Not Found: ".concat(entityName, ".");
33
33
  }
34
34
  // tslint:disable-next-line:no-single-line-block-comment
35
35
  _this = _super.call(this, errorCode_1.ErrorCode.NotFound, actualMessage) /* istanbul ignore next */ || this;