config-all.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. {
  2. "rules": {
  3. "future_block": {
  4. "days_out": 150
  5. },
  6. "short_notice": {
  7. "max_days": 14,
  8. "ramp_days": 7
  9. },
  10. "fill_month": {
  11. "discount_pct": 10,
  12. "max_days": 30,
  13. "ramp_days": 7
  14. },
  15. "fire": {
  16. "day_of": 314,
  17. "day_before": 111,
  18. "day_after": 222,
  19. "feed_name": "Fire"
  20. },
  21. "pipelines": {
  22. "this_month": {
  23. "type": "discount",
  24. "rules": [
  25. "short_notice",
  26. "fill_month",
  27. "no_single_nights"
  28. ]
  29. },
  30. "future_block": {
  31. "type": "closed",
  32. "rules": [
  33. "future_block"
  34. ]
  35. },
  36. "special_events": {
  37. "type": "price",
  38. "rules": [
  39. "fire"
  40. ]
  41. }
  42. }
  43. },
  44. "store": {
  45. "active": "caldav",
  46. "caldav": {
  47. "url": "",
  48. "username": "",
  49. "password": "",
  50. "calendar_name": "Room"
  51. },
  52. "sqlite": {
  53. "db_path": "store.db"
  54. }
  55. },
  56. "global": {
  57. "taxes": {
  58. "sales": 0.157
  59. },
  60. "property": {
  61. "timezone": "America/Los_Angeles",
  62. "checkin_hour": 14,
  63. "checkout_hour": 12
  64. },
  65. "prices": {
  66. "weekday": 62,
  67. "weekend": 72
  68. },
  69. "reservation_window_days": 90,
  70. "long_window_days": 400,
  71. "busy_calendar_name": "Busy"
  72. },
  73. "services": {
  74. "airbnb": {
  75. "name": "AirBnB",
  76. "listing_id": "",
  77. "hotel_id": "",
  78. "hotel_account_id": "",
  79. "host_account_id": "",
  80. "room_id": "",
  81. "rate_id": "",
  82. "fees": {
  83. "commission": 0.03,
  84. "client_fee": 0.1411235955
  85. },
  86. "taxes": {
  87. "flat_tax": 4
  88. }
  89. },
  90. "booking": {
  91. "name": "Booking.com",
  92. "listing_id": "",
  93. "hotel_id": "",
  94. "hotel_account_id": "",
  95. "host_account_id": "",
  96. "room_id": "",
  97. "rate_id": "",
  98. "fees": {
  99. "commission": 0.15,
  100. "client_fee": 0.0
  101. },
  102. "taxes": {
  103. "wrong": 0.145,
  104. "flat_tax": 0
  105. }
  106. }
  107. },
  108. "calendars": [
  109. {
  110. "name": "Fire",
  111. "url": "webcal://cal.4114.us/fire.ics",
  112. "caldav": null,
  113. "past_days": null,
  114. "future_days": null
  115. }
  116. ],
  117. "api_url": "http://localhost:8000/"
  118. }