@web-core/web-sdk
    Preparing search index...

    Interface IEconomicCalendarRepo

    interface IEconomicCalendarRepo {
        getById(cid: number): Promise<EconomicCalendarResponse>;
        getCalendarFromTo(
            from: string,
            to: string,
            lang: CalendarLangs,
        ): Promise<EconomicCalendarResponse[]>;
        getCalendarFromToGrouped(
            from: string,
            to: string,
            lang: CalendarLangs,
        ): Promise<EconomicCalendarResponse[]>;
        getDetail(descId: number, lang: CalendarLangs): Promise<string>;
    }
    Index

    Methods

    • Parameters

      • from: string

        from date format yyyyMMddHHmmss

      • to: string

        to date format yyyyMMddHHmmss

      • lang: CalendarLangs

        language TR,GR,EN

      Returns Promise<EconomicCalendarResponse[]>

      get from to calendar data

    • Parameters

      • from: string

        from date format yyyyMMddHHmmss

      • to: string

        to date format yyyyMMddHHmmss

      • lang: CalendarLangs

        language TR,GR,EN

      Returns Promise<EconomicCalendarResponse[]>

      get from to calendar data grouped by parent

    • Parameters

      Returns Promise<string>

      get details by descId