@ketab-ir/core 1.2.2 → 1.2.3

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.
Files changed (255) hide show
  1. package/esm2022/lib/constants/ktb-plan.const.mjs +1 -8
  2. package/esm2022/lib/constants/ktb-salessoftware-type.mjs +3 -1
  3. package/esm2022/lib/contracts/api/api-admin.service.mjs +3 -0
  4. package/esm2022/lib/contracts/api/api-request.service.mjs +3 -0
  5. package/esm2022/lib/contracts/api/index.mjs +3 -0
  6. package/esm2022/lib/contracts/awards/course.service.mjs +3 -0
  7. package/esm2022/lib/contracts/awards/index.mjs +6 -0
  8. package/esm2022/lib/contracts/awards/judges.service.mjs +3 -0
  9. package/esm2022/lib/contracts/awards/ktb-award-forms.service.mjs +43 -0
  10. package/esm2022/lib/contracts/awards/ktb-committe.service.mjs +3 -0
  11. package/esm2022/lib/contracts/awards/submission.service.mjs +3 -0
  12. package/esm2022/lib/contracts/base/ktb-loading.service.mjs +1 -1
  13. package/esm2022/lib/contracts/base/ktb-plan.service.mjs +1 -1
  14. package/esm2022/lib/contracts/base/ktb-users-families.service.mjs +1 -1
  15. package/esm2022/lib/contracts/cash-backs/ktb-admin-cash-back.service.mjs +1 -1
  16. package/esm2022/lib/contracts/clubs/index.mjs +2 -0
  17. package/esm2022/lib/contracts/clubs/ktb-clubs.service.mjs +11 -0
  18. package/esm2022/lib/contracts/index.mjs +6 -1
  19. package/esm2022/lib/contracts/literature/index.mjs +2 -0
  20. package/esm2022/lib/contracts/literature/literature.service.mjs +3 -0
  21. package/esm2022/lib/contracts/news/index.mjs +2 -0
  22. package/esm2022/lib/contracts/news/news.service.mjs +3 -0
  23. package/esm2022/lib/contracts/orders/ktb-order.service.mjs +1 -1
  24. package/esm2022/lib/contracts/products/ktb-product.service.mjs +1 -1
  25. package/esm2022/lib/contracts/transaction/ktb-transaction-service.mjs +1 -1
  26. package/esm2022/lib/contracts/vendors/ktb-vendor.service.mjs +1 -1
  27. package/esm2022/lib/enums/index.mjs +20 -1
  28. package/esm2022/lib/enums/ktb-api-plan-options.mjs +22 -0
  29. package/esm2022/lib/enums/ktb-api-request-status.mjs +16 -0
  30. package/esm2022/lib/enums/ktb-article.mjs +9 -0
  31. package/esm2022/lib/enums/ktb-book-type.mjs +7 -0
  32. package/esm2022/lib/enums/ktb-course-status.mjs +7 -0
  33. package/esm2022/lib/enums/ktb-course-type.mjs +19 -0
  34. package/esm2022/lib/enums/ktb-education-grade.mjs +10 -0
  35. package/esm2022/lib/enums/ktb-files.mjs +8 -0
  36. package/esm2022/lib/enums/ktb-literature-submission.mjs +17 -0
  37. package/esm2022/lib/enums/ktb-news.mjs +35 -0
  38. package/esm2022/lib/enums/ktb-operation-type.enum.mjs +3 -1
  39. package/esm2022/lib/enums/ktb-plan-vendor.enum.mjs +19 -1
  40. package/esm2022/lib/enums/ktb-referee-allocation-status.mjs +7 -0
  41. package/esm2022/lib/enums/ktb-reject-sale-plan-type.mjs +8 -0
  42. package/esm2022/lib/enums/ktb-submission-bulk-type.mjs +6 -0
  43. package/esm2022/lib/enums/ktb-submission-status.mjs +14 -0
  44. package/esm2022/lib/enums/ktb-upload-file-status.mjs +8 -0
  45. package/esm2022/lib/enums/ktb-upload-file-type.mjs +8 -0
  46. package/esm2022/lib/enums/ktb-vendor-register-type.mjs +11 -0
  47. package/esm2022/lib/enums/ktb-withdrawal-requester.type.mjs +6 -0
  48. package/esm2022/lib/models/api/api-admin-request.mjs +12 -0
  49. package/esm2022/lib/models/api/api-chart-usage-data.mjs +12 -0
  50. package/esm2022/lib/models/api/api-export-file.mjs +2 -0
  51. package/esm2022/lib/models/api/api-grid-filter.mjs +2 -0
  52. package/esm2022/lib/models/api/api-history-for-admin.mjs +12 -0
  53. package/esm2022/lib/models/api/api-plans.mjs +12 -0
  54. package/esm2022/lib/models/api/api-request.mjs +12 -0
  55. package/esm2022/lib/models/api/api-usage-filter-button.mjs +12 -0
  56. package/esm2022/lib/models/api/api-usage-model.mjs +12 -0
  57. package/esm2022/lib/models/api/date-filter.mjs +2 -0
  58. package/esm2022/lib/models/api/index.mjs +11 -0
  59. package/esm2022/lib/models/base/index.mjs +3 -1
  60. package/esm2022/lib/models/base/ktb-chips.mjs +2 -0
  61. package/esm2022/lib/models/base/ktb-paged-result-input.mjs +1 -1
  62. package/esm2022/lib/models/base/ktb-person-incharge.mjs +2 -0
  63. package/esm2022/lib/models/base/ktb-saleplan.mjs +69 -1
  64. package/esm2022/lib/models/baskets/ktb-basket-item.mjs +3 -1
  65. package/esm2022/lib/models/baskets/ktb-basket.mjs +2 -2
  66. package/esm2022/lib/models/cash-banck/ktb-cash-back-for-admin.mjs +1 -1
  67. package/esm2022/lib/models/clubs/index.mjs +2 -0
  68. package/esm2022/lib/models/clubs/ktb-club-reward.mjs +79 -0
  69. package/esm2022/lib/models/committee/course-committee.mjs +36 -0
  70. package/esm2022/lib/models/committee/index.mjs +2 -0
  71. package/esm2022/lib/models/courses/course-image.mjs +45 -0
  72. package/esm2022/lib/models/courses/course.mjs +59 -0
  73. package/esm2022/lib/models/courses/index.mjs +4 -0
  74. package/esm2022/lib/models/courses/submission.mjs +122 -0
  75. package/esm2022/lib/models/faq/ktb-faq-filter.mjs +7 -2
  76. package/esm2022/lib/models/favorites/ktb-favorite.mjs +1 -1
  77. package/esm2022/lib/models/filters/chip-filter-button.mjs +12 -0
  78. package/esm2022/lib/models/filters/index.mjs +2 -0
  79. package/esm2022/lib/models/index.mjs +11 -1
  80. package/esm2022/lib/models/judges/course-jedges.mjs +12 -0
  81. package/esm2022/lib/models/judges/index.mjs +5 -0
  82. package/esm2022/lib/models/judges/judges-submission-filter.mjs +12 -0
  83. package/esm2022/lib/models/judges/judges-submission.mjs +12 -0
  84. package/esm2022/lib/models/judges/judges.mjs +45 -0
  85. package/esm2022/lib/models/literature/article-detail.mjs +12 -0
  86. package/esm2022/lib/models/literature/article-filter.mjs +2 -0
  87. package/esm2022/lib/models/literature/article-sender.mjs +12 -0
  88. package/esm2022/lib/models/literature/article.mjs +12 -0
  89. package/esm2022/lib/models/literature/index.mjs +12 -0
  90. package/esm2022/lib/models/literature/literature-author.mjs +23 -0
  91. package/esm2022/lib/models/literature/literature-edit.mjs +2 -0
  92. package/esm2022/lib/models/literature/literature-review-detail.mjs +12 -0
  93. package/esm2022/lib/models/literature/literature-reviewer.mjs +34 -0
  94. package/esm2022/lib/models/literature/literature-submission-detail.mjs +12 -0
  95. package/esm2022/lib/models/literature/literature-submission-filter.mjs +12 -0
  96. package/esm2022/lib/models/literature/literature-submission.mjs +12 -0
  97. package/esm2022/lib/models/message/ktb-message-for-admin-filter.mjs +3 -1
  98. package/esm2022/lib/models/message-receiver/ktb-message-reciver-filter.mjs +3 -1
  99. package/esm2022/lib/models/news/index.mjs +11 -0
  100. package/esm2022/lib/models/news/news-create.mjs +12 -0
  101. package/esm2022/lib/models/news/news-detail.mjs +12 -0
  102. package/esm2022/lib/models/news/news-edit.mjs +12 -0
  103. package/esm2022/lib/models/news/news-file.mjs +12 -0
  104. package/esm2022/lib/models/news/news-filter.mjs +2 -0
  105. package/esm2022/lib/models/news/news-image.mjs +17 -0
  106. package/esm2022/lib/models/news/news-keyWords.mjs +12 -0
  107. package/esm2022/lib/models/news/news-langueges.mjs +12 -0
  108. package/esm2022/lib/models/news/news-link.mjs +13 -0
  109. package/esm2022/lib/models/news/news.mjs +12 -0
  110. package/esm2022/lib/models/operations/ktb-operation.mjs +11 -6
  111. package/esm2022/lib/models/orders/ktb-orders.mjs +23 -1
  112. package/esm2022/lib/models/plans/ktb-plans.mjs +117 -1
  113. package/esm2022/lib/models/products/ktb-product.mjs +1 -1
  114. package/esm2022/lib/models/purchase/ktb-purchase.mjs +34 -1
  115. package/esm2022/lib/models/search/ktb-subject-category.mjs +2 -2
  116. package/esm2022/lib/models/tickets/ktb-ticket-for-admin-filter.mjs +1 -1
  117. package/esm2022/lib/models/upload-files/index.mjs +3 -0
  118. package/esm2022/lib/models/upload-files/vendor-uploaded-file-filter.mjs +2 -0
  119. package/esm2022/lib/models/upload-files/vendor-uploaded-files.mjs +12 -0
  120. package/esm2022/lib/models/users/ktb-user.mjs +8 -1
  121. package/esm2022/lib/models/vendor-comments/ktb-vendor-comment-for-admin-filter.mjs +1 -1
  122. package/esm2022/lib/models/vendors/ktb-create-vendor.mjs +1 -1
  123. package/esm2022/lib/models/vendors/ktb-edit-vendor.mjs +1 -1
  124. package/esm2022/lib/models/vendors/ktb-vendor.mjs +12 -1
  125. package/esm2022/lib/models/violations/ktb-violation-for-admin-filter.mjs +1 -1
  126. package/esm2022/lib/models/wallet/index.mjs +2 -0
  127. package/esm2022/lib/models/wallet/ktb-create-wallet-charge-requests-input.mjs +23 -0
  128. package/fesm2022/ketab-ir-core.mjs +2607 -1216
  129. package/fesm2022/ketab-ir-core.mjs.map +1 -1
  130. package/lib/constants/ktb-plan.const.d.ts +0 -5
  131. package/lib/constants/ktb-salessoftware-type.d.ts +3 -1
  132. package/lib/contracts/api/api-admin.service.d.ts +18 -0
  133. package/lib/contracts/api/api-request.service.d.ts +16 -0
  134. package/lib/contracts/api/index.d.ts +2 -0
  135. package/lib/contracts/awards/course.service.d.ts +30 -0
  136. package/lib/contracts/awards/index.d.ts +5 -0
  137. package/lib/contracts/awards/judges.service.d.ts +49 -0
  138. package/lib/contracts/awards/ktb-award-forms.service.d.ts +83 -0
  139. package/lib/contracts/awards/ktb-committe.service.d.ts +10 -0
  140. package/lib/contracts/awards/submission.service.d.ts +24 -0
  141. package/lib/contracts/base/ktb-loading.service.d.ts +1 -1
  142. package/lib/contracts/base/ktb-plan.service.d.ts +24 -5
  143. package/lib/contracts/base/ktb-users-families.service.d.ts +3 -3
  144. package/lib/contracts/cash-backs/ktb-admin-cash-back.service.d.ts +2 -2
  145. package/lib/contracts/clubs/index.d.ts +1 -0
  146. package/lib/contracts/clubs/ktb-clubs.service.d.ts +36 -0
  147. package/lib/contracts/index.d.ts +5 -0
  148. package/lib/contracts/literature/index.d.ts +1 -0
  149. package/lib/contracts/literature/literature.service.d.ts +31 -0
  150. package/lib/contracts/news/index.d.ts +1 -0
  151. package/lib/contracts/news/news.service.d.ts +17 -0
  152. package/lib/contracts/orders/ktb-order.service.d.ts +7 -1
  153. package/lib/contracts/products/ktb-product.service.d.ts +6 -1
  154. package/lib/contracts/transaction/ktb-transaction-service.d.ts +4 -3
  155. package/lib/contracts/vendors/ktb-vendor.service.d.ts +6 -3
  156. package/lib/enums/index.d.ts +19 -0
  157. package/lib/enums/ktb-api-plan-options.d.ts +20 -0
  158. package/lib/enums/ktb-api-request-status.d.ts +8 -0
  159. package/lib/enums/ktb-article.d.ts +7 -0
  160. package/lib/enums/ktb-book-type.d.ts +5 -0
  161. package/lib/enums/ktb-course-status.d.ts +5 -0
  162. package/lib/enums/ktb-course-type.d.ts +16 -0
  163. package/lib/enums/ktb-education-grade.d.ts +8 -0
  164. package/lib/enums/ktb-files.d.ts +6 -0
  165. package/lib/enums/ktb-literature-submission.d.ts +14 -0
  166. package/lib/enums/ktb-news.d.ts +29 -0
  167. package/lib/enums/ktb-operation-type.enum.d.ts +3 -1
  168. package/lib/enums/ktb-plan-vendor.enum.d.ts +17 -1
  169. package/lib/enums/ktb-referee-allocation-status.d.ts +5 -0
  170. package/lib/enums/ktb-reject-sale-plan-type.d.ts +6 -0
  171. package/lib/enums/ktb-submission-bulk-type.d.ts +4 -0
  172. package/lib/enums/ktb-submission-status.d.ts +12 -0
  173. package/lib/enums/ktb-upload-file-status.d.ts +6 -0
  174. package/lib/enums/ktb-upload-file-type.d.ts +6 -0
  175. package/lib/enums/ktb-vendor-register-type.d.ts +8 -0
  176. package/lib/enums/ktb-withdrawal-requester.type.d.ts +4 -0
  177. package/lib/models/api/api-admin-request.d.ts +26 -0
  178. package/lib/models/api/api-chart-usage-data.d.ts +23 -0
  179. package/lib/models/api/api-export-file.d.ts +6 -0
  180. package/lib/models/api/api-grid-filter.d.ts +29 -0
  181. package/lib/models/api/api-history-for-admin.d.ts +21 -0
  182. package/lib/models/api/api-plans.d.ts +31 -0
  183. package/lib/models/api/api-request.d.ts +20 -0
  184. package/lib/models/api/api-usage-filter-button.d.ts +11 -0
  185. package/lib/models/api/api-usage-model.d.ts +17 -0
  186. package/lib/models/api/date-filter.d.ts +4 -0
  187. package/lib/models/api/index.d.ts +10 -0
  188. package/lib/models/base/index.d.ts +2 -0
  189. package/lib/models/base/ktb-chips.d.ts +5 -0
  190. package/lib/models/base/ktb-paged-result-input.d.ts +2 -2
  191. package/lib/models/base/ktb-person-incharge.d.ts +6 -0
  192. package/lib/models/base/ktb-saleplan.d.ts +352 -15
  193. package/lib/models/baskets/ktb-basket-item.d.ts +4 -0
  194. package/lib/models/cash-banck/ktb-cash-back-for-admin.d.ts +3 -0
  195. package/lib/models/clubs/index.d.ts +1 -0
  196. package/lib/models/clubs/ktb-club-reward.d.ts +115 -0
  197. package/lib/models/committee/course-committee.d.ts +102 -0
  198. package/lib/models/committee/index.d.ts +1 -0
  199. package/lib/models/courses/course-image.d.ts +59 -0
  200. package/lib/models/courses/course.d.ts +158 -0
  201. package/lib/models/courses/index.d.ts +3 -0
  202. package/lib/models/courses/submission.d.ts +329 -0
  203. package/lib/models/faq/ktb-faq-filter.d.ts +6 -0
  204. package/lib/models/favorites/ktb-favorite.d.ts +2 -0
  205. package/lib/models/filters/chip-filter-button.d.ts +11 -0
  206. package/lib/models/filters/index.d.ts +1 -0
  207. package/lib/models/index.d.ts +10 -0
  208. package/lib/models/judges/course-jedges.d.ts +39 -0
  209. package/lib/models/judges/index.d.ts +4 -0
  210. package/lib/models/judges/judges-submission-filter.d.ts +19 -0
  211. package/lib/models/judges/judges-submission.d.ts +37 -0
  212. package/lib/models/judges/judges.d.ts +159 -0
  213. package/lib/models/literature/article-detail.d.ts +25 -0
  214. package/lib/models/literature/article-filter.d.ts +14 -0
  215. package/lib/models/literature/article-sender.d.ts +13 -0
  216. package/lib/models/literature/article.d.ts +22 -0
  217. package/lib/models/literature/index.d.ts +11 -0
  218. package/lib/models/literature/literature-author.d.ts +38 -0
  219. package/lib/models/literature/literature-edit.d.ts +6 -0
  220. package/lib/models/literature/literature-review-detail.d.ts +33 -0
  221. package/lib/models/literature/literature-reviewer.d.ts +115 -0
  222. package/lib/models/literature/literature-submission-detail.d.ts +27 -0
  223. package/lib/models/literature/literature-submission-filter.d.ts +31 -0
  224. package/lib/models/literature/literature-submission.d.ts +35 -0
  225. package/lib/models/message/ktb-message-for-admin-filter.d.ts +4 -5
  226. package/lib/models/message-receiver/ktb-message-reciver-filter.d.ts +5 -6
  227. package/lib/models/news/index.d.ts +10 -0
  228. package/lib/models/news/news-create.d.ts +57 -0
  229. package/lib/models/news/news-detail.d.ts +71 -0
  230. package/lib/models/news/news-edit.d.ts +57 -0
  231. package/lib/models/news/news-file.d.ts +16 -0
  232. package/lib/models/news/news-filter.d.ts +15 -0
  233. package/lib/models/news/news-image.d.ts +17 -0
  234. package/lib/models/news/news-keyWords.d.ts +9 -0
  235. package/lib/models/news/news-langueges.d.ts +16 -0
  236. package/lib/models/news/news-link.d.ts +13 -0
  237. package/lib/models/news/news.d.ts +34 -0
  238. package/lib/models/operations/ktb-operation.d.ts +43 -23
  239. package/lib/models/orders/ktb-orders.d.ts +58 -0
  240. package/lib/models/plans/ktb-plans.d.ts +244 -2
  241. package/lib/models/products/ktb-product.d.ts +3 -1
  242. package/lib/models/purchase/ktb-purchase.d.ts +69 -0
  243. package/lib/models/tickets/ktb-ticket-for-admin-filter.d.ts +2 -4
  244. package/lib/models/upload-files/index.d.ts +2 -0
  245. package/lib/models/upload-files/vendor-uploaded-file-filter.d.ts +13 -0
  246. package/lib/models/upload-files/vendor-uploaded-files.d.ts +22 -0
  247. package/lib/models/users/ktb-user.d.ts +11 -0
  248. package/lib/models/vendor-comments/ktb-vendor-comment-for-admin-filter.d.ts +2 -4
  249. package/lib/models/vendors/ktb-create-vendor.d.ts +14 -5
  250. package/lib/models/vendors/ktb-edit-vendor.d.ts +17 -6
  251. package/lib/models/vendors/ktb-vendor.d.ts +32 -3
  252. package/lib/models/violations/ktb-violation-for-admin-filter.d.ts +2 -3
  253. package/lib/models/wallet/index.d.ts +1 -0
  254. package/lib/models/wallet/ktb-create-wallet-charge-requests-input.d.ts +26 -0
  255. package/package.json +1 -1
@@ -246,11 +246,18 @@ class KtbUser {
246
246
  this.gender = user.gender;
247
247
  this.relation = user.relation;
248
248
  this.birthDateAsDate = new Date(user.birthDate);
249
+ this.permissions = user.permissions;
249
250
  }
250
251
  get fullName() {
251
252
  return this.name + ' ' + this.family;
252
253
  }
253
254
  }
255
+ class UserPermissionDto {
256
+ constructor(userPermission) {
257
+ this.permission = userPermission.permission;
258
+ this.levels = userPermission.levels;
259
+ }
260
+ }
254
261
 
255
262
  class UserAddress {
256
263
  constructor(data) {
@@ -394,6 +401,17 @@ class KtbExportVendorAdminFilter {
394
401
  }
395
402
  }
396
403
  }
404
+ class KtbVendorLocation {
405
+ constructor(data) {
406
+ if (data) {
407
+ for (const property in data) {
408
+ // eslint-disable-next-line no-prototype-builtins
409
+ if (data.hasOwnProperty(property))
410
+ this[property] = data[property];
411
+ }
412
+ }
413
+ }
414
+ }
397
415
 
398
416
  class KtbVendorDetail extends KtbVendor {
399
417
  // socialMedias?: IKtbVendorSocialMedia[];
@@ -626,257 +644,1926 @@ class KtbVendorCmStats {
626
644
  }
627
645
  }
628
646
 
629
- class KtbSalePlanView {
630
- constructor(data) {
631
- if (data) {
632
- this.id = data.id;
633
- this.uniqId = data.uniqId;
634
- this.title = data.title;
635
- this.description = data.description;
636
- }
637
- }
638
- }
639
- class KtbGetSalePlanForVendorDtoPaged {
640
- constructor(data) {
641
- if (data) {
642
- this.totalCount = data.totalCount;
643
- this.items = data.items;
644
- }
645
- }
646
- }
647
- class KtbGetSalePlanForVendor {
648
- constructor(data) {
649
- if (data) {
650
- for (const property in data) {
651
- // eslint-disable-next-line no-prototype-builtins
652
- if (data.hasOwnProperty(property))
653
- this[property] = data[property];
654
- }
655
- }
656
- }
657
- }
658
- class KtbGetSalePlanDetailsForVendor {
659
- constructor(data) {
660
- if (data) {
661
- for (const property in data) {
662
- // eslint-disable-next-line no-prototype-builtins
663
- if (data.hasOwnProperty(property))
664
- this[property] = data[property];
665
- }
666
- }
667
- }
668
- }
647
+ var KtbNotificationEnum;
648
+ (function (KtbNotificationEnum) {
649
+ KtbNotificationEnum[KtbNotificationEnum["Order"] = 0] = "Order";
650
+ KtbNotificationEnum[KtbNotificationEnum["Credit"] = 1] = "Credit";
651
+ KtbNotificationEnum[KtbNotificationEnum["Ticket"] = 2] = "Ticket";
652
+ KtbNotificationEnum[KtbNotificationEnum["Gift"] = 3] = "Gift";
653
+ })(KtbNotificationEnum || (KtbNotificationEnum = {}));
669
654
 
670
- class KtbPageResult {
671
- constructor(data) {
672
- if (data) {
673
- for (const property in data) {
674
- // eslint-disable-next-line no-prototype-builtins
675
- if (data.hasOwnProperty(property))
676
- this[property] = data[property];
677
- }
678
- }
679
- }
680
- }
655
+ var KtbCouponType;
656
+ (function (KtbCouponType) {
657
+ KtbCouponType[KtbCouponType["Coupon"] = 1] = "Coupon";
658
+ KtbCouponType[KtbCouponType["Voucher"] = 2] = "Voucher";
659
+ KtbCouponType[KtbCouponType["Gift"] = 3] = "Gift";
660
+ KtbCouponType[KtbCouponType["CoorperativeSubsidy"] = 4] = "CoorperativeSubsidy";
661
+ })(KtbCouponType || (KtbCouponType = {}));
681
662
 
682
- class KtbBanner {
683
- constructor(data) {
684
- if (data) {
685
- this.id = data.id;
686
- this.title = data.title;
687
- this.imageAddress = data.imageAddress;
688
- this.mobileImageAddress = data.mobileImageAddress;
689
- this.description = data.description;
690
- this.url = data.url;
691
- this.position = data.position;
692
- this.isActive = data.isActive;
693
- this.creationTime = data.creationTime;
694
- this.priority = data.priority;
695
- }
696
- }
697
- }
698
- class KtbAddBanner {
699
- constructor(data) {
700
- if (data) {
701
- for (const property in data) {
702
- // eslint-disable-next-line no-prototype-builtins
703
- if (data.hasOwnProperty(property))
704
- this[property] = data[property];
705
- }
706
- }
707
- }
708
- }
663
+ var KtbTransactionEnum;
664
+ (function (KtbTransactionEnum) {
665
+ KtbTransactionEnum["Purchase_Book_System"] = "Purchase_Book_System";
666
+ KtbTransactionEnum["Increase_Balance"] = "Increase_Balance";
667
+ KtbTransactionEnum["Refund"] = "Refund";
668
+ KtbTransactionEnum["Increase_Credit"] = "Increase_Credit";
669
+ })(KtbTransactionEnum || (KtbTransactionEnum = {}));
670
+ var KtbTransactionTypesEnum;
671
+ (function (KtbTransactionTypesEnum) {
672
+ KtbTransactionTypesEnum[KtbTransactionTypesEnum["All"] = 0] = "All";
673
+ KtbTransactionTypesEnum[KtbTransactionTypesEnum["Payed"] = 1] = "Payed";
674
+ KtbTransactionTypesEnum[KtbTransactionTypesEnum["Received"] = 2] = "Received";
675
+ KtbTransactionTypesEnum[KtbTransactionTypesEnum["Credit"] = 3] = "Credit";
676
+ KtbTransactionTypesEnum[KtbTransactionTypesEnum["Canceled"] = 4] = "Canceled";
677
+ })(KtbTransactionTypesEnum || (KtbTransactionTypesEnum = {}));
678
+ const KtbTransactionTypes = [
679
+ { value: 0, title: 'All', label: 'همه', isShow: true },
680
+ { value: 1, title: 'Payed', label: 'پرداخت', isShow: true },
681
+ { value: 2, title: 'Received', label: 'دریافت', isShow: true },
682
+ { value: 3, title: 'Credit', label: 'اعتباری', isShow: false },
683
+ { value: 4, title: 'Canceled', label: 'کنسل', isShow: false }
684
+ ];
709
685
 
710
- class KtbLookup {
711
- constructor(data) {
712
- if (data) {
713
- for (const property in data) {
714
- // eslint-disable-next-line no-prototype-builtins
715
- if (data.hasOwnProperty(property))
716
- this[property] = data[property];
717
- }
718
- }
719
- }
720
- }
686
+ var KtbShopsTabs;
687
+ (function (KtbShopsTabs) {
688
+ KtbShopsTabs[KtbShopsTabs["allShops"] = 1] = "allShops";
689
+ KtbShopsTabs[KtbShopsTabs["myCity"] = 2] = "myCity";
690
+ })(KtbShopsTabs || (KtbShopsTabs = {}));
721
691
 
722
- class KFilter {
723
- constructor(data) {
724
- this.selected = false;
725
- if (data) {
726
- for (const property in data) {
727
- // eslint-disable-next-line no-prototype-builtins
728
- if (data.hasOwnProperty(property))
729
- this[property] = data[property];
730
- }
731
- }
732
- }
733
- }
692
+ var KtbPaymentType;
693
+ (function (KtbPaymentType) {
694
+ KtbPaymentType[KtbPaymentType["Withdrawal"] = 0] = "Withdrawal";
695
+ KtbPaymentType[KtbPaymentType["Gift"] = 1] = "Gift";
696
+ KtbPaymentType[KtbPaymentType["Deposit"] = 2] = "Deposit";
697
+ KtbPaymentType[KtbPaymentType["CreditCode"] = 3] = "CreditCode";
698
+ })(KtbPaymentType || (KtbPaymentType = {}));
734
699
 
735
- class KtbSubjectCategory {
736
- constructor(data) {
737
- if (data) {
738
- this.id = data.id;
739
- this.title = data.title;
740
- this.priority = data.priority;
741
- this.imageAddress = 'ktb-' + data.imageAddress;
742
- this.parentId = data.parentId;
743
- this.children = data.children;
744
- }
745
- }
746
- }
700
+ var KtbPaymentMessageType;
701
+ (function (KtbPaymentMessageType) {
702
+ KtbPaymentMessageType[KtbPaymentMessageType["CODE"] = 0] = "CODE";
703
+ KtbPaymentMessageType[KtbPaymentMessageType["PRICE"] = 1] = "PRICE";
704
+ })(KtbPaymentMessageType || (KtbPaymentMessageType = {}));
747
705
 
748
- class KtbAuthors {
749
- constructor(data) {
750
- if (data) {
751
- for (const property in data) {
752
- // eslint-disable-next-line no-prototype-builtins
753
- if (data.hasOwnProperty(property))
754
- this[property] = data[property];
755
- }
756
- }
757
- }
758
- }
759
- class KtbAuthorsResult {
760
- constructor(data) {
761
- if (data) {
762
- this.totalCount = data.totalCount;
763
- this.items = data.items;
764
- }
765
- }
766
- }
706
+ var KtbIconsEnum;
707
+ (function (KtbIconsEnum) {
708
+ KtbIconsEnum["Toman"] = "ktb-toman";
709
+ KtbIconsEnum["Gift"] = "ktb-gift";
710
+ KtbIconsEnum["Ticket"] = "ktb-ticket";
711
+ KtbIconsEnum["Quote"] = "ktb-quote";
712
+ KtbIconsEnum["Close"] = "ktb-close";
713
+ KtbIconsEnum["ArrowLeft"] = "ktb-back";
714
+ KtbIconsEnum["CloseCircle"] = "ktb-close-circle";
715
+ KtbIconsEnum["BillList"] = "ktb-bill-list";
716
+ KtbIconsEnum["Plan"] = "ktb-plan";
717
+ KtbIconsEnum["Support"] = "ktb-support";
718
+ KtbIconsEnum["Like"] = "ktb-like";
719
+ KtbIconsEnum["LikeFilled"] = "ktb-like-filled";
720
+ KtbIconsEnum["Printer"] = "ktb-printer";
721
+ KtbIconsEnum["CarrotRight"] = "ktb-carrot-right";
722
+ KtbIconsEnum["Delivery"] = "ktb-delivery";
723
+ KtbIconsEnum["Document"] = "ktb-document";
724
+ KtbIconsEnum["Shop"] = "ktb-shop";
725
+ KtbIconsEnum["Post"] = "/assets/icons/png/img-post.png";
726
+ KtbIconsEnum["SecurePaymentLine"] = "ktb-secure-payment-line";
727
+ KtbIconsEnum["Info"] = "ktb-info";
728
+ KtbIconsEnum["UploadSquare"] = "ktb-upload-square";
729
+ KtbIconsEnum["ErrorInfo"] = "/assets/icons/error-info";
730
+ KtbIconsEnum["ErrorFilled"] = "ktb-error-filled";
731
+ KtbIconsEnum["Error"] = "ktb-error";
732
+ KtbIconsEnum["Question"] = "ktb-question";
733
+ KtbIconsEnum["ChevronLeft"] = "ktb-chevron-left";
734
+ KtbIconsEnum["Wallet"] = "ktb-wallet";
735
+ KtbIconsEnum["MoreFilled"] = "ktb-more-filled";
736
+ KtbIconsEnum["ReturnBook"] = "ktb-return-book";
737
+ })(KtbIconsEnum || (KtbIconsEnum = {}));
767
738
 
768
- class KtbPublisher {
769
- constructor(data) {
770
- this.title = '';
771
- if (data) {
772
- for (const property in data) {
773
- if (Object.prototype.hasOwnProperty.call(data, property)) {
774
- this[property] = data[property];
775
- }
776
- }
777
- }
778
- }
779
- }
739
+ var KtbTicketCategoriesEnum;
740
+ (function (KtbTicketCategoriesEnum) {
741
+ KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Comment"] = 1] = "Comment";
742
+ KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Cancel"] = 2] = "Cancel";
743
+ KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Failed"] = 3] = "Failed";
744
+ KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Delivery"] = 4] = "Delivery";
745
+ KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Unregistered"] = 5] = "Unregistered";
746
+ KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Price"] = 6] = "Price";
747
+ KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Payment"] = 7] = "Payment";
748
+ KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Credit"] = 8] = "Credit";
749
+ KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Visited"] = 9] = "Visited";
750
+ KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Defectiveness"] = 10] = "Defectiveness";
751
+ })(KtbTicketCategoriesEnum || (KtbTicketCategoriesEnum = {}));
780
752
 
781
- class KtbPublishersResult {
782
- constructor(data) {
783
- this.totalCount = 0;
753
+ var KtbProductTypeEnum;
754
+ (function (KtbProductTypeEnum) {
755
+ KtbProductTypeEnum[KtbProductTypeEnum["SpecialDiscount"] = 1] = "SpecialDiscount";
756
+ KtbProductTypeEnum[KtbProductTypeEnum["Kids"] = 2] = "Kids";
757
+ KtbProductTypeEnum[KtbProductTypeEnum["BestSeller"] = 3] = "BestSeller";
758
+ KtbProductTypeEnum[KtbProductTypeEnum["Newest"] = 4] = "Newest";
759
+ KtbProductTypeEnum[KtbProductTypeEnum["Offer"] = 5] = "Offer";
760
+ KtbProductTypeEnum[KtbProductTypeEnum["BestBook"] = 6] = "BestBook";
761
+ })(KtbProductTypeEnum || (KtbProductTypeEnum = {}));
762
+
763
+ var KtbRelationTypeEnum;
764
+ (function (KtbRelationTypeEnum) {
765
+ KtbRelationTypeEnum[KtbRelationTypeEnum["Spouse"] = 1] = "Spouse";
766
+ KtbRelationTypeEnum[KtbRelationTypeEnum["Child"] = 2] = "Child";
767
+ KtbRelationTypeEnum[KtbRelationTypeEnum["Brother"] = 3] = "Brother";
768
+ KtbRelationTypeEnum[KtbRelationTypeEnum["Sister"] = 4] = "Sister";
769
+ KtbRelationTypeEnum[KtbRelationTypeEnum["Father"] = 5] = "Father";
770
+ KtbRelationTypeEnum[KtbRelationTypeEnum["Mother"] = 6] = "Mother";
771
+ })(KtbRelationTypeEnum || (KtbRelationTypeEnum = {}));
772
+
773
+ var KtbValidatePasswordEnum;
774
+ (function (KtbValidatePasswordEnum) {
775
+ KtbValidatePasswordEnum[KtbValidatePasswordEnum["Required"] = 0] = "Required";
776
+ KtbValidatePasswordEnum[KtbValidatePasswordEnum["MinLength"] = 1] = "MinLength";
777
+ KtbValidatePasswordEnum[KtbValidatePasswordEnum["UpperCaseAndLowerCase"] = 2] = "UpperCaseAndLowerCase";
778
+ KtbValidatePasswordEnum[KtbValidatePasswordEnum["IsNumber"] = 3] = "IsNumber";
779
+ KtbValidatePasswordEnum[KtbValidatePasswordEnum["Pattern"] = 4] = "Pattern";
780
+ })(KtbValidatePasswordEnum || (KtbValidatePasswordEnum = {}));
781
+
782
+ var KtbOrderItemStatusEnum;
783
+ (function (KtbOrderItemStatusEnum) {
784
+ KtbOrderItemStatusEnum[KtbOrderItemStatusEnum["preparing"] = 0] = "preparing";
785
+ KtbOrderItemStatusEnum[KtbOrderItemStatusEnum["AwaitingPayment"] = 1] = "AwaitingPayment";
786
+ KtbOrderItemStatusEnum[KtbOrderItemStatusEnum["Delivered"] = 2] = "Delivered";
787
+ })(KtbOrderItemStatusEnum || (KtbOrderItemStatusEnum = {}));
788
+ var KtbPostStatusEnum;
789
+ (function (KtbPostStatusEnum) {
790
+ KtbPostStatusEnum[KtbPostStatusEnum["RegisteredInStore"] = 0] = "RegisteredInStore";
791
+ KtbPostStatusEnum[KtbPostStatusEnum["ReadyToPrint"] = 1] = "ReadyToPrint";
792
+ KtbPostStatusEnum[KtbPostStatusEnum["ReadyToSend"] = 2] = "ReadyToSend";
793
+ KtbPostStatusEnum[KtbPostStatusEnum["ProblemInReadyToSend"] = 3] = "ProblemInReadyToSend";
794
+ KtbPostStatusEnum[KtbPostStatusEnum["StoreNotAvailable"] = 4] = "StoreNotAvailable";
795
+ KtbPostStatusEnum[KtbPostStatusEnum["Accepted"] = 5] = "Accepted";
796
+ KtbPostStatusEnum[KtbPostStatusEnum["CantBeAccepted"] = 6] = "CantBeAccepted";
797
+ KtbPostStatusEnum[KtbPostStatusEnum["Distributed"] = 7] = "Distributed";
798
+ KtbPostStatusEnum[KtbPostStatusEnum["DelayedInOffice"] = 8] = "DelayedInOffice";
799
+ KtbPostStatusEnum[KtbPostStatusEnum["CantBeDistribute"] = 9] = "CantBeDistribute";
800
+ KtbPostStatusEnum[KtbPostStatusEnum["PreReturn"] = 10] = "PreReturn";
801
+ KtbPostStatusEnum[KtbPostStatusEnum["FinalReturnRegistered"] = 11] = "FinalReturnRegistered";
802
+ KtbPostStatusEnum[KtbPostStatusEnum["Damaged"] = 12] = "Damaged";
803
+ KtbPostStatusEnum[KtbPostStatusEnum["DamagedRepaid"] = 13] = "DamagedRepaid";
804
+ KtbPostStatusEnum[KtbPostStatusEnum["AcceptedByFinancial"] = 70] = "AcceptedByFinancial";
805
+ KtbPostStatusEnum[KtbPostStatusEnum["PaidByFinacial"] = 71] = "PaidByFinacial";
806
+ KtbPostStatusEnum[KtbPostStatusEnum["PaiedToPost"] = 72] = "PaiedToPost";
807
+ KtbPostStatusEnum[KtbPostStatusEnum["Deleted"] = 80] = "Deleted";
808
+ KtbPostStatusEnum[KtbPostStatusEnum["Unknown"] = 81] = "Unknown";
809
+ KtbPostStatusEnum[KtbPostStatusEnum["RemainingAccepted"] = 82] = "RemainingAccepted";
810
+ KtbPostStatusEnum[KtbPostStatusEnum["ReturnApproved"] = 83] = "ReturnApproved";
811
+ KtbPostStatusEnum[KtbPostStatusEnum["AwaitingInquiry"] = 100] = "AwaitingInquiry";
812
+ KtbPostStatusEnum[KtbPostStatusEnum["ChangingState"] = 101] = "ChangingState";
813
+ })(KtbPostStatusEnum || (KtbPostStatusEnum = {}));
814
+ var KtbSendOrderStatus;
815
+ (function (KtbSendOrderStatus) {
816
+ KtbSendOrderStatus[KtbSendOrderStatus["Complete"] = 0] = "Complete";
817
+ KtbSendOrderStatus[KtbSendOrderStatus["Incomplete"] = 1] = "Incomplete";
818
+ KtbSendOrderStatus[KtbSendOrderStatus["Rejected"] = 2] = "Rejected";
819
+ })(KtbSendOrderStatus || (KtbSendOrderStatus = {}));
820
+ var KtbPurchaseStatusEnum;
821
+ (function (KtbPurchaseStatusEnum) {
822
+ KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["All"] = -1] = "All";
823
+ KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["Created"] = 0] = "Created";
824
+ KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["PreOrder"] = 1] = "PreOrder";
825
+ KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["Accepted"] = 2] = "Accepted";
826
+ KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["Rejected"] = 3] = "Rejected";
827
+ KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["Paid"] = 4] = "Paid";
828
+ KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["Sent"] = 5] = "Sent";
829
+ KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["Delivered"] = 6] = "Delivered";
830
+ KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["Cancelled"] = 7] = "Cancelled";
831
+ KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["Returned"] = 8] = "Returned";
832
+ KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["WaitingForUserAcceptance"] = 9] = "WaitingForUserAcceptance";
833
+ KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["Finished"] = 11] = "Finished";
834
+ })(KtbPurchaseStatusEnum || (KtbPurchaseStatusEnum = {}));
835
+ var KtbOrderType;
836
+ (function (KtbOrderType) {
837
+ KtbOrderType[KtbOrderType["Virtual"] = 1] = "Virtual";
838
+ KtbOrderType[KtbOrderType["InPerson"] = 2] = "InPerson";
839
+ })(KtbOrderType || (KtbOrderType = {}));
840
+ var KtbOrderSendType;
841
+ (function (KtbOrderSendType) {
842
+ KtbOrderSendType[KtbOrderSendType["Post"] = 1] = "Post";
843
+ KtbOrderSendType[KtbOrderSendType["InPerson"] = 2] = "InPerson";
844
+ })(KtbOrderSendType || (KtbOrderSendType = {}));
845
+ var KtbOrderDetailStatsForVendorType;
846
+ (function (KtbOrderDetailStatsForVendorType) {
847
+ KtbOrderDetailStatsForVendorType["TotalOrderAmount"] = "totalOrderAmount";
848
+ KtbOrderDetailStatsForVendorType["TotalOrderPayableAmount"] = "totalOrderPayableAmount";
849
+ KtbOrderDetailStatsForVendorType["TotalSubsidyAmount"] = "totalSubsidyAmount";
850
+ KtbOrderDetailStatsForVendorType["TotalDiscountAmount"] = "totalDiscountAmount";
851
+ })(KtbOrderDetailStatsForVendorType || (KtbOrderDetailStatsForVendorType = {}));
852
+
853
+ var KtbFileStatusEnum;
854
+ (function (KtbFileStatusEnum) {
855
+ KtbFileStatusEnum[KtbFileStatusEnum["Created"] = 0] = "Created";
856
+ KtbFileStatusEnum[KtbFileStatusEnum["Waiting"] = 1] = "Waiting";
857
+ KtbFileStatusEnum[KtbFileStatusEnum["Accepted"] = 2] = "Accepted";
858
+ KtbFileStatusEnum[KtbFileStatusEnum["Rejected"] = 3] = "Rejected";
859
+ KtbFileStatusEnum[KtbFileStatusEnum["Review"] = 4] = "Review";
860
+ })(KtbFileStatusEnum || (KtbFileStatusEnum = {}));
861
+
862
+ var KtbFileTypeEnum;
863
+ (function (KtbFileTypeEnum) {
864
+ KtbFileTypeEnum[KtbFileTypeEnum["Certificate"] = 1] = "Certificate";
865
+ KtbFileTypeEnum[KtbFileTypeEnum["NationalCard"] = 2] = "NationalCard";
866
+ KtbFileTypeEnum[KtbFileTypeEnum["LincencingDetail"] = 3] = "LincencingDetail";
867
+ KtbFileTypeEnum[KtbFileTypeEnum["IndoorPicture"] = 4] = "IndoorPicture";
868
+ KtbFileTypeEnum[KtbFileTypeEnum["OutdoorPicture"] = 5] = "OutdoorPicture";
869
+ KtbFileTypeEnum[KtbFileTypeEnum["Gallery"] = 6] = "Gallery";
870
+ KtbFileTypeEnum[KtbFileTypeEnum["Other"] = 7] = "Other";
871
+ })(KtbFileTypeEnum || (KtbFileTypeEnum = {}));
872
+
873
+ var KtbSocialMediaStatusEnum;
874
+ (function (KtbSocialMediaStatusEnum) {
875
+ KtbSocialMediaStatusEnum[KtbSocialMediaStatusEnum["Created"] = 0] = "Created";
876
+ KtbSocialMediaStatusEnum[KtbSocialMediaStatusEnum["Waiting"] = 1] = "Waiting";
877
+ KtbSocialMediaStatusEnum[KtbSocialMediaStatusEnum["Accepted"] = 2] = "Accepted";
878
+ KtbSocialMediaStatusEnum[KtbSocialMediaStatusEnum["Rejected"] = 3] = "Rejected";
879
+ KtbSocialMediaStatusEnum[KtbSocialMediaStatusEnum["Review"] = 4] = "Review";
880
+ })(KtbSocialMediaStatusEnum || (KtbSocialMediaStatusEnum = {}));
881
+
882
+ var KtbSocialTypeEnum;
883
+ (function (KtbSocialTypeEnum) {
884
+ KtbSocialTypeEnum[KtbSocialTypeEnum["Instagram"] = 1] = "Instagram";
885
+ KtbSocialTypeEnum[KtbSocialTypeEnum["Eitaa"] = 2] = "Eitaa";
886
+ KtbSocialTypeEnum[KtbSocialTypeEnum["Soroush"] = 3] = "Soroush";
887
+ KtbSocialTypeEnum[KtbSocialTypeEnum["Bale"] = 4] = "Bale";
888
+ })(KtbSocialTypeEnum || (KtbSocialTypeEnum = {}));
889
+
890
+ var KtbSoftwareTypeEnum;
891
+ (function (KtbSoftwareTypeEnum) {
892
+ KtbSoftwareTypeEnum[KtbSoftwareTypeEnum["KausarHesab"] = 1] = "KausarHesab";
893
+ KtbSoftwareTypeEnum[KtbSoftwareTypeEnum["EdehGostran"] = 2] = "EdehGostran";
894
+ KtbSoftwareTypeEnum[KtbSoftwareTypeEnum["NikeHesab"] = 3] = "NikeHesab";
895
+ KtbSoftwareTypeEnum[KtbSoftwareTypeEnum["Pishgaman"] = 4] = "Pishgaman";
896
+ KtbSoftwareTypeEnum[KtbSoftwareTypeEnum["Radine"] = 5] = "Radine";
897
+ KtbSoftwareTypeEnum[KtbSoftwareTypeEnum["Other"] = 6] = "Other";
898
+ })(KtbSoftwareTypeEnum || (KtbSoftwareTypeEnum = {}));
899
+
900
+ var KtbAcceptanceType;
901
+ (function (KtbAcceptanceType) {
902
+ KtbAcceptanceType[KtbAcceptanceType["Created"] = 0] = "Created";
903
+ KtbAcceptanceType[KtbAcceptanceType["Waiting"] = 1] = "Waiting";
904
+ KtbAcceptanceType[KtbAcceptanceType["Accepted"] = 2] = "Accepted";
905
+ KtbAcceptanceType[KtbAcceptanceType["Rejected"] = 3] = "Rejected";
906
+ KtbAcceptanceType[KtbAcceptanceType["Review"] = 4] = "Review";
907
+ })(KtbAcceptanceType || (KtbAcceptanceType = {}));
908
+
909
+ var KtbLocationState;
910
+ (function (KtbLocationState) {
911
+ KtbLocationState[KtbLocationState["Downtown"] = 0] = "Downtown";
912
+ KtbLocationState[KtbLocationState["Mall"] = 1] = "Mall";
913
+ KtbLocationState[KtbLocationState["Neighbourhood"] = 2] = "Neighbourhood";
914
+ KtbLocationState[KtbLocationState["CityEdge"] = 3] = "CityEdge";
915
+ })(KtbLocationState || (KtbLocationState = {}));
916
+
917
+ var KtbSoftwareInfo;
918
+ (function (KtbSoftwareInfo) {
919
+ KtbSoftwareInfo[KtbSoftwareInfo["KausarHesab"] = 0] = "KausarHesab";
920
+ KtbSoftwareInfo[KtbSoftwareInfo["EdehGostran"] = 1] = "EdehGostran";
921
+ KtbSoftwareInfo[KtbSoftwareInfo["NikeHesab"] = 2] = "NikeHesab";
922
+ KtbSoftwareInfo[KtbSoftwareInfo["Pishgaman"] = 3] = "Pishgaman";
923
+ KtbSoftwareInfo[KtbSoftwareInfo["Radine"] = 4] = "Radine";
924
+ KtbSoftwareInfo[KtbSoftwareInfo["Other"] = 5] = "Other";
925
+ })(KtbSoftwareInfo || (KtbSoftwareInfo = {}));
926
+
927
+ var KtbVendorType;
928
+ (function (KtbVendorType) {
929
+ KtbVendorType[KtbVendorType["Withdrawal"] = 0] = "Withdrawal";
930
+ KtbVendorType[KtbVendorType["Gift"] = 1] = "Gift";
931
+ KtbVendorType[KtbVendorType["Deposit"] = 2] = "Deposit";
932
+ KtbVendorType[KtbVendorType["CreditCode"] = 3] = "CreditCode";
933
+ })(KtbVendorType || (KtbVendorType = {}));
934
+
935
+ var KtbPlanStatsEnum;
936
+ (function (KtbPlanStatsEnum) {
937
+ /**
938
+ * All
939
+ */
940
+ KtbPlanStatsEnum[KtbPlanStatsEnum["All"] = -1] = "All";
941
+ /**
942
+ * BookHouse Plans
943
+ */
944
+ KtbPlanStatsEnum[KtbPlanStatsEnum["RegularPlan"] = 1] = "RegularPlan";
945
+ /**
946
+ * Vendors Plan
947
+ */
948
+ KtbPlanStatsEnum[KtbPlanStatsEnum["ExclusivePlan"] = 2] = "ExclusivePlan";
949
+ /**
950
+ * Book Fairs Plans
951
+ */
952
+ KtbPlanStatsEnum[KtbPlanStatsEnum["Fair"] = 3] = "Fair";
953
+ })(KtbPlanStatsEnum || (KtbPlanStatsEnum = {}));
954
+ var KtbPlanStatusEnum;
955
+ (function (KtbPlanStatusEnum) {
956
+ KtbPlanStatusEnum[KtbPlanStatusEnum["Waiting"] = 1] = "Waiting";
957
+ KtbPlanStatusEnum[KtbPlanStatusEnum["Accepted"] = 2] = "Accepted";
958
+ KtbPlanStatusEnum[KtbPlanStatusEnum["Rejected"] = 3] = "Rejected";
959
+ KtbPlanStatusEnum[KtbPlanStatusEnum["Cancelled"] = 4] = "Cancelled";
960
+ })(KtbPlanStatusEnum || (KtbPlanStatusEnum = {}));
961
+ var RuleConditionType;
962
+ (function (RuleConditionType) {
963
+ RuleConditionType[RuleConditionType["Any"] = 1] = "Any";
964
+ RuleConditionType[RuleConditionType["None"] = 2] = "None";
965
+ RuleConditionType[RuleConditionType["Between"] = 3] = "Between";
966
+ })(RuleConditionType || (RuleConditionType = {}));
967
+ var RuleTargetType;
968
+ (function (RuleTargetType) {
969
+ RuleTargetType[RuleTargetType["BookType"] = 1] = "BookType";
970
+ RuleTargetType[RuleTargetType["BookContentStatus"] = 2] = "BookContentStatus";
971
+ RuleTargetType[RuleTargetType["Province"] = 5] = "Province";
972
+ RuleTargetType[RuleTargetType["VersionType"] = 7] = "VersionType";
973
+ RuleTargetType[RuleTargetType["IssueYear"] = 8] = "IssueYear";
974
+ RuleTargetType[RuleTargetType["CatalogType"] = 9] = "CatalogType";
975
+ RuleTargetType[RuleTargetType["VendorType"] = 10] = "VendorType";
976
+ RuleTargetType[RuleTargetType["ProductId"] = 11] = "ProductId";
977
+ })(RuleTargetType || (RuleTargetType = {}));
978
+
979
+ var KtbUploadUserTypeEnum;
980
+ (function (KtbUploadUserTypeEnum) {
981
+ KtbUploadUserTypeEnum[KtbUploadUserTypeEnum["Vendor"] = 1] = "Vendor";
982
+ KtbUploadUserTypeEnum[KtbUploadUserTypeEnum["Owner"] = 2] = "Owner";
983
+ })(KtbUploadUserTypeEnum || (KtbUploadUserTypeEnum = {}));
984
+
985
+ var KtbEmployeeTypeEnum;
986
+ (function (KtbEmployeeTypeEnum) {
987
+ KtbEmployeeTypeEnum[KtbEmployeeTypeEnum["Manager"] = 0] = "Manager";
988
+ KtbEmployeeTypeEnum[KtbEmployeeTypeEnum["Operator"] = 1] = "Operator";
989
+ KtbEmployeeTypeEnum[KtbEmployeeTypeEnum["Cashier"] = 2] = "Cashier";
990
+ })(KtbEmployeeTypeEnum || (KtbEmployeeTypeEnum = {}));
991
+
992
+ var KtbOperationTypeEnum;
993
+ (function (KtbOperationTypeEnum) {
994
+ KtbOperationTypeEnum[KtbOperationTypeEnum["OnlinePurchase"] = 1] = "OnlinePurchase";
995
+ KtbOperationTypeEnum[KtbOperationTypeEnum["CashDeposit"] = 2] = "CashDeposit";
996
+ KtbOperationTypeEnum[KtbOperationTypeEnum["CreditDeposit"] = 3] = "CreditDeposit";
997
+ KtbOperationTypeEnum[KtbOperationTypeEnum["CashWithdrawal"] = 4] = "CashWithdrawal";
998
+ KtbOperationTypeEnum[KtbOperationTypeEnum["ReturnOperation"] = 5] = "ReturnOperation";
999
+ KtbOperationTypeEnum[KtbOperationTypeEnum["InPersonOperation"] = 6] = "InPersonOperation";
1000
+ KtbOperationTypeEnum[KtbOperationTypeEnum["Gift"] = 7] = "Gift";
1001
+ KtbOperationTypeEnum[KtbOperationTypeEnum["chargeCashWalletOperation"] = 8] = "chargeCashWalletOperation";
1002
+ KtbOperationTypeEnum[KtbOperationTypeEnum["ServiceOfProcess"] = 9] = "ServiceOfProcess";
1003
+ })(KtbOperationTypeEnum || (KtbOperationTypeEnum = {}));
1004
+
1005
+ var KtbCartTypeEnum;
1006
+ (function (KtbCartTypeEnum) {
1007
+ KtbCartTypeEnum[KtbCartTypeEnum["Virtual"] = 0] = "Virtual";
1008
+ KtbCartTypeEnum[KtbCartTypeEnum["InPerson"] = 1] = "InPerson";
1009
+ })(KtbCartTypeEnum || (KtbCartTypeEnum = {}));
1010
+
1011
+ var KtbOTPSendType;
1012
+ (function (KtbOTPSendType) {
1013
+ KtbOTPSendType[KtbOTPSendType["general"] = 0] = "general";
1014
+ KtbOTPSendType[KtbOTPSendType["register"] = 1] = "register";
1015
+ KtbOTPSendType[KtbOTPSendType["resetPassword"] = 2] = "resetPassword";
1016
+ })(KtbOTPSendType || (KtbOTPSendType = {}));
1017
+
1018
+ var KtbFinancialAccountType;
1019
+ (function (KtbFinancialAccountType) {
1020
+ KtbFinancialAccountType[KtbFinancialAccountType["Customer"] = 1] = "Customer";
1021
+ KtbFinancialAccountType[KtbFinancialAccountType["Vendor"] = 2] = "Vendor";
1022
+ KtbFinancialAccountType[KtbFinancialAccountType["Other"] = 3] = "Other";
1023
+ })(KtbFinancialAccountType || (KtbFinancialAccountType = {}));
1024
+
1025
+ var KtbTransactionType;
1026
+ (function (KtbTransactionType) {
1027
+ KtbTransactionType[KtbTransactionType["CRD"] = 1] = "CRD";
1028
+ KtbTransactionType[KtbTransactionType["DEB"] = 2] = "DEB";
1029
+ // Other = 3,
1030
+ })(KtbTransactionType || (KtbTransactionType = {}));
1031
+
1032
+ var KtbCashBackSteps;
1033
+ (function (KtbCashBackSteps) {
1034
+ KtbCashBackSteps[KtbCashBackSteps["CardNumber"] = 1] = "CardNumber";
1035
+ KtbCashBackSteps[KtbCashBackSteps["Amount"] = 2] = "Amount";
1036
+ KtbCashBackSteps[KtbCashBackSteps["SuucessPaid"] = 3] = "SuucessPaid";
1037
+ })(KtbCashBackSteps || (KtbCashBackSteps = {}));
1038
+
1039
+ var KtbBannerType;
1040
+ (function (KtbBannerType) {
1041
+ KtbBannerType[KtbBannerType["Customer"] = 0] = "Customer";
1042
+ KtbBannerType[KtbBannerType["Store"] = 1] = "Store";
1043
+ })(KtbBannerType || (KtbBannerType = {}));
1044
+ var KtbBannerPosition;
1045
+ (function (KtbBannerPosition) {
1046
+ KtbBannerPosition[KtbBannerPosition["slider"] = 1] = "slider";
1047
+ KtbBannerPosition[KtbBannerPosition["salePlan"] = 2] = "salePlan";
1048
+ KtbBannerPosition[KtbBannerPosition["occasions"] = 3] = "occasions";
1049
+ KtbBannerPosition[KtbBannerPosition["partnerSites"] = 4] = "partnerSites";
1050
+ KtbBannerPosition[KtbBannerPosition["collections"] = 5] = "collections";
1051
+ })(KtbBannerPosition || (KtbBannerPosition = {}));
1052
+
1053
+ var KtbBannerImageType;
1054
+ (function (KtbBannerImageType) {
1055
+ KtbBannerImageType["ImageAddress"] = "imageAddress";
1056
+ KtbBannerImageType["MobileImageAddress"] = "mobileImageAddress";
1057
+ })(KtbBannerImageType || (KtbBannerImageType = {}));
1058
+
1059
+ var KtbApiRequestStatus;
1060
+ (function (KtbApiRequestStatus) {
1061
+ // waiting for adimn accept
1062
+ KtbApiRequestStatus[KtbApiRequestStatus["WaitingForAd"] = 1] = "WaitingForAd";
1063
+ // accept by admin
1064
+ KtbApiRequestStatus[KtbApiRequestStatus["AcceptByAd"] = 2] = "AcceptByAd";
1065
+ // reject by admin
1066
+ KtbApiRequestStatus[KtbApiRequestStatus["RejectByAd"] = 3] = "RejectByAd";
1067
+ // accept by vendor
1068
+ KtbApiRequestStatus[KtbApiRequestStatus["AcceptByVendor"] = 4] = "AcceptByVendor";
1069
+ // reject by vendor
1070
+ KtbApiRequestStatus[KtbApiRequestStatus["RejectByVendor"] = 5] = "RejectByVendor";
1071
+ // cancel api service by vendor
1072
+ KtbApiRequestStatus[KtbApiRequestStatus["CancelledByVendor"] = 6] = "CancelledByVendor";
1073
+ })(KtbApiRequestStatus || (KtbApiRequestStatus = {}));
1074
+
1075
+ var KtbWithdrawalRequester;
1076
+ (function (KtbWithdrawalRequester) {
1077
+ KtbWithdrawalRequester[KtbWithdrawalRequester["Customer"] = 1] = "Customer";
1078
+ KtbWithdrawalRequester[KtbWithdrawalRequester["Vendor"] = 2] = "Vendor";
1079
+ })(KtbWithdrawalRequester || (KtbWithdrawalRequester = {}));
1080
+
1081
+ var KtbApiPlanOptions;
1082
+ (function (KtbApiPlanOptions) {
1083
+ KtbApiPlanOptions[KtbApiPlanOptions["IssueYear"] = 1] = "IssueYear";
1084
+ KtbApiPlanOptions[KtbApiPlanOptions["Price"] = 2] = "Price";
1085
+ KtbApiPlanOptions[KtbApiPlanOptions["Authors"] = 3] = "Authors";
1086
+ KtbApiPlanOptions[KtbApiPlanOptions["Publisher"] = 4] = "Publisher";
1087
+ KtbApiPlanOptions[KtbApiPlanOptions["Categories"] = 5] = "Categories";
1088
+ KtbApiPlanOptions[KtbApiPlanOptions["Language"] = 6] = "Language";
1089
+ KtbApiPlanOptions[KtbApiPlanOptions["Image"] = 7] = "Image";
1090
+ KtbApiPlanOptions[KtbApiPlanOptions["Weight"] = 8] = "Weight";
1091
+ KtbApiPlanOptions[KtbApiPlanOptions["PageCount"] = 9] = "PageCount";
1092
+ KtbApiPlanOptions[KtbApiPlanOptions["Cover"] = 10] = "Cover";
1093
+ KtbApiPlanOptions[KtbApiPlanOptions["BookType"] = 11] = "BookType";
1094
+ KtbApiPlanOptions[KtbApiPlanOptions["BookSize"] = 12] = "BookSize";
1095
+ KtbApiPlanOptions[KtbApiPlanOptions["Abstract"] = 13] = "Abstract";
1096
+ KtbApiPlanOptions[KtbApiPlanOptions["Dewey"] = 14] = "Dewey";
1097
+ KtbApiPlanOptions[KtbApiPlanOptions["Circulation"] = 15] = "Circulation";
1098
+ KtbApiPlanOptions[KtbApiPlanOptions["IssuePlace"] = 16] = "IssuePlace";
1099
+ KtbApiPlanOptions[KtbApiPlanOptions["AgeCategories"] = 17] = "AgeCategories";
1100
+ KtbApiPlanOptions[KtbApiPlanOptions["Title"] = 18] = "Title";
1101
+ })(KtbApiPlanOptions || (KtbApiPlanOptions = {}));
1102
+
1103
+ var KtbVendorFileUploadStatus;
1104
+ (function (KtbVendorFileUploadStatus) {
1105
+ KtbVendorFileUploadStatus[KtbVendorFileUploadStatus["Created"] = 1] = "Created";
1106
+ KtbVendorFileUploadStatus[KtbVendorFileUploadStatus["Pending"] = 2] = "Pending";
1107
+ KtbVendorFileUploadStatus[KtbVendorFileUploadStatus["Failed"] = 3] = "Failed";
1108
+ KtbVendorFileUploadStatus[KtbVendorFileUploadStatus["Success"] = 4] = "Success";
1109
+ })(KtbVendorFileUploadStatus || (KtbVendorFileUploadStatus = {}));
1110
+
1111
+ var KtbVendorRegisterType;
1112
+ (function (KtbVendorRegisterType) {
1113
+ KtbVendorRegisterType[KtbVendorRegisterType["BookStore"] = 1] = "BookStore";
1114
+ KtbVendorRegisterType[KtbVendorRegisterType["Publisher"] = 2] = "Publisher";
1115
+ })(KtbVendorRegisterType || (KtbVendorRegisterType = {}));
1116
+ var KtbVendorOwnerType;
1117
+ (function (KtbVendorOwnerType) {
1118
+ KtbVendorOwnerType[KtbVendorOwnerType["Owner"] = 1] = "Owner";
1119
+ KtbVendorOwnerType[KtbVendorOwnerType["NotOwner"] = 2] = "NotOwner";
1120
+ })(KtbVendorOwnerType || (KtbVendorOwnerType = {}));
1121
+
1122
+ var KtbRejectSalePlanType;
1123
+ (function (KtbRejectSalePlanType) {
1124
+ KtbRejectSalePlanType[KtbRejectSalePlanType["Shortage"] = 1] = "Shortage";
1125
+ KtbRejectSalePlanType[KtbRejectSalePlanType["LackOfDocument"] = 2] = "LackOfDocument";
1126
+ KtbRejectSalePlanType[KtbRejectSalePlanType["Cancellation"] = 3] = "Cancellation";
1127
+ KtbRejectSalePlanType[KtbRejectSalePlanType["Other"] = 6] = "Other";
1128
+ })(KtbRejectSalePlanType || (KtbRejectSalePlanType = {}));
1129
+
1130
+ var KtbSubmissionStatus;
1131
+ (function (KtbSubmissionStatus) {
1132
+ KtbSubmissionStatus[KtbSubmissionStatus["Sent"] = 1] = "Sent";
1133
+ KtbSubmissionStatus[KtbSubmissionStatus["BookConfirmed"] = 2] = "BookConfirmed";
1134
+ KtbSubmissionStatus[KtbSubmissionStatus["WaitingForDataEntry"] = 3] = "WaitingForDataEntry";
1135
+ KtbSubmissionStatus[KtbSubmissionStatus["SubmissionRejected"] = 8] = "SubmissionRejected";
1136
+ KtbSubmissionStatus[KtbSubmissionStatus["BookAssignedToJudges"] = 9] = "BookAssignedToJudges";
1137
+ KtbSubmissionStatus[KtbSubmissionStatus["BooksExcluded"] = 10] = "BooksExcluded";
1138
+ KtbSubmissionStatus[KtbSubmissionStatus["Eliminated"] = 11] = "Eliminated";
1139
+ KtbSubmissionStatus[KtbSubmissionStatus["Selected"] = 13] = "Selected";
1140
+ KtbSubmissionStatus[KtbSubmissionStatus["ConfirmedByJudge"] = 15] = "ConfirmedByJudge";
1141
+ KtbSubmissionStatus[KtbSubmissionStatus["Finished"] = 16] = "Finished";
1142
+ })(KtbSubmissionStatus || (KtbSubmissionStatus = {}));
1143
+
1144
+ var KtbCourseStatus;
1145
+ (function (KtbCourseStatus) {
1146
+ KtbCourseStatus[KtbCourseStatus["StartWaiting"] = 1] = "StartWaiting";
1147
+ KtbCourseStatus[KtbCourseStatus["OnPerforming"] = 2] = "OnPerforming";
1148
+ KtbCourseStatus[KtbCourseStatus["Ended"] = 3] = "Ended";
1149
+ })(KtbCourseStatus || (KtbCourseStatus = {}));
1150
+
1151
+ var KtbCourseType;
1152
+ (function (KtbCourseType) {
1153
+ KtbCourseType[KtbCourseType["Ketabsal"] = 1] = "Ketabsal";
1154
+ KtbCourseType[KtbCourseType["Jalal"] = 2] = "Jalal";
1155
+ KtbCourseType[KtbCourseType["ChildAndAdolescent"] = 3] = "ChildAndAdolescent";
1156
+ KtbCourseType[KtbCourseType["Fajr"] = 4] = "Fajr";
1157
+ KtbCourseType[KtbCourseType["BookAndMedia"] = 5] = "BookAndMedia";
1158
+ KtbCourseType[KtbCourseType["WorldBook"] = 6] = "WorldBook";
1159
+ })(KtbCourseType || (KtbCourseType = {}));
1160
+ var KtbAwardsType;
1161
+ (function (KtbAwardsType) {
1162
+ KtbAwardsType[KtbAwardsType["Ketabsal"] = 1] = "Ketabsal";
1163
+ KtbAwardsType[KtbAwardsType["Jalal"] = 2] = "Jalal";
1164
+ KtbAwardsType[KtbAwardsType["ChildAndAdolescent"] = 3] = "ChildAndAdolescent";
1165
+ KtbAwardsType[KtbAwardsType["Fajr"] = 4] = "Fajr";
1166
+ KtbAwardsType[KtbAwardsType["BookAndMedia"] = 5] = "BookAndMedia";
1167
+ KtbAwardsType[KtbAwardsType["WorldBook"] = 6] = "WorldBook";
1168
+ })(KtbAwardsType || (KtbAwardsType = {}));
1169
+
1170
+ var KtbEducationGrade;
1171
+ (function (KtbEducationGrade) {
1172
+ KtbEducationGrade[KtbEducationGrade["Diploma"] = 1] = "Diploma";
1173
+ KtbEducationGrade[KtbEducationGrade["AdvancedDiploma"] = 2] = "AdvancedDiploma";
1174
+ KtbEducationGrade[KtbEducationGrade["Bachelor"] = 3] = "Bachelor";
1175
+ KtbEducationGrade[KtbEducationGrade["Master"] = 4] = "Master";
1176
+ KtbEducationGrade[KtbEducationGrade["Doctorate"] = 5] = "Doctorate";
1177
+ KtbEducationGrade[KtbEducationGrade["PostDoctorate"] = 6] = "PostDoctorate";
1178
+ })(KtbEducationGrade || (KtbEducationGrade = {}));
1179
+
1180
+ var KtbBookType;
1181
+ (function (KtbBookType) {
1182
+ KtbBookType[KtbBookType["notdefined"] = 0] = "notdefined";
1183
+ KtbBookType[KtbBookType["authorship"] = 1] = "authorship";
1184
+ KtbBookType[KtbBookType["translation"] = 2] = "translation";
1185
+ })(KtbBookType || (KtbBookType = {}));
1186
+
1187
+ var KtbRefereeAllocationStatus;
1188
+ (function (KtbRefereeAllocationStatus) {
1189
+ KtbRefereeAllocationStatus[KtbRefereeAllocationStatus["InActive"] = 1] = "InActive";
1190
+ KtbRefereeAllocationStatus[KtbRefereeAllocationStatus["Active"] = 2] = "Active";
1191
+ KtbRefereeAllocationStatus[KtbRefereeAllocationStatus["Refereed"] = 3] = "Refereed";
1192
+ })(KtbRefereeAllocationStatus || (KtbRefereeAllocationStatus = {}));
1193
+
1194
+ var KtbSubmissionBulkType;
1195
+ (function (KtbSubmissionBulkType) {
1196
+ KtbSubmissionBulkType[KtbSubmissionBulkType["Ids"] = 1] = "Ids";
1197
+ KtbSubmissionBulkType[KtbSubmissionBulkType["Filter"] = 2] = "Filter";
1198
+ })(KtbSubmissionBulkType || (KtbSubmissionBulkType = {}));
1199
+
1200
+ var KtbNewsType;
1201
+ (function (KtbNewsType) {
1202
+ KtbNewsType[KtbNewsType["News"] = 0] = "News";
1203
+ KtbNewsType[KtbNewsType["ImageReport"] = 1] = "ImageReport";
1204
+ KtbNewsType[KtbNewsType["Video"] = 2] = "Video";
1205
+ KtbNewsType[KtbNewsType["Audio"] = 3] = "Audio";
1206
+ })(KtbNewsType || (KtbNewsType = {}));
1207
+ var KtbNewsStatus;
1208
+ (function (KtbNewsStatus) {
1209
+ KtbNewsStatus[KtbNewsStatus["Published"] = 1] = "Published";
1210
+ KtbNewsStatus[KtbNewsStatus["NotPublished"] = 2] = "NotPublished";
1211
+ })(KtbNewsStatus || (KtbNewsStatus = {}));
1212
+ var KtbNewsLanguegesType;
1213
+ (function (KtbNewsLanguegesType) {
1214
+ KtbNewsLanguegesType[KtbNewsLanguegesType["English"] = 0] = "English";
1215
+ KtbNewsLanguegesType[KtbNewsLanguegesType["Arabic"] = 1] = "Arabic";
1216
+ })(KtbNewsLanguegesType || (KtbNewsLanguegesType = {}));
1217
+ var KtbNewsPlatform;
1218
+ (function (KtbNewsPlatform) {
1219
+ KtbNewsPlatform[KtbNewsPlatform["None"] = 0] = "None";
1220
+ KtbNewsPlatform[KtbNewsPlatform["Isbn"] = 1] = "Isbn";
1221
+ KtbNewsPlatform[KtbNewsPlatform["KetabSal"] = 2] = "KetabSal";
1222
+ KtbNewsPlatform[KtbNewsPlatform["BookAward"] = 3] = "BookAward";
1223
+ KtbNewsPlatform[KtbNewsPlatform["Resane"] = 4] = "Resane";
1224
+ KtbNewsPlatform[KtbNewsPlatform["HafteKetab"] = 5] = "HafteKetab";
1225
+ KtbNewsPlatform[KtbNewsPlatform["Ahleghalam"] = 6] = "Ahleghalam";
1226
+ KtbNewsPlatform[KtbNewsPlatform["LiteratureFiction"] = 7] = "LiteratureFiction";
1227
+ })(KtbNewsPlatform || (KtbNewsPlatform = {}));
1228
+ var KtbNewsFileType;
1229
+ (function (KtbNewsFileType) {
1230
+ KtbNewsFileType[KtbNewsFileType["Cover"] = 1] = "Cover";
1231
+ KtbNewsFileType[KtbNewsFileType["Images"] = 2] = "Images";
1232
+ KtbNewsFileType[KtbNewsFileType["Files"] = 3] = "Files";
1233
+ })(KtbNewsFileType || (KtbNewsFileType = {}));
1234
+
1235
+ var KtbFileType;
1236
+ (function (KtbFileType) {
1237
+ KtbFileType[KtbFileType["Word"] = 1] = "Word";
1238
+ KtbFileType[KtbFileType["Excel"] = 2] = "Excel";
1239
+ KtbFileType[KtbFileType["Pdf"] = 3] = "Pdf";
1240
+ KtbFileType[KtbFileType["Txt"] = 4] = "Txt";
1241
+ })(KtbFileType || (KtbFileType = {}));
1242
+
1243
+ var KtbUploadFileType;
1244
+ (function (KtbUploadFileType) {
1245
+ KtbUploadFileType[KtbUploadFileType["Excel"] = 1] = "Excel";
1246
+ KtbUploadFileType[KtbUploadFileType["Pdf"] = 2] = "Pdf";
1247
+ KtbUploadFileType[KtbUploadFileType["Word"] = 3] = "Word";
1248
+ KtbUploadFileType[KtbUploadFileType["Audio"] = 4] = "Audio";
1249
+ })(KtbUploadFileType || (KtbUploadFileType = {}));
1250
+
1251
+ var KtbArticleType;
1252
+ (function (KtbArticleType) {
1253
+ KtbArticleType[KtbArticleType["All"] = -1] = "All";
1254
+ KtbArticleType[KtbArticleType["Story"] = 1] = "Story";
1255
+ KtbArticleType[KtbArticleType["Poem"] = 2] = "Poem";
1256
+ KtbArticleType[KtbArticleType["StoryChildAndAdolescent"] = 3] = "StoryChildAndAdolescent";
1257
+ KtbArticleType[KtbArticleType["PoemChildAndAdolescent"] = 4] = "PoemChildAndAdolescent";
1258
+ })(KtbArticleType || (KtbArticleType = {}));
1259
+
1260
+ var KtbLiteratureSubmissionStatus;
1261
+ (function (KtbLiteratureSubmissionStatus) {
1262
+ KtbLiteratureSubmissionStatus[KtbLiteratureSubmissionStatus["Waiting"] = 1] = "Waiting";
1263
+ KtbLiteratureSubmissionStatus[KtbLiteratureSubmissionStatus["Assigned"] = 2] = "Assigned";
1264
+ KtbLiteratureSubmissionStatus[KtbLiteratureSubmissionStatus["Reviewed"] = 3] = "Reviewed";
1265
+ KtbLiteratureSubmissionStatus[KtbLiteratureSubmissionStatus["Rejected"] = 4] = "Rejected";
1266
+ KtbLiteratureSubmissionStatus[KtbLiteratureSubmissionStatus["Published"] = 5] = "Published";
1267
+ })(KtbLiteratureSubmissionStatus || (KtbLiteratureSubmissionStatus = {}));
1268
+ var KtbLiteratureSubmissionType;
1269
+ (function (KtbLiteratureSubmissionType) {
1270
+ KtbLiteratureSubmissionType[KtbLiteratureSubmissionType["All"] = 0] = "All";
1271
+ KtbLiteratureSubmissionType[KtbLiteratureSubmissionType["Story"] = 1] = "Story";
1272
+ KtbLiteratureSubmissionType[KtbLiteratureSubmissionType["Poem"] = 2] = "Poem";
1273
+ KtbLiteratureSubmissionType[KtbLiteratureSubmissionType["StoryChildAndAdolescent"] = 3] = "StoryChildAndAdolescent";
1274
+ KtbLiteratureSubmissionType[KtbLiteratureSubmissionType["PoemChildAndAdolescent"] = 4] = "PoemChildAndAdolescent";
1275
+ })(KtbLiteratureSubmissionType || (KtbLiteratureSubmissionType = {}));
1276
+
1277
+ class KtbSalePlanView {
1278
+ constructor(data) {
1279
+ if (data) {
1280
+ this.id = data.id;
1281
+ this.uniqId = data.uniqId;
1282
+ this.title = data.title;
1283
+ this.description = data.description;
1284
+ }
1285
+ }
1286
+ }
1287
+ class KtbGetSalePlanForVendorDtoPaged {
1288
+ constructor(data) {
1289
+ if (data) {
1290
+ this.totalCount = data.totalCount;
1291
+ this.items = data.items;
1292
+ }
1293
+ }
1294
+ }
1295
+ class KtbGetSalePlanForVendor {
1296
+ constructor(data) {
1297
+ if (data) {
1298
+ for (const property in data) {
1299
+ // eslint-disable-next-line no-prototype-builtins
1300
+ if (data.hasOwnProperty(property))
1301
+ this[property] = data[property];
1302
+ }
1303
+ }
1304
+ }
1305
+ }
1306
+ class KtbGetSalePlanVendorDetailForVendor {
1307
+ constructor(data) {
1308
+ if (data) {
1309
+ for (const property in data) {
1310
+ // eslint-disable-next-line no-prototype-builtins
1311
+ if (data.hasOwnProperty(property))
1312
+ this[property] = data[property];
1313
+ }
1314
+ }
1315
+ }
1316
+ }
1317
+ class KtbGetSalePlanDetailsForVendor {
1318
+ constructor(data) {
1319
+ if (data) {
1320
+ for (const property in data) {
1321
+ // eslint-disable-next-line no-prototype-builtins
1322
+ if (data.hasOwnProperty(property))
1323
+ this[property] = data[property];
1324
+ }
1325
+ }
1326
+ }
1327
+ }
1328
+ class KtbPlanConditionAndOffers {
1329
+ constructor(data) {
1330
+ if (data) {
1331
+ for (const property in data) {
1332
+ // eslint-disable-next-line no-prototype-builtins
1333
+ if (data.hasOwnProperty(property))
1334
+ this[property] = data[property];
1335
+ }
1336
+ }
1337
+ }
1338
+ }
1339
+ class KtbStaticItem {
1340
+ static { RuleTargetType.BookContentStatus, RuleTargetType.BookType, RuleTargetType.CatalogType, RuleTargetType.VendorType, RuleTargetType.IssueYear; }
1341
+ constructor(data) {
1342
+ if (data) {
1343
+ for (const property in data) {
1344
+ // eslint-disable-next-line no-prototype-builtins
1345
+ if (data.hasOwnProperty(property))
1346
+ this[property] = data[property];
1347
+ }
1348
+ }
1349
+ }
1350
+ }
1351
+ class KtbGetVendorExclusivePlanForEdit {
1352
+ constructor(data) {
1353
+ if (data) {
1354
+ for (const property in data) {
1355
+ // eslint-disable-next-line no-prototype-builtins
1356
+ if (data.hasOwnProperty(property))
1357
+ this[property] = data[property];
1358
+ }
1359
+ }
1360
+ }
1361
+ }
1362
+ class KtbSetRulesPriorities {
1363
+ constructor(data) {
1364
+ if (data) {
1365
+ for (const property in data) {
1366
+ // eslint-disable-next-line no-prototype-builtins
1367
+ if (data.hasOwnProperty(property))
1368
+ this[property] = data[property];
1369
+ }
1370
+ }
1371
+ }
1372
+ }
1373
+ class ktbsalePlanForAdmin {
1374
+ constructor(data) {
1375
+ if (data) {
1376
+ for (const property in data) {
1377
+ // eslint-disable-next-line no-prototype-builtins
1378
+ if (data.hasOwnProperty(property))
1379
+ this[property] = data[property];
1380
+ }
1381
+ }
1382
+ }
1383
+ }
1384
+
1385
+ class KtbPageResult {
1386
+ constructor(data) {
1387
+ if (data) {
1388
+ for (const property in data) {
1389
+ // eslint-disable-next-line no-prototype-builtins
1390
+ if (data.hasOwnProperty(property))
1391
+ this[property] = data[property];
1392
+ }
1393
+ }
1394
+ }
1395
+ }
1396
+
1397
+ class KtbBanner {
1398
+ constructor(data) {
1399
+ if (data) {
1400
+ this.id = data.id;
1401
+ this.title = data.title;
1402
+ this.imageAddress = data.imageAddress;
1403
+ this.mobileImageAddress = data.mobileImageAddress;
1404
+ this.description = data.description;
1405
+ this.url = data.url;
1406
+ this.position = data.position;
1407
+ this.isActive = data.isActive;
1408
+ this.creationTime = data.creationTime;
1409
+ this.priority = data.priority;
1410
+ }
1411
+ }
1412
+ }
1413
+ class KtbAddBanner {
1414
+ constructor(data) {
1415
+ if (data) {
1416
+ for (const property in data) {
1417
+ // eslint-disable-next-line no-prototype-builtins
1418
+ if (data.hasOwnProperty(property))
1419
+ this[property] = data[property];
1420
+ }
1421
+ }
1422
+ }
1423
+ }
1424
+
1425
+ class KtbLookup {
1426
+ constructor(data) {
1427
+ if (data) {
1428
+ for (const property in data) {
1429
+ // eslint-disable-next-line no-prototype-builtins
1430
+ if (data.hasOwnProperty(property))
1431
+ this[property] = data[property];
1432
+ }
1433
+ }
1434
+ }
1435
+ }
1436
+
1437
+ class KFilter {
1438
+ constructor(data) {
1439
+ this.selected = false;
1440
+ if (data) {
1441
+ for (const property in data) {
1442
+ // eslint-disable-next-line no-prototype-builtins
1443
+ if (data.hasOwnProperty(property))
1444
+ this[property] = data[property];
1445
+ }
1446
+ }
1447
+ }
1448
+ }
1449
+
1450
+ class KtbSubjectCategory {
1451
+ constructor(data) {
1452
+ if (data) {
1453
+ this.id = data.id;
1454
+ this.title = data.title;
1455
+ this.priority = data.priority;
1456
+ this.imageAddress = data.imageAddress ? 'ktb-' + data.imageAddress : 'ktb-literiture';
1457
+ this.parentId = data.parentId;
1458
+ this.children = data.children;
1459
+ }
1460
+ }
1461
+ }
1462
+
1463
+ class KtbAuthors {
1464
+ constructor(data) {
1465
+ if (data) {
1466
+ for (const property in data) {
1467
+ // eslint-disable-next-line no-prototype-builtins
1468
+ if (data.hasOwnProperty(property))
1469
+ this[property] = data[property];
1470
+ }
1471
+ }
1472
+ }
1473
+ }
1474
+ class KtbAuthorsResult {
1475
+ constructor(data) {
1476
+ if (data) {
1477
+ this.totalCount = data.totalCount;
1478
+ this.items = data.items;
1479
+ }
1480
+ }
1481
+ }
1482
+
1483
+ class KtbPublisher {
1484
+ constructor(data) {
1485
+ this.title = '';
1486
+ if (data) {
1487
+ for (const property in data) {
1488
+ if (Object.prototype.hasOwnProperty.call(data, property)) {
1489
+ this[property] = data[property];
1490
+ }
1491
+ }
1492
+ }
1493
+ }
1494
+ }
1495
+
1496
+ class KtbPublishersResult {
1497
+ constructor(data) {
1498
+ this.totalCount = 0;
1499
+ this.items = [];
1500
+ if (data) {
1501
+ this.totalCount = data.totalCount;
1502
+ this.items = data.items;
1503
+ }
1504
+ }
1505
+ }
1506
+
1507
+ class KtbFavorite {
1508
+ constructor(data) {
1509
+ this.isLiked = false;
1510
+ if (data) {
1511
+ this.title = data.title;
1512
+ this.publisherTitle = data.publisher;
1513
+ this.minPrice = data.minPrice;
1514
+ this.VendorCount = data.VendorCount;
1515
+ this.bookId = data.bookId;
1516
+ this.imageAddress = data.imageAddress;
1517
+ this.minPrice = data.minPrice;
1518
+ this.vendorCount = data.VendorCount;
1519
+ this.printVersion = data.printVersion;
1520
+ this.isLiked = data.isLiked;
1521
+ }
1522
+ }
1523
+ }
1524
+ class KtbFavoriteContainer {
1525
+ constructor(data) {
1526
+ this.__version = 2;
1527
+ this.favs = data ?? [];
1528
+ }
1529
+ }
1530
+
1531
+ class KtbBasketItem {
1532
+ // public get totalAmount(): number {
1533
+ // return this.quantity * this.price;
1534
+ // }
1535
+ // public get totalAmountWithDiscount(): number {
1536
+ // return this.quantity * this.priceWithDiscount;
1537
+ // }
1538
+ constructor(data) {
1539
+ this.authors = [];
1540
+ this.quantity = 1;
1541
+ this.salePlanId = null;
1542
+ if (data) {
1543
+ this.productId = data.productId;
1544
+ this.bookId = data.bookId;
1545
+ this.vendorId = data.vendorId;
1546
+ this.title = data.title;
1547
+ this.description = data.description;
1548
+ this.publisher = data.publisher ?? '';
1549
+ this.authors = data.authors ?? [];
1550
+ this.price = data.price;
1551
+ this.priceWithDiscount = data.priceWithDiscount ?? data.price;
1552
+ this.discountPercent = data.discountPercent ?? 0;
1553
+ this.quantity = data.quantity ?? 1;
1554
+ this.imageAddress = data.imageAddress ?? '';
1555
+ this.bookHouseId = data.bookHouseId;
1556
+ this.cartItemId = data.cartItemId;
1557
+ this.salePlanId = data.salePlanId;
1558
+ this.maxPurchasableQuantity = data.maxPurchasableQuantity;
1559
+ this.hasProvider = data.hasProvider;
1560
+ this.isActive = data.isActive;
1561
+ }
1562
+ }
1563
+ }
1564
+
1565
+ class KtbBasket {
1566
+ get isValid() {
1567
+ return this.totalAmount >= this.minPurchaseAmount;
1568
+ }
1569
+ constructor(bsk) {
1570
+ this.quantity = 0;
1571
+ this.totalDiscount = 0;
1572
+ this.totalAmount = 0;
1573
+ this.version = 'v3';
1574
+ this.minPurchaseAmount = 0;
1575
+ if (bsk) {
1576
+ this.vendorId = bsk.vendorId;
1577
+ this.vendorTitle = bsk.vendorTitle;
1578
+ this.logoAddress = bsk.logoAddress;
1579
+ this.items = bsk.items?.map(r => new KtbBasketItem(r)) ?? [];
1580
+ this.minPurchaseAmount = bsk.minPurchaseAmount;
1581
+ // console.warn('basket-items', this.items);
1582
+ this.quantity = 0;
1583
+ this.totalAmount = 0;
1584
+ this.totalDiscount = 0;
1585
+ bsk.items?.forEach(r => {
1586
+ this.quantity += r?.quantity ?? 0;
1587
+ this.totalAmount += r?.price ?? 0;
1588
+ this.totalDiscount += r.price - (r.priceWithDiscount ?? 0);
1589
+ });
1590
+ // console.warn('totalDiscount', this.totalDiscount);
1591
+ // this.isValid = bsk.isValid;
1592
+ }
1593
+ }
1594
+ }
1595
+ class KtbBasketContainer {
1596
+ constructor(data) {
1597
+ if (data) {
1598
+ for (const property in data) {
1599
+ // eslint-disable-next-line no-prototype-builtins
1600
+ if (data.hasOwnProperty(property))
1601
+ this[property] = data[property];
1602
+ }
1603
+ }
1604
+ }
1605
+ }
1606
+
1607
+ class KtbPostAmountOutput {
1608
+ constructor(data) {
1609
+ if (data) {
1610
+ this.postAmount = data.postAmount;
1611
+ this.postAmountRaw = data.postAmountRaw;
1612
+ this.discountAmount = data.discountAmount;
1613
+ }
1614
+ }
1615
+ }
1616
+
1617
+ class KtbBasketDetails {
1618
+ constructor(data) {
1619
+ this.customerCredit = 0;
1620
+ this.remainCredit = 0;
1621
+ this.totalCount = 0;
1622
+ this.totalPrice = 0;
1623
+ this.totalDiscount = 0;
1624
+ this.finalPayablePrice = 0;
1625
+ if (data) {
1626
+ for (const property in data) {
1627
+ // eslint-disable-next-line no-prototype-builtins
1628
+ if (data.hasOwnProperty(property))
1629
+ this[property] = data[property];
1630
+ }
1631
+ }
1632
+ }
1633
+ }
1634
+
1635
+ class KtbCheckoutResult {
1636
+ constructor(data) {
1637
+ this.activeGatewaies = [];
1638
+ if (data) {
1639
+ for (const property in data) {
1640
+ // eslint-disable-next-line no-prototype-builtins
1641
+ if (data.hasOwnProperty(property))
1642
+ this[property] = data[property];
1643
+ }
1644
+ }
1645
+ }
1646
+ }
1647
+ class KtbActiveGateway {
1648
+ constructor(data) {
1649
+ if (data) {
1650
+ for (const property in data) {
1651
+ // eslint-disable-next-line no-prototype-builtins
1652
+ if (data.hasOwnProperty(property))
1653
+ this[property] = data[property];
1654
+ }
1655
+ }
1656
+ }
1657
+ }
1658
+
1659
+ class ktbGetCustomerInfo {
1660
+ constructor(data) {
1661
+ if (data) {
1662
+ for (const property in data) {
1663
+ // eslint-disable-next-line no-prototype-builtins
1664
+ if (data.hasOwnProperty(property))
1665
+ this[property] = data[property];
1666
+ }
1667
+ }
1668
+ }
1669
+ }
1670
+
1671
+ class KtbOrderAddress {
1672
+ constructor(data) {
1673
+ if (data) {
1674
+ for (const property in data) {
1675
+ // eslint-disable-next-line no-prototype-builtins
1676
+ if (data.hasOwnProperty(property))
1677
+ this[property] = data[property];
1678
+ }
1679
+ }
1680
+ }
1681
+ }
1682
+ class KtbOrderItem {
1683
+ constructor(data) {
1684
+ if (data) {
1685
+ for (const property in data) {
1686
+ // eslint-disable-next-line no-prototype-builtins
1687
+ if (data.hasOwnProperty(property))
1688
+ this[property] = data[property];
1689
+ }
1690
+ }
1691
+ }
1692
+ }
1693
+ class KtbShortageRequest {
1694
+ constructor(data) {
1695
+ if (data) {
1696
+ for (const property in data) {
1697
+ // eslint-disable-next-line no-prototype-builtins
1698
+ if (data.hasOwnProperty(property))
1699
+ this[property] = data[property];
1700
+ }
1701
+ }
1702
+ }
1703
+ }
1704
+ class KtbOrderPayment {
1705
+ constructor(data) {
1706
+ if (data) {
1707
+ this.amountPayable = data.amountPayable;
1708
+ this.totalProfit = data.totalProfit;
1709
+ this.walletBalance = data.walletBalance;
1710
+ this.paymentAmount = data.paymentAmount;
1711
+ this.price = data.price;
1712
+ this.quantity = data.quantity;
1713
+ this.shippingCost = data.shippingCost;
1714
+ this.paymentDate = data.paymentDate;
1715
+ this.gate = data.gate;
1716
+ this.cardNumber = data.cardNumber;
1717
+ this.sellerDiscounts = data.sellerDiscounts;
1718
+ this.spendingCredits = data.spendingCredits;
1719
+ this.totalShippingCost = data.totalShippingCost;
1720
+ }
1721
+ }
1722
+ }
1723
+ class KtbOrderPlan {
1724
+ constructor(data) {
1725
+ if (data) {
1726
+ for (const property in data) {
1727
+ // eslint-disable-next-line no-prototype-builtins
1728
+ if (data.hasOwnProperty(property))
1729
+ this[property] = data[property];
1730
+ }
1731
+ }
1732
+ }
1733
+ }
1734
+ class KtbOrder {
1735
+ constructor(data) {
1736
+ if (data) {
1737
+ for (const property in data) {
1738
+ // eslint-disable-next-line no-prototype-builtins
1739
+ if (data.hasOwnProperty(property))
1740
+ this[property] = data[property];
1741
+ }
1742
+ }
1743
+ }
1744
+ }
1745
+ class KtbPurchaseVendor {
1746
+ constructor(data) {
1747
+ if (data) {
1748
+ for (const property in data) {
1749
+ // eslint-disable-next-line no-prototype-builtins
1750
+ if (data.hasOwnProperty(property))
1751
+ this[property] = data[property];
1752
+ }
1753
+ }
1754
+ }
1755
+ }
1756
+ class KtbReturnOnSale {
1757
+ constructor(data) {
1758
+ if (data) {
1759
+ for (const property in data) {
1760
+ // eslint-disable-next-line no-prototype-builtins
1761
+ if (data.hasOwnProperty(property))
1762
+ this[property] = data[property];
1763
+ }
1764
+ }
1765
+ }
1766
+ }
1767
+ class KtbAllOrdersInSalePlanForAdminInput {
1768
+ constructor(data) {
1769
+ if (data) {
1770
+ for (const property in data) {
1771
+ // eslint-disable-next-line no-prototype-builtins
1772
+ if (data.hasOwnProperty(property))
1773
+ this[property] = data[property];
1774
+ }
1775
+ }
1776
+ }
1777
+ }
1778
+ class KtbAllOrdersInSalePlanForAdmin {
1779
+ constructor(data) {
1780
+ if (data) {
1781
+ for (const property in data) {
1782
+ // eslint-disable-next-line no-prototype-builtins
1783
+ if (data.hasOwnProperty(property))
1784
+ this[property] = data[property];
1785
+ }
1786
+ }
1787
+ }
1788
+ }
1789
+
1790
+ class ktbEditSupplyQuantityVendorInput {
1791
+ constructor(data) {
1792
+ if (data) {
1793
+ for (const property in data) {
1794
+ // eslint-disable-next-line no-prototype-builtins
1795
+ if (data.hasOwnProperty(property))
1796
+ this[property] = data[property];
1797
+ }
1798
+ }
1799
+ }
1800
+ }
1801
+ class ktbEditOrderSupplyQuantityInput {
1802
+ constructor(data) {
1803
+ if (data) {
1804
+ for (const property in data) {
1805
+ // eslint-disable-next-line no-prototype-builtins
1806
+ if (data.hasOwnProperty(property))
1807
+ this[property] = data[property];
1808
+ }
1809
+ }
1810
+ }
1811
+ }
1812
+
1813
+ class KtbCoupon {
1814
+ constructor(coupon) {
1815
+ this.id = coupon.id;
1816
+ this.title = coupon.title;
1817
+ this.supplier = coupon.supplier;
1818
+ this.amount = coupon.amount;
1819
+ this.remainingPrice = coupon.remainingPrice;
1820
+ this.expiredDate = coupon.expiredDate;
1821
+ this.isActive = coupon.isActive;
1822
+ this.type = coupon.type;
1823
+ this.gift = coupon.gift;
1824
+ this.code = coupon.code;
1825
+ }
1826
+ }
1827
+
1828
+ class KtbTicket {
1829
+ constructor(data) {
1830
+ this.topic = '';
1831
+ if (data) {
1832
+ for (const property in data) {
1833
+ if (Object.prototype.hasOwnProperty.call(data, property)) {
1834
+ this[property] = data[property];
1835
+ }
1836
+ }
1837
+ }
1838
+ }
1839
+ }
1840
+ class KtbTicketAdmin {
1841
+ constructor(data) {
1842
+ if (data) {
1843
+ for (const property in data) {
1844
+ // eslint-disable-next-line no-prototype-builtins
1845
+ if (data.hasOwnProperty(property))
1846
+ this[property] = data[property];
1847
+ }
1848
+ }
1849
+ }
1850
+ }
1851
+ class KtbTicketStatsByTypeDto {
1852
+ constructor(data) {
1853
+ this.customerTicketCount = data.customerTicketCount;
1854
+ this.vendorTicketCount = data.vendorTicketCount;
1855
+ this.allTicketCount = this.customerTicketCount + this.vendorTicketCount;
1856
+ }
1857
+ }
1858
+ class ktbTicketTrminatingUserDto {
1859
+ constructor(data) {
1860
+ this.id = data.id;
1861
+ this.name = data.name;
1862
+ }
1863
+ }
1864
+
1865
+ class KtbTicketDiscussion {
1866
+ constructor(data) {
1867
+ if (data) {
1868
+ this.id = data.id;
1869
+ this.answer = data.answer;
1870
+ this.creationTime = data.creationTime;
1871
+ this.responderId = data.responderId;
1872
+ this.ticketId = data.ticketId;
1873
+ this.userName = data.userName;
1874
+ this.userType = data.userType;
1875
+ this.ticketTopic = data.ticketTopic;
1876
+ this.attachments = data.attachments;
1877
+ }
1878
+ }
1879
+ }
1880
+
1881
+ class KtbTicketFile {
1882
+ constructor(data) {
1883
+ if (data) {
1884
+ this.id = data.id;
1885
+ this.fileName = data.fileName;
1886
+ this.fileAddress = data.fileAddress;
1887
+ this.fileType = data.fileType;
1888
+ this.ticketId = data.ticketId;
1889
+ this.ticketDiscussionId = data.ticketDiscussionId;
1890
+ }
1891
+ }
1892
+ }
1893
+
1894
+ class KtbTicketsResult {
1895
+ constructor(data) {
1896
+ this.totalCount = 0;
784
1897
  this.items = [];
785
1898
  if (data) {
786
- this.totalCount = data.totalCount;
787
- this.items = data.items;
1899
+ this.totalCount = data.totalCount;
1900
+ this.items = data.items;
1901
+ }
1902
+ }
1903
+ }
1904
+
1905
+ class KtbTicketInput {
1906
+ constructor(data) {
1907
+ if (data) {
1908
+ this.topic = data.topic;
1909
+ this.status = data.status;
1910
+ this.body = data.body;
1911
+ this.closeTime = data.closeTime;
1912
+ this.ticketCategoryId = data.ticketCategoryId;
1913
+ this.userId = data.userId;
1914
+ this.attachments = data.attachments;
1915
+ this.closerId = data.closerId;
1916
+ this.vendorId = data.vendorId;
1917
+ }
1918
+ }
1919
+ }
1920
+
1921
+ class KtbTicketFileInput {
1922
+ constructor(data) {
1923
+ if (data) {
1924
+ this.fileName = data.fileName;
1925
+ this.fileAddress = data.fileAddress;
1926
+ this.fileType = data.fileType;
1927
+ this.ticketDiscussionId = data.ticketDiscussionId;
1928
+ this.ticketId = data.ticketId;
1929
+ }
1930
+ }
1931
+ }
1932
+
1933
+ class KtbTicketCategory {
1934
+ constructor(data) {
1935
+ if (data) {
1936
+ this.id = data.id;
1937
+ this.displayName = data.displayName;
1938
+ }
1939
+ }
1940
+ }
1941
+
1942
+ class KtbTicketDiscussionInput {
1943
+ constructor(data) {
1944
+ if (data) {
1945
+ this.id = data.id;
1946
+ this.answer = data.answer;
1947
+ this.responderId = data.responderId;
1948
+ this.ticketId = data.ticketId;
1949
+ this.attachments = data.attachments;
1950
+ }
1951
+ }
1952
+ }
1953
+
1954
+ class KtbTicketStat {
1955
+ /**
1956
+ *
1957
+ */
1958
+ constructor(data) {
1959
+ if (data) {
1960
+ this.state = data.state;
1961
+ this.value = data.value;
1962
+ }
1963
+ }
1964
+ }
1965
+
1966
+ class KtbTicketForAdminFilter {
1967
+ constructor(data) {
1968
+ if (data) {
1969
+ for (const property in data) {
1970
+ // eslint-disable-next-line no-prototype-builtins
1971
+ if (data.hasOwnProperty(property))
1972
+ this[property] = data[property];
1973
+ }
1974
+ }
1975
+ }
1976
+ }
1977
+
1978
+ class KtbFile {
1979
+ constructor(data) {
1980
+ this.fileName = data?.fileName;
1981
+ this.fileType = data?.fileType;
1982
+ this.fileToken = data?.fileToken;
1983
+ }
1984
+ }
1985
+
1986
+ class ktbReturnOnSaleWithTicketInput {
1987
+ constructor(data) {
1988
+ if (data) {
1989
+ for (const property in data) {
1990
+ // eslint-disable-next-line no-prototype-builtins
1991
+ if (data.hasOwnProperty(property))
1992
+ this[property] = data[property];
1993
+ }
1994
+ }
1995
+ }
1996
+ }
1997
+
1998
+ class KtbSendValidationCodeInput {
1999
+ constructor(data) {
2000
+ this.otpSmsType = 0;
2001
+ if (data) {
2002
+ for (const property in data) {
2003
+ // eslint-disable-next-line no-prototype-builtins
2004
+ if (data.hasOwnProperty(property))
2005
+ this[property] = data[property];
2006
+ }
2007
+ }
2008
+ }
2009
+ }
2010
+
2011
+ class KtbCheckValidationCodeInput {
2012
+ constructor(data) {
2013
+ this.otpSmsType = 0;
2014
+ if (data) {
2015
+ for (const property in data) {
2016
+ // eslint-disable-next-line no-prototype-builtins
2017
+ if (data.hasOwnProperty(property))
2018
+ this[property] = data[property];
2019
+ }
2020
+ }
2021
+ }
2022
+ }
2023
+
2024
+ class ktbGBitValidationInput {
2025
+ constructor(data) {
2026
+ if (data) {
2027
+ for (const property in data) {
2028
+ // eslint-disable-next-line no-prototype-builtins
2029
+ if (data.hasOwnProperty(property))
2030
+ this[property] = data[property];
2031
+ }
2032
+ }
2033
+ }
2034
+ }
2035
+
2036
+ class KtbUserValidatio {
2037
+ constructor(data) {
2038
+ if (data) {
2039
+ for (const property in data) {
2040
+ // eslint-disable-next-line no-prototype-builtins
2041
+ if (data.hasOwnProperty(property))
2042
+ this[property] = data[property];
2043
+ }
2044
+ }
2045
+ }
2046
+ }
2047
+ class KtbGBitIdentityInfo {
2048
+ constructor(data) {
2049
+ if (data) {
2050
+ for (const property in data) {
2051
+ // eslint-disable-next-line no-prototype-builtins
2052
+ if (data.hasOwnProperty(property))
2053
+ this[property] = data[property];
2054
+ }
2055
+ }
2056
+ }
2057
+ }
2058
+ var KtbUserValidationStatus;
2059
+ (function (KtbUserValidationStatus) {
2060
+ KtbUserValidationStatus[KtbUserValidationStatus["AllValid"] = 1] = "AllValid";
2061
+ KtbUserValidationStatus[KtbUserValidationStatus["InfoIsNotAvailbale"] = 2] = "InfoIsNotAvailbale";
2062
+ KtbUserValidationStatus[KtbUserValidationStatus["InfoIsForDeadPerson"] = 3] = "InfoIsForDeadPerson";
2063
+ })(KtbUserValidationStatus || (KtbUserValidationStatus = {}));
2064
+
2065
+ class KtbResetPasswordInput {
2066
+ constructor(data) {
2067
+ if (data) {
2068
+ for (const property in data) {
2069
+ // eslint-disable-next-line no-prototype-builtins
2070
+ if (data.hasOwnProperty(property))
2071
+ this[property] = data[property];
2072
+ }
2073
+ }
2074
+ }
2075
+ }
2076
+
2077
+ class KtbRegister {
2078
+ constructor(data) {
2079
+ if (data) {
2080
+ for (const property in data) {
2081
+ // eslint-disable-next-line no-prototype-builtins
2082
+ if (data.hasOwnProperty(property))
2083
+ this[property] = data[property];
2084
+ }
2085
+ }
2086
+ }
2087
+ }
2088
+
2089
+ class KtbLogin {
2090
+ constructor(data) {
2091
+ if (data) {
2092
+ for (const property in data) {
2093
+ // eslint-disable-next-line no-prototype-builtins
2094
+ if (data.hasOwnProperty(property))
2095
+ this[property] = data[property];
2096
+ }
2097
+ }
2098
+ }
2099
+ }
2100
+
2101
+ class KtbRegisterInput {
2102
+ constructor(data) {
2103
+ if (data) {
2104
+ for (const property in data) {
2105
+ // eslint-disable-next-line no-prototype-builtins
2106
+ if (data.hasOwnProperty(property))
2107
+ this[property] = data[property];
2108
+ }
2109
+ }
2110
+ }
2111
+ }
2112
+
2113
+ class KtbChangePasswordInput {
2114
+ constructor(data) {
2115
+ if (data) {
2116
+ for (const property in data) {
2117
+ // eslint-disable-next-line no-prototype-builtins
2118
+ if (data.hasOwnProperty(property))
2119
+ this[property] = data[property];
2120
+ }
2121
+ }
2122
+ }
2123
+ }
2124
+
2125
+ class KtbInpersonRegisterInput {
2126
+ constructor(data) {
2127
+ if (data) {
2128
+ for (const property in data) {
2129
+ // eslint-disable-next-line no-prototype-builtins
2130
+ if (data.hasOwnProperty(property))
2131
+ this[property] = data[property];
2132
+ }
2133
+ }
2134
+ }
2135
+ }
2136
+
2137
+ class KtbCheckUserExistInput {
2138
+ constructor(data) {
2139
+ if (data) {
2140
+ for (const property in data) {
2141
+ // eslint-disable-next-line no-prototype-builtins
2142
+ if (data.hasOwnProperty(property))
2143
+ this[property] = data[property];
2144
+ }
2145
+ }
2146
+ }
2147
+ }
2148
+ class KtbCheckUserExistDto {
2149
+ constructor(data) {
2150
+ if (data) {
2151
+ for (const property in data) {
2152
+ // eslint-disable-next-line no-prototype-builtins
2153
+ if (data.hasOwnProperty(property))
2154
+ this[property] = data[property];
2155
+ }
2156
+ }
2157
+ }
2158
+ }
2159
+
2160
+ class KtbSecuritySetting {
2161
+ constructor(data) {
2162
+ if (data) {
2163
+ for (const property in data) {
2164
+ // eslint-disable-next-line no-prototype-builtins
2165
+ if (data.hasOwnProperty(property))
2166
+ this[property] = data[property];
2167
+ }
2168
+ }
2169
+ }
2170
+ }
2171
+ class KtbPasswordComplexitySetting {
2172
+ constructor(data) {
2173
+ if (data) {
2174
+ for (const property in data) {
2175
+ // eslint-disable-next-line no-prototype-builtins
2176
+ if (data.hasOwnProperty(property))
2177
+ this[property] = data[property];
2178
+ }
2179
+ }
2180
+ }
2181
+ }
2182
+ class KtbUserLockOutSetting {
2183
+ constructor(data) {
2184
+ if (data) {
2185
+ for (const property in data) {
2186
+ // eslint-disable-next-line no-prototype-builtins
2187
+ if (data.hasOwnProperty(property))
2188
+ this[property] = data[property];
2189
+ }
2190
+ }
2191
+ }
2192
+ }
2193
+ class KtbTwoFactorLoginSetting {
2194
+ constructor(data) {
2195
+ if (data) {
2196
+ for (const property in data) {
2197
+ // eslint-disable-next-line no-prototype-builtins
2198
+ if (data.hasOwnProperty(property))
2199
+ this[property] = data[property];
2200
+ }
2201
+ }
2202
+ }
2203
+ }
2204
+
2205
+ class KtbNotification {
2206
+ constructor(data) {
2207
+ this.isRead = true;
2208
+ if (data) {
2209
+ for (const property in data) {
2210
+ // eslint-disable-next-line no-prototype-builtins
2211
+ if (data.hasOwnProperty(property))
2212
+ this[property] = data[property];
2213
+ }
2214
+ }
2215
+ }
2216
+ }
2217
+
2218
+ class KtbPurchase {
2219
+ constructor(data) {
2220
+ if (data) {
2221
+ for (const property in data) {
2222
+ // eslint-disable-next-line no-prototype-builtins
2223
+ if (data.hasOwnProperty(property))
2224
+ this[property] = data[property];
2225
+ }
2226
+ }
2227
+ }
2228
+ }
2229
+ class KtbPurchaseUser {
2230
+ constructor(data) {
2231
+ if (data) {
2232
+ for (const property in data) {
2233
+ // eslint-disable-next-line no-prototype-builtins
2234
+ if (data.hasOwnProperty(property))
2235
+ this[property] = data[property];
2236
+ }
2237
+ }
2238
+ }
2239
+ }
2240
+ class KtbReceiver {
2241
+ constructor(data) {
2242
+ if (data) {
2243
+ for (const property in data) {
2244
+ // eslint-disable-next-line no-prototype-builtins
2245
+ if (data.hasOwnProperty(property))
2246
+ this[property] = data[property];
2247
+ }
2248
+ }
2249
+ }
2250
+ }
2251
+ class KtbPurchaseFinance {
2252
+ constructor(data) {
2253
+ if (data) {
2254
+ for (const property in data) {
2255
+ // eslint-disable-next-line no-prototype-builtins
2256
+ if (data.hasOwnProperty(property))
2257
+ this[property] = data[property];
2258
+ }
2259
+ }
2260
+ }
2261
+ }
2262
+ class KtbPurchaseSaleDetailStatsForAdmin {
2263
+ constructor(data) {
2264
+ if (data) {
2265
+ for (const property in data) {
2266
+ // eslint-disable-next-line no-prototype-builtins
2267
+ if (data.hasOwnProperty(property))
2268
+ this[property] = data[property];
2269
+ }
2270
+ }
2271
+ }
2272
+ }
2273
+ class KtbAllPurchasesInSalePlanForAdminInput {
2274
+ constructor(data) {
2275
+ if (data) {
2276
+ for (const property in data) {
2277
+ // eslint-disable-next-line no-prototype-builtins
2278
+ if (data.hasOwnProperty(property))
2279
+ this[property] = data[property];
2280
+ }
2281
+ }
2282
+ }
2283
+ }
2284
+ class KtbPurchasesInSalePlanForAdmin {
2285
+ constructor(data) {
2286
+ if (data) {
2287
+ for (const property in data) {
2288
+ // eslint-disable-next-line no-prototype-builtins
2289
+ if (data.hasOwnProperty(property))
2290
+ this[property] = data[property];
2291
+ }
2292
+ }
2293
+ }
2294
+ }
2295
+
2296
+ class KtbPurchaseFilter {
2297
+ constructor(data) {
2298
+ this.pageNumber = 1;
2299
+ this.pageSize = 10;
2300
+ if (data) {
2301
+ for (const property in data) {
2302
+ // eslint-disable-next-line no-prototype-builtins
2303
+ if (data.hasOwnProperty(property))
2304
+ this[property] = data[property];
2305
+ }
2306
+ }
2307
+ }
2308
+ }
2309
+
2310
+ class KtbPurchaseAdmin {
2311
+ constructor(data) {
2312
+ if (data) {
2313
+ for (const property in data) {
2314
+ // eslint-disable-next-line no-prototype-builtins
2315
+ if (data.hasOwnProperty(property))
2316
+ this[property] = data[property];
2317
+ }
2318
+ if (this.user) {
2319
+ this.user.fullName = this.user.firstName + ' ' + this.user.lastName;
2320
+ }
2321
+ if (this.receiver) {
2322
+ this.receiver.fullName = this.receiver.firstName + ' ' + this.receiver.lastName;
2323
+ }
2324
+ }
2325
+ }
2326
+ }
2327
+ class KtbEditPurchaseReceiver {
2328
+ constructor(data) {
2329
+ if (data) {
2330
+ for (const property in data) {
2331
+ // eslint-disable-next-line no-prototype-builtins
2332
+ if (data.hasOwnProperty(property))
2333
+ this[property] = data[property];
2334
+ }
2335
+ }
2336
+ }
2337
+ }
2338
+
2339
+ class KtbPlan {
2340
+ constructor(plan) {
2341
+ this.id = plan.id;
2342
+ this.title = plan.title;
2343
+ this.subTitle = plan.subTitle;
2344
+ this.amount = plan.amount;
2345
+ this.discount = plan.discount;
2346
+ this.subsidy = plan.subsidy;
2347
+ this.remainingTime = plan.remainingTime;
2348
+ this.startDate = plan.startDate;
2349
+ this.endDate = plan.endDate;
2350
+ this.description = plan.description;
2351
+ this.isActive = plan.isActive;
2352
+ this.isShutdown = plan.isShutdown;
2353
+ this.image = plan.image;
2354
+ this.rules = plan.rules;
2355
+ this.termsAndConditions = plan.termsAndConditions;
2356
+ }
2357
+ }
2358
+ class KtbBulkSendOrderByVendor {
2359
+ constructor(data) {
2360
+ if (data) {
2361
+ for (const property in data) {
2362
+ // eslint-disable-next-line no-prototype-builtins
2363
+ if (data.hasOwnProperty(property))
2364
+ this[property] = data[property];
2365
+ }
788
2366
  }
789
2367
  }
790
2368
  }
791
-
792
- class KtbFavorite {
2369
+ class KtbBulkSendOrder {
793
2370
  constructor(data) {
794
- this.isLiked = false;
795
2371
  if (data) {
796
- this.title = data.title;
797
- this.publisherTitle = data.publisher;
798
- this.minPrice = data.minPrice;
799
- this.VendorCount = data.VendorCount;
800
- this.bookId = data.bookId;
801
- this.imageAddress = data.imageAddress;
802
- this.minPrice = data.minPrice;
803
- this.vendorCount = data.VendorCount;
804
- this.printVersion = data.printVersion;
805
- this.isLiked = data.isLiked;
2372
+ for (const property in data) {
2373
+ // eslint-disable-next-line no-prototype-builtins
2374
+ if (data.hasOwnProperty(property))
2375
+ this[property] = data[property];
2376
+ }
806
2377
  }
807
2378
  }
808
2379
  }
809
- class KtbFavoriteContainer {
2380
+ class KtbSalePlanStatsByType {
810
2381
  constructor(data) {
811
- this.__version = 2;
812
- this.favs = data ?? [];
2382
+ if (data) {
2383
+ for (const property in data) {
2384
+ // eslint-disable-next-line no-prototype-builtins
2385
+ if (data.hasOwnProperty(property))
2386
+ this[property] = data[property];
2387
+ }
2388
+ }
813
2389
  }
814
2390
  }
815
-
816
- class KtbBasketItem {
817
- // public get totalAmount(): number {
818
- // return this.quantity * this.price;
819
- // }
820
- // public get totalAmountWithDiscount(): number {
821
- // return this.quantity * this.priceWithDiscount;
822
- // }
2391
+ class KtbVendorInPersonStatus {
823
2392
  constructor(data) {
824
- this.authors = [];
825
- this.quantity = 1;
826
- this.salePlanId = null;
827
2393
  if (data) {
828
- this.productId = data.productId;
829
- this.bookId = data.bookId;
830
- this.vendorId = data.vendorId;
831
- this.title = data.title;
832
- this.description = data.description;
833
- this.publisher = data.publisher ?? '';
834
- this.authors = data.authors ?? [];
835
- this.price = data.price;
836
- this.priceWithDiscount = data.priceWithDiscount ?? data.price;
837
- this.discountPercent = data.discountPercent ?? 0;
838
- this.quantity = data.quantity ?? 1;
839
- this.imageAddress = data.imageAddress ?? '';
840
- this.bookHouseId = data.bookHouseId;
841
- this.cartItemId = data.cartItemId;
842
- this.salePlanId = data.salePlanId;
843
- this.maxPurchasableQuantity = data.maxPurchasableQuantity;
2394
+ for (const property in data) {
2395
+ // eslint-disable-next-line no-prototype-builtins
2396
+ if (data.hasOwnProperty(property))
2397
+ this[property] = data[property];
2398
+ }
844
2399
  }
845
2400
  }
846
2401
  }
847
-
848
- class KtbBasket {
849
- get isValid() {
850
- return this.totalAmount > this.minPurchaseAmount;
2402
+ class KtbOrderDetailStatsForVendorInput {
2403
+ constructor(data) {
2404
+ if (data) {
2405
+ for (const property in data) {
2406
+ // eslint-disable-next-line no-prototype-builtins
2407
+ if (data.hasOwnProperty(property))
2408
+ this[property] = data[property];
2409
+ }
2410
+ }
851
2411
  }
852
- constructor(bsk) {
853
- this.quantity = 0;
854
- this.totalDiscount = 0;
855
- this.totalAmount = 0;
856
- this.version = 'v3';
857
- this.minPurchaseAmount = 0;
858
- if (bsk) {
859
- this.vendorId = bsk.vendorId;
860
- this.vendorTitle = bsk.vendorTitle;
861
- this.logoAddress = bsk.logoAddress;
862
- this.items = bsk.items?.map(r => new KtbBasketItem(r)) ?? [];
863
- this.minPurchaseAmount = bsk.minPurchaseAmount;
864
- // console.warn('basket-items', this.items);
865
- this.quantity = 0;
866
- this.totalAmount = 0;
867
- this.totalDiscount = 0;
868
- bsk.items?.forEach(r => {
869
- this.quantity += r?.quantity ?? 0;
870
- this.totalAmount += r?.price ?? 0;
871
- this.totalDiscount += r.price - (r.priceWithDiscount ?? 0);
872
- });
873
- // console.warn('totalDiscount', this.totalDiscount);
874
- // this.isValid = bsk.isValid;
2412
+ }
2413
+ class KtbOrderStatusStatsForVendorInput {
2414
+ constructor(data) {
2415
+ if (data) {
2416
+ for (const property in data) {
2417
+ // eslint-disable-next-line no-prototype-builtins
2418
+ if (data.hasOwnProperty(property))
2419
+ this[property] = data[property];
2420
+ }
875
2421
  }
876
2422
  }
877
2423
  }
878
- class KtbBasketContainer {
2424
+ class KtbOrderDetailStatsForVendor {
2425
+ constructor(data) {
2426
+ if (data) {
2427
+ for (const property in data) {
2428
+ // eslint-disable-next-line no-prototype-builtins
2429
+ if (data.hasOwnProperty(property))
2430
+ this[property] = data[property];
2431
+ }
2432
+ }
2433
+ }
2434
+ }
2435
+ class KtbOrderStatusStatsForVendor {
2436
+ constructor(data) {
2437
+ if (data) {
2438
+ for (const property in data) {
2439
+ // eslint-disable-next-line no-prototype-builtins
2440
+ if (data.hasOwnProperty(property))
2441
+ this[property] = data[property];
2442
+ }
2443
+ }
2444
+ }
2445
+ }
2446
+ class KtbAllVendorSalePlansForAdminInput {
2447
+ constructor(data) {
2448
+ if (data) {
2449
+ for (const property in data) {
2450
+ // eslint-disable-next-line no-prototype-builtins
2451
+ if (data.hasOwnProperty(property))
2452
+ this[property] = data[property];
2453
+ }
2454
+ }
2455
+ }
2456
+ }
2457
+ class KtbGetVendorSalePlansForAdmin {
2458
+ constructor(data) {
2459
+ if (data) {
2460
+ for (const property in data) {
2461
+ // eslint-disable-next-line no-prototype-builtins
2462
+ if (data.hasOwnProperty(property))
2463
+ this[property] = data[property];
2464
+ }
2465
+ }
2466
+ }
2467
+ }
2468
+ class KtbSetVendorPlanStatusToRejected {
2469
+ constructor(data) {
2470
+ if (data) {
2471
+ for (const property in data) {
2472
+ // eslint-disable-next-line no-prototype-builtins
2473
+ if (data.hasOwnProperty(property))
2474
+ this[property] = data[property];
2475
+ }
2476
+ }
2477
+ }
2478
+ }
2479
+ class KtbAcceptVendorSalePlanRegistration {
2480
+ constructor(data) {
2481
+ if (data) {
2482
+ for (const property in data) {
2483
+ // eslint-disable-next-line no-prototype-builtins
2484
+ if (data.hasOwnProperty(property))
2485
+ this[property] = data[property];
2486
+ }
2487
+ }
2488
+ }
2489
+ }
2490
+ class KtbOrderStatusStatsForAdmin {
2491
+ constructor(data) {
2492
+ if (data) {
2493
+ for (const property in data) {
2494
+ // eslint-disable-next-line no-prototype-builtins
2495
+ if (data.hasOwnProperty(property))
2496
+ this[property] = data[property];
2497
+ }
2498
+ }
2499
+ }
2500
+ }
2501
+ class KtbAllBookHouseSalePlansForAdminInput {
2502
+ constructor(data) {
2503
+ if (data) {
2504
+ for (const property in data) {
2505
+ // eslint-disable-next-line no-prototype-builtins
2506
+ if (data.hasOwnProperty(property))
2507
+ this[property] = data[property];
2508
+ }
2509
+ }
2510
+ }
2511
+ }
2512
+ class KtbGetBookHouseSalePlansForAdmin {
2513
+ constructor(data) {
2514
+ if (data) {
2515
+ for (const property in data) {
2516
+ // eslint-disable-next-line no-prototype-builtins
2517
+ if (data.hasOwnProperty(property))
2518
+ this[property] = data[property];
2519
+ }
2520
+ }
2521
+ }
2522
+ }
2523
+ class KtbsalePlanStatsForAdmin {
2524
+ constructor(data) {
2525
+ this.bookHouseStatsCount = data?.bookHouseStatsCount || 0;
2526
+ this.exclusiveStatsCoun = data?.exclusiveStatsCoun || 0;
2527
+ }
2528
+ }
2529
+ class KtbBookHouseSalePlanForAdminEdit {
2530
+ constructor(data) {
2531
+ if (data) {
2532
+ for (const property in data) {
2533
+ // eslint-disable-next-line no-prototype-builtins
2534
+ if (data.hasOwnProperty(property))
2535
+ this[property] = data[property];
2536
+ }
2537
+ }
2538
+ }
2539
+ }
2540
+ class KtbExclusiveSalePlanForAdminEdit {
2541
+ constructor(data) {
2542
+ if (data) {
2543
+ for (const property in data) {
2544
+ // eslint-disable-next-line no-prototype-builtins
2545
+ if (data.hasOwnProperty(property))
2546
+ this[property] = data[property];
2547
+ }
2548
+ }
2549
+ }
2550
+ }
2551
+ class KtbPurchaseStatusStats {
2552
+ constructor(data) {
2553
+ if (data) {
2554
+ for (const property in data) {
2555
+ // eslint-disable-next-line no-prototype-builtins
2556
+ if (data.hasOwnProperty(property))
2557
+ this[property] = data[property];
2558
+ }
2559
+ }
2560
+ }
2561
+ }
2562
+
2563
+ class KtbPlanRequestInput {
879
2564
  constructor(data) {
2565
+ this.pageNumber = 1;
2566
+ this.pageSize = 10;
880
2567
  if (data) {
881
2568
  for (const property in data) {
882
2569
  // eslint-disable-next-line no-prototype-builtins
@@ -887,24 +2574,8 @@ class KtbBasketContainer {
887
2574
  }
888
2575
  }
889
2576
 
890
- class KtbPostAmountOutput {
891
- constructor(data) {
892
- if (data) {
893
- this.postAmount = data.postAmount;
894
- this.postAmountRaw = data.postAmountRaw;
895
- this.discountAmount = data.discountAmount;
896
- }
897
- }
898
- }
899
-
900
- class KtbBasketDetails {
2577
+ class KtbGift {
901
2578
  constructor(data) {
902
- this.customerCredit = 0;
903
- this.remainCredit = 0;
904
- this.totalCount = 0;
905
- this.totalPrice = 0;
906
- this.totalDiscount = 0;
907
- this.finalPayablePrice = 0;
908
2579
  if (data) {
909
2580
  for (const property in data) {
910
2581
  // eslint-disable-next-line no-prototype-builtins
@@ -915,9 +2586,10 @@ class KtbBasketDetails {
915
2586
  }
916
2587
  }
917
2588
 
918
- class KtbCheckoutResult {
2589
+ class KtbVoucherFilter {
919
2590
  constructor(data) {
920
- this.activeGatewaies = [];
2591
+ this.pageNumber = 1;
2592
+ this.pageSize = 4;
921
2593
  if (data) {
922
2594
  for (const property in data) {
923
2595
  // eslint-disable-next-line no-prototype-builtins
@@ -927,7 +2599,8 @@ class KtbCheckoutResult {
927
2599
  }
928
2600
  }
929
2601
  }
930
- class KtbActiveGateway {
2602
+
2603
+ class KtbCouponForAdminFilter {
931
2604
  constructor(data) {
932
2605
  if (data) {
933
2606
  for (const property in data) {
@@ -939,7 +2612,7 @@ class KtbActiveGateway {
939
2612
  }
940
2613
  }
941
2614
 
942
- class ktbGetCustomerInfo {
2615
+ class KtbCouponFroAdmin {
943
2616
  constructor(data) {
944
2617
  if (data) {
945
2618
  for (const property in data) {
@@ -951,7 +2624,7 @@ class ktbGetCustomerInfo {
951
2624
  }
952
2625
  }
953
2626
 
954
- class KtbOrderAddress {
2627
+ class KtbVoucherFroAdmin {
955
2628
  constructor(data) {
956
2629
  if (data) {
957
2630
  for (const property in data) {
@@ -962,7 +2635,8 @@ class KtbOrderAddress {
962
2635
  }
963
2636
  }
964
2637
  }
965
- class KtbOrderItem {
2638
+
2639
+ class KtbAddVoucherForAdmin {
966
2640
  constructor(data) {
967
2641
  if (data) {
968
2642
  for (const property in data) {
@@ -973,7 +2647,8 @@ class KtbOrderItem {
973
2647
  }
974
2648
  }
975
2649
  }
976
- class KtbShortageRequest {
2650
+
2651
+ class KtbAddCouponForAdmin {
977
2652
  constructor(data) {
978
2653
  if (data) {
979
2654
  for (const property in data) {
@@ -984,26 +2659,41 @@ class KtbShortageRequest {
984
2659
  }
985
2660
  }
986
2661
  }
987
- class KtbOrderPayment {
2662
+
2663
+ class ktbCreaditStatsForAdmin {
988
2664
  constructor(data) {
989
- if (data) {
990
- this.amountPayable = data.amountPayable;
991
- this.totalProfit = data.totalProfit;
992
- this.walletBalance = data.walletBalance;
993
- this.paymentAmount = data.paymentAmount;
994
- this.price = data.price;
995
- this.quantity = data.quantity;
996
- this.shippingCost = data.shippingCost;
997
- this.paymentDate = data.paymentDate;
998
- this.gate = data.gate;
999
- this.cardNumber = data.cardNumber;
1000
- this.sellerDiscounts = data.sellerDiscounts;
1001
- this.spendingCredits = data.spendingCredits;
1002
- this.totalShippingCost = data.totalShippingCost;
1003
- }
2665
+ this.couponCount = data.couponCount;
2666
+ this.voucherCount = data.voucherCount;
1004
2667
  }
1005
2668
  }
1006
- class KtbOrderPlan {
2669
+
2670
+ class KtbTransaction {
2671
+ constructor(transaction) {
2672
+ this.id = transaction.id;
2673
+ this.title = transaction.title;
2674
+ this.date = new Date();
2675
+ this.amount = transaction.amount;
2676
+ this.type = transaction.type;
2677
+ this.section1Data = transaction.section1Data;
2678
+ this.section2Data = transaction.section2Data;
2679
+ this.section3Data = transaction.section3Data;
2680
+ }
2681
+ }
2682
+
2683
+ class KtbTransactionDetails {
2684
+ constructor(transaction) {
2685
+ this.creditType = transaction.creditType;
2686
+ this.creditWithdrawal = transaction.creditWithdrawal;
2687
+ this.withdrawFromWallet = transaction.withdrawFromWallet;
2688
+ this.onlinePayment = transaction.onlinePayment;
2689
+ this.purchaseCode = transaction.purchaseCode;
2690
+ this.trackingCode = transaction.trackingCode;
2691
+ this.gate = transaction.gate;
2692
+ this.status = transaction.status;
2693
+ }
2694
+ }
2695
+
2696
+ class KtbFaq {
1007
2697
  constructor(data) {
1008
2698
  if (data) {
1009
2699
  for (const property in data) {
@@ -1014,7 +2704,8 @@ class KtbOrderPlan {
1014
2704
  }
1015
2705
  }
1016
2706
  }
1017
- class KtbOrder {
2707
+
2708
+ class KtbFaqCategory {
1018
2709
  constructor(data) {
1019
2710
  if (data) {
1020
2711
  for (const property in data) {
@@ -1025,8 +2716,11 @@ class KtbOrder {
1025
2716
  }
1026
2717
  }
1027
2718
  }
1028
- class KtbPurchaseVendor {
2719
+
2720
+ class KtbFaqCategoryFilter {
1029
2721
  constructor(data) {
2722
+ this.pageNumber = 1;
2723
+ this.pageSize = 4;
1030
2724
  if (data) {
1031
2725
  for (const property in data) {
1032
2726
  // eslint-disable-next-line no-prototype-builtins
@@ -1036,8 +2730,11 @@ class KtbPurchaseVendor {
1036
2730
  }
1037
2731
  }
1038
2732
  }
1039
- class KtbReturnOnSale {
2733
+
2734
+ class KtbFaqFilter {
1040
2735
  constructor(data) {
2736
+ this.pageNumber = 1;
2737
+ this.pageSize = 10;
1041
2738
  if (data) {
1042
2739
  for (const property in data) {
1043
2740
  // eslint-disable-next-line no-prototype-builtins
@@ -1047,8 +2744,13 @@ class KtbReturnOnSale {
1047
2744
  }
1048
2745
  }
1049
2746
  }
2747
+ var KtbFaqServiceType;
2748
+ (function (KtbFaqServiceType) {
2749
+ KtbFaqServiceType[KtbFaqServiceType["BazarKetab"] = 1] = "BazarKetab";
2750
+ KtbFaqServiceType[KtbFaqServiceType["Club"] = 2] = "Club";
2751
+ })(KtbFaqServiceType || (KtbFaqServiceType = {}));
1050
2752
 
1051
- class ktbEditSupplyQuantityVendorInput {
2753
+ class KtbOwner {
1052
2754
  constructor(data) {
1053
2755
  if (data) {
1054
2756
  for (const property in data) {
@@ -1059,7 +2761,7 @@ class ktbEditSupplyQuantityVendorInput {
1059
2761
  }
1060
2762
  }
1061
2763
  }
1062
- class ktbEditOrderSupplyQuantityInput {
2764
+ class KtbOwnerFile {
1063
2765
  constructor(data) {
1064
2766
  if (data) {
1065
2767
  for (const property in data) {
@@ -1071,34 +2773,18 @@ class ktbEditOrderSupplyQuantityInput {
1071
2773
  }
1072
2774
  }
1073
2775
 
1074
- class KtbCoupon {
1075
- constructor(coupon) {
1076
- this.id = coupon.id;
1077
- this.title = coupon.title;
1078
- this.supplier = coupon.supplier;
1079
- this.amount = coupon.amount;
1080
- this.remainingPrice = coupon.remainingPrice;
1081
- this.expiredDate = coupon.expiredDate;
1082
- this.isActive = coupon.isActive;
1083
- this.type = coupon.type;
1084
- this.gift = coupon.gift;
1085
- this.code = coupon.code;
1086
- }
1087
- }
1088
-
1089
- class KtbTicket {
2776
+ class KtbCreateOwnerFile {
1090
2777
  constructor(data) {
1091
- this.topic = '';
1092
2778
  if (data) {
1093
2779
  for (const property in data) {
1094
- if (Object.prototype.hasOwnProperty.call(data, property)) {
2780
+ // eslint-disable-next-line no-prototype-builtins
2781
+ if (data.hasOwnProperty(property))
1095
2782
  this[property] = data[property];
1096
- }
1097
2783
  }
1098
2784
  }
1099
2785
  }
1100
2786
  }
1101
- class KtbTicketAdmin {
2787
+ class KtbEditOwnerFile {
1102
2788
  constructor(data) {
1103
2789
  if (data) {
1104
2790
  for (const property in data) {
@@ -1109,122 +2795,120 @@ class KtbTicketAdmin {
1109
2795
  }
1110
2796
  }
1111
2797
  }
1112
- class KtbTicketStatsByTypeDto {
1113
- constructor(data) {
1114
- this.customerTicketCount = data.customerTicketCount;
1115
- this.vendorTicketCount = data.vendorTicketCount;
1116
- this.allTicketCount = this.customerTicketCount + this.vendorTicketCount;
1117
- }
1118
- }
1119
- class ktbTicketTrminatingUserDto {
2798
+
2799
+ class KtbCreateOwner {
1120
2800
  constructor(data) {
1121
- this.id = data.id;
1122
- this.name = data.name;
2801
+ this.files = [];
2802
+ if (data) {
2803
+ for (const property in data) {
2804
+ // eslint-disable-next-line no-prototype-builtins
2805
+ if (data.hasOwnProperty(property))
2806
+ this[property] = data[property];
2807
+ }
2808
+ }
1123
2809
  }
1124
2810
  }
1125
-
1126
- class KtbTicketDiscussion {
2811
+ class KtbEditOwner {
1127
2812
  constructor(data) {
2813
+ this.files = [];
1128
2814
  if (data) {
1129
- this.id = data.id;
1130
- this.answer = data.answer;
1131
- this.creationTime = data.creationTime;
1132
- this.responderId = data.responderId;
1133
- this.ticketId = data.ticketId;
1134
- this.userName = data.userName;
1135
- this.userType = data.userType;
1136
- this.ticketTopic = data.ticketTopic;
1137
- this.attachments = data.attachments;
2815
+ for (const property in data) {
2816
+ // eslint-disable-next-line no-prototype-builtins
2817
+ if (data.hasOwnProperty(property))
2818
+ this[property] = data[property];
2819
+ }
1138
2820
  }
1139
2821
  }
1140
2822
  }
1141
2823
 
1142
- class KtbTicketFile {
2824
+ class KtbOwnerFilter {
1143
2825
  constructor(data) {
2826
+ this.pageNumber = 1;
2827
+ this.pageSize = 4;
1144
2828
  if (data) {
1145
- this.id = data.id;
1146
- this.fileName = data.fileName;
1147
- this.fileAddress = data.fileAddress;
1148
- this.fileType = data.fileType;
1149
- this.ticketId = data.ticketId;
1150
- this.ticketDiscussionId = data.ticketDiscussionId;
2829
+ for (const property in data) {
2830
+ // eslint-disable-next-line no-prototype-builtins
2831
+ if (data.hasOwnProperty(property))
2832
+ this[property] = data[property];
2833
+ }
1151
2834
  }
1152
2835
  }
1153
2836
  }
1154
2837
 
1155
- class KtbTicketsResult {
2838
+ class KtbGuildGroup {
1156
2839
  constructor(data) {
1157
- this.totalCount = 0;
1158
- this.items = [];
1159
2840
  if (data) {
1160
- this.totalCount = data.totalCount;
1161
- this.items = data.items;
2841
+ for (const property in data) {
2842
+ // eslint-disable-next-line no-prototype-builtins
2843
+ if (data.hasOwnProperty(property))
2844
+ this[property] = data[property];
2845
+ }
1162
2846
  }
1163
2847
  }
1164
2848
  }
1165
-
1166
- class KtbTicketInput {
2849
+ class KtbGuild {
1167
2850
  constructor(data) {
1168
2851
  if (data) {
1169
- this.topic = data.topic;
1170
- this.status = data.status;
1171
- this.body = data.body;
1172
- this.closeTime = data.closeTime;
1173
- this.ticketCategoryId = data.ticketCategoryId;
1174
- this.userId = data.userId;
1175
- this.attachments = data.attachments;
1176
- this.closerId = data.closerId;
1177
- this.vendorId = data.vendorId;
2852
+ for (const property in data) {
2853
+ // eslint-disable-next-line no-prototype-builtins
2854
+ if (data.hasOwnProperty(property))
2855
+ this[property] = data[property];
2856
+ }
1178
2857
  }
1179
2858
  }
1180
2859
  }
1181
2860
 
1182
- class KtbTicketFileInput {
2861
+ class KtbGuildFilter {
1183
2862
  constructor(data) {
2863
+ this.pageNumber = 1;
2864
+ this.pageSize = 4;
1184
2865
  if (data) {
1185
- this.fileName = data.fileName;
1186
- this.fileAddress = data.fileAddress;
1187
- this.fileType = data.fileType;
1188
- this.ticketDiscussionId = data.ticketDiscussionId;
1189
- this.ticketId = data.ticketId;
2866
+ for (const property in data) {
2867
+ // eslint-disable-next-line no-prototype-builtins
2868
+ if (data.hasOwnProperty(property))
2869
+ this[property] = data[property];
2870
+ }
1190
2871
  }
1191
2872
  }
1192
2873
  }
1193
2874
 
1194
- class KtbTicketCategory {
2875
+ class KtbCity {
1195
2876
  constructor(data) {
1196
2877
  if (data) {
1197
- this.id = data.id;
1198
- this.displayName = data.displayName;
2878
+ for (const property in data) {
2879
+ // eslint-disable-next-line no-prototype-builtins
2880
+ if (data.hasOwnProperty(property))
2881
+ this[property] = data[property];
2882
+ }
1199
2883
  }
1200
2884
  }
1201
2885
  }
1202
2886
 
1203
- class KtbTicketDiscussionInput {
2887
+ class KtbProvince {
1204
2888
  constructor(data) {
1205
2889
  if (data) {
1206
- this.id = data.id;
1207
- this.answer = data.answer;
1208
- this.responderId = data.responderId;
1209
- this.ticketId = data.ticketId;
1210
- this.attachments = data.attachments;
2890
+ for (const property in data) {
2891
+ // eslint-disable-next-line no-prototype-builtins
2892
+ if (data.hasOwnProperty(property))
2893
+ this[property] = data[property];
2894
+ }
1211
2895
  }
1212
2896
  }
1213
2897
  }
1214
2898
 
1215
- class KtbTicketStat {
1216
- /**
1217
- *
1218
- */
2899
+ class KtbProvinceFilter {
1219
2900
  constructor(data) {
1220
2901
  if (data) {
1221
- this.state = data.state;
1222
- this.value = data.value;
2902
+ for (const property in data) {
2903
+ // eslint-disable-next-line no-prototype-builtins
2904
+ if (data.hasOwnProperty(property))
2905
+ this[property] = data[property];
2906
+ }
1223
2907
  }
1224
2908
  }
1225
2909
  }
1226
2910
 
1227
- class KtbTicketForAdminFilter {
2911
+ class KtbCityFilter {
1228
2912
  constructor(data) {
1229
2913
  if (data) {
1230
2914
  for (const property in data) {
@@ -1236,16 +2920,10 @@ class KtbTicketForAdminFilter {
1236
2920
  }
1237
2921
  }
1238
2922
 
1239
- class KtbFile {
1240
- constructor(data) {
1241
- this.fileName = data?.fileName;
1242
- this.fileType = data?.fileType;
1243
- this.fileToken = data?.fileToken;
1244
- }
1245
- }
1246
-
1247
- class ktbReturnOnSaleWithTicketInput {
2923
+ class KtbEmployeeFilter {
1248
2924
  constructor(data) {
2925
+ this.pageNumber = 1;
2926
+ this.pageSize = 4;
1249
2927
  if (data) {
1250
2928
  for (const property in data) {
1251
2929
  // eslint-disable-next-line no-prototype-builtins
@@ -1256,9 +2934,8 @@ class ktbReturnOnSaleWithTicketInput {
1256
2934
  }
1257
2935
  }
1258
2936
 
1259
- class KtbSendValidationCodeInput {
2937
+ class KtbEmployee {
1260
2938
  constructor(data) {
1261
- this.otpSmsType = 0;
1262
2939
  if (data) {
1263
2940
  for (const property in data) {
1264
2941
  // eslint-disable-next-line no-prototype-builtins
@@ -1268,10 +2945,8 @@ class KtbSendValidationCodeInput {
1268
2945
  }
1269
2946
  }
1270
2947
  }
1271
-
1272
- class KtbCheckValidationCodeInput {
2948
+ class KtbCreateEditEmployee {
1273
2949
  constructor(data) {
1274
- this.otpSmsType = 0;
1275
2950
  if (data) {
1276
2951
  for (const property in data) {
1277
2952
  // eslint-disable-next-line no-prototype-builtins
@@ -1282,8 +2957,10 @@ class KtbCheckValidationCodeInput {
1282
2957
  }
1283
2958
  }
1284
2959
 
1285
- class ktbGBitValidationInput {
2960
+ class KtbSocialMediaFilter {
1286
2961
  constructor(data) {
2962
+ this.pageNumber = 1;
2963
+ this.pageSize = 4;
1287
2964
  if (data) {
1288
2965
  for (const property in data) {
1289
2966
  // eslint-disable-next-line no-prototype-builtins
@@ -1294,7 +2971,7 @@ class ktbGBitValidationInput {
1294
2971
  }
1295
2972
  }
1296
2973
 
1297
- class KtbUserValidatio {
2974
+ class KtbSocialMedia {
1298
2975
  constructor(data) {
1299
2976
  if (data) {
1300
2977
  for (const property in data) {
@@ -1305,7 +2982,7 @@ class KtbUserValidatio {
1305
2982
  }
1306
2983
  }
1307
2984
  }
1308
- class KtbGBitIdentityInfo {
2985
+ class KtbCreateSocialMedia {
1309
2986
  constructor(data) {
1310
2987
  if (data) {
1311
2988
  for (const property in data) {
@@ -1316,14 +2993,7 @@ class KtbGBitIdentityInfo {
1316
2993
  }
1317
2994
  }
1318
2995
  }
1319
- var KtbUserValidationStatus;
1320
- (function (KtbUserValidationStatus) {
1321
- KtbUserValidationStatus[KtbUserValidationStatus["AllValid"] = 1] = "AllValid";
1322
- KtbUserValidationStatus[KtbUserValidationStatus["InfoIsNotAvailbale"] = 2] = "InfoIsNotAvailbale";
1323
- KtbUserValidationStatus[KtbUserValidationStatus["InfoIsForDeadPerson"] = 3] = "InfoIsForDeadPerson";
1324
- })(KtbUserValidationStatus || (KtbUserValidationStatus = {}));
1325
-
1326
- class KtbResetPasswordInput {
2996
+ class KtbEditSocialMedia {
1327
2997
  constructor(data) {
1328
2998
  if (data) {
1329
2999
  for (const property in data) {
@@ -1335,8 +3005,10 @@ class KtbResetPasswordInput {
1335
3005
  }
1336
3006
  }
1337
3007
 
1338
- class KtbRegister {
3008
+ class KtbVendorFileFilter {
1339
3009
  constructor(data) {
3010
+ this.pageNumber = 1;
3011
+ this.pageSize = 4;
1340
3012
  if (data) {
1341
3013
  for (const property in data) {
1342
3014
  // eslint-disable-next-line no-prototype-builtins
@@ -1347,7 +3019,7 @@ class KtbRegister {
1347
3019
  }
1348
3020
  }
1349
3021
 
1350
- class KtbLogin {
3022
+ class KtbVendorFile {
1351
3023
  constructor(data) {
1352
3024
  if (data) {
1353
3025
  for (const property in data) {
@@ -1358,8 +3030,7 @@ class KtbLogin {
1358
3030
  }
1359
3031
  }
1360
3032
  }
1361
-
1362
- class KtbRegisterInput {
3033
+ class KtbCreateVendorFile {
1363
3034
  constructor(data) {
1364
3035
  if (data) {
1365
3036
  for (const property in data) {
@@ -1370,8 +3041,7 @@ class KtbRegisterInput {
1370
3041
  }
1371
3042
  }
1372
3043
  }
1373
-
1374
- class KtbChangePasswordInput {
3044
+ class KtbEditVendorFile {
1375
3045
  constructor(data) {
1376
3046
  if (data) {
1377
3047
  for (const property in data) {
@@ -1383,7 +3053,7 @@ class KtbChangePasswordInput {
1383
3053
  }
1384
3054
  }
1385
3055
 
1386
- class KtbInpersonRegisterInput {
3056
+ class KtbFinancialViewPaged {
1387
3057
  constructor(data) {
1388
3058
  if (data) {
1389
3059
  for (const property in data) {
@@ -1394,8 +3064,7 @@ class KtbInpersonRegisterInput {
1394
3064
  }
1395
3065
  }
1396
3066
  }
1397
-
1398
- class KtbCheckUserExistInput {
3067
+ class KtbFinancialView {
1399
3068
  constructor(data) {
1400
3069
  if (data) {
1401
3070
  for (const property in data) {
@@ -1406,7 +3075,20 @@ class KtbCheckUserExistInput {
1406
3075
  }
1407
3076
  }
1408
3077
  }
1409
- class KtbCheckUserExistDto {
3078
+ class KtbVendorFinanceSummaryDto {
3079
+ constructor(data) {
3080
+ this.totalDeliveredItems = data.totalDeliveredItems;
3081
+ this.totalDeliveredItemsAmount = data.totalDeliveredItemsAmount;
3082
+ this.totalReturnItems = data.totalReturnItems;
3083
+ this.totalItemAmount = data.totalItemAmount;
3084
+ this.totalItemCount = data.totalItemCount;
3085
+ this.totalOrderCount = data.totalOrderCount;
3086
+ this.totalDeb = data.totalDeb;
3087
+ this.totalCred = data.totalCred;
3088
+ this.remain = data.remain;
3089
+ }
3090
+ }
3091
+ class KtbFinancialAccountAdminFilter {
1410
3092
  constructor(data) {
1411
3093
  if (data) {
1412
3094
  for (const property in data) {
@@ -1417,8 +3099,7 @@ class KtbCheckUserExistDto {
1417
3099
  }
1418
3100
  }
1419
3101
  }
1420
-
1421
- class KtbSecuritySetting {
3102
+ class KtbFinancialAccountAdmin {
1422
3103
  constructor(data) {
1423
3104
  if (data) {
1424
3105
  for (const property in data) {
@@ -1429,7 +3110,7 @@ class KtbSecuritySetting {
1429
3110
  }
1430
3111
  }
1431
3112
  }
1432
- class KtbPasswordComplexitySetting {
3113
+ class KtbFinancialTransactionAdminFilter {
1433
3114
  constructor(data) {
1434
3115
  if (data) {
1435
3116
  for (const property in data) {
@@ -1440,7 +3121,7 @@ class KtbPasswordComplexitySetting {
1440
3121
  }
1441
3122
  }
1442
3123
  }
1443
- class KtbUserLockOutSetting {
3124
+ class ktbTransactionAdminStats {
1444
3125
  constructor(data) {
1445
3126
  if (data) {
1446
3127
  for (const property in data) {
@@ -1451,7 +3132,7 @@ class KtbUserLockOutSetting {
1451
3132
  }
1452
3133
  }
1453
3134
  }
1454
- class KtbTwoFactorLoginSetting {
3135
+ class KtbFinancialTransactionAdmin {
1455
3136
  constructor(data) {
1456
3137
  if (data) {
1457
3138
  for (const property in data) {
@@ -1462,10 +3143,8 @@ class KtbTwoFactorLoginSetting {
1462
3143
  }
1463
3144
  }
1464
3145
  }
1465
-
1466
- class KtbNotification {
3146
+ class KtbCreateEditTranscation {
1467
3147
  constructor(data) {
1468
- this.isRead = true;
1469
3148
  if (data) {
1470
3149
  for (const property in data) {
1471
3150
  // eslint-disable-next-line no-prototype-builtins
@@ -1475,8 +3154,7 @@ class KtbNotification {
1475
3154
  }
1476
3155
  }
1477
3156
  }
1478
-
1479
- class KtbPurchase {
3157
+ class KtbUserBankAccountInfo {
1480
3158
  constructor(data) {
1481
3159
  if (data) {
1482
3160
  for (const property in data) {
@@ -1487,7 +3165,14 @@ class KtbPurchase {
1487
3165
  }
1488
3166
  }
1489
3167
  }
1490
- class KtbPurchaseUser {
3168
+
3169
+ var KtbMessageType;
3170
+ (function (KtbMessageType) {
3171
+ KtbMessageType[KtbMessageType["All"] = -1] = "All";
3172
+ KtbMessageType[KtbMessageType["Admin"] = 1] = "Admin";
3173
+ KtbMessageType[KtbMessageType["Violation"] = 2] = "Violation";
3174
+ })(KtbMessageType || (KtbMessageType = {}));
3175
+ class KtbMessage {
1491
3176
  constructor(data) {
1492
3177
  if (data) {
1493
3178
  for (const property in data) {
@@ -1498,7 +3183,7 @@ class KtbPurchaseUser {
1498
3183
  }
1499
3184
  }
1500
3185
  }
1501
- class KtbReceiver {
3186
+ class KtbMessageDetail {
1502
3187
  constructor(data) {
1503
3188
  if (data) {
1504
3189
  for (const property in data) {
@@ -1509,7 +3194,7 @@ class KtbReceiver {
1509
3194
  }
1510
3195
  }
1511
3196
  }
1512
- class KtbPurchaseFinance {
3197
+ class KtbMessageStat {
1513
3198
  constructor(data) {
1514
3199
  if (data) {
1515
3200
  for (const property in data) {
@@ -1521,7 +3206,7 @@ class KtbPurchaseFinance {
1521
3206
  }
1522
3207
  }
1523
3208
 
1524
- class KtbPurchaseFilter {
3209
+ class KtbMessageForAdminFilter {
1525
3210
  constructor(data) {
1526
3211
  this.pageNumber = 1;
1527
3212
  this.pageSize = 10;
@@ -1535,7 +3220,7 @@ class KtbPurchaseFilter {
1535
3220
  }
1536
3221
  }
1537
3222
 
1538
- class KtbPurchaseAdmin {
3223
+ class KtbMessageForAdmin {
1539
3224
  constructor(data) {
1540
3225
  if (data) {
1541
3226
  for (const property in data) {
@@ -1543,16 +3228,11 @@ class KtbPurchaseAdmin {
1543
3228
  if (data.hasOwnProperty(property))
1544
3229
  this[property] = data[property];
1545
3230
  }
1546
- if (this.user) {
1547
- this.user.fullName = this.user.firstName + ' ' + this.user.lastName;
1548
- }
1549
- if (this.receiver) {
1550
- this.receiver.fullName = this.receiver.firstName + ' ' + this.receiver.lastName;
1551
- }
1552
3231
  }
1553
3232
  }
1554
3233
  }
1555
- class KtbEditPurchaseReceiver {
3234
+
3235
+ class KtbAddMessageForAdmin {
1556
3236
  constructor(data) {
1557
3237
  if (data) {
1558
3238
  for (const property in data) {
@@ -1564,26 +3244,14 @@ class KtbEditPurchaseReceiver {
1564
3244
  }
1565
3245
  }
1566
3246
 
1567
- class KtbPlan {
1568
- constructor(plan) {
1569
- this.id = plan.id;
1570
- this.title = plan.title;
1571
- this.subTitle = plan.subTitle;
1572
- this.amount = plan.amount;
1573
- this.discount = plan.discount;
1574
- this.subsidy = plan.subsidy;
1575
- this.remainingTime = plan.remainingTime;
1576
- this.startDate = plan.startDate;
1577
- this.endDate = plan.endDate;
1578
- this.description = plan.description;
1579
- this.isActive = plan.isActive;
1580
- this.isShutdown = plan.isShutdown;
1581
- this.image = plan.image;
1582
- this.rules = plan.rules;
1583
- this.termsAndConditions = plan.termsAndConditions;
3247
+ class ktbMessageStatsForAdmin {
3248
+ constructor(data) {
3249
+ this.messageCount = data.messageCount;
3250
+ this.violationCount = data.violationCount;
1584
3251
  }
1585
3252
  }
1586
- class KtbBulkSendOrderByVendor {
3253
+
3254
+ class ktbGetPostOrderListHtmlInput {
1587
3255
  constructor(data) {
1588
3256
  if (data) {
1589
3257
  for (const property in data) {
@@ -1594,7 +3262,8 @@ class KtbBulkSendOrderByVendor {
1594
3262
  }
1595
3263
  }
1596
3264
  }
1597
- class KtbBulkSendOrder {
3265
+
3266
+ class ktbGetReadyToSendBarcodeHtmlInput {
1598
3267
  constructor(data) {
1599
3268
  if (data) {
1600
3269
  for (const property in data) {
@@ -1605,7 +3274,8 @@ class KtbBulkSendOrder {
1605
3274
  }
1606
3275
  }
1607
3276
  }
1608
- class KtbSalePlanStatsByType {
3277
+
3278
+ class ktbGetPostOrderHtmlInput {
1609
3279
  constructor(data) {
1610
3280
  if (data) {
1611
3281
  for (const property in data) {
@@ -1616,8 +3286,49 @@ class KtbSalePlanStatsByType {
1616
3286
  }
1617
3287
  }
1618
3288
  }
1619
- class KtbVendorInPersonStatus {
3289
+
3290
+ class KtbGetShopListDto {
3291
+ constructor(data) {
3292
+ if (data) {
3293
+ this.id = data.id;
3294
+ this.title = data.title;
3295
+ }
3296
+ }
3297
+ }
3298
+ class KtbGetShopListInput {
3299
+ constructor(data) {
3300
+ this.token = data.token;
3301
+ this.vendorId = data.vendorId;
3302
+ }
3303
+ }
3304
+ class KtbPostCreditInput {
3305
+ constructor(data) {
3306
+ this.shopId = data.shopId;
3307
+ this.token = data.token;
3308
+ this.vendorId = data.vendorId;
3309
+ }
3310
+ }
3311
+
3312
+ class KtbPostLoginDto {
3313
+ constructor(data) {
3314
+ if (data) {
3315
+ this.id = data.id;
3316
+ this.token = data.token;
3317
+ }
3318
+ }
3319
+ }
3320
+ class KtpPostLoginInput {
3321
+ constructor(data) {
3322
+ this.username = data.username;
3323
+ this.password = data.password;
3324
+ this.vendorId = data.vendorId;
3325
+ }
3326
+ }
3327
+
3328
+ class KtbOperationFilter {
1620
3329
  constructor(data) {
3330
+ this.pageNumber = 1;
3331
+ this.pageSize = 10;
1621
3332
  if (data) {
1622
3333
  for (const property in data) {
1623
3334
  // eslint-disable-next-line no-prototype-builtins
@@ -1627,7 +3338,8 @@ class KtbVendorInPersonStatus {
1627
3338
  }
1628
3339
  }
1629
3340
  }
1630
- class KtbOrderDetailStatsForVendorInput {
3341
+
3342
+ class KtbOperation {
1631
3343
  constructor(data) {
1632
3344
  if (data) {
1633
3345
  for (const property in data) {
@@ -1638,7 +3350,7 @@ class KtbOrderDetailStatsForVendorInput {
1638
3350
  }
1639
3351
  }
1640
3352
  }
1641
- class KtbOrderStatusStatsForVendorInput {
3353
+ class KtbCustomerOperationStats {
1642
3354
  constructor(data) {
1643
3355
  if (data) {
1644
3356
  for (const property in data) {
@@ -1649,7 +3361,21 @@ class KtbOrderStatusStatsForVendorInput {
1649
3361
  }
1650
3362
  }
1651
3363
  }
1652
- class KtbOrderDetailStatsForVendor {
3364
+ class KtbVendorOperation {
3365
+ constructor(data) {
3366
+ this.cashDeposit = data.cashDeposit;
3367
+ this.cashWithdrawal = data.cashWithdrawal;
3368
+ this.chargeCashWalletOperation = data.chargeCashWalletOperation;
3369
+ this.id = data.id;
3370
+ this.isSusccess = data.isSusccess;
3371
+ this.operationDate = data.operationDate;
3372
+ this.operationType = data.operationType;
3373
+ this.title = data.title;
3374
+ this.totalAmount = data.totalAmount;
3375
+ this.transactions = data.transactions;
3376
+ }
3377
+ }
3378
+ class KtbVendorOperationFilter {
1653
3379
  constructor(data) {
1654
3380
  if (data) {
1655
3381
  for (const property in data) {
@@ -1660,8 +3386,41 @@ class KtbOrderDetailStatsForVendor {
1660
3386
  }
1661
3387
  }
1662
3388
  }
1663
- class KtbOrderStatusStatsForVendor {
3389
+ class KtbVendorOperationStatsByType {
3390
+ constructor(data) {
3391
+ this.all = data.all;
3392
+ this.receive = data.receive;
3393
+ this.withdrawal = data.withdrawal;
3394
+ }
3395
+ }
3396
+
3397
+ class KtbUserFamily {
3398
+ constructor(data) {
3399
+ if (data) {
3400
+ for (const property in data) {
3401
+ if (Object.prototype.hasOwnProperty.call(data, property)) {
3402
+ this[property] = data[property];
3403
+ }
3404
+ }
3405
+ }
3406
+ }
3407
+ }
3408
+ class KtbCreateUserFamily {
3409
+ constructor(data) {
3410
+ if (data) {
3411
+ for (const property in data) {
3412
+ if (Object.prototype.hasOwnProperty.call(data, property)) {
3413
+ this[property] = data[property];
3414
+ }
3415
+ }
3416
+ }
3417
+ }
3418
+ }
3419
+
3420
+ class KtbUserFamilyFilter {
1664
3421
  constructor(data) {
3422
+ this.pageNumber = 1;
3423
+ this.pageSize = 10;
1665
3424
  if (data) {
1666
3425
  for (const property in data) {
1667
3426
  // eslint-disable-next-line no-prototype-builtins
@@ -1672,10 +3431,37 @@ class KtbOrderStatusStatsForVendor {
1672
3431
  }
1673
3432
  }
1674
3433
 
1675
- class KtbPlanRequestInput {
3434
+ class KtDepartmentInput {
3435
+ constructor(data) {
3436
+ if (data) {
3437
+ this.pageNumber = data.pageNumber;
3438
+ this.pageSize = data.pageSize;
3439
+ }
3440
+ }
3441
+ }
3442
+
3443
+ class KtbDepartment {
3444
+ constructor(data) {
3445
+ if (data) {
3446
+ this.id = data.id;
3447
+ this.title = data.title;
3448
+ }
3449
+ }
3450
+ }
3451
+
3452
+ class KtbDepartmentsResult {
3453
+ constructor(data) {
3454
+ this.totalCount = 0;
3455
+ this.items = [];
3456
+ if (data) {
3457
+ this.totalCount = data.totalCount;
3458
+ this.items = data.items;
3459
+ }
3460
+ }
3461
+ }
3462
+
3463
+ class KtbCashBackForAdminFilter {
1676
3464
  constructor(data) {
1677
- this.pageNumber = 1;
1678
- this.pageSize = 10;
1679
3465
  if (data) {
1680
3466
  for (const property in data) {
1681
3467
  // eslint-disable-next-line no-prototype-builtins
@@ -1686,7 +3472,7 @@ class KtbPlanRequestInput {
1686
3472
  }
1687
3473
  }
1688
3474
 
1689
- class KtbGift {
3475
+ class KtbCashBackForAdmin {
1690
3476
  constructor(data) {
1691
3477
  if (data) {
1692
3478
  for (const property in data) {
@@ -1698,10 +3484,8 @@ class KtbGift {
1698
3484
  }
1699
3485
  }
1700
3486
 
1701
- class KtbVoucherFilter {
3487
+ class KtbCashBackChangeStatus {
1702
3488
  constructor(data) {
1703
- this.pageNumber = 1;
1704
- this.pageSize = 4;
1705
3489
  if (data) {
1706
3490
  for (const property in data) {
1707
3491
  // eslint-disable-next-line no-prototype-builtins
@@ -1712,7 +3496,7 @@ class KtbVoucherFilter {
1712
3496
  }
1713
3497
  }
1714
3498
 
1715
- class KtbCouponForAdminFilter {
3499
+ class KtbViolationForAdminFilter {
1716
3500
  constructor(data) {
1717
3501
  if (data) {
1718
3502
  for (const property in data) {
@@ -1724,7 +3508,7 @@ class KtbCouponForAdminFilter {
1724
3508
  }
1725
3509
  }
1726
3510
 
1727
- class KtbCouponFroAdmin {
3511
+ class KtbViolationForAdmin {
1728
3512
  constructor(data) {
1729
3513
  if (data) {
1730
3514
  for (const property in data) {
@@ -1736,7 +3520,7 @@ class KtbCouponFroAdmin {
1736
3520
  }
1737
3521
  }
1738
3522
 
1739
- class KtbVoucherFroAdmin {
3523
+ class KtbAddViolationForAdmin {
1740
3524
  constructor(data) {
1741
3525
  if (data) {
1742
3526
  for (const property in data) {
@@ -1748,8 +3532,10 @@ class KtbVoucherFroAdmin {
1748
3532
  }
1749
3533
  }
1750
3534
 
1751
- class KtbAddVoucherForAdmin {
3535
+ class KtbMessageReceiverFilter {
1752
3536
  constructor(data) {
3537
+ this.pageNumber = 1;
3538
+ this.pageSize = 10;
1753
3539
  if (data) {
1754
3540
  for (const property in data) {
1755
3541
  // eslint-disable-next-line no-prototype-builtins
@@ -1760,7 +3546,7 @@ class KtbAddVoucherForAdmin {
1760
3546
  }
1761
3547
  }
1762
3548
 
1763
- class KtbAddCouponForAdmin {
3549
+ class KtbMessageReceiver {
1764
3550
  constructor(data) {
1765
3551
  if (data) {
1766
3552
  for (const property in data) {
@@ -1772,40 +3558,15 @@ class KtbAddCouponForAdmin {
1772
3558
  }
1773
3559
  }
1774
3560
 
1775
- class ktbCreaditStatsForAdmin {
3561
+ class KtbMessageReceiverTypeStats {
1776
3562
  constructor(data) {
1777
- this.couponCount = data.couponCount;
1778
- this.voucherCount = data.voucherCount;
1779
- }
1780
- }
1781
-
1782
- class KtbTransaction {
1783
- constructor(transaction) {
1784
- this.id = transaction.id;
1785
- this.title = transaction.title;
1786
- this.date = new Date();
1787
- this.amount = transaction.amount;
1788
- this.type = transaction.type;
1789
- this.section1Data = transaction.section1Data;
1790
- this.section2Data = transaction.section2Data;
1791
- this.section3Data = transaction.section3Data;
1792
- }
1793
- }
1794
-
1795
- class KtbTransactionDetails {
1796
- constructor(transaction) {
1797
- this.creditType = transaction.creditType;
1798
- this.creditWithdrawal = transaction.creditWithdrawal;
1799
- this.withdrawFromWallet = transaction.withdrawFromWallet;
1800
- this.onlinePayment = transaction.onlinePayment;
1801
- this.purchaseCode = transaction.purchaseCode;
1802
- this.trackingCode = transaction.trackingCode;
1803
- this.gate = transaction.gate;
1804
- this.status = transaction.status;
3563
+ this.adminMessagesCount = data.adminMessagesCount;
3564
+ this.violationsCount = data.violationsCount;
3565
+ this.allMessagesCount = this.adminMessagesCount + this.violationsCount;
1805
3566
  }
1806
3567
  }
1807
3568
 
1808
- class KtbFaq {
3569
+ class KtbVendorUnreadMessageReceiver {
1809
3570
  constructor(data) {
1810
3571
  if (data) {
1811
3572
  for (const property in data) {
@@ -1817,36 +3578,29 @@ class KtbFaq {
1817
3578
  }
1818
3579
  }
1819
3580
 
1820
- class KtbFaqCategory {
3581
+ class KtbStatisticsItem {
1821
3582
  constructor(data) {
1822
3583
  if (data) {
1823
- for (const property in data) {
1824
- // eslint-disable-next-line no-prototype-builtins
1825
- if (data.hasOwnProperty(property))
1826
- this[property] = data[property];
1827
- }
3584
+ this.text = data.text;
3585
+ this.value = data.value;
3586
+ this.value2 = data.value2;
3587
+ this.value2prefix = data.value2prefix;
3588
+ this.isCurrency = data.isCurrency ?? false;
1828
3589
  }
1829
3590
  }
1830
3591
  }
1831
-
1832
- class KtbFaqCategoryFilter {
3592
+ class KtbStatisticsDateItem {
3593
+ /**
3594
+ *
3595
+ */
1833
3596
  constructor(data) {
1834
- this.pageNumber = 1;
1835
- this.pageSize = 4;
1836
- if (data) {
1837
- for (const property in data) {
1838
- // eslint-disable-next-line no-prototype-builtins
1839
- if (data.hasOwnProperty(property))
1840
- this[property] = data[property];
1841
- }
1842
- }
3597
+ this.date = data.date;
3598
+ this.value = data.value;
1843
3599
  }
1844
3600
  }
1845
3601
 
1846
- class KtbFaqFilter {
3602
+ class KtbUsersFamiliesForAdmin {
1847
3603
  constructor(data) {
1848
- this.pageNumber = 1;
1849
- this.pageSize = 4;
1850
3604
  if (data) {
1851
3605
  for (const property in data) {
1852
3606
  // eslint-disable-next-line no-prototype-builtins
@@ -1857,7 +3611,7 @@ class KtbFaqFilter {
1857
3611
  }
1858
3612
  }
1859
3613
 
1860
- class KtbOwner {
3614
+ class KtbVendorCommentForAdminFilter {
1861
3615
  constructor(data) {
1862
3616
  if (data) {
1863
3617
  for (const property in data) {
@@ -1868,7 +3622,8 @@ class KtbOwner {
1868
3622
  }
1869
3623
  }
1870
3624
  }
1871
- class KtbOwnerFile {
3625
+
3626
+ class KtbVendorCommentForAdmin {
1872
3627
  constructor(data) {
1873
3628
  if (data) {
1874
3629
  for (const property in data) {
@@ -1880,7 +3635,7 @@ class KtbOwnerFile {
1880
3635
  }
1881
3636
  }
1882
3637
 
1883
- class KtbCreateOwnerFile {
3638
+ class KtbBookCommentForAdminFilter {
1884
3639
  constructor(data) {
1885
3640
  if (data) {
1886
3641
  for (const property in data) {
@@ -1891,7 +3646,8 @@ class KtbCreateOwnerFile {
1891
3646
  }
1892
3647
  }
1893
3648
  }
1894
- class KtbEditOwnerFile {
3649
+
3650
+ class KtbBookCommentForAdmin {
1895
3651
  constructor(data) {
1896
3652
  if (data) {
1897
3653
  for (const property in data) {
@@ -1903,9 +3659,8 @@ class KtbEditOwnerFile {
1903
3659
  }
1904
3660
  }
1905
3661
 
1906
- class KtbCreateOwner {
3662
+ class KtbInvoiceOrderItem {
1907
3663
  constructor(data) {
1908
- this.files = [];
1909
3664
  if (data) {
1910
3665
  for (const property in data) {
1911
3666
  // eslint-disable-next-line no-prototype-builtins
@@ -1915,9 +3670,9 @@ class KtbCreateOwner {
1915
3670
  }
1916
3671
  }
1917
3672
  }
1918
- class KtbEditOwner {
3673
+
3674
+ class KtbVendorImageInfo {
1919
3675
  constructor(data) {
1920
- this.files = [];
1921
3676
  if (data) {
1922
3677
  for (const property in data) {
1923
3678
  // eslint-disable-next-line no-prototype-builtins
@@ -1928,21 +3683,16 @@ class KtbEditOwner {
1928
3683
  }
1929
3684
  }
1930
3685
 
1931
- class KtbOwnerFilter {
3686
+ class KtbGiftCheckUserExistance {
1932
3687
  constructor(data) {
1933
- this.pageNumber = 1;
1934
- this.pageSize = 4;
1935
3688
  if (data) {
1936
- for (const property in data) {
1937
- // eslint-disable-next-line no-prototype-builtins
1938
- if (data.hasOwnProperty(property))
1939
- this[property] = data[property];
1940
- }
3689
+ this.isExist = data.isExist;
3690
+ this.mobile = data.mobile;
1941
3691
  }
1942
3692
  }
1943
3693
  }
1944
3694
 
1945
- class KtbGuildGroup {
3695
+ class KtbCreateGiftInput {
1946
3696
  constructor(data) {
1947
3697
  if (data) {
1948
3698
  for (const property in data) {
@@ -1953,7 +3703,8 @@ class KtbGuildGroup {
1953
3703
  }
1954
3704
  }
1955
3705
  }
1956
- class KtbGuild {
3706
+
3707
+ class KtbGiftForAdminFilter {
1957
3708
  constructor(data) {
1958
3709
  if (data) {
1959
3710
  for (const property in data) {
@@ -1965,10 +3716,8 @@ class KtbGuild {
1965
3716
  }
1966
3717
  }
1967
3718
 
1968
- class KtbGuildFilter {
3719
+ class KtbGiftForAdmin {
1969
3720
  constructor(data) {
1970
- this.pageNumber = 1;
1971
- this.pageSize = 4;
1972
3721
  if (data) {
1973
3722
  for (const property in data) {
1974
3723
  // eslint-disable-next-line no-prototype-builtins
@@ -1979,8 +3728,9 @@ class KtbGuildFilter {
1979
3728
  }
1980
3729
  }
1981
3730
 
1982
- class KtbCity {
3731
+ class KtbCollection {
1983
3732
  constructor(data) {
3733
+ this.visible = false;
1984
3734
  if (data) {
1985
3735
  for (const property in data) {
1986
3736
  // eslint-disable-next-line no-prototype-builtins
@@ -1990,9 +3740,19 @@ class KtbCity {
1990
3740
  }
1991
3741
  }
1992
3742
  }
3743
+ class KtbCatalogFilter {
3744
+ constructor() {
3745
+ this.subjectCategoryId = null;
3746
+ this.pageNumber = 1;
3747
+ this.pageSize = 100;
3748
+ }
3749
+ }
1993
3750
 
1994
- class KtbProvince {
3751
+ class KtbCollectionFilter {
1995
3752
  constructor(data) {
3753
+ this.visibility = null;
3754
+ this.pageNumber = 1;
3755
+ this.pageSize = 10;
1996
3756
  if (data) {
1997
3757
  for (const property in data) {
1998
3758
  // eslint-disable-next-line no-prototype-builtins
@@ -2003,8 +3763,11 @@ class KtbProvince {
2003
3763
  }
2004
3764
  }
2005
3765
 
2006
- class KtbProvinceFilter {
3766
+ class KtbCreateCollection {
2007
3767
  constructor(data) {
3768
+ this.products = [];
3769
+ this.visible = false;
3770
+ this.imageBlobFile = null;
2008
3771
  if (data) {
2009
3772
  for (const property in data) {
2010
3773
  // eslint-disable-next-line no-prototype-builtins
@@ -2014,9 +3777,10 @@ class KtbProvinceFilter {
2014
3777
  }
2015
3778
  }
2016
3779
  }
2017
-
2018
- class KtbCityFilter {
3780
+ class KtbCollectionDetail {
2019
3781
  constructor(data) {
3782
+ this.visible = false;
3783
+ this.products = [];
2020
3784
  if (data) {
2021
3785
  for (const property in data) {
2022
3786
  // eslint-disable-next-line no-prototype-builtins
@@ -2027,10 +3791,8 @@ class KtbCityFilter {
2027
3791
  }
2028
3792
  }
2029
3793
 
2030
- class KtbEmployeeFilter {
3794
+ class KtbStatisticCardItem {
2031
3795
  constructor(data) {
2032
- this.pageNumber = 1;
2033
- this.pageSize = 4;
2034
3796
  if (data) {
2035
3797
  for (const property in data) {
2036
3798
  // eslint-disable-next-line no-prototype-builtins
@@ -2041,7 +3803,7 @@ class KtbEmployeeFilter {
2041
3803
  }
2042
3804
  }
2043
3805
 
2044
- class KtbEmployee {
3806
+ class KtbApiPlan {
2045
3807
  constructor(data) {
2046
3808
  if (data) {
2047
3809
  for (const property in data) {
@@ -2052,7 +3814,8 @@ class KtbEmployee {
2052
3814
  }
2053
3815
  }
2054
3816
  }
2055
- class KtbCreateEditEmployee {
3817
+
3818
+ class KtbApiRequest {
2056
3819
  constructor(data) {
2057
3820
  if (data) {
2058
3821
  for (const property in data) {
@@ -2064,10 +3827,8 @@ class KtbCreateEditEmployee {
2064
3827
  }
2065
3828
  }
2066
3829
 
2067
- class KtbSocialMediaFilter {
3830
+ class KtbApiUsageModel {
2068
3831
  constructor(data) {
2069
- this.pageNumber = 1;
2070
- this.pageSize = 4;
2071
3832
  if (data) {
2072
3833
  for (const property in data) {
2073
3834
  // eslint-disable-next-line no-prototype-builtins
@@ -2078,7 +3839,7 @@ class KtbSocialMediaFilter {
2078
3839
  }
2079
3840
  }
2080
3841
 
2081
- class KtbSocialMedia {
3842
+ class KtbApiChartUsageData {
2082
3843
  constructor(data) {
2083
3844
  if (data) {
2084
3845
  for (const property in data) {
@@ -2089,7 +3850,8 @@ class KtbSocialMedia {
2089
3850
  }
2090
3851
  }
2091
3852
  }
2092
- class KtbCreateSocialMedia {
3853
+
3854
+ class KtbAdminApiRequest {
2093
3855
  constructor(data) {
2094
3856
  if (data) {
2095
3857
  for (const property in data) {
@@ -2100,7 +3862,8 @@ class KtbCreateSocialMedia {
2100
3862
  }
2101
3863
  }
2102
3864
  }
2103
- class KtbEditSocialMedia {
3865
+
3866
+ class KtbApiUsageFilterButton {
2104
3867
  constructor(data) {
2105
3868
  if (data) {
2106
3869
  for (const property in data) {
@@ -2112,10 +3875,8 @@ class KtbEditSocialMedia {
2112
3875
  }
2113
3876
  }
2114
3877
 
2115
- class KtbVendorFileFilter {
3878
+ class KtbRequestHistoryForAdmin {
2116
3879
  constructor(data) {
2117
- this.pageNumber = 1;
2118
- this.pageSize = 4;
2119
3880
  if (data) {
2120
3881
  for (const property in data) {
2121
3882
  // eslint-disable-next-line no-prototype-builtins
@@ -2126,29 +3887,26 @@ class KtbVendorFileFilter {
2126
3887
  }
2127
3888
  }
2128
3889
 
2129
- class KtbVendorFile {
3890
+ class KtbCLubLevel {
2130
3891
  constructor(data) {
2131
- if (data) {
2132
- for (const property in data) {
2133
- // eslint-disable-next-line no-prototype-builtins
2134
- if (data.hasOwnProperty(property))
2135
- this[property] = data[property];
2136
- }
2137
- }
3892
+ this.id = data.id ?? 0;
3893
+ this.title = data.title ?? '';
3894
+ this.description = data.description ?? '';
3895
+ this.iconName = data.iconName ?? '';
3896
+ this.point = data.point ?? 0;
2138
3897
  }
2139
3898
  }
2140
- class KtbCreateVendorFile {
3899
+ class KtbClubPrize {
2141
3900
  constructor(data) {
2142
- if (data) {
2143
- for (const property in data) {
2144
- // eslint-disable-next-line no-prototype-builtins
2145
- if (data.hasOwnProperty(property))
2146
- this[property] = data[property];
2147
- }
2148
- }
3901
+ this.id = data.id ?? 0;
3902
+ this.title = data.title ?? '';
3903
+ this.description = data.description ?? '';
3904
+ this.point = data.point ?? 0;
3905
+ this.isActive = data.isActive ?? false;
3906
+ this.imageAddress = data.imageAddress;
2149
3907
  }
2150
3908
  }
2151
- class KtbEditVendorFile {
3909
+ class KtbClubRecievedPrize {
2152
3910
  constructor(data) {
2153
3911
  if (data) {
2154
3912
  for (const property in data) {
@@ -2157,10 +3915,21 @@ class KtbEditVendorFile {
2157
3915
  this[property] = data[property];
2158
3916
  }
2159
3917
  }
3918
+ if (this.expireTime) {
3919
+ this.isExpired = this.expireTime <= new Date();
3920
+ if (!this.isExpired) {
3921
+ this.expireDay = Math.round(this.expireTime.getTime() - new Date().getTime()) / (1000 * 60 * 60 * 24);
3922
+ }
3923
+ }
2160
3924
  }
2161
3925
  }
2162
-
2163
- class KtbFinancialViewPaged {
3926
+ class KtbClubPrizeDetail extends KtbClubPrize {
3927
+ constructor(data) {
3928
+ super(data);
3929
+ this.fullDescription = data.fullDescription ?? '';
3930
+ }
3931
+ }
3932
+ class KtbCurrentClubInfo {
2164
3933
  constructor(data) {
2165
3934
  if (data) {
2166
3935
  for (const property in data) {
@@ -2171,7 +3940,7 @@ class KtbFinancialViewPaged {
2171
3940
  }
2172
3941
  }
2173
3942
  }
2174
- class KtbFinancialView {
3943
+ class KtbClubPointHistory {
2175
3944
  constructor(data) {
2176
3945
  if (data) {
2177
3946
  for (const property in data) {
@@ -2182,20 +3951,22 @@ class KtbFinancialView {
2182
3951
  }
2183
3952
  }
2184
3953
  }
2185
- class KtbVendorFinanceSummaryDto {
2186
- constructor(data) {
2187
- this.totalDeliveredItems = data.totalDeliveredItems;
2188
- this.totalDeliveredItemsAmount = data.totalDeliveredItemsAmount;
2189
- this.totalReturnItems = data.totalReturnItems;
2190
- this.totalItemAmount = data.totalItemAmount;
2191
- this.totalItemCount = data.totalItemCount;
2192
- this.totalOrderCount = data.totalOrderCount;
2193
- this.totalDeb = data.totalDeb;
2194
- this.totalCred = data.totalCred;
2195
- this.remain = data.remain;
2196
- }
2197
- }
2198
- class KtbFinancialAccountAdminFilter {
3954
+ var KtbClubPointType;
3955
+ (function (KtbClubPointType) {
3956
+ KtbClubPointType[KtbClubPointType["All"] = -1] = "All";
3957
+ KtbClubPointType[KtbClubPointType["Earned"] = 1] = "Earned";
3958
+ KtbClubPointType[KtbClubPointType["Spend"] = 2] = "Spend";
3959
+ })(KtbClubPointType || (KtbClubPointType = {}));
3960
+ var KtbClubPrizeSortType;
3961
+ (function (KtbClubPrizeSortType) {
3962
+ KtbClubPrizeSortType[KtbClubPrizeSortType["Default"] = 0] = "Default";
3963
+ KtbClubPrizeSortType[KtbClubPrizeSortType["MostPoints"] = 1] = "MostPoints";
3964
+ KtbClubPrizeSortType[KtbClubPrizeSortType["MinPoints"] = 2] = "MinPoints";
3965
+ KtbClubPrizeSortType[KtbClubPrizeSortType["Oldest"] = 3] = "Oldest";
3966
+ KtbClubPrizeSortType[KtbClubPrizeSortType["Newest"] = 4] = "Newest";
3967
+ })(KtbClubPrizeSortType || (KtbClubPrizeSortType = {}));
3968
+
3969
+ class KtbCreateWalletChargeRequestsInput {
2199
3970
  constructor(data) {
2200
3971
  if (data) {
2201
3972
  for (const property in data) {
@@ -2206,7 +3977,7 @@ class KtbFinancialAccountAdminFilter {
2206
3977
  }
2207
3978
  }
2208
3979
  }
2209
- class KtbFinancialAccountAdmin {
3980
+ class KtbCreatedVendorRequest {
2210
3981
  constructor(data) {
2211
3982
  if (data) {
2212
3983
  for (const property in data) {
@@ -2217,7 +3988,8 @@ class KtbFinancialAccountAdmin {
2217
3988
  }
2218
3989
  }
2219
3990
  }
2220
- class KtbFinancialTransactionAdminFilter {
3991
+
3992
+ class KtbChipFilterButton {
2221
3993
  constructor(data) {
2222
3994
  if (data) {
2223
3995
  for (const property in data) {
@@ -2228,7 +4000,8 @@ class KtbFinancialTransactionAdminFilter {
2228
4000
  }
2229
4001
  }
2230
4002
  }
2231
- class ktbTransactionAdminStats {
4003
+
4004
+ class KtbVendorUploadedFiles {
2232
4005
  constructor(data) {
2233
4006
  if (data) {
2234
4007
  for (const property in data) {
@@ -2239,7 +4012,8 @@ class ktbTransactionAdminStats {
2239
4012
  }
2240
4013
  }
2241
4014
  }
2242
- class KtbFinancialTransactionAdmin {
4015
+
4016
+ class KtbJudge {
2243
4017
  constructor(data) {
2244
4018
  if (data) {
2245
4019
  for (const property in data) {
@@ -2250,7 +4024,7 @@ class KtbFinancialTransactionAdmin {
2250
4024
  }
2251
4025
  }
2252
4026
  }
2253
- class KtbCreateEditTranscation {
4027
+ class KtbJudgeCategories {
2254
4028
  constructor(data) {
2255
4029
  if (data) {
2256
4030
  for (const property in data) {
@@ -2261,7 +4035,7 @@ class KtbCreateEditTranscation {
2261
4035
  }
2262
4036
  }
2263
4037
  }
2264
- class KtbUserBankAccountInfo {
4038
+ class KtbJudgeDetail {
2265
4039
  constructor(data) {
2266
4040
  if (data) {
2267
4041
  for (const property in data) {
@@ -2272,14 +4046,7 @@ class KtbUserBankAccountInfo {
2272
4046
  }
2273
4047
  }
2274
4048
  }
2275
-
2276
- var KtbMessageType;
2277
- (function (KtbMessageType) {
2278
- KtbMessageType[KtbMessageType["All"] = -1] = "All";
2279
- KtbMessageType[KtbMessageType["Admin"] = 1] = "Admin";
2280
- KtbMessageType[KtbMessageType["Violation"] = 2] = "Violation";
2281
- })(KtbMessageType || (KtbMessageType = {}));
2282
- class KtbMessage {
4049
+ class KtbCreateJudge {
2283
4050
  constructor(data) {
2284
4051
  if (data) {
2285
4052
  for (const property in data) {
@@ -2290,7 +4057,8 @@ class KtbMessage {
2290
4057
  }
2291
4058
  }
2292
4059
  }
2293
- class KtbMessageDetail {
4060
+
4061
+ class KtbCourseJudge {
2294
4062
  constructor(data) {
2295
4063
  if (data) {
2296
4064
  for (const property in data) {
@@ -2301,7 +4069,8 @@ class KtbMessageDetail {
2301
4069
  }
2302
4070
  }
2303
4071
  }
2304
- class KtbMessageStat {
4072
+
4073
+ class KtbJudgeSubmission {
2305
4074
  constructor(data) {
2306
4075
  if (data) {
2307
4076
  for (const property in data) {
@@ -2313,7 +4082,7 @@ class KtbMessageStat {
2313
4082
  }
2314
4083
  }
2315
4084
 
2316
- class KtbMessageForAdminFilter {
4085
+ class KtbJudgeSubmissionFilter {
2317
4086
  constructor(data) {
2318
4087
  if (data) {
2319
4088
  for (const property in data) {
@@ -2325,7 +4094,7 @@ class KtbMessageForAdminFilter {
2325
4094
  }
2326
4095
  }
2327
4096
 
2328
- class KtbMessageForAdmin {
4097
+ class KtbSubmisson {
2329
4098
  constructor(data) {
2330
4099
  if (data) {
2331
4100
  for (const property in data) {
@@ -2336,8 +4105,7 @@ class KtbMessageForAdmin {
2336
4105
  }
2337
4106
  }
2338
4107
  }
2339
-
2340
- class KtbAddMessageForAdmin {
4108
+ class KtbSubmissonFilter {
2341
4109
  constructor(data) {
2342
4110
  if (data) {
2343
4111
  for (const property in data) {
@@ -2348,15 +4116,7 @@ class KtbAddMessageForAdmin {
2348
4116
  }
2349
4117
  }
2350
4118
  }
2351
-
2352
- class ktbMessageStatsForAdmin {
2353
- constructor(data) {
2354
- this.messageCount = data.messageCount;
2355
- this.violationCount = data.violationCount;
2356
- }
2357
- }
2358
-
2359
- class ktbGetPostOrderListHtmlInput {
4119
+ class KtbKetabsalSubmissionDetailForAdmin {
2360
4120
  constructor(data) {
2361
4121
  if (data) {
2362
4122
  for (const property in data) {
@@ -2367,8 +4127,7 @@ class ktbGetPostOrderListHtmlInput {
2367
4127
  }
2368
4128
  }
2369
4129
  }
2370
-
2371
- class ktbGetReadyToSendBarcodeHtmlInput {
4130
+ class KtbSubmissionAnswersForAdmin {
2372
4131
  constructor(data) {
2373
4132
  if (data) {
2374
4133
  for (const property in data) {
@@ -2378,9 +4137,8 @@ class ktbGetReadyToSendBarcodeHtmlInput {
2378
4137
  }
2379
4138
  }
2380
4139
  }
2381
- }
2382
-
2383
- class ktbGetPostOrderHtmlInput {
4140
+ }
4141
+ class KtbSubmissionsStatsByStatus {
2384
4142
  constructor(data) {
2385
4143
  if (data) {
2386
4144
  for (const property in data) {
@@ -2391,49 +4149,30 @@ class ktbGetPostOrderHtmlInput {
2391
4149
  }
2392
4150
  }
2393
4151
  }
2394
-
2395
- class KtbGetShopListDto {
4152
+ class KtbGetSubmissionRefereesForAdmin {
2396
4153
  constructor(data) {
2397
4154
  if (data) {
2398
- this.id = data.id;
2399
- this.title = data.title;
4155
+ for (const property in data) {
4156
+ // eslint-disable-next-line no-prototype-builtins
4157
+ if (data.hasOwnProperty(property))
4158
+ this[property] = data[property];
4159
+ }
2400
4160
  }
2401
4161
  }
2402
4162
  }
2403
- class KtbGetShopListInput {
2404
- constructor(data) {
2405
- this.token = data.token;
2406
- this.vendorId = data.vendorId;
2407
- }
2408
- }
2409
- class KtbPostCreditInput {
2410
- constructor(data) {
2411
- this.shopId = data.shopId;
2412
- this.token = data.token;
2413
- this.vendorId = data.vendorId;
2414
- }
2415
- }
2416
-
2417
- class KtbPostLoginDto {
4163
+ class KtbRanksForAdmin {
2418
4164
  constructor(data) {
2419
4165
  if (data) {
2420
- this.id = data.id;
2421
- this.token = data.token;
4166
+ for (const property in data) {
4167
+ // eslint-disable-next-line no-prototype-builtins
4168
+ if (data.hasOwnProperty(property))
4169
+ this[property] = data[property];
4170
+ }
2422
4171
  }
2423
4172
  }
2424
4173
  }
2425
- class KtpPostLoginInput {
2426
- constructor(data) {
2427
- this.username = data.username;
2428
- this.password = data.password;
2429
- this.vendorId = data.vendorId;
2430
- }
2431
- }
2432
-
2433
- class KtbOperationFilter {
4174
+ class KtbCategorySubmission {
2434
4175
  constructor(data) {
2435
- this.pageNumber = 1;
2436
- this.pageSize = 10;
2437
4176
  if (data) {
2438
4177
  for (const property in data) {
2439
4178
  // eslint-disable-next-line no-prototype-builtins
@@ -2443,8 +4182,7 @@ class KtbOperationFilter {
2443
4182
  }
2444
4183
  }
2445
4184
  }
2446
-
2447
- class KtbOperation {
4185
+ class KtbCategoryGroupSubmission {
2448
4186
  constructor(data) {
2449
4187
  if (data) {
2450
4188
  for (const property in data) {
@@ -2455,7 +4193,7 @@ class KtbOperation {
2455
4193
  }
2456
4194
  }
2457
4195
  }
2458
- class KtbCustomerOperationStats {
4196
+ class ktbFormForAdmin {
2459
4197
  constructor(data) {
2460
4198
  if (data) {
2461
4199
  for (const property in data) {
@@ -2466,23 +4204,7 @@ class KtbCustomerOperationStats {
2466
4204
  }
2467
4205
  }
2468
4206
  }
2469
- class KtbVendorOperation {
2470
- constructor(data) {
2471
- this.cashDeposit = data.cashDeposit;
2472
- this.giftOperationDto = data.giftOperationDto;
2473
- this.creditTitle = data.creditTitle;
2474
- this.id = data.id;
2475
- this.isSusccess = data.isSusccess;
2476
- this.operationDate = data.operationDate;
2477
- this.operationDateAsDatetime = data.operationDateAsDatetime;
2478
- this.operationType = data.operationType;
2479
- this.purchaseOperation = data.purchaseOperation;
2480
- this.title = data.title;
2481
- this.totalAmount = data.totalAmount;
2482
- this.transactions = data.transactions;
2483
- }
2484
- }
2485
- class KtbVendorTOperationFilter {
4207
+ class KtbSetNewRefereeDeadLine {
2486
4208
  constructor(data) {
2487
4209
  if (data) {
2488
4210
  for (const property in data) {
@@ -2494,33 +4216,30 @@ class KtbVendorTOperationFilter {
2494
4216
  }
2495
4217
  }
2496
4218
 
2497
- class KtbUserFamily {
4219
+ class KtbCourse {
2498
4220
  constructor(data) {
2499
4221
  if (data) {
2500
4222
  for (const property in data) {
2501
- if (Object.prototype.hasOwnProperty.call(data, property)) {
4223
+ // eslint-disable-next-line no-prototype-builtins
4224
+ if (data.hasOwnProperty(property))
2502
4225
  this[property] = data[property];
2503
- }
2504
4226
  }
2505
4227
  }
2506
4228
  }
2507
4229
  }
2508
- class KtbCreateUserFamily {
4230
+ class KtbCourseCategories {
2509
4231
  constructor(data) {
2510
4232
  if (data) {
2511
4233
  for (const property in data) {
2512
- if (Object.prototype.hasOwnProperty.call(data, property)) {
4234
+ // eslint-disable-next-line no-prototype-builtins
4235
+ if (data.hasOwnProperty(property))
2513
4236
  this[property] = data[property];
2514
- }
2515
4237
  }
2516
4238
  }
2517
4239
  }
2518
4240
  }
2519
-
2520
- class KtbUserFamilyFilter {
4241
+ class KtbCreateCourse {
2521
4242
  constructor(data) {
2522
- this.pageNumber = 1;
2523
- this.pageSize = 10;
2524
4243
  if (data) {
2525
4244
  for (const property in data) {
2526
4245
  // eslint-disable-next-line no-prototype-builtins
@@ -2530,37 +4249,33 @@ class KtbUserFamilyFilter {
2530
4249
  }
2531
4250
  }
2532
4251
  }
2533
-
2534
- class KtDepartmentInput {
2535
- constructor(data) {
2536
- if (data) {
2537
- this.pageNumber = data.pageNumber;
2538
- this.pageSize = data.pageSize;
2539
- }
4252
+ class KtbAwardCategory {
4253
+ get selectedCount() {
4254
+ // console.log('selectedCount');
4255
+ return this.children?.filter(r => r.selected).length ?? 0;
2540
4256
  }
2541
- }
2542
-
2543
- class KtbDepartment {
2544
4257
  constructor(data) {
2545
4258
  if (data) {
2546
4259
  this.id = data.id;
2547
4260
  this.title = data.title;
4261
+ this.children = data.children;
4262
+ this.selected = data.selected;
2548
4263
  }
2549
4264
  }
2550
4265
  }
2551
-
2552
- class KtbDepartmentsResult {
4266
+ class ktbCourseRefereesForAdmin {
2553
4267
  constructor(data) {
2554
- this.totalCount = 0;
2555
- this.items = [];
2556
4268
  if (data) {
2557
- this.totalCount = data.totalCount;
2558
- this.items = data.items;
4269
+ for (const property in data) {
4270
+ // eslint-disable-next-line no-prototype-builtins
4271
+ if (data.hasOwnProperty(property))
4272
+ this[property] = data[property];
4273
+ }
2559
4274
  }
2560
4275
  }
2561
4276
  }
2562
4277
 
2563
- class KtbCashBackForAdminFilter {
4278
+ class KtbCourseImage {
2564
4279
  constructor(data) {
2565
4280
  if (data) {
2566
4281
  for (const property in data) {
@@ -2571,8 +4286,7 @@ class KtbCashBackForAdminFilter {
2571
4286
  }
2572
4287
  }
2573
4288
  }
2574
-
2575
- class KtbCashBackForAdmin {
4289
+ class KtbCourseMedia {
2576
4290
  constructor(data) {
2577
4291
  if (data) {
2578
4292
  for (const property in data) {
@@ -2583,8 +4297,7 @@ class KtbCashBackForAdmin {
2583
4297
  }
2584
4298
  }
2585
4299
  }
2586
-
2587
- class KtbCashBackChangeStatus {
4300
+ class KtbUploadCourseImage {
2588
4301
  constructor(data) {
2589
4302
  if (data) {
2590
4303
  for (const property in data) {
@@ -2595,8 +4308,7 @@ class KtbCashBackChangeStatus {
2595
4308
  }
2596
4309
  }
2597
4310
  }
2598
-
2599
- class KtbViolationForAdminFilter {
4311
+ class KtbUploadCourseMedia {
2600
4312
  constructor(data) {
2601
4313
  if (data) {
2602
4314
  for (const property in data) {
@@ -2608,7 +4320,8 @@ class KtbViolationForAdminFilter {
2608
4320
  }
2609
4321
  }
2610
4322
 
2611
- class KtbViolationForAdmin {
4323
+ // Cmt is abreviation of Committee
4324
+ class KtbCourseCmtMember {
2612
4325
  constructor(data) {
2613
4326
  if (data) {
2614
4327
  for (const property in data) {
@@ -2619,8 +4332,8 @@ class KtbViolationForAdmin {
2619
4332
  }
2620
4333
  }
2621
4334
  }
2622
-
2623
- class KtbAddViolationForAdmin {
4335
+ // Cmt is abreviation of Committee
4336
+ class KtbCreateCourseCmtMember {
2624
4337
  constructor(data) {
2625
4338
  if (data) {
2626
4339
  for (const property in data) {
@@ -2631,8 +4344,7 @@ class KtbAddViolationForAdmin {
2631
4344
  }
2632
4345
  }
2633
4346
  }
2634
-
2635
- class KtbMessageReceiverFilter {
4347
+ class KtbEditCourseCmtMember {
2636
4348
  constructor(data) {
2637
4349
  if (data) {
2638
4350
  for (const property in data) {
@@ -2644,7 +4356,7 @@ class KtbMessageReceiverFilter {
2644
4356
  }
2645
4357
  }
2646
4358
 
2647
- class KtbMessageReceiver {
4359
+ class KtbNews {
2648
4360
  constructor(data) {
2649
4361
  if (data) {
2650
4362
  for (const property in data) {
@@ -2656,15 +4368,19 @@ class KtbMessageReceiver {
2656
4368
  }
2657
4369
  }
2658
4370
 
2659
- class KtbMessageReceiverTypeStats {
4371
+ class KtbNewsDetail {
2660
4372
  constructor(data) {
2661
- this.adminMessagesCount = data.adminMessagesCount;
2662
- this.violationsCount = data.violationsCount;
2663
- this.allMessagesCount = this.adminMessagesCount + this.violationsCount;
4373
+ if (data) {
4374
+ for (const property in data) {
4375
+ // eslint-disable-next-line no-prototype-builtins
4376
+ if (data.hasOwnProperty(property))
4377
+ this[property] = data[property];
4378
+ }
4379
+ }
2664
4380
  }
2665
4381
  }
2666
4382
 
2667
- class KtbVendorUnreadMessageReceiver {
4383
+ class KtbNewsFile {
2668
4384
  constructor(data) {
2669
4385
  if (data) {
2670
4386
  for (const property in data) {
@@ -2676,28 +4392,37 @@ class KtbVendorUnreadMessageReceiver {
2676
4392
  }
2677
4393
  }
2678
4394
 
2679
- class KtbStatisticsItem {
4395
+ // fileAddress?: null | string;
4396
+ // fileName?: null | string;
4397
+ // id?: null | number;
4398
+ // imageTag?: null | string;
4399
+ // title?: null | string;
4400
+ class KtbNewsImage {
2680
4401
  constructor(data) {
2681
4402
  if (data) {
2682
- this.text = data.text;
2683
- this.value = data.value;
2684
- this.value2 = data.value2;
2685
- this.value2prefix = data.value2prefix;
2686
- this.isCurrency = data.isCurrency ?? false;
4403
+ for (const property in data) {
4404
+ // eslint-disable-next-line no-prototype-builtins
4405
+ if (data.hasOwnProperty(property))
4406
+ this[property] = data[property];
4407
+ }
2687
4408
  }
2688
4409
  }
2689
4410
  }
2690
- class KtbStatisticsDateItem {
2691
- /**
2692
- *
2693
- */
4411
+
4412
+ class KtbNewsLink {
2694
4413
  constructor(data) {
2695
- this.date = data.date;
2696
- this.value = data.value;
4414
+ if (data) {
4415
+ for (const property in data) {
4416
+ // eslint-disable-next-line no-prototype-builtins
4417
+ if (data.hasOwnProperty(property))
4418
+ this[property] = data[property];
4419
+ }
4420
+ }
4421
+ this.isSource = data?.isSource ?? false;
2697
4422
  }
2698
4423
  }
2699
4424
 
2700
- class KtbUsersFamiliesForAdmin {
4425
+ class KtbCreateNews {
2701
4426
  constructor(data) {
2702
4427
  if (data) {
2703
4428
  for (const property in data) {
@@ -2709,7 +4434,7 @@ class KtbUsersFamiliesForAdmin {
2709
4434
  }
2710
4435
  }
2711
4436
 
2712
- class KtbVendorCommentForAdminFilter {
4437
+ class KtbEditNews {
2713
4438
  constructor(data) {
2714
4439
  if (data) {
2715
4440
  for (const property in data) {
@@ -2721,7 +4446,7 @@ class KtbVendorCommentForAdminFilter {
2721
4446
  }
2722
4447
  }
2723
4448
 
2724
- class KtbVendorCommentForAdmin {
4449
+ class KtbNewsLanguege {
2725
4450
  constructor(data) {
2726
4451
  if (data) {
2727
4452
  for (const property in data) {
@@ -2733,7 +4458,7 @@ class KtbVendorCommentForAdmin {
2733
4458
  }
2734
4459
  }
2735
4460
 
2736
- class KtbBookCommentForAdminFilter {
4461
+ class KtbNewsKeyWord {
2737
4462
  constructor(data) {
2738
4463
  if (data) {
2739
4464
  for (const property in data) {
@@ -2745,7 +4470,7 @@ class KtbBookCommentForAdminFilter {
2745
4470
  }
2746
4471
  }
2747
4472
 
2748
- class KtbBookCommentForAdmin {
4473
+ class KtbArticle {
2749
4474
  constructor(data) {
2750
4475
  if (data) {
2751
4476
  for (const property in data) {
@@ -2757,7 +4482,7 @@ class KtbBookCommentForAdmin {
2757
4482
  }
2758
4483
  }
2759
4484
 
2760
- class KtbInvoiceOrderItem {
4485
+ class KtbArticleSender {
2761
4486
  constructor(data) {
2762
4487
  if (data) {
2763
4488
  for (const property in data) {
@@ -2769,7 +4494,7 @@ class KtbInvoiceOrderItem {
2769
4494
  }
2770
4495
  }
2771
4496
 
2772
- class KtbVendorImageInfo {
4497
+ class KtbArticleDetail {
2773
4498
  constructor(data) {
2774
4499
  if (data) {
2775
4500
  for (const property in data) {
@@ -2781,16 +4506,19 @@ class KtbVendorImageInfo {
2781
4506
  }
2782
4507
  }
2783
4508
 
2784
- class KtbGiftCheckUserExistance {
4509
+ class KtbLiteratureSubmission {
2785
4510
  constructor(data) {
2786
4511
  if (data) {
2787
- this.isExist = data.isExist;
2788
- this.mobile = data.mobile;
4512
+ for (const property in data) {
4513
+ // eslint-disable-next-line no-prototype-builtins
4514
+ if (data.hasOwnProperty(property))
4515
+ this[property] = data[property];
4516
+ }
2789
4517
  }
2790
4518
  }
2791
4519
  }
2792
4520
 
2793
- class KtbCreateGiftInput {
4521
+ class KtbLiteratureAuthor {
2794
4522
  constructor(data) {
2795
4523
  if (data) {
2796
4524
  for (const property in data) {
@@ -2801,8 +4529,7 @@ class KtbCreateGiftInput {
2801
4529
  }
2802
4530
  }
2803
4531
  }
2804
-
2805
- class KtbGiftForAdminFilter {
4532
+ class KtbLiteratureAuthorHistory {
2806
4533
  constructor(data) {
2807
4534
  if (data) {
2808
4535
  for (const property in data) {
@@ -2814,7 +4541,7 @@ class KtbGiftForAdminFilter {
2814
4541
  }
2815
4542
  }
2816
4543
 
2817
- class KtbGiftForAdmin {
4544
+ class KtbLiteratureReviweDetail {
2818
4545
  constructor(data) {
2819
4546
  if (data) {
2820
4547
  for (const property in data) {
@@ -2826,9 +4553,8 @@ class KtbGiftForAdmin {
2826
4553
  }
2827
4554
  }
2828
4555
 
2829
- class KtbCollection {
4556
+ class KtbLiteratureReviewer {
2830
4557
  constructor(data) {
2831
- this.visible = false;
2832
4558
  if (data) {
2833
4559
  for (const property in data) {
2834
4560
  // eslint-disable-next-line no-prototype-builtins
@@ -2838,19 +4564,8 @@ class KtbCollection {
2838
4564
  }
2839
4565
  }
2840
4566
  }
2841
- class KtbCatalogFilter {
2842
- constructor() {
2843
- this.subjectCategoryId = null;
2844
- this.pageNumber = 1;
2845
- this.pageSize = 100;
2846
- }
2847
- }
2848
-
2849
- class KtbCollectionFilter {
4567
+ class KtbLiteratureReviewersForAdmin {
2850
4568
  constructor(data) {
2851
- this.visibility = null;
2852
- this.pageNumber = 1;
2853
- this.pageSize = 10;
2854
4569
  if (data) {
2855
4570
  for (const property in data) {
2856
4571
  // eslint-disable-next-line no-prototype-builtins
@@ -2860,12 +4575,8 @@ class KtbCollectionFilter {
2860
4575
  }
2861
4576
  }
2862
4577
  }
2863
-
2864
- class KtbCreateCollection {
4578
+ class KtbReviewerDetailForAdmin {
2865
4579
  constructor(data) {
2866
- this.products = [];
2867
- this.visible = false;
2868
- this.imageBlobFile = null;
2869
4580
  if (data) {
2870
4581
  for (const property in data) {
2871
4582
  // eslint-disable-next-line no-prototype-builtins
@@ -2875,10 +4586,9 @@ class KtbCreateCollection {
2875
4586
  }
2876
4587
  }
2877
4588
  }
2878
- class KtbCollectionDetail {
4589
+
4590
+ class KtbLiteratureSubmissionFilter {
2879
4591
  constructor(data) {
2880
- this.visible = false;
2881
- this.products = [];
2882
4592
  if (data) {
2883
4593
  for (const property in data) {
2884
4594
  // eslint-disable-next-line no-prototype-builtins
@@ -2889,7 +4599,7 @@ class KtbCollectionDetail {
2889
4599
  }
2890
4600
  }
2891
4601
 
2892
- class KtbStatisticCardItem {
4602
+ class KtbLiteratureSubmissionDetail {
2893
4603
  constructor(data) {
2894
4604
  if (data) {
2895
4605
  for (const property in data) {
@@ -3057,507 +4767,192 @@ class IKtbNotificationService {
3057
4767
  class IKtbPurchaseService {
3058
4768
  }
3059
4769
 
3060
- class IKtbTransactionService {
3061
- }
3062
-
3063
- class IKtbGuildService {
3064
- }
3065
-
3066
- class IKtbOwnerService {
3067
- }
3068
-
3069
- class IKtbEmployeeService {
3070
- }
3071
-
3072
- class IKtbSocialMediaService {
3073
- }
3074
-
3075
- class IKtbVendorFileService {
3076
- }
3077
-
3078
- class IKtbMessageService {
3079
- }
3080
-
3081
- class IKtbAdminMessageService {
3082
- }
3083
-
3084
- class IKtbProvinceService {
3085
- }
3086
-
3087
- class IKtbFinancialService {
3088
- }
3089
-
3090
- class IKtbShipmentService {
3091
- }
3092
-
3093
- class IKtbDepartmentsService {
3094
- }
3095
-
3096
- class IKtbAdminCashBackService {
3097
- }
3098
-
3099
- class IKtbCashBackService {
3100
- }
3101
-
3102
- class IKtbViolationService {
3103
- }
3104
-
3105
- class IKtbAdminViolationService {
3106
- }
3107
-
3108
- class IKtbMessageReceiverService {
3109
- }
3110
-
3111
- class IKtbAdminDashboardService {
3112
- }
3113
-
3114
- class IKtbAdminPlanService {
3115
- }
3116
-
3117
- class IKtbAdminVendorCommentService {
3118
- }
3119
-
3120
- class IKtbAdminBookCommentService {
3121
- }
3122
-
3123
- class IKtbGiftService {
3124
- }
3125
-
3126
- class IKtbAdminGiftService {
3127
- }
3128
-
3129
- class IKtbCollectionService {
4770
+ class IKtbTransactionService {
3130
4771
  }
3131
4772
 
3132
- class IKtbVendorStatisticService {
4773
+ class IKtbGuildService {
3133
4774
  }
3134
4775
 
3135
- class IKtbAuthUiService {
4776
+ class IKtbOwnerService {
3136
4777
  }
3137
4778
 
3138
- class IKtbForeignBookService {
4779
+ class IKtbEmployeeService {
3139
4780
  }
3140
4781
 
3141
- var KtbDisplayShowType;
3142
- (function (KtbDisplayShowType) {
3143
- KtbDisplayShowType[KtbDisplayShowType["simple"] = 1] = "simple";
3144
- KtbDisplayShowType[KtbDisplayShowType["detailed"] = 2] = "detailed";
3145
- KtbDisplayShowType[KtbDisplayShowType["list"] = 3] = "list";
3146
- KtbDisplayShowType[KtbDisplayShowType["card"] = 4] = "card";
3147
- KtbDisplayShowType[KtbDisplayShowType["gallery"] = 5] = "gallery";
3148
- })(KtbDisplayShowType || (KtbDisplayShowType = {}));
3149
-
3150
- const ktbAlphabets = ['آ', 'ا', 'الف', 'ب', 'پ', 'ت', 'ث', 'ج', 'چ', 'ح', 'خ', 'د', 'ذ', 'ر', 'ز', 'ژ', 'س', 'ش', 'ص', 'ض', 'ط', 'ظ', 'ع', 'غ', 'ف', 'ق', 'ک', 'گ', 'ل', 'م', 'ن', 'و', 'ه', 'ی'];
4782
+ class IKtbSocialMediaService {
4783
+ }
3151
4784
 
3152
- var KtbOrderState;
3153
- (function (KtbOrderState) {
3154
- KtbOrderState[KtbOrderState["All"] = -1] = "All";
3155
- KtbOrderState[KtbOrderState["Created"] = 0] = "Created";
3156
- KtbOrderState[KtbOrderState["PreOrder"] = 1] = "PreOrder";
3157
- KtbOrderState[KtbOrderState["Accepted"] = 2] = "Accepted";
3158
- KtbOrderState[KtbOrderState["Rejected"] = 3] = "Rejected";
3159
- KtbOrderState[KtbOrderState["Paid"] = 4] = "Paid";
3160
- KtbOrderState[KtbOrderState["Sent"] = 5] = "Sent";
3161
- KtbOrderState[KtbOrderState["Delivered"] = 6] = "Delivered";
3162
- KtbOrderState[KtbOrderState["Canceled"] = 7] = "Canceled";
3163
- KtbOrderState[KtbOrderState["Returend"] = 8] = "Returend";
3164
- KtbOrderState[KtbOrderState["WaitingForUserAcceptance"] = 9] = "WaitingForUserAcceptance";
3165
- KtbOrderState[KtbOrderState["PartialDelivered"] = 10] = "PartialDelivered";
3166
- KtbOrderState[KtbOrderState["Finished"] = 11] = "Finished";
3167
- KtbOrderState[KtbOrderState["PartialReturned"] = 12] = "PartialReturned";
3168
- })(KtbOrderState || (KtbOrderState = {}));
4785
+ class IKtbVendorFileService {
4786
+ }
3169
4787
 
3170
- var KtbNotificationEnum;
3171
- (function (KtbNotificationEnum) {
3172
- KtbNotificationEnum[KtbNotificationEnum["Order"] = 0] = "Order";
3173
- KtbNotificationEnum[KtbNotificationEnum["Credit"] = 1] = "Credit";
3174
- KtbNotificationEnum[KtbNotificationEnum["Ticket"] = 2] = "Ticket";
3175
- KtbNotificationEnum[KtbNotificationEnum["Gift"] = 3] = "Gift";
3176
- })(KtbNotificationEnum || (KtbNotificationEnum = {}));
4788
+ class IKtbMessageService {
4789
+ }
3177
4790
 
3178
- var KtbCouponType;
3179
- (function (KtbCouponType) {
3180
- KtbCouponType[KtbCouponType["Coupon"] = 1] = "Coupon";
3181
- KtbCouponType[KtbCouponType["Voucher"] = 2] = "Voucher";
3182
- KtbCouponType[KtbCouponType["Gift"] = 3] = "Gift";
3183
- KtbCouponType[KtbCouponType["CoorperativeSubsidy"] = 4] = "CoorperativeSubsidy";
3184
- })(KtbCouponType || (KtbCouponType = {}));
4791
+ class IKtbAdminMessageService {
4792
+ }
3185
4793
 
3186
- var KtbTransactionEnum;
3187
- (function (KtbTransactionEnum) {
3188
- KtbTransactionEnum["Purchase_Book_System"] = "Purchase_Book_System";
3189
- KtbTransactionEnum["Increase_Balance"] = "Increase_Balance";
3190
- KtbTransactionEnum["Refund"] = "Refund";
3191
- KtbTransactionEnum["Increase_Credit"] = "Increase_Credit";
3192
- })(KtbTransactionEnum || (KtbTransactionEnum = {}));
3193
- var KtbTransactionTypesEnum;
3194
- (function (KtbTransactionTypesEnum) {
3195
- KtbTransactionTypesEnum[KtbTransactionTypesEnum["All"] = 0] = "All";
3196
- KtbTransactionTypesEnum[KtbTransactionTypesEnum["Payed"] = 1] = "Payed";
3197
- KtbTransactionTypesEnum[KtbTransactionTypesEnum["Received"] = 2] = "Received";
3198
- KtbTransactionTypesEnum[KtbTransactionTypesEnum["Credit"] = 3] = "Credit";
3199
- KtbTransactionTypesEnum[KtbTransactionTypesEnum["Canceled"] = 4] = "Canceled";
3200
- })(KtbTransactionTypesEnum || (KtbTransactionTypesEnum = {}));
3201
- const KtbTransactionTypes = [
3202
- { value: 0, title: 'All', label: 'همه', isShow: true },
3203
- { value: 1, title: 'Payed', label: 'پرداخت', isShow: true },
3204
- { value: 2, title: 'Received', label: 'دریافت', isShow: true },
3205
- { value: 3, title: 'Credit', label: 'اعتباری', isShow: false },
3206
- { value: 4, title: 'Canceled', label: 'کنسل', isShow: false }
3207
- ];
4794
+ class IKtbProvinceService {
4795
+ }
3208
4796
 
3209
- var KtbShopsTabs;
3210
- (function (KtbShopsTabs) {
3211
- KtbShopsTabs[KtbShopsTabs["allShops"] = 1] = "allShops";
3212
- KtbShopsTabs[KtbShopsTabs["myCity"] = 2] = "myCity";
3213
- })(KtbShopsTabs || (KtbShopsTabs = {}));
4797
+ class IKtbFinancialService {
4798
+ }
3214
4799
 
3215
- var KtbPaymentType;
3216
- (function (KtbPaymentType) {
3217
- KtbPaymentType[KtbPaymentType["Withdrawal"] = 0] = "Withdrawal";
3218
- KtbPaymentType[KtbPaymentType["Gift"] = 1] = "Gift";
3219
- KtbPaymentType[KtbPaymentType["Deposit"] = 2] = "Deposit";
3220
- KtbPaymentType[KtbPaymentType["CreditCode"] = 3] = "CreditCode";
3221
- })(KtbPaymentType || (KtbPaymentType = {}));
4800
+ class IKtbShipmentService {
4801
+ }
3222
4802
 
3223
- var KtbPaymentMessageType;
3224
- (function (KtbPaymentMessageType) {
3225
- KtbPaymentMessageType[KtbPaymentMessageType["CODE"] = 0] = "CODE";
3226
- KtbPaymentMessageType[KtbPaymentMessageType["PRICE"] = 1] = "PRICE";
3227
- })(KtbPaymentMessageType || (KtbPaymentMessageType = {}));
4803
+ class IKtbDepartmentsService {
4804
+ }
3228
4805
 
3229
- var KtbIconsEnum;
3230
- (function (KtbIconsEnum) {
3231
- KtbIconsEnum["Toman"] = "ktb-toman";
3232
- KtbIconsEnum["Gift"] = "ktb-gift";
3233
- KtbIconsEnum["Ticket"] = "ktb-ticket";
3234
- KtbIconsEnum["Quote"] = "ktb-quote";
3235
- KtbIconsEnum["Close"] = "ktb-close";
3236
- KtbIconsEnum["ArrowLeft"] = "ktb-back";
3237
- KtbIconsEnum["CloseCircle"] = "ktb-close-circle";
3238
- KtbIconsEnum["BillList"] = "ktb-bill-list";
3239
- KtbIconsEnum["Plan"] = "ktb-plan";
3240
- KtbIconsEnum["Support"] = "ktb-support";
3241
- KtbIconsEnum["Like"] = "ktb-like";
3242
- KtbIconsEnum["LikeFilled"] = "ktb-like-filled";
3243
- KtbIconsEnum["Printer"] = "ktb-printer";
3244
- KtbIconsEnum["CarrotRight"] = "ktb-carrot-right";
3245
- KtbIconsEnum["Delivery"] = "ktb-delivery";
3246
- KtbIconsEnum["Document"] = "ktb-document";
3247
- KtbIconsEnum["Shop"] = "ktb-shop";
3248
- KtbIconsEnum["Post"] = "/assets/icons/png/img-post.png";
3249
- KtbIconsEnum["SecurePaymentLine"] = "ktb-secure-payment-line";
3250
- KtbIconsEnum["Info"] = "ktb-info";
3251
- KtbIconsEnum["UploadSquare"] = "ktb-upload-square";
3252
- KtbIconsEnum["ErrorInfo"] = "/assets/icons/error-info";
3253
- KtbIconsEnum["ErrorFilled"] = "ktb-error-filled";
3254
- KtbIconsEnum["Error"] = "ktb-error";
3255
- KtbIconsEnum["Question"] = "ktb-question";
3256
- KtbIconsEnum["ChevronLeft"] = "ktb-chevron-left";
3257
- KtbIconsEnum["Wallet"] = "ktb-wallet";
3258
- KtbIconsEnum["MoreFilled"] = "ktb-more-filled";
3259
- KtbIconsEnum["ReturnBook"] = "ktb-return-book";
3260
- })(KtbIconsEnum || (KtbIconsEnum = {}));
4806
+ class IKtbAdminCashBackService {
4807
+ }
3261
4808
 
3262
- var KtbTicketCategoriesEnum;
3263
- (function (KtbTicketCategoriesEnum) {
3264
- KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Comment"] = 1] = "Comment";
3265
- KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Cancel"] = 2] = "Cancel";
3266
- KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Failed"] = 3] = "Failed";
3267
- KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Delivery"] = 4] = "Delivery";
3268
- KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Unregistered"] = 5] = "Unregistered";
3269
- KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Price"] = 6] = "Price";
3270
- KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Payment"] = 7] = "Payment";
3271
- KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Credit"] = 8] = "Credit";
3272
- KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Visited"] = 9] = "Visited";
3273
- KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Defectiveness"] = 10] = "Defectiveness";
3274
- })(KtbTicketCategoriesEnum || (KtbTicketCategoriesEnum = {}));
4809
+ class IKtbCashBackService {
4810
+ }
3275
4811
 
3276
- var KtbProductTypeEnum;
3277
- (function (KtbProductTypeEnum) {
3278
- KtbProductTypeEnum[KtbProductTypeEnum["SpecialDiscount"] = 1] = "SpecialDiscount";
3279
- KtbProductTypeEnum[KtbProductTypeEnum["Kids"] = 2] = "Kids";
3280
- KtbProductTypeEnum[KtbProductTypeEnum["BestSeller"] = 3] = "BestSeller";
3281
- KtbProductTypeEnum[KtbProductTypeEnum["Newest"] = 4] = "Newest";
3282
- KtbProductTypeEnum[KtbProductTypeEnum["Offer"] = 5] = "Offer";
3283
- KtbProductTypeEnum[KtbProductTypeEnum["BestBook"] = 6] = "BestBook";
3284
- })(KtbProductTypeEnum || (KtbProductTypeEnum = {}));
4812
+ class IKtbViolationService {
4813
+ }
3285
4814
 
3286
- var KtbRelationTypeEnum;
3287
- (function (KtbRelationTypeEnum) {
3288
- KtbRelationTypeEnum[KtbRelationTypeEnum["Spouse"] = 1] = "Spouse";
3289
- KtbRelationTypeEnum[KtbRelationTypeEnum["Child"] = 2] = "Child";
3290
- KtbRelationTypeEnum[KtbRelationTypeEnum["Brother"] = 3] = "Brother";
3291
- KtbRelationTypeEnum[KtbRelationTypeEnum["Sister"] = 4] = "Sister";
3292
- KtbRelationTypeEnum[KtbRelationTypeEnum["Father"] = 5] = "Father";
3293
- KtbRelationTypeEnum[KtbRelationTypeEnum["Mother"] = 6] = "Mother";
3294
- })(KtbRelationTypeEnum || (KtbRelationTypeEnum = {}));
4815
+ class IKtbAdminViolationService {
4816
+ }
3295
4817
 
3296
- var KtbValidatePasswordEnum;
3297
- (function (KtbValidatePasswordEnum) {
3298
- KtbValidatePasswordEnum[KtbValidatePasswordEnum["Required"] = 0] = "Required";
3299
- KtbValidatePasswordEnum[KtbValidatePasswordEnum["MinLength"] = 1] = "MinLength";
3300
- KtbValidatePasswordEnum[KtbValidatePasswordEnum["UpperCaseAndLowerCase"] = 2] = "UpperCaseAndLowerCase";
3301
- KtbValidatePasswordEnum[KtbValidatePasswordEnum["IsNumber"] = 3] = "IsNumber";
3302
- KtbValidatePasswordEnum[KtbValidatePasswordEnum["Pattern"] = 4] = "Pattern";
3303
- })(KtbValidatePasswordEnum || (KtbValidatePasswordEnum = {}));
4818
+ class IKtbMessageReceiverService {
4819
+ }
3304
4820
 
3305
- var KtbOrderItemStatusEnum;
3306
- (function (KtbOrderItemStatusEnum) {
3307
- KtbOrderItemStatusEnum[KtbOrderItemStatusEnum["preparing"] = 0] = "preparing";
3308
- KtbOrderItemStatusEnum[KtbOrderItemStatusEnum["AwaitingPayment"] = 1] = "AwaitingPayment";
3309
- KtbOrderItemStatusEnum[KtbOrderItemStatusEnum["Delivered"] = 2] = "Delivered";
3310
- })(KtbOrderItemStatusEnum || (KtbOrderItemStatusEnum = {}));
3311
- var KtbPostStatusEnum;
3312
- (function (KtbPostStatusEnum) {
3313
- KtbPostStatusEnum[KtbPostStatusEnum["RegisteredInStore"] = 0] = "RegisteredInStore";
3314
- KtbPostStatusEnum[KtbPostStatusEnum["ReadyToPrint"] = 1] = "ReadyToPrint";
3315
- KtbPostStatusEnum[KtbPostStatusEnum["ReadyToSend"] = 2] = "ReadyToSend";
3316
- KtbPostStatusEnum[KtbPostStatusEnum["ProblemInReadyToSend"] = 3] = "ProblemInReadyToSend";
3317
- KtbPostStatusEnum[KtbPostStatusEnum["StoreNotAvailable"] = 4] = "StoreNotAvailable";
3318
- KtbPostStatusEnum[KtbPostStatusEnum["Accepted"] = 5] = "Accepted";
3319
- KtbPostStatusEnum[KtbPostStatusEnum["CantBeAccepted"] = 6] = "CantBeAccepted";
3320
- KtbPostStatusEnum[KtbPostStatusEnum["Distributed"] = 7] = "Distributed";
3321
- KtbPostStatusEnum[KtbPostStatusEnum["DelayedInOffice"] = 8] = "DelayedInOffice";
3322
- KtbPostStatusEnum[KtbPostStatusEnum["CantBeDistribute"] = 9] = "CantBeDistribute";
3323
- KtbPostStatusEnum[KtbPostStatusEnum["PreReturn"] = 10] = "PreReturn";
3324
- KtbPostStatusEnum[KtbPostStatusEnum["FinalReturnRegistered"] = 11] = "FinalReturnRegistered";
3325
- KtbPostStatusEnum[KtbPostStatusEnum["Damaged"] = 12] = "Damaged";
3326
- KtbPostStatusEnum[KtbPostStatusEnum["DamagedRepaid"] = 13] = "DamagedRepaid";
3327
- KtbPostStatusEnum[KtbPostStatusEnum["AcceptedByFinancial"] = 70] = "AcceptedByFinancial";
3328
- KtbPostStatusEnum[KtbPostStatusEnum["PaidByFinacial"] = 71] = "PaidByFinacial";
3329
- KtbPostStatusEnum[KtbPostStatusEnum["PaiedToPost"] = 72] = "PaiedToPost";
3330
- KtbPostStatusEnum[KtbPostStatusEnum["Deleted"] = 80] = "Deleted";
3331
- KtbPostStatusEnum[KtbPostStatusEnum["Unknown"] = 81] = "Unknown";
3332
- KtbPostStatusEnum[KtbPostStatusEnum["RemainingAccepted"] = 82] = "RemainingAccepted";
3333
- KtbPostStatusEnum[KtbPostStatusEnum["ReturnApproved"] = 83] = "ReturnApproved";
3334
- KtbPostStatusEnum[KtbPostStatusEnum["AwaitingInquiry"] = 100] = "AwaitingInquiry";
3335
- KtbPostStatusEnum[KtbPostStatusEnum["ChangingState"] = 101] = "ChangingState";
3336
- })(KtbPostStatusEnum || (KtbPostStatusEnum = {}));
3337
- var KtbSendOrderStatus;
3338
- (function (KtbSendOrderStatus) {
3339
- KtbSendOrderStatus[KtbSendOrderStatus["Complete"] = 0] = "Complete";
3340
- KtbSendOrderStatus[KtbSendOrderStatus["Incomplete"] = 1] = "Incomplete";
3341
- KtbSendOrderStatus[KtbSendOrderStatus["Rejected"] = 2] = "Rejected";
3342
- })(KtbSendOrderStatus || (KtbSendOrderStatus = {}));
3343
- var KtbPurchaseStatusEnum;
3344
- (function (KtbPurchaseStatusEnum) {
3345
- KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["All"] = -1] = "All";
3346
- KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["Created"] = 0] = "Created";
3347
- KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["PreOrder"] = 1] = "PreOrder";
3348
- KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["Accepted"] = 2] = "Accepted";
3349
- KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["Rejected"] = 3] = "Rejected";
3350
- KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["Paid"] = 4] = "Paid";
3351
- KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["Sent"] = 5] = "Sent";
3352
- KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["Delivered"] = 6] = "Delivered";
3353
- KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["Cancelled"] = 7] = "Cancelled";
3354
- KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["Returned"] = 8] = "Returned";
3355
- KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["WaitingForUserAcceptance"] = 9] = "WaitingForUserAcceptance";
3356
- KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["Finished"] = 11] = "Finished";
3357
- })(KtbPurchaseStatusEnum || (KtbPurchaseStatusEnum = {}));
3358
- var KtbOrderType;
3359
- (function (KtbOrderType) {
3360
- KtbOrderType[KtbOrderType["Virtual"] = 1] = "Virtual";
3361
- KtbOrderType[KtbOrderType["InPerson"] = 2] = "InPerson";
3362
- })(KtbOrderType || (KtbOrderType = {}));
3363
- var KtbOrderSendType;
3364
- (function (KtbOrderSendType) {
3365
- KtbOrderSendType[KtbOrderSendType["Post"] = 1] = "Post";
3366
- KtbOrderSendType[KtbOrderSendType["InPerson"] = 2] = "InPerson";
3367
- })(KtbOrderSendType || (KtbOrderSendType = {}));
3368
- var KtbOrderDetailStatsForVendorType;
3369
- (function (KtbOrderDetailStatsForVendorType) {
3370
- KtbOrderDetailStatsForVendorType["TotalOrderAmount"] = "totalOrderAmount";
3371
- KtbOrderDetailStatsForVendorType["TotalOrderPayableAmount"] = "totalOrderPayableAmount";
3372
- KtbOrderDetailStatsForVendorType["TotalSubsidyAmount"] = "totalSubsidyAmount";
3373
- KtbOrderDetailStatsForVendorType["TotalDiscountAmount"] = "totalDiscountAmount";
3374
- })(KtbOrderDetailStatsForVendorType || (KtbOrderDetailStatsForVendorType = {}));
4821
+ class IKtbAdminDashboardService {
4822
+ }
3375
4823
 
3376
- var KtbFileStatusEnum;
3377
- (function (KtbFileStatusEnum) {
3378
- KtbFileStatusEnum[KtbFileStatusEnum["Created"] = 0] = "Created";
3379
- KtbFileStatusEnum[KtbFileStatusEnum["Waiting"] = 1] = "Waiting";
3380
- KtbFileStatusEnum[KtbFileStatusEnum["Accepted"] = 2] = "Accepted";
3381
- KtbFileStatusEnum[KtbFileStatusEnum["Rejected"] = 3] = "Rejected";
3382
- KtbFileStatusEnum[KtbFileStatusEnum["Review"] = 4] = "Review";
3383
- })(KtbFileStatusEnum || (KtbFileStatusEnum = {}));
4824
+ class IKtbAdminPlanService {
4825
+ }
3384
4826
 
3385
- var KtbFileTypeEnum;
3386
- (function (KtbFileTypeEnum) {
3387
- KtbFileTypeEnum[KtbFileTypeEnum["Certificate"] = 1] = "Certificate";
3388
- KtbFileTypeEnum[KtbFileTypeEnum["NationalCard"] = 2] = "NationalCard";
3389
- KtbFileTypeEnum[KtbFileTypeEnum["LincencingDetail"] = 3] = "LincencingDetail";
3390
- KtbFileTypeEnum[KtbFileTypeEnum["IndoorPicture"] = 4] = "IndoorPicture";
3391
- KtbFileTypeEnum[KtbFileTypeEnum["OutdoorPicture"] = 5] = "OutdoorPicture";
3392
- KtbFileTypeEnum[KtbFileTypeEnum["Gallery"] = 6] = "Gallery";
3393
- KtbFileTypeEnum[KtbFileTypeEnum["Other"] = 7] = "Other";
3394
- })(KtbFileTypeEnum || (KtbFileTypeEnum = {}));
4827
+ class IKtbAdminVendorCommentService {
4828
+ }
3395
4829
 
3396
- var KtbSocialMediaStatusEnum;
3397
- (function (KtbSocialMediaStatusEnum) {
3398
- KtbSocialMediaStatusEnum[KtbSocialMediaStatusEnum["Created"] = 0] = "Created";
3399
- KtbSocialMediaStatusEnum[KtbSocialMediaStatusEnum["Waiting"] = 1] = "Waiting";
3400
- KtbSocialMediaStatusEnum[KtbSocialMediaStatusEnum["Accepted"] = 2] = "Accepted";
3401
- KtbSocialMediaStatusEnum[KtbSocialMediaStatusEnum["Rejected"] = 3] = "Rejected";
3402
- KtbSocialMediaStatusEnum[KtbSocialMediaStatusEnum["Review"] = 4] = "Review";
3403
- })(KtbSocialMediaStatusEnum || (KtbSocialMediaStatusEnum = {}));
4830
+ class IKtbAdminBookCommentService {
4831
+ }
3404
4832
 
3405
- var KtbSocialTypeEnum;
3406
- (function (KtbSocialTypeEnum) {
3407
- KtbSocialTypeEnum[KtbSocialTypeEnum["Instagram"] = 1] = "Instagram";
3408
- KtbSocialTypeEnum[KtbSocialTypeEnum["Eitaa"] = 2] = "Eitaa";
3409
- KtbSocialTypeEnum[KtbSocialTypeEnum["Soroush"] = 3] = "Soroush";
3410
- KtbSocialTypeEnum[KtbSocialTypeEnum["Bale"] = 4] = "Bale";
3411
- })(KtbSocialTypeEnum || (KtbSocialTypeEnum = {}));
4833
+ class IKtbGiftService {
4834
+ }
3412
4835
 
3413
- var KtbSoftwareTypeEnum;
3414
- (function (KtbSoftwareTypeEnum) {
3415
- KtbSoftwareTypeEnum[KtbSoftwareTypeEnum["KausarHesab"] = 1] = "KausarHesab";
3416
- KtbSoftwareTypeEnum[KtbSoftwareTypeEnum["EdehGostran"] = 2] = "EdehGostran";
3417
- KtbSoftwareTypeEnum[KtbSoftwareTypeEnum["NikeHesab"] = 3] = "NikeHesab";
3418
- KtbSoftwareTypeEnum[KtbSoftwareTypeEnum["Pishgaman"] = 4] = "Pishgaman";
3419
- KtbSoftwareTypeEnum[KtbSoftwareTypeEnum["Radine"] = 5] = "Radine";
3420
- KtbSoftwareTypeEnum[KtbSoftwareTypeEnum["Other"] = 6] = "Other";
3421
- })(KtbSoftwareTypeEnum || (KtbSoftwareTypeEnum = {}));
4836
+ class IKtbAdminGiftService {
4837
+ }
3422
4838
 
3423
- var KtbAcceptanceType;
3424
- (function (KtbAcceptanceType) {
3425
- KtbAcceptanceType[KtbAcceptanceType["Created"] = 0] = "Created";
3426
- KtbAcceptanceType[KtbAcceptanceType["Waiting"] = 1] = "Waiting";
3427
- KtbAcceptanceType[KtbAcceptanceType["Accepted"] = 2] = "Accepted";
3428
- KtbAcceptanceType[KtbAcceptanceType["Rejected"] = 3] = "Rejected";
3429
- KtbAcceptanceType[KtbAcceptanceType["Review"] = 4] = "Review";
3430
- })(KtbAcceptanceType || (KtbAcceptanceType = {}));
4839
+ class IKtbCollectionService {
4840
+ }
3431
4841
 
3432
- var KtbLocationState;
3433
- (function (KtbLocationState) {
3434
- KtbLocationState[KtbLocationState["Downtown"] = 0] = "Downtown";
3435
- KtbLocationState[KtbLocationState["Mall"] = 1] = "Mall";
3436
- KtbLocationState[KtbLocationState["Neighbourhood"] = 2] = "Neighbourhood";
3437
- KtbLocationState[KtbLocationState["CityEdge"] = 3] = "CityEdge";
3438
- })(KtbLocationState || (KtbLocationState = {}));
4842
+ class IKtbVendorStatisticService {
4843
+ }
3439
4844
 
3440
- var KtbSoftwareInfo;
3441
- (function (KtbSoftwareInfo) {
3442
- KtbSoftwareInfo[KtbSoftwareInfo["KausarHesab"] = 0] = "KausarHesab";
3443
- KtbSoftwareInfo[KtbSoftwareInfo["EdehGostran"] = 1] = "EdehGostran";
3444
- KtbSoftwareInfo[KtbSoftwareInfo["NikeHesab"] = 2] = "NikeHesab";
3445
- KtbSoftwareInfo[KtbSoftwareInfo["Pishgaman"] = 3] = "Pishgaman";
3446
- KtbSoftwareInfo[KtbSoftwareInfo["Radine"] = 4] = "Radine";
3447
- KtbSoftwareInfo[KtbSoftwareInfo["Other"] = 5] = "Other";
3448
- })(KtbSoftwareInfo || (KtbSoftwareInfo = {}));
4845
+ class IKtbApiRequestService {
4846
+ }
3449
4847
 
3450
- var KtbVendorType;
3451
- (function (KtbVendorType) {
3452
- KtbVendorType[KtbVendorType["Withdrawal"] = 0] = "Withdrawal";
3453
- KtbVendorType[KtbVendorType["Gift"] = 1] = "Gift";
3454
- KtbVendorType[KtbVendorType["Deposit"] = 2] = "Deposit";
3455
- KtbVendorType[KtbVendorType["CreditCode"] = 3] = "CreditCode";
3456
- })(KtbVendorType || (KtbVendorType = {}));
4848
+ class IKtbApiAdminService {
4849
+ }
3457
4850
 
3458
- var KtbPlanStatsEnum;
3459
- (function (KtbPlanStatsEnum) {
3460
- /**
3461
- * All
3462
- */
3463
- KtbPlanStatsEnum[KtbPlanStatsEnum["All"] = -1] = "All";
3464
- /**
3465
- * BookHouse Plans
3466
- */
3467
- KtbPlanStatsEnum[KtbPlanStatsEnum["RegularPlan"] = 1] = "RegularPlan";
3468
- /**
3469
- * Vendors Plan
3470
- */
3471
- KtbPlanStatsEnum[KtbPlanStatsEnum["ExclusivePlan"] = 2] = "ExclusivePlan";
3472
- /**
3473
- * Book Fairs Plans
3474
- */
3475
- KtbPlanStatsEnum[KtbPlanStatsEnum["Fair"] = 3] = "Fair";
3476
- })(KtbPlanStatsEnum || (KtbPlanStatsEnum = {}));
3477
- var KtbPlanStatusEnum;
3478
- (function (KtbPlanStatusEnum) {
3479
- KtbPlanStatusEnum[KtbPlanStatusEnum["Waiting"] = 1] = "Waiting";
3480
- KtbPlanStatusEnum[KtbPlanStatusEnum["Accepted"] = 2] = "Accepted";
3481
- KtbPlanStatusEnum[KtbPlanStatusEnum["Rejected"] = 3] = "Rejected";
3482
- })(KtbPlanStatusEnum || (KtbPlanStatusEnum = {}));
4851
+ class IKtbClubCustomerService {
4852
+ constructor() {
4853
+ this.currentPoint = 0;
4854
+ this._currentPointBeh = new BehaviorSubject(this.currentPoint);
4855
+ this.currentPoint$ = this._currentPointBeh.asObservable();
4856
+ this._clubInfoBeh = new BehaviorSubject(null);
4857
+ this.clubInfo$ = this._clubInfoBeh.asObservable();
4858
+ }
4859
+ }
3483
4860
 
3484
- var KtbUploadUserTypeEnum;
3485
- (function (KtbUploadUserTypeEnum) {
3486
- KtbUploadUserTypeEnum[KtbUploadUserTypeEnum["Vendor"] = 1] = "Vendor";
3487
- KtbUploadUserTypeEnum[KtbUploadUserTypeEnum["Owner"] = 2] = "Owner";
3488
- })(KtbUploadUserTypeEnum || (KtbUploadUserTypeEnum = {}));
4861
+ class IKtbJudgesService {
4862
+ }
3489
4863
 
3490
- var KtbEmployeeTypeEnum;
3491
- (function (KtbEmployeeTypeEnum) {
3492
- KtbEmployeeTypeEnum[KtbEmployeeTypeEnum["Manager"] = 0] = "Manager";
3493
- KtbEmployeeTypeEnum[KtbEmployeeTypeEnum["Operator"] = 1] = "Operator";
3494
- KtbEmployeeTypeEnum[KtbEmployeeTypeEnum["Cashier"] = 2] = "Cashier";
3495
- })(KtbEmployeeTypeEnum || (KtbEmployeeTypeEnum = {}));
4864
+ class IKtbCourseService {
4865
+ }
3496
4866
 
3497
- var KtbOperationTypeEnum;
3498
- (function (KtbOperationTypeEnum) {
3499
- KtbOperationTypeEnum[KtbOperationTypeEnum["OnlinePurchase"] = 1] = "OnlinePurchase";
3500
- KtbOperationTypeEnum[KtbOperationTypeEnum["CashDeposit"] = 2] = "CashDeposit";
3501
- KtbOperationTypeEnum[KtbOperationTypeEnum["CreditDeposit"] = 3] = "CreditDeposit";
3502
- KtbOperationTypeEnum[KtbOperationTypeEnum["CashWithdrawal"] = 4] = "CashWithdrawal";
3503
- KtbOperationTypeEnum[KtbOperationTypeEnum["ReturnOperation"] = 5] = "ReturnOperation";
3504
- KtbOperationTypeEnum[KtbOperationTypeEnum["InPersonOperation"] = 6] = "InPersonOperation";
3505
- KtbOperationTypeEnum[KtbOperationTypeEnum["Gift"] = 7] = "Gift";
3506
- })(KtbOperationTypeEnum || (KtbOperationTypeEnum = {}));
4867
+ class IKtbSubmissionService {
4868
+ }
3507
4869
 
3508
- var KtbCartTypeEnum;
3509
- (function (KtbCartTypeEnum) {
3510
- KtbCartTypeEnum[KtbCartTypeEnum["Virtual"] = 0] = "Virtual";
3511
- KtbCartTypeEnum[KtbCartTypeEnum["InPerson"] = 1] = "InPerson";
3512
- })(KtbCartTypeEnum || (KtbCartTypeEnum = {}));
4870
+ class IKtbCommitteeService {
4871
+ }
3513
4872
 
3514
- var KtbOTPSendType;
3515
- (function (KtbOTPSendType) {
3516
- KtbOTPSendType[KtbOTPSendType["general"] = 0] = "general";
3517
- KtbOTPSendType[KtbOTPSendType["register"] = 1] = "register";
3518
- KtbOTPSendType[KtbOTPSendType["resetPassword"] = 2] = "resetPassword";
3519
- })(KtbOTPSendType || (KtbOTPSendType = {}));
4873
+ class IKtbAwardFormsService {
4874
+ }
4875
+ class KtbAwardForm {
4876
+ constructor(data) {
4877
+ if (data) {
4878
+ for (const property in data) {
4879
+ // eslint-disable-next-line no-prototype-builtins
4880
+ if (data.hasOwnProperty(property))
4881
+ this[property] = data[property];
4882
+ }
4883
+ }
4884
+ }
4885
+ }
4886
+ var KtbAwardFormTypes;
4887
+ (function (KtbAwardFormTypes) {
4888
+ KtbAwardFormTypes[KtbAwardFormTypes["Authorship"] = 1] = "Authorship";
4889
+ KtbAwardFormTypes[KtbAwardFormTypes["Translation"] = 2] = "Translation";
4890
+ KtbAwardFormTypes[KtbAwardFormTypes["AuthorshipAndTranslated"] = 3] = "AuthorshipAndTranslated";
4891
+ KtbAwardFormTypes[KtbAwardFormTypes["Correction"] = 4] = "Correction";
4892
+ })(KtbAwardFormTypes || (KtbAwardFormTypes = {}));
4893
+ class KtbFormQuestion {
4894
+ constructor(data) {
4895
+ if (data) {
4896
+ for (const property in data) {
4897
+ // eslint-disable-next-line no-prototype-builtins
4898
+ if (data.hasOwnProperty(property))
4899
+ this[property] = data[property];
4900
+ }
4901
+ }
4902
+ }
4903
+ }
4904
+ class KtbFormQuestionOption {
4905
+ constructor(data) {
4906
+ if (data) {
4907
+ for (const property in data) {
4908
+ // eslint-disable-next-line no-prototype-builtins
4909
+ if (data.hasOwnProperty(property))
4910
+ this[property] = data[property];
4911
+ }
4912
+ }
4913
+ }
4914
+ }
3520
4915
 
3521
- var KtbFinancialAccountType;
3522
- (function (KtbFinancialAccountType) {
3523
- KtbFinancialAccountType[KtbFinancialAccountType["Customer"] = 1] = "Customer";
3524
- KtbFinancialAccountType[KtbFinancialAccountType["Vendor"] = 2] = "Vendor";
3525
- KtbFinancialAccountType[KtbFinancialAccountType["Other"] = 3] = "Other";
3526
- })(KtbFinancialAccountType || (KtbFinancialAccountType = {}));
4916
+ class IKtbNewsService {
4917
+ }
3527
4918
 
3528
- var KtbTransactionType;
3529
- (function (KtbTransactionType) {
3530
- KtbTransactionType[KtbTransactionType["CRD"] = 1] = "CRD";
3531
- KtbTransactionType[KtbTransactionType["DEB"] = 2] = "DEB";
3532
- // Other = 3,
3533
- })(KtbTransactionType || (KtbTransactionType = {}));
4919
+ class IKtbLiteratureService {
4920
+ }
3534
4921
 
3535
- var KtbCashBackSteps;
3536
- (function (KtbCashBackSteps) {
3537
- KtbCashBackSteps[KtbCashBackSteps["CardNumber"] = 1] = "CardNumber";
3538
- KtbCashBackSteps[KtbCashBackSteps["Amount"] = 2] = "Amount";
3539
- KtbCashBackSteps[KtbCashBackSteps["SuucessPaid"] = 3] = "SuucessPaid";
3540
- })(KtbCashBackSteps || (KtbCashBackSteps = {}));
4922
+ class IKtbAuthUiService {
4923
+ }
3541
4924
 
3542
- var KtbBannerType;
3543
- (function (KtbBannerType) {
3544
- KtbBannerType[KtbBannerType["Customer"] = 0] = "Customer";
3545
- KtbBannerType[KtbBannerType["Store"] = 1] = "Store";
3546
- })(KtbBannerType || (KtbBannerType = {}));
3547
- var KtbBannerPosition;
3548
- (function (KtbBannerPosition) {
3549
- KtbBannerPosition[KtbBannerPosition["slider"] = 1] = "slider";
3550
- KtbBannerPosition[KtbBannerPosition["salePlan"] = 2] = "salePlan";
3551
- KtbBannerPosition[KtbBannerPosition["occasions"] = 3] = "occasions";
3552
- KtbBannerPosition[KtbBannerPosition["partnerSites"] = 4] = "partnerSites";
3553
- KtbBannerPosition[KtbBannerPosition["collections"] = 5] = "collections";
3554
- })(KtbBannerPosition || (KtbBannerPosition = {}));
4925
+ class IKtbForeignBookService {
4926
+ }
3555
4927
 
3556
- var KtbBannerImageType;
3557
- (function (KtbBannerImageType) {
3558
- KtbBannerImageType["ImageAddress"] = "imageAddress";
3559
- KtbBannerImageType["MobileImageAddress"] = "mobileImageAddress";
3560
- })(KtbBannerImageType || (KtbBannerImageType = {}));
4928
+ var KtbDisplayShowType;
4929
+ (function (KtbDisplayShowType) {
4930
+ KtbDisplayShowType[KtbDisplayShowType["simple"] = 1] = "simple";
4931
+ KtbDisplayShowType[KtbDisplayShowType["detailed"] = 2] = "detailed";
4932
+ KtbDisplayShowType[KtbDisplayShowType["list"] = 3] = "list";
4933
+ KtbDisplayShowType[KtbDisplayShowType["card"] = 4] = "card";
4934
+ KtbDisplayShowType[KtbDisplayShowType["gallery"] = 5] = "gallery";
4935
+ })(KtbDisplayShowType || (KtbDisplayShowType = {}));
4936
+
4937
+ const ktbAlphabets = ['آ', 'ا', 'الف', 'ب', 'پ', 'ت', 'ث', 'ج', 'چ', 'ح', 'خ', 'د', 'ذ', 'ر', 'ز', 'ژ', 'س', 'ش', 'ص', 'ض', 'ط', 'ظ', 'ع', 'غ', 'ف', 'ق', 'ک', 'گ', 'ل', 'م', 'ن', 'و', 'ه', 'ی'];
4938
+
4939
+ var KtbOrderState;
4940
+ (function (KtbOrderState) {
4941
+ KtbOrderState[KtbOrderState["All"] = -1] = "All";
4942
+ KtbOrderState[KtbOrderState["Created"] = 0] = "Created";
4943
+ KtbOrderState[KtbOrderState["PreOrder"] = 1] = "PreOrder";
4944
+ KtbOrderState[KtbOrderState["Accepted"] = 2] = "Accepted";
4945
+ KtbOrderState[KtbOrderState["Rejected"] = 3] = "Rejected";
4946
+ KtbOrderState[KtbOrderState["Paid"] = 4] = "Paid";
4947
+ KtbOrderState[KtbOrderState["Sent"] = 5] = "Sent";
4948
+ KtbOrderState[KtbOrderState["Delivered"] = 6] = "Delivered";
4949
+ KtbOrderState[KtbOrderState["Canceled"] = 7] = "Canceled";
4950
+ KtbOrderState[KtbOrderState["Returend"] = 8] = "Returend";
4951
+ KtbOrderState[KtbOrderState["WaitingForUserAcceptance"] = 9] = "WaitingForUserAcceptance";
4952
+ KtbOrderState[KtbOrderState["PartialDelivered"] = 10] = "PartialDelivered";
4953
+ KtbOrderState[KtbOrderState["Finished"] = 11] = "Finished";
4954
+ KtbOrderState[KtbOrderState["PartialReturned"] = 12] = "PartialReturned";
4955
+ })(KtbOrderState || (KtbOrderState = {}));
3561
4956
 
3562
4957
  const KtbPurchaseStatusOptions = {
3563
4958
  [KtbPurchaseStatusEnum.All]: { label: 'همه', enLabel: 'All', class: '', selected: false, count: 0 },
@@ -3685,6 +5080,8 @@ var KtbSalesSoftwareType;
3685
5080
  KtbSalesSoftwareType[KtbSalesSoftwareType["Pishgaman"] = 4] = "Pishgaman";
3686
5081
  KtbSalesSoftwareType[KtbSalesSoftwareType["Radine"] = 5] = "Radine";
3687
5082
  KtbSalesSoftwareType[KtbSalesSoftwareType["Other"] = 6] = "Other";
5083
+ KtbSalesSoftwareType[KtbSalesSoftwareType["WebHesab"] = 7] = "WebHesab";
5084
+ KtbSalesSoftwareType[KtbSalesSoftwareType["BehSoft"] = 8] = "BehSoft";
3688
5085
  })(KtbSalesSoftwareType || (KtbSalesSoftwareType = {}));
3689
5086
 
3690
5087
  var KtbVendorLocationState;
@@ -3711,12 +5108,6 @@ const KtbShowCaseCategory = [
3711
5108
  ];
3712
5109
 
3713
5110
  const _ACTIVEPLANTOKENNAME_ = '_cselectedactiveplanuniqid';
3714
- const PLAN_ACTIONS_BUTTONS = {
3715
- [-1]: { label: 'ثبت‌ نام در طرح', color: 'primary' },
3716
- [KtbPlanStatusEnum.Waiting]: { label: 'در حال بررسی', color: 'warning' },
3717
- [KtbPlanStatusEnum.Accepted]: { label: 'تایید شده', color: 'success' },
3718
- [KtbPlanStatusEnum.Rejected]: { label: 'تایید نشده', color: 'danger' },
3719
- };
3720
5111
 
3721
5112
  const socialMediaOption = {
3722
5113
  [KtbSocialMediaType.Instagram]: { icon: 'ktb-instagram', inActiveIcon: 'ktb-instagram-deactive' },
@@ -3835,5 +5226,5 @@ var KtbDoneUnDoneEnum;
3835
5226
  * Generated bundle index. Do not edit.
3836
5227
  */
3837
5228
 
3838
- export { Gender, IKtbAccountService, IKtbAdminBookCommentService, IKtbAdminCashBackService, IKtbAdminCouponService, IKtbAdminDashboardService, IKtbAdminGiftService, IKtbAdminMessageService, IKtbAdminPlanService, IKtbAdminTicketService, IKtbAdminVendorCommentService, IKtbAdminVendorService, IKtbAdminViolationService, IKtbAuthUiService, IKtbAuthorsService, IKtbBannerService, IKtbBasketService, IKtbCashBackService, IKtbCategoryService, IKtbCollectionService, IKtbCommentService, IKtbCouponService, IKtbCrudBaseFilterServices, IKtbCrudBaseServices, IKtbDepartmentsService, IKtbEmployeeService, IKtbFaqService, IKtbFavoritesService, IKtbFileDownloadService, IKtbFinancialService, IKtbForeignBookService, IKtbGiftService, IKtbGuildService, IKtbHostSettingService, IKtbInPersonBasketService, IKtbInventoryService, IKtbLoadingService, IKtbMessageReceiverService, IKtbMessageService, IKtbNotificationService, IKtbOrderService, IKtbOwnerService, IKtbProductService, IKtbProvinceService, IKtbPublisherService, IKtbPurchaseService, IKtbReturnOnSaleService, IKtbSalePlanService, IKtbSearchService, IKtbShipmentService, IKtbSocialMediaService, IKtbTicketsService, IKtbTokenService, IKtbTransactionService, IKtbUserAddressService, IKtbUserGuideService, IKtbUserProfileService, IKtbUserService, IKtbUsersFamiliesService, IKtbVendorFileService, IKtbVendorService, IKtbVendorStatisticService, IKtbViolationService, IKtbWithdrawalService, KFilter, KtDepartmentInput, KtbAcceptanceType, KtbActiveDeActiveEnum, KtbActiveGateway, KtbAddBanner, KtbAddCouponForAdmin, KtbAddMessageForAdmin, KtbAddViolationForAdmin, KtbAddVoucherForAdmin, KtbAdminMessageStatsType, KtbAdminMessageType, KtbAuhenticateOutput, KtbAuthenticateInput, KtbAuthors, KtbAuthorsResult, KtbBanks, KtbBanner, KtbBannerImageType, KtbBannerPosition, KtbBannerType, KtbBasket, KtbBasketContainer, KtbBasketDetails, KtbBasketItem, KtbBook, KtbBookCommentForAdmin, KtbBookCommentForAdminFilter, KtbBulkSendOrder, KtbBulkSendOrderByVendor, KtbCartTypeEnum, KtbCashBackChangeStatus, KtbCashBackForAdmin, KtbCashBackForAdminFilter, KtbCashBackStatus, KtbCashBackSteps, KtbCatalogFilter, KtbCatalogSellersAggregateDto, KtbChangePasswordInput, KtbCheckUserExistDto, KtbCheckUserExistInput, KtbCheckValidationCodeInput, KtbCheckoutResult, KtbCity, KtbCityFilter, KtbCollection, KtbCollectionDetail, KtbCollectionFilter, KtbComment, KtbCoupon, KtbCouponConsumptionGroup, KtbCouponForAdminFilter, KtbCouponFroAdmin, KtbCouponType, KtbCreateCollection, KtbCreateEditEmployee, KtbCreateEditTranscation, KtbCreateFileInput, KtbCreateGiftInput, KtbCreateOwner, KtbCreateOwnerFile, KtbCreateProductInput, KtbCreateSocialMedia, KtbCreateUserFamily, KtbCreateVendor, KtbCreateVendorCommentInput, KtbCreateVendorFile, KtbCustomerCommentFilter, KtbCustomerOperationStats, KtbDepartment, KtbDepartmentsResult, KtbDisplayShowType, KtbDoneUnDoneEnum, KtbEditFileInput, KtbEditOwner, KtbEditOwnerFile, KtbEditProductByVendor, KtbEditPurchaseReceiver, KtbEditSocialMedia, KtbEditSocialMediaIput, KtbEditVendor, KtbEditVendorFile, KtbEmployee, KtbEmployeeFilter, KtbEmployeeTypeEnum, KtbExportProductFilter, KtbExportVendorAdminFilter, KtbFaq, KtbFaqCategory, KtbFaqCategoryFilter, KtbFaqConst, KtbFaqFilter, KtbFavorite, KtbFavoriteContainer, KtbFile, KtbFileStatusEnum, KtbFileTypeEnum, KtbFinancialAccountAdmin, KtbFinancialAccountAdminFilter, KtbFinancialAccountType, KtbFinancialTransactionAdmin, KtbFinancialTransactionAdminFilter, KtbFinancialView, KtbFinancialViewPaged, KtbGBitIdentityInfo, KtbGenderType, KtbGetSalePlanDetailsForVendor, KtbGetSalePlanForVendor, KtbGetSalePlanForVendorDtoPaged, KtbGetShopListDto, KtbGetShopListInput, KtbGift, KtbGiftCheckUserExistance, KtbGiftForAdmin, KtbGiftForAdminFilter, KtbGuild, KtbGuildFilter, KtbGuildGroup, KtbIconsEnum, KtbInpersonRegisterInput, KtbInvoiceOrderItem, KtbLicense, KtbLocationState, KtbLogin, KtbLookup, KtbMessage, KtbMessageDetail, KtbMessageForAdmin, KtbMessageForAdminFilter, KtbMessageReceiver, KtbMessageReceiverFilter, KtbMessageReceiverStatsOptions, KtbMessageReceiverTypeStats, KtbMessageStat, KtbMessageType, KtbNotification, KtbNotificationEnum, KtbOTPSendType, KtbOperation, KtbOperationFilter, KtbOperationTypeEnum, KtbOrder, KtbOrderAddress, KtbOrderDetailStatsForVendor, KtbOrderDetailStatsForVendorInput, KtbOrderDetailStatsForVendorType, KtbOrderItem, KtbOrderItemStatusEnum, KtbOrderPayment, KtbOrderPlan, KtbOrderSendType, KtbOrderState, KtbOrderStatusStatsForVendor, KtbOrderStatusStatsForVendorInput, KtbOrderType, KtbOwner, KtbOwnerFile, KtbOwnerFilter, KtbPURCHASE_STATUSES, KtbPageResult, KtbPasswordComplexitySetting, KtbPaymentMessageType, KtbPaymentType, KtbPersonalityType, KtbPlan, KtbPlanRequestInput, KtbPlanStatsEnum, KtbPlanStatusEnum, KtbPostAmountOutput, KtbPostCreditInput, KtbPostLoginDto, KtbPostStatusEnum, KtbPrice, KtbProduct, KtbProductAuthor, KtbProductDetail, KtbProductListDto, KtbProductPackage, KtbProductTypeEnum, KtbProvince, KtbProvinceFilter, KtbPublisher, KtbPublishersResult, KtbPurchase, KtbPurchaseAdmin, KtbPurchaseFilter, KtbPurchaseFinance, KtbPurchaseStatusEnum, KtbPurchaseStatusOptions, KtbPurchaseTypeConst, KtbPurchaseUser, KtbPurchaseVendor, KtbReceiver, KtbRegister, KtbRegisterInput, KtbRelationType, KtbRelationTypeEnum, KtbResetPasswordInput, KtbReturnOnSale, KtbSalePlanStatsByType, KtbSalePlanView, KtbSalesSoftwareType, KtbSecuritySetting, KtbSendOrderStatus, KtbSendType, KtbSendValidationCodeInput, KtbShopsTabs, KtbShortageRequest, KtbShowCaseCategory, KtbShowCaseCategoryEnum, KtbSocialMedia, KtbSocialMediaFilter, KtbSocialMediaStatusEnum, KtbSocialTypeEnum, KtbSoftwareInfo, KtbSoftwareTypeEnum, KtbStatisticCardItem, KtbStatisticsDateItem, KtbStatisticsItem, KtbSubjectCategory, KtbTicket, KtbTicketAdmin, KtbTicketCategoriesEnum, KtbTicketCategory, KtbTicketDiscussion, KtbTicketDiscussionInput, KtbTicketFile, KtbTicketFileInput, KtbTicketForAdminFilter, KtbTicketInput, KtbTicketStat, KtbTicketState, KtbTicketStatsByTypeDto, KtbTicketeStatusOptions, KtbTicketsResult, KtbTransaction, KtbTransactionDetails, KtbTransactionEnum, KtbTransactionType, KtbTransactionTypes, KtbTransactionTypesEnum, KtbTransaction_Detail_Dictionary, KtbTwoFactorLoginSetting, KtbUploadUserTypeEnum, KtbUser, KtbUserBankAccount, KtbUserBankAccountInfo, KtbUserFamily, KtbUserFamilyFilter, KtbUserLockOutSetting, KtbUserProfile, KtbUserType, KtbUserValidatio, KtbUserValidationStatus, KtbUsersFamiliesForAdmin, KtbValidatePasswordEnum, KtbVendor, KtbVendorAdmin, KtbVendorBookRelevantFilter, KtbVendorCmStats, KtbVendorComment, KtbVendorCommentForAdmin, KtbVendorCommentForAdminFilter, KtbVendorContactInfo, KtbVendorDetail, KtbVendorFile, KtbVendorFileFilter, KtbVendorFinanceSummaryDto, KtbVendorForAdminFilter, KtbVendorForCustomer, KtbVendorForCustomerFilter, KtbVendorForLookUpTableFilter, KtbVendorFullDetail, KtbVendorGallery, KtbVendorImageInfo, KtbVendorInPersonStatus, KtbVendorLocationState, KtbVendorLookUpTable, KtbVendorOperation, KtbVendorProductForCustomerFilter, KtbVendorShelf, KtbVendorSocialMedia, KtbVendorStatsForCustomerView, KtbVendorTOperationFilter, KtbVendorType, KtbVendorUnreadMessageReceiver, KtbViolationForAdmin, KtbViolationForAdminFilter, KtbVoucherFilter, KtbVoucherFroAdmin, KtpPostLoginInput, KtpUpdatePostStoreInput, PLAN_ACTIONS_BUTTONS, UserAddress, ValidatePasswordConst, _ACTIVEPLANTOKENNAME_, ktbAlphabets, ktbCreaditStatsForAdmin, ktbEditOrderSupplyQuantityInput, ktbEditSupplyQuantityVendorInput, ktbGBitValidationInput, ktbGetCustomerInfo, ktbGetPostOrderHtmlInput, ktbGetPostOrderListHtmlInput, ktbGetReadyToSendBarcodeHtmlInput, ktbMessageStatsForAdmin, ktbReturnAcceptState, ktbReturnOnSaleWithTicketInput, ktbTicketAdminStats, ktbTicketAdminUserType, ktbTicketFileType, ktbTicketTrminatingUserDto, ktbTransactionAdminStats, socialMediaOption };
5229
+ export { Gender, IKtbAccountService, IKtbAdminBookCommentService, IKtbAdminCashBackService, IKtbAdminCouponService, IKtbAdminDashboardService, IKtbAdminGiftService, IKtbAdminMessageService, IKtbAdminPlanService, IKtbAdminTicketService, IKtbAdminVendorCommentService, IKtbAdminVendorService, IKtbAdminViolationService, IKtbApiAdminService, IKtbApiRequestService, IKtbAuthUiService, IKtbAuthorsService, IKtbAwardFormsService, IKtbBannerService, IKtbBasketService, IKtbCashBackService, IKtbCategoryService, IKtbClubCustomerService, IKtbCollectionService, IKtbCommentService, IKtbCommitteeService, IKtbCouponService, IKtbCourseService, IKtbCrudBaseFilterServices, IKtbCrudBaseServices, IKtbDepartmentsService, IKtbEmployeeService, IKtbFaqService, IKtbFavoritesService, IKtbFileDownloadService, IKtbFinancialService, IKtbForeignBookService, IKtbGiftService, IKtbGuildService, IKtbHostSettingService, IKtbInPersonBasketService, IKtbInventoryService, IKtbJudgesService, IKtbLiteratureService, IKtbLoadingService, IKtbMessageReceiverService, IKtbMessageService, IKtbNewsService, IKtbNotificationService, IKtbOrderService, IKtbOwnerService, IKtbProductService, IKtbProvinceService, IKtbPublisherService, IKtbPurchaseService, IKtbReturnOnSaleService, IKtbSalePlanService, IKtbSearchService, IKtbShipmentService, IKtbSocialMediaService, IKtbSubmissionService, IKtbTicketsService, IKtbTokenService, IKtbTransactionService, IKtbUserAddressService, IKtbUserGuideService, IKtbUserProfileService, IKtbUserService, IKtbUsersFamiliesService, IKtbVendorFileService, IKtbVendorService, IKtbVendorStatisticService, IKtbViolationService, IKtbWithdrawalService, KFilter, KtDepartmentInput, KtbAcceptVendorSalePlanRegistration, KtbAcceptanceType, KtbActiveDeActiveEnum, KtbActiveGateway, KtbAddBanner, KtbAddCouponForAdmin, KtbAddMessageForAdmin, KtbAddViolationForAdmin, KtbAddVoucherForAdmin, KtbAdminApiRequest, KtbAdminMessageStatsType, KtbAdminMessageType, KtbAllBookHouseSalePlansForAdminInput, KtbAllOrdersInSalePlanForAdmin, KtbAllOrdersInSalePlanForAdminInput, KtbAllPurchasesInSalePlanForAdminInput, KtbAllVendorSalePlansForAdminInput, KtbApiChartUsageData, KtbApiPlan, KtbApiPlanOptions, KtbApiRequest, KtbApiRequestStatus, KtbApiUsageFilterButton, KtbApiUsageModel, KtbArticle, KtbArticleDetail, KtbArticleSender, KtbArticleType, KtbAuhenticateOutput, KtbAuthenticateInput, KtbAuthors, KtbAuthorsResult, KtbAwardCategory, KtbAwardForm, KtbAwardFormTypes, KtbAwardsType, KtbBanks, KtbBanner, KtbBannerImageType, KtbBannerPosition, KtbBannerType, KtbBasket, KtbBasketContainer, KtbBasketDetails, KtbBasketItem, KtbBook, KtbBookCommentForAdmin, KtbBookCommentForAdminFilter, KtbBookHouseSalePlanForAdminEdit, KtbBookType, KtbBulkSendOrder, KtbBulkSendOrderByVendor, KtbCLubLevel, KtbCartTypeEnum, KtbCashBackChangeStatus, KtbCashBackForAdmin, KtbCashBackForAdminFilter, KtbCashBackStatus, KtbCashBackSteps, KtbCatalogFilter, KtbCatalogSellersAggregateDto, KtbCategoryGroupSubmission, KtbCategorySubmission, KtbChangePasswordInput, KtbCheckUserExistDto, KtbCheckUserExistInput, KtbCheckValidationCodeInput, KtbCheckoutResult, KtbChipFilterButton, KtbCity, KtbCityFilter, KtbClubPointHistory, KtbClubPointType, KtbClubPrize, KtbClubPrizeDetail, KtbClubPrizeSortType, KtbClubRecievedPrize, KtbCollection, KtbCollectionDetail, KtbCollectionFilter, KtbComment, KtbCoupon, KtbCouponConsumptionGroup, KtbCouponForAdminFilter, KtbCouponFroAdmin, KtbCouponType, KtbCourse, KtbCourseCategories, KtbCourseCmtMember, KtbCourseImage, KtbCourseJudge, KtbCourseMedia, KtbCourseStatus, KtbCourseType, KtbCreateCollection, KtbCreateCourse, KtbCreateCourseCmtMember, KtbCreateEditEmployee, KtbCreateEditTranscation, KtbCreateFileInput, KtbCreateGiftInput, KtbCreateJudge, KtbCreateNews, KtbCreateOwner, KtbCreateOwnerFile, KtbCreateProductInput, KtbCreateSocialMedia, KtbCreateUserFamily, KtbCreateVendor, KtbCreateVendorCommentInput, KtbCreateVendorFile, KtbCreateWalletChargeRequestsInput, KtbCreatedVendorRequest, KtbCurrentClubInfo, KtbCustomerCommentFilter, KtbCustomerOperationStats, KtbDepartment, KtbDepartmentsResult, KtbDisplayShowType, KtbDoneUnDoneEnum, KtbEditCourseCmtMember, KtbEditFileInput, KtbEditNews, KtbEditOwner, KtbEditOwnerFile, KtbEditProductByVendor, KtbEditPurchaseReceiver, KtbEditSocialMedia, KtbEditSocialMediaIput, KtbEditVendor, KtbEditVendorFile, KtbEducationGrade, KtbEmployee, KtbEmployeeFilter, KtbEmployeeTypeEnum, KtbExclusiveSalePlanForAdminEdit, KtbExportProductFilter, KtbExportVendorAdminFilter, KtbFaq, KtbFaqCategory, KtbFaqCategoryFilter, KtbFaqConst, KtbFaqFilter, KtbFaqServiceType, KtbFavorite, KtbFavoriteContainer, KtbFile, KtbFileStatusEnum, KtbFileType, KtbFileTypeEnum, KtbFinancialAccountAdmin, KtbFinancialAccountAdminFilter, KtbFinancialAccountType, KtbFinancialTransactionAdmin, KtbFinancialTransactionAdminFilter, KtbFinancialView, KtbFinancialViewPaged, KtbFormQuestion, KtbFormQuestionOption, KtbGBitIdentityInfo, KtbGenderType, KtbGetBookHouseSalePlansForAdmin, KtbGetSalePlanDetailsForVendor, KtbGetSalePlanForVendor, KtbGetSalePlanForVendorDtoPaged, KtbGetSalePlanVendorDetailForVendor, KtbGetShopListDto, KtbGetShopListInput, KtbGetSubmissionRefereesForAdmin, KtbGetVendorExclusivePlanForEdit, KtbGetVendorSalePlansForAdmin, KtbGift, KtbGiftCheckUserExistance, KtbGiftForAdmin, KtbGiftForAdminFilter, KtbGuild, KtbGuildFilter, KtbGuildGroup, KtbIconsEnum, KtbInpersonRegisterInput, KtbInvoiceOrderItem, KtbJudge, KtbJudgeCategories, KtbJudgeDetail, KtbJudgeSubmission, KtbJudgeSubmissionFilter, KtbKetabsalSubmissionDetailForAdmin, KtbLicense, KtbLiteratureAuthor, KtbLiteratureAuthorHistory, KtbLiteratureReviewer, KtbLiteratureReviewersForAdmin, KtbLiteratureReviweDetail, KtbLiteratureSubmission, KtbLiteratureSubmissionDetail, KtbLiteratureSubmissionFilter, KtbLiteratureSubmissionStatus, KtbLiteratureSubmissionType, KtbLocationState, KtbLogin, KtbLookup, KtbMessage, KtbMessageDetail, KtbMessageForAdmin, KtbMessageForAdminFilter, KtbMessageReceiver, KtbMessageReceiverFilter, KtbMessageReceiverStatsOptions, KtbMessageReceiverTypeStats, KtbMessageStat, KtbMessageType, KtbNews, KtbNewsDetail, KtbNewsFile, KtbNewsFileType, KtbNewsImage, KtbNewsKeyWord, KtbNewsLanguege, KtbNewsLanguegesType, KtbNewsLink, KtbNewsPlatform, KtbNewsStatus, KtbNewsType, KtbNotification, KtbNotificationEnum, KtbOTPSendType, KtbOperation, KtbOperationFilter, KtbOperationTypeEnum, KtbOrder, KtbOrderAddress, KtbOrderDetailStatsForVendor, KtbOrderDetailStatsForVendorInput, KtbOrderDetailStatsForVendorType, KtbOrderItem, KtbOrderItemStatusEnum, KtbOrderPayment, KtbOrderPlan, KtbOrderSendType, KtbOrderState, KtbOrderStatusStatsForAdmin, KtbOrderStatusStatsForVendor, KtbOrderStatusStatsForVendorInput, KtbOrderType, KtbOwner, KtbOwnerFile, KtbOwnerFilter, KtbPURCHASE_STATUSES, KtbPageResult, KtbPasswordComplexitySetting, KtbPaymentMessageType, KtbPaymentType, KtbPersonalityType, KtbPlan, KtbPlanConditionAndOffers, KtbPlanRequestInput, KtbPlanStatsEnum, KtbPlanStatusEnum, KtbPostAmountOutput, KtbPostCreditInput, KtbPostLoginDto, KtbPostStatusEnum, KtbPrice, KtbProduct, KtbProductAuthor, KtbProductDetail, KtbProductListDto, KtbProductPackage, KtbProductTypeEnum, KtbProvince, KtbProvinceFilter, KtbPublisher, KtbPublishersResult, KtbPurchase, KtbPurchaseAdmin, KtbPurchaseFilter, KtbPurchaseFinance, KtbPurchaseSaleDetailStatsForAdmin, KtbPurchaseStatusEnum, KtbPurchaseStatusOptions, KtbPurchaseStatusStats, KtbPurchaseTypeConst, KtbPurchaseUser, KtbPurchaseVendor, KtbPurchasesInSalePlanForAdmin, KtbRanksForAdmin, KtbReceiver, KtbRefereeAllocationStatus, KtbRegister, KtbRegisterInput, KtbRejectSalePlanType, KtbRelationType, KtbRelationTypeEnum, KtbRequestHistoryForAdmin, KtbResetPasswordInput, KtbReturnOnSale, KtbReviewerDetailForAdmin, KtbSalePlanStatsByType, KtbSalePlanView, KtbSalesSoftwareType, KtbSecuritySetting, KtbSendOrderStatus, KtbSendType, KtbSendValidationCodeInput, KtbSetNewRefereeDeadLine, KtbSetRulesPriorities, KtbSetVendorPlanStatusToRejected, KtbShopsTabs, KtbShortageRequest, KtbShowCaseCategory, KtbShowCaseCategoryEnum, KtbSocialMedia, KtbSocialMediaFilter, KtbSocialMediaStatusEnum, KtbSocialTypeEnum, KtbSoftwareInfo, KtbSoftwareTypeEnum, KtbStaticItem, KtbStatisticCardItem, KtbStatisticsDateItem, KtbStatisticsItem, KtbSubjectCategory, KtbSubmissionAnswersForAdmin, KtbSubmissionBulkType, KtbSubmissionStatus, KtbSubmissionsStatsByStatus, KtbSubmisson, KtbSubmissonFilter, KtbTicket, KtbTicketAdmin, KtbTicketCategoriesEnum, KtbTicketCategory, KtbTicketDiscussion, KtbTicketDiscussionInput, KtbTicketFile, KtbTicketFileInput, KtbTicketForAdminFilter, KtbTicketInput, KtbTicketStat, KtbTicketState, KtbTicketStatsByTypeDto, KtbTicketeStatusOptions, KtbTicketsResult, KtbTransaction, KtbTransactionDetails, KtbTransactionEnum, KtbTransactionType, KtbTransactionTypes, KtbTransactionTypesEnum, KtbTransaction_Detail_Dictionary, KtbTwoFactorLoginSetting, KtbUploadCourseImage, KtbUploadCourseMedia, KtbUploadFileType, KtbUploadUserTypeEnum, KtbUser, KtbUserBankAccount, KtbUserBankAccountInfo, KtbUserFamily, KtbUserFamilyFilter, KtbUserLockOutSetting, KtbUserProfile, KtbUserType, KtbUserValidatio, KtbUserValidationStatus, KtbUsersFamiliesForAdmin, KtbValidatePasswordEnum, KtbVendor, KtbVendorAdmin, KtbVendorBookRelevantFilter, KtbVendorCmStats, KtbVendorComment, KtbVendorCommentForAdmin, KtbVendorCommentForAdminFilter, KtbVendorContactInfo, KtbVendorDetail, KtbVendorFile, KtbVendorFileFilter, KtbVendorFileUploadStatus, KtbVendorFinanceSummaryDto, KtbVendorForAdminFilter, KtbVendorForCustomer, KtbVendorForCustomerFilter, KtbVendorForLookUpTableFilter, KtbVendorFullDetail, KtbVendorGallery, KtbVendorImageInfo, KtbVendorInPersonStatus, KtbVendorLocation, KtbVendorLocationState, KtbVendorLookUpTable, KtbVendorOperation, KtbVendorOperationFilter, KtbVendorOperationStatsByType, KtbVendorOwnerType, KtbVendorProductForCustomerFilter, KtbVendorRegisterType, KtbVendorShelf, KtbVendorSocialMedia, KtbVendorStatsForCustomerView, KtbVendorType, KtbVendorUnreadMessageReceiver, KtbVendorUploadedFiles, KtbViolationForAdmin, KtbViolationForAdminFilter, KtbVoucherFilter, KtbVoucherFroAdmin, KtbWithdrawalRequester, KtbsalePlanStatsForAdmin, KtpPostLoginInput, KtpUpdatePostStoreInput, RuleConditionType, RuleTargetType, UserAddress, UserPermissionDto, ValidatePasswordConst, _ACTIVEPLANTOKENNAME_, ktbAlphabets, ktbCourseRefereesForAdmin, ktbCreaditStatsForAdmin, ktbEditOrderSupplyQuantityInput, ktbEditSupplyQuantityVendorInput, ktbFormForAdmin, ktbGBitValidationInput, ktbGetCustomerInfo, ktbGetPostOrderHtmlInput, ktbGetPostOrderListHtmlInput, ktbGetReadyToSendBarcodeHtmlInput, ktbMessageStatsForAdmin, ktbReturnAcceptState, ktbReturnOnSaleWithTicketInput, ktbTicketAdminStats, ktbTicketAdminUserType, ktbTicketFileType, ktbTicketTrminatingUserDto, ktbTransactionAdminStats, ktbsalePlanForAdmin, socialMediaOption };
3839
5230
  //# sourceMappingURL=ketab-ir-core.mjs.map