@chevre/factory 4.369.0-alpha.3 → 4.369.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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { factory as surfrockFactory } from '@surfrock/sdk';
|
|
2
2
|
import * as ActionFactory from '../../../action';
|
|
3
3
|
import { OrganizationType } from '../../../organizationType';
|
|
4
4
|
import { IMovieTicketPaymentCard, IMovieTicketServiceOutput } from '../../../paymentMethod/paymentCard/movieTicket';
|
|
@@ -6,8 +6,8 @@ import { TransactionType } from '../../../transactionType';
|
|
|
6
6
|
import * as CheckActionFactory from '../../check';
|
|
7
7
|
import * as PayActionFactory from '../../trade/pay';
|
|
8
8
|
export type IAgent = ActionFactory.IParticipantAsWebApplication | ActionFactory.IParticipantAsPerson;
|
|
9
|
-
export type IPurchaseNumberAuthIn =
|
|
10
|
-
export type IPurchaseNumberAuthResult =
|
|
9
|
+
export type IPurchaseNumberAuthIn = surfrockFactory.service.auth.purchaseNumberAuth.IPurchaseNumberAuthIn;
|
|
10
|
+
export type IPurchaseNumberAuthResult = surfrockFactory.service.auth.purchaseNumberAuth.IPurchaseNumberAuthResult;
|
|
11
11
|
/**
|
|
12
12
|
* 認証対象のmovieTicket
|
|
13
13
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as GMO from '@motionpicture/gmo-service';
|
|
2
|
-
import
|
|
2
|
+
import { factory as surfrockFactory } from '@surfrock/sdk';
|
|
3
3
|
import * as ActionFactory from '../../action';
|
|
4
4
|
import { ActionType } from '../../actionType';
|
|
5
5
|
import { TransactionType } from '../../transactionType';
|
|
@@ -17,10 +17,10 @@ export interface ISeatInfoSyncResultAsError {
|
|
|
17
17
|
name: string;
|
|
18
18
|
message: string;
|
|
19
19
|
}
|
|
20
|
-
export type ISeatInfoSyncIn =
|
|
21
|
-
export type ISeatInfoSyncResult =
|
|
22
|
-
export type ISeatInfoSyncCancelIn =
|
|
23
|
-
export type ISeatInfoSyncCancelResult =
|
|
20
|
+
export type ISeatInfoSyncIn = surfrockFactory.service.seat.seatInfoSync.ISeatInfoSyncIn;
|
|
21
|
+
export type ISeatInfoSyncResult = surfrockFactory.service.seat.seatInfoSync.ISeatInfoSyncResult | ISeatInfoSyncResultAsError;
|
|
22
|
+
export type ISeatInfoSyncCancelIn = surfrockFactory.service.seat.seatInfoSyncCancel.ISeatInfoSyncCancelIn;
|
|
23
|
+
export type ISeatInfoSyncCancelResult = surfrockFactory.service.seat.seatInfoSyncCancel.ISeatInfoSyncCancelResult | ISeatInfoSyncResultAsError;
|
|
24
24
|
export interface IResult {
|
|
25
25
|
alterTranResult?: IAlterTranResult[];
|
|
26
26
|
seatInfoSyncIn?: ISeatInfoSyncIn;
|
package/lib/authorization.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IMemberRole } from './iam';
|
|
1
2
|
import { IOrder } from './order';
|
|
2
3
|
import { IOwnershipInfo, IPermitAsGood, IPermitIssuedThrough, IReservation } from './ownershipInfo';
|
|
3
4
|
import { IProject } from './project';
|
|
@@ -10,7 +11,15 @@ export type IPermitAsObjectTypeOfGood = Pick<IPermitAsGood, 'identifier' | 'type
|
|
|
10
11
|
export type IPermitOwnershipInfoAsObject = Pick<IOwnershipInfo<IPermitAsObjectTypeOfGood>, 'id' | 'identifier' | 'typeOf' | 'typeOfGood'>;
|
|
11
12
|
export type IReservationOwnershipInfoAsObject = Pick<IOwnershipInfo<IReservation>, 'id' | 'identifier' | 'typeOf' | 'typeOfGood'>;
|
|
12
13
|
export type IOwnershipInfoAsObject = IPermitOwnershipInfoAsObject | IReservationOwnershipInfoAsObject;
|
|
13
|
-
export type
|
|
14
|
+
export type IRoleAsObject = Pick<IMemberRole, 'roleName' | 'typeOf'>;
|
|
15
|
+
export type IObject = IOrderAsObject | IOwnershipInfoAsObject | IRoleAsObject[];
|
|
16
|
+
export interface IAudience {
|
|
17
|
+
/**
|
|
18
|
+
* クライアントID
|
|
19
|
+
*/
|
|
20
|
+
id: string;
|
|
21
|
+
typeOf: string;
|
|
22
|
+
}
|
|
14
23
|
/**
|
|
15
24
|
* 承認
|
|
16
25
|
*/
|
|
@@ -33,6 +42,7 @@ export interface IAuthorization {
|
|
|
33
42
|
* 有効期間
|
|
34
43
|
*/
|
|
35
44
|
validUntil: Date;
|
|
45
|
+
audience?: IAudience;
|
|
36
46
|
}
|
|
37
47
|
/**
|
|
38
48
|
* ソート条件
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chevre/factory",
|
|
3
|
-
"version": "4.369.0-alpha.
|
|
3
|
+
"version": "4.369.0-alpha.5",
|
|
4
4
|
"description": "Chevre Factory Library for Javascript",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@aws-sdk/client-cognito-identity-provider": "3.438.0",
|
|
57
57
|
"@motionpicture/coa-service": "9.4.0",
|
|
58
58
|
"@motionpicture/gmo-service": "5.3.0",
|
|
59
|
-
"@surfrock/sdk": "1.3.0-alpha.
|
|
59
|
+
"@surfrock/sdk": "1.3.0-alpha.2",
|
|
60
60
|
"@waiter/factory": "2.2.0",
|
|
61
61
|
"setprototypeof": "1.2.0"
|
|
62
62
|
},
|