@tripian/core 9.3.7 → 9.3.9
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/api/API.d.ts +1 -0
- package/api/const/ApiConstModel.d.ts +1 -0
- package/index.d.ts +3 -0
- package/index.js +6 -6
- package/package.json +2 -2
- package/providers/occasiongenius/API.d.ts +15 -0
- package/tcore.umd.js +6 -6
- package/tcore.umd.js.map +1 -1
package/api/API.d.ts
CHANGED
|
@@ -265,6 +265,7 @@ declare class API {
|
|
|
265
265
|
* Tour API
|
|
266
266
|
*/
|
|
267
267
|
tourSearch: (request: Model.TourSearchRequest) => Promise<Model.TourSearchResult>;
|
|
268
|
+
tourAvailability: (productId: string, request: Model.TourAvailabilityRequest) => Promise<Model.TourAvailabilityResponse>;
|
|
268
269
|
tourCategories: (cityId?: string, providerId?: string) => Promise<Model.TourCategory[]>;
|
|
269
270
|
/**
|
|
270
271
|
* COMBO
|
package/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ import ProvidersVidereoAPI from './providers/videreo/API';
|
|
|
13
13
|
import ProvidersToristyAPI from './providers/toristy/API';
|
|
14
14
|
import ProvidersVictoryAPI from './providers/victory/API';
|
|
15
15
|
import ProvidersRadialStorageAPI from './providers/radial-storage/API';
|
|
16
|
+
import ProvidersOccasionGeniusAPI from './providers/occasiongenius/API';
|
|
16
17
|
declare let api: API;
|
|
17
18
|
/**
|
|
18
19
|
* This function initilize for web sdk.
|
|
@@ -29,6 +30,7 @@ type Providers = {
|
|
|
29
30
|
toristy?: ProvidersToristyAPI;
|
|
30
31
|
victory?: ProvidersVictoryAPI;
|
|
31
32
|
radialStorage?: ProvidersRadialStorageAPI;
|
|
33
|
+
occasionGenius?: ProvidersOccasionGeniusAPI;
|
|
32
34
|
yelpInit: (apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string, lang?: string) => void;
|
|
33
35
|
gygInit: (apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string, lang?: string, currency?: string) => void;
|
|
34
36
|
bbInit: (apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string) => Promise<void>;
|
|
@@ -39,6 +41,7 @@ type Providers = {
|
|
|
39
41
|
toristyInit: (apiUrl: string, apiToken: string, proxyURL: string) => void;
|
|
40
42
|
victoryInit: (apiUrl: string, apiToken: string, apiSecret: string, proxyURL: string) => void;
|
|
41
43
|
radialStorageInit: () => void;
|
|
44
|
+
occasionGeniusInit: (apiKey: string, baseId: string, tableId: string, proxyURL: string) => void;
|
|
42
45
|
};
|
|
43
46
|
declare const providers: Providers;
|
|
44
47
|
declare const ver: string;
|