@ketab-ir/core 1.2.2 → 1.3.0
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/constants/ktb-plan.const.mjs +1 -8
- package/esm2022/lib/constants/ktb-salessoftware-type.mjs +3 -1
- package/esm2022/lib/contracts/api/api-admin.service.mjs +3 -0
- package/esm2022/lib/contracts/api/api-request.service.mjs +3 -0
- package/esm2022/lib/contracts/api/index.mjs +3 -0
- package/esm2022/lib/contracts/awards/course.service.mjs +3 -0
- package/esm2022/lib/contracts/awards/index.mjs +6 -0
- package/esm2022/lib/contracts/awards/judges.service.mjs +3 -0
- package/esm2022/lib/contracts/awards/ktb-award-forms.service.mjs +43 -0
- package/esm2022/lib/contracts/awards/ktb-committe.service.mjs +3 -0
- package/esm2022/lib/contracts/awards/submission.service.mjs +3 -0
- package/esm2022/lib/contracts/base/ktb-loading.service.mjs +1 -1
- package/esm2022/lib/contracts/base/ktb-plan.service.mjs +1 -1
- package/esm2022/lib/contracts/base/ktb-users-families.service.mjs +1 -1
- package/esm2022/lib/contracts/cash-backs/ktb-admin-cash-back.service.mjs +1 -1
- package/esm2022/lib/contracts/clubs/index.mjs +2 -0
- package/esm2022/lib/contracts/clubs/ktb-clubs.service.mjs +11 -0
- package/esm2022/lib/contracts/index.mjs +6 -1
- package/esm2022/lib/contracts/literature/index.mjs +2 -0
- package/esm2022/lib/contracts/literature/literature.service.mjs +3 -0
- package/esm2022/lib/contracts/news/index.mjs +2 -0
- package/esm2022/lib/contracts/news/news.service.mjs +3 -0
- package/esm2022/lib/contracts/orders/ktb-order.service.mjs +1 -1
- package/esm2022/lib/contracts/products/ktb-product.service.mjs +1 -1
- package/esm2022/lib/contracts/transaction/ktb-transaction-service.mjs +1 -1
- package/esm2022/lib/contracts/vendors/ktb-vendor.service.mjs +1 -1
- package/esm2022/lib/enums/index.mjs +20 -1
- package/esm2022/lib/enums/ktb-api-plan-options.mjs +22 -0
- package/esm2022/lib/enums/ktb-api-request-status.mjs +16 -0
- package/esm2022/lib/enums/ktb-article.mjs +9 -0
- package/esm2022/lib/enums/ktb-book-type.mjs +7 -0
- package/esm2022/lib/enums/ktb-course-status.mjs +7 -0
- package/esm2022/lib/enums/ktb-course-type.mjs +31 -0
- package/esm2022/lib/enums/ktb-education-grade.mjs +10 -0
- package/esm2022/lib/enums/ktb-files.mjs +8 -0
- package/esm2022/lib/enums/ktb-literature-submission.mjs +17 -0
- package/esm2022/lib/enums/ktb-news.mjs +35 -0
- package/esm2022/lib/enums/ktb-operation-type.enum.mjs +3 -1
- package/esm2022/lib/enums/ktb-plan-vendor.enum.mjs +19 -1
- package/esm2022/lib/enums/ktb-referee-allocation-status.mjs +7 -0
- package/esm2022/lib/enums/ktb-reject-sale-plan-type.mjs +8 -0
- package/esm2022/lib/enums/ktb-submission-bulk-type.mjs +6 -0
- package/esm2022/lib/enums/ktb-submission-status.mjs +14 -0
- package/esm2022/lib/enums/ktb-upload-file-status.mjs +8 -0
- package/esm2022/lib/enums/ktb-upload-file-type.mjs +8 -0
- package/esm2022/lib/enums/ktb-vendor-register-type.mjs +11 -0
- package/esm2022/lib/enums/ktb-withdrawal-requester.type.mjs +6 -0
- package/esm2022/lib/index.mjs +2 -1
- package/esm2022/lib/models/api/api-admin-request.mjs +12 -0
- package/esm2022/lib/models/api/api-chart-usage-data.mjs +12 -0
- package/esm2022/lib/models/api/api-export-file.mjs +2 -0
- package/esm2022/lib/models/api/api-grid-filter.mjs +2 -0
- package/esm2022/lib/models/api/api-history-for-admin.mjs +12 -0
- package/esm2022/lib/models/api/api-plans.mjs +12 -0
- package/esm2022/lib/models/api/api-request.mjs +12 -0
- package/esm2022/lib/models/api/api-usage-filter-button.mjs +12 -0
- package/esm2022/lib/models/api/api-usage-model.mjs +12 -0
- package/esm2022/lib/models/api/date-filter.mjs +2 -0
- package/esm2022/lib/models/api/index.mjs +11 -0
- package/esm2022/lib/models/base/index.mjs +3 -1
- package/esm2022/lib/models/base/ktb-chips.mjs +2 -0
- package/esm2022/lib/models/base/ktb-paged-result-input.mjs +1 -1
- package/esm2022/lib/models/base/ktb-person-incharge.mjs +2 -0
- package/esm2022/lib/models/base/ktb-saleplan.mjs +69 -1
- package/esm2022/lib/models/baskets/ktb-basket-item.mjs +3 -1
- package/esm2022/lib/models/baskets/ktb-basket.mjs +2 -2
- package/esm2022/lib/models/cash-banck/ktb-cash-back-for-admin.mjs +1 -1
- package/esm2022/lib/models/clubs/index.mjs +2 -0
- package/esm2022/lib/models/clubs/ktb-club-reward.mjs +79 -0
- package/esm2022/lib/models/committee/course-committee.mjs +36 -0
- package/esm2022/lib/models/committee/index.mjs +2 -0
- package/esm2022/lib/models/courses/course-image.mjs +45 -0
- package/esm2022/lib/models/courses/course.mjs +59 -0
- package/esm2022/lib/models/courses/index.mjs +4 -0
- package/esm2022/lib/models/courses/submission.mjs +122 -0
- package/esm2022/lib/models/faq/ktb-faq-filter.mjs +7 -2
- package/esm2022/lib/models/favorites/ktb-favorite.mjs +1 -1
- package/esm2022/lib/models/filters/chip-filter-button.mjs +12 -0
- package/esm2022/lib/models/filters/index.mjs +2 -0
- package/esm2022/lib/models/index.mjs +11 -1
- package/esm2022/lib/models/judges/course-jedges.mjs +12 -0
- package/esm2022/lib/models/judges/index.mjs +5 -0
- package/esm2022/lib/models/judges/judges-submission-filter.mjs +12 -0
- package/esm2022/lib/models/judges/judges-submission.mjs +12 -0
- package/esm2022/lib/models/judges/judges.mjs +45 -0
- package/esm2022/lib/models/literature/article-detail.mjs +12 -0
- package/esm2022/lib/models/literature/article-filter.mjs +2 -0
- package/esm2022/lib/models/literature/article-sender.mjs +12 -0
- package/esm2022/lib/models/literature/article.mjs +12 -0
- package/esm2022/lib/models/literature/index.mjs +12 -0
- package/esm2022/lib/models/literature/literature-author.mjs +23 -0
- package/esm2022/lib/models/literature/literature-edit.mjs +2 -0
- package/esm2022/lib/models/literature/literature-review-detail.mjs +12 -0
- package/esm2022/lib/models/literature/literature-reviewer.mjs +34 -0
- package/esm2022/lib/models/literature/literature-submission-detail.mjs +12 -0
- package/esm2022/lib/models/literature/literature-submission-filter.mjs +12 -0
- package/esm2022/lib/models/literature/literature-submission.mjs +12 -0
- package/esm2022/lib/models/message/ktb-message-for-admin-filter.mjs +3 -1
- package/esm2022/lib/models/message-receiver/ktb-message-reciver-filter.mjs +3 -1
- package/esm2022/lib/models/news/index.mjs +11 -0
- package/esm2022/lib/models/news/news-create.mjs +12 -0
- package/esm2022/lib/models/news/news-detail.mjs +12 -0
- package/esm2022/lib/models/news/news-edit.mjs +12 -0
- package/esm2022/lib/models/news/news-file.mjs +12 -0
- package/esm2022/lib/models/news/news-filter.mjs +2 -0
- package/esm2022/lib/models/news/news-image.mjs +17 -0
- package/esm2022/lib/models/news/news-keyWords.mjs +12 -0
- package/esm2022/lib/models/news/news-langueges.mjs +12 -0
- package/esm2022/lib/models/news/news-link.mjs +13 -0
- package/esm2022/lib/models/news/news.mjs +12 -0
- package/esm2022/lib/models/operations/ktb-operation.mjs +11 -6
- package/esm2022/lib/models/orders/ktb-orders.mjs +23 -1
- package/esm2022/lib/models/plans/ktb-plans.mjs +117 -1
- package/esm2022/lib/models/products/ktb-product.mjs +1 -1
- package/esm2022/lib/models/purchase/ktb-purchase.mjs +34 -1
- package/esm2022/lib/models/search/ktb-subject-category.mjs +2 -2
- package/esm2022/lib/models/tickets/ktb-ticket-for-admin-filter.mjs +1 -1
- package/esm2022/lib/models/upload-files/index.mjs +3 -0
- package/esm2022/lib/models/upload-files/vendor-uploaded-file-filter.mjs +2 -0
- package/esm2022/lib/models/upload-files/vendor-uploaded-files.mjs +12 -0
- package/esm2022/lib/models/users/ktb-user.mjs +8 -1
- package/esm2022/lib/models/vendor-comments/ktb-vendor-comment-for-admin-filter.mjs +1 -1
- package/esm2022/lib/models/vendors/ktb-create-vendor.mjs +1 -1
- package/esm2022/lib/models/vendors/ktb-edit-vendor.mjs +1 -1
- package/esm2022/lib/models/vendors/ktb-vendor.mjs +12 -1
- package/esm2022/lib/models/violations/ktb-violation-for-admin-filter.mjs +1 -1
- package/esm2022/lib/models/wallet/index.mjs +2 -0
- package/esm2022/lib/models/wallet/ktb-create-wallet-charge-requests-input.mjs +23 -0
- package/esm2022/lib/modules/index.mjs +2 -0
- package/esm2022/lib/modules/ketabsal/course.mjs +2 -0
- package/esm2022/lib/modules/ketabsal/enums.mjs +6 -0
- package/esm2022/lib/modules/ketabsal/index.mjs +11 -0
- package/esm2022/lib/modules/ketabsal/input.mjs +2 -0
- package/esm2022/lib/modules/ketabsal/kts-services.service.mjs +3 -0
- package/esm2022/lib/modules/ketabsal/media.mjs +2 -0
- package/esm2022/lib/modules/ketabsal/news.mjs +2 -0
- package/esm2022/lib/modules/ketabsal/people.mjs +2 -0
- package/esm2022/lib/modules/ketabsal/product.mjs +2 -0
- package/esm2022/lib/modules/ketabsal/settings.mjs +2 -0
- package/fesm2022/ketab-ir-core.mjs +2626 -1214
- package/fesm2022/ketab-ir-core.mjs.map +1 -1
- package/lib/constants/ktb-plan.const.d.ts +0 -5
- package/lib/constants/ktb-salessoftware-type.d.ts +3 -1
- package/lib/contracts/api/api-admin.service.d.ts +18 -0
- package/lib/contracts/api/api-request.service.d.ts +16 -0
- package/lib/contracts/api/index.d.ts +2 -0
- package/lib/contracts/awards/course.service.d.ts +30 -0
- package/lib/contracts/awards/index.d.ts +5 -0
- package/lib/contracts/awards/judges.service.d.ts +49 -0
- package/lib/contracts/awards/ktb-award-forms.service.d.ts +83 -0
- package/lib/contracts/awards/ktb-committe.service.d.ts +10 -0
- package/lib/contracts/awards/submission.service.d.ts +24 -0
- package/lib/contracts/base/ktb-loading.service.d.ts +1 -1
- package/lib/contracts/base/ktb-plan.service.d.ts +24 -5
- package/lib/contracts/base/ktb-users-families.service.d.ts +3 -3
- package/lib/contracts/cash-backs/ktb-admin-cash-back.service.d.ts +2 -2
- package/lib/contracts/clubs/index.d.ts +1 -0
- package/lib/contracts/clubs/ktb-clubs.service.d.ts +36 -0
- package/lib/contracts/index.d.ts +5 -0
- package/lib/contracts/literature/index.d.ts +1 -0
- package/lib/contracts/literature/literature.service.d.ts +31 -0
- package/lib/contracts/news/index.d.ts +1 -0
- package/lib/contracts/news/news.service.d.ts +17 -0
- package/lib/contracts/orders/ktb-order.service.d.ts +7 -1
- package/lib/contracts/products/ktb-product.service.d.ts +6 -1
- package/lib/contracts/transaction/ktb-transaction-service.d.ts +4 -3
- package/lib/contracts/vendors/ktb-vendor.service.d.ts +6 -3
- package/lib/enums/index.d.ts +19 -0
- package/lib/enums/ktb-api-plan-options.d.ts +20 -0
- package/lib/enums/ktb-api-request-status.d.ts +8 -0
- package/lib/enums/ktb-article.d.ts +7 -0
- package/lib/enums/ktb-book-type.d.ts +5 -0
- package/lib/enums/ktb-course-status.d.ts +5 -0
- package/lib/enums/ktb-course-type.d.ts +27 -0
- package/lib/enums/ktb-education-grade.d.ts +8 -0
- package/lib/enums/ktb-files.d.ts +6 -0
- package/lib/enums/ktb-literature-submission.d.ts +14 -0
- package/lib/enums/ktb-news.d.ts +29 -0
- package/lib/enums/ktb-operation-type.enum.d.ts +3 -1
- package/lib/enums/ktb-plan-vendor.enum.d.ts +17 -1
- package/lib/enums/ktb-referee-allocation-status.d.ts +5 -0
- package/lib/enums/ktb-reject-sale-plan-type.d.ts +6 -0
- package/lib/enums/ktb-submission-bulk-type.d.ts +4 -0
- package/lib/enums/ktb-submission-status.d.ts +12 -0
- package/lib/enums/ktb-upload-file-status.d.ts +6 -0
- package/lib/enums/ktb-upload-file-type.d.ts +6 -0
- package/lib/enums/ktb-vendor-register-type.d.ts +8 -0
- package/lib/enums/ktb-withdrawal-requester.type.d.ts +4 -0
- package/lib/index.d.ts +1 -0
- package/lib/models/api/api-admin-request.d.ts +26 -0
- package/lib/models/api/api-chart-usage-data.d.ts +23 -0
- package/lib/models/api/api-export-file.d.ts +6 -0
- package/lib/models/api/api-grid-filter.d.ts +29 -0
- package/lib/models/api/api-history-for-admin.d.ts +21 -0
- package/lib/models/api/api-plans.d.ts +31 -0
- package/lib/models/api/api-request.d.ts +20 -0
- package/lib/models/api/api-usage-filter-button.d.ts +11 -0
- package/lib/models/api/api-usage-model.d.ts +17 -0
- package/lib/models/api/date-filter.d.ts +4 -0
- package/lib/models/api/index.d.ts +10 -0
- package/lib/models/base/index.d.ts +2 -0
- package/lib/models/base/ktb-chips.d.ts +5 -0
- package/lib/models/base/ktb-paged-result-input.d.ts +2 -2
- package/lib/models/base/ktb-person-incharge.d.ts +6 -0
- package/lib/models/base/ktb-saleplan.d.ts +352 -15
- package/lib/models/baskets/ktb-basket-item.d.ts +4 -0
- package/lib/models/cash-banck/ktb-cash-back-for-admin.d.ts +3 -0
- package/lib/models/clubs/index.d.ts +1 -0
- package/lib/models/clubs/ktb-club-reward.d.ts +115 -0
- package/lib/models/committee/course-committee.d.ts +102 -0
- package/lib/models/committee/index.d.ts +1 -0
- package/lib/models/courses/course-image.d.ts +59 -0
- package/lib/models/courses/course.d.ts +158 -0
- package/lib/models/courses/index.d.ts +3 -0
- package/lib/models/courses/submission.d.ts +329 -0
- package/lib/models/faq/ktb-faq-filter.d.ts +6 -0
- package/lib/models/favorites/ktb-favorite.d.ts +2 -0
- package/lib/models/filters/chip-filter-button.d.ts +11 -0
- package/lib/models/filters/index.d.ts +1 -0
- package/lib/models/index.d.ts +10 -0
- package/lib/models/judges/course-jedges.d.ts +39 -0
- package/lib/models/judges/index.d.ts +4 -0
- package/lib/models/judges/judges-submission-filter.d.ts +19 -0
- package/lib/models/judges/judges-submission.d.ts +37 -0
- package/lib/models/judges/judges.d.ts +159 -0
- package/lib/models/literature/article-detail.d.ts +25 -0
- package/lib/models/literature/article-filter.d.ts +14 -0
- package/lib/models/literature/article-sender.d.ts +13 -0
- package/lib/models/literature/article.d.ts +22 -0
- package/lib/models/literature/index.d.ts +11 -0
- package/lib/models/literature/literature-author.d.ts +38 -0
- package/lib/models/literature/literature-edit.d.ts +6 -0
- package/lib/models/literature/literature-review-detail.d.ts +33 -0
- package/lib/models/literature/literature-reviewer.d.ts +115 -0
- package/lib/models/literature/literature-submission-detail.d.ts +27 -0
- package/lib/models/literature/literature-submission-filter.d.ts +31 -0
- package/lib/models/literature/literature-submission.d.ts +35 -0
- package/lib/models/message/ktb-message-for-admin-filter.d.ts +4 -5
- package/lib/models/message-receiver/ktb-message-reciver-filter.d.ts +5 -6
- package/lib/models/news/index.d.ts +10 -0
- package/lib/models/news/news-create.d.ts +57 -0
- package/lib/models/news/news-detail.d.ts +71 -0
- package/lib/models/news/news-edit.d.ts +57 -0
- package/lib/models/news/news-file.d.ts +16 -0
- package/lib/models/news/news-filter.d.ts +15 -0
- package/lib/models/news/news-image.d.ts +17 -0
- package/lib/models/news/news-keyWords.d.ts +9 -0
- package/lib/models/news/news-langueges.d.ts +16 -0
- package/lib/models/news/news-link.d.ts +13 -0
- package/lib/models/news/news.d.ts +34 -0
- package/lib/models/operations/ktb-operation.d.ts +43 -23
- package/lib/models/orders/ktb-orders.d.ts +58 -0
- package/lib/models/plans/ktb-plans.d.ts +244 -2
- package/lib/models/products/ktb-product.d.ts +3 -1
- package/lib/models/purchase/ktb-purchase.d.ts +69 -0
- package/lib/models/tickets/ktb-ticket-for-admin-filter.d.ts +2 -4
- package/lib/models/upload-files/index.d.ts +2 -0
- package/lib/models/upload-files/vendor-uploaded-file-filter.d.ts +13 -0
- package/lib/models/upload-files/vendor-uploaded-files.d.ts +22 -0
- package/lib/models/users/ktb-user.d.ts +11 -0
- package/lib/models/vendor-comments/ktb-vendor-comment-for-admin-filter.d.ts +2 -4
- package/lib/models/vendors/ktb-create-vendor.d.ts +14 -5
- package/lib/models/vendors/ktb-edit-vendor.d.ts +17 -6
- package/lib/models/vendors/ktb-vendor.d.ts +32 -3
- package/lib/models/violations/ktb-violation-for-admin-filter.d.ts +2 -3
- package/lib/models/wallet/index.d.ts +1 -0
- package/lib/models/wallet/ktb-create-wallet-charge-requests-input.d.ts +26 -0
- package/lib/modules/index.d.ts +1 -0
- package/lib/modules/ketabsal/course.d.ts +34 -0
- package/lib/modules/ketabsal/enums.d.ts +4 -0
- package/lib/modules/ketabsal/index.d.ts +10 -0
- package/lib/modules/ketabsal/input.d.ts +7 -0
- package/lib/modules/ketabsal/kts-services.service.d.ts +24 -0
- package/lib/modules/ketabsal/media.d.ts +8 -0
- package/lib/modules/ketabsal/news.d.ts +17 -0
- package/lib/modules/ketabsal/people.d.ts +7 -0
- package/lib/modules/ketabsal/product.d.ts +7 -0
- package/lib/modules/ketabsal/settings.d.ts +24 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { KtbPlanStatsEnum } from "../../enums";
|
|
1
|
+
import { KtbAcceptanceType, KtbPlanStatsEnum, RuleTargetType } from "../../enums";
|
|
2
2
|
export interface IKtbSalePlanView {
|
|
3
3
|
id: number;
|
|
4
4
|
uniqId: string;
|
|
@@ -38,21 +38,18 @@ export interface IKtbAllSalePlansForVendorInput {
|
|
|
38
38
|
planType?: number;
|
|
39
39
|
status: Array<number>;
|
|
40
40
|
}
|
|
41
|
-
export interface
|
|
41
|
+
export interface IKtbCreateExclusivePlan {
|
|
42
42
|
description?: null | string;
|
|
43
43
|
endDate?: string;
|
|
44
44
|
imageAddress?: null | string;
|
|
45
45
|
imageAltText?: null | string;
|
|
46
46
|
inPersonSaleActive?: boolean;
|
|
47
47
|
maxDiscountPercent?: number;
|
|
48
|
-
onlineSaleActive?: boolean;
|
|
49
48
|
proposition?: null | string;
|
|
50
|
-
registrationEndDate?: string;
|
|
51
|
-
registrationStartDate?: string;
|
|
52
|
-
rules?: null | Array<IExclusiveSalePlanRuleInput>;
|
|
53
49
|
startDate?: string;
|
|
54
50
|
title?: null | string;
|
|
55
51
|
vendorId?: number;
|
|
52
|
+
id?: number;
|
|
56
53
|
}
|
|
57
54
|
export interface IExclusiveSalePlanRuleInput {
|
|
58
55
|
discountPercent?: number;
|
|
@@ -76,7 +73,6 @@ export interface IKtbGetSalePlanForVendor {
|
|
|
76
73
|
image?: IKtbBannerImage;
|
|
77
74
|
proposition?: null | string;
|
|
78
75
|
remainDays?: number;
|
|
79
|
-
rules?: null | Array<RuleDto>;
|
|
80
76
|
startDate?: Date;
|
|
81
77
|
termsAndConditions?: null | string;
|
|
82
78
|
title?: null | string;
|
|
@@ -93,7 +89,6 @@ export declare class KtbGetSalePlanForVendor implements IKtbGetSalePlanForVendor
|
|
|
93
89
|
image?: IKtbBannerImage;
|
|
94
90
|
proposition?: null | string;
|
|
95
91
|
remainDays?: number;
|
|
96
|
-
rules?: null | Array<RuleDto>;
|
|
97
92
|
startDate?: Date;
|
|
98
93
|
termsAndConditions?: null | string;
|
|
99
94
|
title?: null | string;
|
|
@@ -103,17 +98,41 @@ export declare class KtbGetSalePlanForVendor implements IKtbGetSalePlanForVendor
|
|
|
103
98
|
isActive?: boolean;
|
|
104
99
|
constructor(data?: IKtbGetSalePlanForVendor);
|
|
105
100
|
}
|
|
101
|
+
export interface IKtbGetSalePlanVendorDetailForVendor {
|
|
102
|
+
endDate?: Date;
|
|
103
|
+
inPersonSaleActive?: boolean;
|
|
104
|
+
isLocked?: boolean;
|
|
105
|
+
onlineSaleActive?: boolean;
|
|
106
|
+
planTitle?: null | string;
|
|
107
|
+
planType?: number;
|
|
108
|
+
proposition?: null | string;
|
|
109
|
+
registrationStatus?: IktbAcceptanceStatus;
|
|
110
|
+
rejectionMessage?: null | string;
|
|
111
|
+
salePlanId?: number;
|
|
112
|
+
startDate?: Date;
|
|
113
|
+
termsAndConditions?: null | string;
|
|
114
|
+
vendorId?: number;
|
|
115
|
+
}
|
|
116
|
+
export declare class KtbGetSalePlanVendorDetailForVendor implements IKtbGetSalePlanVendorDetailForVendor {
|
|
117
|
+
endDate?: Date;
|
|
118
|
+
inPersonSaleActive?: boolean;
|
|
119
|
+
isLocked?: boolean;
|
|
120
|
+
onlineSaleActive?: boolean;
|
|
121
|
+
planTitle?: null | string;
|
|
122
|
+
planType?: number;
|
|
123
|
+
proposition?: null | string;
|
|
124
|
+
registrationStatus?: IktbAcceptanceStatus;
|
|
125
|
+
rejectionMessage?: null | string;
|
|
126
|
+
salePlanId?: number;
|
|
127
|
+
startDate?: Date;
|
|
128
|
+
termsAndConditions?: null | string;
|
|
129
|
+
vendorId?: number;
|
|
130
|
+
constructor(data?: IKtbGetSalePlanVendorDetailForVendor);
|
|
131
|
+
}
|
|
106
132
|
export interface IKtbBannerImage {
|
|
107
133
|
altText?: null | string;
|
|
108
134
|
imageUrl?: null | string;
|
|
109
135
|
}
|
|
110
|
-
export interface RuleDto {
|
|
111
|
-
id?: number;
|
|
112
|
-
isActive?: boolean;
|
|
113
|
-
priority?: number;
|
|
114
|
-
salePlanId?: number;
|
|
115
|
-
title?: null | string;
|
|
116
|
-
}
|
|
117
136
|
export interface IKtbCustomerRuleDto {
|
|
118
137
|
actions?: null | Array<IKtbCustomerRuleAction>;
|
|
119
138
|
id?: number;
|
|
@@ -166,3 +185,321 @@ export declare class KtbGetSalePlanDetailsForVendor implements IKtbGetSalePlanDe
|
|
|
166
185
|
planType?: number;
|
|
167
186
|
constructor(data?: IKtbGetSalePlanDetailsForVendor);
|
|
168
187
|
}
|
|
188
|
+
export interface IKtbPlanConditionAndOffers {
|
|
189
|
+
discounts?: IKtbRuleActionDto;
|
|
190
|
+
id?: number;
|
|
191
|
+
priority?: number;
|
|
192
|
+
ruleConditions?: null | Array<IKtbRuleCondition>;
|
|
193
|
+
ruleId?: number;
|
|
194
|
+
ruleTitle?: null | string;
|
|
195
|
+
}
|
|
196
|
+
export declare class KtbPlanConditionAndOffers implements IKtbPlanConditionAndOffers {
|
|
197
|
+
discounts?: IKtbRuleActionDto;
|
|
198
|
+
id?: number;
|
|
199
|
+
priority?: number;
|
|
200
|
+
ruleConditions?: null | Array<IKtbRuleCondition>;
|
|
201
|
+
ruleId?: number;
|
|
202
|
+
ruleTitle?: null | string;
|
|
203
|
+
constructor(data?: IKtbPlanConditionAndOffers);
|
|
204
|
+
}
|
|
205
|
+
export interface IKtbRuleCondition {
|
|
206
|
+
catalogs?: null | Array<IKtbCatalogDto>;
|
|
207
|
+
fromValue?: null | string;
|
|
208
|
+
id?: number;
|
|
209
|
+
ruleId?: number;
|
|
210
|
+
targetProperty?: IKtbRuleTargetProperty;
|
|
211
|
+
toValue?: null | string;
|
|
212
|
+
type?: IKtbRuleConditionType;
|
|
213
|
+
values?: null | Array<string>;
|
|
214
|
+
}
|
|
215
|
+
export interface IKtbRuleActionDto {
|
|
216
|
+
deliverySubsidyAmount?: null | number;
|
|
217
|
+
deliverySubsidyPercent?: null | number;
|
|
218
|
+
discountPercent?: null | number;
|
|
219
|
+
maxPurchasableQuantity?: null | number;
|
|
220
|
+
planMaxSubsidyAmount?: null | number;
|
|
221
|
+
purchaseMaxAmount?: null | number;
|
|
222
|
+
quantity?: null | number;
|
|
223
|
+
ruleId?: number;
|
|
224
|
+
subsidyMaxAmount?: null | number;
|
|
225
|
+
subsidyPercent?: null | number;
|
|
226
|
+
type?: IKtbRuleActionType;
|
|
227
|
+
wagePercent?: null | number;
|
|
228
|
+
}
|
|
229
|
+
export interface IKtbRuleActionType {
|
|
230
|
+
id?: number;
|
|
231
|
+
name?: null | string;
|
|
232
|
+
}
|
|
233
|
+
export interface IKtbRuleConditionType {
|
|
234
|
+
id?: number;
|
|
235
|
+
name?: null | string;
|
|
236
|
+
}
|
|
237
|
+
export interface IKtbCatalogDto {
|
|
238
|
+
authors?: null | Array<IKtbAuthorDto>;
|
|
239
|
+
catalogId?: null | number;
|
|
240
|
+
coreId?: null | number;
|
|
241
|
+
discount?: null | number;
|
|
242
|
+
id?: number;
|
|
243
|
+
imageAddress?: null | string;
|
|
244
|
+
isbn?: null | string;
|
|
245
|
+
issueYear?: null | number;
|
|
246
|
+
pageCount?: null | number;
|
|
247
|
+
printVersion?: null | number;
|
|
248
|
+
publisher?: null | string;
|
|
249
|
+
title?: null | string;
|
|
250
|
+
}
|
|
251
|
+
export interface IKtbRuleTargetProperty {
|
|
252
|
+
id?: number;
|
|
253
|
+
isActionProperty?: boolean;
|
|
254
|
+
name?: null | string;
|
|
255
|
+
}
|
|
256
|
+
export interface IKtbAuthorDto {
|
|
257
|
+
authorFirstName?: null | string;
|
|
258
|
+
authorId?: number;
|
|
259
|
+
authorLastName?: null | string;
|
|
260
|
+
authorTitle?: null | string;
|
|
261
|
+
authorType?: null | string;
|
|
262
|
+
publicationId?: number;
|
|
263
|
+
viewOrder?: number;
|
|
264
|
+
}
|
|
265
|
+
export interface IKtbAddRuleToSalePlan {
|
|
266
|
+
alwaysTrueRuleCondition?: IKtbAlwaysTrueRuleConditionInput;
|
|
267
|
+
anyConditions?: null | Array<IKtbCreateAnyOfRuleConditionInput>;
|
|
268
|
+
betweenConditions?: null | Array<IKtbCreateBetweenOfRuleConditionInput>;
|
|
269
|
+
deliverySubsidyAmountAction?: IKtbCreateSetDeliverySubsidyAmountActionInput;
|
|
270
|
+
deliverySubsidyPercentAction?: IKtbCreateSetDeliverySubsidyPercentActionInput;
|
|
271
|
+
isActive?: boolean;
|
|
272
|
+
maxPurchaseAmountAction?: IKtbCreateMaxPurchaseAmountActionInput;
|
|
273
|
+
noneConditions?: null | Array<IKtbCreateNoneOfRuleConditionInput>;
|
|
274
|
+
planMaxSubsidyAmountAction?: IKtbCreatePlanMaxSubsidyAmountActionInput;
|
|
275
|
+
priority?: number;
|
|
276
|
+
ruleTitle?: null | string;
|
|
277
|
+
ruleId?: number;
|
|
278
|
+
salePlanId?: number;
|
|
279
|
+
setDiscountPercentAction?: IKtbCreateSetDiscountPercentActionInput;
|
|
280
|
+
setMaxQuantityAction?: IKtbCreateSetMaxPurchasableQuantityActionInput;
|
|
281
|
+
setWagePercentAction?: IKtbCreateSetWagePercentActionInput;
|
|
282
|
+
subsidyAmountAction?: IKtbCreateSetSubsidyMaxAmountActionInput;
|
|
283
|
+
subsidyPercentAction?: IKtbCreateSetSubsidyPercentActionInput;
|
|
284
|
+
}
|
|
285
|
+
export interface IKtbAlwaysTrueRuleConditionInput {
|
|
286
|
+
active?: boolean;
|
|
287
|
+
}
|
|
288
|
+
export interface IKtbCreateAnyOfRuleConditionInput {
|
|
289
|
+
targetProperty?: number;
|
|
290
|
+
values?: null | Array<string>;
|
|
291
|
+
}
|
|
292
|
+
export interface IKtbCreateBetweenOfRuleConditionInput {
|
|
293
|
+
fromValue?: null | string;
|
|
294
|
+
targetProperty?: number;
|
|
295
|
+
toValue?: null | string;
|
|
296
|
+
}
|
|
297
|
+
export interface IKtbCreateSetDeliverySubsidyAmountActionInput {
|
|
298
|
+
amount?: number;
|
|
299
|
+
}
|
|
300
|
+
export interface IKtbCreateSetDeliverySubsidyPercentActionInput {
|
|
301
|
+
discountPercent?: number;
|
|
302
|
+
}
|
|
303
|
+
export interface IKtbCreateMaxPurchaseAmountActionInput {
|
|
304
|
+
amount?: number;
|
|
305
|
+
}
|
|
306
|
+
export interface IKtbCreateNoneOfRuleConditionInput {
|
|
307
|
+
targetProperty?: number;
|
|
308
|
+
values?: null | Array<string>;
|
|
309
|
+
}
|
|
310
|
+
export interface IKtbCreatePlanMaxSubsidyAmountActionInput {
|
|
311
|
+
amount?: number;
|
|
312
|
+
}
|
|
313
|
+
export interface IKtbCreateSetDiscountPercentActionInput {
|
|
314
|
+
discountPercent?: number;
|
|
315
|
+
}
|
|
316
|
+
export interface IKtbCreateSetMaxPurchasableQuantityActionInput {
|
|
317
|
+
quantity?: number;
|
|
318
|
+
}
|
|
319
|
+
export interface IKtbCreateSetWagePercentActionInput {
|
|
320
|
+
wagePercent?: number;
|
|
321
|
+
}
|
|
322
|
+
export interface IKtbCreateSetSubsidyMaxAmountActionInput {
|
|
323
|
+
amount?: number;
|
|
324
|
+
}
|
|
325
|
+
export interface IKtbCreateSetSubsidyPercentActionInput {
|
|
326
|
+
subsidyPercent?: number;
|
|
327
|
+
}
|
|
328
|
+
export interface IKtbStaticItem {
|
|
329
|
+
[RuleTargetType.BookContentStatus]?: Array<IKtbKeyValuePair>;
|
|
330
|
+
[RuleTargetType.BookType]?: Array<IKtbKeyValuePair>;
|
|
331
|
+
[RuleTargetType.CatalogType]?: Array<IKtbKeyValuePair>;
|
|
332
|
+
[RuleTargetType.VendorType]?: Array<IKtbKeyValuePair>;
|
|
333
|
+
[RuleTargetType.IssueYear]?: Array<IKtbKeyValuePair>;
|
|
334
|
+
[RuleTargetType.VersionType]?: Array<IKtbKeyValuePair>;
|
|
335
|
+
[RuleTargetType.Province]?: Array<IKtbKeyValuePair>;
|
|
336
|
+
}
|
|
337
|
+
export interface IKtbKeyValuePair {
|
|
338
|
+
key?: number;
|
|
339
|
+
value?: null | string;
|
|
340
|
+
}
|
|
341
|
+
export declare class KtbStaticItem implements IKtbStaticItem {
|
|
342
|
+
[RuleTargetType.BookContentStatus]?: Array<IKtbKeyValuePair>;
|
|
343
|
+
[RuleTargetType.BookType]?: Array<IKtbKeyValuePair>;
|
|
344
|
+
[RuleTargetType.CatalogType]?: Array<IKtbKeyValuePair>;
|
|
345
|
+
[RuleTargetType.VendorType]?: Array<IKtbKeyValuePair>;
|
|
346
|
+
[RuleTargetType.IssueYear]?: Array<IKtbKeyValuePair>;
|
|
347
|
+
constructor(data?: IKtbStaticItem);
|
|
348
|
+
}
|
|
349
|
+
export interface IKtbGetVendorExclusivePlanForEdit {
|
|
350
|
+
description?: null | string;
|
|
351
|
+
endDate?: string;
|
|
352
|
+
id?: number;
|
|
353
|
+
image?: IKtbBannerImage;
|
|
354
|
+
isActive?: boolean;
|
|
355
|
+
isInPerson?: boolean;
|
|
356
|
+
isShutdown?: boolean;
|
|
357
|
+
maxDiscountPercent?: number;
|
|
358
|
+
proposition?: null | string;
|
|
359
|
+
remainDays?: number;
|
|
360
|
+
rules?: Array<IktbGetPlanConditionAndOffers>;
|
|
361
|
+
startDate?: string;
|
|
362
|
+
termsAndConditions?: null | string;
|
|
363
|
+
title?: null | string;
|
|
364
|
+
totalDays?: number;
|
|
365
|
+
type?: number;
|
|
366
|
+
}
|
|
367
|
+
export interface IKtbBannerImage {
|
|
368
|
+
altText?: null | string;
|
|
369
|
+
imageUrl?: null | string;
|
|
370
|
+
}
|
|
371
|
+
export interface IktbGetPlanConditionAndOffers {
|
|
372
|
+
discounts?: IktbRuleAction;
|
|
373
|
+
id?: number;
|
|
374
|
+
priority?: number;
|
|
375
|
+
ruleConditions?: null | Array<IktbRuleCondition>;
|
|
376
|
+
ruleId?: number;
|
|
377
|
+
ruleTitle?: null | string;
|
|
378
|
+
}
|
|
379
|
+
export interface IktbRuleAction {
|
|
380
|
+
deliverySubsidyAmount?: null | number;
|
|
381
|
+
deliverySubsidyPercent?: null | number;
|
|
382
|
+
discountPercent?: null | number;
|
|
383
|
+
maxPurchasableQuantity?: null | number;
|
|
384
|
+
planMaxSubsidyAmount?: null | number;
|
|
385
|
+
purchaseMaxAmount?: null | number;
|
|
386
|
+
quantity?: null | number;
|
|
387
|
+
ruleId?: number;
|
|
388
|
+
subsidyMaxAmount?: null | number;
|
|
389
|
+
subsidyPercent?: null | number;
|
|
390
|
+
type?: IktbRuleActionType;
|
|
391
|
+
wagePercent?: null | number;
|
|
392
|
+
}
|
|
393
|
+
export interface IktbRuleActionType {
|
|
394
|
+
id?: number;
|
|
395
|
+
name?: null | string;
|
|
396
|
+
}
|
|
397
|
+
export interface IktbRuleCondition {
|
|
398
|
+
catalogs?: null | Array<IktbCatalog>;
|
|
399
|
+
fromValue?: null | string;
|
|
400
|
+
id?: number;
|
|
401
|
+
ruleId?: number;
|
|
402
|
+
targetProperty?: IktbRuleTargetProperty;
|
|
403
|
+
toValue?: null | string;
|
|
404
|
+
type?: IktbRuleConditionType;
|
|
405
|
+
values?: null | Array<string>;
|
|
406
|
+
}
|
|
407
|
+
export interface IktbRuleTargetProperty {
|
|
408
|
+
id?: number;
|
|
409
|
+
isActionProperty?: boolean;
|
|
410
|
+
name?: null | string;
|
|
411
|
+
}
|
|
412
|
+
export interface IktbRuleConditionType {
|
|
413
|
+
id?: number;
|
|
414
|
+
name?: null | string;
|
|
415
|
+
}
|
|
416
|
+
export interface IktbCatalog {
|
|
417
|
+
authors?: null | Array<IktbAuthor>;
|
|
418
|
+
catalogId?: null | number;
|
|
419
|
+
coreId?: null | number;
|
|
420
|
+
discount?: null | number;
|
|
421
|
+
id?: number;
|
|
422
|
+
imageAddress?: null | string;
|
|
423
|
+
isbn?: null | string;
|
|
424
|
+
issueYear?: null | number;
|
|
425
|
+
pageCount?: null | number;
|
|
426
|
+
printVersion?: null | number;
|
|
427
|
+
publisher?: null | string;
|
|
428
|
+
title?: null | string;
|
|
429
|
+
}
|
|
430
|
+
export interface IktbAuthor {
|
|
431
|
+
authorFirstName?: null | string;
|
|
432
|
+
authorId?: number;
|
|
433
|
+
authorLastName?: null | string;
|
|
434
|
+
authorTitle?: null | string;
|
|
435
|
+
authorType?: null | string;
|
|
436
|
+
publicationId?: number;
|
|
437
|
+
viewOrder?: number;
|
|
438
|
+
}
|
|
439
|
+
export declare class KtbGetVendorExclusivePlanForEdit implements IKtbGetVendorExclusivePlanForEdit {
|
|
440
|
+
description?: null | string;
|
|
441
|
+
endDate?: string;
|
|
442
|
+
id?: number;
|
|
443
|
+
image?: IKtbBannerImage;
|
|
444
|
+
isActive?: boolean;
|
|
445
|
+
isInPerson?: boolean;
|
|
446
|
+
isShutdown?: boolean;
|
|
447
|
+
maxDiscountPercent?: number;
|
|
448
|
+
proposition?: null | string;
|
|
449
|
+
remainDays?: number;
|
|
450
|
+
rules?: Array<IktbGetPlanConditionAndOffers>;
|
|
451
|
+
startDate?: string;
|
|
452
|
+
termsAndConditions?: null | string;
|
|
453
|
+
title?: null | string;
|
|
454
|
+
totalDays?: number;
|
|
455
|
+
type?: number;
|
|
456
|
+
constructor(data?: IKtbGetVendorExclusivePlanForEdit);
|
|
457
|
+
}
|
|
458
|
+
export interface IKtbSetRulesPriorities {
|
|
459
|
+
rules?: null | Array<IktbRulesPrioritiesInput>;
|
|
460
|
+
salePlanId?: number;
|
|
461
|
+
}
|
|
462
|
+
export declare class KtbSetRulesPriorities implements IKtbSetRulesPriorities {
|
|
463
|
+
rules?: null | Array<IktbRulesPrioritiesInput>;
|
|
464
|
+
salePlanId?: number;
|
|
465
|
+
constructor(data?: IKtbSetRulesPriorities);
|
|
466
|
+
}
|
|
467
|
+
export interface IktbRulesPrioritiesInput {
|
|
468
|
+
priority?: number;
|
|
469
|
+
ruleId?: number;
|
|
470
|
+
}
|
|
471
|
+
export interface IktbsalePlanForAdmin {
|
|
472
|
+
acceptanceStatus?: KtbAcceptanceType;
|
|
473
|
+
endDate?: Date;
|
|
474
|
+
id?: number;
|
|
475
|
+
image?: IKtbBannerImage;
|
|
476
|
+
isActive?: boolean;
|
|
477
|
+
isShutdown?: boolean;
|
|
478
|
+
ownerVendorId?: null | number;
|
|
479
|
+
planType?: number;
|
|
480
|
+
registrationEndDate?: Date;
|
|
481
|
+
registrationStartDate?: Date;
|
|
482
|
+
remainDays?: number;
|
|
483
|
+
rules?: null | Array<IktbGetPlanConditionAndOffers>;
|
|
484
|
+
startDate?: Date;
|
|
485
|
+
title?: null | string;
|
|
486
|
+
totalDays?: number;
|
|
487
|
+
}
|
|
488
|
+
export declare class ktbsalePlanForAdmin implements IktbsalePlanForAdmin {
|
|
489
|
+
acceptanceStatus?: KtbAcceptanceType;
|
|
490
|
+
endDate?: Date;
|
|
491
|
+
id?: number;
|
|
492
|
+
image?: IKtbBannerImage;
|
|
493
|
+
isActive?: boolean;
|
|
494
|
+
isShutdown?: boolean;
|
|
495
|
+
ownerVendorId?: null | number;
|
|
496
|
+
planType?: number;
|
|
497
|
+
registrationEndDate?: Date;
|
|
498
|
+
registrationStartDate?: Date;
|
|
499
|
+
remainDays?: number;
|
|
500
|
+
rules?: null | Array<IktbGetPlanConditionAndOffers>;
|
|
501
|
+
startDate?: Date;
|
|
502
|
+
title?: null | string;
|
|
503
|
+
totalDays?: number;
|
|
504
|
+
constructor(data?: IktbsalePlanForAdmin);
|
|
505
|
+
}
|
|
@@ -17,6 +17,8 @@ export interface IKtbBasketItem {
|
|
|
17
17
|
totalAmountWithDiscount?: number;
|
|
18
18
|
salePlanId: number | null;
|
|
19
19
|
maxPurchasableQuantity?: number | null;
|
|
20
|
+
hasProvider?: null | boolean;
|
|
21
|
+
isActive?: null | boolean;
|
|
20
22
|
}
|
|
21
23
|
export declare class KtbBasketItem implements IKtbBasketItem {
|
|
22
24
|
productId: number;
|
|
@@ -34,6 +36,8 @@ export declare class KtbBasketItem implements IKtbBasketItem {
|
|
|
34
36
|
cartItemId?: string;
|
|
35
37
|
imageAddress?: string;
|
|
36
38
|
salePlanId: number | null;
|
|
39
|
+
hasProvider?: null | boolean;
|
|
40
|
+
isActive?: null | boolean;
|
|
37
41
|
maxPurchasableQuantity?: number | null;
|
|
38
42
|
constructor(data?: IKtbBasketItem);
|
|
39
43
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { KtbBanks } from '../../constants';
|
|
2
|
+
import { KtbWithdrawalRequester } from '../../enums';
|
|
2
3
|
export interface IKtbCashBackForAdmin {
|
|
3
4
|
accountOwner?: null | string;
|
|
4
5
|
amount?: number;
|
|
@@ -11,6 +12,7 @@ export interface IKtbCashBackForAdmin {
|
|
|
11
12
|
status?: number;
|
|
12
13
|
uniqueId?: string;
|
|
13
14
|
userFullName?: null | string;
|
|
15
|
+
userRole?: KtbWithdrawalRequester;
|
|
14
16
|
userPhoneNumber?: null | string;
|
|
15
17
|
}
|
|
16
18
|
export declare class KtbCashBackForAdmin implements IKtbCashBackForAdmin {
|
|
@@ -25,6 +27,7 @@ export declare class KtbCashBackForAdmin implements IKtbCashBackForAdmin {
|
|
|
25
27
|
status?: number;
|
|
26
28
|
uniqueId?: string;
|
|
27
29
|
userFullName?: null | string;
|
|
30
|
+
userRole?: KtbWithdrawalRequester;
|
|
28
31
|
userPhoneNumber?: null | string;
|
|
29
32
|
constructor(data?: IKtbCashBackForAdmin);
|
|
30
33
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ktb-club-reward';
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { IKtbNewPagedInput } from '../base';
|
|
2
|
+
export interface IKtbClubGetAllPrizeInput extends IKtbNewPagedInput {
|
|
3
|
+
rewardType?: number;
|
|
4
|
+
sortBy?: number;
|
|
5
|
+
}
|
|
6
|
+
export interface IKtbClubGetAllPointHistoryInput extends IKtbNewPagedInput {
|
|
7
|
+
type?: KtbClubPointType;
|
|
8
|
+
}
|
|
9
|
+
export interface IKtbClubLevel {
|
|
10
|
+
id?: number;
|
|
11
|
+
title?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
iconName?: string;
|
|
14
|
+
point?: number;
|
|
15
|
+
}
|
|
16
|
+
export declare class KtbCLubLevel implements IKtbClubLevel {
|
|
17
|
+
id: number;
|
|
18
|
+
title: string;
|
|
19
|
+
description: string;
|
|
20
|
+
iconName: string;
|
|
21
|
+
point: number;
|
|
22
|
+
constructor(data: IKtbClubLevel);
|
|
23
|
+
}
|
|
24
|
+
export interface IKtbClubPrize {
|
|
25
|
+
id?: number;
|
|
26
|
+
title?: string;
|
|
27
|
+
description?: string;
|
|
28
|
+
point?: number;
|
|
29
|
+
isActive?: boolean;
|
|
30
|
+
imageAddress?: string;
|
|
31
|
+
}
|
|
32
|
+
export declare class KtbClubPrize implements IKtbClubPrize {
|
|
33
|
+
id: number;
|
|
34
|
+
title: string;
|
|
35
|
+
description: string;
|
|
36
|
+
point: number;
|
|
37
|
+
isActive: boolean;
|
|
38
|
+
imageAddress?: string;
|
|
39
|
+
level?: IKtbClubLevel;
|
|
40
|
+
constructor(data: IKtbClubPrize);
|
|
41
|
+
}
|
|
42
|
+
export interface IKtbClubRecievedPrize {
|
|
43
|
+
id?: number;
|
|
44
|
+
title?: string;
|
|
45
|
+
description?: string;
|
|
46
|
+
isActive?: boolean;
|
|
47
|
+
imageAddress?: string;
|
|
48
|
+
expireTime?: Date;
|
|
49
|
+
code?: string;
|
|
50
|
+
isExpired?: boolean;
|
|
51
|
+
expireDay?: number;
|
|
52
|
+
}
|
|
53
|
+
export declare class KtbClubRecievedPrize implements IKtbClubRecievedPrize {
|
|
54
|
+
id?: number;
|
|
55
|
+
title?: string;
|
|
56
|
+
description?: string;
|
|
57
|
+
isActive?: boolean;
|
|
58
|
+
imageAddress?: string;
|
|
59
|
+
expireTime?: Date;
|
|
60
|
+
code?: string;
|
|
61
|
+
isExpired?: boolean;
|
|
62
|
+
expireDay?: number;
|
|
63
|
+
constructor(data: IKtbClubRecievedPrize);
|
|
64
|
+
}
|
|
65
|
+
export interface IKtbClubPrizeDetail extends IKtbClubPrize {
|
|
66
|
+
fullDescription?: string;
|
|
67
|
+
}
|
|
68
|
+
export declare class KtbClubPrizeDetail extends KtbClubPrize implements IKtbClubPrizeDetail {
|
|
69
|
+
fullDescription: string;
|
|
70
|
+
constructor(data: IKtbClubPrizeDetail);
|
|
71
|
+
}
|
|
72
|
+
export interface IKtbCurrentClubInfo {
|
|
73
|
+
currentPoint?: number;
|
|
74
|
+
overallPoint?: number;
|
|
75
|
+
currentLevel?: IKtbClubLevel;
|
|
76
|
+
nextLevel?: IKtbClubLevel;
|
|
77
|
+
pointToLevelup?: number;
|
|
78
|
+
percent?: number;
|
|
79
|
+
}
|
|
80
|
+
export declare class KtbCurrentClubInfo implements IKtbCurrentClubInfo {
|
|
81
|
+
currentPoint?: number;
|
|
82
|
+
overallPoint?: number;
|
|
83
|
+
currentLevel?: IKtbClubLevel;
|
|
84
|
+
nextLevel?: IKtbClubLevel;
|
|
85
|
+
pointToLevelup?: number;
|
|
86
|
+
percent?: number;
|
|
87
|
+
constructor(data: IKtbCurrentClubInfo);
|
|
88
|
+
}
|
|
89
|
+
export interface IKtbClubPointHistory {
|
|
90
|
+
title?: string;
|
|
91
|
+
description?: string;
|
|
92
|
+
point?: number;
|
|
93
|
+
type?: KtbClubPointType;
|
|
94
|
+
creationTime?: Date;
|
|
95
|
+
}
|
|
96
|
+
export declare class KtbClubPointHistory implements IKtbClubPointHistory {
|
|
97
|
+
title?: string;
|
|
98
|
+
description?: string;
|
|
99
|
+
point?: number;
|
|
100
|
+
type?: KtbClubPointType;
|
|
101
|
+
creationTime?: Date;
|
|
102
|
+
constructor(data: IKtbClubPointHistory);
|
|
103
|
+
}
|
|
104
|
+
export declare enum KtbClubPointType {
|
|
105
|
+
All = -1,
|
|
106
|
+
Earned = 1,
|
|
107
|
+
Spend = 2
|
|
108
|
+
}
|
|
109
|
+
export declare enum KtbClubPrizeSortType {
|
|
110
|
+
Default = 0,
|
|
111
|
+
MostPoints = 1,
|
|
112
|
+
MinPoints = 2,
|
|
113
|
+
Oldest = 3,
|
|
114
|
+
Newest = 4
|
|
115
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { KtbEducationGrade } from '../../enums';
|
|
2
|
+
export interface IKtbCourseCmtMember {
|
|
3
|
+
id?: number;
|
|
4
|
+
type?: number;
|
|
5
|
+
userId?: number;
|
|
6
|
+
courseId?: number;
|
|
7
|
+
courseTitle?: string;
|
|
8
|
+
firstName?: string;
|
|
9
|
+
lastName?: string;
|
|
10
|
+
isActive?: boolean;
|
|
11
|
+
imageAddress?: string;
|
|
12
|
+
resume?: string;
|
|
13
|
+
bioGraphy?: string;
|
|
14
|
+
birthDate?: Date;
|
|
15
|
+
studyField?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface IKtbCourseCommitteeFilter {
|
|
18
|
+
filter?: string;
|
|
19
|
+
courseId?: number;
|
|
20
|
+
isActive?: boolean;
|
|
21
|
+
pageNumber?: number;
|
|
22
|
+
pageSize?: number;
|
|
23
|
+
}
|
|
24
|
+
export declare class KtbCourseCmtMember implements IKtbCourseCmtMember {
|
|
25
|
+
id?: number;
|
|
26
|
+
type?: number;
|
|
27
|
+
userId?: number;
|
|
28
|
+
courseId?: number;
|
|
29
|
+
courseTitle?: string;
|
|
30
|
+
firstName?: string;
|
|
31
|
+
lastName?: string;
|
|
32
|
+
isActive?: boolean;
|
|
33
|
+
imageAddress?: string;
|
|
34
|
+
resume?: string;
|
|
35
|
+
bioGraphy?: string;
|
|
36
|
+
birthDate?: Date;
|
|
37
|
+
studyField?: string;
|
|
38
|
+
constructor(data?: IKtbCourseCmtMember);
|
|
39
|
+
}
|
|
40
|
+
export interface IKtbCreateCourseCmtMember {
|
|
41
|
+
userId?: number;
|
|
42
|
+
type?: number;
|
|
43
|
+
firstName?: string;
|
|
44
|
+
lastName?: string;
|
|
45
|
+
image?: Blob;
|
|
46
|
+
studyField?: string;
|
|
47
|
+
resume?: string;
|
|
48
|
+
bioGraphy?: string;
|
|
49
|
+
birthDate?: Date;
|
|
50
|
+
categories?: Array<number>;
|
|
51
|
+
educationGrade?: KtbEducationGrade;
|
|
52
|
+
}
|
|
53
|
+
export declare class KtbCreateCourseCmtMember implements IKtbCreateCourseCmtMember {
|
|
54
|
+
userId?: number;
|
|
55
|
+
type?: number;
|
|
56
|
+
firstName?: string;
|
|
57
|
+
lastName?: string;
|
|
58
|
+
image?: Blob;
|
|
59
|
+
studyField?: string;
|
|
60
|
+
resume?: string;
|
|
61
|
+
bioGraphy?: string;
|
|
62
|
+
birthDate?: Date;
|
|
63
|
+
categories?: Array<number>;
|
|
64
|
+
educationGrade?: KtbEducationGrade;
|
|
65
|
+
constructor(data?: IKtbCreateCourseCmtMember);
|
|
66
|
+
}
|
|
67
|
+
export interface IKtbEditCourseCmtMember {
|
|
68
|
+
id?: number;
|
|
69
|
+
userId?: number;
|
|
70
|
+
type?: number;
|
|
71
|
+
firstName?: string;
|
|
72
|
+
lastName?: string;
|
|
73
|
+
image?: Blob;
|
|
74
|
+
studyField?: string;
|
|
75
|
+
resume?: string;
|
|
76
|
+
bioGraphy?: string;
|
|
77
|
+
birthDate?: string;
|
|
78
|
+
categories?: Array<number>;
|
|
79
|
+
educationGrade?: KtbEducationGrade;
|
|
80
|
+
}
|
|
81
|
+
export declare class KtbEditCourseCmtMember implements IKtbEditCourseCmtMember {
|
|
82
|
+
id?: number;
|
|
83
|
+
userId?: number;
|
|
84
|
+
type?: number;
|
|
85
|
+
firstName?: string;
|
|
86
|
+
lastName?: string;
|
|
87
|
+
image?: Blob;
|
|
88
|
+
studyField?: string;
|
|
89
|
+
resume?: string;
|
|
90
|
+
bioGraphy?: string;
|
|
91
|
+
birthDate?: string;
|
|
92
|
+
categories?: Array<number>;
|
|
93
|
+
educationGrade?: KtbEducationGrade;
|
|
94
|
+
constructor(data?: IKtbEditCourseCmtMember);
|
|
95
|
+
}
|
|
96
|
+
export interface IKtbCourseCmtFilter {
|
|
97
|
+
filter?: string;
|
|
98
|
+
courseId?: number;
|
|
99
|
+
isActive?: boolean;
|
|
100
|
+
pageNumber?: number;
|
|
101
|
+
pageSize?: number;
|
|
102
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './course-committee';
|