@tripian/core 4.2.0 → 4.3.0

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/package.json CHANGED
@@ -1,49 +1,15 @@
1
1
  {
2
2
  "name": "@tripian/core",
3
- "version": "4.02.000",
3
+ "version": "4.3.0",
4
4
  "description": "Tripian Inc Web SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
7
- "scripts": {
8
- "npm": "npm publish --access public"
9
- },
10
7
  "dependencies": {
11
- "@tripian/model": "4.02.000",
8
+ "@tripian/model": "4.3.0",
12
9
  "adyen-encryption": "^0.1.1",
13
10
  "axios": "^0.19.1",
14
11
  "moment": "^2.29.0"
15
12
  },
16
- "devDependencies": {
17
- "@babel/cli": "^7.7.7",
18
- "@babel/core": "^7.7.7",
19
- "@babel/preset-env": "^7.7.7",
20
- "@babel/preset-typescript": "^7.10.4",
21
- "@tripian/eslint-config-tripian": "^1.1.0",
22
- "@types/jest": "^26.0.13",
23
- "@types/node": "^13.1.7",
24
- "@types/npm": "^2.0.31",
25
- "@typescript-eslint/eslint-plugin": "^2.16.0",
26
- "babel-jest": "^24.9.0",
27
- "babel-loader": "^8.0.6",
28
- "eslint": "^6.8.0",
29
- "eslint-config-airbnb": "^18.0.1",
30
- "eslint-config-airbnb-typescript": "^6.3.1",
31
- "eslint-config-prettier": "^6.9.0",
32
- "eslint-plugin-import": "^2.20.0",
33
- "eslint-plugin-jest": "^23.6.0",
34
- "eslint-plugin-jsx-a11y": "^6.2.3",
35
- "eslint-plugin-prettier": "^3.1.2",
36
- "eslint-plugin-react": "^7.17.0",
37
- "eslint-plugin-react-hooks": "^2.3.0",
38
- "jest": "^24.9.0",
39
- "prettier": "^1.19.1",
40
- "ts-loader": "^6.2.1",
41
- "typedoc": "^0.19.1",
42
- "typedoc-plugin-external-module-name": "^4.0.3",
43
- "typescript": "^4.0.2",
44
- "webpack": "^4.41.5",
45
- "webpack-cli": "^3.3.10"
46
- },
47
13
  "keywords": [
48
14
  "tripian",
49
15
  "core",
@@ -58,9 +24,5 @@
58
24
  "bugs": {
59
25
  "url": "https://github.com/Tripian-inc/ui-tripian-core/issues"
60
26
  },
61
- "homepage": "https://tripian-inc.github.io/ui-tripian-core/globals.html",
62
- "eslintConfig": {
63
- "extends": "@tripian/eslint-config-tripian"
64
- },
65
- "prettier": "@tripian/eslint-config-tripian/prettier.js"
27
+ "homepage": "https://tripian-inc.github.io/ui-tripian-core/globals.html"
66
28
  }
@@ -9,11 +9,11 @@ declare class API {
9
9
  constructor(test?: boolean);
10
10
  categories: (limit?: number, language?: string, currency?: string) => Promise<Providers.Gyg.Category[]>;
11
11
  category: (categoryId: number, language?: string, currency?: string) => Promise<Providers.Gyg.Category>;
12
- tours: (cityName: string, cityCoordinate?: Model.Coordinate | undefined, radius?: number, date?: Providers.Gyg.TourDateRange | undefined, categoryIds?: number[] | undefined, unique?: boolean, limit?: number, preformatted?: string, language?: string, currency?: string) => Promise<Providers.Gyg.CatalogGroup[]>;
12
+ tours: (cityName: string, cityCoordinate?: Model.Coordinate, radius?: number, date?: Providers.Gyg.TourDateRange, categoryIds?: number[], unique?: boolean, limit?: number, preformatted?: string, language?: string, currency?: string) => Promise<Providers.Gyg.CatalogGroup[]>;
13
13
  tour: (tourId: number, language?: string, currency?: string, preformatted?: string) => Promise<Providers.Gyg.Tour>;
14
- tourAvailabilities: (tourId: number, startDate: string, endDate?: string | undefined, language?: string, currency?: string) => Promise<Providers.Gyg.TourAvailability[]>;
14
+ tourAvailabilities: (tourId: number, startDate: string, endDate?: string, language?: string, currency?: string) => Promise<Providers.Gyg.TourAvailability[]>;
15
15
  options: (tourId: number, language?: string, currency?: string) => Promise<Providers.Gyg.TourOption[]>;
16
- optionAvailabilities: (optionId: number, startDate: string, endDate?: string | undefined, language?: string, currency?: string) => Promise<Providers.Gyg.TourAvailability[]>;
16
+ optionAvailabilities: (optionId: number, startDate: string, endDate?: string, language?: string, currency?: string) => Promise<Providers.Gyg.TourAvailability[]>;
17
17
  optionPricings: (optionId: number, language?: string, currency?: string) => Promise<Providers.Gyg.TourOptionPricing>;
18
18
  bookingAdd: (tourBookingRequest: Providers.Gyg.TourBookingRequest) => Promise<Providers.Gyg.TourBooking>;
19
19
  booking: (bookingHash: string, language?: string, currency?: string) => Promise<Providers.Gyg.TourBookingInfo[]>;