@chevre/factory 6.2.0-alpha.4 → 6.2.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.
- package/lib/action/accept/coaOffer.d.ts +2 -2
- package/lib/action/authorize/offer/eventService.d.ts +2 -2
- package/lib/creativeWork.d.ts +2 -2
- package/lib/event/screeningEvent.d.ts +4 -4
- package/lib/event/screeningEventSeries.d.ts +3 -3
- package/lib/index.d.ts +0 -2
- package/lib/index.js +2 -4
- package/lib/order.d.ts +2 -2
- package/lib/recipe/acceptCOAOffer.d.ts +3 -3
- package/lib/recipe/authorizeInvoice.d.ts +5 -5
- package/lib/recipe/authorizeInvoice3ds.d.ts +3 -3
- package/lib/recipe/cancelPendingCOAReserve.d.ts +2 -2
- package/lib/recipe/confirmCOAReserve.d.ts +5 -5
- package/lib/recipe/payCreditCard.d.ts +6 -6
- package/lib/recipe/publishPaymentUrl.d.ts +7 -7
- package/lib/recipe/refundCreditCard.d.ts +6 -6
- package/lib/recipe/returnCOAReserve.d.ts +4 -4
- package/package.json +3 -3
- package/lib/offer/acceptedPaymentMethod.d.ts +0 -111
- package/lib/offer/acceptedPaymentMethod.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import type { COAFactory } from '@coasystems/factory';
|
|
2
2
|
import * as ActionFactory from '../../action';
|
|
3
3
|
import { ActionType } from '../../actionType';
|
|
4
4
|
import { IAcceptedTicketOfferItemOffered, IAcceptedTicketOfferWithoutDetail as IAcceptedOfferWithoutDetail4chevre } from '../../assetTransaction/reserve';
|
|
@@ -82,7 +82,7 @@ export interface ICOATicketInfo {
|
|
|
82
82
|
/**
|
|
83
83
|
* COA券種情報
|
|
84
84
|
*/
|
|
85
|
-
export type ICOATicketInfoWithDetails =
|
|
85
|
+
export type ICOATicketInfoWithDetails = COAFactory.reserve.IUpdReserveTicket & {
|
|
86
86
|
/**
|
|
87
87
|
* チケット名
|
|
88
88
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import type { COAFactory } from '@coasystems/factory';
|
|
2
2
|
import * as ActionFactory from '../../../action';
|
|
3
3
|
import { ActionType } from '../../../actionType';
|
|
4
4
|
import { IAcceptedTicketOfferWithoutDetail, IObjectWithoutDetail } from '../../../assetTransaction/reserve';
|
|
@@ -18,7 +18,7 @@ export interface IResult extends IResultAsAggregateOffer {
|
|
|
18
18
|
}
|
|
19
19
|
export type IAcceptedOfferWithoutDetail = IAcceptedTicketOfferWithoutDetail;
|
|
20
20
|
export { IObjectWithoutDetail };
|
|
21
|
-
export type ICOAPendingTransaction = Pick<
|
|
21
|
+
export type ICOAPendingTransaction = Pick<COAFactory.reserve.IDelTmpReserveArgs, 'theaterCode' | 'dateJouei' | 'titleCode' | 'titleBranchNum' | 'timeBegin' | 'tmpReserveNum'> & {
|
|
22
22
|
transactionNumber: string;
|
|
23
23
|
typeOf: AssetTransactionType.COAReserveTransaction;
|
|
24
24
|
};
|
package/lib/creativeWork.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import type { COAFactory } from '@coasystems/factory';
|
|
2
2
|
import { CreativeWorkType } from './creativeWorkType';
|
|
3
3
|
import { IPropertyValue } from './propertyValue';
|
|
4
4
|
import { IThing } from './thing';
|
|
5
|
-
export type IContentRating =
|
|
5
|
+
export type IContentRating = COAFactory.master.IKubunNameResult | string;
|
|
6
6
|
/**
|
|
7
7
|
* 作品
|
|
8
8
|
* {@link https://schema.org/CreativeWork}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import type { COAFactory } from '@coasystems/factory';
|
|
2
2
|
import * as EventFactory from '../event';
|
|
3
3
|
import { IEvent as IEventSeries, IUnacceptedPaymentMethodType } from '../event/screeningEventSeries';
|
|
4
4
|
import { EventType } from '../eventType';
|
|
@@ -106,8 +106,8 @@ export type IOffer4COA = Pick<IOffer, 'typeOf' | 'eligibleQuantity'> & {
|
|
|
106
106
|
unacceptedPaymentMethod?: never;
|
|
107
107
|
identifier?: never;
|
|
108
108
|
};
|
|
109
|
-
export type ICOAKubun =
|
|
110
|
-
export type ICOAInfo = Pick<
|
|
109
|
+
export type ICOAKubun = COAFactory.master.IKubunNameResult;
|
|
110
|
+
export type ICOAInfo = Pick<COAFactory.master.IScheduleResult, 'dateJouei' | 'titleCode' | 'titleBranchNum' | 'timeBegin' | 'timeEnd' | 'screenCode' | 'trailerTime' | 'nameServiceDay' | 'availableNum' | 'rsvStartDate' | 'rsvEndDate' | 'flgEarlyBooking'> & {
|
|
111
111
|
theaterCode: string;
|
|
112
112
|
/**
|
|
113
113
|
* サービス区分
|
|
@@ -122,7 +122,7 @@ export type ICOAInfo = Pick<COA.factory.master.IScheduleResult, 'dateJouei' | 't
|
|
|
122
122
|
/**
|
|
123
123
|
* COA券種情報
|
|
124
124
|
*/
|
|
125
|
-
export type ICOAOffer =
|
|
125
|
+
export type ICOAOffer = COAFactory.reserve.IUpdReserveTicket & {
|
|
126
126
|
/**
|
|
127
127
|
* チケット名
|
|
128
128
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import type { COAFactory } from '@coasystems/factory';
|
|
2
2
|
import { ICreativeWork as IMovie } from '../creativeWork/movie';
|
|
3
3
|
import * as EventFactory from '../event';
|
|
4
4
|
import { EventType } from '../eventType';
|
|
@@ -67,8 +67,8 @@ export interface IOrganizer {
|
|
|
67
67
|
*/
|
|
68
68
|
id: string;
|
|
69
69
|
}
|
|
70
|
-
export type ICOAKubun =
|
|
71
|
-
export type ICOAInfo = Pick<
|
|
70
|
+
export type ICOAKubun = COAFactory.master.IKubunNameResult;
|
|
71
|
+
export type ICOAInfo = Pick<COAFactory.master.ITitleResult, 'dateMgtkBegin' | 'dateMvtkBegin' | 'flgMgtkUse' | 'flgMvtkUse' | 'flgNotDiscount' | 'titleBranchNum'> & {
|
|
72
72
|
/**
|
|
73
73
|
* 映倫区分
|
|
74
74
|
*/
|
package/lib/index.d.ts
CHANGED
|
@@ -81,7 +81,6 @@ import * as MonetaryAmountFactory from './monetaryAmount';
|
|
|
81
81
|
import * as MovieTicketTypeFactory from './movieTicketType';
|
|
82
82
|
import { IMultilingualString } from './multilingualString';
|
|
83
83
|
import * as OfferFactory from './offer';
|
|
84
|
-
import * as AcceptedPaymentMethodOfferFactory from './offer/acceptedPaymentMethod';
|
|
85
84
|
import * as AggregateOfferFactory from './offer/aggregateOffer';
|
|
86
85
|
import * as EventOfferFactory from './offer/eventOffer';
|
|
87
86
|
import * as ProductOfferFactory from './offer/productOffer';
|
|
@@ -230,7 +229,6 @@ import { TransactionType } from './transactionType';
|
|
|
230
229
|
import { ErrorCode } from './errorCode';
|
|
231
230
|
export * as errors from './errors';
|
|
232
231
|
export import errorCode = ErrorCode;
|
|
233
|
-
export import acceptedPaymentMethodOffer = AcceptedPaymentMethodOfferFactory;
|
|
234
232
|
export import account = AccountFactory;
|
|
235
233
|
export import actionStatusType = ActionStatusType;
|
|
236
234
|
export import actionType = ActionType;
|
package/lib/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paymentStatusType = exports.paymentMethod = exports.ownershipInfo = exports.organizationType = exports.organization = exports.orderStatus = exports.order = exports.offerType = exports.offerItemCondition = exports.offerCatalog = exports.offer = 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.eventOffer = exports.event = exports.customer = exports.creativeWorkType = exports.creativeWork = exports.clientUser = exports.CertificationStatusEnumeration = exports.categoryCode = exports.authorization = exports.aggregateOffer = exports.aggregation = exports.advanceBookingRequirement = exports.additionalProperty = exports.accountType = exports.accountTitle = exports.action = exports.actionType = exports.actionStatusType = exports.account = exports.
|
|
4
|
-
exports.unitPriceOffer = exports.unitCode = exports.assetTransactionType = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = exports.tripType = exports.trip = 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.recipe = exports.quantitativeValue = exports.qualitativeValue = exports.propertyValue = exports.productOffer = exports.product = exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.potentialAction = exports.placeType = exports.place = exports.priceCurrency = exports.personType = exports.person =
|
|
3
|
+
exports.permit = exports.paymentStatusType = exports.paymentMethod = exports.ownershipInfo = exports.organizationType = exports.organization = exports.orderStatus = exports.order = exports.offerType = exports.offerItemCondition = exports.offerCatalog = exports.offer = 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.eventOffer = exports.event = exports.customer = exports.creativeWorkType = exports.creativeWork = exports.clientUser = exports.CertificationStatusEnumeration = exports.categoryCode = exports.authorization = exports.aggregateOffer = exports.aggregation = exports.advanceBookingRequirement = exports.additionalProperty = exports.accountType = exports.accountTitle = exports.action = exports.actionType = exports.actionStatusType = exports.account = exports.errorCode = exports.errors = exports.project = exports.cognito = exports.waiter = void 0;
|
|
4
|
+
exports.unitPriceOffer = exports.unitCode = exports.assetTransactionType = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = exports.tripType = exports.trip = 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.recipe = exports.quantitativeValue = exports.qualitativeValue = exports.propertyValue = exports.productOffer = exports.product = exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.potentialAction = exports.placeType = exports.place = exports.priceCurrency = exports.personType = exports.person = void 0;
|
|
5
5
|
/**
|
|
6
6
|
* factory
|
|
7
7
|
*/
|
|
@@ -81,7 +81,6 @@ var MerchantReturnPolicyFactory = require("./merchantReturnPolicy");
|
|
|
81
81
|
var MonetaryAmountFactory = require("./monetaryAmount");
|
|
82
82
|
var MovieTicketTypeFactory = require("./movieTicketType");
|
|
83
83
|
var OfferFactory = require("./offer");
|
|
84
|
-
var AcceptedPaymentMethodOfferFactory = require("./offer/acceptedPaymentMethod");
|
|
85
84
|
var AggregateOfferFactory = require("./offer/aggregateOffer");
|
|
86
85
|
var EventOfferFactory = require("./offer/eventOffer");
|
|
87
86
|
var ProductOfferFactory = require("./offer/productOffer");
|
|
@@ -212,7 +211,6 @@ var errorCode_1 = require("./errorCode");
|
|
|
212
211
|
exports.errors = require("./errors");
|
|
213
212
|
// export import errors = errors;
|
|
214
213
|
exports.errorCode = errorCode_1.ErrorCode;
|
|
215
|
-
exports.acceptedPaymentMethodOffer = AcceptedPaymentMethodOfferFactory;
|
|
216
214
|
exports.account = AccountFactory;
|
|
217
215
|
exports.actionStatusType = actionStatusType_1.ActionStatusType;
|
|
218
216
|
exports.actionType = actionType_1.ActionType;
|
package/lib/order.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import type { COAFactory } from '@coasystems/factory';
|
|
2
2
|
import { IParticipantAsPerson, IParticipantAsProject, IParticipantAsWebApplication } from './action';
|
|
3
3
|
import { ICreativeWork as IWebApplication } from './creativeWork/softwareApplication/webApplication';
|
|
4
4
|
import { ICustomer as ICustomerOrganization } from './customer';
|
|
@@ -128,7 +128,7 @@ export type ICOAEventAsReservationFor = Omit<EventReservationFactory.IReservatio
|
|
|
128
128
|
/**
|
|
129
129
|
* COA券種情報
|
|
130
130
|
*/
|
|
131
|
-
export type ICOATicketInfoWithDetails =
|
|
131
|
+
export type ICOATicketInfoWithDetails = COAFactory.reserve.IUpdReserveTicket & {
|
|
132
132
|
/**
|
|
133
133
|
* チケット名
|
|
134
134
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import type { COAFactory } from '@coasystems/factory';
|
|
2
2
|
import * as RecipeFactory from '../recipe';
|
|
3
|
-
export type IUpdTmpReserveSeatArgs =
|
|
4
|
-
export type IUpdTmpReserveSeatResult =
|
|
3
|
+
export type IUpdTmpReserveSeatArgs = COAFactory.reserve.IUpdTmpReserveSeatArgs;
|
|
4
|
+
export type IUpdTmpReserveSeatResult = COAFactory.reserve.IUpdTmpReserveSeatResult;
|
|
5
5
|
export interface IDirectionUpdTmpReserveSeat extends RecipeFactory.IHowToDirection {
|
|
6
6
|
beforeMedia?: IUpdTmpReserveSeatArgs;
|
|
7
7
|
afterMedia?: IUpdTmpReserveSeatResult;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { GMOFactory } from '@gmopg/factory';
|
|
2
2
|
import * as RecipeFactory from '../recipe';
|
|
3
|
-
export type IEntryTranArgs =
|
|
4
|
-
export type IEntryTranResult =
|
|
5
|
-
export type IExecTranArgs =
|
|
6
|
-
export type IExecTranResult =
|
|
3
|
+
export type IEntryTranArgs = GMOFactory.service.credit.IEntryTranArgs;
|
|
4
|
+
export type IEntryTranResult = GMOFactory.service.credit.IEntryTranResult;
|
|
5
|
+
export type IExecTranArgs = GMOFactory.service.credit.IExecTranArgs;
|
|
6
|
+
export type IExecTranResult = GMOFactory.service.credit.IExecTranResult;
|
|
7
7
|
export interface IDirectionEntryTran extends RecipeFactory.IHowToDirection {
|
|
8
8
|
beforeMedia?: IEntryTranArgs;
|
|
9
9
|
afterMedia?: IEntryTranResult;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { GMOFactory } from '@gmopg/factory';
|
|
2
2
|
import * as RecipeFactory from '../recipe';
|
|
3
|
-
export type ISecureTran2Args =
|
|
4
|
-
export type ISecureTran2Result =
|
|
3
|
+
export type ISecureTran2Args = GMOFactory.service.credit.ISecureTran2Args;
|
|
4
|
+
export type ISecureTran2Result = GMOFactory.service.credit.ISecureTran2Result;
|
|
5
5
|
export interface IDirectionSecureTran2 extends RecipeFactory.IHowToDirection {
|
|
6
6
|
beforeMedia?: ISecureTran2Args;
|
|
7
7
|
afterMedia?: ISecureTran2Result;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import type { COAFactory } from '@coasystems/factory';
|
|
2
2
|
import * as RecipeFactory from '../recipe';
|
|
3
3
|
export interface IResultAsError {
|
|
4
4
|
name: string;
|
|
5
5
|
message: string;
|
|
6
6
|
}
|
|
7
|
-
export type IDelTmpReserveArgs =
|
|
7
|
+
export type IDelTmpReserveArgs = COAFactory.reserve.IDelTmpReserveArgs;
|
|
8
8
|
export type IDelTmpReserveResult = IResultAsError;
|
|
9
9
|
export interface IDirectionDelReserve extends RecipeFactory.IHowToDirection {
|
|
10
10
|
beforeMedia?: IDelTmpReserveArgs;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import type { COAFactory } from '@coasystems/factory';
|
|
2
2
|
import * as RecipeFactory from '../recipe';
|
|
3
|
-
export type IStateReserveArgs =
|
|
4
|
-
export type IStateReserveResult =
|
|
5
|
-
export type IUpdReserveArgs =
|
|
6
|
-
export type IUpdReserveResult =
|
|
3
|
+
export type IStateReserveArgs = COAFactory.reserve.IStateReserveArgs;
|
|
4
|
+
export type IStateReserveResult = COAFactory.reserve.IStateReserveResult;
|
|
5
|
+
export type IUpdReserveArgs = COAFactory.reserve.IUpdReserveArgs;
|
|
6
|
+
export type IUpdReserveResult = COAFactory.reserve.IUpdReserveResult;
|
|
7
7
|
export interface IDirectionStateReserve extends RecipeFactory.IHowToDirection {
|
|
8
8
|
beforeMedia?: IStateReserveArgs;
|
|
9
9
|
afterMedia?: IStateReserveResult;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { GMOFactory } from '@gmopg/factory';
|
|
2
2
|
import * as RecipeFactory from '../recipe';
|
|
3
|
-
export type IOptionalSiteArgs =
|
|
4
|
-
export type ISearchTradeArgs =
|
|
5
|
-
export type ISearchTradeResult =
|
|
6
|
-
export type IAlterTranArgs =
|
|
7
|
-
export type IAlterTranResult =
|
|
3
|
+
export type IOptionalSiteArgs = GMOFactory.service.credit.IOptionalSiteArgs;
|
|
4
|
+
export type ISearchTradeArgs = GMOFactory.service.credit.ISearchTradeArgs & IOptionalSiteArgs;
|
|
5
|
+
export type ISearchTradeResult = GMOFactory.service.credit.ISearchTradeResult;
|
|
6
|
+
export type IAlterTranArgs = GMOFactory.service.credit.IAlterTranArgs & IOptionalSiteArgs;
|
|
7
|
+
export type IAlterTranResult = GMOFactory.service.credit.IAlterTranResult;
|
|
8
8
|
export interface IDirectionSearchTrade extends RecipeFactory.IHowToDirection {
|
|
9
9
|
beforeMedia?: ISearchTradeArgs;
|
|
10
10
|
afterMedia?: ISearchTradeResult;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { GMOFactory } from '@gmopg/factory';
|
|
2
2
|
import * as RecipeFactory from '../recipe';
|
|
3
|
-
export type IEntryTranArgs =
|
|
4
|
-
export type IEntryTranResult =
|
|
5
|
-
export type IExecTranArgs =
|
|
6
|
-
export type IExecTranResult =
|
|
7
|
-
export type IExecTran3dsArgs =
|
|
8
|
-
export type IExecTran3dsResult =
|
|
3
|
+
export type IEntryTranArgs = GMOFactory.service.credit.IEntryTranArgs;
|
|
4
|
+
export type IEntryTranResult = GMOFactory.service.credit.IEntryTranResult;
|
|
5
|
+
export type IExecTranArgs = GMOFactory.service.credit.IExecTranArgs;
|
|
6
|
+
export type IExecTranResult = GMOFactory.service.credit.IExecTranResult;
|
|
7
|
+
export type IExecTran3dsArgs = GMOFactory.service.credit.IExecTran3dsArgs;
|
|
8
|
+
export type IExecTran3dsResult = GMOFactory.service.credit.IExecTran3dsResult;
|
|
9
9
|
export interface IDirectionEntryTran extends RecipeFactory.IHowToDirection {
|
|
10
10
|
beforeMedia?: IEntryTranArgs;
|
|
11
11
|
afterMedia?: IEntryTranResult;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { GMOFactory } from '@gmopg/factory';
|
|
2
2
|
import * as RecipeFactory from '../recipe';
|
|
3
3
|
export interface IResultAsError {
|
|
4
4
|
name: string;
|
|
5
5
|
message: string;
|
|
6
6
|
}
|
|
7
|
-
export type IOptionalSiteArgs =
|
|
8
|
-
export type ISearchTradeArgs =
|
|
9
|
-
export type ISearchTradeResult =
|
|
10
|
-
export type IAlterTranArgs =
|
|
11
|
-
export type IAlterTranResult =
|
|
7
|
+
export type IOptionalSiteArgs = GMOFactory.service.credit.IOptionalSiteArgs;
|
|
8
|
+
export type ISearchTradeArgs = GMOFactory.service.credit.ISearchTradeArgs & IOptionalSiteArgs;
|
|
9
|
+
export type ISearchTradeResult = GMOFactory.service.credit.ISearchTradeResult | IResultAsError;
|
|
10
|
+
export type IAlterTranArgs = GMOFactory.service.credit.IAlterTranArgs & IOptionalSiteArgs;
|
|
11
|
+
export type IAlterTranResult = GMOFactory.service.credit.IAlterTranResult | IResultAsError;
|
|
12
12
|
export interface IDirectionSearchTrade extends RecipeFactory.IHowToDirection {
|
|
13
13
|
beforeMedia?: ISearchTradeArgs;
|
|
14
14
|
afterMedia?: ISearchTradeResult;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import type { COAFactory } from '@coasystems/factory';
|
|
2
2
|
import * as RecipeFactory from '../recipe';
|
|
3
|
-
export type IStateReserveArgs =
|
|
4
|
-
export type IStateReserveResult =
|
|
5
|
-
export type IDelReserveArgs =
|
|
3
|
+
export type IStateReserveArgs = COAFactory.reserve.IStateReserveArgs;
|
|
4
|
+
export type IStateReserveResult = COAFactory.reserve.IStateReserveResult;
|
|
5
|
+
export type IDelReserveArgs = COAFactory.reserve.IDelReserveArgs;
|
|
6
6
|
export interface IDirectionStateReserve extends RecipeFactory.IHowToDirection {
|
|
7
7
|
beforeMedia?: IStateReserveArgs;
|
|
8
8
|
afterMedia?: IStateReserveResult;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chevre/factory",
|
|
3
|
-
"version": "6.2.0-alpha.
|
|
3
|
+
"version": "6.2.0-alpha.6",
|
|
4
4
|
"description": "Chevre Factory Library for Javascript",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@aws-sdk/client-cognito-identity-provider": "3.438.0",
|
|
46
|
-
"@
|
|
47
|
-
"@
|
|
46
|
+
"@coasystems/factory": "1.0.0-alpha.0",
|
|
47
|
+
"@gmopg/factory": "1.0.0-alpha.0",
|
|
48
48
|
"@surfrock/factory": "1.0.0-alpha.1",
|
|
49
49
|
"@waiter/factory": "2.2.0",
|
|
50
50
|
"setprototypeof": "1.2.0"
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { EventType } from '../eventType';
|
|
2
|
-
import { IOffer } from '../offer';
|
|
3
|
-
import { OfferType } from '../offerType';
|
|
4
|
-
import { OrganizationType } from '../organizationType';
|
|
5
|
-
import { PaymentServiceType } from '../service/paymentService';
|
|
6
|
-
import { SortType } from '../sortType';
|
|
7
|
-
interface ISeller {
|
|
8
|
-
id: string;
|
|
9
|
-
typeOf: OrganizationType.Corporation;
|
|
10
|
-
}
|
|
11
|
-
interface IAcceptedPaymentMethod {
|
|
12
|
-
typeOf: PaymentServiceType.CreditCard | PaymentServiceType.MovieTicket;
|
|
13
|
-
/**
|
|
14
|
-
* 決済サービスID
|
|
15
|
-
*/
|
|
16
|
-
id: string;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* 対応決済方法オファー
|
|
20
|
-
*/
|
|
21
|
-
interface IAcceptedPaymentMethodOffer extends Pick<IOffer, 'typeOf' | 'validFrom' | 'validThrough'> {
|
|
22
|
-
project: {
|
|
23
|
-
id: string;
|
|
24
|
-
typeOf: OrganizationType.Project;
|
|
25
|
-
};
|
|
26
|
-
seller: ISeller;
|
|
27
|
-
typeOf: OfferType.Offer;
|
|
28
|
-
/**
|
|
29
|
-
* いつから承認可能か
|
|
30
|
-
*/
|
|
31
|
-
validFrom: Date;
|
|
32
|
-
/**
|
|
33
|
-
* いつまで承認可能か
|
|
34
|
-
*/
|
|
35
|
-
validThrough: Date;
|
|
36
|
-
id: string;
|
|
37
|
-
/**
|
|
38
|
-
* オファーコード
|
|
39
|
-
* 提供リソースID内でユニーク必須
|
|
40
|
-
*/
|
|
41
|
-
identifier: string;
|
|
42
|
-
/**
|
|
43
|
-
* オファーの提供リソース
|
|
44
|
-
*/
|
|
45
|
-
itemOffered: {
|
|
46
|
-
/**
|
|
47
|
-
* リソースID
|
|
48
|
-
*/
|
|
49
|
-
id: string;
|
|
50
|
-
typeOf: EventType.ScreeningEventSeries;
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* 対応決済方法
|
|
54
|
-
*/
|
|
55
|
-
acceptedPaymentMethod: IAcceptedPaymentMethod;
|
|
56
|
-
}
|
|
57
|
-
interface ISearchConditions {
|
|
58
|
-
limit?: number;
|
|
59
|
-
page?: number;
|
|
60
|
-
sort?: {
|
|
61
|
-
validFrom?: SortType;
|
|
62
|
-
};
|
|
63
|
-
project?: {
|
|
64
|
-
id?: {
|
|
65
|
-
$eq?: string;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
id?: {
|
|
69
|
-
$eq?: string;
|
|
70
|
-
$in?: string[];
|
|
71
|
-
};
|
|
72
|
-
/**
|
|
73
|
-
* オファーコード
|
|
74
|
-
*/
|
|
75
|
-
identifier?: {
|
|
76
|
-
$eq?: string;
|
|
77
|
-
$in?: string[];
|
|
78
|
-
};
|
|
79
|
-
itemOffered?: {
|
|
80
|
-
/**
|
|
81
|
-
* 提供リソースID
|
|
82
|
-
*/
|
|
83
|
-
id?: {
|
|
84
|
-
$eq?: string;
|
|
85
|
-
$in?: string[];
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
acceptedPaymentMethod?: {
|
|
89
|
-
/**
|
|
90
|
-
* 決済サービスID
|
|
91
|
-
*/
|
|
92
|
-
id?: {
|
|
93
|
-
$eq?: string;
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
seller?: {
|
|
97
|
-
/**
|
|
98
|
-
* 提供販売者ID
|
|
99
|
-
*/
|
|
100
|
-
id?: {
|
|
101
|
-
$eq?: string;
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
validFrom?: {
|
|
105
|
-
$lte?: Date;
|
|
106
|
-
};
|
|
107
|
-
validThrough?: {
|
|
108
|
-
$gte?: Date;
|
|
109
|
-
};
|
|
110
|
-
}
|
|
111
|
-
export { IAcceptedPaymentMethodOffer, ISearchConditions };
|