@ketab-ir/core 1.5.3 → 1.5.4
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/esm2022/lib/enums/ktb-submission-status.mjs +7 -1
- package/esm2022/lib/modules/ketabsal/applicant.mjs +23 -1
- package/esm2022/lib/modules/ketabsal/kts-services.service.mjs +1 -1
- package/esm2022/lib/modules/ketabsal/referee.mjs +1 -1
- package/fesm2022/ketab-ir-core.mjs +29 -1
- package/fesm2022/ketab-ir-core.mjs.map +1 -1
- package/lib/enums/ktb-submission-status.d.ts +5 -0
- package/lib/modules/ketabsal/applicant.d.ts +62 -0
- package/lib/modules/ketabsal/kts-services.service.d.ts +2 -1
- package/lib/modules/ketabsal/referee.d.ts +2 -0
- package/package.json +1 -1
|
@@ -32,6 +32,68 @@ export declare class KtbSubmissionsForApplicant implements IKtbSubmissionsForApp
|
|
|
32
32
|
courseTitle?: string | null;
|
|
33
33
|
constructor(data: IKtbSubmissionsForApplicant);
|
|
34
34
|
}
|
|
35
|
+
export interface IKtbSubmissionForApplicantDetail {
|
|
36
|
+
id?: number;
|
|
37
|
+
status?: number;
|
|
38
|
+
title?: string;
|
|
39
|
+
courseId?: number;
|
|
40
|
+
openingDate?: Date;
|
|
41
|
+
closingDate?: Date;
|
|
42
|
+
bHbookId?: number;
|
|
43
|
+
bhUniqueId?: string;
|
|
44
|
+
bookTitle?: string;
|
|
45
|
+
imageAddress?: string;
|
|
46
|
+
bookType?: string;
|
|
47
|
+
isbn?: string;
|
|
48
|
+
abstract?: string;
|
|
49
|
+
publishers?: Array<KtbPublisher>;
|
|
50
|
+
authors?: Array<IKtbSubmissionAuthorDto>;
|
|
51
|
+
category?: string;
|
|
52
|
+
categoryId?: number;
|
|
53
|
+
rank?: string;
|
|
54
|
+
creationTime?: Date;
|
|
55
|
+
}
|
|
56
|
+
export declare class KtbSubmissionForApplicantDetail implements IKtbSubmissionForApplicantDetail {
|
|
57
|
+
id?: number;
|
|
58
|
+
status?: number;
|
|
59
|
+
title?: string;
|
|
60
|
+
courseId?: number;
|
|
61
|
+
openingDate?: Date;
|
|
62
|
+
closingDate?: Date;
|
|
63
|
+
bHbookId?: number;
|
|
64
|
+
bhUniqueId?: string;
|
|
65
|
+
bookTitle?: string;
|
|
66
|
+
imageAddress?: string;
|
|
67
|
+
bookType?: string;
|
|
68
|
+
isbn?: string;
|
|
69
|
+
abstract?: string;
|
|
70
|
+
publishers?: Array<KtbPublisher>;
|
|
71
|
+
authors?: Array<IKtbSubmissionAuthorDto>;
|
|
72
|
+
category?: string;
|
|
73
|
+
categoryId?: number;
|
|
74
|
+
rank?: string;
|
|
75
|
+
creationTime?: Date;
|
|
76
|
+
constructor(data: IKtbSubmissionForApplicantDetail);
|
|
77
|
+
}
|
|
78
|
+
export interface IKtbSubmissionAuthorDto {
|
|
79
|
+
bookId?: number;
|
|
80
|
+
authorId?: number;
|
|
81
|
+
authorTypeId?: number;
|
|
82
|
+
authorTypeTitle?: string;
|
|
83
|
+
firstName?: string;
|
|
84
|
+
lastName?: string;
|
|
85
|
+
fullName?: string;
|
|
86
|
+
}
|
|
87
|
+
export declare class KtbSubmissionAuthorDto implements IKtbSubmissionAuthorDto {
|
|
88
|
+
bookId?: number;
|
|
89
|
+
authorId?: number;
|
|
90
|
+
authorTypeId?: number;
|
|
91
|
+
authorTypeTitle?: string;
|
|
92
|
+
firstName?: string;
|
|
93
|
+
lastName?: string;
|
|
94
|
+
fullName?: string;
|
|
95
|
+
constructor(data: IKtbSubmissionAuthorDto);
|
|
96
|
+
}
|
|
35
97
|
export interface IKtbGetSubmissionApplicantInput extends IKtbNewPagedInput {
|
|
36
98
|
courseId?: number;
|
|
37
99
|
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 {
|