@cinerino/sdk 5.18.0-alpha.13 → 5.18.0-alpha.15
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/example/playground/public/lib/bundle.js +68 -21
- package/example/src/chevre/searchMessages.ts +34 -0
- package/example/src/transaction/processPlaceOrderCOAEventByCreditCard.ts +279 -0
- package/lib/abstract/chevreAdmin/comment.d.ts +1 -1
- package/lib/abstract/chevreAdmin/message.d.ts +60 -0
- package/lib/abstract/chevreAdmin/message.js +83 -0
- package/lib/abstract/chevreAdmin.d.ts +9 -0
- package/lib/abstract/chevreAdmin.js +20 -0
- package/lib/abstract/chevreTxn/transaction/placeOrder/factory.d.ts +3 -5
- package/lib/abstract/cinerino/admin/event.d.ts +5 -1
- package/lib/abstract/cinerino/service/transaction/placeOrder4sskts.d.ts +3 -20
- package/lib/bundle.js +396 -291
- package/package.json +2 -2
|
@@ -37,15 +37,14 @@ export interface IStartParams {
|
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
export declare type IStartPlaceOrderResult = Pick<factory.transaction.ITransaction<factory.transactionType.PlaceOrder>, 'expires' | 'startDate' | 'id'>;
|
|
40
|
-
declare type IAuthorizeCOAEventServiceActionObject = factory.action.authorize.offer.eventService.IObject<factory.service.webAPI.Identifier.COA>;
|
|
41
40
|
declare type IAuthorizeCOAEventServiceActionResult = factory.action.authorize.offer.eventService.IResult<factory.service.webAPI.Identifier.COA>;
|
|
42
|
-
declare type
|
|
43
|
-
declare type IOptimizedAuthorizeCOAEventServiceActionResult = Pick<IAuthorizeCOAEventServiceActionResult, 'price'
|
|
41
|
+
declare type ICOAResponseBody = factory.action.authorize.offer.eventService.IResponseBody<factory.service.webAPI.Identifier.COA>;
|
|
42
|
+
declare type IOptimizedAuthorizeCOAEventServiceActionResult = Pick<IAuthorizeCOAEventServiceActionResult, 'price'> & {
|
|
44
43
|
/**
|
|
45
44
|
* COA仮予約レスポンス
|
|
46
45
|
* tmpReserveNum: 仮予約番号
|
|
47
46
|
*/
|
|
48
|
-
responseBody: Pick<
|
|
47
|
+
responseBody: Pick<ICOAResponseBody, 'tmpReserveNum'>;
|
|
49
48
|
};
|
|
50
49
|
/**
|
|
51
50
|
* COA興行オファー承認レスポンス
|
|
@@ -55,7 +54,6 @@ export interface IAuthorizeCOAEventServiceResult {
|
|
|
55
54
|
* 承認アクションID
|
|
56
55
|
*/
|
|
57
56
|
id: string;
|
|
58
|
-
object: Pick<IAuthorizeCOAEventServiceActionObject, 'typeOf' | 'acceptedOffer'>;
|
|
59
57
|
result: IOptimizedAuthorizeCOAEventServiceActionResult;
|
|
60
58
|
}
|
|
61
59
|
declare type IAuthorizeEventServiceAction = factory.action.authorize.offer.eventService.IAction<factory.service.webAPI.Identifier.Chevre>;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import * as factory from '../../factory';
|
|
2
2
|
import { Service } from '../../service';
|
|
3
|
+
declare type ISendEmailMessageOnEventUpdated = Pick<factory.action.transfer.send.message.email.IAttributes, 'purpose' | 'recipient'> & {
|
|
4
|
+
object: factory.action.transfer.send.message.email.IObjectAsEmailMessage;
|
|
5
|
+
};
|
|
3
6
|
/**
|
|
4
7
|
* イベントサービス
|
|
5
8
|
*/
|
|
@@ -23,7 +26,7 @@ export declare class EventService extends Service {
|
|
|
23
26
|
id: string;
|
|
24
27
|
eventStatus: factory.eventStatusType;
|
|
25
28
|
onUpdated?: {
|
|
26
|
-
sendEmailMessage?:
|
|
29
|
+
sendEmailMessage?: ISendEmailMessageOnEventUpdated[];
|
|
27
30
|
};
|
|
28
31
|
}): Promise<void>;
|
|
29
32
|
/**
|
|
@@ -35,3 +38,4 @@ export declare class EventService extends Service {
|
|
|
35
38
|
*/
|
|
36
39
|
params: factory.event.ICreateParams<factory.eventType.ScreeningEventSeries>[]): Promise<void>;
|
|
37
40
|
}
|
|
41
|
+
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IAuthorizeCOAEventServiceResult } from '../../../chevreTxn/transaction/placeOrder/factory';
|
|
1
2
|
import * as factory from '../../../factory';
|
|
2
3
|
import { IAdditionalOptions, IOptions } from '../../../service';
|
|
3
4
|
import { PlaceOrderTransactionService } from './placeOrder';
|
|
@@ -7,24 +8,6 @@ interface IAppliesToSurfrock {
|
|
|
7
8
|
typeOf: string;
|
|
8
9
|
};
|
|
9
10
|
}
|
|
10
|
-
interface IOptimizedAuthorizeCOAEventServiceResult {
|
|
11
|
-
/**
|
|
12
|
-
* 承認アクションID
|
|
13
|
-
*/
|
|
14
|
-
id: string;
|
|
15
|
-
result: {
|
|
16
|
-
price?: number;
|
|
17
|
-
/**
|
|
18
|
-
* COA仮予約レスポンス
|
|
19
|
-
*/
|
|
20
|
-
responseBody: {
|
|
21
|
-
/**
|
|
22
|
-
* 仮予約番号
|
|
23
|
-
*/
|
|
24
|
-
tmpReserveNum: string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
11
|
/**
|
|
29
12
|
* 注文取引サービス(sskts専用)
|
|
30
13
|
*/
|
|
@@ -51,7 +34,7 @@ export declare class PlaceOrderTransaction4ssktsService extends PlaceOrderTransa
|
|
|
51
34
|
appliesToSurfrock?: IAppliesToSurfrock;
|
|
52
35
|
};
|
|
53
36
|
purpose: factory.action.authorize.offer.eventService.IPurpose;
|
|
54
|
-
}): Promise<
|
|
37
|
+
}): Promise<IAuthorizeCOAEventServiceResult>;
|
|
55
38
|
/**
|
|
56
39
|
* COA興行オファー承認取消
|
|
57
40
|
*/
|
|
@@ -88,6 +71,6 @@ export declare class PlaceOrderTransaction4ssktsService extends PlaceOrderTransa
|
|
|
88
71
|
appliesToSurfrock?: IAppliesToSurfrock;
|
|
89
72
|
};
|
|
90
73
|
purpose: factory.action.authorize.offer.eventService.IPurpose;
|
|
91
|
-
}): Promise<
|
|
74
|
+
}): Promise<IAuthorizeCOAEventServiceResult>;
|
|
92
75
|
}
|
|
93
76
|
export {};
|