tickera-angular-components 0.0.1-dev.202 → 0.0.1-dev.204
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/index.d.ts
CHANGED
|
@@ -96,7 +96,9 @@ declare const PERFORMANCES_API_ROUTES: {
|
|
|
96
96
|
reserve: (id: number) => string;
|
|
97
97
|
ticketQrToken: (uuid: string) => string;
|
|
98
98
|
getAvailableDays: string;
|
|
99
|
+
getAvailableDaysAdmin: string;
|
|
99
100
|
publicAvailablePerformances: string;
|
|
101
|
+
dailyPerformancesAdmin: string;
|
|
100
102
|
pedagogicList: string;
|
|
101
103
|
pedagogicAvailability: (id: number) => string;
|
|
102
104
|
createPedagogicOrder: (id: number) => string;
|
|
@@ -538,7 +540,8 @@ declare enum PaymentMethod {
|
|
|
538
540
|
DATAFONO = "datafono",
|
|
539
541
|
INTERNAL_EXCHANGE = "internal_exchange",
|
|
540
542
|
CLIENT_EXCHANGE = "client_exchange",
|
|
541
|
-
MERCADO_PAGO = "mercado_pago"
|
|
543
|
+
MERCADO_PAGO = "mercado_pago",
|
|
544
|
+
COURTESY = "courtesy"
|
|
542
545
|
}
|
|
543
546
|
|
|
544
547
|
declare enum RoomMapElementType {
|
|
@@ -1171,9 +1174,11 @@ interface PedagogicZoneAvailability {
|
|
|
1171
1174
|
occupied: number;
|
|
1172
1175
|
}
|
|
1173
1176
|
interface PedagogicAvailabilityResponse {
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
+
data: {
|
|
1178
|
+
zones: PedagogicZoneAvailability[];
|
|
1179
|
+
total_available: number;
|
|
1180
|
+
total_occupied: number;
|
|
1181
|
+
};
|
|
1177
1182
|
}
|
|
1178
1183
|
|
|
1179
1184
|
interface CreatePedagogicOrderPayload {
|
|
@@ -1431,6 +1436,12 @@ interface Order extends Auditable {
|
|
|
1431
1436
|
status: OrderStatus;
|
|
1432
1437
|
show_snapshot: OrderShowSnapshot | null;
|
|
1433
1438
|
performance_snapshot: OrderPerformanceSnapshot | null;
|
|
1439
|
+
/** true cuando la orden es una cortesía/donación pedagógica. */
|
|
1440
|
+
is_courtesy: boolean;
|
|
1441
|
+
/** Beneficiario (texto libre) de la cortesía pedagógica, si aplica. */
|
|
1442
|
+
courtesy_beneficiary: string | null;
|
|
1443
|
+
/** Tipo de visibilidad de la función al momento de la compra (pedagogic, private, public). */
|
|
1444
|
+
performance_visibility_snapshot: string | null;
|
|
1434
1445
|
payment_method: PaymentMethod | null;
|
|
1435
1446
|
terms_accepted: boolean;
|
|
1436
1447
|
data_processing_accepted: boolean;
|
|
@@ -1705,6 +1716,8 @@ interface DailyPerformanceItem {
|
|
|
1705
1716
|
venue: DailyPerformanceVenue;
|
|
1706
1717
|
price_zones: DailyPerformancePriceZone[];
|
|
1707
1718
|
zone_price_cheapest: number | null;
|
|
1719
|
+
visibility_type: PerformanceVisibilityType;
|
|
1720
|
+
private_audience_label: string | null;
|
|
1708
1721
|
}
|
|
1709
1722
|
|
|
1710
1723
|
interface DailyPerformancesResponse {
|
|
@@ -2248,7 +2261,7 @@ declare class PerformanceService {
|
|
|
2248
2261
|
performances$: Observable<Performance[]>;
|
|
2249
2262
|
constructor(apiService: ApiService);
|
|
2250
2263
|
fetchPerformances({ showId, roomMapId, hallId, search, page, limit, }: FindAllPerformancesParams): Observable<PerformancesResponseInterface>;
|
|
2251
|
-
fetchDailyPerformances({ show_id, search, limit, date
|
|
2264
|
+
fetchDailyPerformances({ show_id, search, limit, date }: FetchDailyPerformancesParams, isAdmin?: boolean): Observable<DailyPerformancesResponse>;
|
|
2252
2265
|
loadPerformances({ showId, search }?: {
|
|
2253
2266
|
showId?: number;
|
|
2254
2267
|
search?: string;
|
|
@@ -2258,13 +2271,12 @@ declare class PerformanceService {
|
|
|
2258
2271
|
fetchOneBookingData(id: number, isAdmin?: boolean): Observable<PerformanceBookingDataResponse>;
|
|
2259
2272
|
fetchAvailableDays(params?: {
|
|
2260
2273
|
show_id?: number;
|
|
2261
|
-
}): Observable<PerformancesAvailableDaysResponse>;
|
|
2274
|
+
}, isAdmin?: boolean): Observable<PerformancesAvailableDaysResponse>;
|
|
2262
2275
|
createOne(data: Performance): Observable<any>;
|
|
2263
2276
|
createMany(data: Partial<Performance>[]): Observable<any>;
|
|
2264
2277
|
updateOne(id: number, data: any): Observable<PerformanceResponse>;
|
|
2265
2278
|
deleteOne(id: number): Observable<any>;
|
|
2266
2279
|
deleteMany(ids: number[]): Observable<any>;
|
|
2267
|
-
/** "Funciones pedagógicas" — see plan-funciones-privadas-pedagogicas.md */
|
|
2268
2280
|
fetchPedagogicPerformances(params?: {
|
|
2269
2281
|
page?: number;
|
|
2270
2282
|
limit?: number;
|