@ketab-ir/core 0.0.2-2

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 (773) hide show
  1. package/README.md +7 -0
  2. package/esm2022/index.mjs +2 -0
  3. package/esm2022/ketab-ir-core.mjs +5 -0
  4. package/esm2022/lib/constants/index.mjs +30 -0
  5. package/esm2022/lib/constants/ktb-active-deactive.mjs +6 -0
  6. package/esm2022/lib/constants/ktb-admin-message-receiver-type.mjs +18 -0
  7. package/esm2022/lib/constants/ktb-alphabet.const.mjs +2 -0
  8. package/esm2022/lib/constants/ktb-banks.mjs +37 -0
  9. package/esm2022/lib/constants/ktb-cash-bank-status.mjs +7 -0
  10. package/esm2022/lib/constants/ktb-coupon-consumption-group.mjs +14 -0
  11. package/esm2022/lib/constants/ktb-display-show-type.mjs +9 -0
  12. package/esm2022/lib/constants/ktb-done-un-done.mjs +6 -0
  13. package/esm2022/lib/constants/ktb-faq.const.mjs +5 -0
  14. package/esm2022/lib/constants/ktb-gender-type.mjs +7 -0
  15. package/esm2022/lib/constants/ktb-order-state.mjs +18 -0
  16. package/esm2022/lib/constants/ktb-order-type.mjs +20 -0
  17. package/esm2022/lib/constants/ktb-personality-type.mjs +6 -0
  18. package/esm2022/lib/constants/ktb-plan.const.mjs +9 -0
  19. package/esm2022/lib/constants/ktb-product.const.mjs +15 -0
  20. package/esm2022/lib/constants/ktb-purchase.const.mjs +13 -0
  21. package/esm2022/lib/constants/ktb-relation-type.mjs +10 -0
  22. package/esm2022/lib/constants/ktb-return-accept-state.mjs +11 -0
  23. package/esm2022/lib/constants/ktb-salessoftware-type.mjs +10 -0
  24. package/esm2022/lib/constants/ktb-send-type.mjs +6 -0
  25. package/esm2022/lib/constants/ktb-social-media-option.const.mjs +8 -0
  26. package/esm2022/lib/constants/ktb-social-media-type.mjs +8 -0
  27. package/esm2022/lib/constants/ktb-ticket-admin-stats.mjs +12 -0
  28. package/esm2022/lib/constants/ktb-ticket-admin-user-type.mjs +6 -0
  29. package/esm2022/lib/constants/ktb-ticket-file-type.mjs +6 -0
  30. package/esm2022/lib/constants/ktb-ticket-state.mjs +10 -0
  31. package/esm2022/lib/constants/ktb-transaction.const.mjs +11 -0
  32. package/esm2022/lib/constants/ktb-user-type.mjs +7 -0
  33. package/esm2022/lib/constants/ktb-validate-password.const.mjs +8 -0
  34. package/esm2022/lib/constants/ktb-vendor-location-state.mjs +8 -0
  35. package/esm2022/lib/contracts/account/index.mjs +2 -0
  36. package/esm2022/lib/contracts/account/ktb-account.service.mjs +3 -0
  37. package/esm2022/lib/contracts/base/index.mjs +7 -0
  38. package/esm2022/lib/contracts/base/ktb-banner.service.mjs +3 -0
  39. package/esm2022/lib/contracts/base/ktb-faq.service.mjs +3 -0
  40. package/esm2022/lib/contracts/base/ktb-loading.service.mjs +3 -0
  41. package/esm2022/lib/contracts/base/ktb-plan.service.mjs +3 -0
  42. package/esm2022/lib/contracts/base/ktb-user-guid.service.mjs +3 -0
  43. package/esm2022/lib/contracts/base/ktb-users-families.service.mjs +3 -0
  44. package/esm2022/lib/contracts/baskets/index.mjs +3 -0
  45. package/esm2022/lib/contracts/baskets/ktb-basket.service.mjs +25 -0
  46. package/esm2022/lib/contracts/baskets/ktb-inperson-basket.service.mjs +30 -0
  47. package/esm2022/lib/contracts/book-comments/index.mjs +2 -0
  48. package/esm2022/lib/contracts/book-comments/ktb-admin-book-comment.service.mjs +3 -0
  49. package/esm2022/lib/contracts/cash-backs/index.mjs +3 -0
  50. package/esm2022/lib/contracts/cash-backs/ktb-admin-cash-back.service.mjs +3 -0
  51. package/esm2022/lib/contracts/cash-backs/ktb-cash-back.service.mjs +3 -0
  52. package/esm2022/lib/contracts/collections/index.mjs +2 -0
  53. package/esm2022/lib/contracts/collections/ktb-collection.service.mjs +3 -0
  54. package/esm2022/lib/contracts/comments/index.mjs +2 -0
  55. package/esm2022/lib/contracts/comments/ktb-comment.service.mjs +3 -0
  56. package/esm2022/lib/contracts/dashboards/index.mjs +2 -0
  57. package/esm2022/lib/contracts/dashboards/ktb-dashboard-admin.service.mjs +3 -0
  58. package/esm2022/lib/contracts/departments/index.mjs +2 -0
  59. package/esm2022/lib/contracts/departments/ktb-departments.service.mjs +3 -0
  60. package/esm2022/lib/contracts/employee/index.mjs +2 -0
  61. package/esm2022/lib/contracts/employee/ktb-employee.service.mjs +3 -0
  62. package/esm2022/lib/contracts/favorites/index.mjs +2 -0
  63. package/esm2022/lib/contracts/favorites/ktb-favorites.service.mjs +3 -0
  64. package/esm2022/lib/contracts/file-downlaod/index.mjs +2 -0
  65. package/esm2022/lib/contracts/file-downlaod/ktb-file-download.service.mjs +3 -0
  66. package/esm2022/lib/contracts/financial/index.mjs +2 -0
  67. package/esm2022/lib/contracts/financial/ktb-financial.service.mjs +3 -0
  68. package/esm2022/lib/contracts/gift/index.mjs +3 -0
  69. package/esm2022/lib/contracts/gift/ktb-admin-gift.service.mjs +3 -0
  70. package/esm2022/lib/contracts/gift/ktb-gift.service.mjs +3 -0
  71. package/esm2022/lib/contracts/guilds/index.mjs +2 -0
  72. package/esm2022/lib/contracts/guilds/ktb-guild.service.mjs +3 -0
  73. package/esm2022/lib/contracts/host-settings/index.mjs +2 -0
  74. package/esm2022/lib/contracts/host-settings/ktb-host-setting.service.mjs +3 -0
  75. package/esm2022/lib/contracts/icrud-base-service.mjs +5 -0
  76. package/esm2022/lib/contracts/index.mjs +43 -0
  77. package/esm2022/lib/contracts/inventories/index.mjs +3 -0
  78. package/esm2022/lib/contracts/inventories/ktb-inventory.service.mjs +3 -0
  79. package/esm2022/lib/contracts/inventories/ktb-withdrawal-service.mjs +3 -0
  80. package/esm2022/lib/contracts/message/index.mjs +3 -0
  81. package/esm2022/lib/contracts/message/ktb-admin-message.service.mjs +3 -0
  82. package/esm2022/lib/contracts/message/ktb-message.service.mjs +3 -0
  83. package/esm2022/lib/contracts/message-receiver/index.mjs +2 -0
  84. package/esm2022/lib/contracts/message-receiver/ktb-message-receiver.service.mjs +3 -0
  85. package/esm2022/lib/contracts/notification/index.mjs +2 -0
  86. package/esm2022/lib/contracts/notification/ktb-notification-service.mjs +3 -0
  87. package/esm2022/lib/contracts/orders/index.mjs +2 -0
  88. package/esm2022/lib/contracts/orders/ktb-order.service.mjs +3 -0
  89. package/esm2022/lib/contracts/owners/index.mjs +2 -0
  90. package/esm2022/lib/contracts/owners/ktb-owner.service.mjs +3 -0
  91. package/esm2022/lib/contracts/payments/index.mjs +3 -0
  92. package/esm2022/lib/contracts/payments/ktb-admin-coupon.service.mjs +5 -0
  93. package/esm2022/lib/contracts/payments/ktb-coupon.service.mjs +3 -0
  94. package/esm2022/lib/contracts/plans/index.mjs +2 -0
  95. package/esm2022/lib/contracts/plans/ktb-admin-plan.service.mjs +3 -0
  96. package/esm2022/lib/contracts/products/index.mjs +2 -0
  97. package/esm2022/lib/contracts/products/ktb-product.service.mjs +4 -0
  98. package/esm2022/lib/contracts/province/index.mjs +2 -0
  99. package/esm2022/lib/contracts/province/ktb-province.service.mjs +3 -0
  100. package/esm2022/lib/contracts/publishers/index.mjs +2 -0
  101. package/esm2022/lib/contracts/publishers/ktb-publisher.service.mjs +3 -0
  102. package/esm2022/lib/contracts/purchase/index.mjs +2 -0
  103. package/esm2022/lib/contracts/purchase/ktb-purchase-service.mjs +3 -0
  104. package/esm2022/lib/contracts/return-on-sales/index.mjs +2 -0
  105. package/esm2022/lib/contracts/return-on-sales/ktb-return-on-sale.service.mjs +3 -0
  106. package/esm2022/lib/contracts/search/index.mjs +4 -0
  107. package/esm2022/lib/contracts/search/ktb-author.service.mjs +3 -0
  108. package/esm2022/lib/contracts/search/ktb-category.service.mjs +3 -0
  109. package/esm2022/lib/contracts/search/ktb-search.service.mjs +3 -0
  110. package/esm2022/lib/contracts/shipments/index.mjs +2 -0
  111. package/esm2022/lib/contracts/shipments/ktb-shipment.service.mjs +3 -0
  112. package/esm2022/lib/contracts/social-media/index.mjs +2 -0
  113. package/esm2022/lib/contracts/social-media/ktb-social-media.service.mjs +3 -0
  114. package/esm2022/lib/contracts/tickets/index.mjs +3 -0
  115. package/esm2022/lib/contracts/tickets/ktb-admin-ticket.service.mjs +3 -0
  116. package/esm2022/lib/contracts/tickets/ktb-tickets.service.mjs +3 -0
  117. package/esm2022/lib/contracts/transaction/index.mjs +2 -0
  118. package/esm2022/lib/contracts/transaction/ktb-transaction-service.mjs +3 -0
  119. package/esm2022/lib/contracts/users/index.mjs +6 -0
  120. package/esm2022/lib/contracts/users/ktb-token.service.mjs +3 -0
  121. package/esm2022/lib/contracts/users/ktb-user-address.service.mjs +3 -0
  122. package/esm2022/lib/contracts/users/ktb-user-profile.service.mjs +3 -0
  123. package/esm2022/lib/contracts/users/ktb-user.service.mjs +3 -0
  124. package/esm2022/lib/contracts/vaiolations/index.mjs +3 -0
  125. package/esm2022/lib/contracts/vaiolations/ktb-admin-violation.service.mjs +3 -0
  126. package/esm2022/lib/contracts/vaiolations/ktb-violation.service.mjs +3 -0
  127. package/esm2022/lib/contracts/vendor-comments/index.mjs +2 -0
  128. package/esm2022/lib/contracts/vendor-comments/ktb-admin-vendor-comment.service.mjs +3 -0
  129. package/esm2022/lib/contracts/vendor-file/index.mjs +2 -0
  130. package/esm2022/lib/contracts/vendor-file/ktb-vendor-file.service.mjs +3 -0
  131. package/esm2022/lib/contracts/vendor-statistic/index.mjs +2 -0
  132. package/esm2022/lib/contracts/vendor-statistic/ktb-vendor-statistic.service.mjs +3 -0
  133. package/esm2022/lib/contracts/vendors/index.mjs +3 -0
  134. package/esm2022/lib/contracts/vendors/ktb-admin-vendor.service.mjs +3 -0
  135. package/esm2022/lib/contracts/vendors/ktb-vendor.service.mjs +3 -0
  136. package/esm2022/lib/enums/index.mjs +33 -0
  137. package/esm2022/lib/enums/ktb-acceptance-type.mjs +9 -0
  138. package/esm2022/lib/enums/ktb-banner-image-type.mjs +6 -0
  139. package/esm2022/lib/enums/ktb-banner.enum.mjs +14 -0
  140. package/esm2022/lib/enums/ktb-cart-type.enum.mjs +6 -0
  141. package/esm2022/lib/enums/ktb-cash-back-steps.mjs +7 -0
  142. package/esm2022/lib/enums/ktb-coupon.enum.mjs +8 -0
  143. package/esm2022/lib/enums/ktb-employee-type.enum.mjs +7 -0
  144. package/esm2022/lib/enums/ktb-file-status.enum.mjs +9 -0
  145. package/esm2022/lib/enums/ktb-file-type.enum.mjs +11 -0
  146. package/esm2022/lib/enums/ktb-financial-account-type.enum.mjs +7 -0
  147. package/esm2022/lib/enums/ktb-icons.enum.mjs +33 -0
  148. package/esm2022/lib/enums/ktb-location-state.mjs +8 -0
  149. package/esm2022/lib/enums/ktb-notification.enum.mjs +8 -0
  150. package/esm2022/lib/enums/ktb-operation-type.enum.mjs +11 -0
  151. package/esm2022/lib/enums/ktb-opt-send-type.enum.mjs +7 -0
  152. package/esm2022/lib/enums/ktb-order-item-status.enum.mjs +71 -0
  153. package/esm2022/lib/enums/ktb-payment-message-type.enum.mjs +6 -0
  154. package/esm2022/lib/enums/ktb-payment-type.enum.mjs +8 -0
  155. package/esm2022/lib/enums/ktb-plan-vendor.enum.mjs +26 -0
  156. package/esm2022/lib/enums/ktb-product-type.enum.mjs +10 -0
  157. package/esm2022/lib/enums/ktb-relation-type.enum.mjs +10 -0
  158. package/esm2022/lib/enums/ktb-shops-tabs.enum.mjs +6 -0
  159. package/esm2022/lib/enums/ktb-social-media-status.enum.mjs +9 -0
  160. package/esm2022/lib/enums/ktb-social-type.enum.mjs +8 -0
  161. package/esm2022/lib/enums/ktb-software-info.mjs +10 -0
  162. package/esm2022/lib/enums/ktb-software-type.enum.mjs +10 -0
  163. package/esm2022/lib/enums/ktb-ticket-categories.enum.mjs +14 -0
  164. package/esm2022/lib/enums/ktb-transaction-type.enum.mjs +7 -0
  165. package/esm2022/lib/enums/ktb-transaction.enum.mjs +23 -0
  166. package/esm2022/lib/enums/ktb-upload-user-type.enum.mjs +6 -0
  167. package/esm2022/lib/enums/ktb-validate-password.enum.mjs +9 -0
  168. package/esm2022/lib/enums/ktb-vendor-type.enum.mjs +8 -0
  169. package/esm2022/lib/index.mjs +5 -0
  170. package/esm2022/lib/models/account/index.mjs +12 -0
  171. package/esm2022/lib/models/account/ktb-GBit-validation-input.mjs +12 -0
  172. package/esm2022/lib/models/account/ktb-change-password-input.mjs +12 -0
  173. package/esm2022/lib/models/account/ktb-check-user-exist-input.mjs +23 -0
  174. package/esm2022/lib/models/account/ktb-check-validation-code-input.mjs +13 -0
  175. package/esm2022/lib/models/account/ktb-inperson-register-input.mjs +12 -0
  176. package/esm2022/lib/models/account/ktb-login.mjs +12 -0
  177. package/esm2022/lib/models/account/ktb-register-input.mjs +12 -0
  178. package/esm2022/lib/models/account/ktb-register.mjs +12 -0
  179. package/esm2022/lib/models/account/ktb-reset-password-input.mjs +12 -0
  180. package/esm2022/lib/models/account/ktb-send-validation-code.mjs +13 -0
  181. package/esm2022/lib/models/account/ktb-user-validatio.mjs +29 -0
  182. package/esm2022/lib/models/base/index.mjs +7 -0
  183. package/esm2022/lib/models/base/ktb-banner.mjs +28 -0
  184. package/esm2022/lib/models/base/ktb-config.mjs +2 -0
  185. package/esm2022/lib/models/base/ktb-lookup.mjs +12 -0
  186. package/esm2022/lib/models/base/ktb-page-result.mjs +12 -0
  187. package/esm2022/lib/models/base/ktb-paged-result-input.mjs +2 -0
  188. package/esm2022/lib/models/base/ktb-saleplan.mjs +41 -0
  189. package/esm2022/lib/models/baskets/checkout-result.mjs +24 -0
  190. package/esm2022/lib/models/baskets/index.mjs +8 -0
  191. package/esm2022/lib/models/baskets/ktb-basket-detail.mjs +18 -0
  192. package/esm2022/lib/models/baskets/ktb-basket-item.mjs +32 -0
  193. package/esm2022/lib/models/baskets/ktb-basket.mjs +43 -0
  194. package/esm2022/lib/models/baskets/ktb-discount.mjs +2 -0
  195. package/esm2022/lib/models/baskets/ktb-get-customer-info.mjs +12 -0
  196. package/esm2022/lib/models/baskets/ktb-postamount-output.mjs +10 -0
  197. package/esm2022/lib/models/book-comments/index.mjs +3 -0
  198. package/esm2022/lib/models/book-comments/ktb-book-comment-for-admin-filter.mjs +12 -0
  199. package/esm2022/lib/models/book-comments/ktb-book-comment-for-admin.mjs +12 -0
  200. package/esm2022/lib/models/cash-banck/index.mjs +4 -0
  201. package/esm2022/lib/models/cash-banck/ktb-cash-back-change-status.mjs +12 -0
  202. package/esm2022/lib/models/cash-banck/ktb-cash-back-for-admin-filter.mjs +12 -0
  203. package/esm2022/lib/models/cash-banck/ktb-cash-back-for-admin.mjs +12 -0
  204. package/esm2022/lib/models/chart/index.mjs +2 -0
  205. package/esm2022/lib/models/chart/ktb-chart.mjs +2 -0
  206. package/esm2022/lib/models/cities/index.mjs +5 -0
  207. package/esm2022/lib/models/cities/ktb-Province-filter.mjs +12 -0
  208. package/esm2022/lib/models/cities/ktb-Province.mjs +12 -0
  209. package/esm2022/lib/models/cities/ktb-city-filter.mjs +12 -0
  210. package/esm2022/lib/models/cities/ktb-city.mjs +12 -0
  211. package/esm2022/lib/models/collections/index.mjs +4 -0
  212. package/esm2022/lib/models/collections/ktb-collection-detail.mjs +28 -0
  213. package/esm2022/lib/models/collections/ktb-collection-filter.mjs +15 -0
  214. package/esm2022/lib/models/collections/ktb-collection.mjs +20 -0
  215. package/esm2022/lib/models/comments/index.mjs +4 -0
  216. package/esm2022/lib/models/comments/ktb-comment.mjs +35 -0
  217. package/esm2022/lib/models/comments/ktb-create-vendor-comment.mjs +12 -0
  218. package/esm2022/lib/models/comments/ktb-customer-comment-filter.mjs +14 -0
  219. package/esm2022/lib/models/coupon/index.mjs +9 -0
  220. package/esm2022/lib/models/coupon/ktb-add-coupon-for-admin.mjs +12 -0
  221. package/esm2022/lib/models/coupon/ktb-add-voucher-for-admin.mjs +12 -0
  222. package/esm2022/lib/models/coupon/ktb-coupon-for-admin-filter.mjs +12 -0
  223. package/esm2022/lib/models/coupon/ktb-coupon-for-admin.mjs +12 -0
  224. package/esm2022/lib/models/coupon/ktb-creadit-stats-for-admin.mjs +7 -0
  225. package/esm2022/lib/models/coupon/ktb-gift.mjs +12 -0
  226. package/esm2022/lib/models/coupon/ktb-voucher-for-admin.mjs +12 -0
  227. package/esm2022/lib/models/coupon/ktb-vouchers-filter.mjs +14 -0
  228. package/esm2022/lib/models/customer-invoice/index.mjs +2 -0
  229. package/esm2022/lib/models/customer-invoice/ktb-customer-invoice.mjs +12 -0
  230. package/esm2022/lib/models/dashboards/index.mjs +2 -0
  231. package/esm2022/lib/models/dashboards/ktb-statistic-item.mjs +21 -0
  232. package/esm2022/lib/models/departments/index.mjs +4 -0
  233. package/esm2022/lib/models/departments/ktb-department-input.mjs +9 -0
  234. package/esm2022/lib/models/departments/ktb-department.mjs +9 -0
  235. package/esm2022/lib/models/departments/ktb-departments-result.mjs +11 -0
  236. package/esm2022/lib/models/employees/index.mjs +3 -0
  237. package/esm2022/lib/models/employees/ktb-employee-filter.mjs +14 -0
  238. package/esm2022/lib/models/employees/ktb-employee.mjs +23 -0
  239. package/esm2022/lib/models/faq/index.mjs +5 -0
  240. package/esm2022/lib/models/faq/ktb-faq-category-filter.mjs +14 -0
  241. package/esm2022/lib/models/faq/ktb-faq-category.mjs +12 -0
  242. package/esm2022/lib/models/faq/ktb-faq-filter.mjs +14 -0
  243. package/esm2022/lib/models/faq/ktb-faq.mjs +12 -0
  244. package/esm2022/lib/models/favorites/index.mjs +2 -0
  245. package/esm2022/lib/models/favorites/ktb-favorite.mjs +24 -0
  246. package/esm2022/lib/models/file-download/index.mjs +2 -0
  247. package/esm2022/lib/models/file-download/ktb-file.mjs +8 -0
  248. package/esm2022/lib/models/finalApproval/index.mjs +2 -0
  249. package/esm2022/lib/models/finalApproval/ktb-final-approval.mjs +2 -0
  250. package/esm2022/lib/models/financial/index.mjs +2 -0
  251. package/esm2022/lib/models/financial/ktb-financial.mjs +113 -0
  252. package/esm2022/lib/models/gifts/index.mjs +5 -0
  253. package/esm2022/lib/models/gifts/ktb-create-gfit-input.mjs +12 -0
  254. package/esm2022/lib/models/gifts/ktb-gift-check-user-existance.mjs +9 -0
  255. package/esm2022/lib/models/gifts/ktb-gift-for-admin-filter.mjs +12 -0
  256. package/esm2022/lib/models/gifts/ktb-gift-for-admin.mjs +12 -0
  257. package/esm2022/lib/models/guilds/index.mjs +3 -0
  258. package/esm2022/lib/models/guilds/ktb-guild-filter.mjs +14 -0
  259. package/esm2022/lib/models/guilds/ktb-guilds.mjs +23 -0
  260. package/esm2022/lib/models/host-settings/index.mjs +2 -0
  261. package/esm2022/lib/models/host-settings/ktb-host-setting.mjs +45 -0
  262. package/esm2022/lib/models/index.mjs +50 -0
  263. package/esm2022/lib/models/menu-items/index.mjs +3 -0
  264. package/esm2022/lib/models/menu-items/ktb-menu.mjs +2 -0
  265. package/esm2022/lib/models/menu-items/ktb-more-menu.mjs +2 -0
  266. package/esm2022/lib/models/message/index.mjs +6 -0
  267. package/esm2022/lib/models/message/ktb-add-message-for-admin.mjs +12 -0
  268. package/esm2022/lib/models/message/ktb-message-for-admin-filter.mjs +12 -0
  269. package/esm2022/lib/models/message/ktb-message-for-admin.mjs +12 -0
  270. package/esm2022/lib/models/message/ktb-message-stats-for-admin.mjs +7 -0
  271. package/esm2022/lib/models/message/ktb-message.mjs +40 -0
  272. package/esm2022/lib/models/message-receiver/index.mjs +5 -0
  273. package/esm2022/lib/models/message-receiver/ktb-message-receiver.mjs +12 -0
  274. package/esm2022/lib/models/message-receiver/ktb-message-reciver-filter.mjs +12 -0
  275. package/esm2022/lib/models/message-receiver/ktb-message-type-stats.mjs +8 -0
  276. package/esm2022/lib/models/message-receiver/ktb-vendor-unread-message-receiver.mjs +12 -0
  277. package/esm2022/lib/models/notification/index.mjs +2 -0
  278. package/esm2022/lib/models/notification/ktb-notification.mjs +13 -0
  279. package/esm2022/lib/models/operations/index.mjs +3 -0
  280. package/esm2022/lib/models/operations/ktb-operation-filter.mjs +14 -0
  281. package/esm2022/lib/models/operations/ktb-operation.mjs +50 -0
  282. package/esm2022/lib/models/orders/index.mjs +3 -0
  283. package/esm2022/lib/models/orders/ktb-edit-supply-quantity-vendor-input.mjs +23 -0
  284. package/esm2022/lib/models/orders/ktb-orders.mjs +97 -0
  285. package/esm2022/lib/models/owners/index.mjs +5 -0
  286. package/esm2022/lib/models/owners/ktb-create-edit-owner-file.mjs +23 -0
  287. package/esm2022/lib/models/owners/ktb-create-edit-owner.mjs +25 -0
  288. package/esm2022/lib/models/owners/ktb-owner-filter.mjs +14 -0
  289. package/esm2022/lib/models/owners/ktb-owners.mjs +23 -0
  290. package/esm2022/lib/models/payments/index.mjs +2 -0
  291. package/esm2022/lib/models/payments/ktb-coupon.mjs +15 -0
  292. package/esm2022/lib/models/plans/index.mjs +3 -0
  293. package/esm2022/lib/models/plans/ktb-plan-admin.mjs +14 -0
  294. package/esm2022/lib/models/plans/ktb-plans.mjs +108 -0
  295. package/esm2022/lib/models/products/index.mjs +11 -0
  296. package/esm2022/lib/models/products/ktb-Edit-Product-by-vendor.mjs +12 -0
  297. package/esm2022/lib/models/products/ktb-create-product-input.mjs +12 -0
  298. package/esm2022/lib/models/products/ktb-export-product-filter.mjs +12 -0
  299. package/esm2022/lib/models/products/ktb-price.mjs +12 -0
  300. package/esm2022/lib/models/products/ktb-product-author.mjs +12 -0
  301. package/esm2022/lib/models/products/ktb-product-create.mjs +2 -0
  302. package/esm2022/lib/models/products/ktb-product-detail.mjs +35 -0
  303. package/esm2022/lib/models/products/ktb-product-list.mjs +23 -0
  304. package/esm2022/lib/models/products/ktb-product.mjs +34 -0
  305. package/esm2022/lib/models/products/ktb-vendor-product-for-csutomer-filter.mjs +12 -0
  306. package/esm2022/lib/models/publishers/index.mjs +4 -0
  307. package/esm2022/lib/models/publishers/ktb-publisher.mjs +13 -0
  308. package/esm2022/lib/models/publishers/ktb-publishers-filter.mjs +2 -0
  309. package/esm2022/lib/models/publishers/ktb-publishers-result.mjs +11 -0
  310. package/esm2022/lib/models/purchase/index.mjs +4 -0
  311. package/esm2022/lib/models/purchase/ktb-purchase-admin.mjs +29 -0
  312. package/esm2022/lib/models/purchase/ktb-purchase-filter.mjs +14 -0
  313. package/esm2022/lib/models/purchase/ktb-purchase.mjs +45 -0
  314. package/esm2022/lib/models/return-on-sale/index.mjs +2 -0
  315. package/esm2022/lib/models/return-on-sale/ktb-return-on-sale-with-ticket-input.mjs +12 -0
  316. package/esm2022/lib/models/search/index.mjs +5 -0
  317. package/esm2022/lib/models/search/ktb-author.mjs +20 -0
  318. package/esm2022/lib/models/search/ktb-search.mjs +2 -0
  319. package/esm2022/lib/models/search/ktb-subject-category.mjs +13 -0
  320. package/esm2022/lib/models/search/tx-custom-model.mjs +13 -0
  321. package/esm2022/lib/models/shipment/index.mjs +6 -0
  322. package/esm2022/lib/models/shipment/ktb-get-post-order-html-input.mjs +12 -0
  323. package/esm2022/lib/models/shipment/ktb-get-shop-list.mjs +22 -0
  324. package/esm2022/lib/models/shipment/ktb-login-vendor.mjs +16 -0
  325. package/esm2022/lib/models/shipment/ktb-post-order-list-html-input.mjs +12 -0
  326. package/esm2022/lib/models/shipment/ktb-ready-to-send-barcode-html-input.mjs +12 -0
  327. package/esm2022/lib/models/social-medias/index.mjs +3 -0
  328. package/esm2022/lib/models/social-medias/ktb-social-filter.mjs +14 -0
  329. package/esm2022/lib/models/social-medias/ktb-social-media.mjs +34 -0
  330. package/esm2022/lib/models/statistic-card/index.mjs +2 -0
  331. package/esm2022/lib/models/statistic-card/statistic-card.mjs +12 -0
  332. package/esm2022/lib/models/tickets/index.mjs +12 -0
  333. package/esm2022/lib/models/tickets/ktb-ticket-category.mjs +9 -0
  334. package/esm2022/lib/models/tickets/ktb-ticket-discussion-input.mjs +12 -0
  335. package/esm2022/lib/models/tickets/ktb-ticket-discussion.mjs +16 -0
  336. package/esm2022/lib/models/tickets/ktb-ticket-file-input.mjs +12 -0
  337. package/esm2022/lib/models/tickets/ktb-ticket-file.mjs +13 -0
  338. package/esm2022/lib/models/tickets/ktb-ticket-filter.ts.mjs +2 -0
  339. package/esm2022/lib/models/tickets/ktb-ticket-for-admin-filter.mjs +12 -0
  340. package/esm2022/lib/models/tickets/ktb-ticket-input.mjs +16 -0
  341. package/esm2022/lib/models/tickets/ktb-ticket-stat.mjs +12 -0
  342. package/esm2022/lib/models/tickets/ktb-ticket.mjs +37 -0
  343. package/esm2022/lib/models/tickets/ktb-tickets-result.mjs +11 -0
  344. package/esm2022/lib/models/transaction/index.mjs +3 -0
  345. package/esm2022/lib/models/transaction/ktb-transaction-details.mjs +13 -0
  346. package/esm2022/lib/models/transaction/ktb-transaction.mjs +13 -0
  347. package/esm2022/lib/models/user-families/index.mjs +3 -0
  348. package/esm2022/lib/models/user-families/ktb-user-families-filter.mjs +14 -0
  349. package/esm2022/lib/models/user-families/ktb-user-families.mjs +23 -0
  350. package/esm2022/lib/models/users/index.mjs +6 -0
  351. package/esm2022/lib/models/users/ktb-authenticate.mjs +23 -0
  352. package/esm2022/lib/models/users/ktb-user-address.mjs +18 -0
  353. package/esm2022/lib/models/users/ktb-user-bank-account.mjs +12 -0
  354. package/esm2022/lib/models/users/ktb-user-profile.mjs +12 -0
  355. package/esm2022/lib/models/users/ktb-user.mjs +27 -0
  356. package/esm2022/lib/models/users-families/index.mjs +2 -0
  357. package/esm2022/lib/models/users-families/users-families.mjs +12 -0
  358. package/esm2022/lib/models/vendor-comments/index.mjs +3 -0
  359. package/esm2022/lib/models/vendor-comments/ktb-vendor-comment-for-admin-filter.mjs +12 -0
  360. package/esm2022/lib/models/vendor-comments/ktb-vendor-comment-for-admin.mjs +12 -0
  361. package/esm2022/lib/models/vendor-files/index.mjs +3 -0
  362. package/esm2022/lib/models/vendor-files/ktb-vendor-file-filter.mjs +14 -0
  363. package/esm2022/lib/models/vendor-files/ktb-vendor-file.mjs +34 -0
  364. package/esm2022/lib/models/vendors/index.mjs +14 -0
  365. package/esm2022/lib/models/vendors/ktb-create-vendor.mjs +25 -0
  366. package/esm2022/lib/models/vendors/ktb-edit-vendor.mjs +34 -0
  367. package/esm2022/lib/models/vendors/ktb-vendor-book-relevant-filter-.mjs +12 -0
  368. package/esm2022/lib/models/vendors/ktb-vendor-comment-stats.mjs +12 -0
  369. package/esm2022/lib/models/vendors/ktb-vendor-detail.mjs +50 -0
  370. package/esm2022/lib/models/vendors/ktb-vendor-for-admin-filter.mjs +25 -0
  371. package/esm2022/lib/models/vendors/ktb-vendor-for-customer-filter.mjs +12 -0
  372. package/esm2022/lib/models/vendors/ktb-vendor-gallery.mjs +12 -0
  373. package/esm2022/lib/models/vendors/ktb-vendor-post-store.mjs +9 -0
  374. package/esm2022/lib/models/vendors/ktb-vendor-shelf.mjs +13 -0
  375. package/esm2022/lib/models/vendors/ktb-vendor-social-media.mjs +11 -0
  376. package/esm2022/lib/models/vendors/ktb-vendor-stats.mjs +10 -0
  377. package/esm2022/lib/models/vendors/ktb-vendor.mjs +78 -0
  378. package/esm2022/lib/models/vendors-images-gallery/images-gallery.mjs +12 -0
  379. package/esm2022/lib/models/vendors-images-gallery/index.mjs +2 -0
  380. package/esm2022/lib/models/violations/index.mjs +7 -0
  381. package/esm2022/lib/models/violations/ktb-add-violation-for-admin.mjs +12 -0
  382. package/esm2022/lib/models/violations/ktb-create-or-edit-violation.mjs +2 -0
  383. package/esm2022/lib/models/violations/ktb-violation-category.mjs +2 -0
  384. package/esm2022/lib/models/violations/ktb-violation-for-admin-filter.mjs +12 -0
  385. package/esm2022/lib/models/violations/ktb-violation-for-admin.mjs +12 -0
  386. package/esm2022/lib/models/violations/ktb-violation.mjs +2 -0
  387. package/fesm2022/ketab-ir-core.mjs +3833 -0
  388. package/fesm2022/ketab-ir-core.mjs.map +1 -0
  389. package/index.d.ts +1 -0
  390. package/lib/constants/index.d.ts +29 -0
  391. package/lib/constants/ktb-active-deactive.d.ts +4 -0
  392. package/lib/constants/ktb-admin-message-receiver-type.d.ts +12 -0
  393. package/lib/constants/ktb-alphabet.const.d.ts +1 -0
  394. package/lib/constants/ktb-banks.d.ts +35 -0
  395. package/lib/constants/ktb-cash-bank-status.d.ts +5 -0
  396. package/lib/constants/ktb-coupon-consumption-group.d.ts +12 -0
  397. package/lib/constants/ktb-display-show-type.d.ts +7 -0
  398. package/lib/constants/ktb-done-un-done.d.ts +4 -0
  399. package/lib/constants/ktb-faq.const.d.ts +4 -0
  400. package/lib/constants/ktb-gender-type.d.ts +5 -0
  401. package/lib/constants/ktb-order-state.d.ts +16 -0
  402. package/lib/constants/ktb-order-type.d.ts +3 -0
  403. package/lib/constants/ktb-personality-type.d.ts +4 -0
  404. package/lib/constants/ktb-plan.const.d.ts +6 -0
  405. package/lib/constants/ktb-product.const.d.ts +11 -0
  406. package/lib/constants/ktb-purchase.const.d.ts +5 -0
  407. package/lib/constants/ktb-relation-type.d.ts +8 -0
  408. package/lib/constants/ktb-return-accept-state.d.ts +9 -0
  409. package/lib/constants/ktb-salessoftware-type.d.ts +8 -0
  410. package/lib/constants/ktb-send-type.d.ts +4 -0
  411. package/lib/constants/ktb-social-media-option.const.d.ts +18 -0
  412. package/lib/constants/ktb-social-media-type.d.ts +6 -0
  413. package/lib/constants/ktb-ticket-admin-stats.d.ts +7 -0
  414. package/lib/constants/ktb-ticket-admin-user-type.d.ts +4 -0
  415. package/lib/constants/ktb-ticket-file-type.d.ts +4 -0
  416. package/lib/constants/ktb-ticket-state.d.ts +8 -0
  417. package/lib/constants/ktb-transaction.const.d.ts +10 -0
  418. package/lib/constants/ktb-user-type.d.ts +5 -0
  419. package/lib/constants/ktb-validate-password.const.d.ts +26 -0
  420. package/lib/constants/ktb-vendor-location-state.d.ts +6 -0
  421. package/lib/contracts/account/index.d.ts +1 -0
  422. package/lib/contracts/account/ktb-account.service.d.ts +15 -0
  423. package/lib/contracts/base/index.d.ts +6 -0
  424. package/lib/contracts/base/ktb-banner.service.d.ts +12 -0
  425. package/lib/contracts/base/ktb-faq.service.d.ts +7 -0
  426. package/lib/contracts/base/ktb-loading.service.d.ts +7 -0
  427. package/lib/contracts/base/ktb-plan.service.d.ts +30 -0
  428. package/lib/contracts/base/ktb-user-guid.service.d.ts +8 -0
  429. package/lib/contracts/base/ktb-users-families.service.d.ts +6 -0
  430. package/lib/contracts/baskets/index.d.ts +2 -0
  431. package/lib/contracts/baskets/ktb-basket.service.d.ts +42 -0
  432. package/lib/contracts/baskets/ktb-inperson-basket.service.d.ts +39 -0
  433. package/lib/contracts/book-comments/index.d.ts +1 -0
  434. package/lib/contracts/book-comments/ktb-admin-book-comment.service.d.ts +6 -0
  435. package/lib/contracts/cash-backs/index.d.ts +2 -0
  436. package/lib/contracts/cash-backs/ktb-admin-cash-back.service.d.ts +10 -0
  437. package/lib/contracts/cash-backs/ktb-cash-back.service.d.ts +4 -0
  438. package/lib/contracts/collections/index.d.ts +1 -0
  439. package/lib/contracts/collections/ktb-collection.service.d.ts +10 -0
  440. package/lib/contracts/comments/index.d.ts +1 -0
  441. package/lib/contracts/comments/ktb-comment.service.d.ts +11 -0
  442. package/lib/contracts/dashboards/index.d.ts +1 -0
  443. package/lib/contracts/dashboards/ktb-dashboard-admin.service.d.ts +52 -0
  444. package/lib/contracts/departments/index.d.ts +1 -0
  445. package/lib/contracts/departments/ktb-departments.service.d.ts +5 -0
  446. package/lib/contracts/employee/index.d.ts +1 -0
  447. package/lib/contracts/employee/ktb-employee.service.d.ts +12 -0
  448. package/lib/contracts/favorites/index.d.ts +1 -0
  449. package/lib/contracts/favorites/ktb-favorites.service.d.ts +11 -0
  450. package/lib/contracts/file-downlaod/index.d.ts +1 -0
  451. package/lib/contracts/file-downlaod/ktb-file-download.service.d.ts +4 -0
  452. package/lib/contracts/financial/index.d.ts +1 -0
  453. package/lib/contracts/financial/ktb-financial.service.d.ts +17 -0
  454. package/lib/contracts/gift/index.d.ts +2 -0
  455. package/lib/contracts/gift/ktb-admin-gift.service.d.ts +5 -0
  456. package/lib/contracts/gift/ktb-gift.service.d.ts +6 -0
  457. package/lib/contracts/guilds/index.d.ts +1 -0
  458. package/lib/contracts/guilds/ktb-guild.service.d.ts +8 -0
  459. package/lib/contracts/host-settings/index.d.ts +1 -0
  460. package/lib/contracts/host-settings/ktb-host-setting.service.d.ts +5 -0
  461. package/lib/contracts/icrud-base-service.d.ts +14 -0
  462. package/lib/contracts/index.d.ts +41 -0
  463. package/lib/contracts/inventories/index.d.ts +2 -0
  464. package/lib/contracts/inventories/ktb-inventory.service.d.ts +6 -0
  465. package/lib/contracts/inventories/ktb-withdrawal-service.d.ts +6 -0
  466. package/lib/contracts/message/index.d.ts +2 -0
  467. package/lib/contracts/message/ktb-admin-message.service.d.ts +8 -0
  468. package/lib/contracts/message/ktb-message.service.d.ts +10 -0
  469. package/lib/contracts/message-receiver/index.d.ts +1 -0
  470. package/lib/contracts/message-receiver/ktb-message-receiver.service.d.ts +11 -0
  471. package/lib/contracts/notification/index.d.ts +1 -0
  472. package/lib/contracts/notification/ktb-notification-service.d.ts +6 -0
  473. package/lib/contracts/orders/index.d.ts +1 -0
  474. package/lib/contracts/orders/ktb-order.service.d.ts +29 -0
  475. package/lib/contracts/owners/index.d.ts +1 -0
  476. package/lib/contracts/owners/ktb-owner.service.d.ts +11 -0
  477. package/lib/contracts/payments/index.d.ts +2 -0
  478. package/lib/contracts/payments/ktb-admin-coupon.service.d.ts +16 -0
  479. package/lib/contracts/payments/ktb-coupon.service.d.ts +11 -0
  480. package/lib/contracts/plans/index.d.ts +1 -0
  481. package/lib/contracts/plans/ktb-admin-plan.service.d.ts +26 -0
  482. package/lib/contracts/products/index.d.ts +1 -0
  483. package/lib/contracts/products/ktb-product.service.d.ts +41 -0
  484. package/lib/contracts/province/index.d.ts +1 -0
  485. package/lib/contracts/province/ktb-province.service.d.ts +8 -0
  486. package/lib/contracts/publishers/index.d.ts +1 -0
  487. package/lib/contracts/publishers/ktb-publisher.service.d.ts +5 -0
  488. package/lib/contracts/purchase/index.d.ts +1 -0
  489. package/lib/contracts/purchase/ktb-purchase-service.d.ts +20 -0
  490. package/lib/contracts/return-on-sales/index.d.ts +1 -0
  491. package/lib/contracts/return-on-sales/ktb-return-on-sale.service.d.ts +5 -0
  492. package/lib/contracts/search/index.d.ts +3 -0
  493. package/lib/contracts/search/ktb-author.service.d.ts +5 -0
  494. package/lib/contracts/search/ktb-category.service.d.ts +7 -0
  495. package/lib/contracts/search/ktb-search.service.d.ts +11 -0
  496. package/lib/contracts/shipments/index.d.ts +1 -0
  497. package/lib/contracts/shipments/ktb-shipment.service.d.ts +13 -0
  498. package/lib/contracts/social-media/index.d.ts +1 -0
  499. package/lib/contracts/social-media/ktb-social-media.service.d.ts +11 -0
  500. package/lib/contracts/tickets/index.d.ts +2 -0
  501. package/lib/contracts/tickets/ktb-admin-ticket.service.d.ts +10 -0
  502. package/lib/contracts/tickets/ktb-tickets.service.d.ts +16 -0
  503. package/lib/contracts/transaction/index.d.ts +1 -0
  504. package/lib/contracts/transaction/ktb-transaction-service.d.ts +11 -0
  505. package/lib/contracts/users/index.d.ts +5 -0
  506. package/lib/contracts/users/ktb-token.service.d.ts +10 -0
  507. package/lib/contracts/users/ktb-user-address.service.d.ts +18 -0
  508. package/lib/contracts/users/ktb-user-profile.service.d.ts +13 -0
  509. package/lib/contracts/users/ktb-user.service.d.ts +25 -0
  510. package/lib/contracts/vaiolations/index.d.ts +2 -0
  511. package/lib/contracts/vaiolations/ktb-admin-violation.service.d.ts +7 -0
  512. package/lib/contracts/vaiolations/ktb-violation.service.d.ts +6 -0
  513. package/lib/contracts/vendor-comments/index.d.ts +1 -0
  514. package/lib/contracts/vendor-comments/ktb-admin-vendor-comment.service.d.ts +6 -0
  515. package/lib/contracts/vendor-file/index.d.ts +1 -0
  516. package/lib/contracts/vendor-file/ktb-vendor-file.service.d.ts +12 -0
  517. package/lib/contracts/vendor-statistic/index.d.ts +1 -0
  518. package/lib/contracts/vendor-statistic/ktb-vendor-statistic.service.d.ts +11 -0
  519. package/lib/contracts/vendors/index.d.ts +2 -0
  520. package/lib/contracts/vendors/ktb-admin-vendor.service.d.ts +18 -0
  521. package/lib/contracts/vendors/ktb-vendor.service.d.ts +40 -0
  522. package/lib/enums/index.d.ts +32 -0
  523. package/lib/enums/ktb-acceptance-type.d.ts +7 -0
  524. package/lib/enums/ktb-banner-image-type.d.ts +4 -0
  525. package/lib/enums/ktb-banner.enum.d.ts +11 -0
  526. package/lib/enums/ktb-cart-type.enum.d.ts +4 -0
  527. package/lib/enums/ktb-cash-back-steps.d.ts +5 -0
  528. package/lib/enums/ktb-coupon.enum.d.ts +6 -0
  529. package/lib/enums/ktb-employee-type.enum.d.ts +5 -0
  530. package/lib/enums/ktb-file-status.enum.d.ts +7 -0
  531. package/lib/enums/ktb-file-type.enum.d.ts +9 -0
  532. package/lib/enums/ktb-financial-account-type.enum.d.ts +5 -0
  533. package/lib/enums/ktb-icons.enum.d.ts +31 -0
  534. package/lib/enums/ktb-location-state.d.ts +6 -0
  535. package/lib/enums/ktb-notification.enum.d.ts +6 -0
  536. package/lib/enums/ktb-operation-type.enum.d.ts +9 -0
  537. package/lib/enums/ktb-opt-send-type.enum.d.ts +5 -0
  538. package/lib/enums/ktb-order-item-status.enum.d.ts +63 -0
  539. package/lib/enums/ktb-payment-message-type.enum.d.ts +4 -0
  540. package/lib/enums/ktb-payment-type.enum.d.ts +6 -0
  541. package/lib/enums/ktb-plan-vendor.enum.d.ts +23 -0
  542. package/lib/enums/ktb-product-type.enum.d.ts +8 -0
  543. package/lib/enums/ktb-relation-type.enum.d.ts +8 -0
  544. package/lib/enums/ktb-shops-tabs.enum.d.ts +4 -0
  545. package/lib/enums/ktb-social-media-status.enum.d.ts +7 -0
  546. package/lib/enums/ktb-social-type.enum.d.ts +6 -0
  547. package/lib/enums/ktb-software-info.d.ts +8 -0
  548. package/lib/enums/ktb-software-type.enum.d.ts +8 -0
  549. package/lib/enums/ktb-ticket-categories.enum.d.ts +12 -0
  550. package/lib/enums/ktb-transaction-type.enum.d.ts +4 -0
  551. package/lib/enums/ktb-transaction.enum.d.ts +19 -0
  552. package/lib/enums/ktb-upload-user-type.enum.d.ts +4 -0
  553. package/lib/enums/ktb-validate-password.enum.d.ts +7 -0
  554. package/lib/enums/ktb-vendor-type.enum.d.ts +6 -0
  555. package/lib/index.d.ts +4 -0
  556. package/lib/models/account/index.d.ts +11 -0
  557. package/lib/models/account/ktb-GBit-validation-input.d.ts +11 -0
  558. package/lib/models/account/ktb-change-password-input.d.ts +13 -0
  559. package/lib/models/account/ktb-check-user-exist-input.d.ts +22 -0
  560. package/lib/models/account/ktb-check-validation-code-input.d.ts +11 -0
  561. package/lib/models/account/ktb-inperson-register-input.d.ts +15 -0
  562. package/lib/models/account/ktb-login.d.ts +15 -0
  563. package/lib/models/account/ktb-register-input.d.ts +40 -0
  564. package/lib/models/account/ktb-register.d.ts +15 -0
  565. package/lib/models/account/ktb-reset-password-input.d.ts +13 -0
  566. package/lib/models/account/ktb-send-validation-code.d.ts +9 -0
  567. package/lib/models/account/ktb-user-validatio.d.ts +33 -0
  568. package/lib/models/base/index.d.ts +6 -0
  569. package/lib/models/base/ktb-banner.d.ts +65 -0
  570. package/lib/models/base/ktb-config.d.ts +12 -0
  571. package/lib/models/base/ktb-lookup.d.ts +9 -0
  572. package/lib/models/base/ktb-page-result.d.ts +9 -0
  573. package/lib/models/base/ktb-paged-result-input.d.ts +11 -0
  574. package/lib/models/base/ktb-saleplan.d.ts +168 -0
  575. package/lib/models/baskets/checkout-result.d.ts +24 -0
  576. package/lib/models/baskets/index.d.ts +7 -0
  577. package/lib/models/baskets/ktb-basket-detail.d.ts +17 -0
  578. package/lib/models/baskets/ktb-basket-item.d.ts +39 -0
  579. package/lib/models/baskets/ktb-basket.d.ts +102 -0
  580. package/lib/models/baskets/ktb-discount.d.ts +9 -0
  581. package/lib/models/baskets/ktb-get-customer-info.d.ts +17 -0
  582. package/lib/models/baskets/ktb-postamount-output.d.ts +11 -0
  583. package/lib/models/book-comments/index.d.ts +2 -0
  584. package/lib/models/book-comments/ktb-book-comment-for-admin-filter.d.ts +19 -0
  585. package/lib/models/book-comments/ktb-book-comment-for-admin.d.ts +24 -0
  586. package/lib/models/cash-banck/index.d.ts +3 -0
  587. package/lib/models/cash-banck/ktb-cash-back-change-status.d.ts +13 -0
  588. package/lib/models/cash-banck/ktb-cash-back-for-admin-filter.d.ts +21 -0
  589. package/lib/models/cash-banck/ktb-cash-back-for-admin.d.ts +30 -0
  590. package/lib/models/chart/index.d.ts +1 -0
  591. package/lib/models/chart/ktb-chart.d.ts +5 -0
  592. package/lib/models/cities/index.d.ts +4 -0
  593. package/lib/models/cities/ktb-Province-filter.d.ts +7 -0
  594. package/lib/models/cities/ktb-Province.d.ts +11 -0
  595. package/lib/models/cities/ktb-city-filter.d.ts +9 -0
  596. package/lib/models/cities/ktb-city.d.ts +21 -0
  597. package/lib/models/collections/index.d.ts +3 -0
  598. package/lib/models/collections/ktb-collection-detail.d.ts +33 -0
  599. package/lib/models/collections/ktb-collection-filter.d.ts +11 -0
  600. package/lib/models/collections/ktb-collection.d.ts +35 -0
  601. package/lib/models/comments/index.d.ts +3 -0
  602. package/lib/models/comments/ktb-comment.d.ts +54 -0
  603. package/lib/models/comments/ktb-create-vendor-comment.d.ts +15 -0
  604. package/lib/models/comments/ktb-customer-comment-filter.d.ts +18 -0
  605. package/lib/models/coupon/index.d.ts +8 -0
  606. package/lib/models/coupon/ktb-add-coupon-for-admin.d.ts +22 -0
  607. package/lib/models/coupon/ktb-add-voucher-for-admin.d.ts +15 -0
  608. package/lib/models/coupon/ktb-coupon-for-admin-filter.d.ts +30 -0
  609. package/lib/models/coupon/ktb-coupon-for-admin.d.ts +27 -0
  610. package/lib/models/coupon/ktb-creadit-stats-for-admin.d.ts +9 -0
  611. package/lib/models/coupon/ktb-gift.d.ts +19 -0
  612. package/lib/models/coupon/ktb-voucher-for-admin.d.ts +23 -0
  613. package/lib/models/coupon/ktb-vouchers-filter.d.ts +8 -0
  614. package/lib/models/customer-invoice/index.d.ts +1 -0
  615. package/lib/models/customer-invoice/ktb-customer-invoice.d.ts +15 -0
  616. package/lib/models/dashboards/index.d.ts +1 -0
  617. package/lib/models/dashboards/ktb-statistic-item.d.ts +27 -0
  618. package/lib/models/departments/index.d.ts +3 -0
  619. package/lib/models/departments/ktb-department-input.d.ts +9 -0
  620. package/lib/models/departments/ktb-department.d.ts +9 -0
  621. package/lib/models/departments/ktb-departments-result.d.ts +8 -0
  622. package/lib/models/employees/index.d.ts +2 -0
  623. package/lib/models/employees/ktb-employee-filter.d.ts +14 -0
  624. package/lib/models/employees/ktb-employee.d.ts +88 -0
  625. package/lib/models/faq/index.d.ts +4 -0
  626. package/lib/models/faq/ktb-faq-category-filter.d.ts +8 -0
  627. package/lib/models/faq/ktb-faq-category.d.ts +11 -0
  628. package/lib/models/faq/ktb-faq-filter.d.ts +12 -0
  629. package/lib/models/faq/ktb-faq.d.ts +17 -0
  630. package/lib/models/favorites/index.d.ts +1 -0
  631. package/lib/models/favorites/ktb-favorite.d.ts +29 -0
  632. package/lib/models/file-download/index.d.ts +1 -0
  633. package/lib/models/file-download/ktb-file.d.ts +11 -0
  634. package/lib/models/finalApproval/index.d.ts +1 -0
  635. package/lib/models/finalApproval/ktb-final-approval.d.ts +9 -0
  636. package/lib/models/financial/index.d.ts +1 -0
  637. package/lib/models/financial/ktb-financial.d.ts +248 -0
  638. package/lib/models/gifts/index.d.ts +4 -0
  639. package/lib/models/gifts/ktb-create-gfit-input.d.ts +17 -0
  640. package/lib/models/gifts/ktb-gift-check-user-existance.d.ts +9 -0
  641. package/lib/models/gifts/ktb-gift-for-admin-filter.d.ts +23 -0
  642. package/lib/models/gifts/ktb-gift-for-admin.d.ts +25 -0
  643. package/lib/models/guilds/index.d.ts +2 -0
  644. package/lib/models/guilds/ktb-guild-filter.d.ts +8 -0
  645. package/lib/models/guilds/ktb-guilds.d.ts +22 -0
  646. package/lib/models/host-settings/index.d.ts +1 -0
  647. package/lib/models/host-settings/ktb-host-setting.d.ts +60 -0
  648. package/lib/models/index.d.ts +49 -0
  649. package/lib/models/menu-items/index.d.ts +2 -0
  650. package/lib/models/menu-items/ktb-menu.d.ts +17 -0
  651. package/lib/models/menu-items/ktb-more-menu.d.ts +5 -0
  652. package/lib/models/message/index.d.ts +5 -0
  653. package/lib/models/message/ktb-add-message-for-admin.d.ts +21 -0
  654. package/lib/models/message/ktb-message-for-admin-filter.d.ts +11 -0
  655. package/lib/models/message/ktb-message-for-admin.d.ts +13 -0
  656. package/lib/models/message/ktb-message-stats-for-admin.d.ts +9 -0
  657. package/lib/models/message/ktb-message.d.ts +45 -0
  658. package/lib/models/message-receiver/index.d.ts +4 -0
  659. package/lib/models/message-receiver/ktb-message-receiver.d.ts +26 -0
  660. package/lib/models/message-receiver/ktb-message-reciver-filter.d.ts +30 -0
  661. package/lib/models/message-receiver/ktb-message-type-stats.d.ts +18 -0
  662. package/lib/models/message-receiver/ktb-vendor-unread-message-receiver.d.ts +24 -0
  663. package/lib/models/notification/index.d.ts +1 -0
  664. package/lib/models/notification/ktb-notification.d.ts +20 -0
  665. package/lib/models/operations/index.d.ts +2 -0
  666. package/lib/models/operations/ktb-operation-filter.d.ts +10 -0
  667. package/lib/models/operations/ktb-operation.d.ts +109 -0
  668. package/lib/models/orders/index.d.ts +2 -0
  669. package/lib/models/orders/ktb-edit-supply-quantity-vendor-input.d.ts +20 -0
  670. package/lib/models/orders/ktb-orders.d.ts +287 -0
  671. package/lib/models/owners/index.d.ts +4 -0
  672. package/lib/models/owners/ktb-create-edit-owner-file.d.ts +28 -0
  673. package/lib/models/owners/ktb-create-edit-owner.d.ts +75 -0
  674. package/lib/models/owners/ktb-owner-filter.d.ts +10 -0
  675. package/lib/models/owners/ktb-owners.d.ts +56 -0
  676. package/lib/models/payments/index.d.ts +1 -0
  677. package/lib/models/payments/ktb-coupon.d.ts +32 -0
  678. package/lib/models/plans/index.d.ts +2 -0
  679. package/lib/models/plans/ktb-plan-admin.d.ts +43 -0
  680. package/lib/models/plans/ktb-plans.d.ts +254 -0
  681. package/lib/models/products/index.d.ts +10 -0
  682. package/lib/models/products/ktb-Edit-Product-by-vendor.d.ts +15 -0
  683. package/lib/models/products/ktb-create-product-input.d.ts +21 -0
  684. package/lib/models/products/ktb-export-product-filter.d.ts +25 -0
  685. package/lib/models/products/ktb-price.d.ts +15 -0
  686. package/lib/models/products/ktb-product-author.d.ts +15 -0
  687. package/lib/models/products/ktb-product-create.d.ts +8 -0
  688. package/lib/models/products/ktb-product-detail.d.ts +103 -0
  689. package/lib/models/products/ktb-product-list.d.ts +109 -0
  690. package/lib/models/products/ktb-product.d.ts +122 -0
  691. package/lib/models/products/ktb-vendor-product-for-csutomer-filter.d.ts +36 -0
  692. package/lib/models/publishers/index.d.ts +3 -0
  693. package/lib/models/publishers/ktb-publisher.d.ts +29 -0
  694. package/lib/models/publishers/ktb-publishers-filter.d.ts +8 -0
  695. package/lib/models/publishers/ktb-publishers-result.d.ts +8 -0
  696. package/lib/models/purchase/index.d.ts +3 -0
  697. package/lib/models/purchase/ktb-purchase-admin.d.ts +145 -0
  698. package/lib/models/purchase/ktb-purchase-filter.d.ts +31 -0
  699. package/lib/models/purchase/ktb-purchase.d.ts +125 -0
  700. package/lib/models/return-on-sale/index.d.ts +1 -0
  701. package/lib/models/return-on-sale/ktb-return-on-sale-with-ticket-input.d.ts +21 -0
  702. package/lib/models/search/index.d.ts +4 -0
  703. package/lib/models/search/ktb-author.d.ts +39 -0
  704. package/lib/models/search/ktb-search.d.ts +118 -0
  705. package/lib/models/search/ktb-subject-category.d.ts +18 -0
  706. package/lib/models/search/tx-custom-model.d.ts +111 -0
  707. package/lib/models/shipment/index.d.ts +5 -0
  708. package/lib/models/shipment/ktb-get-post-order-html-input.d.ts +13 -0
  709. package/lib/models/shipment/ktb-get-shop-list.d.ts +29 -0
  710. package/lib/models/shipment/ktb-login-vendor.d.ts +20 -0
  711. package/lib/models/shipment/ktb-post-order-list-html-input.d.ts +17 -0
  712. package/lib/models/shipment/ktb-ready-to-send-barcode-html-input.d.ts +15 -0
  713. package/lib/models/social-medias/index.d.ts +2 -0
  714. package/lib/models/social-medias/ktb-social-filter.d.ts +10 -0
  715. package/lib/models/social-medias/ktb-social-media.d.ts +46 -0
  716. package/lib/models/statistic-card/index.d.ts +1 -0
  717. package/lib/models/statistic-card/statistic-card.d.ts +11 -0
  718. package/lib/models/tickets/index.d.ts +11 -0
  719. package/lib/models/tickets/ktb-ticket-category.d.ts +9 -0
  720. package/lib/models/tickets/ktb-ticket-discussion-input.d.ts +16 -0
  721. package/lib/models/tickets/ktb-ticket-discussion.d.ts +25 -0
  722. package/lib/models/tickets/ktb-ticket-file-input.d.ts +16 -0
  723. package/lib/models/tickets/ktb-ticket-file.d.ts +18 -0
  724. package/lib/models/tickets/ktb-ticket-filter.ts.d.ts +8 -0
  725. package/lib/models/tickets/ktb-ticket-for-admin-filter.d.ts +35 -0
  726. package/lib/models/tickets/ktb-ticket-input.d.ts +26 -0
  727. package/lib/models/tickets/ktb-ticket-stat.d.ts +13 -0
  728. package/lib/models/tickets/ktb-ticket.d.ts +127 -0
  729. package/lib/models/tickets/ktb-tickets-result.d.ts +8 -0
  730. package/lib/models/transaction/index.d.ts +2 -0
  731. package/lib/models/transaction/ktb-transaction-details.d.ts +21 -0
  732. package/lib/models/transaction/ktb-transaction.d.ts +36 -0
  733. package/lib/models/user-families/index.d.ts +2 -0
  734. package/lib/models/user-families/ktb-user-families-filter.d.ts +8 -0
  735. package/lib/models/user-families/ktb-user-families.d.ts +49 -0
  736. package/lib/models/users/index.d.ts +5 -0
  737. package/lib/models/users/ktb-authenticate.d.ts +41 -0
  738. package/lib/models/users/ktb-user-address.d.ts +27 -0
  739. package/lib/models/users/ktb-user-bank-account.d.ts +21 -0
  740. package/lib/models/users/ktb-user-profile.d.ts +31 -0
  741. package/lib/models/users/ktb-user.d.ts +38 -0
  742. package/lib/models/users-families/index.d.ts +1 -0
  743. package/lib/models/users-families/users-families.d.ts +37 -0
  744. package/lib/models/vendor-comments/index.d.ts +2 -0
  745. package/lib/models/vendor-comments/ktb-vendor-comment-for-admin-filter.d.ts +19 -0
  746. package/lib/models/vendor-comments/ktb-vendor-comment-for-admin.d.ts +24 -0
  747. package/lib/models/vendor-files/index.d.ts +2 -0
  748. package/lib/models/vendor-files/ktb-vendor-file-filter.d.ts +12 -0
  749. package/lib/models/vendor-files/ktb-vendor-file.d.ts +58 -0
  750. package/lib/models/vendors/index.d.ts +13 -0
  751. package/lib/models/vendors/ktb-create-vendor.d.ts +83 -0
  752. package/lib/models/vendors/ktb-edit-vendor.d.ts +105 -0
  753. package/lib/models/vendors/ktb-vendor-book-relevant-filter-.d.ts +26 -0
  754. package/lib/models/vendors/ktb-vendor-comment-stats.d.ts +11 -0
  755. package/lib/models/vendors/ktb-vendor-detail.d.ts +111 -0
  756. package/lib/models/vendors/ktb-vendor-for-admin-filter.d.ts +51 -0
  757. package/lib/models/vendors/ktb-vendor-for-customer-filter.d.ts +13 -0
  758. package/lib/models/vendors/ktb-vendor-gallery.d.ts +15 -0
  759. package/lib/models/vendors/ktb-vendor-post-store.d.ts +13 -0
  760. package/lib/models/vendors/ktb-vendor-shelf.d.ts +16 -0
  761. package/lib/models/vendors/ktb-vendor-social-media.d.ts +12 -0
  762. package/lib/models/vendors/ktb-vendor-stats.d.ts +11 -0
  763. package/lib/models/vendors/ktb-vendor.d.ts +279 -0
  764. package/lib/models/vendors-images-gallery/images-gallery.d.ts +40 -0
  765. package/lib/models/vendors-images-gallery/index.d.ts +1 -0
  766. package/lib/models/violations/index.d.ts +6 -0
  767. package/lib/models/violations/ktb-add-violation-for-admin.d.ts +25 -0
  768. package/lib/models/violations/ktb-create-or-edit-violation.d.ts +12 -0
  769. package/lib/models/violations/ktb-violation-category.d.ts +4 -0
  770. package/lib/models/violations/ktb-violation-for-admin-filter.d.ts +20 -0
  771. package/lib/models/violations/ktb-violation-for-admin.d.ts +27 -0
  772. package/lib/models/violations/ktb-violation.d.ts +7 -0
  773. package/package.json +25 -0
@@ -0,0 +1,3833 @@
1
+ import { BehaviorSubject, of } from 'rxjs';
2
+
3
+ class KtbComment {
4
+ constructor(data) {
5
+ this.likeCount = 0;
6
+ this.dislikeCount = 0;
7
+ this.isLiked = false;
8
+ this.isDisliked = false;
9
+ this.replay = [];
10
+ if (data) {
11
+ this.id = data.id;
12
+ this.title = data.title;
13
+ this.comment = data.comment;
14
+ this.userId = data.userId;
15
+ this.vendorId = data.vendorId;
16
+ this.bookId = data.bookId;
17
+ this.likeCount = data.likeCount ?? 0;
18
+ this.dislikeCount = data.dislikeCount ?? 0;
19
+ this.isLiked = data.isLiked;
20
+ this.isDisliked = data.isDisliked;
21
+ this.rating = data.rating;
22
+ this.replay = data.replay;
23
+ this.parentId = data.parentId;
24
+ this.creationTime = data.creationTime;
25
+ this.vendorTitle = data.vendorTitle ?? '';
26
+ this.bookImageAddress = data.bookImageAddress ?? '';
27
+ this.bookTitle = data.bookTitle;
28
+ this.publisherTitle = data.publisherTitle;
29
+ this.hasPurchase = data.hasPurchase ?? false;
30
+ this.authors = data.authors;
31
+ if (data.authors) {
32
+ this.authorTitle = data.authors.map(r => r.firsName + ' ' + r.lastName).join(', ');
33
+ }
34
+ }
35
+ }
36
+ }
37
+
38
+ class KtbCustomerCommentFilter {
39
+ constructor(data) {
40
+ this.pageNumber = 1;
41
+ this.pageSize = 4;
42
+ if (data) {
43
+ for (const property in data) {
44
+ // eslint-disable-next-line no-prototype-builtins
45
+ if (data.hasOwnProperty(property))
46
+ this[property] = data[property];
47
+ }
48
+ }
49
+ }
50
+ }
51
+
52
+ class KtbCreateVendorCommentInput {
53
+ constructor(data) {
54
+ if (data) {
55
+ for (const property in data) {
56
+ // eslint-disable-next-line no-prototype-builtins
57
+ if (data.hasOwnProperty(property))
58
+ this[property] = data[property];
59
+ }
60
+ }
61
+ }
62
+ }
63
+
64
+ class KtbProduct {
65
+ constructor(product) {
66
+ if (product) {
67
+ this.id = product.id;
68
+ this.title = product.title;
69
+ this.description = product.description;
70
+ this.imageAddress = product.imageAddress;
71
+ this.link = product.link;
72
+ this.isbn = product.isbn;
73
+ this.rating = product.rating;
74
+ this.bookId = product.bookId;
75
+ this.comments = product.comments;
76
+ this.publisherTitle = product.publisherTitle;
77
+ this.price = product.price;
78
+ this.isLiked = product.isLiked;
79
+ this.authors = product.authors;
80
+ if (this.authors && this.authors?.length > 0) {
81
+ this.authorsTitle = this.authors.map(r => r.firsName + ' ' + r.lastName).join(', ');
82
+ }
83
+ else {
84
+ this.authorsTitle = '----';
85
+ }
86
+ }
87
+ }
88
+ }
89
+ class KtbCatalogSellersAggregateDto {
90
+ constructor(data) {
91
+ this.catalogId = data.catalogId;
92
+ this.totalVendors = data.totalVendors;
93
+ this.minPrice = data.minPrice;
94
+ this.coreId = data.coreId;
95
+ }
96
+ }
97
+
98
+ //Todo:Hassan it needs to be reconsider
99
+ class KtbProductDetail {
100
+ constructor(data) {
101
+ if (data) {
102
+ this.bookId = data.bookId;
103
+ this.bookSpecifications = data.bookSpecifications;
104
+ this.imageAddress = data.imageAddress;
105
+ this.totalComments = data.totalComments;
106
+ this.totalRates = data.totalRates;
107
+ this.avgRate = data.avgRate;
108
+ this.favorite = data.favorite;
109
+ this.title = data.title;
110
+ this.authors = data.authors;
111
+ this.publisherName = data.publisherName;
112
+ this.sampleLink = data.sampleLink;
113
+ this.description = data.description;
114
+ this.minimumPrice = data.minimumPrice;
115
+ this.inventory = data.inventory;
116
+ this.forYou = data.forYou;
117
+ // this.boughtByOthers = [];
118
+ this.bookHouseId = data.bookHouseId;
119
+ this.vendorCount = data.vendorCount;
120
+ this.isInBasket = data.isInBasket ?? false;
121
+ }
122
+ }
123
+ }
124
+ class KtbBook {
125
+ constructor(data) {
126
+ this.imageAddress = data?.imageAddress ?? '';
127
+ this.bookId = data?.bookId ?? 0;
128
+ this.title = data?.title ?? '';
129
+ this.authors = data?.authors;
130
+ }
131
+ }
132
+
133
+ class KtbProductListDto {
134
+ constructor(data) {
135
+ if (data) {
136
+ for (const property in data) {
137
+ // eslint-disable-next-line no-prototype-builtins
138
+ if (data.hasOwnProperty(property))
139
+ this[property] = data[property];
140
+ }
141
+ }
142
+ }
143
+ }
144
+ class KtbProductPackage {
145
+ constructor(data) {
146
+ if (data) {
147
+ for (const property in data) {
148
+ // eslint-disable-next-line no-prototype-builtins
149
+ if (data.hasOwnProperty(property))
150
+ this[property] = data[property];
151
+ }
152
+ }
153
+ }
154
+ }
155
+
156
+ class KtbProductAuthor {
157
+ constructor(data) {
158
+ if (data) {
159
+ for (const property in data) {
160
+ // eslint-disable-next-line no-prototype-builtins
161
+ if (data.hasOwnProperty(property))
162
+ this[property] = data[property];
163
+ }
164
+ }
165
+ }
166
+ }
167
+
168
+ class KtbEditProductByVendor {
169
+ constructor(data) {
170
+ if (data) {
171
+ for (const property in data) {
172
+ // eslint-disable-next-line no-prototype-builtins
173
+ if (data.hasOwnProperty(property))
174
+ this[property] = data[property];
175
+ }
176
+ }
177
+ }
178
+ }
179
+
180
+ class KtbCreateProductInput {
181
+ constructor(data) {
182
+ if (data) {
183
+ for (const property in data) {
184
+ // eslint-disable-next-line no-prototype-builtins
185
+ if (data.hasOwnProperty(property))
186
+ this[property] = data[property];
187
+ }
188
+ }
189
+ }
190
+ }
191
+
192
+ class KtbExportProductFilter {
193
+ constructor(data) {
194
+ if (data) {
195
+ for (const property in data) {
196
+ // eslint-disable-next-line no-prototype-builtins
197
+ if (data.hasOwnProperty(property))
198
+ this[property] = data[property];
199
+ }
200
+ }
201
+ }
202
+ }
203
+
204
+ class KtbPrice {
205
+ constructor(data) {
206
+ if (data) {
207
+ for (const property in data) {
208
+ // eslint-disable-next-line no-prototype-builtins
209
+ if (data.hasOwnProperty(property))
210
+ this[property] = data[property];
211
+ }
212
+ }
213
+ }
214
+ }
215
+
216
+ class KtbVendorProductForCustomerFilter {
217
+ constructor(data) {
218
+ if (data) {
219
+ for (const property in data) {
220
+ // eslint-disable-next-line no-prototype-builtins
221
+ if (data.hasOwnProperty(property))
222
+ this[property] = data[property];
223
+ }
224
+ }
225
+ }
226
+ }
227
+
228
+ var Gender;
229
+ (function (Gender) {
230
+ Gender[Gender["Male"] = 1] = "Male";
231
+ Gender[Gender["Female"] = 2] = "Female";
232
+ Gender[Gender["Unknown"] = 3] = "Unknown";
233
+ })(Gender || (Gender = {}));
234
+ class KtbUser {
235
+ constructor(user) {
236
+ this.id = user.id;
237
+ this.name = user.name;
238
+ this.family = user.family;
239
+ this.phoneNumber = user.phoneNumber;
240
+ this.mobile = user.mobile;
241
+ this.nationalCode = user.nationalCode;
242
+ this.profileImage = user.profileImage;
243
+ this.email = user.email;
244
+ this.birthDate = user.birthDate;
245
+ this.cardNumber = user.cardNumber;
246
+ this.gender = user.gender;
247
+ this.relation = user.relation;
248
+ this.birthDateAsDate = new Date(user.birthDate);
249
+ }
250
+ get fullName() {
251
+ return this.name + ' ' + this.family;
252
+ }
253
+ }
254
+
255
+ class UserAddress {
256
+ constructor(data) {
257
+ if (data) {
258
+ this.id = data.id;
259
+ this.title = data.title;
260
+ this.address = data.address;
261
+ this.cityId = data.cityId;
262
+ this.cityTitle = data.cityTitle;
263
+ this.provinceId = data.provinceId;
264
+ this.provinceTitle = data.provinceTitle;
265
+ this.postalCode = data.postalCode;
266
+ this.description = data.description;
267
+ this.default = data.default;
268
+ this.userId = data.userId;
269
+ }
270
+ }
271
+ }
272
+
273
+ class KtbAuthenticateInput {
274
+ constructor(data) {
275
+ if (data) {
276
+ this.username = data.username;
277
+ this.password = data.password;
278
+ this.userType = data.userType;
279
+ this.returnUrl = data.returnUrl;
280
+ this.requestToken = data.requestToken;
281
+ }
282
+ }
283
+ }
284
+ class KtbAuhenticateOutput {
285
+ constructor(data) {
286
+ if (data) {
287
+ for (const property in data) {
288
+ if (Object.prototype.hasOwnProperty.call(data, property)) {
289
+ this[property] = data[property];
290
+ }
291
+ }
292
+ }
293
+ }
294
+ }
295
+
296
+ class KtbUserProfile {
297
+ constructor(data) {
298
+ if (data) {
299
+ for (const property in data) {
300
+ if (Object.prototype.hasOwnProperty.call(data, property)) {
301
+ this[property] = data[property];
302
+ }
303
+ }
304
+ }
305
+ }
306
+ }
307
+
308
+ class KtbUserBankAccount {
309
+ constructor(data) {
310
+ if (data) {
311
+ for (const property in data) {
312
+ if (Object.prototype.hasOwnProperty.call(data, property)) {
313
+ this[property] = data[property];
314
+ }
315
+ }
316
+ }
317
+ }
318
+ }
319
+
320
+ class KtbVendor {
321
+ constructor(data) {
322
+ if (data) {
323
+ for (const property in data) {
324
+ // eslint-disable-next-line no-prototype-builtins
325
+ if (data.hasOwnProperty(property))
326
+ this[property] = data[property];
327
+ }
328
+ }
329
+ }
330
+ }
331
+ class KtbVendorForCustomer {
332
+ constructor(data) {
333
+ if (data) {
334
+ for (const property in data) {
335
+ // eslint-disable-next-line no-prototype-builtins
336
+ if (data.hasOwnProperty(property))
337
+ this[property] = data[property];
338
+ }
339
+ }
340
+ }
341
+ }
342
+ class KtbVendorComment {
343
+ constructor(data) {
344
+ if (data) {
345
+ for (const property in data) {
346
+ // eslint-disable-next-line no-prototype-builtins
347
+ if (data.hasOwnProperty(property))
348
+ this[property] = data[property];
349
+ }
350
+ }
351
+ }
352
+ }
353
+ class KtbLicense {
354
+ constructor(data) {
355
+ if (data) {
356
+ for (const property in data) {
357
+ // eslint-disable-next-line no-prototype-builtins
358
+ if (data.hasOwnProperty(property))
359
+ this[property] = data[property];
360
+ }
361
+ }
362
+ }
363
+ }
364
+ class KtbVendorAdmin {
365
+ constructor(data) {
366
+ if (data) {
367
+ for (const property in data) {
368
+ // eslint-disable-next-line no-prototype-builtins
369
+ if (data.hasOwnProperty(property))
370
+ this[property] = data[property];
371
+ }
372
+ }
373
+ }
374
+ }
375
+ class KtbVendorLookUpTable {
376
+ constructor(data) {
377
+ if (data) {
378
+ for (const property in data) {
379
+ // eslint-disable-next-line no-prototype-builtins
380
+ if (data.hasOwnProperty(property))
381
+ this[property] = data[property];
382
+ }
383
+ }
384
+ }
385
+ }
386
+ class KtbExportVendorAdminFilter {
387
+ constructor(data) {
388
+ if (data) {
389
+ for (const property in data) {
390
+ // eslint-disable-next-line no-prototype-builtins
391
+ if (data.hasOwnProperty(property))
392
+ this[property] = data[property];
393
+ }
394
+ }
395
+ }
396
+ }
397
+
398
+ class KtbVendorDetail extends KtbVendor {
399
+ // socialMedias?: IKtbVendorSocialMedia[];
400
+ constructor(data) {
401
+ super(data);
402
+ this.sendingRate = 0;
403
+ this.sendCount = 0;
404
+ this.overallRating = 5;
405
+ this.commentCount = 0;
406
+ this.ratingCount = 0;
407
+ if (data) {
408
+ this.bannerAddress = data.bannerAddress;
409
+ this.sendingRate = data.sendingRate;
410
+ this.sendCount = data.sendCount;
411
+ this.province = data.province;
412
+ this.city = data.city;
413
+ this.returnRate = data.returnRate ?? 0;
414
+ this.orderCount = data.orderCount;
415
+ this.overallRating = data.overallRating ?? 0;
416
+ this.commentCount = data.commentCount ?? 0;
417
+ this.ratingCount = data.ratingCount ?? 0;
418
+ this.postalCode = data.postalCode ?? '';
419
+ // this.socialMedias = data.socialMedias ?? [];
420
+ this.comments = data.comments ?? [];
421
+ }
422
+ }
423
+ }
424
+ class KtbVendorContactInfo {
425
+ constructor(data) {
426
+ if (data) {
427
+ for (const property in data) {
428
+ // eslint-disable-next-line no-prototype-builtins
429
+ if (data.hasOwnProperty(property))
430
+ this[property] = data[property];
431
+ }
432
+ }
433
+ }
434
+ }
435
+ class KtbVendorFullDetail {
436
+ constructor(data) {
437
+ if (data) {
438
+ for (const property in data) {
439
+ // eslint-disable-next-line no-prototype-builtins
440
+ if (data.hasOwnProperty(property))
441
+ this[property] = data[property];
442
+ }
443
+ }
444
+ }
445
+ }
446
+
447
+ class KtbVendorShelf {
448
+ constructor(data) {
449
+ this.products = [];
450
+ if (data) {
451
+ this.id = data.id;
452
+ this.title = data.title;
453
+ this.description = data.description;
454
+ this.products = data.products;
455
+ this.vendorId = data.vendorId;
456
+ }
457
+ }
458
+ }
459
+
460
+ class KtbVendorGallery {
461
+ constructor(data) {
462
+ if (data) {
463
+ this.id = data.id;
464
+ this.title = data.title;
465
+ this.description = data.description;
466
+ this.imageAddress = data.imageAddress;
467
+ this.thumbAddress = data.thumbAddress;
468
+ }
469
+ }
470
+ }
471
+
472
+ class KtbVendorStatsForCustomerView {
473
+ constructor(data) {
474
+ if (data) {
475
+ this.orderCount = data.orderCount;
476
+ this.returnRate = data.returnRate;
477
+ this.sendRate = data.sendRate;
478
+ }
479
+ }
480
+ }
481
+
482
+ var KtbSocialMediaType;
483
+ (function (KtbSocialMediaType) {
484
+ KtbSocialMediaType[KtbSocialMediaType["Instagram"] = 1] = "Instagram";
485
+ KtbSocialMediaType[KtbSocialMediaType["Eitaa"] = 2] = "Eitaa";
486
+ KtbSocialMediaType[KtbSocialMediaType["Soroush"] = 3] = "Soroush";
487
+ KtbSocialMediaType[KtbSocialMediaType["Bale"] = 4] = "Bale";
488
+ })(KtbSocialMediaType || (KtbSocialMediaType = {}));
489
+
490
+ class KtbVendorSocialMedia {
491
+ constructor(data) {
492
+ if (data) {
493
+ this.id = data.id ?? 0;
494
+ this.value = data.value ?? '';
495
+ this.type = data.type ?? KtbSocialMediaType.Instagram;
496
+ }
497
+ }
498
+ }
499
+
500
+ class KtbCreateVendor {
501
+ constructor(data) {
502
+ this.vendorFiles = [];
503
+ this.socialMedias = [];
504
+ if (data) {
505
+ for (const property in data) {
506
+ // eslint-disable-next-line no-prototype-builtins
507
+ if (data.hasOwnProperty(property))
508
+ this[property] = data[property];
509
+ }
510
+ }
511
+ }
512
+ }
513
+ class KtbCreateFileInput {
514
+ constructor(data) {
515
+ if (data) {
516
+ for (const property in data) {
517
+ // eslint-disable-next-line no-prototype-builtins
518
+ if (data.hasOwnProperty(property))
519
+ this[property] = data[property];
520
+ }
521
+ }
522
+ }
523
+ }
524
+
525
+ class KtbEditVendor {
526
+ constructor(data) {
527
+ if (data) {
528
+ for (const property in data) {
529
+ // eslint-disable-next-line no-prototype-builtins
530
+ if (data.hasOwnProperty(property))
531
+ this[property] = data[property];
532
+ }
533
+ }
534
+ }
535
+ }
536
+ class KtbEditFileInput {
537
+ constructor(data) {
538
+ if (data) {
539
+ for (const property in data) {
540
+ // eslint-disable-next-line no-prototype-builtins
541
+ if (data.hasOwnProperty(property))
542
+ this[property] = data[property];
543
+ }
544
+ }
545
+ }
546
+ }
547
+ class KtbEditSocialMediaIput {
548
+ constructor(data) {
549
+ if (data) {
550
+ for (const property in data) {
551
+ // eslint-disable-next-line no-prototype-builtins
552
+ if (data.hasOwnProperty(property))
553
+ this[property] = data[property];
554
+ }
555
+ }
556
+ }
557
+ }
558
+
559
+ class KtpUpdatePostStoreInput {
560
+ constructor(data) {
561
+ this.vendorId = data.vendorId;
562
+ this.postToken = data.postToken;
563
+ this.storeId = data.storeId;
564
+ this.storeTitle = data.storeTitle;
565
+ }
566
+ }
567
+
568
+ class KtbVendorBookRelevantFilter {
569
+ constructor(data) {
570
+ if (data) {
571
+ for (const property in data) {
572
+ // eslint-disable-next-line no-prototype-builtins
573
+ if (data.hasOwnProperty(property))
574
+ this[property] = data[property];
575
+ }
576
+ }
577
+ }
578
+ }
579
+
580
+ class KtbVendorForCustomerFilter {
581
+ constructor(data) {
582
+ if (data) {
583
+ for (const property in data) {
584
+ // eslint-disable-next-line no-prototype-builtins
585
+ if (data.hasOwnProperty(property))
586
+ this[property] = data[property];
587
+ }
588
+ }
589
+ }
590
+ }
591
+
592
+ class KtbVendorForAdminFilter {
593
+ constructor(data) {
594
+ this.pageNumber = 1;
595
+ this.pageSize = 10;
596
+ if (data) {
597
+ for (const property in data) {
598
+ // eslint-disable-next-line no-prototype-builtins
599
+ if (data.hasOwnProperty(property))
600
+ this[property] = data[property];
601
+ }
602
+ }
603
+ }
604
+ }
605
+ class KtbVendorForLookUpTableFilter {
606
+ constructor(data) {
607
+ if (data) {
608
+ for (const property in data) {
609
+ // eslint-disable-next-line no-prototype-builtins
610
+ if (data.hasOwnProperty(property))
611
+ this[property] = data[property];
612
+ }
613
+ }
614
+ }
615
+ }
616
+
617
+ class KtbVendorCmStats {
618
+ constructor(data) {
619
+ if (data) {
620
+ for (const property in data) {
621
+ // eslint-disable-next-line no-prototype-builtins
622
+ if (data.hasOwnProperty(property))
623
+ this[property] = data[property];
624
+ }
625
+ }
626
+ }
627
+ }
628
+
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
+ }
669
+
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
+ }
681
+
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
+ }
709
+
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
+ }
721
+
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
+ }
734
+
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
+ }
747
+
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
+ }
767
+
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
+ }
780
+
781
+ class KtbPublishersResult {
782
+ constructor(data) {
783
+ this.totalCount = 0;
784
+ this.items = [];
785
+ if (data) {
786
+ this.totalCount = data.totalCount;
787
+ this.items = data.items;
788
+ }
789
+ }
790
+ }
791
+
792
+ class KtbFavorite {
793
+ constructor(data) {
794
+ this.isLiked = false;
795
+ 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;
806
+ }
807
+ }
808
+ }
809
+ class KtbFavoriteContainer {
810
+ constructor(data) {
811
+ this.__version = 2;
812
+ this.favs = data ?? [];
813
+ }
814
+ }
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
+ // }
823
+ constructor(data) {
824
+ this.authors = [];
825
+ this.quantity = 1;
826
+ this.salePlanId = null;
827
+ 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;
844
+ }
845
+ }
846
+ }
847
+
848
+ class KtbBasket {
849
+ get isValid() {
850
+ return this.totalAmount > this.minPurchaseAmount;
851
+ }
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;
875
+ }
876
+ }
877
+ }
878
+ class KtbBasketContainer {
879
+ constructor(data) {
880
+ if (data) {
881
+ for (const property in data) {
882
+ // eslint-disable-next-line no-prototype-builtins
883
+ if (data.hasOwnProperty(property))
884
+ this[property] = data[property];
885
+ }
886
+ }
887
+ }
888
+ }
889
+
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 {
901
+ 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
+ if (data) {
909
+ for (const property in data) {
910
+ // eslint-disable-next-line no-prototype-builtins
911
+ if (data.hasOwnProperty(property))
912
+ this[property] = data[property];
913
+ }
914
+ }
915
+ }
916
+ }
917
+
918
+ class KtbCheckoutResult {
919
+ constructor(data) {
920
+ this.activeGatewaies = [];
921
+ if (data) {
922
+ for (const property in data) {
923
+ // eslint-disable-next-line no-prototype-builtins
924
+ if (data.hasOwnProperty(property))
925
+ this[property] = data[property];
926
+ }
927
+ }
928
+ }
929
+ }
930
+ class KtbActiveGateway {
931
+ constructor(data) {
932
+ if (data) {
933
+ for (const property in data) {
934
+ // eslint-disable-next-line no-prototype-builtins
935
+ if (data.hasOwnProperty(property))
936
+ this[property] = data[property];
937
+ }
938
+ }
939
+ }
940
+ }
941
+
942
+ class ktbGetCustomerInfo {
943
+ constructor(data) {
944
+ if (data) {
945
+ for (const property in data) {
946
+ // eslint-disable-next-line no-prototype-builtins
947
+ if (data.hasOwnProperty(property))
948
+ this[property] = data[property];
949
+ }
950
+ }
951
+ }
952
+ }
953
+
954
+ class KtbOrderAddress {
955
+ constructor(data) {
956
+ if (data) {
957
+ for (const property in data) {
958
+ // eslint-disable-next-line no-prototype-builtins
959
+ if (data.hasOwnProperty(property))
960
+ this[property] = data[property];
961
+ }
962
+ }
963
+ }
964
+ }
965
+ class KtbOrderItem {
966
+ constructor(data) {
967
+ if (data) {
968
+ for (const property in data) {
969
+ // eslint-disable-next-line no-prototype-builtins
970
+ if (data.hasOwnProperty(property))
971
+ this[property] = data[property];
972
+ }
973
+ }
974
+ }
975
+ }
976
+ class KtbShortageRequest {
977
+ constructor(data) {
978
+ if (data) {
979
+ for (const property in data) {
980
+ // eslint-disable-next-line no-prototype-builtins
981
+ if (data.hasOwnProperty(property))
982
+ this[property] = data[property];
983
+ }
984
+ }
985
+ }
986
+ }
987
+ class KtbOrderPayment {
988
+ 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
+ }
1004
+ }
1005
+ }
1006
+ class KtbOrderPlan {
1007
+ constructor(data) {
1008
+ if (data) {
1009
+ for (const property in data) {
1010
+ // eslint-disable-next-line no-prototype-builtins
1011
+ if (data.hasOwnProperty(property))
1012
+ this[property] = data[property];
1013
+ }
1014
+ }
1015
+ }
1016
+ }
1017
+ class KtbOrder {
1018
+ constructor(data) {
1019
+ if (data) {
1020
+ for (const property in data) {
1021
+ // eslint-disable-next-line no-prototype-builtins
1022
+ if (data.hasOwnProperty(property))
1023
+ this[property] = data[property];
1024
+ }
1025
+ }
1026
+ }
1027
+ }
1028
+ class KtbPurchaseVendor {
1029
+ constructor(data) {
1030
+ if (data) {
1031
+ for (const property in data) {
1032
+ // eslint-disable-next-line no-prototype-builtins
1033
+ if (data.hasOwnProperty(property))
1034
+ this[property] = data[property];
1035
+ }
1036
+ }
1037
+ }
1038
+ }
1039
+ class KtbReturnOnSale {
1040
+ constructor(data) {
1041
+ if (data) {
1042
+ for (const property in data) {
1043
+ // eslint-disable-next-line no-prototype-builtins
1044
+ if (data.hasOwnProperty(property))
1045
+ this[property] = data[property];
1046
+ }
1047
+ }
1048
+ }
1049
+ }
1050
+
1051
+ class ktbEditSupplyQuantityVendorInput {
1052
+ constructor(data) {
1053
+ if (data) {
1054
+ for (const property in data) {
1055
+ // eslint-disable-next-line no-prototype-builtins
1056
+ if (data.hasOwnProperty(property))
1057
+ this[property] = data[property];
1058
+ }
1059
+ }
1060
+ }
1061
+ }
1062
+ class ktbEditOrderSupplyQuantityInput {
1063
+ constructor(data) {
1064
+ if (data) {
1065
+ for (const property in data) {
1066
+ // eslint-disable-next-line no-prototype-builtins
1067
+ if (data.hasOwnProperty(property))
1068
+ this[property] = data[property];
1069
+ }
1070
+ }
1071
+ }
1072
+ }
1073
+
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 {
1090
+ constructor(data) {
1091
+ this.topic = '';
1092
+ if (data) {
1093
+ for (const property in data) {
1094
+ if (Object.prototype.hasOwnProperty.call(data, property)) {
1095
+ this[property] = data[property];
1096
+ }
1097
+ }
1098
+ }
1099
+ }
1100
+ }
1101
+ class KtbTicketAdmin {
1102
+ constructor(data) {
1103
+ if (data) {
1104
+ for (const property in data) {
1105
+ // eslint-disable-next-line no-prototype-builtins
1106
+ if (data.hasOwnProperty(property))
1107
+ this[property] = data[property];
1108
+ }
1109
+ }
1110
+ }
1111
+ }
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 {
1120
+ constructor(data) {
1121
+ this.id = data.id;
1122
+ this.name = data.name;
1123
+ }
1124
+ }
1125
+
1126
+ class KtbTicketDiscussion {
1127
+ constructor(data) {
1128
+ 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;
1138
+ }
1139
+ }
1140
+ }
1141
+
1142
+ class KtbTicketFile {
1143
+ constructor(data) {
1144
+ 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;
1151
+ }
1152
+ }
1153
+ }
1154
+
1155
+ class KtbTicketsResult {
1156
+ constructor(data) {
1157
+ this.totalCount = 0;
1158
+ this.items = [];
1159
+ if (data) {
1160
+ this.totalCount = data.totalCount;
1161
+ this.items = data.items;
1162
+ }
1163
+ }
1164
+ }
1165
+
1166
+ class KtbTicketInput {
1167
+ constructor(data) {
1168
+ 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;
1178
+ }
1179
+ }
1180
+ }
1181
+
1182
+ class KtbTicketFileInput {
1183
+ constructor(data) {
1184
+ 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;
1190
+ }
1191
+ }
1192
+ }
1193
+
1194
+ class KtbTicketCategory {
1195
+ constructor(data) {
1196
+ if (data) {
1197
+ this.id = data.id;
1198
+ this.displayName = data.displayName;
1199
+ }
1200
+ }
1201
+ }
1202
+
1203
+ class KtbTicketDiscussionInput {
1204
+ constructor(data) {
1205
+ 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;
1211
+ }
1212
+ }
1213
+ }
1214
+
1215
+ class KtbTicketStat {
1216
+ /**
1217
+ *
1218
+ */
1219
+ constructor(data) {
1220
+ if (data) {
1221
+ this.state = data.state;
1222
+ this.value = data.value;
1223
+ }
1224
+ }
1225
+ }
1226
+
1227
+ class KtbTicketForAdminFilter {
1228
+ constructor(data) {
1229
+ if (data) {
1230
+ for (const property in data) {
1231
+ // eslint-disable-next-line no-prototype-builtins
1232
+ if (data.hasOwnProperty(property))
1233
+ this[property] = data[property];
1234
+ }
1235
+ }
1236
+ }
1237
+ }
1238
+
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 {
1248
+ constructor(data) {
1249
+ if (data) {
1250
+ for (const property in data) {
1251
+ // eslint-disable-next-line no-prototype-builtins
1252
+ if (data.hasOwnProperty(property))
1253
+ this[property] = data[property];
1254
+ }
1255
+ }
1256
+ }
1257
+ }
1258
+
1259
+ class KtbSendValidationCodeInput {
1260
+ constructor(data) {
1261
+ this.otpSmsType = 0;
1262
+ if (data) {
1263
+ for (const property in data) {
1264
+ // eslint-disable-next-line no-prototype-builtins
1265
+ if (data.hasOwnProperty(property))
1266
+ this[property] = data[property];
1267
+ }
1268
+ }
1269
+ }
1270
+ }
1271
+
1272
+ class KtbCheckValidationCodeInput {
1273
+ constructor(data) {
1274
+ this.otpSmsType = 0;
1275
+ if (data) {
1276
+ for (const property in data) {
1277
+ // eslint-disable-next-line no-prototype-builtins
1278
+ if (data.hasOwnProperty(property))
1279
+ this[property] = data[property];
1280
+ }
1281
+ }
1282
+ }
1283
+ }
1284
+
1285
+ class ktbGBitValidationInput {
1286
+ constructor(data) {
1287
+ if (data) {
1288
+ for (const property in data) {
1289
+ // eslint-disable-next-line no-prototype-builtins
1290
+ if (data.hasOwnProperty(property))
1291
+ this[property] = data[property];
1292
+ }
1293
+ }
1294
+ }
1295
+ }
1296
+
1297
+ class KtbUserValidatio {
1298
+ constructor(data) {
1299
+ if (data) {
1300
+ for (const property in data) {
1301
+ // eslint-disable-next-line no-prototype-builtins
1302
+ if (data.hasOwnProperty(property))
1303
+ this[property] = data[property];
1304
+ }
1305
+ }
1306
+ }
1307
+ }
1308
+ class KtbGBitIdentityInfo {
1309
+ constructor(data) {
1310
+ if (data) {
1311
+ for (const property in data) {
1312
+ // eslint-disable-next-line no-prototype-builtins
1313
+ if (data.hasOwnProperty(property))
1314
+ this[property] = data[property];
1315
+ }
1316
+ }
1317
+ }
1318
+ }
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 {
1327
+ constructor(data) {
1328
+ if (data) {
1329
+ for (const property in data) {
1330
+ // eslint-disable-next-line no-prototype-builtins
1331
+ if (data.hasOwnProperty(property))
1332
+ this[property] = data[property];
1333
+ }
1334
+ }
1335
+ }
1336
+ }
1337
+
1338
+ class KtbRegister {
1339
+ constructor(data) {
1340
+ if (data) {
1341
+ for (const property in data) {
1342
+ // eslint-disable-next-line no-prototype-builtins
1343
+ if (data.hasOwnProperty(property))
1344
+ this[property] = data[property];
1345
+ }
1346
+ }
1347
+ }
1348
+ }
1349
+
1350
+ class KtbLogin {
1351
+ constructor(data) {
1352
+ if (data) {
1353
+ for (const property in data) {
1354
+ // eslint-disable-next-line no-prototype-builtins
1355
+ if (data.hasOwnProperty(property))
1356
+ this[property] = data[property];
1357
+ }
1358
+ }
1359
+ }
1360
+ }
1361
+
1362
+ class KtbRegisterInput {
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
+
1374
+ class KtbChangePasswordInput {
1375
+ constructor(data) {
1376
+ if (data) {
1377
+ for (const property in data) {
1378
+ // eslint-disable-next-line no-prototype-builtins
1379
+ if (data.hasOwnProperty(property))
1380
+ this[property] = data[property];
1381
+ }
1382
+ }
1383
+ }
1384
+ }
1385
+
1386
+ class KtbInpersonRegisterInput {
1387
+ constructor(data) {
1388
+ if (data) {
1389
+ for (const property in data) {
1390
+ // eslint-disable-next-line no-prototype-builtins
1391
+ if (data.hasOwnProperty(property))
1392
+ this[property] = data[property];
1393
+ }
1394
+ }
1395
+ }
1396
+ }
1397
+
1398
+ class KtbCheckUserExistInput {
1399
+ constructor(data) {
1400
+ if (data) {
1401
+ for (const property in data) {
1402
+ // eslint-disable-next-line no-prototype-builtins
1403
+ if (data.hasOwnProperty(property))
1404
+ this[property] = data[property];
1405
+ }
1406
+ }
1407
+ }
1408
+ }
1409
+ class KtbCheckUserExistDto {
1410
+ constructor(data) {
1411
+ if (data) {
1412
+ for (const property in data) {
1413
+ // eslint-disable-next-line no-prototype-builtins
1414
+ if (data.hasOwnProperty(property))
1415
+ this[property] = data[property];
1416
+ }
1417
+ }
1418
+ }
1419
+ }
1420
+
1421
+ class KtbSecuritySetting {
1422
+ constructor(data) {
1423
+ if (data) {
1424
+ for (const property in data) {
1425
+ // eslint-disable-next-line no-prototype-builtins
1426
+ if (data.hasOwnProperty(property))
1427
+ this[property] = data[property];
1428
+ }
1429
+ }
1430
+ }
1431
+ }
1432
+ class KtbPasswordComplexitySetting {
1433
+ constructor(data) {
1434
+ if (data) {
1435
+ for (const property in data) {
1436
+ // eslint-disable-next-line no-prototype-builtins
1437
+ if (data.hasOwnProperty(property))
1438
+ this[property] = data[property];
1439
+ }
1440
+ }
1441
+ }
1442
+ }
1443
+ class KtbUserLockOutSetting {
1444
+ constructor(data) {
1445
+ if (data) {
1446
+ for (const property in data) {
1447
+ // eslint-disable-next-line no-prototype-builtins
1448
+ if (data.hasOwnProperty(property))
1449
+ this[property] = data[property];
1450
+ }
1451
+ }
1452
+ }
1453
+ }
1454
+ class KtbTwoFactorLoginSetting {
1455
+ constructor(data) {
1456
+ if (data) {
1457
+ for (const property in data) {
1458
+ // eslint-disable-next-line no-prototype-builtins
1459
+ if (data.hasOwnProperty(property))
1460
+ this[property] = data[property];
1461
+ }
1462
+ }
1463
+ }
1464
+ }
1465
+
1466
+ class KtbNotification {
1467
+ constructor(data) {
1468
+ this.isRead = true;
1469
+ if (data) {
1470
+ for (const property in data) {
1471
+ // eslint-disable-next-line no-prototype-builtins
1472
+ if (data.hasOwnProperty(property))
1473
+ this[property] = data[property];
1474
+ }
1475
+ }
1476
+ }
1477
+ }
1478
+
1479
+ class KtbPurchase {
1480
+ constructor(data) {
1481
+ if (data) {
1482
+ for (const property in data) {
1483
+ // eslint-disable-next-line no-prototype-builtins
1484
+ if (data.hasOwnProperty(property))
1485
+ this[property] = data[property];
1486
+ }
1487
+ }
1488
+ }
1489
+ }
1490
+ class KtbPurchaseUser {
1491
+ constructor(data) {
1492
+ if (data) {
1493
+ for (const property in data) {
1494
+ // eslint-disable-next-line no-prototype-builtins
1495
+ if (data.hasOwnProperty(property))
1496
+ this[property] = data[property];
1497
+ }
1498
+ }
1499
+ }
1500
+ }
1501
+ class KtbReceiver {
1502
+ constructor(data) {
1503
+ if (data) {
1504
+ for (const property in data) {
1505
+ // eslint-disable-next-line no-prototype-builtins
1506
+ if (data.hasOwnProperty(property))
1507
+ this[property] = data[property];
1508
+ }
1509
+ }
1510
+ }
1511
+ }
1512
+ class KtbPurchaseFinance {
1513
+ constructor(data) {
1514
+ if (data) {
1515
+ for (const property in data) {
1516
+ // eslint-disable-next-line no-prototype-builtins
1517
+ if (data.hasOwnProperty(property))
1518
+ this[property] = data[property];
1519
+ }
1520
+ }
1521
+ }
1522
+ }
1523
+
1524
+ class KtbPurchaseFilter {
1525
+ constructor(data) {
1526
+ this.pageNumber = 1;
1527
+ this.pageSize = 10;
1528
+ if (data) {
1529
+ for (const property in data) {
1530
+ // eslint-disable-next-line no-prototype-builtins
1531
+ if (data.hasOwnProperty(property))
1532
+ this[property] = data[property];
1533
+ }
1534
+ }
1535
+ }
1536
+ }
1537
+
1538
+ class KtbPurchaseAdmin {
1539
+ constructor(data) {
1540
+ if (data) {
1541
+ for (const property in data) {
1542
+ // eslint-disable-next-line no-prototype-builtins
1543
+ if (data.hasOwnProperty(property))
1544
+ this[property] = data[property];
1545
+ }
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
+ }
1553
+ }
1554
+ }
1555
+ class KtbEditPurchaseReceiver {
1556
+ constructor(data) {
1557
+ if (data) {
1558
+ for (const property in data) {
1559
+ // eslint-disable-next-line no-prototype-builtins
1560
+ if (data.hasOwnProperty(property))
1561
+ this[property] = data[property];
1562
+ }
1563
+ }
1564
+ }
1565
+ }
1566
+
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;
1584
+ }
1585
+ }
1586
+ class KtbBulkSendOrderByVendor {
1587
+ constructor(data) {
1588
+ if (data) {
1589
+ for (const property in data) {
1590
+ // eslint-disable-next-line no-prototype-builtins
1591
+ if (data.hasOwnProperty(property))
1592
+ this[property] = data[property];
1593
+ }
1594
+ }
1595
+ }
1596
+ }
1597
+ class KtbBulkSendOrder {
1598
+ constructor(data) {
1599
+ if (data) {
1600
+ for (const property in data) {
1601
+ // eslint-disable-next-line no-prototype-builtins
1602
+ if (data.hasOwnProperty(property))
1603
+ this[property] = data[property];
1604
+ }
1605
+ }
1606
+ }
1607
+ }
1608
+ class KtbSalePlanStatsByType {
1609
+ constructor(data) {
1610
+ if (data) {
1611
+ for (const property in data) {
1612
+ // eslint-disable-next-line no-prototype-builtins
1613
+ if (data.hasOwnProperty(property))
1614
+ this[property] = data[property];
1615
+ }
1616
+ }
1617
+ }
1618
+ }
1619
+ class KtbVendorInPersonStatus {
1620
+ constructor(data) {
1621
+ if (data) {
1622
+ for (const property in data) {
1623
+ // eslint-disable-next-line no-prototype-builtins
1624
+ if (data.hasOwnProperty(property))
1625
+ this[property] = data[property];
1626
+ }
1627
+ }
1628
+ }
1629
+ }
1630
+ class KtbOrderDetailStatsForVendorInput {
1631
+ constructor(data) {
1632
+ if (data) {
1633
+ for (const property in data) {
1634
+ // eslint-disable-next-line no-prototype-builtins
1635
+ if (data.hasOwnProperty(property))
1636
+ this[property] = data[property];
1637
+ }
1638
+ }
1639
+ }
1640
+ }
1641
+ class KtbOrderStatusStatsForVendorInput {
1642
+ constructor(data) {
1643
+ if (data) {
1644
+ for (const property in data) {
1645
+ // eslint-disable-next-line no-prototype-builtins
1646
+ if (data.hasOwnProperty(property))
1647
+ this[property] = data[property];
1648
+ }
1649
+ }
1650
+ }
1651
+ }
1652
+ class KtbOrderDetailStatsForVendor {
1653
+ constructor(data) {
1654
+ if (data) {
1655
+ for (const property in data) {
1656
+ // eslint-disable-next-line no-prototype-builtins
1657
+ if (data.hasOwnProperty(property))
1658
+ this[property] = data[property];
1659
+ }
1660
+ }
1661
+ }
1662
+ }
1663
+ class KtbOrderStatusStatsForVendor {
1664
+ constructor(data) {
1665
+ if (data) {
1666
+ for (const property in data) {
1667
+ // eslint-disable-next-line no-prototype-builtins
1668
+ if (data.hasOwnProperty(property))
1669
+ this[property] = data[property];
1670
+ }
1671
+ }
1672
+ }
1673
+ }
1674
+
1675
+ class KtbPlanRequestInput {
1676
+ constructor(data) {
1677
+ this.pageNumber = 1;
1678
+ this.pageSize = 10;
1679
+ if (data) {
1680
+ for (const property in data) {
1681
+ // eslint-disable-next-line no-prototype-builtins
1682
+ if (data.hasOwnProperty(property))
1683
+ this[property] = data[property];
1684
+ }
1685
+ }
1686
+ }
1687
+ }
1688
+
1689
+ class KtbGift {
1690
+ constructor(data) {
1691
+ if (data) {
1692
+ for (const property in data) {
1693
+ // eslint-disable-next-line no-prototype-builtins
1694
+ if (data.hasOwnProperty(property))
1695
+ this[property] = data[property];
1696
+ }
1697
+ }
1698
+ }
1699
+ }
1700
+
1701
+ class KtbVoucherFilter {
1702
+ constructor(data) {
1703
+ this.pageNumber = 1;
1704
+ this.pageSize = 4;
1705
+ if (data) {
1706
+ for (const property in data) {
1707
+ // eslint-disable-next-line no-prototype-builtins
1708
+ if (data.hasOwnProperty(property))
1709
+ this[property] = data[property];
1710
+ }
1711
+ }
1712
+ }
1713
+ }
1714
+
1715
+ class KtbCouponForAdminFilter {
1716
+ constructor(data) {
1717
+ if (data) {
1718
+ for (const property in data) {
1719
+ // eslint-disable-next-line no-prototype-builtins
1720
+ if (data.hasOwnProperty(property))
1721
+ this[property] = data[property];
1722
+ }
1723
+ }
1724
+ }
1725
+ }
1726
+
1727
+ class KtbCouponFroAdmin {
1728
+ constructor(data) {
1729
+ if (data) {
1730
+ for (const property in data) {
1731
+ // eslint-disable-next-line no-prototype-builtins
1732
+ if (data.hasOwnProperty(property))
1733
+ this[property] = data[property];
1734
+ }
1735
+ }
1736
+ }
1737
+ }
1738
+
1739
+ class KtbVoucherFroAdmin {
1740
+ constructor(data) {
1741
+ if (data) {
1742
+ for (const property in data) {
1743
+ // eslint-disable-next-line no-prototype-builtins
1744
+ if (data.hasOwnProperty(property))
1745
+ this[property] = data[property];
1746
+ }
1747
+ }
1748
+ }
1749
+ }
1750
+
1751
+ class KtbAddVoucherForAdmin {
1752
+ constructor(data) {
1753
+ if (data) {
1754
+ for (const property in data) {
1755
+ // eslint-disable-next-line no-prototype-builtins
1756
+ if (data.hasOwnProperty(property))
1757
+ this[property] = data[property];
1758
+ }
1759
+ }
1760
+ }
1761
+ }
1762
+
1763
+ class KtbAddCouponForAdmin {
1764
+ constructor(data) {
1765
+ if (data) {
1766
+ for (const property in data) {
1767
+ // eslint-disable-next-line no-prototype-builtins
1768
+ if (data.hasOwnProperty(property))
1769
+ this[property] = data[property];
1770
+ }
1771
+ }
1772
+ }
1773
+ }
1774
+
1775
+ class ktbCreaditStatsForAdmin {
1776
+ 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;
1805
+ }
1806
+ }
1807
+
1808
+ class KtbFaq {
1809
+ constructor(data) {
1810
+ if (data) {
1811
+ for (const property in data) {
1812
+ // eslint-disable-next-line no-prototype-builtins
1813
+ if (data.hasOwnProperty(property))
1814
+ this[property] = data[property];
1815
+ }
1816
+ }
1817
+ }
1818
+ }
1819
+
1820
+ class KtbFaqCategory {
1821
+ constructor(data) {
1822
+ 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
+ }
1828
+ }
1829
+ }
1830
+ }
1831
+
1832
+ class KtbFaqCategoryFilter {
1833
+ 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
+ }
1843
+ }
1844
+ }
1845
+
1846
+ class KtbFaqFilter {
1847
+ constructor(data) {
1848
+ this.pageNumber = 1;
1849
+ this.pageSize = 4;
1850
+ if (data) {
1851
+ for (const property in data) {
1852
+ // eslint-disable-next-line no-prototype-builtins
1853
+ if (data.hasOwnProperty(property))
1854
+ this[property] = data[property];
1855
+ }
1856
+ }
1857
+ }
1858
+ }
1859
+
1860
+ class KtbOwner {
1861
+ constructor(data) {
1862
+ if (data) {
1863
+ for (const property in data) {
1864
+ // eslint-disable-next-line no-prototype-builtins
1865
+ if (data.hasOwnProperty(property))
1866
+ this[property] = data[property];
1867
+ }
1868
+ }
1869
+ }
1870
+ }
1871
+ class KtbOwnerFile {
1872
+ constructor(data) {
1873
+ if (data) {
1874
+ for (const property in data) {
1875
+ // eslint-disable-next-line no-prototype-builtins
1876
+ if (data.hasOwnProperty(property))
1877
+ this[property] = data[property];
1878
+ }
1879
+ }
1880
+ }
1881
+ }
1882
+
1883
+ class KtbCreateOwnerFile {
1884
+ constructor(data) {
1885
+ if (data) {
1886
+ for (const property in data) {
1887
+ // eslint-disable-next-line no-prototype-builtins
1888
+ if (data.hasOwnProperty(property))
1889
+ this[property] = data[property];
1890
+ }
1891
+ }
1892
+ }
1893
+ }
1894
+ class KtbEditOwnerFile {
1895
+ constructor(data) {
1896
+ if (data) {
1897
+ for (const property in data) {
1898
+ // eslint-disable-next-line no-prototype-builtins
1899
+ if (data.hasOwnProperty(property))
1900
+ this[property] = data[property];
1901
+ }
1902
+ }
1903
+ }
1904
+ }
1905
+
1906
+ class KtbCreateOwner {
1907
+ constructor(data) {
1908
+ this.files = [];
1909
+ if (data) {
1910
+ for (const property in data) {
1911
+ // eslint-disable-next-line no-prototype-builtins
1912
+ if (data.hasOwnProperty(property))
1913
+ this[property] = data[property];
1914
+ }
1915
+ }
1916
+ }
1917
+ }
1918
+ class KtbEditOwner {
1919
+ constructor(data) {
1920
+ this.files = [];
1921
+ if (data) {
1922
+ for (const property in data) {
1923
+ // eslint-disable-next-line no-prototype-builtins
1924
+ if (data.hasOwnProperty(property))
1925
+ this[property] = data[property];
1926
+ }
1927
+ }
1928
+ }
1929
+ }
1930
+
1931
+ class KtbOwnerFilter {
1932
+ constructor(data) {
1933
+ this.pageNumber = 1;
1934
+ this.pageSize = 4;
1935
+ 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
+ }
1941
+ }
1942
+ }
1943
+ }
1944
+
1945
+ class KtbGuildGroup {
1946
+ constructor(data) {
1947
+ if (data) {
1948
+ for (const property in data) {
1949
+ // eslint-disable-next-line no-prototype-builtins
1950
+ if (data.hasOwnProperty(property))
1951
+ this[property] = data[property];
1952
+ }
1953
+ }
1954
+ }
1955
+ }
1956
+ class KtbGuild {
1957
+ constructor(data) {
1958
+ if (data) {
1959
+ for (const property in data) {
1960
+ // eslint-disable-next-line no-prototype-builtins
1961
+ if (data.hasOwnProperty(property))
1962
+ this[property] = data[property];
1963
+ }
1964
+ }
1965
+ }
1966
+ }
1967
+
1968
+ class KtbGuildFilter {
1969
+ constructor(data) {
1970
+ this.pageNumber = 1;
1971
+ this.pageSize = 4;
1972
+ if (data) {
1973
+ for (const property in data) {
1974
+ // eslint-disable-next-line no-prototype-builtins
1975
+ if (data.hasOwnProperty(property))
1976
+ this[property] = data[property];
1977
+ }
1978
+ }
1979
+ }
1980
+ }
1981
+
1982
+ class KtbCity {
1983
+ constructor(data) {
1984
+ if (data) {
1985
+ for (const property in data) {
1986
+ // eslint-disable-next-line no-prototype-builtins
1987
+ if (data.hasOwnProperty(property))
1988
+ this[property] = data[property];
1989
+ }
1990
+ }
1991
+ }
1992
+ }
1993
+
1994
+ class KtbProvince {
1995
+ constructor(data) {
1996
+ if (data) {
1997
+ for (const property in data) {
1998
+ // eslint-disable-next-line no-prototype-builtins
1999
+ if (data.hasOwnProperty(property))
2000
+ this[property] = data[property];
2001
+ }
2002
+ }
2003
+ }
2004
+ }
2005
+
2006
+ class KtbProvinceFilter {
2007
+ constructor(data) {
2008
+ if (data) {
2009
+ for (const property in data) {
2010
+ // eslint-disable-next-line no-prototype-builtins
2011
+ if (data.hasOwnProperty(property))
2012
+ this[property] = data[property];
2013
+ }
2014
+ }
2015
+ }
2016
+ }
2017
+
2018
+ class KtbCityFilter {
2019
+ constructor(data) {
2020
+ if (data) {
2021
+ for (const property in data) {
2022
+ // eslint-disable-next-line no-prototype-builtins
2023
+ if (data.hasOwnProperty(property))
2024
+ this[property] = data[property];
2025
+ }
2026
+ }
2027
+ }
2028
+ }
2029
+
2030
+ class KtbEmployeeFilter {
2031
+ constructor(data) {
2032
+ this.pageNumber = 1;
2033
+ this.pageSize = 4;
2034
+ if (data) {
2035
+ for (const property in data) {
2036
+ // eslint-disable-next-line no-prototype-builtins
2037
+ if (data.hasOwnProperty(property))
2038
+ this[property] = data[property];
2039
+ }
2040
+ }
2041
+ }
2042
+ }
2043
+
2044
+ class KtbEmployee {
2045
+ constructor(data) {
2046
+ if (data) {
2047
+ for (const property in data) {
2048
+ // eslint-disable-next-line no-prototype-builtins
2049
+ if (data.hasOwnProperty(property))
2050
+ this[property] = data[property];
2051
+ }
2052
+ }
2053
+ }
2054
+ }
2055
+ class KtbCreateEditEmployee {
2056
+ constructor(data) {
2057
+ if (data) {
2058
+ for (const property in data) {
2059
+ // eslint-disable-next-line no-prototype-builtins
2060
+ if (data.hasOwnProperty(property))
2061
+ this[property] = data[property];
2062
+ }
2063
+ }
2064
+ }
2065
+ }
2066
+
2067
+ class KtbSocialMediaFilter {
2068
+ constructor(data) {
2069
+ this.pageNumber = 1;
2070
+ this.pageSize = 4;
2071
+ if (data) {
2072
+ for (const property in data) {
2073
+ // eslint-disable-next-line no-prototype-builtins
2074
+ if (data.hasOwnProperty(property))
2075
+ this[property] = data[property];
2076
+ }
2077
+ }
2078
+ }
2079
+ }
2080
+
2081
+ class KtbSocialMedia {
2082
+ constructor(data) {
2083
+ if (data) {
2084
+ for (const property in data) {
2085
+ // eslint-disable-next-line no-prototype-builtins
2086
+ if (data.hasOwnProperty(property))
2087
+ this[property] = data[property];
2088
+ }
2089
+ }
2090
+ }
2091
+ }
2092
+ class KtbCreateSocialMedia {
2093
+ constructor(data) {
2094
+ if (data) {
2095
+ for (const property in data) {
2096
+ // eslint-disable-next-line no-prototype-builtins
2097
+ if (data.hasOwnProperty(property))
2098
+ this[property] = data[property];
2099
+ }
2100
+ }
2101
+ }
2102
+ }
2103
+ class KtbEditSocialMedia {
2104
+ constructor(data) {
2105
+ if (data) {
2106
+ for (const property in data) {
2107
+ // eslint-disable-next-line no-prototype-builtins
2108
+ if (data.hasOwnProperty(property))
2109
+ this[property] = data[property];
2110
+ }
2111
+ }
2112
+ }
2113
+ }
2114
+
2115
+ class KtbVendorFileFilter {
2116
+ constructor(data) {
2117
+ this.pageNumber = 1;
2118
+ this.pageSize = 4;
2119
+ if (data) {
2120
+ for (const property in data) {
2121
+ // eslint-disable-next-line no-prototype-builtins
2122
+ if (data.hasOwnProperty(property))
2123
+ this[property] = data[property];
2124
+ }
2125
+ }
2126
+ }
2127
+ }
2128
+
2129
+ class KtbVendorFile {
2130
+ 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
+ }
2138
+ }
2139
+ }
2140
+ class KtbCreateVendorFile {
2141
+ 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
+ }
2149
+ }
2150
+ }
2151
+ class KtbEditVendorFile {
2152
+ constructor(data) {
2153
+ if (data) {
2154
+ for (const property in data) {
2155
+ // eslint-disable-next-line no-prototype-builtins
2156
+ if (data.hasOwnProperty(property))
2157
+ this[property] = data[property];
2158
+ }
2159
+ }
2160
+ }
2161
+ }
2162
+
2163
+ class KtbFinancialViewPaged {
2164
+ constructor(data) {
2165
+ if (data) {
2166
+ for (const property in data) {
2167
+ // eslint-disable-next-line no-prototype-builtins
2168
+ if (data.hasOwnProperty(property))
2169
+ this[property] = data[property];
2170
+ }
2171
+ }
2172
+ }
2173
+ }
2174
+ class KtbFinancialView {
2175
+ constructor(data) {
2176
+ if (data) {
2177
+ for (const property in data) {
2178
+ // eslint-disable-next-line no-prototype-builtins
2179
+ if (data.hasOwnProperty(property))
2180
+ this[property] = data[property];
2181
+ }
2182
+ }
2183
+ }
2184
+ }
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 {
2199
+ constructor(data) {
2200
+ if (data) {
2201
+ for (const property in data) {
2202
+ // eslint-disable-next-line no-prototype-builtins
2203
+ if (data.hasOwnProperty(property))
2204
+ this[property] = data[property];
2205
+ }
2206
+ }
2207
+ }
2208
+ }
2209
+ class KtbFinancialAccountAdmin {
2210
+ constructor(data) {
2211
+ if (data) {
2212
+ for (const property in data) {
2213
+ // eslint-disable-next-line no-prototype-builtins
2214
+ if (data.hasOwnProperty(property))
2215
+ this[property] = data[property];
2216
+ }
2217
+ }
2218
+ }
2219
+ }
2220
+ class KtbFinancialTransactionAdminFilter {
2221
+ constructor(data) {
2222
+ if (data) {
2223
+ for (const property in data) {
2224
+ // eslint-disable-next-line no-prototype-builtins
2225
+ if (data.hasOwnProperty(property))
2226
+ this[property] = data[property];
2227
+ }
2228
+ }
2229
+ }
2230
+ }
2231
+ class ktbTransactionAdminStats {
2232
+ constructor(data) {
2233
+ if (data) {
2234
+ for (const property in data) {
2235
+ // eslint-disable-next-line no-prototype-builtins
2236
+ if (data.hasOwnProperty(property))
2237
+ this[property] = data[property];
2238
+ }
2239
+ }
2240
+ }
2241
+ }
2242
+ class KtbFinancialTransactionAdmin {
2243
+ constructor(data) {
2244
+ if (data) {
2245
+ for (const property in data) {
2246
+ // eslint-disable-next-line no-prototype-builtins
2247
+ if (data.hasOwnProperty(property))
2248
+ this[property] = data[property];
2249
+ }
2250
+ }
2251
+ }
2252
+ }
2253
+ class KtbCreateEditTranscation {
2254
+ constructor(data) {
2255
+ if (data) {
2256
+ for (const property in data) {
2257
+ // eslint-disable-next-line no-prototype-builtins
2258
+ if (data.hasOwnProperty(property))
2259
+ this[property] = data[property];
2260
+ }
2261
+ }
2262
+ }
2263
+ }
2264
+ class KtbUserBankAccountInfo {
2265
+ constructor(data) {
2266
+ if (data) {
2267
+ for (const property in data) {
2268
+ // eslint-disable-next-line no-prototype-builtins
2269
+ if (data.hasOwnProperty(property))
2270
+ this[property] = data[property];
2271
+ }
2272
+ }
2273
+ }
2274
+ }
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 {
2283
+ constructor(data) {
2284
+ if (data) {
2285
+ for (const property in data) {
2286
+ // eslint-disable-next-line no-prototype-builtins
2287
+ if (data.hasOwnProperty(property))
2288
+ this[property] = data[property];
2289
+ }
2290
+ }
2291
+ }
2292
+ }
2293
+ class KtbMessageDetail {
2294
+ constructor(data) {
2295
+ if (data) {
2296
+ for (const property in data) {
2297
+ // eslint-disable-next-line no-prototype-builtins
2298
+ if (data.hasOwnProperty(property))
2299
+ this[property] = data[property];
2300
+ }
2301
+ }
2302
+ }
2303
+ }
2304
+ class KtbMessageStat {
2305
+ constructor(data) {
2306
+ if (data) {
2307
+ for (const property in data) {
2308
+ // eslint-disable-next-line no-prototype-builtins
2309
+ if (data.hasOwnProperty(property))
2310
+ this[property] = data[property];
2311
+ }
2312
+ }
2313
+ }
2314
+ }
2315
+
2316
+ class KtbMessageForAdminFilter {
2317
+ constructor(data) {
2318
+ if (data) {
2319
+ for (const property in data) {
2320
+ // eslint-disable-next-line no-prototype-builtins
2321
+ if (data.hasOwnProperty(property))
2322
+ this[property] = data[property];
2323
+ }
2324
+ }
2325
+ }
2326
+ }
2327
+
2328
+ class KtbMessageForAdmin {
2329
+ constructor(data) {
2330
+ if (data) {
2331
+ for (const property in data) {
2332
+ // eslint-disable-next-line no-prototype-builtins
2333
+ if (data.hasOwnProperty(property))
2334
+ this[property] = data[property];
2335
+ }
2336
+ }
2337
+ }
2338
+ }
2339
+
2340
+ class KtbAddMessageForAdmin {
2341
+ constructor(data) {
2342
+ if (data) {
2343
+ for (const property in data) {
2344
+ // eslint-disable-next-line no-prototype-builtins
2345
+ if (data.hasOwnProperty(property))
2346
+ this[property] = data[property];
2347
+ }
2348
+ }
2349
+ }
2350
+ }
2351
+
2352
+ class ktbMessageStatsForAdmin {
2353
+ constructor(data) {
2354
+ this.messageCount = data.messageCount;
2355
+ this.violationCount = data.violationCount;
2356
+ }
2357
+ }
2358
+
2359
+ class ktbGetPostOrderListHtmlInput {
2360
+ constructor(data) {
2361
+ if (data) {
2362
+ for (const property in data) {
2363
+ // eslint-disable-next-line no-prototype-builtins
2364
+ if (data.hasOwnProperty(property))
2365
+ this[property] = data[property];
2366
+ }
2367
+ }
2368
+ }
2369
+ }
2370
+
2371
+ class ktbGetReadyToSendBarcodeHtmlInput {
2372
+ constructor(data) {
2373
+ if (data) {
2374
+ for (const property in data) {
2375
+ // eslint-disable-next-line no-prototype-builtins
2376
+ if (data.hasOwnProperty(property))
2377
+ this[property] = data[property];
2378
+ }
2379
+ }
2380
+ }
2381
+ }
2382
+
2383
+ class ktbGetPostOrderHtmlInput {
2384
+ constructor(data) {
2385
+ if (data) {
2386
+ for (const property in data) {
2387
+ // eslint-disable-next-line no-prototype-builtins
2388
+ if (data.hasOwnProperty(property))
2389
+ this[property] = data[property];
2390
+ }
2391
+ }
2392
+ }
2393
+ }
2394
+
2395
+ class KtbGetShopListDto {
2396
+ constructor(data) {
2397
+ if (data) {
2398
+ this.id = data.id;
2399
+ this.title = data.title;
2400
+ }
2401
+ }
2402
+ }
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 {
2418
+ constructor(data) {
2419
+ if (data) {
2420
+ this.id = data.id;
2421
+ this.token = data.token;
2422
+ }
2423
+ }
2424
+ }
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 {
2434
+ constructor(data) {
2435
+ this.pageNumber = 1;
2436
+ this.pageSize = 10;
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
+
2447
+ class KtbOperation {
2448
+ constructor(data) {
2449
+ if (data) {
2450
+ for (const property in data) {
2451
+ // eslint-disable-next-line no-prototype-builtins
2452
+ if (data.hasOwnProperty(property))
2453
+ this[property] = data[property];
2454
+ }
2455
+ }
2456
+ }
2457
+ }
2458
+ class KtbCustomerOperationStats {
2459
+ constructor(data) {
2460
+ if (data) {
2461
+ for (const property in data) {
2462
+ // eslint-disable-next-line no-prototype-builtins
2463
+ if (data.hasOwnProperty(property))
2464
+ this[property] = data[property];
2465
+ }
2466
+ }
2467
+ }
2468
+ }
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 {
2486
+ constructor(data) {
2487
+ if (data) {
2488
+ for (const property in data) {
2489
+ // eslint-disable-next-line no-prototype-builtins
2490
+ if (data.hasOwnProperty(property))
2491
+ this[property] = data[property];
2492
+ }
2493
+ }
2494
+ }
2495
+ }
2496
+
2497
+ class KtbUserFamily {
2498
+ constructor(data) {
2499
+ if (data) {
2500
+ for (const property in data) {
2501
+ if (Object.prototype.hasOwnProperty.call(data, property)) {
2502
+ this[property] = data[property];
2503
+ }
2504
+ }
2505
+ }
2506
+ }
2507
+ }
2508
+ class KtbCreateUserFamily {
2509
+ constructor(data) {
2510
+ if (data) {
2511
+ for (const property in data) {
2512
+ if (Object.prototype.hasOwnProperty.call(data, property)) {
2513
+ this[property] = data[property];
2514
+ }
2515
+ }
2516
+ }
2517
+ }
2518
+ }
2519
+
2520
+ class KtbUserFamilyFilter {
2521
+ constructor(data) {
2522
+ this.pageNumber = 1;
2523
+ this.pageSize = 10;
2524
+ if (data) {
2525
+ for (const property in data) {
2526
+ // eslint-disable-next-line no-prototype-builtins
2527
+ if (data.hasOwnProperty(property))
2528
+ this[property] = data[property];
2529
+ }
2530
+ }
2531
+ }
2532
+ }
2533
+
2534
+ class KtDepartmentInput {
2535
+ constructor(data) {
2536
+ if (data) {
2537
+ this.pageNumber = data.pageNumber;
2538
+ this.pageSize = data.pageSize;
2539
+ }
2540
+ }
2541
+ }
2542
+
2543
+ class KtbDepartment {
2544
+ constructor(data) {
2545
+ if (data) {
2546
+ this.id = data.id;
2547
+ this.title = data.title;
2548
+ }
2549
+ }
2550
+ }
2551
+
2552
+ class KtbDepartmentsResult {
2553
+ constructor(data) {
2554
+ this.totalCount = 0;
2555
+ this.items = [];
2556
+ if (data) {
2557
+ this.totalCount = data.totalCount;
2558
+ this.items = data.items;
2559
+ }
2560
+ }
2561
+ }
2562
+
2563
+ class KtbCashBackForAdminFilter {
2564
+ constructor(data) {
2565
+ if (data) {
2566
+ for (const property in data) {
2567
+ // eslint-disable-next-line no-prototype-builtins
2568
+ if (data.hasOwnProperty(property))
2569
+ this[property] = data[property];
2570
+ }
2571
+ }
2572
+ }
2573
+ }
2574
+
2575
+ class KtbCashBackForAdmin {
2576
+ constructor(data) {
2577
+ if (data) {
2578
+ for (const property in data) {
2579
+ // eslint-disable-next-line no-prototype-builtins
2580
+ if (data.hasOwnProperty(property))
2581
+ this[property] = data[property];
2582
+ }
2583
+ }
2584
+ }
2585
+ }
2586
+
2587
+ class KtbCashBackChangeStatus {
2588
+ constructor(data) {
2589
+ if (data) {
2590
+ for (const property in data) {
2591
+ // eslint-disable-next-line no-prototype-builtins
2592
+ if (data.hasOwnProperty(property))
2593
+ this[property] = data[property];
2594
+ }
2595
+ }
2596
+ }
2597
+ }
2598
+
2599
+ class KtbViolationForAdminFilter {
2600
+ constructor(data) {
2601
+ if (data) {
2602
+ for (const property in data) {
2603
+ // eslint-disable-next-line no-prototype-builtins
2604
+ if (data.hasOwnProperty(property))
2605
+ this[property] = data[property];
2606
+ }
2607
+ }
2608
+ }
2609
+ }
2610
+
2611
+ class KtbViolationForAdmin {
2612
+ constructor(data) {
2613
+ if (data) {
2614
+ for (const property in data) {
2615
+ // eslint-disable-next-line no-prototype-builtins
2616
+ if (data.hasOwnProperty(property))
2617
+ this[property] = data[property];
2618
+ }
2619
+ }
2620
+ }
2621
+ }
2622
+
2623
+ class KtbAddViolationForAdmin {
2624
+ constructor(data) {
2625
+ if (data) {
2626
+ for (const property in data) {
2627
+ // eslint-disable-next-line no-prototype-builtins
2628
+ if (data.hasOwnProperty(property))
2629
+ this[property] = data[property];
2630
+ }
2631
+ }
2632
+ }
2633
+ }
2634
+
2635
+ class KtbMessageReceiverFilter {
2636
+ constructor(data) {
2637
+ if (data) {
2638
+ for (const property in data) {
2639
+ // eslint-disable-next-line no-prototype-builtins
2640
+ if (data.hasOwnProperty(property))
2641
+ this[property] = data[property];
2642
+ }
2643
+ }
2644
+ }
2645
+ }
2646
+
2647
+ class KtbMessageReceiver {
2648
+ constructor(data) {
2649
+ if (data) {
2650
+ for (const property in data) {
2651
+ // eslint-disable-next-line no-prototype-builtins
2652
+ if (data.hasOwnProperty(property))
2653
+ this[property] = data[property];
2654
+ }
2655
+ }
2656
+ }
2657
+ }
2658
+
2659
+ class KtbMessageReceiverTypeStats {
2660
+ constructor(data) {
2661
+ this.adminMessagesCount = data.adminMessagesCount;
2662
+ this.violationsCount = data.violationsCount;
2663
+ this.allMessagesCount = this.adminMessagesCount + this.violationsCount;
2664
+ }
2665
+ }
2666
+
2667
+ class KtbVendorUnreadMessageReceiver {
2668
+ constructor(data) {
2669
+ if (data) {
2670
+ for (const property in data) {
2671
+ // eslint-disable-next-line no-prototype-builtins
2672
+ if (data.hasOwnProperty(property))
2673
+ this[property] = data[property];
2674
+ }
2675
+ }
2676
+ }
2677
+ }
2678
+
2679
+ class KtbStatisticsItem {
2680
+ constructor(data) {
2681
+ 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;
2687
+ }
2688
+ }
2689
+ }
2690
+ class KtbStatisticsDateItem {
2691
+ /**
2692
+ *
2693
+ */
2694
+ constructor(data) {
2695
+ this.date = data.date;
2696
+ this.value = data.value;
2697
+ }
2698
+ }
2699
+
2700
+ class KtbUsersFamiliesForAdmin {
2701
+ constructor(data) {
2702
+ if (data) {
2703
+ for (const property in data) {
2704
+ // eslint-disable-next-line no-prototype-builtins
2705
+ if (data.hasOwnProperty(property))
2706
+ this[property] = data[property];
2707
+ }
2708
+ }
2709
+ }
2710
+ }
2711
+
2712
+ class KtbVendorCommentForAdminFilter {
2713
+ constructor(data) {
2714
+ if (data) {
2715
+ for (const property in data) {
2716
+ // eslint-disable-next-line no-prototype-builtins
2717
+ if (data.hasOwnProperty(property))
2718
+ this[property] = data[property];
2719
+ }
2720
+ }
2721
+ }
2722
+ }
2723
+
2724
+ class KtbVendorCommentForAdmin {
2725
+ constructor(data) {
2726
+ if (data) {
2727
+ for (const property in data) {
2728
+ // eslint-disable-next-line no-prototype-builtins
2729
+ if (data.hasOwnProperty(property))
2730
+ this[property] = data[property];
2731
+ }
2732
+ }
2733
+ }
2734
+ }
2735
+
2736
+ class KtbBookCommentForAdminFilter {
2737
+ constructor(data) {
2738
+ if (data) {
2739
+ for (const property in data) {
2740
+ // eslint-disable-next-line no-prototype-builtins
2741
+ if (data.hasOwnProperty(property))
2742
+ this[property] = data[property];
2743
+ }
2744
+ }
2745
+ }
2746
+ }
2747
+
2748
+ class KtbBookCommentForAdmin {
2749
+ constructor(data) {
2750
+ if (data) {
2751
+ for (const property in data) {
2752
+ // eslint-disable-next-line no-prototype-builtins
2753
+ if (data.hasOwnProperty(property))
2754
+ this[property] = data[property];
2755
+ }
2756
+ }
2757
+ }
2758
+ }
2759
+
2760
+ class KtbInvoiceOrderItem {
2761
+ constructor(data) {
2762
+ if (data) {
2763
+ for (const property in data) {
2764
+ // eslint-disable-next-line no-prototype-builtins
2765
+ if (data.hasOwnProperty(property))
2766
+ this[property] = data[property];
2767
+ }
2768
+ }
2769
+ }
2770
+ }
2771
+
2772
+ class KtbVendorImageInfo {
2773
+ constructor(data) {
2774
+ if (data) {
2775
+ for (const property in data) {
2776
+ // eslint-disable-next-line no-prototype-builtins
2777
+ if (data.hasOwnProperty(property))
2778
+ this[property] = data[property];
2779
+ }
2780
+ }
2781
+ }
2782
+ }
2783
+
2784
+ class KtbGiftCheckUserExistance {
2785
+ constructor(data) {
2786
+ if (data) {
2787
+ this.isExist = data.isExist;
2788
+ this.mobile = data.mobile;
2789
+ }
2790
+ }
2791
+ }
2792
+
2793
+ class KtbCreateGiftInput {
2794
+ constructor(data) {
2795
+ if (data) {
2796
+ for (const property in data) {
2797
+ // eslint-disable-next-line no-prototype-builtins
2798
+ if (data.hasOwnProperty(property))
2799
+ this[property] = data[property];
2800
+ }
2801
+ }
2802
+ }
2803
+ }
2804
+
2805
+ class KtbGiftForAdminFilter {
2806
+ constructor(data) {
2807
+ if (data) {
2808
+ for (const property in data) {
2809
+ // eslint-disable-next-line no-prototype-builtins
2810
+ if (data.hasOwnProperty(property))
2811
+ this[property] = data[property];
2812
+ }
2813
+ }
2814
+ }
2815
+ }
2816
+
2817
+ class KtbGiftForAdmin {
2818
+ constructor(data) {
2819
+ if (data) {
2820
+ for (const property in data) {
2821
+ // eslint-disable-next-line no-prototype-builtins
2822
+ if (data.hasOwnProperty(property))
2823
+ this[property] = data[property];
2824
+ }
2825
+ }
2826
+ }
2827
+ }
2828
+
2829
+ class KtbCollection {
2830
+ constructor(data) {
2831
+ this.visible = false;
2832
+ if (data) {
2833
+ for (const property in data) {
2834
+ // eslint-disable-next-line no-prototype-builtins
2835
+ if (data.hasOwnProperty(property))
2836
+ this[property] = data[property];
2837
+ }
2838
+ }
2839
+ }
2840
+ }
2841
+ class KtbCatalogFilter {
2842
+ constructor() {
2843
+ this.subjectCategoryId = null;
2844
+ this.pageNumber = 1;
2845
+ this.pageSize = 100;
2846
+ }
2847
+ }
2848
+
2849
+ class KtbCollectionFilter {
2850
+ constructor(data) {
2851
+ this.visibility = null;
2852
+ this.pageNumber = 1;
2853
+ this.pageSize = 10;
2854
+ if (data) {
2855
+ for (const property in data) {
2856
+ // eslint-disable-next-line no-prototype-builtins
2857
+ if (data.hasOwnProperty(property))
2858
+ this[property] = data[property];
2859
+ }
2860
+ }
2861
+ }
2862
+ }
2863
+
2864
+ class KtbCreateCollection {
2865
+ constructor(data) {
2866
+ this.products = [];
2867
+ this.visible = false;
2868
+ this.imageBlobFile = null;
2869
+ if (data) {
2870
+ for (const property in data) {
2871
+ // eslint-disable-next-line no-prototype-builtins
2872
+ if (data.hasOwnProperty(property))
2873
+ this[property] = data[property];
2874
+ }
2875
+ }
2876
+ }
2877
+ }
2878
+ class KtbCollectionDetail {
2879
+ constructor(data) {
2880
+ this.visible = false;
2881
+ this.products = [];
2882
+ if (data) {
2883
+ for (const property in data) {
2884
+ // eslint-disable-next-line no-prototype-builtins
2885
+ if (data.hasOwnProperty(property))
2886
+ this[property] = data[property];
2887
+ }
2888
+ }
2889
+ }
2890
+ }
2891
+
2892
+ class KtbStatisticCardItem {
2893
+ constructor(data) {
2894
+ if (data) {
2895
+ for (const property in data) {
2896
+ // eslint-disable-next-line no-prototype-builtins
2897
+ if (data.hasOwnProperty(property))
2898
+ this[property] = data[property];
2899
+ }
2900
+ }
2901
+ }
2902
+ }
2903
+
2904
+ class IKtbVendorService {
2905
+ }
2906
+
2907
+ class IKtbAdminVendorService {
2908
+ }
2909
+
2910
+ class IKtbCrudBaseServices {
2911
+ }
2912
+ class IKtbCrudBaseFilterServices {
2913
+ }
2914
+
2915
+ class IKtbProductService extends IKtbCrudBaseFilterServices {
2916
+ }
2917
+
2918
+ class IKtbLoadingService {
2919
+ }
2920
+
2921
+ class IKtbSalePlanService {
2922
+ }
2923
+
2924
+ class IKtbBannerService {
2925
+ }
2926
+
2927
+ class IKtbUserGuideService {
2928
+ }
2929
+
2930
+ class IKtbFaqService {
2931
+ }
2932
+
2933
+ class IKtbUsersFamiliesService {
2934
+ }
2935
+
2936
+ class IKtbUserAddressService {
2937
+ }
2938
+
2939
+ class IKtbUserService {
2940
+ }
2941
+
2942
+ class IKtbUserProfileService {
2943
+ }
2944
+
2945
+ class IKtbTokenService {
2946
+ }
2947
+
2948
+ class IKtbSearchService {
2949
+ }
2950
+
2951
+ class IKtbCategoryService {
2952
+ }
2953
+
2954
+ class IKtbAuthorsService {
2955
+ }
2956
+
2957
+ class IKtbPublisherService {
2958
+ }
2959
+
2960
+ class IKtbCommentService {
2961
+ }
2962
+
2963
+ class IKtbFavoritesService {
2964
+ }
2965
+
2966
+ class IKtbBasketService {
2967
+ constructor() {
2968
+ // abstract protected _itemsCount: number;
2969
+ this._itemCount = 0;
2970
+ this._itemsCountBeh = new BehaviorSubject(this._itemCount);
2971
+ this.itemCount$ = this._itemsCountBeh.asObservable();
2972
+ this._basket = [];
2973
+ this._basketBeh = new BehaviorSubject(this._basket);
2974
+ this.basket$ = this._basketBeh.asObservable();
2975
+ this._detail = null;
2976
+ this._detailBeh = new BehaviorSubject(null);
2977
+ this.detail$ = this._detailBeh.asObservable();
2978
+ this._isValid = false;
2979
+ this._isValidBeh = new BehaviorSubject(this._isValid);
2980
+ this.valid$ = this._isValidBeh.asObservable();
2981
+ this._busy = false;
2982
+ this._busyBeh = new BehaviorSubject(this._busy);
2983
+ this.busy$ = this._busyBeh.asObservable();
2984
+ this._cart = null;
2985
+ this._cartBeh = new BehaviorSubject(null);
2986
+ this.cart$ = this._cartBeh.asObservable();
2987
+ }
2988
+ }
2989
+
2990
+ class IKtbInPersonBasketService {
2991
+ constructor() {
2992
+ // abstract protected _itemsCount: number;
2993
+ this._itemCount = 0;
2994
+ this._itemsCountBeh = new BehaviorSubject(this._itemCount);
2995
+ this.itemCount$ = this._itemsCountBeh.asObservable();
2996
+ this._basket = [];
2997
+ this._basketBeh = new BehaviorSubject(this._basket);
2998
+ this.basket$ = this._basketBeh.asObservable();
2999
+ this._detail = null;
3000
+ this._detailBeh = new BehaviorSubject(null);
3001
+ this.detail$ = this._detailBeh.asObservable();
3002
+ this._isValid = false;
3003
+ this._isValidBeh = new BehaviorSubject(this._isValid);
3004
+ this.valid$ = this._isValidBeh.asObservable();
3005
+ this._busy = false;
3006
+ this._busyBeh = new BehaviorSubject(this._busy);
3007
+ this.busy$ = this._busyBeh.asObservable();
3008
+ this._cart = null;
3009
+ this._cartBeh = new BehaviorSubject(null);
3010
+ this.cart$ = this._cartBeh.asObservable();
3011
+ }
3012
+ clearBasket() {
3013
+ this._basket = [];
3014
+ localStorage.removeItem(this._basketName);
3015
+ return of();
3016
+ }
3017
+ }
3018
+
3019
+ class IKtbCouponService {
3020
+ }
3021
+
3022
+ class IKtbAdminCouponService {
3023
+ ;
3024
+ ;
3025
+ }
3026
+
3027
+ class IKtbWithdrawalService {
3028
+ }
3029
+
3030
+ class IKtbInventoryService {
3031
+ }
3032
+
3033
+ class IKtbOrderService {
3034
+ }
3035
+
3036
+ class IKtbTicketsService {
3037
+ }
3038
+
3039
+ class IKtbAdminTicketService {
3040
+ }
3041
+
3042
+ class IKtbFileDownloadService {
3043
+ }
3044
+
3045
+ class IKtbReturnOnSaleService {
3046
+ }
3047
+
3048
+ class IKtbAccountService {
3049
+ }
3050
+
3051
+ class IKtbHostSettingService {
3052
+ }
3053
+
3054
+ class IKtbNotificationService {
3055
+ }
3056
+
3057
+ class IKtbPurchaseService {
3058
+ }
3059
+
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 {
3130
+ }
3131
+
3132
+ class IKtbVendorStatisticService {
3133
+ }
3134
+
3135
+ var KtbDisplayShowType;
3136
+ (function (KtbDisplayShowType) {
3137
+ KtbDisplayShowType[KtbDisplayShowType["simple"] = 1] = "simple";
3138
+ KtbDisplayShowType[KtbDisplayShowType["detailed"] = 2] = "detailed";
3139
+ KtbDisplayShowType[KtbDisplayShowType["list"] = 3] = "list";
3140
+ KtbDisplayShowType[KtbDisplayShowType["card"] = 4] = "card";
3141
+ KtbDisplayShowType[KtbDisplayShowType["gallery"] = 5] = "gallery";
3142
+ })(KtbDisplayShowType || (KtbDisplayShowType = {}));
3143
+
3144
+ const ktbAlphabets = ['آ', 'ا', 'الف', 'ب', 'پ', 'ت', 'ث', 'ج', 'چ', 'ح', 'خ', 'د', 'ذ', 'ر', 'ز', 'ژ', 'س', 'ش', 'ص', 'ض', 'ط', 'ظ', 'ع', 'غ', 'ف', 'ق', 'ک', 'گ', 'ل', 'م', 'ن', 'و', 'ه', 'ی'];
3145
+
3146
+ var KtbOrderState;
3147
+ (function (KtbOrderState) {
3148
+ KtbOrderState[KtbOrderState["All"] = -1] = "All";
3149
+ KtbOrderState[KtbOrderState["Created"] = 0] = "Created";
3150
+ KtbOrderState[KtbOrderState["PreOrder"] = 1] = "PreOrder";
3151
+ KtbOrderState[KtbOrderState["Accepted"] = 2] = "Accepted";
3152
+ KtbOrderState[KtbOrderState["Rejected"] = 3] = "Rejected";
3153
+ KtbOrderState[KtbOrderState["Paid"] = 4] = "Paid";
3154
+ KtbOrderState[KtbOrderState["Sent"] = 5] = "Sent";
3155
+ KtbOrderState[KtbOrderState["Delivered"] = 6] = "Delivered";
3156
+ KtbOrderState[KtbOrderState["Canceled"] = 7] = "Canceled";
3157
+ KtbOrderState[KtbOrderState["Returend"] = 8] = "Returend";
3158
+ KtbOrderState[KtbOrderState["WaitingForUserAcceptance"] = 9] = "WaitingForUserAcceptance";
3159
+ KtbOrderState[KtbOrderState["PartialDelivered"] = 10] = "PartialDelivered";
3160
+ KtbOrderState[KtbOrderState["Finished"] = 11] = "Finished";
3161
+ KtbOrderState[KtbOrderState["PartialReturned"] = 12] = "PartialReturned";
3162
+ })(KtbOrderState || (KtbOrderState = {}));
3163
+
3164
+ var KtbNotificationEnum;
3165
+ (function (KtbNotificationEnum) {
3166
+ KtbNotificationEnum[KtbNotificationEnum["Order"] = 0] = "Order";
3167
+ KtbNotificationEnum[KtbNotificationEnum["Credit"] = 1] = "Credit";
3168
+ KtbNotificationEnum[KtbNotificationEnum["Ticket"] = 2] = "Ticket";
3169
+ KtbNotificationEnum[KtbNotificationEnum["Gift"] = 3] = "Gift";
3170
+ })(KtbNotificationEnum || (KtbNotificationEnum = {}));
3171
+
3172
+ var KtbCouponType;
3173
+ (function (KtbCouponType) {
3174
+ KtbCouponType[KtbCouponType["Coupon"] = 1] = "Coupon";
3175
+ KtbCouponType[KtbCouponType["Voucher"] = 2] = "Voucher";
3176
+ KtbCouponType[KtbCouponType["Gift"] = 3] = "Gift";
3177
+ KtbCouponType[KtbCouponType["CoorperativeSubsidy"] = 4] = "CoorperativeSubsidy";
3178
+ })(KtbCouponType || (KtbCouponType = {}));
3179
+
3180
+ var KtbTransactionEnum;
3181
+ (function (KtbTransactionEnum) {
3182
+ KtbTransactionEnum["Purchase_Book_System"] = "Purchase_Book_System";
3183
+ KtbTransactionEnum["Increase_Balance"] = "Increase_Balance";
3184
+ KtbTransactionEnum["Refund"] = "Refund";
3185
+ KtbTransactionEnum["Increase_Credit"] = "Increase_Credit";
3186
+ })(KtbTransactionEnum || (KtbTransactionEnum = {}));
3187
+ var KtbTransactionTypesEnum;
3188
+ (function (KtbTransactionTypesEnum) {
3189
+ KtbTransactionTypesEnum[KtbTransactionTypesEnum["All"] = 0] = "All";
3190
+ KtbTransactionTypesEnum[KtbTransactionTypesEnum["Payed"] = 1] = "Payed";
3191
+ KtbTransactionTypesEnum[KtbTransactionTypesEnum["Received"] = 2] = "Received";
3192
+ KtbTransactionTypesEnum[KtbTransactionTypesEnum["Credit"] = 3] = "Credit";
3193
+ KtbTransactionTypesEnum[KtbTransactionTypesEnum["Canceled"] = 4] = "Canceled";
3194
+ })(KtbTransactionTypesEnum || (KtbTransactionTypesEnum = {}));
3195
+ const KtbTransactionTypes = [
3196
+ { value: 0, title: 'All', label: 'همه', isShow: true },
3197
+ { value: 1, title: 'Payed', label: 'پرداخت', isShow: true },
3198
+ { value: 2, title: 'Received', label: 'دریافت', isShow: true },
3199
+ { value: 3, title: 'Credit', label: 'اعتباری', isShow: false },
3200
+ { value: 4, title: 'Canceled', label: 'کنسل', isShow: false }
3201
+ ];
3202
+
3203
+ var KtbShopsTabs;
3204
+ (function (KtbShopsTabs) {
3205
+ KtbShopsTabs[KtbShopsTabs["allShops"] = 1] = "allShops";
3206
+ KtbShopsTabs[KtbShopsTabs["myCity"] = 2] = "myCity";
3207
+ })(KtbShopsTabs || (KtbShopsTabs = {}));
3208
+
3209
+ var KtbPaymentType;
3210
+ (function (KtbPaymentType) {
3211
+ KtbPaymentType[KtbPaymentType["Withdrawal"] = 0] = "Withdrawal";
3212
+ KtbPaymentType[KtbPaymentType["Gift"] = 1] = "Gift";
3213
+ KtbPaymentType[KtbPaymentType["Deposit"] = 2] = "Deposit";
3214
+ KtbPaymentType[KtbPaymentType["CreditCode"] = 3] = "CreditCode";
3215
+ })(KtbPaymentType || (KtbPaymentType = {}));
3216
+
3217
+ var KtbPaymentMessageType;
3218
+ (function (KtbPaymentMessageType) {
3219
+ KtbPaymentMessageType[KtbPaymentMessageType["CODE"] = 0] = "CODE";
3220
+ KtbPaymentMessageType[KtbPaymentMessageType["PRICE"] = 1] = "PRICE";
3221
+ })(KtbPaymentMessageType || (KtbPaymentMessageType = {}));
3222
+
3223
+ var KtbIconsEnum;
3224
+ (function (KtbIconsEnum) {
3225
+ KtbIconsEnum["Toman"] = "ktb-toman";
3226
+ KtbIconsEnum["Gift"] = "ktb-gift";
3227
+ KtbIconsEnum["Ticket"] = "ktb-ticket";
3228
+ KtbIconsEnum["Quote"] = "ktb-quote";
3229
+ KtbIconsEnum["Close"] = "ktb-close";
3230
+ KtbIconsEnum["ArrowLeft"] = "ktb-back";
3231
+ KtbIconsEnum["CloseCircle"] = "ktb-close-circle";
3232
+ KtbIconsEnum["BillList"] = "ktb-bill-list";
3233
+ KtbIconsEnum["Plan"] = "ktb-plan";
3234
+ KtbIconsEnum["Support"] = "ktb-support";
3235
+ KtbIconsEnum["Like"] = "ktb-like";
3236
+ KtbIconsEnum["LikeFilled"] = "ktb-like-filled";
3237
+ KtbIconsEnum["Printer"] = "ktb-printer";
3238
+ KtbIconsEnum["CarrotRight"] = "ktb-carrot-right";
3239
+ KtbIconsEnum["Delivery"] = "ktb-delivery";
3240
+ KtbIconsEnum["Document"] = "ktb-document";
3241
+ KtbIconsEnum["Shop"] = "ktb-shop";
3242
+ KtbIconsEnum["Post"] = "/assets/icons/png/img-post.png";
3243
+ KtbIconsEnum["SecurePaymentLine"] = "ktb-secure-payment-line";
3244
+ KtbIconsEnum["Info"] = "ktb-info";
3245
+ KtbIconsEnum["UploadSquare"] = "ktb-upload-square";
3246
+ KtbIconsEnum["ErrorInfo"] = "/assets/icons/error-info";
3247
+ KtbIconsEnum["ErrorFilled"] = "ktb-error-filled";
3248
+ KtbIconsEnum["Error"] = "ktb-error";
3249
+ KtbIconsEnum["Question"] = "ktb-question";
3250
+ KtbIconsEnum["ChevronLeft"] = "ktb-chevron-left";
3251
+ KtbIconsEnum["Wallet"] = "ktb-wallet";
3252
+ KtbIconsEnum["MoreFilled"] = "ktb-more-filled";
3253
+ KtbIconsEnum["ReturnBook"] = "ktb-return-book";
3254
+ })(KtbIconsEnum || (KtbIconsEnum = {}));
3255
+
3256
+ var KtbTicketCategoriesEnum;
3257
+ (function (KtbTicketCategoriesEnum) {
3258
+ KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Comment"] = 1] = "Comment";
3259
+ KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Cancel"] = 2] = "Cancel";
3260
+ KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Failed"] = 3] = "Failed";
3261
+ KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Delivery"] = 4] = "Delivery";
3262
+ KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Unregistered"] = 5] = "Unregistered";
3263
+ KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Price"] = 6] = "Price";
3264
+ KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Payment"] = 7] = "Payment";
3265
+ KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Credit"] = 8] = "Credit";
3266
+ KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Visited"] = 9] = "Visited";
3267
+ KtbTicketCategoriesEnum[KtbTicketCategoriesEnum["Defectiveness"] = 10] = "Defectiveness";
3268
+ })(KtbTicketCategoriesEnum || (KtbTicketCategoriesEnum = {}));
3269
+
3270
+ var KtbProductTypeEnum;
3271
+ (function (KtbProductTypeEnum) {
3272
+ KtbProductTypeEnum[KtbProductTypeEnum["SpecialDiscount"] = 1] = "SpecialDiscount";
3273
+ KtbProductTypeEnum[KtbProductTypeEnum["Kids"] = 2] = "Kids";
3274
+ KtbProductTypeEnum[KtbProductTypeEnum["BestSeller"] = 3] = "BestSeller";
3275
+ KtbProductTypeEnum[KtbProductTypeEnum["Newest"] = 4] = "Newest";
3276
+ KtbProductTypeEnum[KtbProductTypeEnum["Offer"] = 5] = "Offer";
3277
+ KtbProductTypeEnum[KtbProductTypeEnum["BestBook"] = 6] = "BestBook";
3278
+ })(KtbProductTypeEnum || (KtbProductTypeEnum = {}));
3279
+
3280
+ var KtbRelationTypeEnum;
3281
+ (function (KtbRelationTypeEnum) {
3282
+ KtbRelationTypeEnum[KtbRelationTypeEnum["Spouse"] = 1] = "Spouse";
3283
+ KtbRelationTypeEnum[KtbRelationTypeEnum["Child"] = 2] = "Child";
3284
+ KtbRelationTypeEnum[KtbRelationTypeEnum["Brother"] = 3] = "Brother";
3285
+ KtbRelationTypeEnum[KtbRelationTypeEnum["Sister"] = 4] = "Sister";
3286
+ KtbRelationTypeEnum[KtbRelationTypeEnum["Father"] = 5] = "Father";
3287
+ KtbRelationTypeEnum[KtbRelationTypeEnum["Mother"] = 6] = "Mother";
3288
+ })(KtbRelationTypeEnum || (KtbRelationTypeEnum = {}));
3289
+
3290
+ var KtbValidatePasswordEnum;
3291
+ (function (KtbValidatePasswordEnum) {
3292
+ KtbValidatePasswordEnum[KtbValidatePasswordEnum["Required"] = 0] = "Required";
3293
+ KtbValidatePasswordEnum[KtbValidatePasswordEnum["MinLength"] = 1] = "MinLength";
3294
+ KtbValidatePasswordEnum[KtbValidatePasswordEnum["UpperCaseAndLowerCase"] = 2] = "UpperCaseAndLowerCase";
3295
+ KtbValidatePasswordEnum[KtbValidatePasswordEnum["IsNumber"] = 3] = "IsNumber";
3296
+ KtbValidatePasswordEnum[KtbValidatePasswordEnum["Pattern"] = 4] = "Pattern";
3297
+ })(KtbValidatePasswordEnum || (KtbValidatePasswordEnum = {}));
3298
+
3299
+ var KtbOrderItemStatusEnum;
3300
+ (function (KtbOrderItemStatusEnum) {
3301
+ KtbOrderItemStatusEnum[KtbOrderItemStatusEnum["preparing"] = 0] = "preparing";
3302
+ KtbOrderItemStatusEnum[KtbOrderItemStatusEnum["AwaitingPayment"] = 1] = "AwaitingPayment";
3303
+ KtbOrderItemStatusEnum[KtbOrderItemStatusEnum["Delivered"] = 2] = "Delivered";
3304
+ })(KtbOrderItemStatusEnum || (KtbOrderItemStatusEnum = {}));
3305
+ var KtbPostStatusEnum;
3306
+ (function (KtbPostStatusEnum) {
3307
+ KtbPostStatusEnum[KtbPostStatusEnum["RegisteredInStore"] = 0] = "RegisteredInStore";
3308
+ KtbPostStatusEnum[KtbPostStatusEnum["ReadyToPrint"] = 1] = "ReadyToPrint";
3309
+ KtbPostStatusEnum[KtbPostStatusEnum["ReadyToSend"] = 2] = "ReadyToSend";
3310
+ KtbPostStatusEnum[KtbPostStatusEnum["ProblemInReadyToSend"] = 3] = "ProblemInReadyToSend";
3311
+ KtbPostStatusEnum[KtbPostStatusEnum["StoreNotAvailable"] = 4] = "StoreNotAvailable";
3312
+ KtbPostStatusEnum[KtbPostStatusEnum["Accepted"] = 5] = "Accepted";
3313
+ KtbPostStatusEnum[KtbPostStatusEnum["CantBeAccepted"] = 6] = "CantBeAccepted";
3314
+ KtbPostStatusEnum[KtbPostStatusEnum["Distributed"] = 7] = "Distributed";
3315
+ KtbPostStatusEnum[KtbPostStatusEnum["DelayedInOffice"] = 8] = "DelayedInOffice";
3316
+ KtbPostStatusEnum[KtbPostStatusEnum["CantBeDistribute"] = 9] = "CantBeDistribute";
3317
+ KtbPostStatusEnum[KtbPostStatusEnum["PreReturn"] = 10] = "PreReturn";
3318
+ KtbPostStatusEnum[KtbPostStatusEnum["FinalReturnRegistered"] = 11] = "FinalReturnRegistered";
3319
+ KtbPostStatusEnum[KtbPostStatusEnum["Damaged"] = 12] = "Damaged";
3320
+ KtbPostStatusEnum[KtbPostStatusEnum["DamagedRepaid"] = 13] = "DamagedRepaid";
3321
+ KtbPostStatusEnum[KtbPostStatusEnum["AcceptedByFinancial"] = 70] = "AcceptedByFinancial";
3322
+ KtbPostStatusEnum[KtbPostStatusEnum["PaidByFinacial"] = 71] = "PaidByFinacial";
3323
+ KtbPostStatusEnum[KtbPostStatusEnum["PaiedToPost"] = 72] = "PaiedToPost";
3324
+ KtbPostStatusEnum[KtbPostStatusEnum["Deleted"] = 80] = "Deleted";
3325
+ KtbPostStatusEnum[KtbPostStatusEnum["Unknown"] = 81] = "Unknown";
3326
+ KtbPostStatusEnum[KtbPostStatusEnum["RemainingAccepted"] = 82] = "RemainingAccepted";
3327
+ KtbPostStatusEnum[KtbPostStatusEnum["ReturnApproved"] = 83] = "ReturnApproved";
3328
+ KtbPostStatusEnum[KtbPostStatusEnum["AwaitingInquiry"] = 100] = "AwaitingInquiry";
3329
+ KtbPostStatusEnum[KtbPostStatusEnum["ChangingState"] = 101] = "ChangingState";
3330
+ })(KtbPostStatusEnum || (KtbPostStatusEnum = {}));
3331
+ var KtbSendOrderStatus;
3332
+ (function (KtbSendOrderStatus) {
3333
+ KtbSendOrderStatus[KtbSendOrderStatus["Complete"] = 0] = "Complete";
3334
+ KtbSendOrderStatus[KtbSendOrderStatus["Incomplete"] = 1] = "Incomplete";
3335
+ KtbSendOrderStatus[KtbSendOrderStatus["Rejected"] = 2] = "Rejected";
3336
+ })(KtbSendOrderStatus || (KtbSendOrderStatus = {}));
3337
+ var KtbPurchaseStatusEnum;
3338
+ (function (KtbPurchaseStatusEnum) {
3339
+ KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["All"] = -1] = "All";
3340
+ KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["Created"] = 0] = "Created";
3341
+ KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["PreOrder"] = 1] = "PreOrder";
3342
+ KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["Accepted"] = 2] = "Accepted";
3343
+ KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["Rejected"] = 3] = "Rejected";
3344
+ KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["Paid"] = 4] = "Paid";
3345
+ KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["Sent"] = 5] = "Sent";
3346
+ KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["Delivered"] = 6] = "Delivered";
3347
+ KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["Cancelled"] = 7] = "Cancelled";
3348
+ KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["Returned"] = 8] = "Returned";
3349
+ KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["WaitingForUserAcceptance"] = 9] = "WaitingForUserAcceptance";
3350
+ KtbPurchaseStatusEnum[KtbPurchaseStatusEnum["Finished"] = 11] = "Finished";
3351
+ })(KtbPurchaseStatusEnum || (KtbPurchaseStatusEnum = {}));
3352
+ var KtbOrderType;
3353
+ (function (KtbOrderType) {
3354
+ KtbOrderType[KtbOrderType["Virtual"] = 1] = "Virtual";
3355
+ KtbOrderType[KtbOrderType["InPerson"] = 2] = "InPerson";
3356
+ })(KtbOrderType || (KtbOrderType = {}));
3357
+ var KtbOrderSendType;
3358
+ (function (KtbOrderSendType) {
3359
+ KtbOrderSendType[KtbOrderSendType["Post"] = 1] = "Post";
3360
+ KtbOrderSendType[KtbOrderSendType["InPerson"] = 2] = "InPerson";
3361
+ })(KtbOrderSendType || (KtbOrderSendType = {}));
3362
+ var KtbOrderDetailStatsForVendorType;
3363
+ (function (KtbOrderDetailStatsForVendorType) {
3364
+ KtbOrderDetailStatsForVendorType["TotalOrderAmount"] = "totalOrderAmount";
3365
+ KtbOrderDetailStatsForVendorType["TotalOrderPayableAmount"] = "totalOrderPayableAmount";
3366
+ KtbOrderDetailStatsForVendorType["TotalSubsidyAmount"] = "totalSubsidyAmount";
3367
+ KtbOrderDetailStatsForVendorType["TotalDiscountAmount"] = "totalDiscountAmount";
3368
+ })(KtbOrderDetailStatsForVendorType || (KtbOrderDetailStatsForVendorType = {}));
3369
+
3370
+ var KtbFileStatusEnum;
3371
+ (function (KtbFileStatusEnum) {
3372
+ KtbFileStatusEnum[KtbFileStatusEnum["Created"] = 0] = "Created";
3373
+ KtbFileStatusEnum[KtbFileStatusEnum["Waiting"] = 1] = "Waiting";
3374
+ KtbFileStatusEnum[KtbFileStatusEnum["Accepted"] = 2] = "Accepted";
3375
+ KtbFileStatusEnum[KtbFileStatusEnum["Rejected"] = 3] = "Rejected";
3376
+ KtbFileStatusEnum[KtbFileStatusEnum["Review"] = 4] = "Review";
3377
+ })(KtbFileStatusEnum || (KtbFileStatusEnum = {}));
3378
+
3379
+ var KtbFileTypeEnum;
3380
+ (function (KtbFileTypeEnum) {
3381
+ KtbFileTypeEnum[KtbFileTypeEnum["Certificate"] = 1] = "Certificate";
3382
+ KtbFileTypeEnum[KtbFileTypeEnum["NationalCard"] = 2] = "NationalCard";
3383
+ KtbFileTypeEnum[KtbFileTypeEnum["LincencingDetail"] = 3] = "LincencingDetail";
3384
+ KtbFileTypeEnum[KtbFileTypeEnum["IndoorPicture"] = 4] = "IndoorPicture";
3385
+ KtbFileTypeEnum[KtbFileTypeEnum["OutdoorPicture"] = 5] = "OutdoorPicture";
3386
+ KtbFileTypeEnum[KtbFileTypeEnum["Gallery"] = 6] = "Gallery";
3387
+ KtbFileTypeEnum[KtbFileTypeEnum["Other"] = 7] = "Other";
3388
+ })(KtbFileTypeEnum || (KtbFileTypeEnum = {}));
3389
+
3390
+ var KtbSocialMediaStatusEnum;
3391
+ (function (KtbSocialMediaStatusEnum) {
3392
+ KtbSocialMediaStatusEnum[KtbSocialMediaStatusEnum["Created"] = 0] = "Created";
3393
+ KtbSocialMediaStatusEnum[KtbSocialMediaStatusEnum["Waiting"] = 1] = "Waiting";
3394
+ KtbSocialMediaStatusEnum[KtbSocialMediaStatusEnum["Accepted"] = 2] = "Accepted";
3395
+ KtbSocialMediaStatusEnum[KtbSocialMediaStatusEnum["Rejected"] = 3] = "Rejected";
3396
+ KtbSocialMediaStatusEnum[KtbSocialMediaStatusEnum["Review"] = 4] = "Review";
3397
+ })(KtbSocialMediaStatusEnum || (KtbSocialMediaStatusEnum = {}));
3398
+
3399
+ var KtbSocialTypeEnum;
3400
+ (function (KtbSocialTypeEnum) {
3401
+ KtbSocialTypeEnum[KtbSocialTypeEnum["Instagram"] = 1] = "Instagram";
3402
+ KtbSocialTypeEnum[KtbSocialTypeEnum["Eitaa"] = 2] = "Eitaa";
3403
+ KtbSocialTypeEnum[KtbSocialTypeEnum["Soroush"] = 3] = "Soroush";
3404
+ KtbSocialTypeEnum[KtbSocialTypeEnum["Bale"] = 4] = "Bale";
3405
+ })(KtbSocialTypeEnum || (KtbSocialTypeEnum = {}));
3406
+
3407
+ var KtbSoftwareTypeEnum;
3408
+ (function (KtbSoftwareTypeEnum) {
3409
+ KtbSoftwareTypeEnum[KtbSoftwareTypeEnum["KausarHesab"] = 1] = "KausarHesab";
3410
+ KtbSoftwareTypeEnum[KtbSoftwareTypeEnum["EdehGostran"] = 2] = "EdehGostran";
3411
+ KtbSoftwareTypeEnum[KtbSoftwareTypeEnum["NikeHesab"] = 3] = "NikeHesab";
3412
+ KtbSoftwareTypeEnum[KtbSoftwareTypeEnum["Pishgaman"] = 4] = "Pishgaman";
3413
+ KtbSoftwareTypeEnum[KtbSoftwareTypeEnum["Radine"] = 5] = "Radine";
3414
+ KtbSoftwareTypeEnum[KtbSoftwareTypeEnum["Other"] = 6] = "Other";
3415
+ })(KtbSoftwareTypeEnum || (KtbSoftwareTypeEnum = {}));
3416
+
3417
+ var KtbAcceptanceType;
3418
+ (function (KtbAcceptanceType) {
3419
+ KtbAcceptanceType[KtbAcceptanceType["Created"] = 0] = "Created";
3420
+ KtbAcceptanceType[KtbAcceptanceType["Waiting"] = 1] = "Waiting";
3421
+ KtbAcceptanceType[KtbAcceptanceType["Accepted"] = 2] = "Accepted";
3422
+ KtbAcceptanceType[KtbAcceptanceType["Rejected"] = 3] = "Rejected";
3423
+ KtbAcceptanceType[KtbAcceptanceType["Review"] = 4] = "Review";
3424
+ })(KtbAcceptanceType || (KtbAcceptanceType = {}));
3425
+
3426
+ var KtbLocationState;
3427
+ (function (KtbLocationState) {
3428
+ KtbLocationState[KtbLocationState["Downtown"] = 0] = "Downtown";
3429
+ KtbLocationState[KtbLocationState["Mall"] = 1] = "Mall";
3430
+ KtbLocationState[KtbLocationState["Neighbourhood"] = 2] = "Neighbourhood";
3431
+ KtbLocationState[KtbLocationState["CityEdge"] = 3] = "CityEdge";
3432
+ })(KtbLocationState || (KtbLocationState = {}));
3433
+
3434
+ var KtbSoftwareInfo;
3435
+ (function (KtbSoftwareInfo) {
3436
+ KtbSoftwareInfo[KtbSoftwareInfo["KausarHesab"] = 0] = "KausarHesab";
3437
+ KtbSoftwareInfo[KtbSoftwareInfo["EdehGostran"] = 1] = "EdehGostran";
3438
+ KtbSoftwareInfo[KtbSoftwareInfo["NikeHesab"] = 2] = "NikeHesab";
3439
+ KtbSoftwareInfo[KtbSoftwareInfo["Pishgaman"] = 3] = "Pishgaman";
3440
+ KtbSoftwareInfo[KtbSoftwareInfo["Radine"] = 4] = "Radine";
3441
+ KtbSoftwareInfo[KtbSoftwareInfo["Other"] = 5] = "Other";
3442
+ })(KtbSoftwareInfo || (KtbSoftwareInfo = {}));
3443
+
3444
+ var KtbVendorType;
3445
+ (function (KtbVendorType) {
3446
+ KtbVendorType[KtbVendorType["Withdrawal"] = 0] = "Withdrawal";
3447
+ KtbVendorType[KtbVendorType["Gift"] = 1] = "Gift";
3448
+ KtbVendorType[KtbVendorType["Deposit"] = 2] = "Deposit";
3449
+ KtbVendorType[KtbVendorType["CreditCode"] = 3] = "CreditCode";
3450
+ })(KtbVendorType || (KtbVendorType = {}));
3451
+
3452
+ var KtbPlanStatsEnum;
3453
+ (function (KtbPlanStatsEnum) {
3454
+ /**
3455
+ * All
3456
+ */
3457
+ KtbPlanStatsEnum[KtbPlanStatsEnum["All"] = -1] = "All";
3458
+ /**
3459
+ * BookHouse Plans
3460
+ */
3461
+ KtbPlanStatsEnum[KtbPlanStatsEnum["RegularPlan"] = 1] = "RegularPlan";
3462
+ /**
3463
+ * Vendors Plan
3464
+ */
3465
+ KtbPlanStatsEnum[KtbPlanStatsEnum["ExclusivePlan"] = 2] = "ExclusivePlan";
3466
+ /**
3467
+ * Book Fairs Plans
3468
+ */
3469
+ KtbPlanStatsEnum[KtbPlanStatsEnum["Fair"] = 3] = "Fair";
3470
+ })(KtbPlanStatsEnum || (KtbPlanStatsEnum = {}));
3471
+ var KtbPlanStatusEnum;
3472
+ (function (KtbPlanStatusEnum) {
3473
+ KtbPlanStatusEnum[KtbPlanStatusEnum["Waiting"] = 1] = "Waiting";
3474
+ KtbPlanStatusEnum[KtbPlanStatusEnum["Accepted"] = 2] = "Accepted";
3475
+ KtbPlanStatusEnum[KtbPlanStatusEnum["Rejected"] = 3] = "Rejected";
3476
+ })(KtbPlanStatusEnum || (KtbPlanStatusEnum = {}));
3477
+
3478
+ var KtbUploadUserTypeEnum;
3479
+ (function (KtbUploadUserTypeEnum) {
3480
+ KtbUploadUserTypeEnum[KtbUploadUserTypeEnum["Vendor"] = 1] = "Vendor";
3481
+ KtbUploadUserTypeEnum[KtbUploadUserTypeEnum["Owner"] = 2] = "Owner";
3482
+ })(KtbUploadUserTypeEnum || (KtbUploadUserTypeEnum = {}));
3483
+
3484
+ var KtbEmployeeTypeEnum;
3485
+ (function (KtbEmployeeTypeEnum) {
3486
+ KtbEmployeeTypeEnum[KtbEmployeeTypeEnum["Manager"] = 0] = "Manager";
3487
+ KtbEmployeeTypeEnum[KtbEmployeeTypeEnum["Operator"] = 1] = "Operator";
3488
+ KtbEmployeeTypeEnum[KtbEmployeeTypeEnum["Cashier"] = 2] = "Cashier";
3489
+ })(KtbEmployeeTypeEnum || (KtbEmployeeTypeEnum = {}));
3490
+
3491
+ var KtbOperationTypeEnum;
3492
+ (function (KtbOperationTypeEnum) {
3493
+ KtbOperationTypeEnum[KtbOperationTypeEnum["OnlinePurchase"] = 1] = "OnlinePurchase";
3494
+ KtbOperationTypeEnum[KtbOperationTypeEnum["CashDeposit"] = 2] = "CashDeposit";
3495
+ KtbOperationTypeEnum[KtbOperationTypeEnum["CreditDeposit"] = 3] = "CreditDeposit";
3496
+ KtbOperationTypeEnum[KtbOperationTypeEnum["CashWithdrawal"] = 4] = "CashWithdrawal";
3497
+ KtbOperationTypeEnum[KtbOperationTypeEnum["ReturnOperation"] = 5] = "ReturnOperation";
3498
+ KtbOperationTypeEnum[KtbOperationTypeEnum["InPersonOperation"] = 6] = "InPersonOperation";
3499
+ KtbOperationTypeEnum[KtbOperationTypeEnum["Gift"] = 7] = "Gift";
3500
+ })(KtbOperationTypeEnum || (KtbOperationTypeEnum = {}));
3501
+
3502
+ var KtbCartTypeEnum;
3503
+ (function (KtbCartTypeEnum) {
3504
+ KtbCartTypeEnum[KtbCartTypeEnum["Virtual"] = 0] = "Virtual";
3505
+ KtbCartTypeEnum[KtbCartTypeEnum["InPerson"] = 1] = "InPerson";
3506
+ })(KtbCartTypeEnum || (KtbCartTypeEnum = {}));
3507
+
3508
+ var KtbOTPSendType;
3509
+ (function (KtbOTPSendType) {
3510
+ KtbOTPSendType[KtbOTPSendType["general"] = 0] = "general";
3511
+ KtbOTPSendType[KtbOTPSendType["register"] = 1] = "register";
3512
+ KtbOTPSendType[KtbOTPSendType["resetPassword"] = 2] = "resetPassword";
3513
+ })(KtbOTPSendType || (KtbOTPSendType = {}));
3514
+
3515
+ var KtbFinancialAccountType;
3516
+ (function (KtbFinancialAccountType) {
3517
+ KtbFinancialAccountType[KtbFinancialAccountType["Customer"] = 1] = "Customer";
3518
+ KtbFinancialAccountType[KtbFinancialAccountType["Vendor"] = 2] = "Vendor";
3519
+ KtbFinancialAccountType[KtbFinancialAccountType["Other"] = 3] = "Other";
3520
+ })(KtbFinancialAccountType || (KtbFinancialAccountType = {}));
3521
+
3522
+ var KtbTransactionType;
3523
+ (function (KtbTransactionType) {
3524
+ KtbTransactionType[KtbTransactionType["CRD"] = 1] = "CRD";
3525
+ KtbTransactionType[KtbTransactionType["DEB"] = 2] = "DEB";
3526
+ // Other = 3,
3527
+ })(KtbTransactionType || (KtbTransactionType = {}));
3528
+
3529
+ var KtbCashBackSteps;
3530
+ (function (KtbCashBackSteps) {
3531
+ KtbCashBackSteps[KtbCashBackSteps["CardNumber"] = 1] = "CardNumber";
3532
+ KtbCashBackSteps[KtbCashBackSteps["Amount"] = 2] = "Amount";
3533
+ KtbCashBackSteps[KtbCashBackSteps["SuucessPaid"] = 3] = "SuucessPaid";
3534
+ })(KtbCashBackSteps || (KtbCashBackSteps = {}));
3535
+
3536
+ var KtbBannerType;
3537
+ (function (KtbBannerType) {
3538
+ KtbBannerType[KtbBannerType["Customer"] = 0] = "Customer";
3539
+ KtbBannerType[KtbBannerType["Store"] = 1] = "Store";
3540
+ })(KtbBannerType || (KtbBannerType = {}));
3541
+ var KtbBannerPosition;
3542
+ (function (KtbBannerPosition) {
3543
+ KtbBannerPosition[KtbBannerPosition["slider"] = 1] = "slider";
3544
+ KtbBannerPosition[KtbBannerPosition["salePlan"] = 2] = "salePlan";
3545
+ KtbBannerPosition[KtbBannerPosition["occasions"] = 3] = "occasions";
3546
+ KtbBannerPosition[KtbBannerPosition["partnerSites"] = 4] = "partnerSites";
3547
+ KtbBannerPosition[KtbBannerPosition["collections"] = 5] = "collections";
3548
+ })(KtbBannerPosition || (KtbBannerPosition = {}));
3549
+
3550
+ var KtbBannerImageType;
3551
+ (function (KtbBannerImageType) {
3552
+ KtbBannerImageType["ImageAddress"] = "imageAddress";
3553
+ KtbBannerImageType["MobileImageAddress"] = "mobileImageAddress";
3554
+ })(KtbBannerImageType || (KtbBannerImageType = {}));
3555
+
3556
+ const KtbPurchaseStatusOptions = {
3557
+ [KtbPurchaseStatusEnum.All]: { label: 'همه', enLabel: 'All', class: '', selected: false, count: 0 },
3558
+ [KtbPurchaseStatusEnum.Created]: { label: 'ثبت شده', enLabel: 'Created', class: 'registered', selected: false, count: 0 },
3559
+ [KtbPurchaseStatusEnum.PreOrder]: { label: 'پیش سفارش شده', enLabel: 'PreOrder', class: 'preOrder', selected: false, count: 0 },
3560
+ [KtbPurchaseStatusEnum.Accepted]: { label: 'قبول شده', enLabel: 'Accepted', class: 'accepted', selected: false, count: 0 },
3561
+ [KtbPurchaseStatusEnum.Rejected]: { label: 'عدم قبول', enLabel: 'Rejected', class: 'rejected', selected: false, count: 0 },
3562
+ [KtbPurchaseStatusEnum.Paid]: { label: 'در انتظار ارسال', enLabel: 'Paid', class: 'paid', selected: false, count: 0 },
3563
+ [KtbPurchaseStatusEnum.Sent]: { label: 'ارسال شده', enLabel: 'Sent', class: 'sent', selected: false, count: 0 },
3564
+ [KtbPurchaseStatusEnum.Delivered]: { label: 'تحویل شده', enLabel: 'Delivered', class: 'delivered', selected: false, count: 0 },
3565
+ [KtbPurchaseStatusEnum.Cancelled]: { label: 'رد شده', enLabel: 'Cancelled', class: 'cancelled', selected: false, count: 0 },
3566
+ [KtbPurchaseStatusEnum.Returned]: { label: 'مرجوع شده', enLabel: 'Returned', class: 'returned', selected: false, count: 0 },
3567
+ [KtbPurchaseStatusEnum.WaitingForUserAcceptance]: { label: 'منتظر تایید مشتری', enLabel: 'WaitingForUserAcceptance', class: 'waitingForUserAcceptance', selected: false, count: 0 },
3568
+ [KtbPurchaseStatusEnum.Finished]: { label: 'پایان یافته', enLabel: 'Finished', class: 'finished', selected: false, count: 0 },
3569
+ };
3570
+ const KtbPurchaseTypeConst = {
3571
+ [KtbOrderType.Virtual]: { label: 'مجازی' },
3572
+ [KtbOrderType.InPerson]: { label: 'حضوری' },
3573
+ };
3574
+
3575
+ var KtbSendType;
3576
+ (function (KtbSendType) {
3577
+ KtbSendType[KtbSendType["Post"] = 1] = "Post";
3578
+ KtbSendType[KtbSendType["InPerson"] = 2] = "InPerson";
3579
+ })(KtbSendType || (KtbSendType = {}));
3580
+
3581
+ var KtbTicketState;
3582
+ (function (KtbTicketState) {
3583
+ KtbTicketState[KtbTicketState["All"] = -1] = "All";
3584
+ KtbTicketState[KtbTicketState["WaitingAnswer"] = 1] = "WaitingAnswer";
3585
+ KtbTicketState[KtbTicketState["Answered"] = 2] = "Answered";
3586
+ KtbTicketState[KtbTicketState["UserAnswered"] = 3] = "UserAnswered";
3587
+ KtbTicketState[KtbTicketState["Redirected"] = 4] = "Redirected";
3588
+ KtbTicketState[KtbTicketState["Closed"] = 0] = "Closed";
3589
+ })(KtbTicketState || (KtbTicketState = {}));
3590
+
3591
+ var KtbUserType;
3592
+ (function (KtbUserType) {
3593
+ KtbUserType[KtbUserType["User"] = 1] = "User";
3594
+ KtbUserType[KtbUserType["Customer"] = 2] = "Customer";
3595
+ KtbUserType[KtbUserType["Store"] = 3] = "Store";
3596
+ })(KtbUserType || (KtbUserType = {}));
3597
+
3598
+ var ktbTicketFileType;
3599
+ (function (ktbTicketFileType) {
3600
+ ktbTicketFileType[ktbTicketFileType["TicketFile"] = 1] = "TicketFile";
3601
+ ktbTicketFileType[ktbTicketFileType["DiscussionFile"] = 2] = "DiscussionFile";
3602
+ })(ktbTicketFileType || (ktbTicketFileType = {}));
3603
+
3604
+ var ktbReturnAcceptState;
3605
+ (function (ktbReturnAcceptState) {
3606
+ ktbReturnAcceptState[ktbReturnAcceptState["Register"] = 0] = "Register";
3607
+ ktbReturnAcceptState[ktbReturnAcceptState["Waiting"] = 1] = "Waiting";
3608
+ ktbReturnAcceptState[ktbReturnAcceptState["Accepted"] = 2] = "Accepted";
3609
+ ktbReturnAcceptState[ktbReturnAcceptState["Rejected"] = 3] = "Rejected";
3610
+ ktbReturnAcceptState[ktbReturnAcceptState["Review"] = 4] = "Review";
3611
+ ktbReturnAcceptState[ktbReturnAcceptState["AcceptedByAdmin"] = 5] = "AcceptedByAdmin";
3612
+ ktbReturnAcceptState[ktbReturnAcceptState["AcceptedByFinance"] = 6] = "AcceptedByFinance";
3613
+ })(ktbReturnAcceptState || (ktbReturnAcceptState = {}));
3614
+
3615
+ var KtbRelationType;
3616
+ (function (KtbRelationType) {
3617
+ KtbRelationType[KtbRelationType["Spouse"] = 1] = "Spouse";
3618
+ KtbRelationType[KtbRelationType["Child"] = 2] = "Child";
3619
+ KtbRelationType[KtbRelationType["Brother"] = 3] = "Brother";
3620
+ KtbRelationType[KtbRelationType["Sister"] = 4] = "Sister";
3621
+ KtbRelationType[KtbRelationType["Father"] = 5] = "Father";
3622
+ KtbRelationType[KtbRelationType["Mother"] = 6] = "Mother";
3623
+ })(KtbRelationType || (KtbRelationType = {}));
3624
+
3625
+ var KtbGenderType;
3626
+ (function (KtbGenderType) {
3627
+ KtbGenderType[KtbGenderType["Male"] = 1] = "Male";
3628
+ KtbGenderType[KtbGenderType["Female"] = 2] = "Female";
3629
+ KtbGenderType[KtbGenderType["Other"] = 3] = "Other";
3630
+ })(KtbGenderType || (KtbGenderType = {}));
3631
+
3632
+ const KtbPURCHASE_STATUSES = [
3633
+ { value: 0, badge: 'warning', label: 'در حال آماده سازی' },
3634
+ { value: 1, badge: 'light', label: 'در انتظار پرداخت' },
3635
+ { value: 2, badge: 'success', label: 'تحویل شده' },
3636
+ ];
3637
+ // TODO:: @Ali
3638
+ /*
3639
+ export const PURCHASE_STATUSES = {
3640
+ [OrderItemStatusEnum.preparing]: {value: 0, badge: 'warning', label: 'در حال آماده سازی' },
3641
+ [OrderItemStatusEnum.AwaitingPayment]: { value: 1, badge: 'light', label: 'در انتظار پرداخت' },
3642
+ [OrderItemStatusEnum.Delivered]: { value: 2, badge: 'success', label: 'تحویل شده' },
3643
+ }*/
3644
+
3645
+ const KtbTransaction_Detail_Dictionary = {
3646
+ 'creditType': 'نوع اعتبار',
3647
+ 'creditWithdrawal': 'برداشت از اعتبار',
3648
+ 'withdrawFromWallet': 'برداشت از کیف پول',
3649
+ 'onlinePayment': 'پرداخت آنلاین',
3650
+ 'purchaseCode': 'کد خرید',
3651
+ 'trackingCode': 'کد پیگیری',
3652
+ 'gate': 'درگاه',
3653
+ 'status': 'وضعیت'
3654
+ };
3655
+
3656
+ const ValidatePasswordConst = {
3657
+ [KtbValidatePasswordEnum.MinLength]: { label: 'minlength', value: 1, message: 'حداقل ۸ کارکتر', check: (password) => password.length >= 8 },
3658
+ [KtbValidatePasswordEnum.UpperCaseAndLowerCase]: { label: 'pattern', value: 3, message: 'حروف کوچک و بزرگ انگلیسی', check: (password) => /[a-z]/.test(password) && /[A-Z]/.test(password) },
3659
+ [KtbValidatePasswordEnum.IsNumber]: { label: 'pattern', value: 4, message: 'عدد', check: (password) => /\d/.test(password) },
3660
+ [KtbValidatePasswordEnum.Pattern]: { label: 'pattern', value: 4, message: 'کارکترهای خاص ( !@#$%^&*) ', check: (password) => /[^a-zA-Z0-9]/.test(password) },
3661
+ };
3662
+
3663
+ const KtbFaqConst = [
3664
+ { title: 'نحوه خرید از سامانه', value: 1 },
3665
+ { title: 'عضویت در سامانه', value: 2 }
3666
+ ];
3667
+
3668
+ var KtbPersonalityType;
3669
+ (function (KtbPersonalityType) {
3670
+ KtbPersonalityType[KtbPersonalityType["Real"] = 1] = "Real";
3671
+ KtbPersonalityType[KtbPersonalityType["Legal"] = 2] = "Legal";
3672
+ })(KtbPersonalityType || (KtbPersonalityType = {}));
3673
+
3674
+ var KtbSalesSoftwareType;
3675
+ (function (KtbSalesSoftwareType) {
3676
+ KtbSalesSoftwareType[KtbSalesSoftwareType["KausarHesab"] = 1] = "KausarHesab";
3677
+ KtbSalesSoftwareType[KtbSalesSoftwareType["EdehGostran"] = 2] = "EdehGostran";
3678
+ KtbSalesSoftwareType[KtbSalesSoftwareType["NikeHesab"] = 3] = "NikeHesab";
3679
+ KtbSalesSoftwareType[KtbSalesSoftwareType["Pishgaman"] = 4] = "Pishgaman";
3680
+ KtbSalesSoftwareType[KtbSalesSoftwareType["Radine"] = 5] = "Radine";
3681
+ KtbSalesSoftwareType[KtbSalesSoftwareType["Other"] = 6] = "Other";
3682
+ })(KtbSalesSoftwareType || (KtbSalesSoftwareType = {}));
3683
+
3684
+ var KtbVendorLocationState;
3685
+ (function (KtbVendorLocationState) {
3686
+ KtbVendorLocationState[KtbVendorLocationState["Downtown"] = 0] = "Downtown";
3687
+ KtbVendorLocationState[KtbVendorLocationState["Mall"] = 1] = "Mall";
3688
+ KtbVendorLocationState[KtbVendorLocationState["Neighbourhood"] = 2] = "Neighbourhood";
3689
+ KtbVendorLocationState[KtbVendorLocationState["CityEdge"] = 3] = "CityEdge";
3690
+ })(KtbVendorLocationState || (KtbVendorLocationState = {}));
3691
+
3692
+ var KtbShowCaseCategoryEnum;
3693
+ (function (KtbShowCaseCategoryEnum) {
3694
+ KtbShowCaseCategoryEnum[KtbShowCaseCategoryEnum["noCategory"] = -1] = "noCategory";
3695
+ KtbShowCaseCategoryEnum[KtbShowCaseCategoryEnum["Showcase"] = 0] = "Showcase";
3696
+ KtbShowCaseCategoryEnum[KtbShowCaseCategoryEnum["NewArrivals"] = 1] = "NewArrivals";
3697
+ KtbShowCaseCategoryEnum[KtbShowCaseCategoryEnum["BookstoreRecommendations"] = 2] = "BookstoreRecommendations";
3698
+ KtbShowCaseCategoryEnum[KtbShowCaseCategoryEnum["SpecialOffers"] = 3] = "SpecialOffers";
3699
+ })(KtbShowCaseCategoryEnum || (KtbShowCaseCategoryEnum = {}));
3700
+ const KtbShowCaseCategory = [
3701
+ { id: KtbShowCaseCategoryEnum.Showcase, title: 'ویترین' },
3702
+ { id: KtbShowCaseCategoryEnum.NewArrivals, title: 'تازه ها' },
3703
+ { id: KtbShowCaseCategoryEnum.BookstoreRecommendations, title: 'پیشنهاد کتابفروشی' },
3704
+ { id: KtbShowCaseCategoryEnum.SpecialOffers, title: 'ویژه ها' },
3705
+ ];
3706
+
3707
+ const _ACTIVEPLANTOKENNAME_ = '_cselectedactiveplanuniqid';
3708
+ const PLAN_ACTIONS_BUTTONS = {
3709
+ [-1]: { label: 'ثبت‌ نام در طرح', color: 'primary' },
3710
+ [KtbPlanStatusEnum.Waiting]: { label: 'در حال بررسی', color: 'warning' },
3711
+ [KtbPlanStatusEnum.Accepted]: { label: 'تایید شده', color: 'success' },
3712
+ [KtbPlanStatusEnum.Rejected]: { label: 'تایید نشده', color: 'danger' },
3713
+ };
3714
+
3715
+ const socialMediaOption = {
3716
+ [KtbSocialMediaType.Instagram]: { icon: 'ktb-instagram', inActiveIcon: 'ktb-instagram-deactive' },
3717
+ [KtbSocialMediaType.Bale]: { icon: 'ktb-bale', inActiveIcon: 'ktb-bale-deactive' },
3718
+ [KtbSocialMediaType.Eitaa]: { icon: 'ktb-eita', inActiveIcon: 'ktb-eita-deactive' },
3719
+ [KtbSocialMediaType.Soroush]: { icon: 'ktb-soroush', inActiveIcon: 'ktb-soroush-deactive' },
3720
+ };
3721
+
3722
+ var ktbTicketAdminUserType;
3723
+ (function (ktbTicketAdminUserType) {
3724
+ ktbTicketAdminUserType[ktbTicketAdminUserType["Vendor"] = 0] = "Vendor";
3725
+ ktbTicketAdminUserType[ktbTicketAdminUserType["Customer"] = 1] = "Customer";
3726
+ })(ktbTicketAdminUserType || (ktbTicketAdminUserType = {}));
3727
+
3728
+ var ktbTicketAdminStats;
3729
+ (function (ktbTicketAdminStats) {
3730
+ ktbTicketAdminStats["AllTickets"] = "allTicketCount";
3731
+ ktbTicketAdminStats["VendorsTickets"] = "vendorTicketCount";
3732
+ ktbTicketAdminStats["CustomersTickets"] = "customerTicketCount";
3733
+ })(ktbTicketAdminStats || (ktbTicketAdminStats = {}));
3734
+ const KtbTicketeStatusOptions = {
3735
+ [ktbTicketAdminStats.AllTickets]: { label: 'همه‌‌ی تیکت‌ها', selected: false, count: 0, status: undefined },
3736
+ [ktbTicketAdminStats.CustomersTickets]: { label: 'تیکت‌های خریداران', selected: false, count: 0, status: false },
3737
+ [ktbTicketAdminStats.VendorsTickets]: { label: 'تیکت‌های فروشگاه‌ها', selected: false, count: 0, status: true },
3738
+ };
3739
+
3740
+ var KtbCouponConsumptionGroup;
3741
+ (function (KtbCouponConsumptionGroup) {
3742
+ KtbCouponConsumptionGroup[KtbCouponConsumptionGroup["All"] = -1] = "All";
3743
+ KtbCouponConsumptionGroup[KtbCouponConsumptionGroup["Authors"] = 1] = "Authors";
3744
+ KtbCouponConsumptionGroup[KtbCouponConsumptionGroup["Students"] = 2] = "Students";
3745
+ KtbCouponConsumptionGroup[KtbCouponConsumptionGroup["FacultyMember"] = 3] = "FacultyMember";
3746
+ KtbCouponConsumptionGroup[KtbCouponConsumptionGroup["OrganizationMember"] = 4] = "OrganizationMember";
3747
+ KtbCouponConsumptionGroup[KtbCouponConsumptionGroup["SeminaryStudent"] = 5] = "SeminaryStudent";
3748
+ KtbCouponConsumptionGroup[KtbCouponConsumptionGroup["BookHouseMember"] = 6] = "BookHouseMember";
3749
+ KtbCouponConsumptionGroup[KtbCouponConsumptionGroup["GovernmentMember"] = 7] = "GovernmentMember";
3750
+ KtbCouponConsumptionGroup[KtbCouponConsumptionGroup["CEOOffice"] = 9] = "CEOOffice";
3751
+ KtbCouponConsumptionGroup[KtbCouponConsumptionGroup["Other"] = 8] = "Other";
3752
+ })(KtbCouponConsumptionGroup || (KtbCouponConsumptionGroup = {}));
3753
+
3754
+ var KtbCashBackStatus;
3755
+ (function (KtbCashBackStatus) {
3756
+ KtbCashBackStatus[KtbCashBackStatus["All"] = -1] = "All";
3757
+ KtbCashBackStatus[KtbCashBackStatus["CashBackWating"] = 1] = "CashBackWating";
3758
+ KtbCashBackStatus[KtbCashBackStatus["CashBackPaid"] = 2] = "CashBackPaid";
3759
+ })(KtbCashBackStatus || (KtbCashBackStatus = {}));
3760
+
3761
+ var KtbBanks;
3762
+ (function (KtbBanks) {
3763
+ KtbBanks[KtbBanks["MARKAZI"] = 0] = "MARKAZI";
3764
+ KtbBanks[KtbBanks["SANAT_VA_MADAN"] = 1] = "SANAT_VA_MADAN";
3765
+ KtbBanks[KtbBanks["MELLAT"] = 2] = "MELLAT";
3766
+ KtbBanks[KtbBanks["REFAH"] = 3] = "REFAH";
3767
+ KtbBanks[KtbBanks["MASKAN"] = 4] = "MASKAN";
3768
+ KtbBanks[KtbBanks["SEPAH"] = 5] = "SEPAH";
3769
+ KtbBanks[KtbBanks["KESHAVARZI"] = 6] = "KESHAVARZI";
3770
+ KtbBanks[KtbBanks["MELLI"] = 7] = "MELLI";
3771
+ KtbBanks[KtbBanks["TEJARAT"] = 8] = "TEJARAT";
3772
+ KtbBanks[KtbBanks["SADERAT"] = 9] = "SADERAT";
3773
+ KtbBanks[KtbBanks["TOSEAH_SADERAT"] = 10] = "TOSEAH_SADERAT";
3774
+ KtbBanks[KtbBanks["POST"] = 11] = "POST";
3775
+ KtbBanks[KtbBanks["TOSEAH_TAAVON"] = 12] = "TOSEAH_TAAVON";
3776
+ KtbBanks[KtbBanks["TOSEAH"] = 13] = "TOSEAH";
3777
+ KtbBanks[KtbBanks["KARAFARIN"] = 14] = "KARAFARIN";
3778
+ KtbBanks[KtbBanks["PARSIAN"] = 15] = "PARSIAN";
3779
+ KtbBanks[KtbBanks["EGHTESAD_NOVIN"] = 16] = "EGHTESAD_NOVIN";
3780
+ KtbBanks[KtbBanks["SAMAN"] = 17] = "SAMAN";
3781
+ KtbBanks[KtbBanks["PASARGAD"] = 18] = "PASARGAD";
3782
+ KtbBanks[KtbBanks["SARMAYEH"] = 19] = "SARMAYEH";
3783
+ KtbBanks[KtbBanks["SINA"] = 20] = "SINA";
3784
+ KtbBanks[KtbBanks["MEHR_IRAN"] = 21] = "MEHR_IRAN";
3785
+ KtbBanks[KtbBanks["SHAHR"] = 22] = "SHAHR";
3786
+ KtbBanks[KtbBanks["AYANDEH"] = 23] = "AYANDEH";
3787
+ KtbBanks[KtbBanks["GARDESHGARI"] = 24] = "GARDESHGARI";
3788
+ KtbBanks[KtbBanks["DAY"] = 25] = "DAY";
3789
+ KtbBanks[KtbBanks["IRANZAMIN"] = 26] = "IRANZAMIN";
3790
+ KtbBanks[KtbBanks["RESALAT"] = 27] = "RESALAT";
3791
+ KtbBanks[KtbBanks["MELAL"] = 28] = "MELAL";
3792
+ KtbBanks[KtbBanks["KHAVARMIANEH"] = 29] = "KHAVARMIANEH";
3793
+ KtbBanks[KtbBanks["NOOR"] = 30] = "NOOR";
3794
+ KtbBanks[KtbBanks["IRAN_VENEZUELA"] = 31] = "IRAN_VENEZUELA";
3795
+ KtbBanks[KtbBanks["UNKNOWN"] = 32] = "UNKNOWN";
3796
+ })(KtbBanks || (KtbBanks = {}));
3797
+
3798
+ var KtbActiveDeActiveEnum;
3799
+ (function (KtbActiveDeActiveEnum) {
3800
+ KtbActiveDeActiveEnum[KtbActiveDeActiveEnum["Active"] = 1] = "Active";
3801
+ KtbActiveDeActiveEnum[KtbActiveDeActiveEnum["DeActive"] = 2] = "DeActive";
3802
+ })(KtbActiveDeActiveEnum || (KtbActiveDeActiveEnum = {}));
3803
+
3804
+ var KtbAdminMessageType;
3805
+ (function (KtbAdminMessageType) {
3806
+ KtbAdminMessageType[KtbAdminMessageType["All"] = 0] = "All";
3807
+ KtbAdminMessageType[KtbAdminMessageType["AdminMessage"] = 1] = "AdminMessage";
3808
+ KtbAdminMessageType[KtbAdminMessageType["AdminViolation"] = 2] = "AdminViolation";
3809
+ })(KtbAdminMessageType || (KtbAdminMessageType = {}));
3810
+ var KtbAdminMessageStatsType;
3811
+ (function (KtbAdminMessageStatsType) {
3812
+ KtbAdminMessageStatsType["All"] = "allMessagesCount";
3813
+ KtbAdminMessageStatsType["AdminMessage"] = "adminMessagesCount";
3814
+ KtbAdminMessageStatsType["AdminViolation"] = "violationsCount";
3815
+ })(KtbAdminMessageStatsType || (KtbAdminMessageStatsType = {}));
3816
+ const KtbMessageReceiverStatsOptions = {
3817
+ [KtbAdminMessageStatsType.All]: { label: 'همه', selected: false, count: 0, state: KtbAdminMessageStatsType.All },
3818
+ [KtbAdminMessageStatsType.AdminMessage]: { label: 'پیام مدیر', selected: false, count: 0, state: KtbAdminMessageStatsType.AdminMessage },
3819
+ [KtbAdminMessageStatsType.AdminViolation]: { label: 'تخلف', selected: false, count: 0, state: KtbAdminMessageStatsType.AdminViolation },
3820
+ };
3821
+
3822
+ var KtbDoneUnDoneEnum;
3823
+ (function (KtbDoneUnDoneEnum) {
3824
+ KtbDoneUnDoneEnum[KtbDoneUnDoneEnum["Done"] = 1] = "Done";
3825
+ KtbDoneUnDoneEnum[KtbDoneUnDoneEnum["UnDone"] = 2] = "UnDone";
3826
+ })(KtbDoneUnDoneEnum || (KtbDoneUnDoneEnum = {}));
3827
+
3828
+ /**
3829
+ * Generated bundle index. Do not edit.
3830
+ */
3831
+
3832
+ export { Gender, IKtbAccountService, IKtbAdminBookCommentService, IKtbAdminCashBackService, IKtbAdminCouponService, IKtbAdminDashboardService, IKtbAdminGiftService, IKtbAdminMessageService, IKtbAdminPlanService, IKtbAdminTicketService, IKtbAdminVendorCommentService, IKtbAdminVendorService, IKtbAdminViolationService, IKtbAuthorsService, IKtbBannerService, IKtbBasketService, IKtbCashBackService, IKtbCategoryService, IKtbCollectionService, IKtbCommentService, IKtbCouponService, IKtbCrudBaseFilterServices, IKtbCrudBaseServices, IKtbDepartmentsService, IKtbEmployeeService, IKtbFaqService, IKtbFavoritesService, IKtbFileDownloadService, IKtbFinancialService, 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 };
3833
+ //# sourceMappingURL=ketab-ir-core.mjs.map