tickera-angular-components 0.0.1-dev.21 → 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 +88 -86
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -407,20 +407,20 @@ interface AdminsResponse {
|
|
|
407
407
|
}
|
|
408
408
|
|
|
409
409
|
interface Country {
|
|
410
|
-
id:
|
|
410
|
+
id: number;
|
|
411
411
|
name: string;
|
|
412
412
|
iso2: string;
|
|
413
413
|
}
|
|
414
414
|
|
|
415
415
|
interface State {
|
|
416
|
-
id:
|
|
416
|
+
id: number;
|
|
417
417
|
name: string;
|
|
418
418
|
country_id: number;
|
|
419
419
|
country?: Country;
|
|
420
420
|
}
|
|
421
421
|
|
|
422
422
|
interface City {
|
|
423
|
-
id:
|
|
423
|
+
id: number;
|
|
424
424
|
name: string;
|
|
425
425
|
search_text: string | null;
|
|
426
426
|
state_id: number;
|
|
@@ -605,83 +605,6 @@ interface ShowImage {
|
|
|
605
605
|
created_at: Date;
|
|
606
606
|
}
|
|
607
607
|
|
|
608
|
-
interface Show extends Auditable {
|
|
609
|
-
id: number;
|
|
610
|
-
title: string;
|
|
611
|
-
slug: string;
|
|
612
|
-
description: string;
|
|
613
|
-
duration_minutes: number | null;
|
|
614
|
-
type_of_costs: string | null;
|
|
615
|
-
service_fee: number | null;
|
|
616
|
-
show_type: ShowType | null;
|
|
617
|
-
pulep: string | null;
|
|
618
|
-
minimum_age: number | null;
|
|
619
|
-
show_category_id: number | null;
|
|
620
|
-
default_room_map_id: number | null;
|
|
621
|
-
published_at?: Date;
|
|
622
|
-
is_published: boolean;
|
|
623
|
-
images: ShowImage[];
|
|
624
|
-
terms_and_conditions: string;
|
|
625
|
-
performances_quantity?: number;
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
interface ShowResponse {
|
|
629
|
-
statusCode: number;
|
|
630
|
-
data: Show;
|
|
631
|
-
message: string;
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
interface ShowsResponseInterface {
|
|
635
|
-
statusCode: number;
|
|
636
|
-
data: {
|
|
637
|
-
shows: Show[];
|
|
638
|
-
total: number;
|
|
639
|
-
};
|
|
640
|
-
message: string;
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
interface ShowCategory extends Auditable {
|
|
644
|
-
id: string;
|
|
645
|
-
name: string;
|
|
646
|
-
slug: string;
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
interface ShowCategoriesResponse {
|
|
650
|
-
statusCode: number;
|
|
651
|
-
data: {
|
|
652
|
-
categories: ShowCategory[];
|
|
653
|
-
total: number;
|
|
654
|
-
};
|
|
655
|
-
message: string;
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
interface ShowCategoryResponse {
|
|
659
|
-
statusCode: number;
|
|
660
|
-
data: ShowCategory;
|
|
661
|
-
message: string;
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
interface ShowGender extends Auditable {
|
|
665
|
-
id: number;
|
|
666
|
-
name: string;
|
|
667
|
-
slug: string;
|
|
668
|
-
}
|
|
669
|
-
|
|
670
|
-
interface ShowGenderResponse {
|
|
671
|
-
statusCode: number;
|
|
672
|
-
data: ShowGender;
|
|
673
|
-
message: string;
|
|
674
|
-
}
|
|
675
|
-
|
|
676
|
-
interface ShowGendersResponse {
|
|
677
|
-
statusCode: number;
|
|
678
|
-
data: {
|
|
679
|
-
genders: ShowGender[];
|
|
680
|
-
total: number;
|
|
681
|
-
};
|
|
682
|
-
message: string;
|
|
683
|
-
}
|
|
684
|
-
|
|
685
608
|
interface PriceZone {
|
|
686
609
|
id: number;
|
|
687
610
|
name: string;
|
|
@@ -705,7 +628,7 @@ interface FetchProductCategoriesParams {
|
|
|
705
628
|
}
|
|
706
629
|
|
|
707
630
|
interface ProductCategory extends Auditable {
|
|
708
|
-
id:
|
|
631
|
+
id: number;
|
|
709
632
|
name: string;
|
|
710
633
|
slug: string;
|
|
711
634
|
}
|
|
@@ -734,7 +657,7 @@ interface FetchProductTagsParams {
|
|
|
734
657
|
}
|
|
735
658
|
|
|
736
659
|
interface ProductTag extends Auditable {
|
|
737
|
-
id:
|
|
660
|
+
id: number;
|
|
738
661
|
name: string;
|
|
739
662
|
slug: string;
|
|
740
663
|
}
|
|
@@ -763,7 +686,7 @@ interface FetchProductTypesParams {
|
|
|
763
686
|
}
|
|
764
687
|
|
|
765
688
|
interface ProductType extends Auditable {
|
|
766
|
-
id:
|
|
689
|
+
id: number;
|
|
767
690
|
name: string;
|
|
768
691
|
slug: string;
|
|
769
692
|
}
|
|
@@ -924,6 +847,85 @@ interface Performance {
|
|
|
924
847
|
updated_at: Date;
|
|
925
848
|
}
|
|
926
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
|
+
|
|
927
929
|
interface PerformanceResponse {
|
|
928
930
|
statusCode: number;
|
|
929
931
|
data: Performance;
|
|
@@ -1180,8 +1182,8 @@ interface ProductResponse {
|
|
|
1180
1182
|
message: string;
|
|
1181
1183
|
}
|
|
1182
1184
|
|
|
1183
|
-
interface ProductTaxonomy {
|
|
1184
|
-
id:
|
|
1185
|
+
interface ProductTaxonomy extends Auditable {
|
|
1186
|
+
id: number;
|
|
1185
1187
|
name: string;
|
|
1186
1188
|
slug: string;
|
|
1187
1189
|
selected?: boolean;
|
|
@@ -1288,7 +1290,7 @@ declare function parseJsonToFormDataAdvanced(imageGallery: any[]): FormData;
|
|
|
1288
1290
|
declare const transformImageToFile: (image: ShowImage | VenueImage) => UploadedFile;
|
|
1289
1291
|
|
|
1290
1292
|
declare const formatCitiesResponseToSelect: (res: CitiesResponse) => {
|
|
1291
|
-
value:
|
|
1293
|
+
value: number;
|
|
1292
1294
|
label: string;
|
|
1293
1295
|
}[];
|
|
1294
1296
|
|