@cinerino/sdk 18.3.0-alpha.0 → 18.3.0-alpha.10
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/abstract/chevre/event/factory.d.ts +49 -2
- package/lib/abstract/chevre/event.d.ts +2 -2
- package/lib/abstract/chevre/event.js +4 -3
- package/lib/abstract/chevre.d.ts +0 -18
- package/lib/abstract/chevre.js +0 -18
- package/lib/abstract/chevreAdmin/emailMessage.d.ts +1 -1
- package/lib/abstract/chevreAdmin/order.d.ts +2 -0
- package/lib/abstract/chevreAdmin/order.js +6 -4
- package/lib/abstract/chevreAsset/order/factory.d.ts +2 -1
- package/lib/abstract/chevreAsset/order.d.ts +1 -0
- package/lib/abstract/chevreAsset/order.js +3 -2
- package/lib/abstract/chevreConsole/accountTitle.d.ts +53 -16
- package/lib/abstract/chevreConsole/accountTitle.js +35 -51
- package/lib/abstract/chevreConsole/event.d.ts +0 -11
- package/lib/abstract/chevreConsole/event.js +23 -48
- package/lib/abstract/chevreConsole/eventSeries.d.ts +1 -1
- package/lib/abstract/chevreConsole/eventSeries.js +3 -20
- package/lib/abstract/chevreConsole/memberProgram.d.ts +4 -40
- package/lib/abstract/chevreConsole/memberProgram.js +5 -15
- package/lib/abstract/chevreConsole/message.d.ts +1 -8
- package/lib/abstract/chevreConsole/message.js +1 -1
- package/lib/abstract/chevreConsole/order/factory.d.ts +2 -1
- package/lib/abstract/chevreConsole/product.d.ts +0 -6
- package/lib/abstract/chevreConsole/product.js +0 -28
- package/lib/abstract/chevreConsole/project.d.ts +11 -2
- package/lib/abstract/chevreConsole/project.js +2 -3
- package/lib/abstract/cinerino/service/emailMessage.d.ts +1 -1
- package/lib/abstract/cloud/admin/order.js +4 -2
- package/lib/abstract/cloud/asset/order.js +2 -1
- package/lib/abstract/cloud/search/event.d.ts +2 -20
- package/lib/bundle.js +4 -4
- package/lib/bundle.js.map +4 -4
- package/package.json +2 -2
- package/lib/abstract/chevre/emailMessage.d.ts +0 -24
- package/lib/abstract/chevre/emailMessage.js +0 -27
- package/lib/abstract/chevre/paymentService.d.ts +0 -29
- package/lib/abstract/chevre/paymentService.js +0 -24
|
@@ -8,34 +8,6 @@ const service_1 = require("../service");
|
|
|
8
8
|
* イベントサービス
|
|
9
9
|
*/
|
|
10
10
|
class EventService extends service_1.Service {
|
|
11
|
-
// discontinue(2026-01-30~)
|
|
12
|
-
// /**
|
|
13
|
-
// * 興行イベント複数作成
|
|
14
|
-
// */
|
|
15
|
-
// public async createScreeningEvents(
|
|
16
|
-
// params: factory.event.screeningEvent.ICreateParams[],
|
|
17
|
-
// // add options(2025-08-26~)
|
|
18
|
-
// options: {
|
|
19
|
-
// superEventId: string;
|
|
20
|
-
// locationBranchCode: string;
|
|
21
|
-
// hasTicketedSeat: boolean;
|
|
22
|
-
// }
|
|
23
|
-
// ): Promise<void> {
|
|
24
|
-
// const { superEventId, locationBranchCode, hasTicketedSeat } = options;
|
|
25
|
-
// await this.fetch({
|
|
26
|
-
// uri: '/events',
|
|
27
|
-
// method: 'POST',
|
|
28
|
-
// body: params,
|
|
29
|
-
// qs: {
|
|
30
|
-
// expectsNoContent: '1',
|
|
31
|
-
// typeOf: factory.eventType.ScreeningEvent,
|
|
32
|
-
// superEventId,
|
|
33
|
-
// locationBranchCode,
|
|
34
|
-
// hasTicketedSeat
|
|
35
|
-
// },
|
|
36
|
-
// expectedStatusCodes: [status.NO_CONTENT]
|
|
37
|
-
// });
|
|
38
|
-
// }
|
|
39
11
|
/**
|
|
40
12
|
* 興行イベント複数追加パラメータ検証
|
|
41
13
|
* consoleでのイベント追加時にのみ使用される想定
|
|
@@ -47,12 +19,10 @@ class EventService extends service_1.Service {
|
|
|
47
19
|
method: 'POST',
|
|
48
20
|
body: params,
|
|
49
21
|
qs: {
|
|
50
|
-
expectsNoContent: '1',
|
|
51
22
|
typeOf: factory_1.factory.eventType.ScreeningEvent,
|
|
52
23
|
superEventId,
|
|
53
24
|
locationBranchCode,
|
|
54
25
|
hasTicketedSeat,
|
|
55
|
-
onlyValidate: true
|
|
56
26
|
},
|
|
57
27
|
expectedStatusCodes: [http_status_1.status.NO_CONTENT]
|
|
58
28
|
});
|
|
@@ -73,31 +43,36 @@ class EventService extends service_1.Service {
|
|
|
73
43
|
* イベント取得
|
|
74
44
|
*/
|
|
75
45
|
async findEventById(params) {
|
|
76
|
-
const { id
|
|
46
|
+
const { id } = params;
|
|
77
47
|
return this.fetch({
|
|
78
48
|
uri: `/events/${encodeURIComponent(String(id))}`,
|
|
79
49
|
method: 'GET',
|
|
80
50
|
expectedStatusCodes: [http_status_1.status.OK],
|
|
81
|
-
qs: { typeOf }
|
|
82
51
|
})
|
|
83
52
|
.then(async (response) => response.json());
|
|
84
53
|
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
54
|
+
// migrate to chvevreAdmin.updateEventsByIdentifier(2026-10-12~)
|
|
55
|
+
// /**
|
|
56
|
+
// * 興行イベント編集
|
|
57
|
+
// */
|
|
58
|
+
// public async updateEventById(params: {
|
|
59
|
+
// id: string;
|
|
60
|
+
// attributes: factory.event.screeningEvent.IUpdateByIdParams;
|
|
61
|
+
// options: {
|
|
62
|
+
// disableOverwriteMakesOffer: boolean;
|
|
63
|
+
// };
|
|
64
|
+
// }): Promise<void> {
|
|
65
|
+
// await this.fetch({
|
|
66
|
+
// uri: `/events/${encodeURIComponent(String(params.id))}`,
|
|
67
|
+
// method: 'PUT',
|
|
68
|
+
// body: params.attributes,
|
|
69
|
+
// qs: {
|
|
70
|
+
// typeOf: factory.eventType.ScreeningEvent,
|
|
71
|
+
// disableOverwriteMakesOffer: params.options?.disableOverwriteMakesOffer === true // support disableOverwriteMakesOffer(2025-10-26~)
|
|
72
|
+
// },
|
|
73
|
+
// expectedStatusCodes: [status.NO_CONTENT]
|
|
74
|
+
// });
|
|
75
|
+
// }
|
|
101
76
|
/**
|
|
102
77
|
* イベントのアプリケーションオファー編集
|
|
103
78
|
*/
|
|
@@ -2,35 +2,18 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.EventSeriesService = void 0;
|
|
4
4
|
const http_status_1 = require("http-status");
|
|
5
|
-
const factory_1 = require("../factory");
|
|
6
5
|
const service_1 = require("../service");
|
|
6
|
+
const BASE_URI = '/eventSeries';
|
|
7
7
|
/**
|
|
8
8
|
* 施設コンテンツサービス
|
|
9
9
|
*/
|
|
10
10
|
class EventSeriesService extends service_1.Service {
|
|
11
|
-
// discontinue(2026-10-04~)
|
|
12
|
-
// public async aggregateMaxVersion(params: {
|
|
13
|
-
// workPerformed: {
|
|
14
|
-
// identifier: { $eq: string };
|
|
15
|
-
// };
|
|
16
|
-
// location: {
|
|
17
|
-
// branchCode: { $in: string[] };
|
|
18
|
-
// };
|
|
19
|
-
// }): Promise<{ maxVersion: string }> {
|
|
20
|
-
// return this.fetch({
|
|
21
|
-
// uri: `/events/${factory.eventType.ScreeningEventSeries}/aggregateScreeningEventMaxVersion`,
|
|
22
|
-
// method: 'GET',
|
|
23
|
-
// qs: params,
|
|
24
|
-
// expectedStatusCodes: [status.OK]
|
|
25
|
-
// })
|
|
26
|
-
// .then(async (response) => response.json());
|
|
27
|
-
// }
|
|
28
11
|
/**
|
|
29
12
|
* 施設コンテンツ削除
|
|
30
13
|
*/
|
|
31
|
-
async
|
|
14
|
+
async deleteEventSeriesById(params) {
|
|
32
15
|
await this.fetch({
|
|
33
|
-
uri:
|
|
16
|
+
uri: `${BASE_URI}/${encodeURIComponent(String(params.id))}`,
|
|
34
17
|
method: 'DELETE',
|
|
35
18
|
expectedStatusCodes: [http_status_1.status.NO_CONTENT]
|
|
36
19
|
});
|
|
@@ -1,19 +1,10 @@
|
|
|
1
1
|
import { Service } from '../service';
|
|
2
|
-
interface IMemberProgramTier {
|
|
3
|
-
/**
|
|
4
|
-
* ティアコード
|
|
5
|
-
* プロジェクト内でユニーク必須
|
|
6
|
-
*/
|
|
7
|
-
identifier: string;
|
|
8
|
-
typeOf: 'MemberProgramTier';
|
|
9
|
-
}
|
|
10
2
|
interface IMemberProgram {
|
|
11
3
|
typeOf: 'MemberProgram';
|
|
12
4
|
identifier: string;
|
|
13
5
|
hostingOrganization: {
|
|
14
6
|
identifier: string;
|
|
15
7
|
};
|
|
16
|
-
hasTiers?: IMemberProgramTier[];
|
|
17
8
|
}
|
|
18
9
|
interface ISearchConditions {
|
|
19
10
|
limit?: number;
|
|
@@ -27,51 +18,24 @@ interface ISearchConditions {
|
|
|
27
18
|
$eq?: string;
|
|
28
19
|
};
|
|
29
20
|
}
|
|
30
|
-
interface ISearchTierConditions {
|
|
31
|
-
limit?: number;
|
|
32
|
-
page?: number;
|
|
33
|
-
isTierOf?: {
|
|
34
|
-
hostingOrganization?: {
|
|
35
|
-
id?: {
|
|
36
|
-
$eq?: string;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
identifier?: {
|
|
40
|
-
$eq?: string;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
identifier?: {
|
|
44
|
-
$eq?: string;
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
type IMemberProgramTierAsSearchResult = IMemberProgramTier & {
|
|
48
|
-
isTierOf: {
|
|
49
|
-
identifier: string;
|
|
50
|
-
hostingOrganization: {
|
|
51
|
-
identifier: string;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
21
|
/**
|
|
56
22
|
* メンバープログラムサービス
|
|
57
23
|
*/
|
|
58
24
|
export declare class MemberProgramService extends Service {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
create(params: {
|
|
25
|
+
findMemberPrograms(params: ISearchConditions): Promise<IMemberProgram[]>;
|
|
26
|
+
addMemberProgram(params: {
|
|
62
27
|
identifier: string;
|
|
63
28
|
hostingOrganization: {
|
|
64
29
|
id: string;
|
|
65
30
|
};
|
|
66
31
|
}): Promise<void>;
|
|
67
|
-
|
|
32
|
+
updateMemberProgramByIdentifier(params: {
|
|
68
33
|
identifier: string;
|
|
69
34
|
hostingOrganization: {
|
|
70
35
|
id: string;
|
|
71
36
|
};
|
|
72
|
-
hasTiers?: Pick<IMemberProgramTier, 'identifier'>[];
|
|
73
37
|
}): Promise<void>;
|
|
74
|
-
|
|
38
|
+
deleteMemberProgramByIdentifier(params: {
|
|
75
39
|
identifier: string;
|
|
76
40
|
hostingOrganization: {
|
|
77
41
|
id: string;
|
|
@@ -7,7 +7,7 @@ const service_1 = require("../service");
|
|
|
7
7
|
* メンバープログラムサービス
|
|
8
8
|
*/
|
|
9
9
|
class MemberProgramService extends service_1.Service {
|
|
10
|
-
async
|
|
10
|
+
async findMemberPrograms(params) {
|
|
11
11
|
return this.fetch({
|
|
12
12
|
uri: '/memberPrograms',
|
|
13
13
|
method: 'GET',
|
|
@@ -16,16 +16,7 @@ class MemberProgramService extends service_1.Service {
|
|
|
16
16
|
})
|
|
17
17
|
.then(async (response) => response.json());
|
|
18
18
|
}
|
|
19
|
-
async
|
|
20
|
-
return this.fetch({
|
|
21
|
-
uri: '/memberProgramTiers',
|
|
22
|
-
method: 'GET',
|
|
23
|
-
qs: params,
|
|
24
|
-
expectedStatusCodes: [http_status_1.status.OK]
|
|
25
|
-
})
|
|
26
|
-
.then(async (response) => response.json());
|
|
27
|
-
}
|
|
28
|
-
async create(params) {
|
|
19
|
+
async addMemberProgram(params) {
|
|
29
20
|
await this.fetch({
|
|
30
21
|
uri: '/memberPrograms',
|
|
31
22
|
method: 'POST',
|
|
@@ -33,19 +24,18 @@ class MemberProgramService extends service_1.Service {
|
|
|
33
24
|
expectedStatusCodes: [http_status_1.status.NO_CONTENT]
|
|
34
25
|
});
|
|
35
26
|
}
|
|
36
|
-
async
|
|
37
|
-
const { hostingOrganization
|
|
27
|
+
async updateMemberProgramByIdentifier(params) {
|
|
28
|
+
const { hostingOrganization } = params;
|
|
38
29
|
await this.fetch({
|
|
39
30
|
uri: `/memberPrograms/${encodeURIComponent(String(params.identifier))}`,
|
|
40
31
|
method: 'PUT',
|
|
41
32
|
body: {
|
|
42
33
|
hostingOrganization,
|
|
43
|
-
...(Array.isArray(hasTiers)) ? { hasTiers } : undefined
|
|
44
34
|
},
|
|
45
35
|
expectedStatusCodes: [http_status_1.status.NO_CONTENT]
|
|
46
36
|
});
|
|
47
37
|
}
|
|
48
|
-
async
|
|
38
|
+
async deleteMemberProgramByIdentifier(params) {
|
|
49
39
|
const { hostingOrganization } = params;
|
|
50
40
|
await this.fetch({
|
|
51
41
|
uri: `/memberPrograms/${encodeURIComponent(String(params.identifier))}`,
|
|
@@ -18,9 +18,6 @@ type IEmailMessage = factory.creativeWork.message.email.ICreativeWork & {
|
|
|
18
18
|
interface ISearchConditions {
|
|
19
19
|
limit?: number;
|
|
20
20
|
page?: number;
|
|
21
|
-
sort?: {
|
|
22
|
-
datePublished?: factory.sortType;
|
|
23
|
-
};
|
|
24
21
|
project?: {
|
|
25
22
|
id?: {
|
|
26
23
|
$eq?: string;
|
|
@@ -45,15 +42,11 @@ interface ISearchConditions {
|
|
|
45
42
|
};
|
|
46
43
|
};
|
|
47
44
|
}
|
|
48
|
-
type IKeyOfProjection = keyof IEmailMessage | '_id';
|
|
49
45
|
/**
|
|
50
46
|
* メッセージサービス
|
|
51
47
|
*/
|
|
52
48
|
export declare class MessageService extends Service {
|
|
53
|
-
|
|
54
|
-
inclusion: IKeyOfProjection[];
|
|
55
|
-
exclusion: IKeyOfProjection[];
|
|
56
|
-
}): Promise<(IEmailMessage & {
|
|
49
|
+
findMessages(params: Pick<ISearchConditions, 'about' | 'identifier' | 'limit' | 'mainEntity' | 'page' | 'project' | 'provider'>): Promise<(IEmailMessage & {
|
|
57
50
|
id: string;
|
|
58
51
|
})[]>;
|
|
59
52
|
}
|
|
@@ -4,11 +4,12 @@ type IKeyOfProjection = keyof factory.order.IOrder | '_id';
|
|
|
4
4
|
* 注文検索時projection
|
|
5
5
|
*/
|
|
6
6
|
export type IProjection = Partial<Record<IKeyOfProjection, 1>>;
|
|
7
|
-
export type IItemOfferedMinimized = Pick<factory.acceptedOffer.IAcceptedOffer['itemOffered'], 'id' | 'reservationNumber' | '
|
|
7
|
+
export type IItemOfferedMinimized = Pick<factory.acceptedOffer.IAcceptedOffer['itemOffered'], 'id' | 'reservationNumber' | 'typeOf'> & {
|
|
8
8
|
/**
|
|
9
9
|
* 注文オファー参照結果に含まれるイベント情報は基本的にidのみ
|
|
10
10
|
*/
|
|
11
11
|
reservationFor: Pick<factory.acceptedOffer.IEventAsReservationFor, 'id' | 'typeOf'>;
|
|
12
|
+
reservedTicket: Pick<factory.acceptedOffer.IAcceptedOffer['itemOffered']['reservedTicket'], 'coaReserveAmount' | 'coaTicketInfo' | 'identifier' | 'ticketToken' | 'ticketedSeat' | 'typeOf'>;
|
|
12
13
|
};
|
|
13
14
|
export type IAcceptedOfferMinimized = Pick<factory.acceptedOffer.IAcceptedOffer, 'id' | 'offeredThrough' | 'priceSpecification' | 'serialNumber' | 'typeOf'> & {
|
|
14
15
|
itemOffered: IItemOfferedMinimized;
|
|
@@ -26,12 +26,6 @@ export declare class ProductService extends Service {
|
|
|
26
26
|
createProduct(params: factory.product.ICreateParams): Promise<{
|
|
27
27
|
id: string;
|
|
28
28
|
}>;
|
|
29
|
-
/**
|
|
30
|
-
* プロダクトタイプでなければ作成
|
|
31
|
-
*/
|
|
32
|
-
createIfNotExist(params: factory.product.ICreateParams): Promise<{
|
|
33
|
-
id: string;
|
|
34
|
-
}>;
|
|
35
29
|
findProductById(params: {
|
|
36
30
|
id: string;
|
|
37
31
|
} & {
|
|
@@ -20,34 +20,6 @@ class ProductService extends service_1.Service {
|
|
|
20
20
|
})
|
|
21
21
|
.then(async (response) => response.json());
|
|
22
22
|
}
|
|
23
|
-
/**
|
|
24
|
-
* プロダクトタイプでなければ作成
|
|
25
|
-
*/
|
|
26
|
-
async createIfNotExist(params) {
|
|
27
|
-
return this.fetch({
|
|
28
|
-
uri: BASE_URI,
|
|
29
|
-
method: 'POST',
|
|
30
|
-
body: params,
|
|
31
|
-
qs: { createIfNotExist: true },
|
|
32
|
-
expectedStatusCodes: [http_status_1.status.CREATED]
|
|
33
|
-
})
|
|
34
|
-
.then(async (response) => response.json());
|
|
35
|
-
}
|
|
36
|
-
// migrate to admin service(2025-10-18~)
|
|
37
|
-
// /**
|
|
38
|
-
// * プロダクト検索
|
|
39
|
-
// * 公開属性のみ
|
|
40
|
-
// * @deprecated use admin service
|
|
41
|
-
// */
|
|
42
|
-
// public async findProductsLegacy(params: IFindParams): Promise<IProductAsFindResult[]> {
|
|
43
|
-
// return this.fetch({
|
|
44
|
-
// uri: BASE_URI,
|
|
45
|
-
// method: 'GET',
|
|
46
|
-
// qs: params,
|
|
47
|
-
// expectedStatusCodes: [status.OK]
|
|
48
|
-
// })
|
|
49
|
-
// .then(async (response) => response.json());
|
|
50
|
-
// }
|
|
51
23
|
async findProductById(params) {
|
|
52
24
|
const { id, ...query } = params;
|
|
53
25
|
return this.fetch({
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { factory } from '../factory';
|
|
2
2
|
import { IOptions, Service } from '../service';
|
|
3
|
+
type IUpdateParams = Pick<factory.project.IProject, 'alternateName' | 'logo' | 'hasMerchantReturnPolicy' | 'name'> & {
|
|
4
|
+
id: string;
|
|
5
|
+
settings?: Pick<factory.project.ISettings, 'sendEmailMessage' | 'sendgridApiKey'>;
|
|
6
|
+
};
|
|
3
7
|
/**
|
|
4
8
|
* プロジェクトサービス
|
|
5
9
|
*/
|
|
@@ -8,7 +12,11 @@ export declare class ProjectService extends Service<IOptions> {
|
|
|
8
12
|
/**
|
|
9
13
|
* プロジェクト作成
|
|
10
14
|
*/
|
|
11
|
-
|
|
15
|
+
addProject(params: Pick<factory.project.IProject, 'alternateName' | 'logo' | 'id' | 'name'> & {
|
|
16
|
+
settings?: never;
|
|
17
|
+
}): Promise<{
|
|
18
|
+
id: string;
|
|
19
|
+
}>;
|
|
12
20
|
/**
|
|
13
21
|
* プロジェクト設定検索
|
|
14
22
|
*/
|
|
@@ -18,7 +26,7 @@ export declare class ProjectService extends Service<IOptions> {
|
|
|
18
26
|
/**
|
|
19
27
|
* プロジェクト更新
|
|
20
28
|
*/
|
|
21
|
-
|
|
29
|
+
updateProjectById(params: IUpdateParams): Promise<void>;
|
|
22
30
|
/**
|
|
23
31
|
* プロジェクトリソース削除
|
|
24
32
|
*/
|
|
@@ -26,3 +34,4 @@ export declare class ProjectService extends Service<IOptions> {
|
|
|
26
34
|
id: string;
|
|
27
35
|
}): Promise<void>;
|
|
28
36
|
}
|
|
37
|
+
export {};
|
|
@@ -13,7 +13,7 @@ class ProjectService extends service_1.Service {
|
|
|
13
13
|
/**
|
|
14
14
|
* プロジェクト作成
|
|
15
15
|
*/
|
|
16
|
-
async
|
|
16
|
+
async addProject(params) {
|
|
17
17
|
return this.fetch({
|
|
18
18
|
uri: '/projects',
|
|
19
19
|
method: 'POST',
|
|
@@ -29,7 +29,6 @@ class ProjectService extends service_1.Service {
|
|
|
29
29
|
return this.fetch({
|
|
30
30
|
uri: `/projects/${params.id}/settings`,
|
|
31
31
|
method: 'GET',
|
|
32
|
-
// qs: query,
|
|
33
32
|
expectedStatusCodes: [http_status_1.status.OK]
|
|
34
33
|
})
|
|
35
34
|
.then(async (response) => response.json());
|
|
@@ -37,7 +36,7 @@ class ProjectService extends service_1.Service {
|
|
|
37
36
|
/**
|
|
38
37
|
* プロジェクト更新
|
|
39
38
|
*/
|
|
40
|
-
async
|
|
39
|
+
async updateProjectById(params) {
|
|
41
40
|
const { id, ...body } = params;
|
|
42
41
|
await this.fetch({
|
|
43
42
|
uri: `/projects/${id}`,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { factory } from '../../factory';
|
|
2
2
|
import { IAdditionalOptions, IOptions, ISearchResult, Service } from '../../service';
|
|
3
|
-
export type IEmailMessage = Pick<factory.creativeWork.message.email.ICreativeWork, 'about' | 'id' | 'sender'
|
|
3
|
+
export type IEmailMessage = Pick<factory.creativeWork.message.email.ICreativeWork, 'about' | 'id' | 'sender'>;
|
|
4
4
|
/**
|
|
5
5
|
* Eメールメッセージサービス
|
|
6
6
|
*/
|
|
@@ -69,7 +69,8 @@ class OrderService extends service_1.Service {
|
|
|
69
69
|
page
|
|
70
70
|
}, {
|
|
71
71
|
minimizeReservationFor: true,
|
|
72
|
-
onlyReservedTicket: true
|
|
72
|
+
onlyReservedTicket: true,
|
|
73
|
+
minimizeReservedTicket: true, // 2026-10-23~
|
|
73
74
|
});
|
|
74
75
|
}
|
|
75
76
|
/**
|
|
@@ -96,7 +97,8 @@ class OrderService extends service_1.Service {
|
|
|
96
97
|
});
|
|
97
98
|
return orderService.findAcceptedOffersByOrderNumber({ orderNumber: String(params.orderNumber) }, conditions, {
|
|
98
99
|
minimizeReservationFor: true,
|
|
99
|
-
onlyReservedTicket: true
|
|
100
|
+
onlyReservedTicket: true,
|
|
101
|
+
minimizeReservedTicket: true, // 2026-10-23~
|
|
100
102
|
});
|
|
101
103
|
}
|
|
102
104
|
/**
|
|
@@ -158,7 +158,8 @@ class OrderService extends service_1.Service {
|
|
|
158
158
|
...(typeof page === 'number') ? { page } : undefined
|
|
159
159
|
}, {
|
|
160
160
|
minimizeReservationFor: true, // 2026-09-12~
|
|
161
|
-
onlyReservedTicket: true // 2026-10-08~
|
|
161
|
+
onlyReservedTicket: true, // 2026-10-08~
|
|
162
|
+
minimizeReservedTicket: true, // 2026-10-23~
|
|
162
163
|
});
|
|
163
164
|
}
|
|
164
165
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ISearchOfferCatalogItemAvailabilityResult, ISearchOfferCatalogItemResult, ISeatAsEventOffer,
|
|
1
|
+
import { ISearchOfferCatalogItemAvailabilityResult, ISearchOfferCatalogItemResult, ISeatAsEventOffer, IFindParamsLegacy } from '../../chevre/event/factory';
|
|
2
2
|
import type { ISearchWithReservationForIdResult } from '../../chevreConsole/aggregateReservation';
|
|
3
3
|
import { factory } from '../../factory';
|
|
4
4
|
import { ISearchResult, Service } from '../../service';
|
|
@@ -31,25 +31,7 @@ export declare class EventService extends Service {
|
|
|
31
31
|
/**
|
|
32
32
|
* イベント(公開属性)検索
|
|
33
33
|
*/
|
|
34
|
-
findEvents(params: Pick<
|
|
35
|
-
superEvent?: {
|
|
36
|
-
/**
|
|
37
|
-
* 施設コンテンツID
|
|
38
|
-
* 最大1つ指定可能
|
|
39
|
-
*/
|
|
40
|
-
ids?: string[];
|
|
41
|
-
/**
|
|
42
|
-
* 施設コード
|
|
43
|
-
* 最大1つ指定可能
|
|
44
|
-
*/
|
|
45
|
-
locationBranchCodes?: string[];
|
|
46
|
-
/**
|
|
47
|
-
* コンテンツコード
|
|
48
|
-
* 最大1つ指定可能
|
|
49
|
-
*/
|
|
50
|
-
workPerformedIdentifiers?: string[];
|
|
51
|
-
};
|
|
52
|
-
}): Promise<IEventAsFindResult[]>;
|
|
34
|
+
findEvents(params: Pick<IFindParamsLegacy, 'limit' | 'page' | 'eventStatuses' | 'id' | 'identifiers' | 'offers' | 'startFrom' | 'startThrough' | 'superEvent' | 'sellerMakesOfferAvailableAtIn' | 'typeOf' | '$projection'>): Promise<IEventAsFindResult[]>;
|
|
53
35
|
/**
|
|
54
36
|
* イベントの予約集計検索
|
|
55
37
|
* @deprecated ttts専用
|