@chevre/factory 6.2.0-alpha.4 → 6.2.0-alpha.5
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/order.d.ts +2 -2
- package/lib/recipe/acceptCOAOffer.d.ts +3 -3
- package/lib/recipe/cancelPendingCOAReserve.d.ts +2 -2
- package/lib/recipe/confirmCOAReserve.d.ts +5 -5
- package/lib/recipe/returnCOAReserve.d.ts +4 -4
- package/package.json +2 -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/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,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,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.5",
|
|
4
4
|
"description": "Chevre Factory Library for Javascript",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@aws-sdk/client-cognito-identity-provider": "3.438.0",
|
|
46
|
-
"@
|
|
46
|
+
"@coasystems/factory": "1.0.0-alpha.0",
|
|
47
47
|
"@motionpicture/gmo-service": "5.3.0",
|
|
48
48
|
"@surfrock/factory": "1.0.0-alpha.1",
|
|
49
49
|
"@waiter/factory": "2.2.0",
|