@cinerino/sdk 4.1.0 → 4.2.0
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.
|
@@ -16,6 +16,10 @@ export declare class EventService extends Service {
|
|
|
16
16
|
* イベント検索
|
|
17
17
|
*/
|
|
18
18
|
search<T extends factory.eventType>(params: Omit<factory.event.ISearchConditions<T>, 'project' | 'organizer'> & IProjectionSearchConditions): Promise<ISearchResult<ISearchedEvent<T>[]>>;
|
|
19
|
+
/**
|
|
20
|
+
* イベント集計検索
|
|
21
|
+
*/
|
|
22
|
+
searchAggregations(params: Omit<factory.event.ISearchConditions<factory.eventType.ScreeningEvent>, 'project' | 'organizer'>): Promise<Pick<factory.event.screeningEvent.IEvent, 'aggregateEntranceGate' | 'aggregateOffer' | 'aggregateReservation' | 'id'>[]>;
|
|
19
23
|
/**
|
|
20
24
|
* イベント取得
|
|
21
25
|
*/
|
|
@@ -101,6 +101,25 @@ var EventService = /** @class */ (function (_super) {
|
|
|
101
101
|
});
|
|
102
102
|
});
|
|
103
103
|
};
|
|
104
|
+
/**
|
|
105
|
+
* イベント集計検索
|
|
106
|
+
*/
|
|
107
|
+
EventService.prototype.searchAggregations = function (params) {
|
|
108
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
109
|
+
var _this = this;
|
|
110
|
+
return __generator(this, function (_a) {
|
|
111
|
+
return [2 /*return*/, this.fetch({
|
|
112
|
+
uri: '/events/aggregations',
|
|
113
|
+
method: 'GET',
|
|
114
|
+
qs: params,
|
|
115
|
+
expectedStatusCodes: [http_status_1.OK]
|
|
116
|
+
})
|
|
117
|
+
.then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
118
|
+
return [2 /*return*/, response.json()];
|
|
119
|
+
}); }); })];
|
|
120
|
+
});
|
|
121
|
+
});
|
|
122
|
+
};
|
|
104
123
|
/**
|
|
105
124
|
* イベント取得
|
|
106
125
|
*/
|
|
@@ -114,6 +114,10 @@ export declare class EventService extends Service {
|
|
|
114
114
|
* イベント検索
|
|
115
115
|
*/
|
|
116
116
|
search<T extends factory.eventType>(params: Omit<factory.event.ISearchConditions<T>, 'project' | 'organizer'>): Promise<ISearchResult<ISearchedEvent<T>[]>>;
|
|
117
|
+
/**
|
|
118
|
+
* イベント集計検索
|
|
119
|
+
*/
|
|
120
|
+
searchAggregations(params: Omit<factory.event.ISearchConditions<factory.eventType.ScreeningEvent>, 'project' | 'organizer'>): Promise<Pick<factory.event.screeningEvent.IEvent, 'aggregateEntranceGate' | 'aggregateOffer' | 'aggregateReservation' | 'id'>[]>;
|
|
117
121
|
/**
|
|
118
122
|
* イベント取得
|
|
119
123
|
*/
|
|
@@ -122,6 +122,25 @@ var EventService = /** @class */ (function (_super) {
|
|
|
122
122
|
});
|
|
123
123
|
});
|
|
124
124
|
};
|
|
125
|
+
/**
|
|
126
|
+
* イベント集計検索
|
|
127
|
+
*/
|
|
128
|
+
EventService.prototype.searchAggregations = function (params) {
|
|
129
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
130
|
+
var _this = this;
|
|
131
|
+
return __generator(this, function (_a) {
|
|
132
|
+
return [2 /*return*/, this.fetch({
|
|
133
|
+
uri: '/events/aggregations',
|
|
134
|
+
method: 'GET',
|
|
135
|
+
qs: params,
|
|
136
|
+
expectedStatusCodes: [http_status_1.OK]
|
|
137
|
+
})
|
|
138
|
+
.then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
139
|
+
return [2 /*return*/, response.json()];
|
|
140
|
+
}); }); })];
|
|
141
|
+
});
|
|
142
|
+
});
|
|
143
|
+
};
|
|
125
144
|
/**
|
|
126
145
|
* イベント取得
|
|
127
146
|
*/
|
package/lib/bundle.js
CHANGED
|
@@ -1074,6 +1074,25 @@ var EventService = /** @class */ (function (_super) {
|
|
|
1074
1074
|
});
|
|
1075
1075
|
});
|
|
1076
1076
|
};
|
|
1077
|
+
/**
|
|
1078
|
+
* イベント集計検索
|
|
1079
|
+
*/
|
|
1080
|
+
EventService.prototype.searchAggregations = function (params) {
|
|
1081
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1082
|
+
var _this = this;
|
|
1083
|
+
return __generator(this, function (_a) {
|
|
1084
|
+
return [2 /*return*/, this.fetch({
|
|
1085
|
+
uri: '/events/aggregations',
|
|
1086
|
+
method: 'GET',
|
|
1087
|
+
qs: params,
|
|
1088
|
+
expectedStatusCodes: [http_status_1.OK]
|
|
1089
|
+
})
|
|
1090
|
+
.then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
1091
|
+
return [2 /*return*/, response.json()];
|
|
1092
|
+
}); }); })];
|
|
1093
|
+
});
|
|
1094
|
+
});
|
|
1095
|
+
};
|
|
1077
1096
|
/**
|
|
1078
1097
|
* イベント取得
|
|
1079
1098
|
*/
|
|
@@ -14921,6 +14940,25 @@ var EventService = /** @class */ (function (_super) {
|
|
|
14921
14940
|
});
|
|
14922
14941
|
});
|
|
14923
14942
|
};
|
|
14943
|
+
/**
|
|
14944
|
+
* イベント集計検索
|
|
14945
|
+
*/
|
|
14946
|
+
EventService.prototype.searchAggregations = function (params) {
|
|
14947
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14948
|
+
var _this = this;
|
|
14949
|
+
return __generator(this, function (_a) {
|
|
14950
|
+
return [2 /*return*/, this.fetch({
|
|
14951
|
+
uri: '/events/aggregations',
|
|
14952
|
+
method: 'GET',
|
|
14953
|
+
qs: params,
|
|
14954
|
+
expectedStatusCodes: [http_status_1.OK]
|
|
14955
|
+
})
|
|
14956
|
+
.then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
14957
|
+
return [2 /*return*/, response.json()];
|
|
14958
|
+
}); }); })];
|
|
14959
|
+
});
|
|
14960
|
+
});
|
|
14961
|
+
};
|
|
14924
14962
|
/**
|
|
14925
14963
|
* イベント取得
|
|
14926
14964
|
*/
|