@superoffice/webapi 10.2.9

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 (692) hide show
  1. package/LICENSE.md +15 -0
  2. package/README.md +184 -0
  3. package/__tests__/Appointment63-notz.json +1925 -0
  4. package/__tests__/Appointment63-utctz.json +1925 -0
  5. package/__tests__/Appointment63.json +1925 -0
  6. package/__tests__/AppointmentTzTest.ts +114 -0
  7. package/__tests__/AxiosNockTest.ts +28 -0
  8. package/__tests__/ContactDefault.json +699 -0
  9. package/__tests__/ContactEntity.json +273 -0
  10. package/__tests__/ContactRestTest.ts +144 -0
  11. package/__tests__/ContactTest.ts +395 -0
  12. package/__tests__/ConvertersTest.ts +97 -0
  13. package/__tests__/DocumentGetTemplateStream.json +1 -0
  14. package/__tests__/DocumentGetTemplateStreamBinary.json +1 -0
  15. package/__tests__/DocumentTest.ts +101 -0
  16. package/__tests__/Person210-notz.json +1932 -0
  17. package/__tests__/Person210-utctz.json +1932 -0
  18. package/__tests__/Person210.json +1932 -0
  19. package/__tests__/PersonImageData.nock +23 -0
  20. package/__tests__/PersonTest.ts +41 -0
  21. package/__tests__/PersonTzTest.ts +113 -0
  22. package/__tests__/RecurrenceInfo.json +55 -0
  23. package/__tests__/TableRights.json +441 -0
  24. package/__tests__/WebapiTest.ts +264 -0
  25. package/__tests__/Webhook.json +17 -0
  26. package/__tests__/WebhookTest.ts +209 -0
  27. package/dist/cjs/AIAgent.d.ts +265 -0
  28. package/dist/cjs/AIAgent.d.ts.map +1 -0
  29. package/dist/cjs/AIAgent.js +535 -0
  30. package/dist/cjs/AIAgent.js.map +1 -0
  31. package/dist/cjs/AppointmentAgent.d.ts +1539 -0
  32. package/dist/cjs/AppointmentAgent.d.ts.map +1 -0
  33. package/dist/cjs/AppointmentAgent.js +3363 -0
  34. package/dist/cjs/AppointmentAgent.js.map +1 -0
  35. package/dist/cjs/AppointmentRestApi.d.ts +46 -0
  36. package/dist/cjs/AppointmentRestApi.d.ts.map +1 -0
  37. package/dist/cjs/AppointmentRestApi.js +168 -0
  38. package/dist/cjs/AppointmentRestApi.js.map +1 -0
  39. package/dist/cjs/ArchiveAgent.d.ts +582 -0
  40. package/dist/cjs/ArchiveAgent.d.ts.map +1 -0
  41. package/dist/cjs/ArchiveAgent.js +1135 -0
  42. package/dist/cjs/ArchiveAgent.js.map +1 -0
  43. package/dist/cjs/AssociateAgent.d.ts +109 -0
  44. package/dist/cjs/AssociateAgent.d.ts.map +1 -0
  45. package/dist/cjs/AssociateAgent.js +257 -0
  46. package/dist/cjs/AssociateAgent.js.map +1 -0
  47. package/dist/cjs/AudienceAgent.d.ts +359 -0
  48. package/dist/cjs/AudienceAgent.d.ts.map +1 -0
  49. package/dist/cjs/AudienceAgent.js +888 -0
  50. package/dist/cjs/AudienceAgent.js.map +1 -0
  51. package/dist/cjs/AxiosCacheHandler.d.ts +20 -0
  52. package/dist/cjs/AxiosCacheHandler.d.ts.map +1 -0
  53. package/dist/cjs/AxiosCacheHandler.js +68 -0
  54. package/dist/cjs/AxiosCacheHandler.js.map +1 -0
  55. package/dist/cjs/BLOBAgent.d.ts +538 -0
  56. package/dist/cjs/BLOBAgent.d.ts.map +1 -0
  57. package/dist/cjs/BLOBAgent.js +1364 -0
  58. package/dist/cjs/BLOBAgent.js.map +1 -0
  59. package/dist/cjs/Base64.d.ts +4 -0
  60. package/dist/cjs/Base64.d.ts.map +1 -0
  61. package/dist/cjs/Base64.js +233 -0
  62. package/dist/cjs/Base64.js.map +1 -0
  63. package/dist/cjs/BatchAgent.d.ts +252 -0
  64. package/dist/cjs/BatchAgent.d.ts.map +1 -0
  65. package/dist/cjs/BatchAgent.js +522 -0
  66. package/dist/cjs/BatchAgent.js.map +1 -0
  67. package/dist/cjs/BulkUpdateAgent.d.ts +144 -0
  68. package/dist/cjs/BulkUpdateAgent.d.ts.map +1 -0
  69. package/dist/cjs/BulkUpdateAgent.js +288 -0
  70. package/dist/cjs/BulkUpdateAgent.js.map +1 -0
  71. package/dist/cjs/CRMScriptAgent.d.ts +330 -0
  72. package/dist/cjs/CRMScriptAgent.d.ts.map +1 -0
  73. package/dist/cjs/CRMScriptAgent.js +799 -0
  74. package/dist/cjs/CRMScriptAgent.js.map +1 -0
  75. package/dist/cjs/Carriers.d.ts +36976 -0
  76. package/dist/cjs/Carriers.d.ts.map +1 -0
  77. package/dist/cjs/Carriers.js +8 -0
  78. package/dist/cjs/Carriers.js.map +1 -0
  79. package/dist/cjs/ChatAgent.d.ts +366 -0
  80. package/dist/cjs/ChatAgent.d.ts.map +1 -0
  81. package/dist/cjs/ChatAgent.js +919 -0
  82. package/dist/cjs/ChatAgent.js.map +1 -0
  83. package/dist/cjs/ConfigurationAgent.d.ts +534 -0
  84. package/dist/cjs/ConfigurationAgent.d.ts.map +1 -0
  85. package/dist/cjs/ConfigurationAgent.js +1429 -0
  86. package/dist/cjs/ConfigurationAgent.js.map +1 -0
  87. package/dist/cjs/ContactAgent.d.ts +415 -0
  88. package/dist/cjs/ContactAgent.d.ts.map +1 -0
  89. package/dist/cjs/ContactAgent.js +1005 -0
  90. package/dist/cjs/ContactAgent.js.map +1 -0
  91. package/dist/cjs/ContactRestApi.d.ts +46 -0
  92. package/dist/cjs/ContactRestApi.d.ts.map +1 -0
  93. package/dist/cjs/ContactRestApi.js +168 -0
  94. package/dist/cjs/ContactRestApi.js.map +1 -0
  95. package/dist/cjs/Converters.d.ts +1359 -0
  96. package/dist/cjs/Converters.d.ts.map +1 -0
  97. package/dist/cjs/Converters.js +18996 -0
  98. package/dist/cjs/Converters.js.map +1 -0
  99. package/dist/cjs/CustomerServiceAgent.d.ts +447 -0
  100. package/dist/cjs/CustomerServiceAgent.d.ts.map +1 -0
  101. package/dist/cjs/CustomerServiceAgent.js +1123 -0
  102. package/dist/cjs/CustomerServiceAgent.js.map +1 -0
  103. package/dist/cjs/DashAgent.d.ts +370 -0
  104. package/dist/cjs/DashAgent.d.ts.map +1 -0
  105. package/dist/cjs/DashAgent.js +1028 -0
  106. package/dist/cjs/DashAgent.js.map +1 -0
  107. package/dist/cjs/DashboardAgent.d.ts +163 -0
  108. package/dist/cjs/DashboardAgent.d.ts.map +1 -0
  109. package/dist/cjs/DashboardAgent.js +436 -0
  110. package/dist/cjs/DashboardAgent.js.map +1 -0
  111. package/dist/cjs/DatabaseAgent.d.ts +35 -0
  112. package/dist/cjs/DatabaseAgent.d.ts.map +1 -0
  113. package/dist/cjs/DatabaseAgent.js +70 -0
  114. package/dist/cjs/DatabaseAgent.js.map +1 -0
  115. package/dist/cjs/DatabaseTableAgent.d.ts +155 -0
  116. package/dist/cjs/DatabaseTableAgent.d.ts.map +1 -0
  117. package/dist/cjs/DatabaseTableAgent.js +299 -0
  118. package/dist/cjs/DatabaseTableAgent.js.map +1 -0
  119. package/dist/cjs/Day_js.d.ts +4 -0
  120. package/dist/cjs/Day_js.d.ts.map +1 -0
  121. package/dist/cjs/Day_js.js +44 -0
  122. package/dist/cjs/Day_js.js.map +1 -0
  123. package/dist/cjs/DiagnosticsAgent.d.ts +200 -0
  124. package/dist/cjs/DiagnosticsAgent.d.ts.map +1 -0
  125. package/dist/cjs/DiagnosticsAgent.js +480 -0
  126. package/dist/cjs/DiagnosticsAgent.js.map +1 -0
  127. package/dist/cjs/DocumentAgent.d.ts +1345 -0
  128. package/dist/cjs/DocumentAgent.d.ts.map +1 -0
  129. package/dist/cjs/DocumentAgent.js +3058 -0
  130. package/dist/cjs/DocumentAgent.js.map +1 -0
  131. package/dist/cjs/DocumentMigrationAgent.d.ts +145 -0
  132. package/dist/cjs/DocumentMigrationAgent.d.ts.map +1 -0
  133. package/dist/cjs/DocumentMigrationAgent.js +297 -0
  134. package/dist/cjs/DocumentMigrationAgent.js.map +1 -0
  135. package/dist/cjs/DocumentRestApi.d.ts +46 -0
  136. package/dist/cjs/DocumentRestApi.d.ts.map +1 -0
  137. package/dist/cjs/DocumentRestApi.js +168 -0
  138. package/dist/cjs/DocumentRestApi.js.map +1 -0
  139. package/dist/cjs/EMailAgent.d.ts +1417 -0
  140. package/dist/cjs/EMailAgent.d.ts.map +1 -0
  141. package/dist/cjs/EMailAgent.js +3202 -0
  142. package/dist/cjs/EMailAgent.js.map +1 -0
  143. package/dist/cjs/Enums.d.ts +6083 -0
  144. package/dist/cjs/Enums.d.ts.map +1 -0
  145. package/dist/cjs/Enums.js +6270 -0
  146. package/dist/cjs/Enums.js.map +1 -0
  147. package/dist/cjs/ErpSyncAgent.d.ts +725 -0
  148. package/dist/cjs/ErpSyncAgent.d.ts.map +1 -0
  149. package/dist/cjs/ErpSyncAgent.js +1601 -0
  150. package/dist/cjs/ErpSyncAgent.js.map +1 -0
  151. package/dist/cjs/FavouriteAgent.d.ts +208 -0
  152. package/dist/cjs/FavouriteAgent.d.ts.map +1 -0
  153. package/dist/cjs/FavouriteAgent.js +407 -0
  154. package/dist/cjs/FavouriteAgent.js.map +1 -0
  155. package/dist/cjs/FindAgent.d.ts +688 -0
  156. package/dist/cjs/FindAgent.d.ts.map +1 -0
  157. package/dist/cjs/FindAgent.js +1337 -0
  158. package/dist/cjs/FindAgent.js.map +1 -0
  159. package/dist/cjs/ForeignSystemAgent.d.ts +478 -0
  160. package/dist/cjs/ForeignSystemAgent.d.ts.map +1 -0
  161. package/dist/cjs/ForeignSystemAgent.js +1022 -0
  162. package/dist/cjs/ForeignSystemAgent.js.map +1 -0
  163. package/dist/cjs/FreeTextAgent.d.ts +172 -0
  164. package/dist/cjs/FreeTextAgent.d.ts.map +1 -0
  165. package/dist/cjs/FreeTextAgent.js +368 -0
  166. package/dist/cjs/FreeTextAgent.js.map +1 -0
  167. package/dist/cjs/ImportAgent.d.ts +92 -0
  168. package/dist/cjs/ImportAgent.d.ts.map +1 -0
  169. package/dist/cjs/ImportAgent.js +164 -0
  170. package/dist/cjs/ImportAgent.js.map +1 -0
  171. package/dist/cjs/LicenseAgent.d.ts +298 -0
  172. package/dist/cjs/LicenseAgent.d.ts.map +1 -0
  173. package/dist/cjs/LicenseAgent.js +639 -0
  174. package/dist/cjs/LicenseAgent.js.map +1 -0
  175. package/dist/cjs/ListAgent.d.ts +2423 -0
  176. package/dist/cjs/ListAgent.d.ts.map +1 -0
  177. package/dist/cjs/ListAgent.js +7813 -0
  178. package/dist/cjs/ListAgent.js.map +1 -0
  179. package/dist/cjs/MDOAgent.d.ts +214 -0
  180. package/dist/cjs/MDOAgent.d.ts.map +1 -0
  181. package/dist/cjs/MDOAgent.js +430 -0
  182. package/dist/cjs/MDOAgent.js.map +1 -0
  183. package/dist/cjs/MarketingAgent.d.ts +170 -0
  184. package/dist/cjs/MarketingAgent.d.ts.map +1 -0
  185. package/dist/cjs/MarketingAgent.js +570 -0
  186. package/dist/cjs/MarketingAgent.js.map +1 -0
  187. package/dist/cjs/MessagingAgent.d.ts +111 -0
  188. package/dist/cjs/MessagingAgent.d.ts.map +1 -0
  189. package/dist/cjs/MessagingAgent.js +217 -0
  190. package/dist/cjs/MessagingAgent.js.map +1 -0
  191. package/dist/cjs/NavigatorAgent.d.ts +40 -0
  192. package/dist/cjs/NavigatorAgent.d.ts.map +1 -0
  193. package/dist/cjs/NavigatorAgent.js +99 -0
  194. package/dist/cjs/NavigatorAgent.js.map +1 -0
  195. package/dist/cjs/NumberAllocationAgent.d.ts +72 -0
  196. package/dist/cjs/NumberAllocationAgent.d.ts.map +1 -0
  197. package/dist/cjs/NumberAllocationAgent.js +199 -0
  198. package/dist/cjs/NumberAllocationAgent.js.map +1 -0
  199. package/dist/cjs/PersonAgent.d.ts +774 -0
  200. package/dist/cjs/PersonAgent.d.ts.map +1 -0
  201. package/dist/cjs/PersonAgent.js +1814 -0
  202. package/dist/cjs/PersonAgent.js.map +1 -0
  203. package/dist/cjs/PersonRestApi.d.ts +46 -0
  204. package/dist/cjs/PersonRestApi.d.ts.map +1 -0
  205. package/dist/cjs/PersonRestApi.js +168 -0
  206. package/dist/cjs/PersonRestApi.js.map +1 -0
  207. package/dist/cjs/PhoneListAgent.d.ts +126 -0
  208. package/dist/cjs/PhoneListAgent.d.ts.map +1 -0
  209. package/dist/cjs/PhoneListAgent.js +269 -0
  210. package/dist/cjs/PhoneListAgent.js.map +1 -0
  211. package/dist/cjs/PocketAgent.d.ts +218 -0
  212. package/dist/cjs/PocketAgent.d.ts.map +1 -0
  213. package/dist/cjs/PocketAgent.js +451 -0
  214. package/dist/cjs/PocketAgent.js.map +1 -0
  215. package/dist/cjs/PreferenceAgent.d.ts +497 -0
  216. package/dist/cjs/PreferenceAgent.d.ts.map +1 -0
  217. package/dist/cjs/PreferenceAgent.js +1194 -0
  218. package/dist/cjs/PreferenceAgent.js.map +1 -0
  219. package/dist/cjs/PreviewsAgent.d.ts +36 -0
  220. package/dist/cjs/PreviewsAgent.d.ts.map +1 -0
  221. package/dist/cjs/PreviewsAgent.js +54 -0
  222. package/dist/cjs/PreviewsAgent.js.map +1 -0
  223. package/dist/cjs/ProjectAgent.d.ts +558 -0
  224. package/dist/cjs/ProjectAgent.d.ts.map +1 -0
  225. package/dist/cjs/ProjectAgent.js +1482 -0
  226. package/dist/cjs/ProjectAgent.js.map +1 -0
  227. package/dist/cjs/ProjectRestApi.d.ts +46 -0
  228. package/dist/cjs/ProjectRestApi.d.ts.map +1 -0
  229. package/dist/cjs/ProjectRestApi.js +168 -0
  230. package/dist/cjs/ProjectRestApi.js.map +1 -0
  231. package/dist/cjs/QuoteAgent.d.ts +1415 -0
  232. package/dist/cjs/QuoteAgent.d.ts.map +1 -0
  233. package/dist/cjs/QuoteAgent.js +3224 -0
  234. package/dist/cjs/QuoteAgent.js.map +1 -0
  235. package/dist/cjs/RelationAgent.d.ts +61 -0
  236. package/dist/cjs/RelationAgent.d.ts.map +1 -0
  237. package/dist/cjs/RelationAgent.js +132 -0
  238. package/dist/cjs/RelationAgent.js.map +1 -0
  239. package/dist/cjs/ReplicationAgent.d.ts +77 -0
  240. package/dist/cjs/ReplicationAgent.d.ts.map +1 -0
  241. package/dist/cjs/ReplicationAgent.js +223 -0
  242. package/dist/cjs/ReplicationAgent.js.map +1 -0
  243. package/dist/cjs/ReportAgent.d.ts +144 -0
  244. package/dist/cjs/ReportAgent.d.ts.map +1 -0
  245. package/dist/cjs/ReportAgent.js +380 -0
  246. package/dist/cjs/ReportAgent.js.map +1 -0
  247. package/dist/cjs/ResourceAgent.d.ts +105 -0
  248. package/dist/cjs/ResourceAgent.d.ts.map +1 -0
  249. package/dist/cjs/ResourceAgent.js +196 -0
  250. package/dist/cjs/ResourceAgent.js.map +1 -0
  251. package/dist/cjs/SaintAgent.d.ts +157 -0
  252. package/dist/cjs/SaintAgent.d.ts.map +1 -0
  253. package/dist/cjs/SaintAgent.js +402 -0
  254. package/dist/cjs/SaintAgent.js.map +1 -0
  255. package/dist/cjs/SaleAgent.d.ts +477 -0
  256. package/dist/cjs/SaleAgent.d.ts.map +1 -0
  257. package/dist/cjs/SaleAgent.js +1182 -0
  258. package/dist/cjs/SaleAgent.js.map +1 -0
  259. package/dist/cjs/SaleRestApi.d.ts +46 -0
  260. package/dist/cjs/SaleRestApi.d.ts.map +1 -0
  261. package/dist/cjs/SaleRestApi.js +168 -0
  262. package/dist/cjs/SaleRestApi.js.map +1 -0
  263. package/dist/cjs/SelectionAgent.d.ts +814 -0
  264. package/dist/cjs/SelectionAgent.d.ts.map +1 -0
  265. package/dist/cjs/SelectionAgent.js +1795 -0
  266. package/dist/cjs/SelectionAgent.js.map +1 -0
  267. package/dist/cjs/SentryAgent.d.ts +113 -0
  268. package/dist/cjs/SentryAgent.d.ts.map +1 -0
  269. package/dist/cjs/SentryAgent.js +238 -0
  270. package/dist/cjs/SentryAgent.js.map +1 -0
  271. package/dist/cjs/SoApiConstants.d.ts +8 -0
  272. package/dist/cjs/SoApiConstants.d.ts.map +1 -0
  273. package/dist/cjs/SoApiConstants.js +12 -0
  274. package/dist/cjs/SoApiConstants.js.map +1 -0
  275. package/dist/cjs/TargetsAgent.d.ts +289 -0
  276. package/dist/cjs/TargetsAgent.d.ts.map +1 -0
  277. package/dist/cjs/TargetsAgent.js +728 -0
  278. package/dist/cjs/TargetsAgent.js.map +1 -0
  279. package/dist/cjs/TicketAgent.d.ts +802 -0
  280. package/dist/cjs/TicketAgent.d.ts.map +1 -0
  281. package/dist/cjs/TicketAgent.js +1865 -0
  282. package/dist/cjs/TicketAgent.js.map +1 -0
  283. package/dist/cjs/TimeZoneAgent.d.ts +139 -0
  284. package/dist/cjs/TimeZoneAgent.d.ts.map +1 -0
  285. package/dist/cjs/TimeZoneAgent.js +348 -0
  286. package/dist/cjs/TimeZoneAgent.js.map +1 -0
  287. package/dist/cjs/TooltipsAgent.d.ts +36 -0
  288. package/dist/cjs/TooltipsAgent.d.ts.map +1 -0
  289. package/dist/cjs/TooltipsAgent.js +54 -0
  290. package/dist/cjs/TooltipsAgent.js.map +1 -0
  291. package/dist/cjs/UserAgent.d.ts +1260 -0
  292. package/dist/cjs/UserAgent.d.ts.map +1 -0
  293. package/dist/cjs/UserAgent.js +2978 -0
  294. package/dist/cjs/UserAgent.js.map +1 -0
  295. package/dist/cjs/UserDefinedFieldInfoAgent.d.ts +474 -0
  296. package/dist/cjs/UserDefinedFieldInfoAgent.d.ts.map +1 -0
  297. package/dist/cjs/UserDefinedFieldInfoAgent.js +1067 -0
  298. package/dist/cjs/UserDefinedFieldInfoAgent.js.map +1 -0
  299. package/dist/cjs/ViewStateAgent.d.ts +230 -0
  300. package/dist/cjs/ViewStateAgent.d.ts.map +1 -0
  301. package/dist/cjs/ViewStateAgent.js +518 -0
  302. package/dist/cjs/ViewStateAgent.js.map +1 -0
  303. package/dist/cjs/WebApi.d.ts +427 -0
  304. package/dist/cjs/WebApi.d.ts.map +1 -0
  305. package/dist/cjs/WebApi.js +656 -0
  306. package/dist/cjs/WebApi.js.map +1 -0
  307. package/dist/cjs/WebApiBase.d.ts +152 -0
  308. package/dist/cjs/WebApiBase.d.ts.map +1 -0
  309. package/dist/cjs/WebApiBase.js +442 -0
  310. package/dist/cjs/WebApiBase.js.map +1 -0
  311. package/dist/cjs/WebhookAgent.d.ts +102 -0
  312. package/dist/cjs/WebhookAgent.d.ts.map +1 -0
  313. package/dist/cjs/WebhookAgent.js +245 -0
  314. package/dist/cjs/WebhookAgent.js.map +1 -0
  315. package/dist/cjs/WorkflowAgent.d.ts +250 -0
  316. package/dist/cjs/WorkflowAgent.d.ts.map +1 -0
  317. package/dist/cjs/WorkflowAgent.js +763 -0
  318. package/dist/cjs/WorkflowAgent.js.map +1 -0
  319. package/dist/cjs/package.json +1 -0
  320. package/dist/esm/AIAgent.d.ts +265 -0
  321. package/dist/esm/AIAgent.d.ts.map +1 -0
  322. package/dist/esm/AIAgent.js +530 -0
  323. package/dist/esm/AIAgent.js.map +1 -0
  324. package/dist/esm/AppointmentAgent.d.ts +1539 -0
  325. package/dist/esm/AppointmentAgent.d.ts.map +1 -0
  326. package/dist/esm/AppointmentAgent.js +3358 -0
  327. package/dist/esm/AppointmentAgent.js.map +1 -0
  328. package/dist/esm/AppointmentRestApi.d.ts +46 -0
  329. package/dist/esm/AppointmentRestApi.d.ts.map +1 -0
  330. package/dist/esm/AppointmentRestApi.js +163 -0
  331. package/dist/esm/AppointmentRestApi.js.map +1 -0
  332. package/dist/esm/ArchiveAgent.d.ts +582 -0
  333. package/dist/esm/ArchiveAgent.d.ts.map +1 -0
  334. package/dist/esm/ArchiveAgent.js +1130 -0
  335. package/dist/esm/ArchiveAgent.js.map +1 -0
  336. package/dist/esm/AssociateAgent.d.ts +109 -0
  337. package/dist/esm/AssociateAgent.d.ts.map +1 -0
  338. package/dist/esm/AssociateAgent.js +252 -0
  339. package/dist/esm/AssociateAgent.js.map +1 -0
  340. package/dist/esm/AudienceAgent.d.ts +359 -0
  341. package/dist/esm/AudienceAgent.d.ts.map +1 -0
  342. package/dist/esm/AudienceAgent.js +883 -0
  343. package/dist/esm/AudienceAgent.js.map +1 -0
  344. package/dist/esm/AxiosCacheHandler.d.ts +20 -0
  345. package/dist/esm/AxiosCacheHandler.d.ts.map +1 -0
  346. package/dist/esm/AxiosCacheHandler.js +64 -0
  347. package/dist/esm/AxiosCacheHandler.js.map +1 -0
  348. package/dist/esm/BLOBAgent.d.ts +538 -0
  349. package/dist/esm/BLOBAgent.d.ts.map +1 -0
  350. package/dist/esm/BLOBAgent.js +1359 -0
  351. package/dist/esm/BLOBAgent.js.map +1 -0
  352. package/dist/esm/Base64.d.ts +4 -0
  353. package/dist/esm/Base64.d.ts.map +1 -0
  354. package/dist/esm/Base64.js +228 -0
  355. package/dist/esm/Base64.js.map +1 -0
  356. package/dist/esm/BatchAgent.d.ts +252 -0
  357. package/dist/esm/BatchAgent.d.ts.map +1 -0
  358. package/dist/esm/BatchAgent.js +517 -0
  359. package/dist/esm/BatchAgent.js.map +1 -0
  360. package/dist/esm/BulkUpdateAgent.d.ts +144 -0
  361. package/dist/esm/BulkUpdateAgent.d.ts.map +1 -0
  362. package/dist/esm/BulkUpdateAgent.js +283 -0
  363. package/dist/esm/BulkUpdateAgent.js.map +1 -0
  364. package/dist/esm/CRMScriptAgent.d.ts +330 -0
  365. package/dist/esm/CRMScriptAgent.d.ts.map +1 -0
  366. package/dist/esm/CRMScriptAgent.js +794 -0
  367. package/dist/esm/CRMScriptAgent.js.map +1 -0
  368. package/dist/esm/Carriers.d.ts +36976 -0
  369. package/dist/esm/Carriers.d.ts.map +1 -0
  370. package/dist/esm/Carriers.js +6 -0
  371. package/dist/esm/Carriers.js.map +1 -0
  372. package/dist/esm/ChatAgent.d.ts +366 -0
  373. package/dist/esm/ChatAgent.d.ts.map +1 -0
  374. package/dist/esm/ChatAgent.js +914 -0
  375. package/dist/esm/ChatAgent.js.map +1 -0
  376. package/dist/esm/ConfigurationAgent.d.ts +534 -0
  377. package/dist/esm/ConfigurationAgent.d.ts.map +1 -0
  378. package/dist/esm/ConfigurationAgent.js +1424 -0
  379. package/dist/esm/ConfigurationAgent.js.map +1 -0
  380. package/dist/esm/ContactAgent.d.ts +415 -0
  381. package/dist/esm/ContactAgent.d.ts.map +1 -0
  382. package/dist/esm/ContactAgent.js +1000 -0
  383. package/dist/esm/ContactAgent.js.map +1 -0
  384. package/dist/esm/ContactRestApi.d.ts +46 -0
  385. package/dist/esm/ContactRestApi.d.ts.map +1 -0
  386. package/dist/esm/ContactRestApi.js +163 -0
  387. package/dist/esm/ContactRestApi.js.map +1 -0
  388. package/dist/esm/Converters.d.ts +1359 -0
  389. package/dist/esm/Converters.d.ts.map +1 -0
  390. package/dist/esm/Converters.js +17609 -0
  391. package/dist/esm/Converters.js.map +1 -0
  392. package/dist/esm/CustomerServiceAgent.d.ts +447 -0
  393. package/dist/esm/CustomerServiceAgent.d.ts.map +1 -0
  394. package/dist/esm/CustomerServiceAgent.js +1118 -0
  395. package/dist/esm/CustomerServiceAgent.js.map +1 -0
  396. package/dist/esm/DashAgent.d.ts +370 -0
  397. package/dist/esm/DashAgent.d.ts.map +1 -0
  398. package/dist/esm/DashAgent.js +1023 -0
  399. package/dist/esm/DashAgent.js.map +1 -0
  400. package/dist/esm/DashboardAgent.d.ts +163 -0
  401. package/dist/esm/DashboardAgent.d.ts.map +1 -0
  402. package/dist/esm/DashboardAgent.js +431 -0
  403. package/dist/esm/DashboardAgent.js.map +1 -0
  404. package/dist/esm/DatabaseAgent.d.ts +35 -0
  405. package/dist/esm/DatabaseAgent.d.ts.map +1 -0
  406. package/dist/esm/DatabaseAgent.js +65 -0
  407. package/dist/esm/DatabaseAgent.js.map +1 -0
  408. package/dist/esm/DatabaseTableAgent.d.ts +155 -0
  409. package/dist/esm/DatabaseTableAgent.d.ts.map +1 -0
  410. package/dist/esm/DatabaseTableAgent.js +294 -0
  411. package/dist/esm/DatabaseTableAgent.js.map +1 -0
  412. package/dist/esm/Day_js.d.ts +4 -0
  413. package/dist/esm/Day_js.d.ts.map +1 -0
  414. package/dist/esm/Day_js.js +38 -0
  415. package/dist/esm/Day_js.js.map +1 -0
  416. package/dist/esm/DiagnosticsAgent.d.ts +200 -0
  417. package/dist/esm/DiagnosticsAgent.d.ts.map +1 -0
  418. package/dist/esm/DiagnosticsAgent.js +475 -0
  419. package/dist/esm/DiagnosticsAgent.js.map +1 -0
  420. package/dist/esm/DocumentAgent.d.ts +1345 -0
  421. package/dist/esm/DocumentAgent.d.ts.map +1 -0
  422. package/dist/esm/DocumentAgent.js +3053 -0
  423. package/dist/esm/DocumentAgent.js.map +1 -0
  424. package/dist/esm/DocumentMigrationAgent.d.ts +145 -0
  425. package/dist/esm/DocumentMigrationAgent.d.ts.map +1 -0
  426. package/dist/esm/DocumentMigrationAgent.js +292 -0
  427. package/dist/esm/DocumentMigrationAgent.js.map +1 -0
  428. package/dist/esm/DocumentRestApi.d.ts +46 -0
  429. package/dist/esm/DocumentRestApi.d.ts.map +1 -0
  430. package/dist/esm/DocumentRestApi.js +163 -0
  431. package/dist/esm/DocumentRestApi.js.map +1 -0
  432. package/dist/esm/EMailAgent.d.ts +1417 -0
  433. package/dist/esm/EMailAgent.d.ts.map +1 -0
  434. package/dist/esm/EMailAgent.js +3197 -0
  435. package/dist/esm/EMailAgent.js.map +1 -0
  436. package/dist/esm/Enums.d.ts +6083 -0
  437. package/dist/esm/Enums.d.ts.map +1 -0
  438. package/dist/esm/Enums.js +6264 -0
  439. package/dist/esm/Enums.js.map +1 -0
  440. package/dist/esm/ErpSyncAgent.d.ts +725 -0
  441. package/dist/esm/ErpSyncAgent.d.ts.map +1 -0
  442. package/dist/esm/ErpSyncAgent.js +1596 -0
  443. package/dist/esm/ErpSyncAgent.js.map +1 -0
  444. package/dist/esm/FavouriteAgent.d.ts +208 -0
  445. package/dist/esm/FavouriteAgent.d.ts.map +1 -0
  446. package/dist/esm/FavouriteAgent.js +402 -0
  447. package/dist/esm/FavouriteAgent.js.map +1 -0
  448. package/dist/esm/FindAgent.d.ts +688 -0
  449. package/dist/esm/FindAgent.d.ts.map +1 -0
  450. package/dist/esm/FindAgent.js +1332 -0
  451. package/dist/esm/FindAgent.js.map +1 -0
  452. package/dist/esm/ForeignSystemAgent.d.ts +478 -0
  453. package/dist/esm/ForeignSystemAgent.d.ts.map +1 -0
  454. package/dist/esm/ForeignSystemAgent.js +1017 -0
  455. package/dist/esm/ForeignSystemAgent.js.map +1 -0
  456. package/dist/esm/FreeTextAgent.d.ts +172 -0
  457. package/dist/esm/FreeTextAgent.d.ts.map +1 -0
  458. package/dist/esm/FreeTextAgent.js +363 -0
  459. package/dist/esm/FreeTextAgent.js.map +1 -0
  460. package/dist/esm/ImportAgent.d.ts +92 -0
  461. package/dist/esm/ImportAgent.d.ts.map +1 -0
  462. package/dist/esm/ImportAgent.js +159 -0
  463. package/dist/esm/ImportAgent.js.map +1 -0
  464. package/dist/esm/LicenseAgent.d.ts +298 -0
  465. package/dist/esm/LicenseAgent.d.ts.map +1 -0
  466. package/dist/esm/LicenseAgent.js +634 -0
  467. package/dist/esm/LicenseAgent.js.map +1 -0
  468. package/dist/esm/ListAgent.d.ts +2423 -0
  469. package/dist/esm/ListAgent.d.ts.map +1 -0
  470. package/dist/esm/ListAgent.js +7808 -0
  471. package/dist/esm/ListAgent.js.map +1 -0
  472. package/dist/esm/MDOAgent.d.ts +214 -0
  473. package/dist/esm/MDOAgent.d.ts.map +1 -0
  474. package/dist/esm/MDOAgent.js +425 -0
  475. package/dist/esm/MDOAgent.js.map +1 -0
  476. package/dist/esm/MarketingAgent.d.ts +170 -0
  477. package/dist/esm/MarketingAgent.d.ts.map +1 -0
  478. package/dist/esm/MarketingAgent.js +565 -0
  479. package/dist/esm/MarketingAgent.js.map +1 -0
  480. package/dist/esm/MessagingAgent.d.ts +111 -0
  481. package/dist/esm/MessagingAgent.d.ts.map +1 -0
  482. package/dist/esm/MessagingAgent.js +212 -0
  483. package/dist/esm/MessagingAgent.js.map +1 -0
  484. package/dist/esm/NavigatorAgent.d.ts +40 -0
  485. package/dist/esm/NavigatorAgent.d.ts.map +1 -0
  486. package/dist/esm/NavigatorAgent.js +94 -0
  487. package/dist/esm/NavigatorAgent.js.map +1 -0
  488. package/dist/esm/NumberAllocationAgent.d.ts +72 -0
  489. package/dist/esm/NumberAllocationAgent.d.ts.map +1 -0
  490. package/dist/esm/NumberAllocationAgent.js +194 -0
  491. package/dist/esm/NumberAllocationAgent.js.map +1 -0
  492. package/dist/esm/PersonAgent.d.ts +774 -0
  493. package/dist/esm/PersonAgent.d.ts.map +1 -0
  494. package/dist/esm/PersonAgent.js +1809 -0
  495. package/dist/esm/PersonAgent.js.map +1 -0
  496. package/dist/esm/PersonRestApi.d.ts +46 -0
  497. package/dist/esm/PersonRestApi.d.ts.map +1 -0
  498. package/dist/esm/PersonRestApi.js +163 -0
  499. package/dist/esm/PersonRestApi.js.map +1 -0
  500. package/dist/esm/PhoneListAgent.d.ts +126 -0
  501. package/dist/esm/PhoneListAgent.d.ts.map +1 -0
  502. package/dist/esm/PhoneListAgent.js +264 -0
  503. package/dist/esm/PhoneListAgent.js.map +1 -0
  504. package/dist/esm/PocketAgent.d.ts +218 -0
  505. package/dist/esm/PocketAgent.d.ts.map +1 -0
  506. package/dist/esm/PocketAgent.js +446 -0
  507. package/dist/esm/PocketAgent.js.map +1 -0
  508. package/dist/esm/PreferenceAgent.d.ts +497 -0
  509. package/dist/esm/PreferenceAgent.d.ts.map +1 -0
  510. package/dist/esm/PreferenceAgent.js +1189 -0
  511. package/dist/esm/PreferenceAgent.js.map +1 -0
  512. package/dist/esm/PreviewsAgent.d.ts +36 -0
  513. package/dist/esm/PreviewsAgent.d.ts.map +1 -0
  514. package/dist/esm/PreviewsAgent.js +49 -0
  515. package/dist/esm/PreviewsAgent.js.map +1 -0
  516. package/dist/esm/ProjectAgent.d.ts +558 -0
  517. package/dist/esm/ProjectAgent.d.ts.map +1 -0
  518. package/dist/esm/ProjectAgent.js +1477 -0
  519. package/dist/esm/ProjectAgent.js.map +1 -0
  520. package/dist/esm/ProjectRestApi.d.ts +46 -0
  521. package/dist/esm/ProjectRestApi.d.ts.map +1 -0
  522. package/dist/esm/ProjectRestApi.js +163 -0
  523. package/dist/esm/ProjectRestApi.js.map +1 -0
  524. package/dist/esm/QuoteAgent.d.ts +1415 -0
  525. package/dist/esm/QuoteAgent.d.ts.map +1 -0
  526. package/dist/esm/QuoteAgent.js +3219 -0
  527. package/dist/esm/QuoteAgent.js.map +1 -0
  528. package/dist/esm/RelationAgent.d.ts +61 -0
  529. package/dist/esm/RelationAgent.d.ts.map +1 -0
  530. package/dist/esm/RelationAgent.js +127 -0
  531. package/dist/esm/RelationAgent.js.map +1 -0
  532. package/dist/esm/ReplicationAgent.d.ts +77 -0
  533. package/dist/esm/ReplicationAgent.d.ts.map +1 -0
  534. package/dist/esm/ReplicationAgent.js +218 -0
  535. package/dist/esm/ReplicationAgent.js.map +1 -0
  536. package/dist/esm/ReportAgent.d.ts +144 -0
  537. package/dist/esm/ReportAgent.d.ts.map +1 -0
  538. package/dist/esm/ReportAgent.js +375 -0
  539. package/dist/esm/ReportAgent.js.map +1 -0
  540. package/dist/esm/ResourceAgent.d.ts +105 -0
  541. package/dist/esm/ResourceAgent.d.ts.map +1 -0
  542. package/dist/esm/ResourceAgent.js +191 -0
  543. package/dist/esm/ResourceAgent.js.map +1 -0
  544. package/dist/esm/SaintAgent.d.ts +157 -0
  545. package/dist/esm/SaintAgent.d.ts.map +1 -0
  546. package/dist/esm/SaintAgent.js +397 -0
  547. package/dist/esm/SaintAgent.js.map +1 -0
  548. package/dist/esm/SaleAgent.d.ts +477 -0
  549. package/dist/esm/SaleAgent.d.ts.map +1 -0
  550. package/dist/esm/SaleAgent.js +1177 -0
  551. package/dist/esm/SaleAgent.js.map +1 -0
  552. package/dist/esm/SaleRestApi.d.ts +46 -0
  553. package/dist/esm/SaleRestApi.d.ts.map +1 -0
  554. package/dist/esm/SaleRestApi.js +163 -0
  555. package/dist/esm/SaleRestApi.js.map +1 -0
  556. package/dist/esm/SelectionAgent.d.ts +814 -0
  557. package/dist/esm/SelectionAgent.d.ts.map +1 -0
  558. package/dist/esm/SelectionAgent.js +1790 -0
  559. package/dist/esm/SelectionAgent.js.map +1 -0
  560. package/dist/esm/SentryAgent.d.ts +113 -0
  561. package/dist/esm/SentryAgent.d.ts.map +1 -0
  562. package/dist/esm/SentryAgent.js +233 -0
  563. package/dist/esm/SentryAgent.js.map +1 -0
  564. package/dist/esm/SoApiConstants.d.ts +8 -0
  565. package/dist/esm/SoApiConstants.d.ts.map +1 -0
  566. package/dist/esm/SoApiConstants.js +9 -0
  567. package/dist/esm/SoApiConstants.js.map +1 -0
  568. package/dist/esm/TargetsAgent.d.ts +289 -0
  569. package/dist/esm/TargetsAgent.d.ts.map +1 -0
  570. package/dist/esm/TargetsAgent.js +723 -0
  571. package/dist/esm/TargetsAgent.js.map +1 -0
  572. package/dist/esm/TicketAgent.d.ts +802 -0
  573. package/dist/esm/TicketAgent.d.ts.map +1 -0
  574. package/dist/esm/TicketAgent.js +1860 -0
  575. package/dist/esm/TicketAgent.js.map +1 -0
  576. package/dist/esm/TimeZoneAgent.d.ts +139 -0
  577. package/dist/esm/TimeZoneAgent.d.ts.map +1 -0
  578. package/dist/esm/TimeZoneAgent.js +343 -0
  579. package/dist/esm/TimeZoneAgent.js.map +1 -0
  580. package/dist/esm/TooltipsAgent.d.ts +36 -0
  581. package/dist/esm/TooltipsAgent.d.ts.map +1 -0
  582. package/dist/esm/TooltipsAgent.js +49 -0
  583. package/dist/esm/TooltipsAgent.js.map +1 -0
  584. package/dist/esm/UserAgent.d.ts +1260 -0
  585. package/dist/esm/UserAgent.d.ts.map +1 -0
  586. package/dist/esm/UserAgent.js +2973 -0
  587. package/dist/esm/UserAgent.js.map +1 -0
  588. package/dist/esm/UserDefinedFieldInfoAgent.d.ts +474 -0
  589. package/dist/esm/UserDefinedFieldInfoAgent.d.ts.map +1 -0
  590. package/dist/esm/UserDefinedFieldInfoAgent.js +1062 -0
  591. package/dist/esm/UserDefinedFieldInfoAgent.js.map +1 -0
  592. package/dist/esm/ViewStateAgent.d.ts +230 -0
  593. package/dist/esm/ViewStateAgent.d.ts.map +1 -0
  594. package/dist/esm/ViewStateAgent.js +513 -0
  595. package/dist/esm/ViewStateAgent.js.map +1 -0
  596. package/dist/esm/WebApi.d.ts +427 -0
  597. package/dist/esm/WebApi.d.ts.map +1 -0
  598. package/dist/esm/WebApi.js +649 -0
  599. package/dist/esm/WebApi.js.map +1 -0
  600. package/dist/esm/WebApiBase.d.ts +152 -0
  601. package/dist/esm/WebApiBase.d.ts.map +1 -0
  602. package/dist/esm/WebApiBase.js +437 -0
  603. package/dist/esm/WebApiBase.js.map +1 -0
  604. package/dist/esm/WebhookAgent.d.ts +102 -0
  605. package/dist/esm/WebhookAgent.d.ts.map +1 -0
  606. package/dist/esm/WebhookAgent.js +240 -0
  607. package/dist/esm/WebhookAgent.js.map +1 -0
  608. package/dist/esm/WorkflowAgent.d.ts +250 -0
  609. package/dist/esm/WorkflowAgent.d.ts.map +1 -0
  610. package/dist/esm/WorkflowAgent.js +758 -0
  611. package/dist/esm/WorkflowAgent.js.map +1 -0
  612. package/dist/esm/package.json +1 -0
  613. package/examples-js/hello.js +12 -0
  614. package/examples-ts/hello.ts +8 -0
  615. package/package.json +89 -0
  616. package/scripts/setVersion.js +46 -0
  617. package/src/AIAgent.ts +928 -0
  618. package/src/AppointmentAgent.ts +5573 -0
  619. package/src/AppointmentRestApi.ts +225 -0
  620. package/src/ArchiveAgent.ts +1950 -0
  621. package/src/AssociateAgent.ts +422 -0
  622. package/src/AudienceAgent.ts +1430 -0
  623. package/src/AxiosCacheHandler.ts +74 -0
  624. package/src/BLOBAgent.ts +2214 -0
  625. package/src/Base64.ts +285 -0
  626. package/src/BatchAgent.ts +910 -0
  627. package/src/BulkUpdateAgent.ts +504 -0
  628. package/src/CRMScriptAgent.ts +1276 -0
  629. package/src/Carriers.ts +49791 -0
  630. package/src/ChatAgent.ts +1422 -0
  631. package/src/ConfigurationAgent.ts +2138 -0
  632. package/src/ContactAgent.ts +1586 -0
  633. package/src/ContactRestApi.ts +235 -0
  634. package/src/Converters.ts +21633 -0
  635. package/src/CustomerServiceAgent.ts +1734 -0
  636. package/src/DashAgent.ts +1504 -0
  637. package/src/DashboardAgent.ts +658 -0
  638. package/src/DatabaseAgent.ts +120 -0
  639. package/src/DatabaseTableAgent.ts +534 -0
  640. package/src/Day_js.ts +41 -0
  641. package/src/DiagnosticsAgent.ts +744 -0
  642. package/src/DocumentAgent.ts +5018 -0
  643. package/src/DocumentMigrationAgent.ts +494 -0
  644. package/src/DocumentRestApi.ts +259 -0
  645. package/src/EMailAgent.ts +5210 -0
  646. package/src/Enums.ts +6438 -0
  647. package/src/ErpSyncAgent.ts +2658 -0
  648. package/src/FavouriteAgent.ts +720 -0
  649. package/src/FindAgent.ts +2330 -0
  650. package/src/ForeignSystemAgent.ts +1710 -0
  651. package/src/FreeTextAgent.ts +626 -0
  652. package/src/ImportAgent.ts +304 -0
  653. package/src/LicenseAgent.ts +1088 -0
  654. package/src/ListAgent.ts +10894 -0
  655. package/src/MDOAgent.ts +748 -0
  656. package/src/MarketingAgent.ts +776 -0
  657. package/src/MessagingAgent.ts +384 -0
  658. package/src/NavigatorAgent.ts +164 -0
  659. package/src/NumberAllocationAgent.ts +296 -0
  660. package/src/PersonAgent.ts +2919 -0
  661. package/src/PersonRestApi.ts +239 -0
  662. package/src/PhoneListAgent.ts +458 -0
  663. package/src/PocketAgent.ts +780 -0
  664. package/src/PreferenceAgent.ts +1900 -0
  665. package/src/PreviewsAgent.ts +116 -0
  666. package/src/ProjectAgent.ts +2275 -0
  667. package/src/ProjectRestApi.ts +239 -0
  668. package/src/QuoteAgent.ts +5294 -0
  669. package/src/RelationAgent.ts +220 -0
  670. package/src/ReplicationAgent.ts +325 -0
  671. package/src/ReportAgent.ts +575 -0
  672. package/src/ResourceAgent.ts +358 -0
  673. package/src/SaintAgent.ts +601 -0
  674. package/src/SaleAgent.ts +1862 -0
  675. package/src/SaleRestApi.ts +233 -0
  676. package/src/SelectionAgent.ts +2980 -0
  677. package/src/SentryAgent.ts +406 -0
  678. package/src/SoApiConstants.ts +8 -0
  679. package/src/TargetsAgent.ts +1104 -0
  680. package/src/TicketAgent.ts +3032 -0
  681. package/src/TimeZoneAgent.ts +528 -0
  682. package/src/TooltipsAgent.ts +116 -0
  683. package/src/UserAgent.ts +4798 -0
  684. package/src/UserDefinedFieldInfoAgent.ts +1764 -0
  685. package/src/ViewStateAgent.ts +858 -0
  686. package/src/WebApi.ts +908 -0
  687. package/src/WebApiBase.ts +562 -0
  688. package/src/WebhookAgent.ts +388 -0
  689. package/src/WorkflowAgent.ts +1054 -0
  690. package/tsconfig.esm.json +8 -0
  691. package/tsconfig.jest.json +12 -0
  692. package/tsconfig.json +35 -0
@@ -0,0 +1,1539 @@
1
+ import { AxiosRequestConfig } from 'axios';
2
+ import * as enums from './Enums.js';
3
+ import * as base from './WebApiBase.js';
4
+ import * as carriers from './Carriers.js';
5
+ /**
6
+ * Collection of all services that works with Appointment data.
7
+ */
8
+ export interface IAppointmentAgent {
9
+ createDefaultAppointmentEntityAsync(): Promise<carriers.AppointmentEntity>;
10
+ saveAppointmentEntityAsync(entity: carriers.AppointmentEntity): Promise<carriers.AppointmentEntity>;
11
+ deleteAppointmentEntityAsync(AppointmentEntityId: number): Promise<void>;
12
+ createDefaultSuggestedAppointmentEntityAsync(): Promise<carriers.SuggestedAppointmentEntity>;
13
+ saveSuggestedAppointmentEntityAsync(entity: carriers.SuggestedAppointmentEntity): Promise<carriers.SuggestedAppointmentEntity>;
14
+ createDefaultTaskListItemAsync(): Promise<carriers.TaskListItem>;
15
+ saveTaskListItemAsync(entity: carriers.TaskListItem): Promise<carriers.TaskListItem>;
16
+ getAppointmentAsync(appointmentId: number): Promise<carriers.Appointment>;
17
+ toggleAppointmentStatusAsync(request: carriers.Appointment_ToggleAppointmentStatusRequest, webapi_options?: base.WebApiRequestOptions): Promise<enums.AppointmentStatus>;
18
+ toggleAppointmentStatusAsync(appointmentId: number, webapi_options?: base.WebApiRequestOptions): Promise<enums.AppointmentStatus>;
19
+ toggleActivityAsync(request: carriers.Appointment_ToggleActivityRequest, webapi_options?: base.WebApiRequestOptions): Promise<enums.ActivityStatus>;
20
+ toggleActivityAsync(activityIdentifier: string, webapi_options?: base.WebApiRequestOptions): Promise<enums.ActivityStatus>;
21
+ toggleActivitiesAsync(request: carriers.Appointment_ToggleActivitiesRequest, webapi_options?: base.WebApiRequestOptions): Promise<enums.ActivityStatus>;
22
+ toggleActivitiesAsync(activityIdentifier: string[], webapi_options?: base.WebApiRequestOptions): Promise<enums.ActivityStatus>;
23
+ setActivityStatusAsync(request: carriers.Appointment_SetActivityStatusRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
24
+ setActivityStatusAsync(activityIdentifier: string[], activityStatus: enums.ActivityStatus, webapi_options?: base.WebApiRequestOptions): Promise<void>;
25
+ toggleAndSetActivitiesAsync(request: carriers.Appointment_ToggleAndSetActivitiesRequest, webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
26
+ toggleAndSetActivitiesAsync(activityIdentifiers: string[], webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
27
+ getAppointmentEntityAsync(appointmentEntityId: number): Promise<carriers.AppointmentEntity>;
28
+ createDefaultAppointmentEntityByTypeAsync(request: carriers.Appointment_CreateDefaultAppointmentEntityByTypeRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
29
+ createDefaultAppointmentEntityByTypeAsync(type: enums.TaskType, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
30
+ createAppointmentEntityFromExistingAsync(request: carriers.Appointment_CreateAppointmentEntityFromExistingRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
31
+ createAppointmentEntityFromExistingAsync(appointmentId: number, associateId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
32
+ acceptAsync(request: carriers.Appointment_AcceptRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
33
+ acceptAsync(appointmentId: number, updateMode: enums.RecurrenceUpdateMode, webapi_options?: base.WebApiRequestOptions): Promise<void>;
34
+ createAndAcceptAsync(request: carriers.Appointment_CreateAndAcceptRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
35
+ createAndAcceptAsync(emailItemId: number, updateMode: enums.RecurrenceUpdateMode, webapi_options?: base.WebApiRequestOptions): Promise<void>;
36
+ acceptWithEmailConfirmationAsync(request: carriers.Appointment_AcceptWithEmailConfirmationRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
37
+ acceptWithEmailConfirmationAsync(appointmentId: number, updateMode: enums.RecurrenceUpdateMode, webapi_options?: base.WebApiRequestOptions): Promise<void>;
38
+ createAndAcceptWithEmailConfirmationAsync(request: carriers.Appointment_CreateAndAcceptWithEmailConfirmationRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
39
+ createAndAcceptWithEmailConfirmationAsync(emailItemId: number, updateMode: enums.RecurrenceUpdateMode, webapi_options?: base.WebApiRequestOptions): Promise<void>;
40
+ rejectAsync(request: carriers.Appointment_RejectRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
41
+ rejectAsync(appointmentId: number, rejectReason: string, updateMode: enums.RecurrenceUpdateMode, webapi_options?: base.WebApiRequestOptions): Promise<void>;
42
+ rejectWithEmailConfirmationAsync(request: carriers.Appointment_RejectWithEmailConfirmationRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
43
+ rejectWithEmailConfirmationAsync(appointmentId: number, rejectReason: string, updateMode: enums.RecurrenceUpdateMode, webapi_options?: base.WebApiRequestOptions): Promise<void>;
44
+ declineInvitationFromEmailItemAsync(request: carriers.Appointment_DeclineInvitationFromEmailItemRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
45
+ declineInvitationFromEmailItemAsync(emailItemId: number, rejectReason: string, webapi_options?: base.WebApiRequestOptions): Promise<void>;
46
+ getOrganizerNameAsync(request: carriers.Appointment_GetOrganizerNameRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
47
+ getOrganizerNameAsync(motherAppointmentId: number, webapi_options?: base.WebApiRequestOptions): Promise<string>;
48
+ saveAsync(request: carriers.Appointment_SaveRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
49
+ saveAsync(appointmentEntity: carriers.AppointmentEntity, updateMode: enums.RecurrenceUpdateMode, sendEmailToParticipants: boolean, smtpEMailConnectionInfo: carriers.EMailConnectionInfo, imapEMailConnectionInfo: carriers.EMailConnectionInfo, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
50
+ deleteAsync(request: carriers.Appointment_DeleteRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
51
+ deleteAsync(appointmentId: number, updateMode: enums.RecurrenceUpdateMode, sendEmailToParticipants: boolean, smtpEMailConnectionInfo: carriers.EMailConnectionInfo, imapEMailConnectionInfo: carriers.EMailConnectionInfo, webapi_options?: base.WebApiRequestOptions): Promise<void>;
52
+ calculateDaysAsync(request: carriers.Appointment_CalculateDaysRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.RecurrenceInfo>;
53
+ calculateDaysAsync(appointmentEntity: carriers.AppointmentEntity, webapi_options?: base.WebApiRequestOptions): Promise<carriers.RecurrenceInfo>;
54
+ validateDaysAsync(request: carriers.Appointment_ValidateDaysRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.RecurrenceDate[]>;
55
+ validateDaysAsync(appointmentEntity: carriers.AppointmentEntity, dates: Date[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.RecurrenceDate[]>;
56
+ createDefaultRecurrenceAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.RecurrenceInfo>;
57
+ assignToAsync(request: carriers.Appointment_AssignToRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
58
+ assignToAsync(appointmentId: number, participant: carriers.ParticipantInfo, updateMode: enums.RecurrenceUpdateMode, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
59
+ setSeenAsync(request: carriers.Appointment_SetSeenRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
60
+ setSeenAsync(appointmentId: number, updateMode: enums.RecurrenceUpdateMode, webapi_options?: base.WebApiRequestOptions): Promise<void>;
61
+ setSeenManyAsync(request: carriers.Appointment_SetSeenManyRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
62
+ setSeenManyAsync(appointmentIds: number[], updateMode: enums.RecurrenceUpdateMode, webapi_options?: base.WebApiRequestOptions): Promise<void>;
63
+ moveAsync(request: carriers.Appointment_MoveRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
64
+ moveAsync(appointmentId: number, newStartTime: Date, updateMode: enums.RecurrenceUpdateMode, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
65
+ acceptRejectedAsync(request: carriers.Appointment_AcceptRejectedRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
66
+ acceptRejectedAsync(appointmentId: number, updateMode: enums.RecurrenceUpdateMode, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
67
+ createDefaultRecurrenceByDateAsync(request: carriers.Appointment_CreateDefaultRecurrenceByDateRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.RecurrenceInfo>;
68
+ createDefaultRecurrenceByDateAsync(startDate: Date, webapi_options?: base.WebApiRequestOptions): Promise<carriers.RecurrenceInfo>;
69
+ cleanUpBookingDeletedAsync(request: carriers.Appointment_CleanUpBookingDeletedRequest, webapi_options?: base.WebApiRequestOptions): Promise<number>;
70
+ cleanUpBookingDeletedAsync(appointmentIds: number[], webapi_options?: base.WebApiRequestOptions): Promise<number>;
71
+ cleanUpBookingDeletedWithUpdateModeAsync(request: carriers.Appointment_CleanUpBookingDeletedWithUpdateModeRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
72
+ cleanUpBookingDeletedWithUpdateModeAsync(appointmentIds: number[], updateMode: enums.RecurrenceUpdateMode, webapi_options?: base.WebApiRequestOptions): Promise<void>;
73
+ cleanUpRecurringBookingDeletedAsync(webapi_options?: base.WebApiRequestOptions): Promise<number>;
74
+ createDefaultAppointmentEntityByTypeAndAssociateAsync(request: carriers.Appointment_CreateDefaultAppointmentEntityByTypeAndAssociateRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
75
+ createDefaultAppointmentEntityByTypeAndAssociateAsync(type: enums.TaskType, associateId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
76
+ getCanInsertForAssociatesAsync(request: carriers.Appointment_GetCanInsertForAssociatesRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean[]>;
77
+ getCanInsertForAssociatesAsync(associateIds: number[], webapi_options?: base.WebApiRequestOptions): Promise<boolean[]>;
78
+ getAppointmentHaveParticipantsWithEmailAsync(request: carriers.Appointment_GetAppointmentHaveParticipantsWithEmailRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
79
+ getAppointmentHaveParticipantsWithEmailAsync(appointmentId: number, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
80
+ createDefaultAppointmentEntityFromSaleSuggestionAsync(request: carriers.Appointment_CreateDefaultAppointmentEntityFromSaleSuggestionRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
81
+ createDefaultAppointmentEntityFromSaleSuggestionAsync(suggestedAppointmentId: number, saleId: number, createNow: boolean, ownerId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
82
+ getNextSuggestedAppointmentBySaleAsync(request: carriers.Appointment_GetNextSuggestedAppointmentBySaleRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.SuggestedAppointment>;
83
+ getNextSuggestedAppointmentBySaleAsync(saleId: number, currentAppointmentId: number, skipCompleteCheck: boolean, webapi_options?: base.WebApiRequestOptions): Promise<carriers.SuggestedAppointment>;
84
+ createDefaultReOpenAppointmentAsync(request: carriers.Appointment_CreateDefaultReOpenAppointmentRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
85
+ createDefaultReOpenAppointmentAsync(saleId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
86
+ createDefaultAppointmentEntityFromProjectSuggestionAsync(request: carriers.Appointment_CreateDefaultAppointmentEntityFromProjectSuggestionRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
87
+ createDefaultAppointmentEntityFromProjectSuggestionAsync(suggestedAppointmentId: number, projectId: number, createNow: boolean, ownerId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
88
+ createAppointmentForUIDAsync(request: carriers.Appointment_CreateAppointmentForUIDRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
89
+ createAppointmentForUIDAsync(appointmentEntity: carriers.AppointmentEntity, uid: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
90
+ getAppointmentFromUIDAsync(request: carriers.Appointment_GetAppointmentFromUIDRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
91
+ getAppointmentFromUIDAsync(uid: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
92
+ canAssignToProjectMemberAsync(request: carriers.Appointment_CanAssignToProjectMemberRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
93
+ canAssignToProjectMemberAsync(projectId: number, suggestedAppointmentId: number, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
94
+ getUIDFromAppointmentIdAsync(request: carriers.Appointment_GetUIDFromAppointmentIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
95
+ getUIDFromAppointmentIdAsync(appointmentId: number, useMotherId: boolean, webapi_options?: base.WebApiRequestOptions): Promise<string>;
96
+ updateAppointmentFromIcsResponseAsync(request: carriers.Appointment_UpdateAppointmentFromIcsResponseRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
97
+ updateAppointmentFromIcsResponseAsync(emailAddress: string, icsData: ArrayBuffer | string, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
98
+ validateAppointmentEntityAsync(request: carriers.Appointment_ValidateAppointmentEntityRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.StringDictionary>;
99
+ validateAppointmentEntityAsync(appointmentEntity: carriers.AppointmentEntity, webapi_options?: base.WebApiRequestOptions): Promise<carriers.StringDictionary>;
100
+ willSendEmailAsync(request: carriers.Appointment_WillSendEmailRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
101
+ willSendEmailAsync(appointment: carriers.AppointmentEntity, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
102
+ acceptWithSmtpEmailConfirmationAsync(request: carriers.Appointment_AcceptWithSmtpEmailConfirmationRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
103
+ acceptWithSmtpEmailConfirmationAsync(appointmentId: number, updateMode: enums.RecurrenceUpdateMode, smtpEMailConnectionInfo: carriers.EMailConnectionInfo, webapi_options?: base.WebApiRequestOptions): Promise<void>;
104
+ rejectWithSmtpEmailConfirmationAsync(request: carriers.Appointment_RejectWithSmtpEmailConfirmationRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
105
+ rejectWithSmtpEmailConfirmationAsync(appointmentId: number, rejectReason: string, updateMode: enums.RecurrenceUpdateMode, smtpEMailConnectionInfo: carriers.EMailConnectionInfo, webapi_options?: base.WebApiRequestOptions): Promise<void>;
106
+ getAppointmentListAsync(appointmentIds: number[]): Promise<carriers.Appointment[]>;
107
+ getMyAppointmentsAsync(request: carriers.Appointment_GetMyAppointmentsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
108
+ getMyAppointmentsAsync(startTime: Date, endTime: Date, count: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
109
+ getPersonAppointmentsAsync(request: carriers.Appointment_GetPersonAppointmentsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
110
+ getPersonAppointmentsAsync(personId: number, includeProjectAppointments: boolean, startTime: Date, endTime: Date, count: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
111
+ getMyDiaryAsync(request: carriers.Appointment_GetMyDiaryRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
112
+ getMyDiaryAsync(startTime: Date, endTime: Date, count: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
113
+ getMyTasksAsync(request: carriers.Appointment_GetMyTasksRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
114
+ getMyTasksAsync(count: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
115
+ getPersonDiaryAsync(request: carriers.Appointment_GetPersonDiaryRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
116
+ getPersonDiaryAsync(personId: number, startTime: Date, endTime: Date, count: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
117
+ getPersonTasksAsync(request: carriers.Appointment_GetPersonTasksRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
118
+ getPersonTasksAsync(personId: number, count: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
119
+ getPersonAppointmentsByTypeAsync(request: carriers.Appointment_GetPersonAppointmentsByTypeRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
120
+ getPersonAppointmentsByTypeAsync(personId: number, includeProjectAppointments: boolean, startTime: Date, endTime: Date, count: number, appointmentType: enums.AppointmentType, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
121
+ getProjectAppointmentsAsync(request: carriers.Appointment_GetProjectAppointmentsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
122
+ getProjectAppointmentsAsync(projectId: number, startTime: Date, endTime: Date, count: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
123
+ getProjectAppointmentsByTypeAsync(request: carriers.Appointment_GetProjectAppointmentsByTypeRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
124
+ getProjectAppointmentsByTypeAsync(projectId: number, startTime: Date, endTime: Date, count: number, appointmentType: enums.AppointmentType, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
125
+ getContactAppointmentsAsync(request: carriers.Appointment_GetContactAppointmentsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
126
+ getContactAppointmentsAsync(contactId: number, startTime: Date, endTime: Date, count: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
127
+ getContactAppointmentsByTypeAsync(request: carriers.Appointment_GetContactAppointmentsByTypeRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
128
+ getContactAppointmentsByTypeAsync(contactId: number, startTime: Date, endTime: Date, count: number, appointmentType: enums.AppointmentType, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
129
+ getProjectMemberAppointmentsAsync(request: carriers.Appointment_GetProjectMemberAppointmentsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
130
+ getProjectMemberAppointmentsAsync(personId: number, startTime: Date, endTime: Date, count: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
131
+ getProjectMemberAppointmentsByTypeAsync(request: carriers.Appointment_GetProjectMemberAppointmentsByTypeRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
132
+ getProjectMemberAppointmentsByTypeAsync(personId: number, startTime: Date, endTime: Date, count: number, appointmentType: enums.AppointmentType, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
133
+ getPersonAppointmentsByTaskAsync(request: carriers.Appointment_GetPersonAppointmentsByTaskRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
134
+ getPersonAppointmentsByTaskAsync(personId: number, includeProjectAppointments: boolean, startTime: Date, endTime: Date, count: number, taskId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
135
+ getPersonAppointmentsByTasksAsync(request: carriers.Appointment_GetPersonAppointmentsByTasksRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
136
+ getPersonAppointmentsByTasksAsync(personId: number, includeProjectAppointments: boolean, startTime: Date, endTime: Date, count: number, taskIds: number[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
137
+ getPersonAppointmentsByTaskHeadingAsync(request: carriers.Appointment_GetPersonAppointmentsByTaskHeadingRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
138
+ getPersonAppointmentsByTaskHeadingAsync(personId: number, includeProjectAppointments: boolean, startTime: Date, endTime: Date, count: number, taskHeadingId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
139
+ getProjectAppointmentsByTaskAsync(request: carriers.Appointment_GetProjectAppointmentsByTaskRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
140
+ getProjectAppointmentsByTaskAsync(projectId: number, startTime: Date, endTime: Date, count: number, taskId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
141
+ getProjectAppointmentsByTasksAsync(request: carriers.Appointment_GetProjectAppointmentsByTasksRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
142
+ getProjectAppointmentsByTasksAsync(projectId: number, startTime: Date, endTime: Date, count: number, taskIds: number[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
143
+ getProjectAppointmentsByTaskHeadingAsync(request: carriers.Appointment_GetProjectAppointmentsByTaskHeadingRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
144
+ getProjectAppointmentsByTaskHeadingAsync(projectId: number, startTime: Date, endTime: Date, count: number, taskHeadingId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
145
+ getProjectMemberAppointmentsByTaskAsync(request: carriers.Appointment_GetProjectMemberAppointmentsByTaskRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
146
+ getProjectMemberAppointmentsByTaskAsync(personId: number, startTime: Date, endTime: Date, count: number, taskId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
147
+ getProjectMemberAppointmentsByTasksAsync(request: carriers.Appointment_GetProjectMemberAppointmentsByTasksRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
148
+ getProjectMemberAppointmentsByTasksAsync(personId: number, startTime: Date, endTime: Date, count: number, taskIds: number[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
149
+ getProjectMemberAppointmentsByTaskHeadingAsync(request: carriers.Appointment_GetProjectMemberAppointmentsByTaskHeadingRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
150
+ getProjectMemberAppointmentsByTaskHeadingAsync(personId: number, startTime: Date, endTime: Date, count: number, taskHeadingId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
151
+ getContactAppointmentsByTaskAsync(request: carriers.Appointment_GetContactAppointmentsByTaskRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
152
+ getContactAppointmentsByTaskAsync(contactId: number, startTime: Date, endTime: Date, count: number, taskId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
153
+ getContactAppointmentsByTasksAsync(request: carriers.Appointment_GetContactAppointmentsByTasksRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
154
+ getContactAppointmentsByTasksAsync(contactId: number, startTime: Date, endTime: Date, count: number, taskIds: number[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
155
+ getContactAppointmentsByTaskHeadingAsync(request: carriers.Appointment_GetContactAppointmentsByTaskHeadingRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
156
+ getContactAppointmentsByTaskHeadingAsync(contactId: number, startTime: Date, endTime: Date, count: number, taskHeadingId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
157
+ getPublishedAppointmentAsync(request: carriers.Appointment_GetPublishedAppointmentRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment>;
158
+ getPublishedAppointmentAsync(appointmentId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment>;
159
+ getPublishedAppointmentsAsync(request: carriers.Appointment_GetPublishedAppointmentsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
160
+ getPublishedAppointmentsAsync(appointmentIds: number[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
161
+ getMyPublishedAppointmentsAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
162
+ getPublishedProjectAppointmentsAsync(request: carriers.Appointment_GetPublishedProjectAppointmentsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
163
+ getPublishedProjectAppointmentsAsync(projectId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
164
+ getAppointmentsByTaskHeadingAsync(request: carriers.Appointment_GetAppointmentsByTaskHeadingRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
165
+ getAppointmentsByTaskHeadingAsync(taskHeadingId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
166
+ getAssociateDiaryAsync(request: carriers.Appointment_GetAssociateDiaryRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
167
+ getAssociateDiaryAsync(associateId: number, startTime: Date, endTime: Date, count: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
168
+ getDiaryByGroupAsync(request: carriers.Appointment_GetDiaryByGroupRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
169
+ getDiaryByGroupAsync(groupId: number, groupType: number, startTime: Date, endTime: Date, count: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
170
+ updateAppointmentAsync(request: carriers.Appointment_UpdateAppointmentRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment>;
171
+ updateAppointmentAsync(id: number, startTime: Date, endTime: Date, status: number, type: number, associateId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment>;
172
+ getAssociatesDiaryAsync(request: carriers.Appointment_GetAssociatesDiaryRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
173
+ getAssociatesDiaryAsync(associateIds: number[], startTime: Date, endTime: Date, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
174
+ getAppointmentRecordsAsync(request: carriers.Appointment_GetAppointmentRecordsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
175
+ getAppointmentRecordsAsync(motherId: number, recurrenceRuleId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
176
+ getMySyncAppointmentsAsync(request: carriers.Appointment_GetMySyncAppointmentsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentSyncData[]>;
177
+ getMySyncAppointmentsAsync(startTime: Date, endTime: Date, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentSyncData[]>;
178
+ getDayInformationListByDatesAndAssociateAsync(request: carriers.Appointment_GetDayInformationListByDatesAndAssociateRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.DayInformationListItem[]>;
179
+ getDayInformationListByDatesAndAssociateAsync(startDate: Date, endDate: Date, associateId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.DayInformationListItem[]>;
180
+ getActivityInformationListByDatesAndAssociateAsync(request: carriers.Appointment_GetActivityInformationListByDatesAndAssociateRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ActivityInformationListItem[]>;
181
+ getActivityInformationListByDatesAndAssociateAsync(startDate: Date, endDate: Date, associateId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ActivityInformationListItem[]>;
182
+ getRedLetterInformationListByDatesAndAssociateAsync(request: carriers.Appointment_GetRedLetterInformationListByDatesAndAssociateRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.RedLetterInformationListItem[]>;
183
+ getRedLetterInformationListByDatesAndAssociateAsync(startDate: Date, endDate: Date, associateId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.RedLetterInformationListItem[]>;
184
+ getAlarmsAsync(request: carriers.Appointment_GetAlarmsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.MultiAlarmData>;
185
+ getAlarmsAsync(includeInvitations: boolean, includeAllAppointments: boolean, defaultAlarmLeadTimeInMinutes: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.MultiAlarmData>;
186
+ generateLeadAsync(request: carriers.Appointment_GenerateLeadRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.SalesActivity>;
187
+ generateLeadAsync(associateIdForNewContact: number, leadDescription: string, relation: string, relationId: number, leadContact: string, leadPersonFirstname: string, leadPersonLastname: string, leadPersonEmail: string, leadPhoneNumber: string, creatorsContact: string, creatorsFirstname: string, creatorsLastname: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.SalesActivity>;
188
+ requestForInfoAsync(request: carriers.Appointment_RequestForInfoRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.SalesActivity>;
189
+ requestForInfoAsync(associateIdForNewContact: number, channel: string, regarding: string, contactName: string, personFirstname: string, personLastname: string, emailAddress: string, phoneNumber: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.SalesActivity>;
190
+ getSuggestedAppointmentAsync(suggestedAppointmentId: number): Promise<carriers.SuggestedAppointment>;
191
+ getSuggestedAppointmentEntityAsync(suggestedAppointmentEntityId: number): Promise<carriers.SuggestedAppointmentEntity>;
192
+ getTaskListItemAsync(taskListItemId: number): Promise<carriers.TaskListItem>;
193
+ getTaskListItemsAsync(request: carriers.Appointment_GetTaskListItemsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.TaskListItem[]>;
194
+ getTaskListItemsAsync(includeDeleted: boolean, webapi_options?: base.WebApiRequestOptions): Promise<carriers.TaskListItem[]>;
195
+ }
196
+ /**
197
+ * Collection of all services that works with Appointment data.
198
+ */
199
+ export declare class AppointmentAgent extends base.WebApiBase implements IAppointmentAgent {
200
+ constructor(baseUrl?: string, languageCode?: string, cultureCode?: string);
201
+ constructor(baseUrl?: string, resourceParsing?: base.ResourceParsing);
202
+ constructor(baseUrl: string, resourceManager: any);
203
+ constructor(baseUrl: string, config: AxiosRequestConfig, resourceManager: any);
204
+ constructor(baseUrl: string, config: AxiosRequestConfig, resourceParsing?: base.ResourceParsing);
205
+ constructor(baseUrl: string, config: AxiosRequestConfig, languageCode?: string, cultureCode?: string);
206
+ constructor(options: base.WebApiOptions);
207
+ /**
208
+ * Set default values into a new AppointmentEntity.
209
+ * NetServer calculates default values on the entity, which is required when creating/storing a new instance
210
+ * @param options - Override language/culture codes on this request. Provide cancellation and request status values.
211
+ * @returns A blank entity.
212
+ */
213
+ createDefaultAppointmentEntityAsync(options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
214
+ saveAppointmentEntityAsync(entity: carriers.AppointmentEntity, options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
215
+ deleteAppointmentEntityAsync(AppointmentEntityId: number, options?: base.WebApiRequestOptions): Promise<void>;
216
+ /**
217
+ * Set default values into a new SuggestedAppointmentEntity.
218
+ * NetServer calculates default values on the entity, which is required when creating/storing a new instance
219
+ * @param options - Override language/culture codes on this request. Provide cancellation and request status values.
220
+ * @returns A blank entity.
221
+ */
222
+ createDefaultSuggestedAppointmentEntityAsync(options?: base.WebApiRequestOptions): Promise<carriers.SuggestedAppointmentEntity>;
223
+ saveSuggestedAppointmentEntityAsync(entity: carriers.SuggestedAppointmentEntity, options?: base.WebApiRequestOptions): Promise<carriers.SuggestedAppointmentEntity>;
224
+ /**
225
+ * Set default values into a new TaskListItem.
226
+ * NetServer calculates default values on the entity, which is required when creating/storing a new instance
227
+ * @param options - Override language/culture codes on this request. Provide cancellation and request status values.
228
+ * @returns A blank entity.
229
+ */
230
+ createDefaultTaskListItemAsync(options?: base.WebApiRequestOptions): Promise<carriers.TaskListItem>;
231
+ saveTaskListItemAsync(entity: carriers.TaskListItem, options?: base.WebApiRequestOptions): Promise<carriers.TaskListItem>;
232
+ getAppointmentAsync(appointmentId: number, options?: base.WebApiRequestOptions): Promise<carriers.Appointment>;
233
+ private _toggleAppointmentStatusAsync;
234
+ /**
235
+ * Sets an appointment&apos;s status to Completed if the appointment had a different status, or sets the status to started if already set to completed.
236
+ * @param request - AppointmentId
237
+ * @returns The new AppointmentStatus
238
+ */
239
+ toggleAppointmentStatusAsync(request: carriers.Appointment_ToggleAppointmentStatusRequest, webapi_options?: base.WebApiRequestOptions): Promise<enums.AppointmentStatus>;
240
+ /**
241
+ * Sets an appointment&apos;s status to Completed if the appointment had a different status, or sets the status to started if already set to completed.
242
+ * @param appointmentId - The appointment id.
243
+ * @returns The new AppointmentStatus
244
+ */
245
+ toggleAppointmentStatusAsync(appointmentId: number, webapi_options?: base.WebApiRequestOptions): Promise<enums.AppointmentStatus>;
246
+ private _toggleActivityAsync;
247
+ /**
248
+ * Toggle the completed status for an activity. Activity may be sale, document or appointment. The changes are saved immediately.
249
+ * @param request - ActivityIdentifier
250
+ * @returns What the result after toggling was.
251
+ */
252
+ toggleActivityAsync(request: carriers.Appointment_ToggleActivityRequest, webapi_options?: base.WebApiRequestOptions): Promise<enums.ActivityStatus>;
253
+ /**
254
+ * Toggle the completed status for an activity. Activity may be sale, document or appointment. The changes are saved immediately.
255
+ * @param activityIdentifier - May contain of a mix of appointment_id, sale_id, document_id and todo_id
256
+ * @returns What the result after toggling was.
257
+ */
258
+ toggleActivityAsync(activityIdentifier: string, webapi_options?: base.WebApiRequestOptions): Promise<enums.ActivityStatus>;
259
+ private _toggleActivitiesAsync;
260
+ /**
261
+ * Toggle the completed status for an array of activities.
262
+ * @param request - ActivityIdentifier
263
+ * @returns The resulting ActivityStatus of the first in the array
264
+ */
265
+ toggleActivitiesAsync(request: carriers.Appointment_ToggleActivitiesRequest, webapi_options?: base.WebApiRequestOptions): Promise<enums.ActivityStatus>;
266
+ /**
267
+ * Toggle the completed status for an array of activities.
268
+ * @param activityIdentifier - Contain of a mix of appointment_id, sale_id, document_id and todo_id.
269
+ * @returns The resulting ActivityStatus of the first in the array
270
+ */
271
+ toggleActivitiesAsync(activityIdentifier: string[], webapi_options?: base.WebApiRequestOptions): Promise<enums.ActivityStatus>;
272
+ private _setActivityStatusAsync;
273
+ /**
274
+ * Sets the completed status for an array of activities. The string activityIdentifier param may contain of a mix of appointment_id, sale_id, document_id and todo_id. The changes are saved immediately. If an invalid id is passed in (nonexistent record), no changes will be made. If there is no write access to the record being changed, a Sentry exception will be thrown in the usual manner.
275
+ * @param request - ActivityIdentifier, ActivityStatus
276
+ * @returns
277
+ */
278
+ setActivityStatusAsync(request: carriers.Appointment_SetActivityStatusRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
279
+ /**
280
+ * Sets the completed status for an array of activities. The string activityIdentifier param may contain of a mix of appointment_id, sale_id, document_id and todo_id. The changes are saved immediately. If an invalid id is passed in (nonexistent record), no changes will be made. If there is no write access to the record being changed, a Sentry exception will be thrown in the usual manner.
281
+ * @param activityIdentifier - Array of activity ids. ex. appointment_id=666
282
+ * @param activityStatus - The status to set the activities
283
+ * @returns
284
+ */
285
+ setActivityStatusAsync(activityIdentifier: string[], activityStatus: enums.ActivityStatus, webapi_options?: base.WebApiRequestOptions): Promise<void>;
286
+ private _toggleAndSetActivitiesAsync;
287
+ /**
288
+ * Toggles the first activity and sets the rest of the activities to the result of the first toggle. However, there are some special rules for appointments that trigger a suggested appointment when they are completed. If more than one appointment in the set of identifiers triggers a suggestion, we will not toggle those appointments. This rule is only active when changing the status of an appointment to complete. There must be more than one appointment that triggers such an event for this rule to take effect.
289
+ * @param request - ActivityIdentifiers
290
+ * @returns The identifiers that were not toggled.
291
+ */
292
+ toggleAndSetActivitiesAsync(request: carriers.Appointment_ToggleAndSetActivitiesRequest, webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
293
+ /**
294
+ * Toggles the first activity and sets the rest of the activities to the result of the first toggle. However, there are some special rules for appointments that trigger a suggested appointment when they are completed. If more than one appointment in the set of identifiers triggers a suggestion, we will not toggle those appointments. This rule is only active when changing the status of an appointment to complete. There must be more than one appointment that triggers such an event for this rule to take effect.
295
+ * @param activityIdentifiers - Array of activity ids. ex. appointment_id=666
296
+ * @returns The identifiers that were not toggled.
297
+ */
298
+ toggleAndSetActivitiesAsync(activityIdentifiers: string[], webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
299
+ getAppointmentEntityAsync(appointmentEntityId: number, options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
300
+ private _createDefaultAppointmentEntityByTypeAsync;
301
+ /**
302
+ * Creates an AppointmentEntity populated with the default values for the specific type.
303
+ * @param request - Type
304
+ * @returns AppointmentEntity with default values.
305
+ */
306
+ createDefaultAppointmentEntityByTypeAsync(request: carriers.Appointment_CreateDefaultAppointmentEntityByTypeRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
307
+ /**
308
+ * Creates an AppointmentEntity populated with the default values for the specific type.
309
+ * @param type - The type of task requested.
310
+ * @returns AppointmentEntity with default values.
311
+ */
312
+ createDefaultAppointmentEntityByTypeAsync(type: enums.TaskType, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
313
+ private _createAppointmentEntityFromExistingAsync;
314
+ /**
315
+ * Creates an AppointmentEntity populated with values from an existing appointment. The new appointment will get the same task type and participant list as the source appointment. The date of the new appointment will be set to today, but the time component is kept.
316
+ * @param request - AppointmentId, AssociateId
317
+ * @returns AppointmentEntity with values copied from an existing appointment. Values that are not copied will be the default values.
318
+ */
319
+ createAppointmentEntityFromExistingAsync(request: carriers.Appointment_CreateAppointmentEntityFromExistingRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
320
+ /**
321
+ * Creates an AppointmentEntity populated with values from an existing appointment. The new appointment will get the same task type and participant list as the source appointment. The date of the new appointment will be set to today, but the time component is kept.
322
+ * @param appointmentId - Source appointment ID
323
+ * @param associateId - Associate owning the new appointment. If 0 the current associate is used.
324
+ * @returns AppointmentEntity with values copied from an existing appointment. Values that are not copied will be the default values.
325
+ */
326
+ createAppointmentEntityFromExistingAsync(appointmentId: number, associateId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
327
+ private _acceptAsync;
328
+ /**
329
+ * Accepting an appointment invitation.
330
+ * @param request - AppointmentId, UpdateMode
331
+ * @returns Updated AppointmentEntity
332
+ */
333
+ acceptAsync(request: carriers.Appointment_AcceptRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
334
+ /**
335
+ * Accepting an appointment invitation.
336
+ * @param appointmentId - The appointmentId. Both master and child record ids are accepted.
337
+ * @param updateMode - Update mode for a recurring appointment.
338
+ * @returns Updated AppointmentEntity
339
+ */
340
+ acceptAsync(appointmentId: number, updateMode: enums.RecurrenceUpdateMode, webapi_options?: base.WebApiRequestOptions): Promise<void>;
341
+ private _createAndAcceptAsync;
342
+ /**
343
+ * Creating an appointment from an emailItem invitation and accepting it.
344
+ * @param request - EmailItemId, UpdateMode
345
+ * @returns
346
+ */
347
+ createAndAcceptAsync(request: carriers.Appointment_CreateAndAcceptRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
348
+ /**
349
+ * Creating an appointment from an emailItem invitation and accepting it.
350
+ * @param emailItemId - The emailItemId
351
+ * @param updateMode - Update mode for a recurring appointment.
352
+ * @returns
353
+ */
354
+ createAndAcceptAsync(emailItemId: number, updateMode: enums.RecurrenceUpdateMode, webapi_options?: base.WebApiRequestOptions): Promise<void>;
355
+ private _acceptWithEmailConfirmationAsync;
356
+ /**
357
+ * Accepting an appointment invitation and send an email confirmation to the meeting organizer.
358
+ * @param request - AppointmentId, UpdateMode
359
+ * @returns Updated AppointmentEntity
360
+ */
361
+ acceptWithEmailConfirmationAsync(request: carriers.Appointment_AcceptWithEmailConfirmationRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
362
+ /**
363
+ * Accepting an appointment invitation and send an email confirmation to the meeting organizer.
364
+ * @param appointmentId - The appointmentId. Both master and child record ids are accepted.
365
+ * @param updateMode - Update mode for a recurring appointment.
366
+ * @returns Updated AppointmentEntity
367
+ */
368
+ acceptWithEmailConfirmationAsync(appointmentId: number, updateMode: enums.RecurrenceUpdateMode, webapi_options?: base.WebApiRequestOptions): Promise<void>;
369
+ private _createAndAcceptWithEmailConfirmationAsync;
370
+ /**
371
+ * Creating an appointment from an emailItem invitation and accepting it with email confirmation to the meeting organizer.
372
+ * @param request - EmailItemId, UpdateMode
373
+ * @returns
374
+ */
375
+ createAndAcceptWithEmailConfirmationAsync(request: carriers.Appointment_CreateAndAcceptWithEmailConfirmationRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
376
+ /**
377
+ * Creating an appointment from an emailItem invitation and accepting it with email confirmation to the meeting organizer.
378
+ * @param emailItemId - The emailItemId
379
+ * @param updateMode - Update mode for a recurring appointment.
380
+ * @returns
381
+ */
382
+ createAndAcceptWithEmailConfirmationAsync(emailItemId: number, updateMode: enums.RecurrenceUpdateMode, webapi_options?: base.WebApiRequestOptions): Promise<void>;
383
+ private _rejectAsync;
384
+ /**
385
+ * Rejecting an appointment invitation
386
+ * @param request - AppointmentId, RejectReason, UpdateMode
387
+ * @returns Updated AppointmentEntity
388
+ */
389
+ rejectAsync(request: carriers.Appointment_RejectRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
390
+ /**
391
+ * Rejecting an appointment invitation
392
+ * @param appointmentId - The appointmentId. Both master and child record ids are accepted.
393
+ * @param rejectReason - The reason the invitation was rejected.
394
+ * @param updateMode - Update mode for a recurring appointment.
395
+ * @returns Updated AppointmentEntity
396
+ */
397
+ rejectAsync(appointmentId: number, rejectReason: string, updateMode: enums.RecurrenceUpdateMode, webapi_options?: base.WebApiRequestOptions): Promise<void>;
398
+ private _rejectWithEmailConfirmationAsync;
399
+ /**
400
+ * Rejecting an appointment invitation and send an email confirmation to the meeting organizer.
401
+ * @param request - AppointmentId, RejectReason, UpdateMode
402
+ * @returns Updated AppointmentEntity
403
+ */
404
+ rejectWithEmailConfirmationAsync(request: carriers.Appointment_RejectWithEmailConfirmationRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
405
+ /**
406
+ * Rejecting an appointment invitation and send an email confirmation to the meeting organizer.
407
+ * @param appointmentId - The appointmentId. Both master and child record ids are accepted.
408
+ * @param rejectReason - The reason the invitation was rejected.
409
+ * @param updateMode - Update mode for a recurring appointment.
410
+ * @returns Updated AppointmentEntity
411
+ */
412
+ rejectWithEmailConfirmationAsync(appointmentId: number, rejectReason: string, updateMode: enums.RecurrenceUpdateMode, webapi_options?: base.WebApiRequestOptions): Promise<void>;
413
+ private _declineInvitationFromEmailItemAsync;
414
+ /**
415
+ * Declining an appointment invitation where no tentative appointments have been created.
416
+ * @param request - EmailItemId, RejectReason
417
+ * @returns
418
+ */
419
+ declineInvitationFromEmailItemAsync(request: carriers.Appointment_DeclineInvitationFromEmailItemRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
420
+ /**
421
+ * Declining an appointment invitation where no tentative appointments have been created.
422
+ * @param emailItemId - The emailItemId.
423
+ * @param rejectReason - The reason the invitation was rejected.
424
+ * @returns
425
+ */
426
+ declineInvitationFromEmailItemAsync(emailItemId: number, rejectReason: string, webapi_options?: base.WebApiRequestOptions): Promise<void>;
427
+ private _getOrganizerNameAsync;
428
+ /**
429
+ * Lookup the name / email of an event-organizer
430
+ * @param request - MotherAppointmentId
431
+ * @returns The displayed name of the organizer: name or email
432
+ */
433
+ getOrganizerNameAsync(request: carriers.Appointment_GetOrganizerNameRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
434
+ /**
435
+ * Lookup the name / email of an event-organizer
436
+ * @param motherAppointmentId - The id of the mother-appointment.
437
+ * @returns The displayed name of the organizer: name or email
438
+ */
439
+ getOrganizerNameAsync(motherAppointmentId: number, webapi_options?: base.WebApiRequestOptions): Promise<string>;
440
+ private _saveAsync;
441
+ /**
442
+ * Saving a booking.
443
+ * @param request - AppointmentEntity, UpdateMode, SendEmailToParticipants, SmtpEMailConnectionInfo, ImapEMailConnectionInfo
444
+ * @returns Updated AppointmentEntity
445
+ */
446
+ saveAsync(request: carriers.Appointment_SaveRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
447
+ /**
448
+ * Saving a booking.
449
+ * @param appointmentEntity -
450
+ * @param updateMode - Update mode for a recurring appointment.
451
+ * @param sendEmailToParticipants - If true, emails will be sent to all participants that is marked with send email flag. If false no mails will be sent even if the send email flag is true.
452
+ * @param smtpEMailConnectionInfo - Login information for outgoing smtp email server. Will be null if no login information is relevant.
453
+ * @param imapEMailConnectionInfo - Login information for imap server. Will be null if no login information is relevant.
454
+ * @returns Updated AppointmentEntity
455
+ */
456
+ saveAsync(appointmentEntity: carriers.AppointmentEntity, updateMode: enums.RecurrenceUpdateMode, sendEmailToParticipants: boolean, smtpEMailConnectionInfo: carriers.EMailConnectionInfo, imapEMailConnectionInfo: carriers.EMailConnectionInfo, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
457
+ private _deleteAsync;
458
+ /**
459
+ * Deleting a booking
460
+ * @param request - AppointmentId, UpdateMode, SendEmailToParticipants, SmtpEMailConnectionInfo, ImapEMailConnectionInfo
461
+ * @returns
462
+ */
463
+ deleteAsync(request: carriers.Appointment_DeleteRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
464
+ /**
465
+ * Deleting a booking
466
+ * @param appointmentId - The appointmentId. Both master and child record ids are accepted.
467
+ * @param updateMode - Update mode for a recurring appointment.
468
+ * @param sendEmailToParticipants - If true, emails will be sent to all participants that is marked with send email flag. If false no mails will be sent even if the send email flag is true.
469
+ * @param smtpEMailConnectionInfo - Login information for outgoing smtp email server. Will be null if no login information is relevant.
470
+ * @param imapEMailConnectionInfo - Login information for imap server. Will be null if no login information is relevant.
471
+ * @returns
472
+ */
473
+ deleteAsync(appointmentId: number, updateMode: enums.RecurrenceUpdateMode, sendEmailToParticipants: boolean, smtpEMailConnectionInfo: carriers.EMailConnectionInfo, imapEMailConnectionInfo: carriers.EMailConnectionInfo, webapi_options?: base.WebApiRequestOptions): Promise<void>;
474
+ private _calculateDaysAsync;
475
+ /**
476
+ * Calculates the set of dates that represents a recurrence pattern. Adds conflict information to each date.
477
+ * @param request - AppointmentEntity
478
+ * @returns
479
+ */
480
+ calculateDaysAsync(request: carriers.Appointment_CalculateDaysRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.RecurrenceInfo>;
481
+ /**
482
+ * Calculates the set of dates that represents a recurrence pattern. Adds conflict information to each date.
483
+ * @param appointmentEntity -
484
+ * @returns
485
+ */
486
+ calculateDaysAsync(appointmentEntity: carriers.AppointmentEntity, webapi_options?: base.WebApiRequestOptions): Promise<carriers.RecurrenceInfo>;
487
+ private _validateDaysAsync;
488
+ /**
489
+ * Validates the set of dates to calculate any conflicts.
490
+ * @param request - AppointmentEntity, Dates
491
+ * @returns Array of RecurrenceDate object for each validated date.
492
+ */
493
+ validateDaysAsync(request: carriers.Appointment_ValidateDaysRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.RecurrenceDate[]>;
494
+ /**
495
+ * Validates the set of dates to calculate any conflicts.
496
+ * @param appointmentEntity -
497
+ * @param dates - The dates to validate.
498
+ * @returns Array of RecurrenceDate object for each validated date.
499
+ */
500
+ validateDaysAsync(appointmentEntity: carriers.AppointmentEntity, dates: Date[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.RecurrenceDate[]>;
501
+ private _createDefaultRecurrenceAsync;
502
+ /**
503
+ * Creates a RecurrenceInfo object populated with the default values for the specific type.
504
+ * @returns RecurrenceInfo object with default values.
505
+ */
506
+ createDefaultRecurrenceAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.RecurrenceInfo>;
507
+ private _assignToAsync;
508
+ /**
509
+ * Assigning an appointment to another person.
510
+ * @param request - AppointmentId, Participant, UpdateMode
511
+ * @returns Updated AppointmentEntity
512
+ */
513
+ assignToAsync(request: carriers.Appointment_AssignToRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
514
+ /**
515
+ * Assigning an appointment to another person.
516
+ * @param appointmentId - The appointmentId. Both master and child record ids are accepted.
517
+ * @param participant -
518
+ * @param updateMode - Update mode for a recurring appointment.
519
+ * @returns Updated AppointmentEntity
520
+ */
521
+ assignToAsync(appointmentId: number, participant: carriers.ParticipantInfo, updateMode: enums.RecurrenceUpdateMode, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
522
+ private _setSeenAsync;
523
+ /**
524
+ * Sets an appointment invitiation to seen.
525
+ * @param request - AppointmentId, UpdateMode
526
+ * @returns
527
+ */
528
+ setSeenAsync(request: carriers.Appointment_SetSeenRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
529
+ /**
530
+ * Sets an appointment invitiation to seen.
531
+ * @param appointmentId - The appointmentId. Both master and child record ids are accepted.
532
+ * @param updateMode - Update mode for a recurring appointment.
533
+ * @returns
534
+ */
535
+ setSeenAsync(appointmentId: number, updateMode: enums.RecurrenceUpdateMode, webapi_options?: base.WebApiRequestOptions): Promise<void>;
536
+ private _setSeenManyAsync;
537
+ /**
538
+ * Sets a list of appointment invitations to seen. The same update mode will be used for all appointments in this batch.
539
+ * @param request - AppointmentIds, UpdateMode
540
+ * @returns
541
+ */
542
+ setSeenManyAsync(request: carriers.Appointment_SetSeenManyRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
543
+ /**
544
+ * Sets a list of appointment invitations to seen. The same update mode will be used for all appointments in this batch.
545
+ * @param appointmentIds - List of appointment IDs
546
+ * @param updateMode - Update mode for a recurring appointment.
547
+ * @returns
548
+ */
549
+ setSeenManyAsync(appointmentIds: number[], updateMode: enums.RecurrenceUpdateMode, webapi_options?: base.WebApiRequestOptions): Promise<void>;
550
+ private _moveAsync;
551
+ /**
552
+ * Moving a booking to another start time.
553
+ * @param request - AppointmentId, NewStartTime, UpdateMode
554
+ * @returns Updated AppointmentEntity
555
+ */
556
+ moveAsync(request: carriers.Appointment_MoveRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
557
+ /**
558
+ * Moving a booking to another start time.
559
+ * @param appointmentId - The appointmentId. Both master and child record ids are accepted.
560
+ * @param newStartTime - The new start time for the moved booking.
561
+ * @param updateMode - Update mode for a recurring appointment.
562
+ * @returns Updated AppointmentEntity
563
+ */
564
+ moveAsync(appointmentId: number, newStartTime: Date, updateMode: enums.RecurrenceUpdateMode, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
565
+ private _acceptRejectedAsync;
566
+ /**
567
+ * Accept that an invited participant has rejected your invitation or assignment.
568
+ * @param request - AppointmentId, UpdateMode
569
+ * @returns Updated AppointmentEntity
570
+ */
571
+ acceptRejectedAsync(request: carriers.Appointment_AcceptRejectedRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
572
+ /**
573
+ * Accept that an invited participant has rejected your invitation or assignment.
574
+ * @param appointmentId - The appointmentId. Both master and child record ids are accepted.
575
+ * @param updateMode - Update mode for a recurring appointment.
576
+ * @returns Updated AppointmentEntity
577
+ */
578
+ acceptRejectedAsync(appointmentId: number, updateMode: enums.RecurrenceUpdateMode, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
579
+ private _createDefaultRecurrenceByDateAsync;
580
+ /**
581
+ * Creates a RecurrenceInfo object populated with the default values for the specific type. Using startDate as start date for the recurreing pattern.
582
+ * @param request - StartDate
583
+ * @returns
584
+ */
585
+ createDefaultRecurrenceByDateAsync(request: carriers.Appointment_CreateDefaultRecurrenceByDateRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.RecurrenceInfo>;
586
+ /**
587
+ * Creates a RecurrenceInfo object populated with the default values for the specific type. Using startDate as start date for the recurreing pattern.
588
+ * @param startDate - Date of which the recurring pattern should start.
589
+ * @returns
590
+ */
591
+ createDefaultRecurrenceByDateAsync(startDate: Date, webapi_options?: base.WebApiRequestOptions): Promise<carriers.RecurrenceInfo>;
592
+ private _cleanUpBookingDeletedAsync;
593
+ /**
594
+ * Deletes all appointments(within the appointmentIds array) with status BookingDeleted.
595
+ * @param request - AppointmentIds
596
+ * @returns Number of modified or deleted appointments
597
+ */
598
+ cleanUpBookingDeletedAsync(request: carriers.Appointment_CleanUpBookingDeletedRequest, webapi_options?: base.WebApiRequestOptions): Promise<number>;
599
+ /**
600
+ * Deletes all appointments(within the appointmentIds array) with status BookingDeleted.
601
+ * @param appointmentIds -
602
+ * @returns Number of modified or deleted appointments
603
+ */
604
+ cleanUpBookingDeletedAsync(appointmentIds: number[], webapi_options?: base.WebApiRequestOptions): Promise<number>;
605
+ private _cleanUpBookingDeletedWithUpdateModeAsync;
606
+ /**
607
+ * Deletes all appointments(within the appointmentIds array) with status BookingDeleted. All appointments in the list will be deleted using the same recurrence update mode.
608
+ * @param request - AppointmentIds, UpdateMode
609
+ * @returns
610
+ */
611
+ cleanUpBookingDeletedWithUpdateModeAsync(request: carriers.Appointment_CleanUpBookingDeletedWithUpdateModeRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
612
+ /**
613
+ * Deletes all appointments(within the appointmentIds array) with status BookingDeleted. All appointments in the list will be deleted using the same recurrence update mode.
614
+ * @param appointmentIds - List of appointment IDs
615
+ * @param updateMode - Update mode
616
+ * @returns
617
+ */
618
+ cleanUpBookingDeletedWithUpdateModeAsync(appointmentIds: number[], updateMode: enums.RecurrenceUpdateMode, webapi_options?: base.WebApiRequestOptions): Promise<void>;
619
+ private _cleanUpRecurringBookingDeletedAsync;
620
+ /**
621
+ * Deletes all appointments with status BookingDeleted and for in logged user.
622
+ * @returns
623
+ */
624
+ cleanUpRecurringBookingDeletedAsync(webapi_options?: base.WebApiRequestOptions): Promise<number>;
625
+ private _createDefaultAppointmentEntityByTypeAndAssociateAsync;
626
+ /**
627
+ * Creates a AppointmentEntity populated with the default values for the specific type and owner.
628
+ * @param request - Type, AssociateId
629
+ * @returns AppointmentEntity with default values.
630
+ */
631
+ createDefaultAppointmentEntityByTypeAndAssociateAsync(request: carriers.Appointment_CreateDefaultAppointmentEntityByTypeAndAssociateRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
632
+ /**
633
+ * Creates a AppointmentEntity populated with the default values for the specific type and owner.
634
+ * @param type - The type of task requested.
635
+ * @param associateId - The associateId of the appointment owner.
636
+ * @returns AppointmentEntity with default values.
637
+ */
638
+ createDefaultAppointmentEntityByTypeAndAssociateAsync(type: enums.TaskType, associateId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
639
+ private _getCanInsertForAssociatesAsync;
640
+ /**
641
+ * Check if current associate can create appointments in the diary of other associates.
642
+ * @param request - AssociateIds
643
+ * @returns Returns an array of bool corresponding to the associate array input parameter.
644
+ */
645
+ getCanInsertForAssociatesAsync(request: carriers.Appointment_GetCanInsertForAssociatesRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean[]>;
646
+ /**
647
+ * Check if current associate can create appointments in the diary of other associates.
648
+ * @param associateIds - Array of associate ids to check for.
649
+ * @returns Returns an array of bool corresponding to the associate array input parameter.
650
+ */
651
+ getCanInsertForAssociatesAsync(associateIds: number[], webapi_options?: base.WebApiRequestOptions): Promise<boolean[]>;
652
+ private _getAppointmentHaveParticipantsWithEmailAsync;
653
+ /**
654
+ * GetAppointmentHaveParticipantsWithEmail will check if any of the participants is marked to receive emails on this appointment. If no participants are defined, false will be returned.
655
+ * @param request - AppointmentId
656
+ * @returns Return true or false.
657
+ */
658
+ getAppointmentHaveParticipantsWithEmailAsync(request: carriers.Appointment_GetAppointmentHaveParticipantsWithEmailRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
659
+ /**
660
+ * GetAppointmentHaveParticipantsWithEmail will check if any of the participants is marked to receive emails on this appointment. If no participants are defined, false will be returned.
661
+ * @param appointmentId - The appointmentId.
662
+ * @returns Return true or false.
663
+ */
664
+ getAppointmentHaveParticipantsWithEmailAsync(appointmentId: number, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
665
+ private _createDefaultAppointmentEntityFromSaleSuggestionAsync;
666
+ /**
667
+ * Creates an appointment based on a suggested appointment.
668
+ * @param request - SuggestedAppointmentId, SaleId, CreateNow, OwnerId
669
+ * @returns The newly created appointment
670
+ */
671
+ createDefaultAppointmentEntityFromSaleSuggestionAsync(request: carriers.Appointment_CreateDefaultAppointmentEntityFromSaleSuggestionRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
672
+ /**
673
+ * Creates an appointment based on a suggested appointment.
674
+ * @param suggestedAppointmentId - The id of the suggested appointment
675
+ * @param saleId - This is the id of the sale the appointment is connected to. This will be used to give the appointment it's starting date. If the id is 0 or invalid, we assume the start date is now
676
+ * @param createNow - If this parameter is true, we override the suggested start time and create the appointment with the current date and time
677
+ * @param ownerId -
678
+ * @returns The newly created appointment
679
+ */
680
+ createDefaultAppointmentEntityFromSaleSuggestionAsync(suggestedAppointmentId: number, saleId: number, createNow: boolean, ownerId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
681
+ private _getNextSuggestedAppointmentBySaleAsync;
682
+ /**
683
+ * Gets the next suggested appointment for a given sale (or rather a given sale&apos;s guide).
684
+ * @param request - SaleId, CurrentAppointmentId, SkipCompleteCheck
685
+ * @returns The next suggestion based on the sale id of a guided sale and the id of the current apopintment. If we cannot find a next suggestion or the sale is not guided (or if any of the paramters are invalid), we will return null.
686
+ */
687
+ getNextSuggestedAppointmentBySaleAsync(request: carriers.Appointment_GetNextSuggestedAppointmentBySaleRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.SuggestedAppointment>;
688
+ /**
689
+ * Gets the next suggested appointment for a given sale (or rather a given sale&apos;s guide).
690
+ * @param saleId - The identifier of the (guided) sale from which we want to find a suggested appointment
691
+ * @param currentAppointmentId - The identifier of the appointment from which we calculate the next suggestion. The next suggested appointment is the subsequent appointment defined in the SoAdmin's sales guide.
692
+ * @param skipCompleteCheck - If you want to get the next appointment step in a sales guide for an appointment which is not completed, this value must be true. In all other cases, this value should be false, as it would return the value of null if the current appointment is not completes.
693
+ * @returns The next suggestion based on the sale id of a guided sale and the id of the current apopintment. If we cannot find a next suggestion or the sale is not guided (or if any of the paramters are invalid), we will return null.
694
+ */
695
+ getNextSuggestedAppointmentBySaleAsync(saleId: number, currentAppointmentId: number, skipCompleteCheck: boolean, webapi_options?: base.WebApiRequestOptions): Promise<carriers.SuggestedAppointment>;
696
+ private _createDefaultReOpenAppointmentAsync;
697
+ /**
698
+ * A re-open appointment should be created as a reminder to re-open the sale at a certain date with information regarding the stalled sale.
699
+ * @param request - SaleId
700
+ * @returns The re-open appointment with start date = the re-open date of the sale and a description matching the sales stalled reason.
701
+ */
702
+ createDefaultReOpenAppointmentAsync(request: carriers.Appointment_CreateDefaultReOpenAppointmentRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
703
+ /**
704
+ * A re-open appointment should be created as a reminder to re-open the sale at a certain date with information regarding the stalled sale.
705
+ * @param saleId - The identifier of the stalled sale from which we create a re-open appointment
706
+ * @returns The re-open appointment with start date = the re-open date of the sale and a description matching the sales stalled reason.
707
+ */
708
+ createDefaultReOpenAppointmentAsync(saleId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
709
+ private _createDefaultAppointmentEntityFromProjectSuggestionAsync;
710
+ /**
711
+ *
712
+ * @param request - SuggestedAppointmentId, ProjectId, CreateNow, OwnerId
713
+ * @returns
714
+ */
715
+ createDefaultAppointmentEntityFromProjectSuggestionAsync(request: carriers.Appointment_CreateDefaultAppointmentEntityFromProjectSuggestionRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
716
+ /**
717
+ *
718
+ * @param suggestedAppointmentId -
719
+ * @param projectId -
720
+ * @param createNow -
721
+ * @param ownerId -
722
+ * @returns
723
+ */
724
+ createDefaultAppointmentEntityFromProjectSuggestionAsync(suggestedAppointmentId: number, projectId: number, createNow: boolean, ownerId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
725
+ private _createAppointmentForUIDAsync;
726
+ /**
727
+ * Create an invitation record and an appointment with a given UID to reserve it if the UID is unused, otherwise null.
728
+ * @param request - AppointmentEntity, UID
729
+ * @returns The newly created AppointmentEntity or null if the UID is in the DB already.
730
+ */
731
+ createAppointmentForUIDAsync(request: carriers.Appointment_CreateAppointmentForUIDRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
732
+ /**
733
+ * Create an invitation record and an appointment with a given UID to reserve it if the UID is unused, otherwise null.
734
+ * @param appointmentEntity -
735
+ * @param uid - The UID associated with the appointment
736
+ * @returns The newly created AppointmentEntity or null if the UID is in the DB already.
737
+ */
738
+ createAppointmentForUIDAsync(appointmentEntity: carriers.AppointmentEntity, uid: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
739
+ private _getAppointmentFromUIDAsync;
740
+ /**
741
+ * Get the appointment that corresponds to the given UID.
742
+ * @param request - UID
743
+ * @returns The corresponding AppointmentEntity if exists or a default appointment entity.
744
+ */
745
+ getAppointmentFromUIDAsync(request: carriers.Appointment_GetAppointmentFromUIDRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
746
+ /**
747
+ * Get the appointment that corresponds to the given UID.
748
+ * @param uid - The UID associated with the appointment
749
+ * @returns The corresponding AppointmentEntity if exists or a default appointment entity.
750
+ */
751
+ getAppointmentFromUIDAsync(uid: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentEntity>;
752
+ private _canAssignToProjectMemberAsync;
753
+ /**
754
+ *
755
+ * @param request - ProjectId, SuggestedAppointmentId
756
+ * @returns
757
+ */
758
+ canAssignToProjectMemberAsync(request: carriers.Appointment_CanAssignToProjectMemberRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
759
+ /**
760
+ *
761
+ * @param projectId -
762
+ * @param suggestedAppointmentId -
763
+ * @returns
764
+ */
765
+ canAssignToProjectMemberAsync(projectId: number, suggestedAppointmentId: number, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
766
+ private _getUIDFromAppointmentIdAsync;
767
+ /**
768
+ * Get the UID associated with the appointment id in the Invitation table.
769
+ * @param request - AppointmentId, UseMotherId
770
+ * @returns The associated UID, or null if none exist.
771
+ */
772
+ getUIDFromAppointmentIdAsync(request: carriers.Appointment_GetUIDFromAppointmentIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
773
+ /**
774
+ * Get the UID associated with the appointment id in the Invitation table.
775
+ * @param appointmentId -
776
+ * @param useMotherId - Uses motherId if no UID is found for appointmentId.
777
+ * @returns The associated UID, or null if none exist.
778
+ */
779
+ getUIDFromAppointmentIdAsync(appointmentId: number, useMotherId: boolean, webapi_options?: base.WebApiRequestOptions): Promise<string>;
780
+ private _updateAppointmentFromIcsResponseAsync;
781
+ /**
782
+ * Update the attendance to an appointment based on incoming ICS RSVPs.
783
+ * @param request - EmailAddress, IcsData
784
+ * @returns True if successfull.
785
+ */
786
+ updateAppointmentFromIcsResponseAsync(request: carriers.Appointment_UpdateAppointmentFromIcsResponseRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
787
+ /**
788
+ * Update the attendance to an appointment based on incoming ICS RSVPs.
789
+ * @param emailAddress - The email-address of the person responding to our meeting-request.
790
+ * @param icsData - The iCal ICS RSVP-content in byte-form.
791
+ * @returns True if successfull.
792
+ */
793
+ updateAppointmentFromIcsResponseAsync(emailAddress: string, icsData: ArrayBuffer | string, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
794
+ private _validateAppointmentEntityAsync;
795
+ /**
796
+ * Check that entity is ready for saving.
797
+ * @param request - AppointmentEntity
798
+ * @returns Error messages tagged by field.
799
+ */
800
+ validateAppointmentEntityAsync(request: carriers.Appointment_ValidateAppointmentEntityRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.StringDictionary>;
801
+ /**
802
+ * Check that entity is ready for saving.
803
+ * @param appointmentEntity - Entity to be checked.
804
+ * @returns Error messages tagged by field.
805
+ */
806
+ validateAppointmentEntityAsync(appointmentEntity: carriers.AppointmentEntity, webapi_options?: base.WebApiRequestOptions): Promise<carriers.StringDictionary>;
807
+ private _willSendEmailAsync;
808
+ /**
809
+ * Returns true if the changes will trigger email sending on Save, so you can inform the user.
810
+ * @param request - Appointment
811
+ * @returns True if the changes to the appointment and preference settings etc. indicates an email should be sent.
812
+ */
813
+ willSendEmailAsync(request: carriers.Appointment_WillSendEmailRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
814
+ /**
815
+ * Returns true if the changes will trigger email sending on Save, so you can inform the user.
816
+ * @param appointment - The appointment carrier with changes made, before saving the changes.
817
+ * @returns True if the changes to the appointment and preference settings etc. indicates an email should be sent.
818
+ */
819
+ willSendEmailAsync(appointment: carriers.AppointmentEntity, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
820
+ private _acceptWithSmtpEmailConfirmationAsync;
821
+ /**
822
+ * Accepting an appointment invitation and send an email confirmation to the meeting organizer.
823
+ * @param request - AppointmentId, UpdateMode, SmtpEMailConnectionInfo
824
+ * @returns Updated AppointmentEntity
825
+ */
826
+ acceptWithSmtpEmailConfirmationAsync(request: carriers.Appointment_AcceptWithSmtpEmailConfirmationRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
827
+ /**
828
+ * Accepting an appointment invitation and send an email confirmation to the meeting organizer.
829
+ * @param appointmentId - The appointmentId. Both master and child record ids are accepted.
830
+ * @param updateMode - Update mode for a recurring appointment.
831
+ * @param smtpEMailConnectionInfo - Login information for outgoing smtp email server. Will be null if no login information is relevant.
832
+ * @returns Updated AppointmentEntity
833
+ */
834
+ acceptWithSmtpEmailConfirmationAsync(appointmentId: number, updateMode: enums.RecurrenceUpdateMode, smtpEMailConnectionInfo: carriers.EMailConnectionInfo, webapi_options?: base.WebApiRequestOptions): Promise<void>;
835
+ private _rejectWithSmtpEmailConfirmationAsync;
836
+ /**
837
+ * Rejecting an appointment invitation and send an email confirmation to the meeting organizer.
838
+ * @param request - AppointmentId, RejectReason, UpdateMode, SmtpEMailConnectionInfo
839
+ * @returns Updated AppointmentEntity
840
+ */
841
+ rejectWithSmtpEmailConfirmationAsync(request: carriers.Appointment_RejectWithSmtpEmailConfirmationRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
842
+ /**
843
+ * Rejecting an appointment invitation and send an email confirmation to the meeting organizer.
844
+ * @param appointmentId - The appointmentId. Both master and child record ids are accepted.
845
+ * @param rejectReason - The reason the invitation was rejected.
846
+ * @param updateMode - Update mode for a recurring appointment.
847
+ * @param smtpEMailConnectionInfo - Login information for outgoing smtp email server. Will be null if no login information is relevant.
848
+ * @returns Updated AppointmentEntity
849
+ */
850
+ rejectWithSmtpEmailConfirmationAsync(appointmentId: number, rejectReason: string, updateMode: enums.RecurrenceUpdateMode, smtpEMailConnectionInfo: carriers.EMailConnectionInfo, webapi_options?: base.WebApiRequestOptions): Promise<void>;
851
+ getAppointmentListAsync(appointmentIds: number[], options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
852
+ private _getMyAppointmentsAsync;
853
+ /**
854
+ * Method that returns a specified number of appointments within a time range. The appointments belong to the currently logged on user.
855
+ * @param request - StartTime, EndTime, Count
856
+ * @returns Array of Appointments.
857
+ */
858
+ getMyAppointmentsAsync(request: carriers.Appointment_GetMyAppointmentsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
859
+ /**
860
+ * Method that returns a specified number of appointments within a time range. The appointments belong to the currently logged on user.
861
+ * @param startTime - The start of the time interval we want appointments from. This will usually be the current time.
862
+ * @param endTime - The end of the time interval.
863
+ * @param count - The maximum number of appointments that should be returned. -1 means no count restrictions.
864
+ * @returns Array of Appointments.
865
+ */
866
+ getMyAppointmentsAsync(startTime: Date, endTime: Date, count: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
867
+ private _getPersonAppointmentsAsync;
868
+ /**
869
+ * Method that returns a specified number of appointments within a time range. The appointments belong to the person specified. If the person not is a SuperOffice user (associate) or the logged on user is not allowed to view this persons appointments an exception is thrown.
870
+ * @param request - PersonId, IncludeProjectAppointments, StartTime, EndTime, Count
871
+ * @returns Array of Appointments.
872
+ */
873
+ getPersonAppointmentsAsync(request: carriers.Appointment_GetPersonAppointmentsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
874
+ /**
875
+ * Method that returns a specified number of appointments within a time range. The appointments belong to the person specified. If the person not is a SuperOffice user (associate) or the logged on user is not allowed to view this persons appointments an exception is thrown.
876
+ * @param personId - The person id of the SuperOffice user (associate).
877
+ * @param includeProjectAppointments - If true, all appointments that belong to projects where the user is a project member are included as well as the appointments belonging to the person.
878
+ * @param startTime - The start of the time interval we want appointments from. This will usually be the current time.
879
+ * @param endTime - The end of the time interval.
880
+ * @param count - The maximum number of appointments that should be returned. -1 means no count restrictions.
881
+ * @returns Array of Appointments.
882
+ */
883
+ getPersonAppointmentsAsync(personId: number, includeProjectAppointments: boolean, startTime: Date, endTime: Date, count: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
884
+ private _getMyDiaryAsync;
885
+ /**
886
+ * Method that returns a specified number of appointments within a time range. It only returns appointments that would be displayed in the user&apos;s diary. The appointments belong to the currently logged on user.
887
+ * @param request - StartTime, EndTime, Count
888
+ * @returns Array of Appointments.
889
+ */
890
+ getMyDiaryAsync(request: carriers.Appointment_GetMyDiaryRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
891
+ /**
892
+ * Method that returns a specified number of appointments within a time range. It only returns appointments that would be displayed in the user&apos;s diary. The appointments belong to the currently logged on user.
893
+ * @param startTime - The start of the time interval we want appointments from. This will usually be the current time.
894
+ * @param endTime - The end of the time interval.
895
+ * @param count - The maximum number of appointments that should be returned. -1 means no count restrictions.
896
+ * @returns Array of Appointments.
897
+ */
898
+ getMyDiaryAsync(startTime: Date, endTime: Date, count: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
899
+ private _getMyTasksAsync;
900
+ /**
901
+ * Method that returns a specified number of appointments within a time range. It only returns appointments that would be displayed in the user&apos;s task list. The appointments belong to the currently logged on user.
902
+ * @param request - Count
903
+ * @returns Array of Appointments.
904
+ */
905
+ getMyTasksAsync(request: carriers.Appointment_GetMyTasksRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
906
+ /**
907
+ * Method that returns a specified number of appointments within a time range. It only returns appointments that would be displayed in the user&apos;s task list. The appointments belong to the currently logged on user.
908
+ * @param count - The maximum number of appointments that should be returned. -1 means no count restrictions.
909
+ * @returns Array of Appointments.
910
+ */
911
+ getMyTasksAsync(count: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
912
+ private _getPersonDiaryAsync;
913
+ /**
914
+ * Method that returns a specified number of appointments within a time range. It only returns appointments that would be displayed in the user&apos;s diary. The appointments belong to the person specified. If the person not is a SuperOffice user (associate) or the logged on user is not allowed to view this persons appointments an exception is thrown.
915
+ * @param request - PersonId, StartTime, EndTime, Count
916
+ * @returns Array of Appointments.
917
+ */
918
+ getPersonDiaryAsync(request: carriers.Appointment_GetPersonDiaryRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
919
+ /**
920
+ * Method that returns a specified number of appointments within a time range. It only returns appointments that would be displayed in the user&apos;s diary. The appointments belong to the person specified. If the person not is a SuperOffice user (associate) or the logged on user is not allowed to view this persons appointments an exception is thrown.
921
+ * @param personId - The person id of the SuperOffice user (associate).
922
+ * @param startTime - The start of the time interval we want appointments from. This will usually be the current time.
923
+ * @param endTime - The end of the time interval.
924
+ * @param count - The maximum number of appointments that should be returned. -1 means no count restrictions.
925
+ * @returns Array of Appointments.
926
+ */
927
+ getPersonDiaryAsync(personId: number, startTime: Date, endTime: Date, count: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
928
+ private _getPersonTasksAsync;
929
+ /**
930
+ * Method that returns a specified number of appointments within a time range. It only returns appointments that would be displayed in the user&apos;s task list. The appointments belong to the person specified. If the person not is a SuperOffice user (associate) or the logged on user is not allowed to view this persons appointments an exception is thrown.
931
+ * @param request - PersonId, Count
932
+ * @returns Array of Appointments.
933
+ */
934
+ getPersonTasksAsync(request: carriers.Appointment_GetPersonTasksRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
935
+ /**
936
+ * Method that returns a specified number of appointments within a time range. It only returns appointments that would be displayed in the user&apos;s task list. The appointments belong to the person specified. If the person not is a SuperOffice user (associate) or the logged on user is not allowed to view this persons appointments an exception is thrown.
937
+ * @param personId - The person id of the SuperOffice user (associate).
938
+ * @param count - The maximum number of appointments that should be returned. -1 means no count restrictions.
939
+ * @returns Array of Appointments.
940
+ */
941
+ getPersonTasksAsync(personId: number, count: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
942
+ private _getPersonAppointmentsByTypeAsync;
943
+ /**
944
+ * Method that returns a specified number of appointments of a specific appointment type within a time range. The appointments belong to the person specified.
945
+ * @param request - PersonId, IncludeProjectAppointments, StartTime, EndTime, Count, AppointmentType
946
+ * @returns Array of Appointments.
947
+ */
948
+ getPersonAppointmentsByTypeAsync(request: carriers.Appointment_GetPersonAppointmentsByTypeRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
949
+ /**
950
+ * Method that returns a specified number of appointments of a specific appointment type within a time range. The appointments belong to the person specified.
951
+ * @param personId - The person id of the SuperOffice user (associate).
952
+ * @param includeProjectAppointments - If true, all appointments that belong to projects where the user is a project member are included as well as the appointments belonging to the person.
953
+ * @param startTime - The start of the time interval we want appointments from. This will usually be the current time.
954
+ * @param endTime - The end of the time interval.
955
+ * @param count - The maximum number of appointments that should be returned. -1 means no count restrictions.
956
+ * @param appointmentType - The appointment type, e.g. inDiary, inChecklist etc.
957
+ * @returns Array of Appointments.
958
+ */
959
+ getPersonAppointmentsByTypeAsync(personId: number, includeProjectAppointments: boolean, startTime: Date, endTime: Date, count: number, appointmentType: enums.AppointmentType, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
960
+ private _getProjectAppointmentsAsync;
961
+ /**
962
+ * Method that returns a specified number of appointments within a time range. The appointments belong to the project specified. If the logged on user is not allowed to view this projects appointments an exception is thrown.
963
+ * @param request - ProjectId, StartTime, EndTime, Count
964
+ * @returns Array of Appointments.
965
+ */
966
+ getProjectAppointmentsAsync(request: carriers.Appointment_GetProjectAppointmentsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
967
+ /**
968
+ * Method that returns a specified number of appointments within a time range. The appointments belong to the project specified. If the logged on user is not allowed to view this projects appointments an exception is thrown.
969
+ * @param projectId - The project id
970
+ * @param startTime - The start of the time interval we want appointments from. This will usually be the current time.
971
+ * @param endTime - The end of the time interval.
972
+ * @param count - The maximum number of appointments that should be returned. -1 means no count restrictions.
973
+ * @returns Array of Appointments.
974
+ */
975
+ getProjectAppointmentsAsync(projectId: number, startTime: Date, endTime: Date, count: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
976
+ private _getProjectAppointmentsByTypeAsync;
977
+ /**
978
+ * Method that returns a specified number of appointments of a specific appointment type within a time range. The appointments belong to the project specified.
979
+ * @param request - ProjectId, StartTime, EndTime, Count, AppointmentType
980
+ * @returns Array of Appointments.
981
+ */
982
+ getProjectAppointmentsByTypeAsync(request: carriers.Appointment_GetProjectAppointmentsByTypeRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
983
+ /**
984
+ * Method that returns a specified number of appointments of a specific appointment type within a time range. The appointments belong to the project specified.
985
+ * @param projectId - The project id
986
+ * @param startTime - The start of the time interval we want appointments from. This will usually be the current time.
987
+ * @param endTime - The end of the time interval.
988
+ * @param count - The maximum number of appointments that should be returned. -1 means no count restrictions.
989
+ * @param appointmentType - The appointment type, e.g. inDiary, inChecklist etc.
990
+ * @returns Array of Appointments.
991
+ */
992
+ getProjectAppointmentsByTypeAsync(projectId: number, startTime: Date, endTime: Date, count: number, appointmentType: enums.AppointmentType, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
993
+ private _getContactAppointmentsAsync;
994
+ /**
995
+ * Method that returns a specified number of appointments within a time range. The appointments belong to the contact specified. If the logged on user is not allowed to view this persons appointments an exception is thrown.
996
+ * @param request - ContactId, StartTime, EndTime, Count
997
+ * @returns Array of Appointments.
998
+ */
999
+ getContactAppointmentsAsync(request: carriers.Appointment_GetContactAppointmentsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1000
+ /**
1001
+ * Method that returns a specified number of appointments within a time range. The appointments belong to the contact specified. If the logged on user is not allowed to view this persons appointments an exception is thrown.
1002
+ * @param contactId - The contact id
1003
+ * @param startTime - The start of the time interval we want appointments from. This will usually be the current time.
1004
+ * @param endTime - The end of the time interval.
1005
+ * @param count - The maximum number of appointments that should be returned. -1 means no count restrictions.
1006
+ * @returns Array of Appointments.
1007
+ */
1008
+ getContactAppointmentsAsync(contactId: number, startTime: Date, endTime: Date, count: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1009
+ private _getContactAppointmentsByTypeAsync;
1010
+ /**
1011
+ * Method that returns a specified number of appointments of a specific appointment type within a time range. The appointments belong to the contact specified. If the logged on user is not allowed to view this contacts appointments an exception is thrown.
1012
+ * @param request - ContactId, StartTime, EndTime, Count, AppointmentType
1013
+ * @returns Array of Appointments.
1014
+ */
1015
+ getContactAppointmentsByTypeAsync(request: carriers.Appointment_GetContactAppointmentsByTypeRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1016
+ /**
1017
+ * Method that returns a specified number of appointments of a specific appointment type within a time range. The appointments belong to the contact specified. If the logged on user is not allowed to view this contacts appointments an exception is thrown.
1018
+ * @param contactId - The contact id
1019
+ * @param startTime - The start of the time interval we want appointments from. This will usually be the current time.
1020
+ * @param endTime - The end of the time interval.
1021
+ * @param count - The maximum number of appointments that should be returned. -1 means no count restrictions.
1022
+ * @param appointmentType - The appointment type, e.g. inDiary, inChecklist etc.
1023
+ * @returns Array of Appointments.
1024
+ */
1025
+ getContactAppointmentsByTypeAsync(contactId: number, startTime: Date, endTime: Date, count: number, appointmentType: enums.AppointmentType, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1026
+ private _getProjectMemberAppointmentsAsync;
1027
+ /**
1028
+ * Method that returns a specified number of appointments within a time range. The appointments belong to the projects where the person specified is member.
1029
+ * @param request - PersonId, StartTime, EndTime, Count
1030
+ * @returns Array of Appointments.
1031
+ */
1032
+ getProjectMemberAppointmentsAsync(request: carriers.Appointment_GetProjectMemberAppointmentsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1033
+ /**
1034
+ * Method that returns a specified number of appointments within a time range. The appointments belong to the projects where the person specified is member.
1035
+ * @param personId - The project member's person id
1036
+ * @param startTime - The start of the time interval we want appointments from. This will usually be the current time.
1037
+ * @param endTime - The end of the time interval.
1038
+ * @param count - The maximum number of appointments that should be returned. -1 means no count restrictions.
1039
+ * @returns Array of Appointments.
1040
+ */
1041
+ getProjectMemberAppointmentsAsync(personId: number, startTime: Date, endTime: Date, count: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1042
+ private _getProjectMemberAppointmentsByTypeAsync;
1043
+ /**
1044
+ * Method that returns a specified number of appointments of a specific appointment type within a time range. The appointments belong to the projects where the person specified is member.
1045
+ * @param request - PersonId, StartTime, EndTime, Count, AppointmentType
1046
+ * @returns Array of Appointments.
1047
+ */
1048
+ getProjectMemberAppointmentsByTypeAsync(request: carriers.Appointment_GetProjectMemberAppointmentsByTypeRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1049
+ /**
1050
+ * Method that returns a specified number of appointments of a specific appointment type within a time range. The appointments belong to the projects where the person specified is member.
1051
+ * @param personId - The project member's person id
1052
+ * @param startTime - The start of the time interval we want appointments from. This will usually be the current time.
1053
+ * @param endTime - The end of the time interval.
1054
+ * @param count - The maximum number of appointments that should be returned. -1 means no count restrictions.
1055
+ * @param appointmentType - The appointment type, e.g. inDiary, inChecklist etc.
1056
+ * @returns Array of Appointments.
1057
+ */
1058
+ getProjectMemberAppointmentsByTypeAsync(personId: number, startTime: Date, endTime: Date, count: number, appointmentType: enums.AppointmentType, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1059
+ private _getPersonAppointmentsByTaskAsync;
1060
+ /**
1061
+ * Method that returns a specified number of appointments of a specific appointment task type within a time range. The appointments belong to the person specified. Task represents the different types of activities, like “Phone call”, “Meeting” and so on.
1062
+ * @param request - PersonId, IncludeProjectAppointments, StartTime, EndTime, Count, TaskId
1063
+ * @returns Array of Appointments.
1064
+ */
1065
+ getPersonAppointmentsByTaskAsync(request: carriers.Appointment_GetPersonAppointmentsByTaskRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1066
+ /**
1067
+ * Method that returns a specified number of appointments of a specific appointment task type within a time range. The appointments belong to the person specified. Task represents the different types of activities, like “Phone call”, “Meeting” and so on.
1068
+ * @param personId - The person id of the SuperOffice user (associate).
1069
+ * @param includeProjectAppointments - If true, all appointments that belong to projects where the user is a project member are included as well as the appointments belonging to the person.
1070
+ * @param startTime - The start of the time interval we want appointments from. This will usually be the current time.
1071
+ * @param endTime - The end of the time interval.
1072
+ * @param count - The maximum number of appointments that should be returned. -1 means no count restrictions.
1073
+ * @param taskId - The task id. Task represents the different types of activities, like “Phone call”, “Meeting” and so on.
1074
+ * @returns Array of Appointments.
1075
+ */
1076
+ getPersonAppointmentsByTaskAsync(personId: number, includeProjectAppointments: boolean, startTime: Date, endTime: Date, count: number, taskId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1077
+ private _getPersonAppointmentsByTasksAsync;
1078
+ /**
1079
+ * Method that returns a specified number of appointments from a list of appointment task types within a time range. The appointments belong to the person specified. Task represents the different types of activities, like “Phone call”, “Meeting” and so on.
1080
+ * @param request - PersonId, IncludeProjectAppointments, StartTime, EndTime, Count, TaskIds
1081
+ * @returns Array of Appointments.
1082
+ */
1083
+ getPersonAppointmentsByTasksAsync(request: carriers.Appointment_GetPersonAppointmentsByTasksRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1084
+ /**
1085
+ * Method that returns a specified number of appointments from a list of appointment task types within a time range. The appointments belong to the person specified. Task represents the different types of activities, like “Phone call”, “Meeting” and so on.
1086
+ * @param personId - The person id of the SuperOffice user (associate).
1087
+ * @param includeProjectAppointments - If true, all appointments that belong to projects where the user is a project member are included as well as the appointments belonging to the person.
1088
+ * @param startTime - The start of the time interval we want appointments from. This will usually be the current time.
1089
+ * @param endTime - The end of the time interval.
1090
+ * @param count - The maximum number of appointments that should be returned. -1 means no count restrictions.
1091
+ * @param taskIds - The task ids as an integer array. Task represents the different types of activities, like “Phone call”, “Meeting” and so on.
1092
+ * @returns Array of Appointments.
1093
+ */
1094
+ getPersonAppointmentsByTasksAsync(personId: number, includeProjectAppointments: boolean, startTime: Date, endTime: Date, count: number, taskIds: number[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1095
+ private _getPersonAppointmentsByTaskHeadingAsync;
1096
+ /**
1097
+ * Method that returns a specified number of appointments of a specific appointment task heading within a time range. The appointments belong to the person specified. Task represents the different types of activities, like “Phone call”, “Meeting” and so on. The heading represents a grouping or filtering of tasks.
1098
+ * @param request - PersonId, IncludeProjectAppointments, StartTime, EndTime, Count, TaskHeadingId
1099
+ * @returns Array of Appointments.
1100
+ */
1101
+ getPersonAppointmentsByTaskHeadingAsync(request: carriers.Appointment_GetPersonAppointmentsByTaskHeadingRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1102
+ /**
1103
+ * Method that returns a specified number of appointments of a specific appointment task heading within a time range. The appointments belong to the person specified. Task represents the different types of activities, like “Phone call”, “Meeting” and so on. The heading represents a grouping or filtering of tasks.
1104
+ * @param personId - The person id of the SuperOffice user (associate).
1105
+ * @param includeProjectAppointments - If true, all appointments that belong to projects where the user is a project member are included as well as the appointments belonging to the person.
1106
+ * @param startTime - The start of the time interval we want appointments from. This will usually be the current time.
1107
+ * @param endTime - The end of the time interval.
1108
+ * @param count - The maximum number of appointments that should be returned. -1 means no count restrictions.
1109
+ * @param taskHeadingId - The task heading id. The heading represents a grouping or filtering of tasks. Task represents the different types of activities, like “Phone call”, “Meeting” and so on.
1110
+ * @returns Array of Appointments.
1111
+ */
1112
+ getPersonAppointmentsByTaskHeadingAsync(personId: number, includeProjectAppointments: boolean, startTime: Date, endTime: Date, count: number, taskHeadingId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1113
+ private _getProjectAppointmentsByTaskAsync;
1114
+ /**
1115
+ * Method that returns a specified number of appointments of a specific appointment task type within a time range. The appointments belong to the project specified. Task represents the different types of activities, like “Phone call”, “Meeting” and so on.
1116
+ * @param request - ProjectId, StartTime, EndTime, Count, TaskId
1117
+ * @returns Array of Appointments.
1118
+ */
1119
+ getProjectAppointmentsByTaskAsync(request: carriers.Appointment_GetProjectAppointmentsByTaskRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1120
+ /**
1121
+ * Method that returns a specified number of appointments of a specific appointment task type within a time range. The appointments belong to the project specified. Task represents the different types of activities, like “Phone call”, “Meeting” and so on.
1122
+ * @param projectId - The project id
1123
+ * @param startTime - The start of the time interval we want appointments from. This will usually be the current time.
1124
+ * @param endTime - The end of the time interval.
1125
+ * @param count - The maximum number of appointments that should be returned. -1 means no count restrictions.
1126
+ * @param taskId - The task id. Task represents the different types of activities, like “Phone call”, “Meeting” and so on.
1127
+ * @returns Array of Appointments.
1128
+ */
1129
+ getProjectAppointmentsByTaskAsync(projectId: number, startTime: Date, endTime: Date, count: number, taskId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1130
+ private _getProjectAppointmentsByTasksAsync;
1131
+ /**
1132
+ * Method that returns a specified number of appointments matching the list of appointment task types within a time range. The appointments belong to the project specified. Task represents the different types of activities, like “Phone call”, “Meeting” and so on.
1133
+ * @param request - ProjectId, StartTime, EndTime, Count, TaskIds
1134
+ * @returns Array of Appointments.
1135
+ */
1136
+ getProjectAppointmentsByTasksAsync(request: carriers.Appointment_GetProjectAppointmentsByTasksRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1137
+ /**
1138
+ * Method that returns a specified number of appointments matching the list of appointment task types within a time range. The appointments belong to the project specified. Task represents the different types of activities, like “Phone call”, “Meeting” and so on.
1139
+ * @param projectId - The project id
1140
+ * @param startTime - The start of the time interval we want appointments from. This will usually be the current time.
1141
+ * @param endTime - The end of the time interval.
1142
+ * @param count - The maximum number of appointments that should be returned. -1 means no count restrictions.
1143
+ * @param taskIds - The task ids as an integer array. Task represents the different types of activities, like “Phone call”, “Meeting” and so on.
1144
+ * @returns Array of Appointments.
1145
+ */
1146
+ getProjectAppointmentsByTasksAsync(projectId: number, startTime: Date, endTime: Date, count: number, taskIds: number[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1147
+ private _getProjectAppointmentsByTaskHeadingAsync;
1148
+ /**
1149
+ * Method that returns a specified number of appointments of a specific appointment task heading within a time range. The appointments belong to the project specified. Task represents the different types of activities, like “Phone call”, “Meeting” and so on. The heading represents a grouping or filtering of tasks.
1150
+ * @param request - ProjectId, StartTime, EndTime, Count, TaskHeadingId
1151
+ * @returns Array of Appointments.
1152
+ */
1153
+ getProjectAppointmentsByTaskHeadingAsync(request: carriers.Appointment_GetProjectAppointmentsByTaskHeadingRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1154
+ /**
1155
+ * Method that returns a specified number of appointments of a specific appointment task heading within a time range. The appointments belong to the project specified. Task represents the different types of activities, like “Phone call”, “Meeting” and so on. The heading represents a grouping or filtering of tasks.
1156
+ * @param projectId - The project id
1157
+ * @param startTime - The start of the time interval we want appointments from. This will usually be the current time.
1158
+ * @param endTime - The end of the time interval.
1159
+ * @param count - The maximum number of appointments that should be returned. -1 means no count restrictions.
1160
+ * @param taskHeadingId - The task heading id. The heading represents a grouping or filtering of tasks. Task represents the different types of activities, like “Phone call”, “Meeting” and so on.
1161
+ * @returns Array of Appointments.
1162
+ */
1163
+ getProjectAppointmentsByTaskHeadingAsync(projectId: number, startTime: Date, endTime: Date, count: number, taskHeadingId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1164
+ private _getProjectMemberAppointmentsByTaskAsync;
1165
+ /**
1166
+ * Method that returns a specified number of appointments of a specific appointment task type within a time range. The appointments belong to the projects where the person specified is member. Task represents the different types of activities, like “Phone call”, “Meeting” and so on.
1167
+ * @param request - PersonId, StartTime, EndTime, Count, TaskId
1168
+ * @returns Array of Appointments.
1169
+ */
1170
+ getProjectMemberAppointmentsByTaskAsync(request: carriers.Appointment_GetProjectMemberAppointmentsByTaskRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1171
+ /**
1172
+ * Method that returns a specified number of appointments of a specific appointment task type within a time range. The appointments belong to the projects where the person specified is member. Task represents the different types of activities, like “Phone call”, “Meeting” and so on.
1173
+ * @param personId - The project member's person id
1174
+ * @param startTime - The start of the time interval we want appointments from. This will usually be the current time.
1175
+ * @param endTime - The end of the time interval.
1176
+ * @param count - The maximum number of appointments that should be returned. -1 means no count restrictions.
1177
+ * @param taskId - The task id. Task represents the different types of activities, like “Phone call”, “Meeting” and so on.
1178
+ * @returns Array of Appointments.
1179
+ */
1180
+ getProjectMemberAppointmentsByTaskAsync(personId: number, startTime: Date, endTime: Date, count: number, taskId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1181
+ private _getProjectMemberAppointmentsByTasksAsync;
1182
+ /**
1183
+ * Method that returns a specified number of appointments matching a set of appointment task types within a time range. The appointments belong to the projects where the person specified is member. Task represents the different types of activities, like “Phone call”, “Meeting” and so on.
1184
+ * @param request - PersonId, StartTime, EndTime, Count, TaskIds
1185
+ * @returns Array of Appointments.
1186
+ */
1187
+ getProjectMemberAppointmentsByTasksAsync(request: carriers.Appointment_GetProjectMemberAppointmentsByTasksRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1188
+ /**
1189
+ * Method that returns a specified number of appointments matching a set of appointment task types within a time range. The appointments belong to the projects where the person specified is member. Task represents the different types of activities, like “Phone call”, “Meeting” and so on.
1190
+ * @param personId - The project member's person id
1191
+ * @param startTime - The start of the time interval we want appointments from. This will usually be the current time.
1192
+ * @param endTime - The end of the time interval.
1193
+ * @param count - The maximum number of appointments that should be returned. -1 means no count restrictions.
1194
+ * @param taskIds - The task ids as an integer array. Task represents the different types of activities, like “Phone call”, “Meeting” and so on.
1195
+ * @returns Array of Appointments.
1196
+ */
1197
+ getProjectMemberAppointmentsByTasksAsync(personId: number, startTime: Date, endTime: Date, count: number, taskIds: number[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1198
+ private _getProjectMemberAppointmentsByTaskHeadingAsync;
1199
+ /**
1200
+ * Method that returns a specified number of appointments of a specific appointment task heading within a time range. The appointments belong to the projects where the person specified is member. Task represents the different types of activities, like “Phone call”, “Meeting” and so on. The heading represents a grouping or filtering of tasks.
1201
+ * @param request - PersonId, StartTime, EndTime, Count, TaskHeadingId
1202
+ * @returns Array of Appointments.
1203
+ */
1204
+ getProjectMemberAppointmentsByTaskHeadingAsync(request: carriers.Appointment_GetProjectMemberAppointmentsByTaskHeadingRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1205
+ /**
1206
+ * Method that returns a specified number of appointments of a specific appointment task heading within a time range. The appointments belong to the projects where the person specified is member. Task represents the different types of activities, like “Phone call”, “Meeting” and so on. The heading represents a grouping or filtering of tasks.
1207
+ * @param personId - The project member's person id
1208
+ * @param startTime - The start of the time interval we want appointments from. This will usually be the current time.
1209
+ * @param endTime - The end of the time interval.
1210
+ * @param count - The maximum number of appointments that should be returned. -1 means no count restrictions.
1211
+ * @param taskHeadingId - The task heading id. The heading represents a grouping or filtering of tasks. Task represents the different types of activities, like “Phone call”, “Meeting” and so on.
1212
+ * @returns Array of Appointments.
1213
+ */
1214
+ getProjectMemberAppointmentsByTaskHeadingAsync(personId: number, startTime: Date, endTime: Date, count: number, taskHeadingId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1215
+ private _getContactAppointmentsByTaskAsync;
1216
+ /**
1217
+ * Method that returns a specified number of appointments of a specific appointment task type within a time range. The appointments belong to the contact specified. Task represents the different types of activities, like “Phone call”, “Meeting” and so on.
1218
+ * @param request - ContactId, StartTime, EndTime, Count, TaskId
1219
+ * @returns Array of Appointments.
1220
+ */
1221
+ getContactAppointmentsByTaskAsync(request: carriers.Appointment_GetContactAppointmentsByTaskRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1222
+ /**
1223
+ * Method that returns a specified number of appointments of a specific appointment task type within a time range. The appointments belong to the contact specified. Task represents the different types of activities, like “Phone call”, “Meeting” and so on.
1224
+ * @param contactId - The contact id
1225
+ * @param startTime - The start of the time interval we want appointments from. This will usually be the current time.
1226
+ * @param endTime - The end of the time interval.
1227
+ * @param count - The maximum number of appointments that should be returned. -1 means no count restrictions.
1228
+ * @param taskId - The task id. Task represents the different types of activities, like “Phone call”, “Meeting” and so on.
1229
+ * @returns Array of Appointments.
1230
+ */
1231
+ getContactAppointmentsByTaskAsync(contactId: number, startTime: Date, endTime: Date, count: number, taskId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1232
+ private _getContactAppointmentsByTasksAsync;
1233
+ /**
1234
+ * Method that returns a specified number of appointments belonging to an array of appointment task types within a time range. The appointments belong to the contact specified. Task represents the different types of activities, like “Phone call”, “Meeting” and so on.
1235
+ * @param request - ContactId, StartTime, EndTime, Count, TaskIds
1236
+ * @returns Array of Appointments.
1237
+ */
1238
+ getContactAppointmentsByTasksAsync(request: carriers.Appointment_GetContactAppointmentsByTasksRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1239
+ /**
1240
+ * Method that returns a specified number of appointments belonging to an array of appointment task types within a time range. The appointments belong to the contact specified. Task represents the different types of activities, like “Phone call”, “Meeting” and so on.
1241
+ * @param contactId - The contact id
1242
+ * @param startTime - The start of the time interval we want appointments from. This will usually be the current time.
1243
+ * @param endTime - The end of the time interval.
1244
+ * @param count - The maximum number of appointments that should be returned. -1 means no count restrictions.
1245
+ * @param taskIds - The task ids as an integer array. Task represents the different types of activities, like “Phone call”, “Meeting” and so on.
1246
+ * @returns Array of Appointments.
1247
+ */
1248
+ getContactAppointmentsByTasksAsync(contactId: number, startTime: Date, endTime: Date, count: number, taskIds: number[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1249
+ private _getContactAppointmentsByTaskHeadingAsync;
1250
+ /**
1251
+ * Method that returns a specified number of appointments of a specific appointment task heading within a time range. The appointments belong to the contact specified. Task represents the different types of activities, like “Phone call”, “Meeting” and so on. The heading represents a grouping or filtering of tasks.
1252
+ * @param request - ContactId, StartTime, EndTime, Count, TaskHeadingId
1253
+ * @returns Array of Appointments.
1254
+ */
1255
+ getContactAppointmentsByTaskHeadingAsync(request: carriers.Appointment_GetContactAppointmentsByTaskHeadingRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1256
+ /**
1257
+ * Method that returns a specified number of appointments of a specific appointment task heading within a time range. The appointments belong to the contact specified. Task represents the different types of activities, like “Phone call”, “Meeting” and so on. The heading represents a grouping or filtering of tasks.
1258
+ * @param contactId - The contact id
1259
+ * @param startTime - The start of the time interval we want appointments from. This will usually be the current time.
1260
+ * @param endTime - The end of the time interval.
1261
+ * @param count - The maximum number of appointments that should be returned. -1 means no count restrictions.
1262
+ * @param taskHeadingId - The task heading id. The heading represents a grouping or filtering of tasks. Task represents the different types of activities, like “Phone call”, “Meeting” and so on.
1263
+ * @returns Array of Appointments.
1264
+ */
1265
+ getContactAppointmentsByTaskHeadingAsync(contactId: number, startTime: Date, endTime: Date, count: number, taskHeadingId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1266
+ private _getPublishedAppointmentAsync;
1267
+ /**
1268
+ * Get published appointment by appointment id.
1269
+ * @param request - AppointmentId
1270
+ * @returns Appointment
1271
+ */
1272
+ getPublishedAppointmentAsync(request: carriers.Appointment_GetPublishedAppointmentRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment>;
1273
+ /**
1274
+ * Get published appointment by appointment id.
1275
+ * @param appointmentId - The appointment id
1276
+ * @returns Appointment
1277
+ */
1278
+ getPublishedAppointmentAsync(appointmentId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment>;
1279
+ private _getPublishedAppointmentsAsync;
1280
+ /**
1281
+ * Get published appointments by appointment ids.
1282
+ * @param request - AppointmentIds
1283
+ * @returns Array of Appointment
1284
+ */
1285
+ getPublishedAppointmentsAsync(request: carriers.Appointment_GetPublishedAppointmentsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1286
+ /**
1287
+ * Get published appointments by appointment ids.
1288
+ * @param appointmentIds - The array of appointment ids
1289
+ * @returns Array of Appointment
1290
+ */
1291
+ getPublishedAppointmentsAsync(appointmentIds: number[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1292
+ private _getMyPublishedAppointmentsAsync;
1293
+ /**
1294
+ * Get published appointments from the logged in user.
1295
+ * @returns Appointments
1296
+ */
1297
+ getMyPublishedAppointmentsAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1298
+ private _getPublishedProjectAppointmentsAsync;
1299
+ /**
1300
+ * Get published appointments by project id.
1301
+ * @param request - ProjectId
1302
+ * @returns Array of Appointment
1303
+ */
1304
+ getPublishedProjectAppointmentsAsync(request: carriers.Appointment_GetPublishedProjectAppointmentsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1305
+ /**
1306
+ * Get published appointments by project id.
1307
+ * @param projectId - The project id
1308
+ * @returns Array of Appointment
1309
+ */
1310
+ getPublishedProjectAppointmentsAsync(projectId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1311
+ private _getAppointmentsByTaskHeadingAsync;
1312
+ /**
1313
+ * Method that returns appointments of a specific appointment task heading. Task represents the different types of activities, like “Phone call”, “Meeting” and so on. The heading represents a grouping or filtering of tasks.
1314
+ * @param request - TaskHeadingId
1315
+ * @returns Array of Appointments.
1316
+ */
1317
+ getAppointmentsByTaskHeadingAsync(request: carriers.Appointment_GetAppointmentsByTaskHeadingRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1318
+ /**
1319
+ * Method that returns appointments of a specific appointment task heading. Task represents the different types of activities, like “Phone call”, “Meeting” and so on. The heading represents a grouping or filtering of tasks.
1320
+ * @param taskHeadingId - The task heading id. The heading represents a grouping or filtering of tasks. Task represents the different types of activities, like “Phone call”, “Meeting” and so on
1321
+ * @returns Array of Appointments.
1322
+ */
1323
+ getAppointmentsByTaskHeadingAsync(taskHeadingId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1324
+ private _getAssociateDiaryAsync;
1325
+ /**
1326
+ *
1327
+ * @param request - AssociateId, StartTime, EndTime, Count
1328
+ * @returns
1329
+ */
1330
+ getAssociateDiaryAsync(request: carriers.Appointment_GetAssociateDiaryRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1331
+ /**
1332
+ *
1333
+ * @param associateId -
1334
+ * @param startTime -
1335
+ * @param endTime -
1336
+ * @param count -
1337
+ * @returns
1338
+ */
1339
+ getAssociateDiaryAsync(associateId: number, startTime: Date, endTime: Date, count: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1340
+ private _getDiaryByGroupAsync;
1341
+ /**
1342
+ *
1343
+ * @param request - GroupId, GroupType, StartTime, EndTime, Count
1344
+ * @returns
1345
+ */
1346
+ getDiaryByGroupAsync(request: carriers.Appointment_GetDiaryByGroupRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1347
+ /**
1348
+ *
1349
+ * @param groupId -
1350
+ * @param groupType -
1351
+ * @param startTime -
1352
+ * @param endTime -
1353
+ * @param count -
1354
+ * @returns
1355
+ */
1356
+ getDiaryByGroupAsync(groupId: number, groupType: number, startTime: Date, endTime: Date, count: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1357
+ private _updateAppointmentAsync;
1358
+ /**
1359
+ * Updates an appointment record.
1360
+ * @param request - Id, StartTime, EndTime, Status, Type, AssociateId
1361
+ * @returns
1362
+ */
1363
+ updateAppointmentAsync(request: carriers.Appointment_UpdateAppointmentRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment>;
1364
+ /**
1365
+ * Updates an appointment record.
1366
+ * @param id -
1367
+ * @param startTime -
1368
+ * @param endTime -
1369
+ * @param status -
1370
+ * @param type -
1371
+ * @param associateId - The appointment owner's id (associate id)
1372
+ * @returns
1373
+ */
1374
+ updateAppointmentAsync(id: number, startTime: Date, endTime: Date, status: number, type: number, associateId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment>;
1375
+ private _getAssociatesDiaryAsync;
1376
+ /**
1377
+ *
1378
+ * @param request - AssociateIds, StartTime, EndTime
1379
+ * @returns
1380
+ */
1381
+ getAssociatesDiaryAsync(request: carriers.Appointment_GetAssociatesDiaryRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1382
+ /**
1383
+ *
1384
+ * @param associateIds -
1385
+ * @param startTime -
1386
+ * @param endTime -
1387
+ * @returns
1388
+ */
1389
+ getAssociatesDiaryAsync(associateIds: number[], startTime: Date, endTime: Date, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1390
+ private _getAppointmentRecordsAsync;
1391
+ /**
1392
+ * Get all records involved in a booking and/or recurring appointments. MotherId can be zero for repeating appointments or bookings, and recurrenceRuleId can be zero for bookings that are not repeating.
1393
+ * @param request - MotherId, RecurrenceRuleId
1394
+ * @returns
1395
+ */
1396
+ getAppointmentRecordsAsync(request: carriers.Appointment_GetAppointmentRecordsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1397
+ /**
1398
+ * Get all records involved in a booking and/or recurring appointments. MotherId can be zero for repeating appointments or bookings, and recurrenceRuleId can be zero for bookings that are not repeating.
1399
+ * @param motherId - Appointment id of the owner of a booking
1400
+ * @param recurrenceRuleId - RecurrenceId of a recuring appointment
1401
+ * @returns
1402
+ */
1403
+ getAppointmentRecordsAsync(motherId: number, recurrenceRuleId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Appointment[]>;
1404
+ private _getMySyncAppointmentsAsync;
1405
+ /**
1406
+ * Method that returns a specified number of appointments within a time range. The appointments belong to the currently logged on user.
1407
+ * @param request - StartTime, EndTime
1408
+ * @returns Array of Appointments.
1409
+ */
1410
+ getMySyncAppointmentsAsync(request: carriers.Appointment_GetMySyncAppointmentsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentSyncData[]>;
1411
+ /**
1412
+ * Method that returns a specified number of appointments within a time range. The appointments belong to the currently logged on user.
1413
+ * @param startTime - The start of the time interval in which we want appointments. This will usually be the current time.
1414
+ * @param endTime - The end of the time interval.
1415
+ * @returns Array of Appointments.
1416
+ */
1417
+ getMySyncAppointmentsAsync(startTime: Date, endTime: Date, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AppointmentSyncData[]>;
1418
+ private _getDayInformationListByDatesAndAssociateAsync;
1419
+ /**
1420
+ * Get combined day information (activity + redletter summary) for one or more days according to the given date interval. The time portion of the dates is ignored. Private appointments are counted, but may not be visible through tooltips or other more detailed services.
1421
+ * @param request - StartDate, EndDate, AssociateId
1422
+ * @returns Exactly one item per day of the given time span is returned. Days where nothing happens will have all values set to 0, but will still be in the returned array. Start end dates are treated as inclusive.
1423
+ */
1424
+ getDayInformationListByDatesAndAssociateAsync(request: carriers.Appointment_GetDayInformationListByDatesAndAssociateRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.DayInformationListItem[]>;
1425
+ /**
1426
+ * Get combined day information (activity + redletter summary) for one or more days according to the given date interval. The time portion of the dates is ignored. Private appointments are counted, but may not be visible through tooltips or other more detailed services.
1427
+ * @param startDate - Start date of interval. Time portion is ignored.
1428
+ * @param endDate - End date of interval. Time portion is ignored.
1429
+ * @param associateId - Associate id to identify the calendar to scan. If 0 is passed in, the currently authenticated associate is used instead.
1430
+ * @returns Exactly one item per day of the given time span is returned. Days where nothing happens will have all values set to 0, but will still be in the returned array. Start end dates are treated as inclusive.
1431
+ */
1432
+ getDayInformationListByDatesAndAssociateAsync(startDate: Date, endDate: Date, associateId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.DayInformationListItem[]>;
1433
+ private _getActivityInformationListByDatesAndAssociateAsync;
1434
+ /**
1435
+ * Get activity information for one or more days according to the given date interval. The time portion of the dates is ignored. Private appointments are counted, but may not be visible through tooltips or other more detailed services.
1436
+ * @param request - StartDate, EndDate, AssociateId
1437
+ * @returns Exactly one item per day of the given time span is returned. Days where nothing happens will have all values set to 0, but will still be in the returned array. Start end dates are treated as inclusive.
1438
+ */
1439
+ getActivityInformationListByDatesAndAssociateAsync(request: carriers.Appointment_GetActivityInformationListByDatesAndAssociateRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ActivityInformationListItem[]>;
1440
+ /**
1441
+ * Get activity information for one or more days according to the given date interval. The time portion of the dates is ignored. Private appointments are counted, but may not be visible through tooltips or other more detailed services.
1442
+ * @param startDate - Start date of interval. Time portion is ignored.
1443
+ * @param endDate - End date of interval. Time portion is ignored.
1444
+ * @param associateId - Associate id to identify the calendar to scan. If 0 is passed in, the currently authenticated associate is used instead.
1445
+ * @returns Exactly one item per day of the given time span is returned. Days where nothing happens will have all values set to 0, but will still be in the returned array. Start end dates are treated as inclusive.
1446
+ */
1447
+ getActivityInformationListByDatesAndAssociateAsync(startDate: Date, endDate: Date, associateId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ActivityInformationListItem[]>;
1448
+ private _getRedLetterInformationListByDatesAndAssociateAsync;
1449
+ /**
1450
+ * Get detailed red letter day information (redletter summary + individual day texts) for one or more days according to the given date interval. The time portion of the dates is ignored.
1451
+ * @param request - StartDate, EndDate, AssociateId
1452
+ * @returns Exactly one item per day of the given time span is returned. Days where nothing happens will have all values set to 0, but will still be in the returned array. Start end dates are treated as inclusive.
1453
+ */
1454
+ getRedLetterInformationListByDatesAndAssociateAsync(request: carriers.Appointment_GetRedLetterInformationListByDatesAndAssociateRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.RedLetterInformationListItem[]>;
1455
+ /**
1456
+ * Get detailed red letter day information (redletter summary + individual day texts) for one or more days according to the given date interval. The time portion of the dates is ignored.
1457
+ * @param startDate - Start date of interval. Time portion is ignored.
1458
+ * @param endDate - End date of interval. Time portion is ignored.
1459
+ * @param associateId - Associate id to identify the calendar to scan. If 0 is passed in, the currently authenticated associate is used instead.
1460
+ * @returns Exactly one item per day of the given time span is returned. Days where nothing happens will have all values set to 0, but will still be in the returned array. Start end dates are treated as inclusive.
1461
+ */
1462
+ getRedLetterInformationListByDatesAndAssociateAsync(startDate: Date, endDate: Date, associateId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.RedLetterInformationListItem[]>;
1463
+ private _getAlarmsAsync;
1464
+ /**
1465
+ *
1466
+ * @param request - IncludeInvitations, IncludeAllAppointments, DefaultAlarmLeadTimeInMinutes
1467
+ * @returns
1468
+ */
1469
+ getAlarmsAsync(request: carriers.Appointment_GetAlarmsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.MultiAlarmData>;
1470
+ /**
1471
+ *
1472
+ * @param includeInvitations -
1473
+ * @param includeAllAppointments -
1474
+ * @param defaultAlarmLeadTimeInMinutes -
1475
+ * @returns
1476
+ */
1477
+ getAlarmsAsync(includeInvitations: boolean, includeAllAppointments: boolean, defaultAlarmLeadTimeInMinutes: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.MultiAlarmData>;
1478
+ private _generateLeadAsync;
1479
+ /**
1480
+ * Adds a sales lead (task) to a contact in SuperOffice. If the contact or person is known, the sales lead is added to the current contact. If not, a new contact is created, with the associate with ownerIdForNewContact as responsible (Our Contact). A relation is created between the contact and the person submitting the lead. Based on wether the person the request is made for is found or not, the following happens: If the person is found, the person, person&apos;s contact and sales representative is returned. If neither the person nor the contact is found a new person and contact is created (if sufficient data is supplied), and the person, person&apos;s contact and sales representative is returned. If the contact and not the person is found a new person is created on this contact, and the contact, salesrep, and person is returned (if there was enough data to return the person). If more than one contact is found a list of contacts is returned.
1481
+ * @param request - AssociateIdForNewContact, LeadDescription, Relation, RelationId, LeadContact, LeadPersonFirstname, LeadPersonLastname, LeadPersonEmail, LeadPhoneNumber, CreatorsContact, CreatorsFirstname, CreatorsLastname
1482
+ * @returns True if successfull.
1483
+ */
1484
+ generateLeadAsync(request: carriers.Appointment_GenerateLeadRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.SalesActivity>;
1485
+ /**
1486
+ * Adds a sales lead (task) to a contact in SuperOffice. If the contact or person is known, the sales lead is added to the current contact. If not, a new contact is created, with the associate with ownerIdForNewContact as responsible (Our Contact). A relation is created between the contact and the person submitting the lead. Based on wether the person the request is made for is found or not, the following happens: If the person is found, the person, person&apos;s contact and sales representative is returned. If neither the person nor the contact is found a new person and contact is created (if sufficient data is supplied), and the person, person&apos;s contact and sales representative is returned. If the contact and not the person is found a new person is created on this contact, and the contact, salesrep, and person is returned (if there was enough data to return the person). If more than one contact is found a list of contacts is returned.
1487
+ * @param associateIdForNewContact - Associate id of the person set as "Our Contact" if a new Contact is created. Ensures that the sales lead is assigned to the correct salesman.
1488
+ * @param leadDescription - Description of the lead. The lead text as shown in SuperOffice
1489
+ * @param relation - The relation the person submitting the lead has to the contact.
1490
+ * @param relationId - Id of the relation type. Database specific.
1491
+ * @param leadContact - Name of the new or existing contact (company) the lead is created for.
1492
+ * @param leadPersonFirstname - Firstname of the contact's person.
1493
+ * @param leadPersonLastname - Lastname of the contact's person.
1494
+ * @param leadPersonEmail - Email to the contact's person.
1495
+ * @param leadPhoneNumber - Phone number of the contact or contact's person.
1496
+ * @param creatorsContact - The contact (company) of the person creating the lead
1497
+ * @param creatorsFirstname - The firstname of the person creating the lead
1498
+ * @param creatorsLastname - The lastname of the person creating the lead
1499
+ * @returns True if successfull.
1500
+ */
1501
+ generateLeadAsync(associateIdForNewContact: number, leadDescription: string, relation: string, relationId: number, leadContact: string, leadPersonFirstname: string, leadPersonLastname: string, leadPersonEmail: string, leadPhoneNumber: string, creatorsContact: string, creatorsFirstname: string, creatorsLastname: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.SalesActivity>;
1502
+ private _requestForInfoAsync;
1503
+ /**
1504
+ * Submits a request for information. The request is added to the task list of the user that is responsible for this contact. Based on wether the person the request is made for is found or not, the following happens: If the person is found, the person, person&apos;s contact and sales representative is returned. If neither the person nor the contact is found a new person and contact is created (if sufficient data is supplied), and the person, person&apos;s contact and sales representative is returned. If the contact and not the person is found a new person is created on this contact, and the contact, salesrep, and person is returned (if there was enough data to return the person). If more than one contact is found a list of contacts is returned.
1505
+ * @param request - AssociateIdForNewContact, Channel, Regarding, ContactName, PersonFirstname, PersonLastname, EmailAddress, PhoneNumber
1506
+ * @returns True if the submission was successful.
1507
+ */
1508
+ requestForInfoAsync(request: carriers.Appointment_RequestForInfoRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.SalesActivity>;
1509
+ /**
1510
+ * Submits a request for information. The request is added to the task list of the user that is responsible for this contact. Based on wether the person the request is made for is found or not, the following happens: If the person is found, the person, person&apos;s contact and sales representative is returned. If neither the person nor the contact is found a new person and contact is created (if sufficient data is supplied), and the person, person&apos;s contact and sales representative is returned. If the contact and not the person is found a new person is created on this contact, and the contact, salesrep, and person is returned (if there was enough data to return the person). If more than one contact is found a list of contacts is returned.
1511
+ * @param associateIdForNewContact - Associate id of the person set as "Our Contact" if a new Contact is created. Ensures that the request is assigned to the correct salesman.
1512
+ * @param channel - The requested channel, e.g. "Phone"
1513
+ * @param regarding - The text submitted by the user.
1514
+ * @param contactName - The name of the contact that the RFI will be added to. May be empty.
1515
+ * @param personFirstname - The firstname of the person that the RFI will be added to. May be empty.
1516
+ * @param personLastname - The lastname of the person that the RFI will be added to. May be empty.
1517
+ * @param emailAddress - The email address of the person that the RFI will be added to.
1518
+ * @param phoneNumber - Phone number of the contact or contact's person.
1519
+ * @returns True if the submission was successful.
1520
+ */
1521
+ requestForInfoAsync(associateIdForNewContact: number, channel: string, regarding: string, contactName: string, personFirstname: string, personLastname: string, emailAddress: string, phoneNumber: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.SalesActivity>;
1522
+ getSuggestedAppointmentAsync(suggestedAppointmentId: number, options?: base.WebApiRequestOptions): Promise<carriers.SuggestedAppointment>;
1523
+ getSuggestedAppointmentEntityAsync(suggestedAppointmentEntityId: number, options?: base.WebApiRequestOptions): Promise<carriers.SuggestedAppointmentEntity>;
1524
+ getTaskListItemAsync(taskListItemId: number, options?: base.WebApiRequestOptions): Promise<carriers.TaskListItem>;
1525
+ private _getTaskListItemsAsync;
1526
+ /**
1527
+ * Gets all takslist items
1528
+ * @param request - IncludeDeleted
1529
+ * @returns An array of tasklist items
1530
+ */
1531
+ getTaskListItemsAsync(request: carriers.Appointment_GetTaskListItemsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.TaskListItem[]>;
1532
+ /**
1533
+ * Gets all takslist items
1534
+ * @param includeDeleted - Include deleted items
1535
+ * @returns An array of tasklist items
1536
+ */
1537
+ getTaskListItemsAsync(includeDeleted: boolean, webapi_options?: base.WebApiRequestOptions): Promise<carriers.TaskListItem[]>;
1538
+ }
1539
+ //# sourceMappingURL=AppointmentAgent.d.ts.map