@chevre/factory 7.0.0-alpha.1 → 7.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/account/action/moneyTransfer.d.ts +6 -6
- package/lib/account/transaction.d.ts +3 -4
- package/lib/account.js +5 -5
- package/lib/action/accept/coaOffer.d.ts +5 -5
- package/lib/action/accept/pay.d.ts +4 -4
- package/lib/action/accept.d.ts +3 -3
- package/lib/action/authorize/invoice.d.ts +6 -6
- package/lib/action/authorize/offer/any.d.ts +3 -3
- package/lib/action/authorize/offer/eventService.d.ts +4 -4
- package/lib/action/authorize/offer/eventService.js +1 -1
- package/lib/action/authorize/offer/product.d.ts +4 -4
- package/lib/action/authorize/offer/product.js +1 -1
- package/lib/action/authorize/paymentMethod/any.d.ts +6 -6
- package/lib/action/authorize/ticketedObject.d.ts +4 -4
- package/lib/action/authorize.d.ts +4 -4
- package/lib/action/cancel/coaReserve.d.ts +4 -4
- package/lib/action/cancel/reservation.d.ts +4 -4
- package/lib/action/check/paymentMethod/movieTicket.d.ts +4 -4
- package/lib/action/check/thing.d.ts +5 -5
- package/lib/action/consume/use/reservation.d.ts +3 -3
- package/lib/action/consume/use.d.ts +3 -3
- package/lib/action/create.d.ts +3 -3
- package/lib/action/interact/confirm/pay.d.ts +3 -3
- package/lib/action/interact/confirm/registerService.d.ts +3 -3
- package/lib/action/interact/confirm/reservation.d.ts +3 -3
- package/lib/action/interact/confirm.d.ts +4 -4
- package/lib/action/interact/inform.d.ts +7 -7
- package/lib/action/interact/register/service.d.ts +3 -3
- package/lib/action/interact/register.d.ts +5 -5
- package/lib/action/reserve.d.ts +4 -4
- package/lib/action/trade/order.d.ts +5 -5
- package/lib/action/trade/pay.d.ts +5 -5
- package/lib/action/trade/refund.d.ts +5 -5
- package/lib/action/transfer/give/pointAward.d.ts +5 -5
- package/lib/action/transfer/give.d.ts +5 -5
- package/lib/action/transfer/moneyTransfer.d.ts +5 -5
- package/lib/action/transfer/return/invoice.d.ts +6 -6
- package/lib/action/transfer/return/order.d.ts +7 -7
- package/lib/action/transfer/return/pointAward.d.ts +6 -6
- package/lib/action/transfer/return/reserveTransaction.d.ts +6 -6
- package/lib/action/transfer/return.d.ts +3 -3
- package/lib/action/transfer/send/message/email.d.ts +3 -3
- package/lib/action/transfer/send/order.d.ts +3 -3
- package/lib/action/transfer/send.d.ts +6 -6
- package/lib/action/update/add.d.ts +4 -4
- package/lib/action/update/delete.d.ts +5 -5
- package/lib/action/update/replace.d.ts +4 -4
- package/lib/action/update/update.d.ts +4 -4
- package/lib/error/alreadyInUse.js +12 -31
- package/lib/error/argument.js +10 -30
- package/lib/error/argumentNull.js +10 -30
- package/lib/error/chevre.js +7 -26
- package/lib/error/forbidden.js +7 -28
- package/lib/error/gatewayTimeout.js +7 -28
- package/lib/error/internal.js +7 -28
- package/lib/error/notFound.js +10 -30
- package/lib/error/notImplemented.js +7 -28
- package/lib/error/rateLimitExceeded.js +7 -28
- package/lib/error/serviceUnavailable.js +7 -28
- package/lib/error/unauthorized.js +7 -28
- package/lib/error/unknown.js +7 -28
- package/lib/errors.js +13 -13
- package/lib/index.js +216 -216
- package/lib/invoice.d.ts +4 -4
- package/lib/offer.d.ts +2 -2
- package/lib/order.d.ts +19 -19
- package/lib/ownershipInfo.d.ts +7 -7
- package/lib/person.d.ts +3 -3
- package/lib/product.d.ts +3 -3
- package/lib/reservation.d.ts +1 -2
- package/lib/reservedCodeValues.js +24 -24
- package/lib/transaction.d.ts +4 -4
- package/package.json +3 -4
package/lib/index.js
CHANGED
|
@@ -7,205 +7,205 @@ exports.unitPriceOffer = exports.unitCode = exports.assetTransactionType = expor
|
|
|
7
7
|
*/
|
|
8
8
|
exports.waiter = require("@waiter/factory");
|
|
9
9
|
exports.cognito = require("./cognito");
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
10
|
+
const AccountFactory = require("./account");
|
|
11
|
+
const AcceptCOAOfferActionFactory = require("./action/accept/coaOffer");
|
|
12
|
+
const AcceptPayActionFactory = require("./action/accept/pay");
|
|
13
|
+
const AuthorizeInvoiceActionFactory = require("./action/authorize/invoice");
|
|
14
|
+
const AuthorizeEventServiceOfferActionFactory = require("./action/authorize/offer/eventService");
|
|
15
|
+
const AuthorizeProductOfferActionFactory = require("./action/authorize/offer/product");
|
|
16
|
+
const AuthorizeAnyPaymentActionFactory = require("./action/authorize/paymentMethod/any");
|
|
17
|
+
const AuthorizeTicketedObjectActionFactory = require("./action/authorize/ticketedObject");
|
|
18
|
+
const CancelCOAReserveActionFactory = require("./action/cancel/coaReserve");
|
|
19
|
+
const CancelReservationActionFactory = require("./action/cancel/reservation");
|
|
20
|
+
const CheckMovieTicketActionFactory = require("./action/check/paymentMethod/movieTicket");
|
|
21
|
+
const CheckThingActionFactory = require("./action/check/thing");
|
|
22
|
+
const UseReservationActionFactory = require("./action/consume/use/reservation");
|
|
23
|
+
const CreateActionFactory = require("./action/create");
|
|
24
|
+
const ConfirmPayActionFactory = require("./action/interact/confirm/pay");
|
|
25
|
+
const ConfirmRegisterServiceActionFactory = require("./action/interact/confirm/registerService");
|
|
26
|
+
const ConfirmReservationActionFactory = require("./action/interact/confirm/reservation");
|
|
27
|
+
const InformActionFactory = require("./action/interact/inform");
|
|
28
|
+
const RegisterServiceActionFactory = require("./action/interact/register/service");
|
|
29
|
+
const ReserveActionFactory = require("./action/reserve");
|
|
30
|
+
const OrderActionFactory = require("./action/trade/order");
|
|
31
|
+
const PayActionFactory = require("./action/trade/pay");
|
|
32
|
+
const RefundActionFactory = require("./action/trade/refund");
|
|
33
|
+
const GivePointAwardActionFactory = require("./action/transfer/give/pointAward");
|
|
34
|
+
const MoneyTransferActionFactory = require("./action/transfer/moneyTransfer");
|
|
35
|
+
const ReturnInvoiceActionFactory = require("./action/transfer/return/invoice");
|
|
36
|
+
const ReturnOrderActionFactory = require("./action/transfer/return/order");
|
|
37
|
+
const ReturnPointAwardActionFactory = require("./action/transfer/return/pointAward");
|
|
38
|
+
const ReturnReserveTransactionActionFactory = require("./action/transfer/return/reserveTransaction");
|
|
39
|
+
const SendEmailMessageActionFactory = require("./action/transfer/send/message/email");
|
|
40
|
+
const SendOrderActionFactory = require("./action/transfer/send/order");
|
|
41
|
+
const AddActionFactory = require("./action/update/add");
|
|
42
|
+
const DeleteActionFactory = require("./action/update/delete");
|
|
43
|
+
const ReplaceActionFactory = require("./action/update/replace");
|
|
44
|
+
const UpdateActionFactory = require("./action/update/update");
|
|
45
|
+
const actionStatusType_1 = require("./actionStatusType");
|
|
46
|
+
const actionType_1 = require("./actionType");
|
|
47
|
+
const AccountTitleFactory = require("./accountTitle");
|
|
48
|
+
const accountType_1 = require("./accountType");
|
|
49
|
+
const AdditionalPropertyFactory = require("./additionalProperty");
|
|
50
|
+
const AdvanceBookingRequirementFactory = require("./advanceBookingRequirement");
|
|
51
|
+
const AggregationFactory = require("./aggregation");
|
|
52
|
+
const AuthorizationFactory = require("./authorization");
|
|
53
|
+
const CategoryCodeFactory = require("./categoryCode");
|
|
54
|
+
const certificationStatusEnumeration_1 = require("./certificationStatusEnumeration");
|
|
55
55
|
Object.defineProperty(exports, "CertificationStatusEnumeration", { enumerable: true, get: function () { return certificationStatusEnumeration_1.CertificationStatusEnumeration; } });
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
56
|
+
const ClientUserFactory = require("./clientUser");
|
|
57
|
+
const softwareApplicationCertification = require("./creativeWork/certification/softwareApplication");
|
|
58
|
+
const webApplicationCertification = require("./creativeWork/certification/webApplication");
|
|
59
|
+
const webSiteCertification = require("./creativeWork/certification/webSite");
|
|
60
|
+
const CommentFactory = require("./creativeWork/comment");
|
|
61
|
+
const EmailMessageFactory = require("./creativeWork/message/email");
|
|
62
|
+
const MovieFactory = require("./creativeWork/movie");
|
|
63
|
+
const NoteDigitalDocumentFactory = require("./creativeWork/noteDigitalDocument");
|
|
64
|
+
const SoftwareApplicationFactory = require("./creativeWork/softwareApplication");
|
|
65
|
+
const WebApplicationFactory = require("./creativeWork/softwareApplication/webApplication");
|
|
66
|
+
const creativeWorkType_1 = require("./creativeWorkType");
|
|
67
|
+
const CustomerFactory = require("./customer");
|
|
68
|
+
const EncodingFormat = require("./encodingFormat");
|
|
69
|
+
const entryPoint = require("./entryPoint");
|
|
70
70
|
exports.entryPoint = entryPoint;
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
71
|
+
const ScreeningEventFactory = require("./event/screeningEvent");
|
|
72
|
+
const ScreeningEventSeriesFactory = require("./event/screeningEventSeries");
|
|
73
|
+
const eventStatusType_1 = require("./eventStatusType");
|
|
74
|
+
const eventType_1 = require("./eventType");
|
|
75
|
+
const IAMFactory = require("./iam");
|
|
76
|
+
const IdentityProviderFactory = require("./identityProvider");
|
|
77
|
+
const InvoiceFactory = require("./invoice");
|
|
78
|
+
const itemAvailability_1 = require("./itemAvailability");
|
|
79
|
+
const LanguageFactory = require("./language");
|
|
80
|
+
const MerchantReturnPolicyFactory = require("./merchantReturnPolicy");
|
|
81
|
+
const MonetaryAmountFactory = require("./monetaryAmount");
|
|
82
|
+
const MovieTicketTypeFactory = require("./movieTicketType");
|
|
83
|
+
const OfferFactory = require("./offer");
|
|
84
|
+
const AggregateOfferFactory = require("./offer/aggregateOffer");
|
|
85
|
+
const EventOfferFactory = require("./offer/eventOffer");
|
|
86
|
+
const ProductOfferFactory = require("./offer/productOffer");
|
|
87
|
+
const OfferCatalogFactory = require("./offerCatalog");
|
|
88
|
+
const OfferItemConditionFactory = require("./offerItemCondition");
|
|
89
|
+
const offerType_1 = require("./offerType");
|
|
90
|
+
const OrderFactory = require("./order");
|
|
91
|
+
const orderStatus_1 = require("./orderStatus");
|
|
92
|
+
const OrganizationFactory = require("./organization");
|
|
93
|
+
const organizationType_1 = require("./organizationType");
|
|
94
|
+
const OwnershipInfoFactory = require("./ownershipInfo");
|
|
95
|
+
const CreditCardFactory = require("./paymentMethod/paymentCard/creditCard");
|
|
96
|
+
const MovieTicketFactory = require("./paymentMethod/paymentCard/movieTicket");
|
|
97
|
+
const paymentStatusType_1 = require("./paymentStatusType");
|
|
98
|
+
const PermitFactory = require("./permit");
|
|
99
|
+
const PersonFactory = require("./person");
|
|
100
|
+
const personType_1 = require("./personType");
|
|
101
|
+
const BusStopFactory = require("./place/busStop");
|
|
102
|
+
const EntranceGateFactory = require("./place/entranceGate");
|
|
103
|
+
const MovieTheaterPlaceFactory = require("./place/movieTheater");
|
|
104
|
+
const ScreeningRoomPlaceFactory = require("./place/screeningRoom");
|
|
105
|
+
const ScreeningRoomSectionPlaceFactory = require("./place/screeningRoomSection");
|
|
106
|
+
const SeatPlaceFactory = require("./place/seat");
|
|
107
|
+
const placeType_1 = require("./placeType");
|
|
108
|
+
const potentialAction = require("./potentialAction");
|
|
109
109
|
exports.potentialAction = potentialAction;
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
110
|
+
const priceCurrency_1 = require("./priceCurrency");
|
|
111
|
+
const UnitPriceSpecificationFactory = require("./priceSpecification/unitPriceSpecification");
|
|
112
|
+
const priceSpecificationType_1 = require("./priceSpecificationType");
|
|
113
|
+
const ProductFactory = require("./product");
|
|
114
|
+
const ProgramMembershipFactory = require("./programMembership");
|
|
115
115
|
// import * as project from './project';
|
|
116
116
|
exports.project = require("./project");
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
117
|
+
const PropertyValueFactory = require("./propertyValue");
|
|
118
|
+
const LocationFeatureSpecificationFactory = require("./propertyValue/locationFeatureSpecification");
|
|
119
|
+
const QualitativeValueFactory = require("./qualitativeValue");
|
|
120
|
+
const QuantitativeValueFactory = require("./quantitativeValue");
|
|
121
|
+
const AccountingReportFactory = require("./report/accountingReport");
|
|
122
|
+
const EventReservationFactory = require("./reservation/event");
|
|
123
|
+
const ReservationPackageFactory = require("./reservation/reservationPackage");
|
|
124
|
+
const reservationStatusType_1 = require("./reservationStatusType");
|
|
125
|
+
const reservationType_1 = require("./reservationType");
|
|
126
|
+
const reservedCodeValues_1 = require("./reservedCodeValues");
|
|
127
127
|
Object.defineProperty(exports, "RESERVED_CODE_VALUES", { enumerable: true, get: function () { return reservedCodeValues_1.RESERVED_CODE_VALUES; } });
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
128
|
+
const RoleFactory = require("./role");
|
|
129
|
+
const OrganizationRoleFactory = require("./role/organizationRole");
|
|
130
|
+
const ScheduleFactory = require("./schedule");
|
|
131
|
+
const SellerFactory = require("./seller");
|
|
132
|
+
const SellerReturnPolicyFactory = require("./sellerReturnPolicy");
|
|
133
|
+
const PaymentServiceFactory = require("./service/paymentService");
|
|
134
|
+
const WebAPIServiceFactory = require("./service/webAPI");
|
|
135
|
+
const ServiceChannelFactory = require("./serviceChannel");
|
|
136
|
+
const sortType_1 = require("./sortType");
|
|
137
|
+
const ThingFactory = require("./thing");
|
|
138
|
+
const BusTripFactory = require("./trip/busTrip");
|
|
139
|
+
const tripType_1 = require("./tripType");
|
|
140
|
+
const unitCode_1 = require("./unitCode");
|
|
141
|
+
const UnitPriceOfferFactory = require("./unitPriceOffer");
|
|
142
|
+
const AccountTitleNotification = require("./notification/accountTitle");
|
|
143
|
+
const CategoryCodeNotification = require("./notification/categoryCode");
|
|
144
|
+
const CreativeWorkNotification = require("./notification/creativeWork");
|
|
145
|
+
const EventNotification = require("./notification/event");
|
|
146
|
+
const EventSeriesNotification = require("./notification/eventSeries");
|
|
147
|
+
const OfferNotification = require("./notification/offer");
|
|
148
|
+
const OfferCatalogNotification = require("./notification/offerCatalog");
|
|
149
|
+
const OrderNotification = require("./notification/order");
|
|
150
|
+
const PayActionNotification = require("./notification/payAction");
|
|
151
|
+
const PersonNotification = require("./notification/person");
|
|
152
|
+
const PlaceNotification = require("./notification/place");
|
|
153
|
+
const ProductNotification = require("./notification/product");
|
|
154
|
+
const RefundActionNotification = require("./notification/refundAction");
|
|
155
|
+
const ReservationNotification = require("./notification/reservation");
|
|
156
|
+
const TaskNotification = require("./notification/task");
|
|
157
|
+
const TransactionNotification = require("./notification/transaction");
|
|
158
|
+
const AcceptCOAOfferTaskFactory = require("./task/acceptCOAOffer");
|
|
159
|
+
const AccountMoneyTransferTaskFactory = require("./task/accountMoneyTransfer");
|
|
160
|
+
const AggregateOffersTaskFactory = require("./task/aggregateOffers");
|
|
161
|
+
const AggregateOnSystemTaskFactory = require("./task/aggregateOnSystem");
|
|
162
|
+
const AggregateScreeningEventTaskFactory = require("./task/aggregateScreeningEvent");
|
|
163
|
+
const AuthorizePaymentTaskFactory = require("./task/authorizePayment");
|
|
164
|
+
const CancelAccountMoneyTransferTaskFactory = require("./task/cancelAccountMoneyTransfer");
|
|
165
|
+
const CancelMoneyTransferTaskFactory = require("./task/cancelMoneyTransfer");
|
|
166
|
+
const CancelPendingReservationTaskFactory = require("./task/cancelPendingReservation");
|
|
167
|
+
const CancelReservationTaskFactory = require("./task/cancelReservation");
|
|
168
|
+
const CheckMovieTicketTaskFactory = require("./task/checkMovieTicket");
|
|
169
|
+
const CheckResourceTaskFactory = require("./task/checkResource");
|
|
170
|
+
const ConfirmReserveTransactionTaskFactory = require("./task/confirmReserveTransaction");
|
|
171
|
+
const CreateAccountingReportTaskFactory = require("./task/createAccountingReport");
|
|
172
|
+
const DeletePersonTaskFactory = require("./task/deletePerson");
|
|
173
|
+
const DeleteTransactionTaskFactory = require("./task/deleteTransaction");
|
|
174
|
+
const HandleNotificationTaskFactory = require("./task/handleNotification");
|
|
175
|
+
const ImportEventCapacitiesFromCOATaskFactory = require("./task/importEventCapacitiesFromCOA");
|
|
176
|
+
const ImportEventsFromCOATaskFactory = require("./task/importEventsFromCOA");
|
|
177
|
+
const ImportOffersFromCOATaskFactory = require("./task/importOffersFromCOA");
|
|
178
|
+
const InvalidatePaymentUrlTaskFactory = require("./task/invalidatePaymentUrl");
|
|
179
|
+
const MoneyTransferTaskFactory = require("./task/moneyTransfer");
|
|
180
|
+
const OnAssetTransactionStatusChangedTaskFactory = require("./task/onAssetTransactionStatusChanged");
|
|
181
|
+
const OnAuthorizationCreatedTaskFactory = require("./task/onAuthorizationCreated");
|
|
182
|
+
const OnEventChangedTaskFactory = require("./task/onEventChanged");
|
|
183
|
+
const OnResourceDeletedTaskFactory = require("./task/onResourceDeleted");
|
|
184
|
+
const OnResourceUpdatedTaskFactory = require("./task/onResourceUpdated");
|
|
185
|
+
const PayTaskFactory = require("./task/pay");
|
|
186
|
+
const PublishPaymentUrlTaskFactory = require("./task/publishPaymentUrl");
|
|
187
|
+
const RefundTaskFactory = require("./task/refund");
|
|
188
|
+
const RegisterServiceTaskFactory = require("./task/registerService");
|
|
189
|
+
const ReserveTaskFactory = require("./task/reserve");
|
|
190
|
+
const SendEmailMessageTaskFactory = require("./task/sendEmailMessage");
|
|
191
|
+
const SyncResourcesFromCOATaskFactory = require("./task/syncResourcesFromCOA");
|
|
192
|
+
const TriggerWebhookTaskFactory = require("./task/triggerWebhook");
|
|
193
|
+
const UseReservationTaskFactory = require("./task/useReservation");
|
|
194
|
+
const VoidPaymentTaskFactory = require("./task/voidPayment");
|
|
195
|
+
const taskName_1 = require("./taskName");
|
|
196
|
+
const taskStatus_1 = require("./taskStatus");
|
|
197
|
+
const CancelReservationAssetTransactionFactory = require("./assetTransaction/cancelReservation");
|
|
198
|
+
const MoneyTransferAssetTransactionFactory = require("./assetTransaction/moneyTransfer");
|
|
199
|
+
const PayAssetTransactionFactory = require("./assetTransaction/pay");
|
|
200
|
+
const RefundAssetTransactionFactory = require("./assetTransaction/refund");
|
|
201
|
+
const RegisterServiceAssetTransactionFactory = require("./assetTransaction/registerService");
|
|
202
|
+
const ReserveAssetTransactionFactory = require("./assetTransaction/reserve");
|
|
203
|
+
const assetTransactionType_1 = require("./assetTransactionType");
|
|
204
|
+
const transactionStatusType_1 = require("./transactionStatusType");
|
|
205
|
+
const PlaceOrderTransactionFactory = require("./transaction/placeOrder");
|
|
206
|
+
const ReturnOrderTransactionFactory = require("./transaction/returnOrder");
|
|
207
|
+
const transactionType_1 = require("./transactionType");
|
|
208
|
+
const errorCode_1 = require("./errorCode");
|
|
209
209
|
// import * as errors from './errors';
|
|
210
210
|
exports.errors = require("./errors");
|
|
211
211
|
exports.recipe = require("./recipe");
|
|
@@ -216,18 +216,18 @@ exports.actionStatusType = actionStatusType_1.ActionStatusType;
|
|
|
216
216
|
exports.actionType = actionType_1.ActionType;
|
|
217
217
|
var action;
|
|
218
218
|
(function (action) {
|
|
219
|
-
|
|
219
|
+
let accept;
|
|
220
220
|
(function (accept) {
|
|
221
221
|
accept.coaOffer = AcceptCOAOfferActionFactory;
|
|
222
222
|
accept.pay = AcceptPayActionFactory;
|
|
223
223
|
})(accept = action.accept || (action.accept = {}));
|
|
224
|
-
|
|
224
|
+
let authorize;
|
|
225
225
|
(function (authorize) {
|
|
226
|
-
|
|
226
|
+
let paymentMethod;
|
|
227
227
|
(function (paymentMethod) {
|
|
228
228
|
paymentMethod.any = AuthorizeAnyPaymentActionFactory;
|
|
229
229
|
})(paymentMethod = authorize.paymentMethod || (authorize.paymentMethod = {}));
|
|
230
|
-
|
|
230
|
+
let offer;
|
|
231
231
|
(function (offer) {
|
|
232
232
|
offer.eventService = AuthorizeEventServiceOfferActionFactory;
|
|
233
233
|
offer.product = AuthorizeProductOfferActionFactory;
|
|
@@ -235,14 +235,14 @@ var action;
|
|
|
235
235
|
authorize.invoice = AuthorizeInvoiceActionFactory;
|
|
236
236
|
authorize.ticketedObject = AuthorizeTicketedObjectActionFactory;
|
|
237
237
|
})(authorize = action.authorize || (action.authorize = {}));
|
|
238
|
-
|
|
238
|
+
let cancel;
|
|
239
239
|
(function (cancel) {
|
|
240
240
|
cancel.coaReserve = CancelCOAReserveActionFactory;
|
|
241
241
|
cancel.reservation = CancelReservationActionFactory;
|
|
242
242
|
})(cancel = action.cancel || (action.cancel = {}));
|
|
243
|
-
|
|
243
|
+
let check;
|
|
244
244
|
(function (check) {
|
|
245
|
-
|
|
245
|
+
let paymentMethod;
|
|
246
246
|
(function (paymentMethod) {
|
|
247
247
|
paymentMethod.movieTicket = CheckMovieTicketActionFactory;
|
|
248
248
|
})(paymentMethod = check.paymentMethod || (check.paymentMethod = {}));
|
|
@@ -250,30 +250,30 @@ var action;
|
|
|
250
250
|
// export import token = CheckTokenActionFactory; // discontinue(2025-09-22~)
|
|
251
251
|
})(check = action.check || (action.check = {}));
|
|
252
252
|
action.create = CreateActionFactory;
|
|
253
|
-
|
|
253
|
+
let interact;
|
|
254
254
|
(function (interact) {
|
|
255
|
-
|
|
255
|
+
let confirm;
|
|
256
256
|
(function (confirm) {
|
|
257
257
|
confirm.registerService = ConfirmRegisterServiceActionFactory;
|
|
258
258
|
confirm.pay = ConfirmPayActionFactory;
|
|
259
259
|
confirm.reservation = ConfirmReservationActionFactory;
|
|
260
260
|
})(confirm = interact.confirm || (interact.confirm = {}));
|
|
261
261
|
interact.inform = InformActionFactory;
|
|
262
|
-
|
|
262
|
+
let register;
|
|
263
263
|
(function (register) {
|
|
264
264
|
register.service = RegisterServiceActionFactory;
|
|
265
265
|
})(register = interact.register || (interact.register = {}));
|
|
266
266
|
})(interact = action.interact || (action.interact = {}));
|
|
267
|
-
|
|
267
|
+
let trade;
|
|
268
268
|
(function (trade) {
|
|
269
269
|
trade.order = OrderActionFactory;
|
|
270
270
|
trade.pay = PayActionFactory;
|
|
271
271
|
trade.refund = RefundActionFactory;
|
|
272
272
|
})(trade = action.trade || (action.trade = {}));
|
|
273
|
-
|
|
273
|
+
let transfer;
|
|
274
274
|
(function (transfer) {
|
|
275
275
|
transfer.moneyTransfer = MoneyTransferActionFactory;
|
|
276
|
-
|
|
276
|
+
let give;
|
|
277
277
|
(function (give) {
|
|
278
278
|
give.pointAward = GivePointAwardActionFactory;
|
|
279
279
|
})(give = transfer.give || (transfer.give = {}));
|
|
@@ -281,32 +281,32 @@ var action;
|
|
|
281
281
|
* 返却アクション
|
|
282
282
|
* returnはネームスペース名に使えないのでreturnAction
|
|
283
283
|
*/
|
|
284
|
-
|
|
284
|
+
let returnAction;
|
|
285
285
|
(function (returnAction) {
|
|
286
286
|
returnAction.invoice = ReturnInvoiceActionFactory;
|
|
287
287
|
returnAction.order = ReturnOrderActionFactory;
|
|
288
288
|
returnAction.pointAward = ReturnPointAwardActionFactory;
|
|
289
289
|
returnAction.reserveTransaction = ReturnReserveTransactionActionFactory;
|
|
290
290
|
})(returnAction = transfer.returnAction || (transfer.returnAction = {}));
|
|
291
|
-
|
|
291
|
+
let send;
|
|
292
292
|
(function (send) {
|
|
293
|
-
|
|
293
|
+
let message;
|
|
294
294
|
(function (message) {
|
|
295
295
|
message.email = SendEmailMessageActionFactory;
|
|
296
296
|
})(message = send.message || (send.message = {}));
|
|
297
297
|
send.order = SendOrderActionFactory;
|
|
298
298
|
})(send = transfer.send || (transfer.send = {}));
|
|
299
299
|
})(transfer = action.transfer || (action.transfer = {}));
|
|
300
|
-
|
|
300
|
+
let update;
|
|
301
301
|
(function (update) {
|
|
302
302
|
update.add = AddActionFactory;
|
|
303
303
|
update.deleteAction = DeleteActionFactory;
|
|
304
304
|
update.replace = ReplaceActionFactory;
|
|
305
305
|
update.update = UpdateActionFactory;
|
|
306
306
|
})(update = action.update || (action.update = {}));
|
|
307
|
-
|
|
307
|
+
let consume;
|
|
308
308
|
(function (consume) {
|
|
309
|
-
|
|
309
|
+
let use;
|
|
310
310
|
(function (use) {
|
|
311
311
|
use.reservation = UseReservationActionFactory;
|
|
312
312
|
})(use = consume.use || (consume.use = {}));
|
|
@@ -325,7 +325,7 @@ exports.clientUser = ClientUserFactory;
|
|
|
325
325
|
var creativeWork;
|
|
326
326
|
(function (creativeWork) {
|
|
327
327
|
// export import ICreativeWork = CreativeWorkFactory.ICreativeWork;
|
|
328
|
-
|
|
328
|
+
let certification;
|
|
329
329
|
(function (certification) {
|
|
330
330
|
/**
|
|
331
331
|
* マシーンアイデンティティ
|
|
@@ -341,7 +341,7 @@ var creativeWork;
|
|
|
341
341
|
certification.webSite = webSiteCertification;
|
|
342
342
|
})(certification = creativeWork.certification || (creativeWork.certification = {}));
|
|
343
343
|
creativeWork.comment = CommentFactory;
|
|
344
|
-
|
|
344
|
+
let message;
|
|
345
345
|
(function (message) {
|
|
346
346
|
message.email = EmailMessageFactory;
|
|
347
347
|
})(message = creativeWork.message || (creativeWork.message = {}));
|
|
@@ -353,7 +353,7 @@ var creativeWork;
|
|
|
353
353
|
* メモ
|
|
354
354
|
*/
|
|
355
355
|
creativeWork.noteDigitalDocument = NoteDigitalDocumentFactory;
|
|
356
|
-
|
|
356
|
+
let softwareApplication;
|
|
357
357
|
(function (softwareApplication) {
|
|
358
358
|
// export import ISoftwareApplication = SoftwareApplicationFactory.ISoftwareApplication;
|
|
359
359
|
softwareApplication.softwareApplication = SoftwareApplicationFactory;
|
|
@@ -425,7 +425,7 @@ exports.organizationType = organizationType_1.OrganizationType;
|
|
|
425
425
|
exports.ownershipInfo = OwnershipInfoFactory;
|
|
426
426
|
var paymentMethod;
|
|
427
427
|
(function (paymentMethod) {
|
|
428
|
-
|
|
428
|
+
let paymentCard;
|
|
429
429
|
(function (paymentCard) {
|
|
430
430
|
paymentCard.creditCard = CreditCardFactory;
|
|
431
431
|
paymentCard.movieTicket = MovieTicketFactory;
|
package/lib/invoice.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IMonetaryAmount } from './monetaryAmount';
|
|
2
|
-
import
|
|
2
|
+
import { ITicketPriceSpecification, ICustomer, ITotalPaymentDue } from './order';
|
|
3
3
|
import { PaymentStatusType } from './paymentStatusType';
|
|
4
4
|
import { IPerson } from './person';
|
|
5
5
|
import { IAccounting } from './priceSpecification';
|
|
@@ -21,7 +21,7 @@ export type IMinimizedUnitPriceSpecification = Pick<IUnitPriceSpecification, 'ty
|
|
|
21
21
|
appliesToAddOn?: IAppliesToAddOn[];
|
|
22
22
|
};
|
|
23
23
|
export type IPriceComponentSpecification = IMinimizedCategoryCodeChargeSpecification | IMinimizedMovieTicketTypeChargeSpecification | IMinimizedUnitPriceSpecification;
|
|
24
|
-
export type IReservationPriceSpecification = Pick<
|
|
24
|
+
export type IReservationPriceSpecification = Pick<ITicketPriceSpecification, 'typeOf'> & {
|
|
25
25
|
priceComponent: IPriceComponentSpecification[];
|
|
26
26
|
};
|
|
27
27
|
export interface IReservation {
|
|
@@ -93,7 +93,7 @@ export interface IInvoice {
|
|
|
93
93
|
/**
|
|
94
94
|
* Party placing the order or paying the invoice.
|
|
95
95
|
*/
|
|
96
|
-
customer?:
|
|
96
|
+
customer?: ICustomer;
|
|
97
97
|
/**
|
|
98
98
|
* The minimum payment required at this time.
|
|
99
99
|
*/
|
|
@@ -129,5 +129,5 @@ export interface IInvoice {
|
|
|
129
129
|
/**
|
|
130
130
|
* The total amount due.
|
|
131
131
|
*/
|
|
132
|
-
totalPaymentDue?:
|
|
132
|
+
totalPaymentDue?: ITotalPaymentDue;
|
|
133
133
|
}
|
package/lib/offer.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { IAddOnProduct } from './product';
|
|
|
11
11
|
import { IProject } from './project';
|
|
12
12
|
import { IPropertyValue } from './propertyValue';
|
|
13
13
|
import { IQuantitativeValue } from './quantitativeValue';
|
|
14
|
-
import
|
|
14
|
+
import { IService, Identifier } from './service/webAPI';
|
|
15
15
|
import { IThing } from './thing';
|
|
16
16
|
import { UnitCode } from './unitCode';
|
|
17
17
|
/**
|
|
@@ -49,7 +49,7 @@ export interface ISeller {
|
|
|
49
49
|
typeOf?: OrganizationType.Corporation;
|
|
50
50
|
id?: string;
|
|
51
51
|
}
|
|
52
|
-
export type IOfferedThrough = Pick<
|
|
52
|
+
export type IOfferedThrough = Pick<IService<Identifier>, 'identifier' | 'typeOf'>;
|
|
53
53
|
/**
|
|
54
54
|
* レート制限
|
|
55
55
|
* どのスコープで何秒に1席までか
|