@ketab-ir/core 1.5.6 → 1.5.8

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.
@@ -134,6 +134,7 @@ export interface IKtbLiteratureApplicantSubmissionDetail {
134
134
  status?: KtbLiteratureSubmissionStatus;
135
135
  title?: null | string;
136
136
  type?: KtbArticleType;
137
+ rejectionDescription?: string;
137
138
  }
138
139
  export declare class KtbLiteratureApplicantSubmissionDetail implements IKtbLiteratureApplicantSubmissionDetail {
139
140
  additionDescription?: null | string;
@@ -149,6 +150,7 @@ export declare class KtbLiteratureApplicantSubmissionDetail implements IKtbLiter
149
150
  status?: KtbLiteratureSubmissionStatus;
150
151
  title?: null | string;
151
152
  type?: KtbArticleType;
153
+ rejectionDescription?: string;
152
154
  constructor(data?: IKtbLiteratureApplicantSubmissionDetail);
153
155
  }
154
156
  export interface IKtbLiteratureApplicantArticle {
@@ -11,3 +11,4 @@ export * from './enums';
11
11
  export * from './ktb-bookdto';
12
12
  export * from './applicant';
13
13
  export * from './referee';
14
+ export * from './referee-certificate';
@@ -10,6 +10,7 @@ import { KtsNews } from './news';
10
10
  import { IKtsBookDto } from './ktb-bookdto';
11
11
  import { IKtbGetSubmissionApplicantInput, IKtbSubmissionForApplicantDetail, IKtbSubmissionsForApplicant } from './applicant';
12
12
  import { IKtsCreateOrEditAnswer, IKtsCreateOrEditBulkAnswer, IKtsGetRefereeFormInput, IKtsGetSubmissionForRefereeInput, IKtsQuestion, IKtsSubmissionsForReferee } from './referee';
13
+ import { IKtbRefereeCertificate } from './referee-certificate';
13
14
  export declare abstract class IKtsServices {
14
15
  abstract getCurrentCourse(): Observable<KtsCourseDetail>;
15
16
  abstract getSettings(): Observable<KtsSetting>;
@@ -46,4 +47,5 @@ export declare abstract class IKtsServices {
46
47
  abstract setSubmissionRefereeToSeen(submissionId?: number): Observable<void>;
47
48
  abstract setSubmissionRefereeToRefereed(submissionId?: number): Observable<void>;
48
49
  abstract getSubmissionForApplicant(id: number): Observable<IKtbSubmissionForApplicantDetail>;
50
+ abstract getRefereeCertificate(courseId: number): Observable<IKtbRefereeCertificate>;
49
51
  }
@@ -0,0 +1,66 @@
1
+ export interface IKtbRefereeCertificate {
2
+ currentDate?: Date;
3
+ referee?: IKtbCertificateReferee;
4
+ courseInfo?: IKtbCertificateCourseInfo;
5
+ submissions?: IKtbCertificateSubmission[];
6
+ }
7
+ export declare class KtbRefereeCertificate implements IKtbRefereeCertificate {
8
+ currentDate?: Date;
9
+ referee?: IKtbCertificateReferee;
10
+ courseInfo?: IKtbCertificateCourseInfo;
11
+ submissions?: IKtbCertificateSubmission[];
12
+ constructor(data?: IKtbRefereeCertificate);
13
+ }
14
+ export interface IKtbCertificateReferee {
15
+ firstName?: string;
16
+ lastName?: string;
17
+ nationalCode?: string;
18
+ categories?: Array<string>;
19
+ }
20
+ export declare class KtbCertificateReferee implements IKtbCertificateReferee {
21
+ firstName?: string;
22
+ lastName?: string;
23
+ nationalCode?: string;
24
+ categories?: Array<string>;
25
+ constructor(data?: IKtbCertificateReferee);
26
+ }
27
+ export interface IKtbCertificateCourseInfo {
28
+ title?: string;
29
+ }
30
+ export declare class KtbCertificateCourseInfo implements IKtbCertificateCourseInfo {
31
+ title?: string;
32
+ constructor(data?: IKtbCertificateCourseInfo);
33
+ }
34
+ export interface IKtbCertificateSubmission {
35
+ title?: string;
36
+ issueDate?: Date;
37
+ cityTitle?: string;
38
+ authors?: IKtbCertificateAuthor[];
39
+ publishers?: IKtbCertificatePublisher[];
40
+ }
41
+ export declare class KtbCertificateSubmission implements IKtbCertificateSubmission {
42
+ title?: string;
43
+ issueDate?: Date;
44
+ cityTitle?: string;
45
+ authors?: IKtbCertificateAuthor[];
46
+ publishers?: IKtbCertificatePublisher[];
47
+ constructor(data?: IKtbCertificateSubmission);
48
+ }
49
+ export interface IKtbCertificateAuthor {
50
+ bookId?: number;
51
+ firstname?: string;
52
+ lastName?: string;
53
+ }
54
+ export declare class KtbCertificateAuthor implements IKtbCertificateAuthor {
55
+ bookId?: number;
56
+ firstname?: string;
57
+ lastName?: string;
58
+ constructor(data?: IKtbCertificateAuthor);
59
+ }
60
+ export interface IKtbCertificatePublisher {
61
+ title?: string;
62
+ }
63
+ export declare class KtbCertificatePublisher implements IKtbCertificatePublisher {
64
+ title?: string;
65
+ constructor(data?: IKtbCertificatePublisher);
66
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ketab-ir/core",
3
- "version": "1.5.6",
3
+ "version": "1.5.8",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": ">=16.0.0",