tickera-angular-components 0.0.1-dev.20 → 0.0.1-dev.22
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
|
@@ -65,10 +65,10 @@ declare const COUNTRY_API_ENDPOINTS: {
|
|
|
65
65
|
delete: (id: number) => string;
|
|
66
66
|
};
|
|
67
67
|
|
|
68
|
-
declare const
|
|
68
|
+
declare const CUSTOMERS_API_ROUTES: {
|
|
69
69
|
findAll: string;
|
|
70
70
|
create: string;
|
|
71
|
-
|
|
71
|
+
findOne: (id: number) => string;
|
|
72
72
|
update: (id: number) => string;
|
|
73
73
|
delete: (id: number) => string;
|
|
74
74
|
};
|
|
@@ -90,26 +90,6 @@ declare const PERFORMANCES_API_ROUTES: {
|
|
|
90
90
|
publicAvailablePerformances: string;
|
|
91
91
|
};
|
|
92
92
|
|
|
93
|
-
declare const SHOWS_API_ROUTES: {
|
|
94
|
-
findAll: string;
|
|
95
|
-
create: string;
|
|
96
|
-
findOneById: (id: number) => string;
|
|
97
|
-
update: (id: number) => string;
|
|
98
|
-
delete: (id: number) => string;
|
|
99
|
-
getImages: (id: number) => string;
|
|
100
|
-
uploadGallery: (id: number) => string;
|
|
101
|
-
deleteOneImage: (showId: number, imageId: number) => string;
|
|
102
|
-
publicAvailablePerformances: string;
|
|
103
|
-
};
|
|
104
|
-
|
|
105
|
-
declare const CUSTOMERS_API_ROUTES: {
|
|
106
|
-
findAll: string;
|
|
107
|
-
create: string;
|
|
108
|
-
findOne: (id: number) => string;
|
|
109
|
-
update: (id: number) => string;
|
|
110
|
-
delete: (id: number) => string;
|
|
111
|
-
};
|
|
112
|
-
|
|
113
93
|
declare const PRICE_ZONES_API_ROUTES: {
|
|
114
94
|
FIND_ALL: string;
|
|
115
95
|
CREATE: string;
|
|
@@ -120,18 +100,7 @@ declare const PRICE_ZONES_API_ROUTES: {
|
|
|
120
100
|
duplicate: (id: number) => string;
|
|
121
101
|
};
|
|
122
102
|
|
|
123
|
-
declare const
|
|
124
|
-
findAll: string;
|
|
125
|
-
create: string;
|
|
126
|
-
findOneById: (id: number) => string;
|
|
127
|
-
update: (id: number) => string;
|
|
128
|
-
delete: (id: number) => string;
|
|
129
|
-
getGallery: (id: number) => string;
|
|
130
|
-
uploadGallery: (id: number) => string;
|
|
131
|
-
deleteOneImage: (venueId: number, imageId: number) => string;
|
|
132
|
-
};
|
|
133
|
-
|
|
134
|
-
declare const PRODUCT_TYPES_API_ROUTES: {
|
|
103
|
+
declare const PRODUCT_CATEGORIES_API_ROUTES: {
|
|
135
104
|
FIND_ALL: string;
|
|
136
105
|
CREATE: string;
|
|
137
106
|
findById: (id: number) => string;
|
|
@@ -147,7 +116,7 @@ declare const PRODUCT_TAGS_API_ROUTES: {
|
|
|
147
116
|
delete: (id: number) => string;
|
|
148
117
|
};
|
|
149
118
|
|
|
150
|
-
declare const
|
|
119
|
+
declare const PRODUCT_TYPES_API_ROUTES: {
|
|
151
120
|
FIND_ALL: string;
|
|
152
121
|
CREATE: string;
|
|
153
122
|
findById: (id: number) => string;
|
|
@@ -166,6 +135,37 @@ declare const PRODUCTS_API_ROUTES: {
|
|
|
166
135
|
deleteOneImage: (productId: number, imageId: number) => string;
|
|
167
136
|
};
|
|
168
137
|
|
|
138
|
+
declare const SHOWS_API_ROUTES: {
|
|
139
|
+
findAll: string;
|
|
140
|
+
create: string;
|
|
141
|
+
findOneById: (id: number) => string;
|
|
142
|
+
update: (id: number) => string;
|
|
143
|
+
delete: (id: number) => string;
|
|
144
|
+
getImages: (id: number) => string;
|
|
145
|
+
uploadGallery: (id: number) => string;
|
|
146
|
+
deleteOneImage: (showId: number, imageId: number) => string;
|
|
147
|
+
publicAvailablePerformances: string;
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
declare const STATE_API_ENDPOINTS: {
|
|
151
|
+
findAll: string;
|
|
152
|
+
create: string;
|
|
153
|
+
findById: (id: number) => string;
|
|
154
|
+
update: (id: number) => string;
|
|
155
|
+
delete: (id: number) => string;
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
declare const VENUES_API_ROUTES: {
|
|
159
|
+
findAll: string;
|
|
160
|
+
create: string;
|
|
161
|
+
findOneById: (id: number) => string;
|
|
162
|
+
update: (id: number) => string;
|
|
163
|
+
delete: (id: number) => string;
|
|
164
|
+
getGallery: (id: number) => string;
|
|
165
|
+
uploadGallery: (id: number) => string;
|
|
166
|
+
deleteOneImage: (venueId: number, imageId: number) => string;
|
|
167
|
+
};
|
|
168
|
+
|
|
169
169
|
declare enum FileType {
|
|
170
170
|
IMAGE = "image",
|
|
171
171
|
PDF = "pdf",
|
|
@@ -331,6 +331,8 @@ type RoomMapCanvasElement = RoomMapSeatElement | RoomMapTableElement | RoomMapZo
|
|
|
331
331
|
|
|
332
332
|
type RoomMapSeatDisplayState = 'normal' | 'accessible' | 'non_existent';
|
|
333
333
|
|
|
334
|
+
type ShowType = 'play' | 'musical' | 'concert' | 'dance' | 'opera' | 'comedy' | 'other';
|
|
335
|
+
|
|
334
336
|
interface SelectOption {
|
|
335
337
|
value: any;
|
|
336
338
|
label: string;
|
|
@@ -405,20 +407,20 @@ interface AdminsResponse {
|
|
|
405
407
|
}
|
|
406
408
|
|
|
407
409
|
interface Country {
|
|
408
|
-
id:
|
|
410
|
+
id: number;
|
|
409
411
|
name: string;
|
|
410
412
|
iso2: string;
|
|
411
413
|
}
|
|
412
414
|
|
|
413
415
|
interface State {
|
|
414
|
-
id:
|
|
416
|
+
id: number;
|
|
415
417
|
name: string;
|
|
416
418
|
country_id: number;
|
|
417
419
|
country?: Country;
|
|
418
420
|
}
|
|
419
421
|
|
|
420
422
|
interface City {
|
|
421
|
-
id:
|
|
423
|
+
id: number;
|
|
422
424
|
name: string;
|
|
423
425
|
search_text: string | null;
|
|
424
426
|
state_id: number;
|
|
@@ -582,7 +584,12 @@ interface CustomersResponse {
|
|
|
582
584
|
message: string;
|
|
583
585
|
}
|
|
584
586
|
|
|
585
|
-
|
|
587
|
+
interface FetchShowsParams {
|
|
588
|
+
page?: number;
|
|
589
|
+
limit?: number;
|
|
590
|
+
search?: string;
|
|
591
|
+
date?: string;
|
|
592
|
+
}
|
|
586
593
|
|
|
587
594
|
interface ShowImage {
|
|
588
595
|
id: number;
|
|
@@ -598,48 +605,6 @@ interface ShowImage {
|
|
|
598
605
|
created_at: Date;
|
|
599
606
|
}
|
|
600
607
|
|
|
601
|
-
interface Show extends Auditable {
|
|
602
|
-
id: number;
|
|
603
|
-
title: string;
|
|
604
|
-
slug: string;
|
|
605
|
-
description: string;
|
|
606
|
-
duration_minutes: number | null;
|
|
607
|
-
type_of_costs: string | null;
|
|
608
|
-
service_fee: number | null;
|
|
609
|
-
show_type: ShowType | null;
|
|
610
|
-
pulep: string | null;
|
|
611
|
-
minimum_age: number | null;
|
|
612
|
-
show_category_id: number | null;
|
|
613
|
-
default_room_map_id: number | null;
|
|
614
|
-
published_at?: Date;
|
|
615
|
-
is_published: boolean;
|
|
616
|
-
images: ShowImage[];
|
|
617
|
-
terms_and_conditions: string;
|
|
618
|
-
performances_quantity?: number;
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
interface ShowResponse {
|
|
622
|
-
statusCode: number;
|
|
623
|
-
data: Show;
|
|
624
|
-
message: string;
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
interface ShowsResponseInterface {
|
|
628
|
-
statusCode: number;
|
|
629
|
-
data: {
|
|
630
|
-
shows: Show[];
|
|
631
|
-
total: number;
|
|
632
|
-
};
|
|
633
|
-
message: string;
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
interface FetchShowsParams {
|
|
637
|
-
page?: number;
|
|
638
|
-
limit?: number;
|
|
639
|
-
search?: string;
|
|
640
|
-
date?: string;
|
|
641
|
-
}
|
|
642
|
-
|
|
643
608
|
interface PriceZone {
|
|
644
609
|
id: number;
|
|
645
610
|
name: string;
|
|
@@ -663,7 +628,7 @@ interface FetchProductCategoriesParams {
|
|
|
663
628
|
}
|
|
664
629
|
|
|
665
630
|
interface ProductCategory extends Auditable {
|
|
666
|
-
id:
|
|
631
|
+
id: number;
|
|
667
632
|
name: string;
|
|
668
633
|
slug: string;
|
|
669
634
|
}
|
|
@@ -692,7 +657,7 @@ interface FetchProductTagsParams {
|
|
|
692
657
|
}
|
|
693
658
|
|
|
694
659
|
interface ProductTag extends Auditable {
|
|
695
|
-
id:
|
|
660
|
+
id: number;
|
|
696
661
|
name: string;
|
|
697
662
|
slug: string;
|
|
698
663
|
}
|
|
@@ -721,7 +686,7 @@ interface FetchProductTypesParams {
|
|
|
721
686
|
}
|
|
722
687
|
|
|
723
688
|
interface ProductType extends Auditable {
|
|
724
|
-
id:
|
|
689
|
+
id: number;
|
|
725
690
|
name: string;
|
|
726
691
|
slug: string;
|
|
727
692
|
}
|
|
@@ -882,6 +847,85 @@ interface Performance {
|
|
|
882
847
|
updated_at: Date;
|
|
883
848
|
}
|
|
884
849
|
|
|
850
|
+
interface Show extends Auditable {
|
|
851
|
+
id: number;
|
|
852
|
+
title: string;
|
|
853
|
+
slug: string;
|
|
854
|
+
description: string;
|
|
855
|
+
duration_minutes: number | null;
|
|
856
|
+
type_of_costs: string | null;
|
|
857
|
+
service_fee: number | null;
|
|
858
|
+
show_type: ShowType | null;
|
|
859
|
+
pulep: string | null;
|
|
860
|
+
minimum_age: number | null;
|
|
861
|
+
show_category_id: number | null;
|
|
862
|
+
default_room_map_id: number | null;
|
|
863
|
+
published_at?: Date;
|
|
864
|
+
is_published: boolean;
|
|
865
|
+
images: ShowImage[];
|
|
866
|
+
terms_and_conditions: string;
|
|
867
|
+
performances_quantity?: number;
|
|
868
|
+
performances?: Performance[];
|
|
869
|
+
next_performance?: Performance;
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
interface ShowResponse {
|
|
873
|
+
statusCode: number;
|
|
874
|
+
data: Show;
|
|
875
|
+
message: string;
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
interface ShowsResponseInterface {
|
|
879
|
+
statusCode: number;
|
|
880
|
+
data: {
|
|
881
|
+
shows: Show[];
|
|
882
|
+
total: number;
|
|
883
|
+
};
|
|
884
|
+
message: string;
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
interface ShowCategory extends Auditable {
|
|
888
|
+
id: number;
|
|
889
|
+
name: string;
|
|
890
|
+
slug: string;
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
interface ShowCategoriesResponse {
|
|
894
|
+
statusCode: number;
|
|
895
|
+
data: {
|
|
896
|
+
categories: ShowCategory[];
|
|
897
|
+
total: number;
|
|
898
|
+
};
|
|
899
|
+
message: string;
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
interface ShowCategoryResponse {
|
|
903
|
+
statusCode: number;
|
|
904
|
+
data: ShowCategory;
|
|
905
|
+
message: string;
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
interface ShowGender extends Auditable {
|
|
909
|
+
id: number;
|
|
910
|
+
name: string;
|
|
911
|
+
slug: string;
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
interface ShowGenderResponse {
|
|
915
|
+
statusCode: number;
|
|
916
|
+
data: ShowGender;
|
|
917
|
+
message: string;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
interface ShowGendersResponse {
|
|
921
|
+
statusCode: number;
|
|
922
|
+
data: {
|
|
923
|
+
genders: ShowGender[];
|
|
924
|
+
total: number;
|
|
925
|
+
};
|
|
926
|
+
message: string;
|
|
927
|
+
}
|
|
928
|
+
|
|
885
929
|
interface PerformanceResponse {
|
|
886
930
|
statusCode: number;
|
|
887
931
|
data: Performance;
|
|
@@ -1138,8 +1182,8 @@ interface ProductResponse {
|
|
|
1138
1182
|
message: string;
|
|
1139
1183
|
}
|
|
1140
1184
|
|
|
1141
|
-
interface ProductTaxonomy {
|
|
1142
|
-
id:
|
|
1185
|
+
interface ProductTaxonomy extends Auditable {
|
|
1186
|
+
id: number;
|
|
1143
1187
|
name: string;
|
|
1144
1188
|
slug: string;
|
|
1145
1189
|
selected?: boolean;
|
|
@@ -1246,7 +1290,7 @@ declare function parseJsonToFormDataAdvanced(imageGallery: any[]): FormData;
|
|
|
1246
1290
|
declare const transformImageToFile: (image: ShowImage | VenueImage) => UploadedFile;
|
|
1247
1291
|
|
|
1248
1292
|
declare const formatCitiesResponseToSelect: (res: CitiesResponse) => {
|
|
1249
|
-
value:
|
|
1293
|
+
value: number;
|
|
1250
1294
|
label: string;
|
|
1251
1295
|
}[];
|
|
1252
1296
|
|
|
@@ -2554,4 +2598,4 @@ declare class ZonePriceListComponent {
|
|
|
2554
2598
|
}
|
|
2555
2599
|
|
|
2556
2600
|
export { ADMIN_API_ROUTES, ALERT_ICONS, AdminSelectComponent, AdminService, ApiService, AppAlertComponent, AppButtonComponent, AppLinkButtonComponent, AppModalComponent, AsyncSelectComponent, AuditInformationComponent, BASE_BUTTON_CLASSES, BASE_INPUT_CLASSES, BUTTON_SIZES_CLASSES, BUTTON_VARIANT_CLASSES, CITY_API_ENDPOINTS, COUNTRY_API_ENDPOINTS, CUSTOMERS_API_ROUTES, ChangePasswordFormComponent, ChangePasswordFormService, CitiesService, CitySelectComponent, ColorPickerComponent, CorporateBondStatus, CountrySelectComponent, CountryService, CouponApplicability, CouponDiscountType, CouponStatus, CustomerSelectComponent, CustomerService, DateInputComponent, DateService, DaySelectorGridComponent, DeleteConfirmationComponent, DeleteConfirmationService, DynamicTableComponent, ERROR_INPUT_CLASSES, EndDateGreaterThanStartValidator, FORM_ERROR_MESSAGES, FileType, FileUploadComponent, FileUploadPreviewComponent, FormEditorComponent, FormInputComponent, FormSelectComponent, FormTextareaComponent, GiftBondStatus, LanguageSwitcherComponent, LoadingModalService, LoadingmModalComponent, MinTodayValidator, MustMatchValidator, OrderItemType, OrderStatus, PERFORMANCES_API_ROUTES, PRICE_ZONES_API_ROUTES, PRODUCTS_API_ROUTES, PRODUCT_CATEGORIES_API_ROUTES, PRODUCT_TAGS_API_ROUTES, PRODUCT_TYPES_API_ROUTES, PerformanceCardComponent, PerformanceCardListComponent, PerformanceMultiSelectComponent, PerformanceSelectComponent, PerformanceService, PerformanceStatus, PerformanceStepperComponent, PerformanceTicketStatus, PerformancesListEventsService, PriceZoneEventService, PriceZoneFormModalService, PriceZoneSelectComponent, PriceZoneService, ProductCategoryService, ProductMultiSelectComponent, ProductSelectComponent, ProductService, ProductTagService, ProductTypeService, RoomMapElementOrientation, RoomMapElementType, SHOWS_API_ROUTES, STATE_API_ENDPOINTS, ShowMultiSelectComponent, ShowSelectComponent, ShowService, ShowsFilterComponent, StateSelectComponent, StatesService, TICKERA_COMPONENTS_CONFIG, TickeraTranslocoLoader, ToastService, ToggleSwitchComponent, VENUES_API_ROUTES, ZonePriceItemComponent, ZonePriceListComponent, authInterceptor, formatCitiesResponseToSelect, getBrowserLanguage, getCustomerFullname, getStoredLanguage, parseJsonToFormDataAdvanced, provideTickeraComponents, resolveLanguage, setStoredLanguage, transformImageToFile };
|
|
2557
|
-
export type { Admin, AdminsResponse, AsyncSelectConfig, Auditable, CitiesResponse, City, CityResponse, CorporateBond, CorporateBondCode, CorporateBondResponse, CountriesResponse, Country, CountryResponse, Coupon, CouponResponse, Customer, CustomerResponse, CustomersResponse, DailyPerformanceHall, DailyPerformanceItem, DailyPerformancePriceZone, DailyPerformanceShow, DailyPerformanceVenue, DailyPerformancesResponse, DeleteConfirmationOpen, DragDropEvent, DynamicTableHeader, ElementPropertiesTab, FetchCitiesParams, FetchDailyPerformancesParams, FetchProductCategoriesParams, FetchProductTagsParams, FetchProductTypesParams, FetchShowsParams, FileUploadConfig, FindAllPriceZoneParams, GiftBond, GiftBondResponse, GiftBondsResponse, Hall, HallFloor, NumerationConfig, Order, OrderItem, OrderResponse, OrdersResponse, Performance, PerformanceAvailableDay, PerformanceBookingDataResponse, PerformanceResponse, PerformanceTicket, PerformancesAvailableDaysResponse, PerformancesResponseInterface, PriceZone, PriceZoneResponse, PriceZoneUpdateResponse, PriceZonesResponseInterface, Product, ProductCategoriesResponse, ProductCategory, ProductCategoryResponse, ProductImage, ProductResponse, ProductTag, ProductTagResponse, ProductTagsResponse, ProductTaxonomy, ProductType, ProductTypeResponse, ProductTypesResponse, ProductsResponseInterface, RoomMap, RoomMapBaseElement, RoomMapCanvasConfiguration, RoomMapCanvasElement, RoomMapChairPosition, RoomMapElementTemplate, RoomMapExitElement, RoomMapGridPosition, RoomMapPosition, RoomMapProductionAreaElement, RoomMapSeatDisplayState, RoomMapSeatElement, RoomMapSeatState, RoomMapSize, RoomMapStageElement, RoomMapTableElement, RoomMapUnavailableElement, RoomMapZoneElement, SelectOption, Show, ShowImage, ShowResponse, ShowType, ShowsResponseInterface, State, StateResponse, StatesResponse, TickeraComponentsConfig, UploadedFile, ValidateCorporateBondResponse, ValidateCouponResponse, ValidateGiftBondResponse, Venue, VenueImage };
|
|
2601
|
+
export type { Admin, AdminsResponse, AsyncSelectConfig, Auditable, CitiesResponse, City, CityResponse, CorporateBond, CorporateBondCode, CorporateBondResponse, CountriesResponse, Country, CountryResponse, Coupon, CouponResponse, Customer, CustomerResponse, CustomersResponse, DailyPerformanceHall, DailyPerformanceItem, DailyPerformancePriceZone, DailyPerformanceShow, DailyPerformanceVenue, DailyPerformancesResponse, DeleteConfirmationOpen, DragDropEvent, DynamicTableHeader, ElementPropertiesTab, FetchCitiesParams, FetchDailyPerformancesParams, FetchProductCategoriesParams, FetchProductTagsParams, FetchProductTypesParams, FetchShowsParams, FileUploadConfig, FindAllPriceZoneParams, GiftBond, GiftBondResponse, GiftBondsResponse, Hall, HallFloor, NumerationConfig, Order, OrderItem, OrderResponse, OrdersResponse, Performance, PerformanceAvailableDay, PerformanceBookingDataResponse, PerformanceResponse, PerformanceTicket, PerformancesAvailableDaysResponse, PerformancesResponseInterface, PriceZone, PriceZoneResponse, PriceZoneUpdateResponse, PriceZonesResponseInterface, Product, ProductCategoriesResponse, ProductCategory, ProductCategoryResponse, ProductImage, ProductResponse, ProductTag, ProductTagResponse, ProductTagsResponse, ProductTaxonomy, ProductType, ProductTypeResponse, ProductTypesResponse, ProductsResponseInterface, RoomMap, RoomMapBaseElement, RoomMapCanvasConfiguration, RoomMapCanvasElement, RoomMapChairPosition, RoomMapElementTemplate, RoomMapExitElement, RoomMapGridPosition, RoomMapPosition, RoomMapProductionAreaElement, RoomMapSeatDisplayState, RoomMapSeatElement, RoomMapSeatState, RoomMapSize, RoomMapStageElement, RoomMapTableElement, RoomMapUnavailableElement, RoomMapZoneElement, SelectOption, Show, ShowCategoriesResponse, ShowCategory, ShowCategoryResponse, ShowGender, ShowGenderResponse, ShowGendersResponse, ShowImage, ShowResponse, ShowType, ShowsResponseInterface, State, StateResponse, StatesResponse, TickeraComponentsConfig, UploadedFile, ValidateCorporateBondResponse, ValidateCouponResponse, ValidateGiftBondResponse, Venue, VenueImage };
|