tickera-angular-components 0.0.1-dev.203 → 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 {
|
|
@@ -1433,6 +1436,12 @@ interface Order extends Auditable {
|
|
|
1433
1436
|
status: OrderStatus;
|
|
1434
1437
|
show_snapshot: OrderShowSnapshot | null;
|
|
1435
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;
|
|
1436
1445
|
payment_method: PaymentMethod | null;
|
|
1437
1446
|
terms_accepted: boolean;
|
|
1438
1447
|
data_processing_accepted: boolean;
|
|
@@ -1707,6 +1716,8 @@ interface DailyPerformanceItem {
|
|
|
1707
1716
|
venue: DailyPerformanceVenue;
|
|
1708
1717
|
price_zones: DailyPerformancePriceZone[];
|
|
1709
1718
|
zone_price_cheapest: number | null;
|
|
1719
|
+
visibility_type: PerformanceVisibilityType;
|
|
1720
|
+
private_audience_label: string | null;
|
|
1710
1721
|
}
|
|
1711
1722
|
|
|
1712
1723
|
interface DailyPerformancesResponse {
|
|
@@ -2250,7 +2261,7 @@ declare class PerformanceService {
|
|
|
2250
2261
|
performances$: Observable<Performance[]>;
|
|
2251
2262
|
constructor(apiService: ApiService);
|
|
2252
2263
|
fetchPerformances({ showId, roomMapId, hallId, search, page, limit, }: FindAllPerformancesParams): Observable<PerformancesResponseInterface>;
|
|
2253
|
-
fetchDailyPerformances({ show_id, search, limit, date
|
|
2264
|
+
fetchDailyPerformances({ show_id, search, limit, date }: FetchDailyPerformancesParams, isAdmin?: boolean): Observable<DailyPerformancesResponse>;
|
|
2254
2265
|
loadPerformances({ showId, search }?: {
|
|
2255
2266
|
showId?: number;
|
|
2256
2267
|
search?: string;
|
|
@@ -2260,7 +2271,7 @@ declare class PerformanceService {
|
|
|
2260
2271
|
fetchOneBookingData(id: number, isAdmin?: boolean): Observable<PerformanceBookingDataResponse>;
|
|
2261
2272
|
fetchAvailableDays(params?: {
|
|
2262
2273
|
show_id?: number;
|
|
2263
|
-
}): Observable<PerformancesAvailableDaysResponse>;
|
|
2274
|
+
}, isAdmin?: boolean): Observable<PerformancesAvailableDaysResponse>;
|
|
2264
2275
|
createOne(data: Performance): Observable<any>;
|
|
2265
2276
|
createMany(data: Partial<Performance>[]): Observable<any>;
|
|
2266
2277
|
updateOne(id: number, data: any): Observable<PerformanceResponse>;
|