@openvoy/openvoy-typescriptmodels 0.0.2742 → 0.0.2761
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/core.d.ts +46 -0
- package/package.json +1 -1
package/core.d.ts
CHANGED
|
@@ -521,6 +521,13 @@ export interface RatingDetails {
|
|
|
521
521
|
rating?: number;
|
|
522
522
|
}
|
|
523
523
|
|
|
524
|
+
export interface RefreshSitemap {
|
|
525
|
+
type?: SitemapType;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
export interface RefreshSitemaps {
|
|
529
|
+
}
|
|
530
|
+
|
|
524
531
|
export interface Region {
|
|
525
532
|
countryIsoCode?: string;
|
|
526
533
|
details?: RegionDetails;
|
|
@@ -584,6 +591,25 @@ export interface SetUserRole extends UserUpdate {
|
|
|
584
591
|
userRole?: Role;
|
|
585
592
|
}
|
|
586
593
|
|
|
594
|
+
export interface Sitemap {
|
|
595
|
+
content?: string;
|
|
596
|
+
id?: SitemapId;
|
|
597
|
+
lastModified?: string;
|
|
598
|
+
type?: SitemapType;
|
|
599
|
+
typeIndex?: number;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
export interface SitemapId {
|
|
603
|
+
type?: any;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
export interface SitemapUrlEntry {
|
|
607
|
+
changeFrequency?: ChangeFrequency;
|
|
608
|
+
lastModified?: string;
|
|
609
|
+
location?: string;
|
|
610
|
+
priority?: number;
|
|
611
|
+
}
|
|
612
|
+
|
|
587
613
|
export interface Supplier<T> {
|
|
588
614
|
}
|
|
589
615
|
|
|
@@ -908,6 +934,16 @@ export const enum CategoryType {
|
|
|
908
934
|
tour = "tour",
|
|
909
935
|
}
|
|
910
936
|
|
|
937
|
+
export const enum ChangeFrequency {
|
|
938
|
+
always = "always",
|
|
939
|
+
hourly = "hourly",
|
|
940
|
+
daily = "daily",
|
|
941
|
+
weekly = "weekly",
|
|
942
|
+
monthly = "monthly",
|
|
943
|
+
yearly = "yearly",
|
|
944
|
+
never = "never",
|
|
945
|
+
}
|
|
946
|
+
|
|
911
947
|
export const enum Continent {
|
|
912
948
|
Africa = "Africa",
|
|
913
949
|
Asia = "Asia",
|
|
@@ -930,6 +966,16 @@ export const enum Role {
|
|
|
930
966
|
admin = "admin",
|
|
931
967
|
}
|
|
932
968
|
|
|
969
|
+
export const enum SitemapType {
|
|
970
|
+
continents = "continents",
|
|
971
|
+
subContinents = "subContinents",
|
|
972
|
+
countries = "countries",
|
|
973
|
+
regions = "regions",
|
|
974
|
+
cities = "cities",
|
|
975
|
+
attractions = "attractions",
|
|
976
|
+
tags = "tags",
|
|
977
|
+
}
|
|
978
|
+
|
|
933
979
|
export const enum Type {
|
|
934
980
|
Organisation = "Organisation",
|
|
935
981
|
UserProfile = "UserProfile",
|
package/package.json
CHANGED