@chevre/factory 4.336.0 → 4.338.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 +5 -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 +5 -15
  85. package/lib/place/screeningRoom.d.ts +2 -2
  86. package/lib/place/seat.d.ts +8 -6
  87. package/lib/place.d.ts +2 -3
  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
@@ -16,7 +16,7 @@ export interface IAgentAsWebApplication extends Pick<IWebApplication, 'id' | 'id
16
16
  export interface IAgentAsPerson extends Pick<IPersonAttributes, 'id' | 'identifier' | 'memberOf' | 'typeOf'> {
17
17
  name?: string;
18
18
  }
19
- export declare type IAgent = IAgentAsWebApplication | IAgentAsPerson;
19
+ export type IAgent = IAgentAsWebApplication | IAgentAsPerson;
20
20
  /**
21
21
  * 販売者
22
22
  */
@@ -88,7 +88,7 @@ export interface IStartParams<T extends TransactionType, TAgent, TRecipient, TOb
88
88
  */
89
89
  expires: Date;
90
90
  }
91
- export declare type IAttributes<TStartParams, TResult, TError, TPotentialActions> = TStartParams & {
91
+ export type IAttributes<TStartParams, TResult, TError, TPotentialActions> = TStartParams & {
92
92
  /**
93
93
  * 取引状態
94
94
  */
@@ -127,7 +127,7 @@ export declare type IAttributes<TStartParams, TResult, TError, TPotentialActions
127
127
  */
128
128
  potentialActions?: TPotentialActions;
129
129
  };
130
- export declare type ITransaction<TStartParams, TResult, TError, TPotentialActions> = IExtendId<IAttributes<TStartParams, TResult, TError, TPotentialActions>>;
130
+ export type ITransaction<TStartParams, TResult, TError, TPotentialActions> = IExtendId<IAttributes<TStartParams, TResult, TError, TPotentialActions>>;
131
131
  /**
132
132
  * ソート条件
133
133
  */
@@ -3,8 +3,8 @@ import { IPlace as IBusStop } from '../place/busStop';
3
3
  import { IProject } from '../project';
4
4
  import { ITrip as IBaseTrip } from '../trip';
5
5
  import { TripType } from '../tripType';
6
- export declare type IArrivalBusStop = Pick<IBusStop, 'typeOf' | 'branchCode' | 'name'>;
7
- export declare type IDepartureBusStop = Pick<IBusStop, 'typeOf' | 'branchCode' | 'name'>;
6
+ export type IArrivalBusStop = Pick<IBusStop, 'typeOf' | 'branchCode' | 'name'>;
7
+ export type IDepartureBusStop = Pick<IBusStop, 'typeOf' | 'branchCode' | 'name'>;
8
8
  export interface ITrip extends Pick<IBaseTrip, 'id' | 'name' | 'offers'> {
9
9
  arrivalBusStop: IArrivalBusStop;
10
10
  departureBusStop: IDepartureBusStop;
@@ -18,7 +18,7 @@ export interface ITripWithDetails extends Pick<ITrip, 'id' | 'name' | 'arrivalBu
18
18
  busNumber: string;
19
19
  departureTime: Date;
20
20
  }
21
- export declare type ISortOrder = any;
21
+ export type ISortOrder = any;
22
22
  export interface ISearchConditions {
23
23
  limit?: number;
24
24
  page?: number;
@@ -3,7 +3,7 @@ import { IMultilingualString } from '../multilingualString';
3
3
  import { IProject } from '../project';
4
4
  import { IPropertyValue } from '../propertyValue';
5
5
  import { SortType } from '../sortType';
6
- export declare type IOfferMerchantReturnPolicy = Pick<IMerchantReturnPolicy, 'typeOf' | 'customerRemorseReturnFees' | 'customerRemorseReturnFeesMovieTicket'> & {
6
+ export type IOfferMerchantReturnPolicy = Pick<IMerchantReturnPolicy, 'typeOf' | 'customerRemorseReturnFees' | 'customerRemorseReturnFeesMovieTicket'> & {
7
7
  customerRemorseReturnFees: ICustomerRemorseReturnFees;
8
8
  customerRemorseReturnFeesMovieTicket: ICustomerRemorseReturnFeesMovieTicket;
9
9
  project: Pick<IProject, 'id' | 'typeOf'>;
@@ -9,7 +9,7 @@ import { IQuantitativeValue } from './quantitativeValue';
9
9
  import { SortType } from './sortType';
10
10
  import { UnitCode } from './unitCode';
11
11
  import { IOfferMerchantReturnPolicy, IOfferMerchantReturnPolicySearchConditions, IOfferMerchantReturnPolicySortOrder } from './unitPriceOffer/merchantReturnPolicy';
12
- export declare type IHasMerchantReturnPolicy = (Pick<IOfferMerchantReturnPolicy, 'typeOf' | 'id' | 'identifier' | 'name'> & {
12
+ export type IHasMerchantReturnPolicy = (Pick<IOfferMerchantReturnPolicy, 'typeOf' | 'id' | 'identifier' | 'name'> & {
13
13
  id: string;
14
14
  identifier: string;
15
15
  })[];
@@ -42,8 +42,8 @@ export interface IItemOffered {
42
42
  * 単価オファーの価格仕様
43
43
  * 最適化(Pickで表現)(2023-09-01~)
44
44
  */
45
- export declare type IUnitPriceOfferPriceSpecification = Pick<IUnitPriceSpecification, 'accounting' | 'appliesToMovieTicket' | 'eligibleQuantity' | 'eligibleTransactionVolume' | 'name' | 'price' | 'priceCurrency' | 'referenceQuantity' | 'typeOf' | 'valueAddedTaxIncluded'>;
46
- export declare type IAddOnItemOffered = Pick<IProduct, 'typeOf' | 'id' | 'name'>;
45
+ export type IUnitPriceOfferPriceSpecification = Pick<IUnitPriceSpecification, 'accounting' | 'appliesToMovieTicket' | 'eligibleQuantity' | 'eligibleTransactionVolume' | 'name' | 'price' | 'priceCurrency' | 'referenceQuantity' | 'typeOf' | 'valueAddedTaxIncluded'>;
46
+ export type IAddOnItemOffered = Pick<IProduct, 'typeOf' | 'id' | 'name'>;
47
47
  export interface IAddOn4unitPriceOffer extends Pick<IAddOn, 'typeOf' | 'priceCurrency'> {
48
48
  itemOffered: IAddOnItemOffered;
49
49
  }
@@ -52,7 +52,7 @@ export interface ISettings {
52
52
  }
53
53
  export interface IAdvanceBookingRequirement extends Pick<IQuantitativeValue<UnitCode.Sec>, 'typeOf' | 'minValue' | 'unitCode' | 'description'> {
54
54
  }
55
- export declare type IAvailability = ItemAvailability.InStock | ItemAvailability.OutOfStock;
55
+ export type IAvailability = ItemAvailability.InStock | ItemAvailability.OutOfStock;
56
56
  /**
57
57
  * 単価オファー
58
58
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.336.0",
3
+ "version": "4.338.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -39,33 +39,28 @@
39
39
  "email": "yamazaki@motionpicture.jp"
40
40
  }
41
41
  ],
42
- "license": "ISC",
42
+ "license": "UNLICENSED",
43
43
  "devDependencies": {
44
44
  "@types/mocha": "^5.2.7",
45
45
  "@types/node": "^8.10.51",
46
- "@types/power-assert": "^1.5.0",
47
46
  "@types/request": "^2.48.5",
48
47
  "@types/request-promise-native": "^1.0.17",
49
- "@types/sinon": "^4.3.3",
50
48
  "coveralls": "^3.0.5",
51
- "http-signature": "^1.2.0",
52
49
  "mocha": "^5.2.0",
53
- "nyc": "^12.0.2",
54
- "power-assert": "^1.6.1",
50
+ "nyc": "12.0.2",
55
51
  "rimraf": "^2.6.3",
56
- "sinon": "^5.1.0",
57
- "ts-node": "^10.0.0",
58
- "tslint": "^6.1.3",
59
- "tslint-microsoft-contrib": "^6.2.0",
60
- "typescript": "^4.3.2"
52
+ "ts-node": "10.9.1",
53
+ "tslint": "6.1.3",
54
+ "tslint-microsoft-contrib": "6.2.0",
55
+ "typescript": "5.0.4"
61
56
  },
62
57
  "dependencies": {
58
+ "@aws-sdk/client-cognito-identity-provider": "3.438.0",
63
59
  "@motionpicture/coa-service": "9.2.0",
64
60
  "@motionpicture/gmo-service": "^5.0.0",
65
61
  "@surfrock/sdk": "1.1.0",
66
62
  "@waiter/factory": "2.1.0",
67
- "aws-sdk": "2.447.0",
68
- "setprototypeof": "^1.2.0"
63
+ "setprototypeof": "1.2.0"
69
64
  },
70
65
  "repository": {
71
66
  "type": "git",