@tripian/core 9.0.7 → 9.0.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 CHANGED
@@ -9,6 +9,7 @@ declare class API {
9
9
  setToken: (token: Model.Token) => void;
10
10
  removeToken: () => void;
11
11
  configList: () => Promise<Model.ConfigList>;
12
+ setLang: (langCode: string) => void;
12
13
  /**
13
14
  ******************************************************************************
14
15
  *
@@ -213,6 +214,10 @@ declare class API {
213
214
  campaignReportPay: (campaignId: number, id: number) => Promise<Model.CampaignReport>;
214
215
  campaignCustomerReport: (campaignId: number) => Promise<Model.CampaignCustomerReport>;
215
216
  businessReport: () => Promise<Model.BusinessReport>;
217
+ /**
218
+ * Translations
219
+ */
220
+ translationList: () => Promise<Model.TranslationList>;
216
221
  /**
217
222
  * Logs
218
223
  */
@@ -112,6 +112,7 @@ interface ApiConstModel {
112
112
  CAMPAIGN_REPORT_PAY: ApiConst;
113
113
  CAMPAIGN_CUSTOMER_REPORT: ApiConst;
114
114
  BUSINESS_REPORT: ApiConst;
115
+ TRANSLATIONS: ApiConst;
115
116
  LOGS: ApiConst;
116
117
  }
117
118
  export { ApiConst, ApiConstModel };