@ketab-ir/core 1.5.3 → 1.5.5

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.
@@ -10,3 +10,8 @@ export declare enum KtbSubmissionStatus {
10
10
  ConfirmedByJudge = 15,
11
11
  Finished = 16
12
12
  }
13
+ export declare enum KtbSubmissionAllocationStatus {
14
+ InActive = 1,
15
+ Active = 2,
16
+ Refereed = 3
17
+ }
@@ -14,6 +14,7 @@ export interface IKtbSubmissionsForApplicant {
14
14
  title?: null | string;
15
15
  courseId?: number | null;
16
16
  courseTitle?: string | null;
17
+ description?: string;
17
18
  }
18
19
  export declare class KtbSubmissionsForApplicant implements IKtbSubmissionsForApplicant {
19
20
  applicantId?: number;
@@ -30,8 +31,73 @@ export declare class KtbSubmissionsForApplicant implements IKtbSubmissionsForApp
30
31
  title?: null | string;
31
32
  courseId?: number | null;
32
33
  courseTitle?: string | null;
34
+ description?: string;
33
35
  constructor(data: IKtbSubmissionsForApplicant);
34
36
  }
37
+ export interface IKtbSubmissionForApplicantDetail {
38
+ id?: number;
39
+ status?: number;
40
+ title?: string;
41
+ courseId?: number;
42
+ openingDate?: Date;
43
+ closingDate?: Date;
44
+ bHbookId?: number;
45
+ bhUniqueId?: string;
46
+ bookTitle?: string;
47
+ imageAddress?: string;
48
+ bookType?: string;
49
+ isbn?: string;
50
+ abstract?: string;
51
+ publishers?: Array<KtbPublisher>;
52
+ authors?: Array<IKtbSubmissionAuthorDto>;
53
+ category?: string;
54
+ categoryId?: number;
55
+ rank?: string;
56
+ creationTime?: Date;
57
+ description?: string;
58
+ }
59
+ export declare class KtbSubmissionForApplicantDetail implements IKtbSubmissionForApplicantDetail {
60
+ id?: number;
61
+ status?: number;
62
+ title?: string;
63
+ courseId?: number;
64
+ openingDate?: Date;
65
+ closingDate?: Date;
66
+ bHbookId?: number;
67
+ bhUniqueId?: string;
68
+ bookTitle?: string;
69
+ imageAddress?: string;
70
+ bookType?: string;
71
+ isbn?: string;
72
+ abstract?: string;
73
+ publishers?: Array<KtbPublisher>;
74
+ authors?: Array<IKtbSubmissionAuthorDto>;
75
+ category?: string;
76
+ categoryId?: number;
77
+ rank?: string;
78
+ creationTime?: Date;
79
+ description?: string;
80
+ constructor(data: IKtbSubmissionForApplicantDetail);
81
+ }
82
+ export interface IKtbSubmissionAuthorDto {
83
+ bookId?: number;
84
+ authorId?: number;
85
+ authorTypeId?: number;
86
+ authorTypeTitle?: string;
87
+ firstName?: string;
88
+ lastName?: string;
89
+ fullName?: string;
90
+ }
91
+ export declare class KtbSubmissionAuthorDto implements IKtbSubmissionAuthorDto {
92
+ bookId?: number;
93
+ authorId?: number;
94
+ authorTypeId?: number;
95
+ authorTypeTitle?: string;
96
+ firstName?: string;
97
+ lastName?: string;
98
+ fullName?: string;
99
+ constructor(data: IKtbSubmissionAuthorDto);
100
+ }
35
101
  export interface IKtbGetSubmissionApplicantInput extends IKtbNewPagedInput {
36
102
  courseId?: number;
37
103
  applicantId?: number;
@@ -8,7 +8,7 @@ import { KtsMedia } from './media';
8
8
  import { KtsProduct } from './product';
9
9
  import { KtsNews } from './news';
10
10
  import { IKtsBookDto } from './ktb-bookdto';
11
- import { IKtbGetSubmissionApplicantInput, IKtbSubmissionsForApplicant } from './applicant';
11
+ import { IKtbGetSubmissionApplicantInput, IKtbSubmissionForApplicantDetail, IKtbSubmissionsForApplicant } from './applicant';
12
12
  import { IKtsCreateOrEditAnswer, IKtsCreateOrEditBulkAnswer, IKtsGetRefereeFormInput, IKtsGetSubmissionForRefereeInput, IKtsQuestion, IKtsSubmissionsForReferee } from './referee';
13
13
  export declare abstract class IKtsServices {
14
14
  abstract getCurrentCourse(): Observable<KtsCourseDetail>;
@@ -45,4 +45,5 @@ export declare abstract class IKtsServices {
45
45
  abstract submitRefereeAnswerBulk(input: IKtsCreateOrEditBulkAnswer): Observable<void>;
46
46
  abstract setSubmissionRefereeToSeen(submissionId?: number): Observable<void>;
47
47
  abstract setSubmissionRefereeToRefereed(submissionId?: number): Observable<void>;
48
+ abstract getSubmissionForApplicant(id: number): Observable<IKtbSubmissionForApplicantDetail>;
48
49
  }
@@ -25,6 +25,7 @@ export interface IKtsSubmissionsForReferee {
25
25
  openningDate?: Date;
26
26
  closingDate?: Date;
27
27
  answerDeadLine?: Date;
28
+ allocationStatus?: number;
28
29
  }
29
30
  export declare class KtsSubmissionsForReferee implements IKtsSubmissionsForReferee {
30
31
  authors?: null | Array<IKtbAuthor>;
@@ -43,6 +44,7 @@ export declare class KtsSubmissionsForReferee implements IKtsSubmissionsForRefer
43
44
  openningDate?: Date;
44
45
  closingDate?: Date;
45
46
  answerDeadLine?: Date;
47
+ allocationStatus?: number;
46
48
  constructor(data: IKtsSubmissionsForReferee);
47
49
  }
48
50
  export interface IKtsGetRefereeFormInput extends IKtbNewPagedInput {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ketab-ir/core",
3
- "version": "1.5.3",
3
+ "version": "1.5.5",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": ">=16.0.0",