@tripian/core 9.0.17 → 9.0.19
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 +4 -0
- package/api/const/ApiConstModel.d.ts +2 -0
- package/index.d.ts +1 -1
- package/index.js +4 -4
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/providers/travelify/API.d.ts +1 -1
- package/tcore.umd.js +4 -4
- package/tcore.umd.js.map +1 -1
package/api/API.d.ts
CHANGED
|
@@ -215,6 +215,10 @@ declare class API {
|
|
|
215
215
|
campaignReportPay: (campaignId: number, id: number) => Promise<boolean>;
|
|
216
216
|
campaignCustomerReport: (campaignId: number, query: Partial<Model.CampaignCustomerReportRequest>) => Promise<Model.DataPayload<Model.CampaignCustomerReport>>;
|
|
217
217
|
businessReport: (query: Partial<Model.BusinessReportRequest>) => Promise<Model.DataPayload<Model.BusinessReport>>;
|
|
218
|
+
businessPreRegisterReport: (query: Partial<Model.BusinessPreRegisterReportRequest>) => Promise<Model.DataPayload<Model.BusinessReport>>;
|
|
219
|
+
businessExport: (reportType: 'campaign-customer-report' | 'campaign-report' | 'business-report' | 'pre-register-report', campaignId?: number) => Promise<{
|
|
220
|
+
url: string;
|
|
221
|
+
}>;
|
|
218
222
|
/**
|
|
219
223
|
* Translations
|
|
220
224
|
*/
|
|
@@ -112,6 +112,8 @@ interface ApiConstModel {
|
|
|
112
112
|
CAMPAIGN_REPORT_PAY: ApiConst;
|
|
113
113
|
CAMPAIGN_CUSTOMER_REPORT: ApiConst;
|
|
114
114
|
BUSINESS_REPORT: ApiConst;
|
|
115
|
+
BUSINESS_PRE_REGISTER_REPORT: ApiConst;
|
|
116
|
+
BUSINESS_EXPORT: ApiConst;
|
|
115
117
|
TRANSLATIONS: ApiConst;
|
|
116
118
|
LOGS: ApiConst;
|
|
117
119
|
}
|
package/index.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ type Providers = {
|
|
|
22
22
|
yelpInit: (apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string) => void;
|
|
23
23
|
gygInit: (apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string, lang?: string, currency?: string) => void;
|
|
24
24
|
bbInit: (apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string) => Promise<void>;
|
|
25
|
-
travelifyInit: (apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string) => void;
|
|
25
|
+
travelifyInit: (apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string, clientId?: string) => void;
|
|
26
26
|
viatorInit: (apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string) => void;
|
|
27
27
|
};
|
|
28
28
|
declare const providers: Providers;
|