iptdevs-design-system 3.1.673 → 3.1.674

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.
@@ -238,3 +238,50 @@ export interface IReportCodForAdviserRq {
238
238
  start_date: Date;
239
239
  finish_date: Date;
240
240
  }
241
+ export interface ICreateTicketReferralRq {
242
+ token: string;
243
+ code_referral: number;
244
+ code_contest: number;
245
+ code_award: number;
246
+ }
247
+ export interface IPrizesForContest {
248
+ newTicket: INewTicketRs;
249
+ updateReferral: IUpdateReferralRs;
250
+ }
251
+ export interface INewTicketRs {
252
+ code_referral_management: number;
253
+ type_award: number;
254
+ type_ticket: number;
255
+ updated_at: Date;
256
+ created_at: Date;
257
+ code: number;
258
+ }
259
+ export interface IUpdateReferralRs {
260
+ code: number;
261
+ user_referred: number;
262
+ cod_code: number;
263
+ payment_status: number;
264
+ amount_payable: number;
265
+ type_movement: null;
266
+ transaction_number: null;
267
+ code_tiket: number;
268
+ }
269
+ export interface IAvailableContestsRs {
270
+ contest: IContestRs;
271
+ prizes: IPrizeRs[];
272
+ }
273
+ export interface IContestRs {
274
+ code: number;
275
+ name: string;
276
+ competition_start_date: Date;
277
+ competition_end_date: Date;
278
+ terms_and_conditions: string;
279
+ updated_at: Date;
280
+ created_at: Date;
281
+ }
282
+ export interface IPrizeRs {
283
+ code_award: number;
284
+ code_type_ticket: number;
285
+ award_name: string;
286
+ award_description: string;
287
+ }
@@ -4,7 +4,7 @@ import { Observable } from 'rxjs';
4
4
  import { GetDiscountCouponsRq } from '../../models/payment/payment-rq.model';
5
5
  import { CreateCODRq, FullDataCODRq, GetCodByCourseRq, IUpdateCODRq, IobtaincodCurrrentAndLevelFullDataRenovationsRq } from '../../models/cod/cod-rq.model';
6
6
  import { IPTGeneralService } from '../service-enviroments';
7
- import { AdicInfoByCodeRq, CodPricesRq, IGoalInterfaceRq, ParentByCodeRq, IObtainRefersByUserRq, IAssignPosibleStudentForValueRq, IGetContactsadviserRq, IObtainCodPricesRq, IAssigningAdvisorGoalsRq, IReportCodForAdviserRq } from '../../models/commercial/commercial.model';
7
+ import { AdicInfoByCodeRq, CodPricesRq, IGoalInterfaceRq, ParentByCodeRq, IObtainRefersByUserRq, IAssignPosibleStudentForValueRq, IGetContactsadviserRq, IObtainCodPricesRq, IAssigningAdvisorGoalsRq, IReportCodForAdviserRq, ICreateTicketReferralRq } from '../../models/commercial/commercial.model';
8
8
  import { UserTokenRq } from '../../models/user/user-rq.model';
9
9
  import { ISocialNetworksRq } from '../../models/marketing/marketing.model';
10
10
  import { IObtainAllCoursewallet } from '../../models/budget/budget.model';
@@ -52,6 +52,8 @@ export declare class CommercialService extends IPTGeneralService {
52
52
  updateControlStepsCodSelfManaged(request: any): Observable<any>;
53
53
  ObtainCodPricesCodSelfManaged(params: IObtainCodPricesRq): Observable<any>;
54
54
  createCodSelfManaged(params: any): Observable<any>;
55
+ prizesForDurationOdContest(): Observable<any>;
56
+ createTicketReferral(params: ICreateTicketReferralRq): Observable<any>;
55
57
  static ɵfac: i0.ɵɵFactoryDeclaration<CommercialService, never>;
56
58
  static ɵprov: i0.ɵɵInjectableDeclaration<CommercialService>;
57
59
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iptdevs-design-system",
3
- "version": "3.1.673",
3
+ "version": "3.1.674",
4
4
  "description": "Library common elements into IPT Plattform.",
5
5
  "keywords": [
6
6
  "IPT",