@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.
- package/LICENSE.md +15 -0
- package/README.md +184 -0
- package/__tests__/Appointment63-notz.json +1925 -0
- package/__tests__/Appointment63-utctz.json +1925 -0
- package/__tests__/Appointment63.json +1925 -0
- package/__tests__/AppointmentTzTest.ts +114 -0
- package/__tests__/AxiosNockTest.ts +28 -0
- package/__tests__/ContactDefault.json +699 -0
- package/__tests__/ContactEntity.json +273 -0
- package/__tests__/ContactRestTest.ts +144 -0
- package/__tests__/ContactTest.ts +395 -0
- package/__tests__/ConvertersTest.ts +97 -0
- package/__tests__/DocumentGetTemplateStream.json +1 -0
- package/__tests__/DocumentGetTemplateStreamBinary.json +1 -0
- package/__tests__/DocumentTest.ts +101 -0
- package/__tests__/Person210-notz.json +1932 -0
- package/__tests__/Person210-utctz.json +1932 -0
- package/__tests__/Person210.json +1932 -0
- package/__tests__/PersonImageData.nock +23 -0
- package/__tests__/PersonTest.ts +41 -0
- package/__tests__/PersonTzTest.ts +113 -0
- package/__tests__/RecurrenceInfo.json +55 -0
- package/__tests__/TableRights.json +441 -0
- package/__tests__/WebapiTest.ts +264 -0
- package/__tests__/Webhook.json +17 -0
- package/__tests__/WebhookTest.ts +209 -0
- package/dist/cjs/AIAgent.d.ts +265 -0
- package/dist/cjs/AIAgent.d.ts.map +1 -0
- package/dist/cjs/AIAgent.js +535 -0
- package/dist/cjs/AIAgent.js.map +1 -0
- package/dist/cjs/AppointmentAgent.d.ts +1539 -0
- package/dist/cjs/AppointmentAgent.d.ts.map +1 -0
- package/dist/cjs/AppointmentAgent.js +3363 -0
- package/dist/cjs/AppointmentAgent.js.map +1 -0
- package/dist/cjs/AppointmentRestApi.d.ts +46 -0
- package/dist/cjs/AppointmentRestApi.d.ts.map +1 -0
- package/dist/cjs/AppointmentRestApi.js +168 -0
- package/dist/cjs/AppointmentRestApi.js.map +1 -0
- package/dist/cjs/ArchiveAgent.d.ts +582 -0
- package/dist/cjs/ArchiveAgent.d.ts.map +1 -0
- package/dist/cjs/ArchiveAgent.js +1135 -0
- package/dist/cjs/ArchiveAgent.js.map +1 -0
- package/dist/cjs/AssociateAgent.d.ts +109 -0
- package/dist/cjs/AssociateAgent.d.ts.map +1 -0
- package/dist/cjs/AssociateAgent.js +257 -0
- package/dist/cjs/AssociateAgent.js.map +1 -0
- package/dist/cjs/AudienceAgent.d.ts +359 -0
- package/dist/cjs/AudienceAgent.d.ts.map +1 -0
- package/dist/cjs/AudienceAgent.js +888 -0
- package/dist/cjs/AudienceAgent.js.map +1 -0
- package/dist/cjs/AxiosCacheHandler.d.ts +20 -0
- package/dist/cjs/AxiosCacheHandler.d.ts.map +1 -0
- package/dist/cjs/AxiosCacheHandler.js +68 -0
- package/dist/cjs/AxiosCacheHandler.js.map +1 -0
- package/dist/cjs/BLOBAgent.d.ts +538 -0
- package/dist/cjs/BLOBAgent.d.ts.map +1 -0
- package/dist/cjs/BLOBAgent.js +1364 -0
- package/dist/cjs/BLOBAgent.js.map +1 -0
- package/dist/cjs/Base64.d.ts +4 -0
- package/dist/cjs/Base64.d.ts.map +1 -0
- package/dist/cjs/Base64.js +233 -0
- package/dist/cjs/Base64.js.map +1 -0
- package/dist/cjs/BatchAgent.d.ts +252 -0
- package/dist/cjs/BatchAgent.d.ts.map +1 -0
- package/dist/cjs/BatchAgent.js +522 -0
- package/dist/cjs/BatchAgent.js.map +1 -0
- package/dist/cjs/BulkUpdateAgent.d.ts +144 -0
- package/dist/cjs/BulkUpdateAgent.d.ts.map +1 -0
- package/dist/cjs/BulkUpdateAgent.js +288 -0
- package/dist/cjs/BulkUpdateAgent.js.map +1 -0
- package/dist/cjs/CRMScriptAgent.d.ts +330 -0
- package/dist/cjs/CRMScriptAgent.d.ts.map +1 -0
- package/dist/cjs/CRMScriptAgent.js +799 -0
- package/dist/cjs/CRMScriptAgent.js.map +1 -0
- package/dist/cjs/Carriers.d.ts +36976 -0
- package/dist/cjs/Carriers.d.ts.map +1 -0
- package/dist/cjs/Carriers.js +8 -0
- package/dist/cjs/Carriers.js.map +1 -0
- package/dist/cjs/ChatAgent.d.ts +366 -0
- package/dist/cjs/ChatAgent.d.ts.map +1 -0
- package/dist/cjs/ChatAgent.js +919 -0
- package/dist/cjs/ChatAgent.js.map +1 -0
- package/dist/cjs/ConfigurationAgent.d.ts +534 -0
- package/dist/cjs/ConfigurationAgent.d.ts.map +1 -0
- package/dist/cjs/ConfigurationAgent.js +1429 -0
- package/dist/cjs/ConfigurationAgent.js.map +1 -0
- package/dist/cjs/ContactAgent.d.ts +415 -0
- package/dist/cjs/ContactAgent.d.ts.map +1 -0
- package/dist/cjs/ContactAgent.js +1005 -0
- package/dist/cjs/ContactAgent.js.map +1 -0
- package/dist/cjs/ContactRestApi.d.ts +46 -0
- package/dist/cjs/ContactRestApi.d.ts.map +1 -0
- package/dist/cjs/ContactRestApi.js +168 -0
- package/dist/cjs/ContactRestApi.js.map +1 -0
- package/dist/cjs/Converters.d.ts +1359 -0
- package/dist/cjs/Converters.d.ts.map +1 -0
- package/dist/cjs/Converters.js +18996 -0
- package/dist/cjs/Converters.js.map +1 -0
- package/dist/cjs/CustomerServiceAgent.d.ts +447 -0
- package/dist/cjs/CustomerServiceAgent.d.ts.map +1 -0
- package/dist/cjs/CustomerServiceAgent.js +1123 -0
- package/dist/cjs/CustomerServiceAgent.js.map +1 -0
- package/dist/cjs/DashAgent.d.ts +370 -0
- package/dist/cjs/DashAgent.d.ts.map +1 -0
- package/dist/cjs/DashAgent.js +1028 -0
- package/dist/cjs/DashAgent.js.map +1 -0
- package/dist/cjs/DashboardAgent.d.ts +163 -0
- package/dist/cjs/DashboardAgent.d.ts.map +1 -0
- package/dist/cjs/DashboardAgent.js +436 -0
- package/dist/cjs/DashboardAgent.js.map +1 -0
- package/dist/cjs/DatabaseAgent.d.ts +35 -0
- package/dist/cjs/DatabaseAgent.d.ts.map +1 -0
- package/dist/cjs/DatabaseAgent.js +70 -0
- package/dist/cjs/DatabaseAgent.js.map +1 -0
- package/dist/cjs/DatabaseTableAgent.d.ts +155 -0
- package/dist/cjs/DatabaseTableAgent.d.ts.map +1 -0
- package/dist/cjs/DatabaseTableAgent.js +299 -0
- package/dist/cjs/DatabaseTableAgent.js.map +1 -0
- package/dist/cjs/Day_js.d.ts +4 -0
- package/dist/cjs/Day_js.d.ts.map +1 -0
- package/dist/cjs/Day_js.js +44 -0
- package/dist/cjs/Day_js.js.map +1 -0
- package/dist/cjs/DiagnosticsAgent.d.ts +200 -0
- package/dist/cjs/DiagnosticsAgent.d.ts.map +1 -0
- package/dist/cjs/DiagnosticsAgent.js +480 -0
- package/dist/cjs/DiagnosticsAgent.js.map +1 -0
- package/dist/cjs/DocumentAgent.d.ts +1345 -0
- package/dist/cjs/DocumentAgent.d.ts.map +1 -0
- package/dist/cjs/DocumentAgent.js +3058 -0
- package/dist/cjs/DocumentAgent.js.map +1 -0
- package/dist/cjs/DocumentMigrationAgent.d.ts +145 -0
- package/dist/cjs/DocumentMigrationAgent.d.ts.map +1 -0
- package/dist/cjs/DocumentMigrationAgent.js +297 -0
- package/dist/cjs/DocumentMigrationAgent.js.map +1 -0
- package/dist/cjs/DocumentRestApi.d.ts +46 -0
- package/dist/cjs/DocumentRestApi.d.ts.map +1 -0
- package/dist/cjs/DocumentRestApi.js +168 -0
- package/dist/cjs/DocumentRestApi.js.map +1 -0
- package/dist/cjs/EMailAgent.d.ts +1417 -0
- package/dist/cjs/EMailAgent.d.ts.map +1 -0
- package/dist/cjs/EMailAgent.js +3202 -0
- package/dist/cjs/EMailAgent.js.map +1 -0
- package/dist/cjs/Enums.d.ts +6083 -0
- package/dist/cjs/Enums.d.ts.map +1 -0
- package/dist/cjs/Enums.js +6270 -0
- package/dist/cjs/Enums.js.map +1 -0
- package/dist/cjs/ErpSyncAgent.d.ts +725 -0
- package/dist/cjs/ErpSyncAgent.d.ts.map +1 -0
- package/dist/cjs/ErpSyncAgent.js +1601 -0
- package/dist/cjs/ErpSyncAgent.js.map +1 -0
- package/dist/cjs/FavouriteAgent.d.ts +208 -0
- package/dist/cjs/FavouriteAgent.d.ts.map +1 -0
- package/dist/cjs/FavouriteAgent.js +407 -0
- package/dist/cjs/FavouriteAgent.js.map +1 -0
- package/dist/cjs/FindAgent.d.ts +688 -0
- package/dist/cjs/FindAgent.d.ts.map +1 -0
- package/dist/cjs/FindAgent.js +1337 -0
- package/dist/cjs/FindAgent.js.map +1 -0
- package/dist/cjs/ForeignSystemAgent.d.ts +478 -0
- package/dist/cjs/ForeignSystemAgent.d.ts.map +1 -0
- package/dist/cjs/ForeignSystemAgent.js +1022 -0
- package/dist/cjs/ForeignSystemAgent.js.map +1 -0
- package/dist/cjs/FreeTextAgent.d.ts +172 -0
- package/dist/cjs/FreeTextAgent.d.ts.map +1 -0
- package/dist/cjs/FreeTextAgent.js +368 -0
- package/dist/cjs/FreeTextAgent.js.map +1 -0
- package/dist/cjs/ImportAgent.d.ts +92 -0
- package/dist/cjs/ImportAgent.d.ts.map +1 -0
- package/dist/cjs/ImportAgent.js +164 -0
- package/dist/cjs/ImportAgent.js.map +1 -0
- package/dist/cjs/LicenseAgent.d.ts +298 -0
- package/dist/cjs/LicenseAgent.d.ts.map +1 -0
- package/dist/cjs/LicenseAgent.js +639 -0
- package/dist/cjs/LicenseAgent.js.map +1 -0
- package/dist/cjs/ListAgent.d.ts +2423 -0
- package/dist/cjs/ListAgent.d.ts.map +1 -0
- package/dist/cjs/ListAgent.js +7813 -0
- package/dist/cjs/ListAgent.js.map +1 -0
- package/dist/cjs/MDOAgent.d.ts +214 -0
- package/dist/cjs/MDOAgent.d.ts.map +1 -0
- package/dist/cjs/MDOAgent.js +430 -0
- package/dist/cjs/MDOAgent.js.map +1 -0
- package/dist/cjs/MarketingAgent.d.ts +170 -0
- package/dist/cjs/MarketingAgent.d.ts.map +1 -0
- package/dist/cjs/MarketingAgent.js +570 -0
- package/dist/cjs/MarketingAgent.js.map +1 -0
- package/dist/cjs/MessagingAgent.d.ts +111 -0
- package/dist/cjs/MessagingAgent.d.ts.map +1 -0
- package/dist/cjs/MessagingAgent.js +217 -0
- package/dist/cjs/MessagingAgent.js.map +1 -0
- package/dist/cjs/NavigatorAgent.d.ts +40 -0
- package/dist/cjs/NavigatorAgent.d.ts.map +1 -0
- package/dist/cjs/NavigatorAgent.js +99 -0
- package/dist/cjs/NavigatorAgent.js.map +1 -0
- package/dist/cjs/NumberAllocationAgent.d.ts +72 -0
- package/dist/cjs/NumberAllocationAgent.d.ts.map +1 -0
- package/dist/cjs/NumberAllocationAgent.js +199 -0
- package/dist/cjs/NumberAllocationAgent.js.map +1 -0
- package/dist/cjs/PersonAgent.d.ts +774 -0
- package/dist/cjs/PersonAgent.d.ts.map +1 -0
- package/dist/cjs/PersonAgent.js +1814 -0
- package/dist/cjs/PersonAgent.js.map +1 -0
- package/dist/cjs/PersonRestApi.d.ts +46 -0
- package/dist/cjs/PersonRestApi.d.ts.map +1 -0
- package/dist/cjs/PersonRestApi.js +168 -0
- package/dist/cjs/PersonRestApi.js.map +1 -0
- package/dist/cjs/PhoneListAgent.d.ts +126 -0
- package/dist/cjs/PhoneListAgent.d.ts.map +1 -0
- package/dist/cjs/PhoneListAgent.js +269 -0
- package/dist/cjs/PhoneListAgent.js.map +1 -0
- package/dist/cjs/PocketAgent.d.ts +218 -0
- package/dist/cjs/PocketAgent.d.ts.map +1 -0
- package/dist/cjs/PocketAgent.js +451 -0
- package/dist/cjs/PocketAgent.js.map +1 -0
- package/dist/cjs/PreferenceAgent.d.ts +497 -0
- package/dist/cjs/PreferenceAgent.d.ts.map +1 -0
- package/dist/cjs/PreferenceAgent.js +1194 -0
- package/dist/cjs/PreferenceAgent.js.map +1 -0
- package/dist/cjs/PreviewsAgent.d.ts +36 -0
- package/dist/cjs/PreviewsAgent.d.ts.map +1 -0
- package/dist/cjs/PreviewsAgent.js +54 -0
- package/dist/cjs/PreviewsAgent.js.map +1 -0
- package/dist/cjs/ProjectAgent.d.ts +558 -0
- package/dist/cjs/ProjectAgent.d.ts.map +1 -0
- package/dist/cjs/ProjectAgent.js +1482 -0
- package/dist/cjs/ProjectAgent.js.map +1 -0
- package/dist/cjs/ProjectRestApi.d.ts +46 -0
- package/dist/cjs/ProjectRestApi.d.ts.map +1 -0
- package/dist/cjs/ProjectRestApi.js +168 -0
- package/dist/cjs/ProjectRestApi.js.map +1 -0
- package/dist/cjs/QuoteAgent.d.ts +1415 -0
- package/dist/cjs/QuoteAgent.d.ts.map +1 -0
- package/dist/cjs/QuoteAgent.js +3224 -0
- package/dist/cjs/QuoteAgent.js.map +1 -0
- package/dist/cjs/RelationAgent.d.ts +61 -0
- package/dist/cjs/RelationAgent.d.ts.map +1 -0
- package/dist/cjs/RelationAgent.js +132 -0
- package/dist/cjs/RelationAgent.js.map +1 -0
- package/dist/cjs/ReplicationAgent.d.ts +77 -0
- package/dist/cjs/ReplicationAgent.d.ts.map +1 -0
- package/dist/cjs/ReplicationAgent.js +223 -0
- package/dist/cjs/ReplicationAgent.js.map +1 -0
- package/dist/cjs/ReportAgent.d.ts +144 -0
- package/dist/cjs/ReportAgent.d.ts.map +1 -0
- package/dist/cjs/ReportAgent.js +380 -0
- package/dist/cjs/ReportAgent.js.map +1 -0
- package/dist/cjs/ResourceAgent.d.ts +105 -0
- package/dist/cjs/ResourceAgent.d.ts.map +1 -0
- package/dist/cjs/ResourceAgent.js +196 -0
- package/dist/cjs/ResourceAgent.js.map +1 -0
- package/dist/cjs/SaintAgent.d.ts +157 -0
- package/dist/cjs/SaintAgent.d.ts.map +1 -0
- package/dist/cjs/SaintAgent.js +402 -0
- package/dist/cjs/SaintAgent.js.map +1 -0
- package/dist/cjs/SaleAgent.d.ts +477 -0
- package/dist/cjs/SaleAgent.d.ts.map +1 -0
- package/dist/cjs/SaleAgent.js +1182 -0
- package/dist/cjs/SaleAgent.js.map +1 -0
- package/dist/cjs/SaleRestApi.d.ts +46 -0
- package/dist/cjs/SaleRestApi.d.ts.map +1 -0
- package/dist/cjs/SaleRestApi.js +168 -0
- package/dist/cjs/SaleRestApi.js.map +1 -0
- package/dist/cjs/SelectionAgent.d.ts +814 -0
- package/dist/cjs/SelectionAgent.d.ts.map +1 -0
- package/dist/cjs/SelectionAgent.js +1795 -0
- package/dist/cjs/SelectionAgent.js.map +1 -0
- package/dist/cjs/SentryAgent.d.ts +113 -0
- package/dist/cjs/SentryAgent.d.ts.map +1 -0
- package/dist/cjs/SentryAgent.js +238 -0
- package/dist/cjs/SentryAgent.js.map +1 -0
- package/dist/cjs/SoApiConstants.d.ts +8 -0
- package/dist/cjs/SoApiConstants.d.ts.map +1 -0
- package/dist/cjs/SoApiConstants.js +12 -0
- package/dist/cjs/SoApiConstants.js.map +1 -0
- package/dist/cjs/TargetsAgent.d.ts +289 -0
- package/dist/cjs/TargetsAgent.d.ts.map +1 -0
- package/dist/cjs/TargetsAgent.js +728 -0
- package/dist/cjs/TargetsAgent.js.map +1 -0
- package/dist/cjs/TicketAgent.d.ts +802 -0
- package/dist/cjs/TicketAgent.d.ts.map +1 -0
- package/dist/cjs/TicketAgent.js +1865 -0
- package/dist/cjs/TicketAgent.js.map +1 -0
- package/dist/cjs/TimeZoneAgent.d.ts +139 -0
- package/dist/cjs/TimeZoneAgent.d.ts.map +1 -0
- package/dist/cjs/TimeZoneAgent.js +348 -0
- package/dist/cjs/TimeZoneAgent.js.map +1 -0
- package/dist/cjs/TooltipsAgent.d.ts +36 -0
- package/dist/cjs/TooltipsAgent.d.ts.map +1 -0
- package/dist/cjs/TooltipsAgent.js +54 -0
- package/dist/cjs/TooltipsAgent.js.map +1 -0
- package/dist/cjs/UserAgent.d.ts +1260 -0
- package/dist/cjs/UserAgent.d.ts.map +1 -0
- package/dist/cjs/UserAgent.js +2978 -0
- package/dist/cjs/UserAgent.js.map +1 -0
- package/dist/cjs/UserDefinedFieldInfoAgent.d.ts +474 -0
- package/dist/cjs/UserDefinedFieldInfoAgent.d.ts.map +1 -0
- package/dist/cjs/UserDefinedFieldInfoAgent.js +1067 -0
- package/dist/cjs/UserDefinedFieldInfoAgent.js.map +1 -0
- package/dist/cjs/ViewStateAgent.d.ts +230 -0
- package/dist/cjs/ViewStateAgent.d.ts.map +1 -0
- package/dist/cjs/ViewStateAgent.js +518 -0
- package/dist/cjs/ViewStateAgent.js.map +1 -0
- package/dist/cjs/WebApi.d.ts +427 -0
- package/dist/cjs/WebApi.d.ts.map +1 -0
- package/dist/cjs/WebApi.js +656 -0
- package/dist/cjs/WebApi.js.map +1 -0
- package/dist/cjs/WebApiBase.d.ts +152 -0
- package/dist/cjs/WebApiBase.d.ts.map +1 -0
- package/dist/cjs/WebApiBase.js +442 -0
- package/dist/cjs/WebApiBase.js.map +1 -0
- package/dist/cjs/WebhookAgent.d.ts +102 -0
- package/dist/cjs/WebhookAgent.d.ts.map +1 -0
- package/dist/cjs/WebhookAgent.js +245 -0
- package/dist/cjs/WebhookAgent.js.map +1 -0
- package/dist/cjs/WorkflowAgent.d.ts +250 -0
- package/dist/cjs/WorkflowAgent.d.ts.map +1 -0
- package/dist/cjs/WorkflowAgent.js +763 -0
- package/dist/cjs/WorkflowAgent.js.map +1 -0
- package/dist/cjs/package.json +1 -0
- package/dist/esm/AIAgent.d.ts +265 -0
- package/dist/esm/AIAgent.d.ts.map +1 -0
- package/dist/esm/AIAgent.js +530 -0
- package/dist/esm/AIAgent.js.map +1 -0
- package/dist/esm/AppointmentAgent.d.ts +1539 -0
- package/dist/esm/AppointmentAgent.d.ts.map +1 -0
- package/dist/esm/AppointmentAgent.js +3358 -0
- package/dist/esm/AppointmentAgent.js.map +1 -0
- package/dist/esm/AppointmentRestApi.d.ts +46 -0
- package/dist/esm/AppointmentRestApi.d.ts.map +1 -0
- package/dist/esm/AppointmentRestApi.js +163 -0
- package/dist/esm/AppointmentRestApi.js.map +1 -0
- package/dist/esm/ArchiveAgent.d.ts +582 -0
- package/dist/esm/ArchiveAgent.d.ts.map +1 -0
- package/dist/esm/ArchiveAgent.js +1130 -0
- package/dist/esm/ArchiveAgent.js.map +1 -0
- package/dist/esm/AssociateAgent.d.ts +109 -0
- package/dist/esm/AssociateAgent.d.ts.map +1 -0
- package/dist/esm/AssociateAgent.js +252 -0
- package/dist/esm/AssociateAgent.js.map +1 -0
- package/dist/esm/AudienceAgent.d.ts +359 -0
- package/dist/esm/AudienceAgent.d.ts.map +1 -0
- package/dist/esm/AudienceAgent.js +883 -0
- package/dist/esm/AudienceAgent.js.map +1 -0
- package/dist/esm/AxiosCacheHandler.d.ts +20 -0
- package/dist/esm/AxiosCacheHandler.d.ts.map +1 -0
- package/dist/esm/AxiosCacheHandler.js +64 -0
- package/dist/esm/AxiosCacheHandler.js.map +1 -0
- package/dist/esm/BLOBAgent.d.ts +538 -0
- package/dist/esm/BLOBAgent.d.ts.map +1 -0
- package/dist/esm/BLOBAgent.js +1359 -0
- package/dist/esm/BLOBAgent.js.map +1 -0
- package/dist/esm/Base64.d.ts +4 -0
- package/dist/esm/Base64.d.ts.map +1 -0
- package/dist/esm/Base64.js +228 -0
- package/dist/esm/Base64.js.map +1 -0
- package/dist/esm/BatchAgent.d.ts +252 -0
- package/dist/esm/BatchAgent.d.ts.map +1 -0
- package/dist/esm/BatchAgent.js +517 -0
- package/dist/esm/BatchAgent.js.map +1 -0
- package/dist/esm/BulkUpdateAgent.d.ts +144 -0
- package/dist/esm/BulkUpdateAgent.d.ts.map +1 -0
- package/dist/esm/BulkUpdateAgent.js +283 -0
- package/dist/esm/BulkUpdateAgent.js.map +1 -0
- package/dist/esm/CRMScriptAgent.d.ts +330 -0
- package/dist/esm/CRMScriptAgent.d.ts.map +1 -0
- package/dist/esm/CRMScriptAgent.js +794 -0
- package/dist/esm/CRMScriptAgent.js.map +1 -0
- package/dist/esm/Carriers.d.ts +36976 -0
- package/dist/esm/Carriers.d.ts.map +1 -0
- package/dist/esm/Carriers.js +6 -0
- package/dist/esm/Carriers.js.map +1 -0
- package/dist/esm/ChatAgent.d.ts +366 -0
- package/dist/esm/ChatAgent.d.ts.map +1 -0
- package/dist/esm/ChatAgent.js +914 -0
- package/dist/esm/ChatAgent.js.map +1 -0
- package/dist/esm/ConfigurationAgent.d.ts +534 -0
- package/dist/esm/ConfigurationAgent.d.ts.map +1 -0
- package/dist/esm/ConfigurationAgent.js +1424 -0
- package/dist/esm/ConfigurationAgent.js.map +1 -0
- package/dist/esm/ContactAgent.d.ts +415 -0
- package/dist/esm/ContactAgent.d.ts.map +1 -0
- package/dist/esm/ContactAgent.js +1000 -0
- package/dist/esm/ContactAgent.js.map +1 -0
- package/dist/esm/ContactRestApi.d.ts +46 -0
- package/dist/esm/ContactRestApi.d.ts.map +1 -0
- package/dist/esm/ContactRestApi.js +163 -0
- package/dist/esm/ContactRestApi.js.map +1 -0
- package/dist/esm/Converters.d.ts +1359 -0
- package/dist/esm/Converters.d.ts.map +1 -0
- package/dist/esm/Converters.js +17609 -0
- package/dist/esm/Converters.js.map +1 -0
- package/dist/esm/CustomerServiceAgent.d.ts +447 -0
- package/dist/esm/CustomerServiceAgent.d.ts.map +1 -0
- package/dist/esm/CustomerServiceAgent.js +1118 -0
- package/dist/esm/CustomerServiceAgent.js.map +1 -0
- package/dist/esm/DashAgent.d.ts +370 -0
- package/dist/esm/DashAgent.d.ts.map +1 -0
- package/dist/esm/DashAgent.js +1023 -0
- package/dist/esm/DashAgent.js.map +1 -0
- package/dist/esm/DashboardAgent.d.ts +163 -0
- package/dist/esm/DashboardAgent.d.ts.map +1 -0
- package/dist/esm/DashboardAgent.js +431 -0
- package/dist/esm/DashboardAgent.js.map +1 -0
- package/dist/esm/DatabaseAgent.d.ts +35 -0
- package/dist/esm/DatabaseAgent.d.ts.map +1 -0
- package/dist/esm/DatabaseAgent.js +65 -0
- package/dist/esm/DatabaseAgent.js.map +1 -0
- package/dist/esm/DatabaseTableAgent.d.ts +155 -0
- package/dist/esm/DatabaseTableAgent.d.ts.map +1 -0
- package/dist/esm/DatabaseTableAgent.js +294 -0
- package/dist/esm/DatabaseTableAgent.js.map +1 -0
- package/dist/esm/Day_js.d.ts +4 -0
- package/dist/esm/Day_js.d.ts.map +1 -0
- package/dist/esm/Day_js.js +38 -0
- package/dist/esm/Day_js.js.map +1 -0
- package/dist/esm/DiagnosticsAgent.d.ts +200 -0
- package/dist/esm/DiagnosticsAgent.d.ts.map +1 -0
- package/dist/esm/DiagnosticsAgent.js +475 -0
- package/dist/esm/DiagnosticsAgent.js.map +1 -0
- package/dist/esm/DocumentAgent.d.ts +1345 -0
- package/dist/esm/DocumentAgent.d.ts.map +1 -0
- package/dist/esm/DocumentAgent.js +3053 -0
- package/dist/esm/DocumentAgent.js.map +1 -0
- package/dist/esm/DocumentMigrationAgent.d.ts +145 -0
- package/dist/esm/DocumentMigrationAgent.d.ts.map +1 -0
- package/dist/esm/DocumentMigrationAgent.js +292 -0
- package/dist/esm/DocumentMigrationAgent.js.map +1 -0
- package/dist/esm/DocumentRestApi.d.ts +46 -0
- package/dist/esm/DocumentRestApi.d.ts.map +1 -0
- package/dist/esm/DocumentRestApi.js +163 -0
- package/dist/esm/DocumentRestApi.js.map +1 -0
- package/dist/esm/EMailAgent.d.ts +1417 -0
- package/dist/esm/EMailAgent.d.ts.map +1 -0
- package/dist/esm/EMailAgent.js +3197 -0
- package/dist/esm/EMailAgent.js.map +1 -0
- package/dist/esm/Enums.d.ts +6083 -0
- package/dist/esm/Enums.d.ts.map +1 -0
- package/dist/esm/Enums.js +6264 -0
- package/dist/esm/Enums.js.map +1 -0
- package/dist/esm/ErpSyncAgent.d.ts +725 -0
- package/dist/esm/ErpSyncAgent.d.ts.map +1 -0
- package/dist/esm/ErpSyncAgent.js +1596 -0
- package/dist/esm/ErpSyncAgent.js.map +1 -0
- package/dist/esm/FavouriteAgent.d.ts +208 -0
- package/dist/esm/FavouriteAgent.d.ts.map +1 -0
- package/dist/esm/FavouriteAgent.js +402 -0
- package/dist/esm/FavouriteAgent.js.map +1 -0
- package/dist/esm/FindAgent.d.ts +688 -0
- package/dist/esm/FindAgent.d.ts.map +1 -0
- package/dist/esm/FindAgent.js +1332 -0
- package/dist/esm/FindAgent.js.map +1 -0
- package/dist/esm/ForeignSystemAgent.d.ts +478 -0
- package/dist/esm/ForeignSystemAgent.d.ts.map +1 -0
- package/dist/esm/ForeignSystemAgent.js +1017 -0
- package/dist/esm/ForeignSystemAgent.js.map +1 -0
- package/dist/esm/FreeTextAgent.d.ts +172 -0
- package/dist/esm/FreeTextAgent.d.ts.map +1 -0
- package/dist/esm/FreeTextAgent.js +363 -0
- package/dist/esm/FreeTextAgent.js.map +1 -0
- package/dist/esm/ImportAgent.d.ts +92 -0
- package/dist/esm/ImportAgent.d.ts.map +1 -0
- package/dist/esm/ImportAgent.js +159 -0
- package/dist/esm/ImportAgent.js.map +1 -0
- package/dist/esm/LicenseAgent.d.ts +298 -0
- package/dist/esm/LicenseAgent.d.ts.map +1 -0
- package/dist/esm/LicenseAgent.js +634 -0
- package/dist/esm/LicenseAgent.js.map +1 -0
- package/dist/esm/ListAgent.d.ts +2423 -0
- package/dist/esm/ListAgent.d.ts.map +1 -0
- package/dist/esm/ListAgent.js +7808 -0
- package/dist/esm/ListAgent.js.map +1 -0
- package/dist/esm/MDOAgent.d.ts +214 -0
- package/dist/esm/MDOAgent.d.ts.map +1 -0
- package/dist/esm/MDOAgent.js +425 -0
- package/dist/esm/MDOAgent.js.map +1 -0
- package/dist/esm/MarketingAgent.d.ts +170 -0
- package/dist/esm/MarketingAgent.d.ts.map +1 -0
- package/dist/esm/MarketingAgent.js +565 -0
- package/dist/esm/MarketingAgent.js.map +1 -0
- package/dist/esm/MessagingAgent.d.ts +111 -0
- package/dist/esm/MessagingAgent.d.ts.map +1 -0
- package/dist/esm/MessagingAgent.js +212 -0
- package/dist/esm/MessagingAgent.js.map +1 -0
- package/dist/esm/NavigatorAgent.d.ts +40 -0
- package/dist/esm/NavigatorAgent.d.ts.map +1 -0
- package/dist/esm/NavigatorAgent.js +94 -0
- package/dist/esm/NavigatorAgent.js.map +1 -0
- package/dist/esm/NumberAllocationAgent.d.ts +72 -0
- package/dist/esm/NumberAllocationAgent.d.ts.map +1 -0
- package/dist/esm/NumberAllocationAgent.js +194 -0
- package/dist/esm/NumberAllocationAgent.js.map +1 -0
- package/dist/esm/PersonAgent.d.ts +774 -0
- package/dist/esm/PersonAgent.d.ts.map +1 -0
- package/dist/esm/PersonAgent.js +1809 -0
- package/dist/esm/PersonAgent.js.map +1 -0
- package/dist/esm/PersonRestApi.d.ts +46 -0
- package/dist/esm/PersonRestApi.d.ts.map +1 -0
- package/dist/esm/PersonRestApi.js +163 -0
- package/dist/esm/PersonRestApi.js.map +1 -0
- package/dist/esm/PhoneListAgent.d.ts +126 -0
- package/dist/esm/PhoneListAgent.d.ts.map +1 -0
- package/dist/esm/PhoneListAgent.js +264 -0
- package/dist/esm/PhoneListAgent.js.map +1 -0
- package/dist/esm/PocketAgent.d.ts +218 -0
- package/dist/esm/PocketAgent.d.ts.map +1 -0
- package/dist/esm/PocketAgent.js +446 -0
- package/dist/esm/PocketAgent.js.map +1 -0
- package/dist/esm/PreferenceAgent.d.ts +497 -0
- package/dist/esm/PreferenceAgent.d.ts.map +1 -0
- package/dist/esm/PreferenceAgent.js +1189 -0
- package/dist/esm/PreferenceAgent.js.map +1 -0
- package/dist/esm/PreviewsAgent.d.ts +36 -0
- package/dist/esm/PreviewsAgent.d.ts.map +1 -0
- package/dist/esm/PreviewsAgent.js +49 -0
- package/dist/esm/PreviewsAgent.js.map +1 -0
- package/dist/esm/ProjectAgent.d.ts +558 -0
- package/dist/esm/ProjectAgent.d.ts.map +1 -0
- package/dist/esm/ProjectAgent.js +1477 -0
- package/dist/esm/ProjectAgent.js.map +1 -0
- package/dist/esm/ProjectRestApi.d.ts +46 -0
- package/dist/esm/ProjectRestApi.d.ts.map +1 -0
- package/dist/esm/ProjectRestApi.js +163 -0
- package/dist/esm/ProjectRestApi.js.map +1 -0
- package/dist/esm/QuoteAgent.d.ts +1415 -0
- package/dist/esm/QuoteAgent.d.ts.map +1 -0
- package/dist/esm/QuoteAgent.js +3219 -0
- package/dist/esm/QuoteAgent.js.map +1 -0
- package/dist/esm/RelationAgent.d.ts +61 -0
- package/dist/esm/RelationAgent.d.ts.map +1 -0
- package/dist/esm/RelationAgent.js +127 -0
- package/dist/esm/RelationAgent.js.map +1 -0
- package/dist/esm/ReplicationAgent.d.ts +77 -0
- package/dist/esm/ReplicationAgent.d.ts.map +1 -0
- package/dist/esm/ReplicationAgent.js +218 -0
- package/dist/esm/ReplicationAgent.js.map +1 -0
- package/dist/esm/ReportAgent.d.ts +144 -0
- package/dist/esm/ReportAgent.d.ts.map +1 -0
- package/dist/esm/ReportAgent.js +375 -0
- package/dist/esm/ReportAgent.js.map +1 -0
- package/dist/esm/ResourceAgent.d.ts +105 -0
- package/dist/esm/ResourceAgent.d.ts.map +1 -0
- package/dist/esm/ResourceAgent.js +191 -0
- package/dist/esm/ResourceAgent.js.map +1 -0
- package/dist/esm/SaintAgent.d.ts +157 -0
- package/dist/esm/SaintAgent.d.ts.map +1 -0
- package/dist/esm/SaintAgent.js +397 -0
- package/dist/esm/SaintAgent.js.map +1 -0
- package/dist/esm/SaleAgent.d.ts +477 -0
- package/dist/esm/SaleAgent.d.ts.map +1 -0
- package/dist/esm/SaleAgent.js +1177 -0
- package/dist/esm/SaleAgent.js.map +1 -0
- package/dist/esm/SaleRestApi.d.ts +46 -0
- package/dist/esm/SaleRestApi.d.ts.map +1 -0
- package/dist/esm/SaleRestApi.js +163 -0
- package/dist/esm/SaleRestApi.js.map +1 -0
- package/dist/esm/SelectionAgent.d.ts +814 -0
- package/dist/esm/SelectionAgent.d.ts.map +1 -0
- package/dist/esm/SelectionAgent.js +1790 -0
- package/dist/esm/SelectionAgent.js.map +1 -0
- package/dist/esm/SentryAgent.d.ts +113 -0
- package/dist/esm/SentryAgent.d.ts.map +1 -0
- package/dist/esm/SentryAgent.js +233 -0
- package/dist/esm/SentryAgent.js.map +1 -0
- package/dist/esm/SoApiConstants.d.ts +8 -0
- package/dist/esm/SoApiConstants.d.ts.map +1 -0
- package/dist/esm/SoApiConstants.js +9 -0
- package/dist/esm/SoApiConstants.js.map +1 -0
- package/dist/esm/TargetsAgent.d.ts +289 -0
- package/dist/esm/TargetsAgent.d.ts.map +1 -0
- package/dist/esm/TargetsAgent.js +723 -0
- package/dist/esm/TargetsAgent.js.map +1 -0
- package/dist/esm/TicketAgent.d.ts +802 -0
- package/dist/esm/TicketAgent.d.ts.map +1 -0
- package/dist/esm/TicketAgent.js +1860 -0
- package/dist/esm/TicketAgent.js.map +1 -0
- package/dist/esm/TimeZoneAgent.d.ts +139 -0
- package/dist/esm/TimeZoneAgent.d.ts.map +1 -0
- package/dist/esm/TimeZoneAgent.js +343 -0
- package/dist/esm/TimeZoneAgent.js.map +1 -0
- package/dist/esm/TooltipsAgent.d.ts +36 -0
- package/dist/esm/TooltipsAgent.d.ts.map +1 -0
- package/dist/esm/TooltipsAgent.js +49 -0
- package/dist/esm/TooltipsAgent.js.map +1 -0
- package/dist/esm/UserAgent.d.ts +1260 -0
- package/dist/esm/UserAgent.d.ts.map +1 -0
- package/dist/esm/UserAgent.js +2973 -0
- package/dist/esm/UserAgent.js.map +1 -0
- package/dist/esm/UserDefinedFieldInfoAgent.d.ts +474 -0
- package/dist/esm/UserDefinedFieldInfoAgent.d.ts.map +1 -0
- package/dist/esm/UserDefinedFieldInfoAgent.js +1062 -0
- package/dist/esm/UserDefinedFieldInfoAgent.js.map +1 -0
- package/dist/esm/ViewStateAgent.d.ts +230 -0
- package/dist/esm/ViewStateAgent.d.ts.map +1 -0
- package/dist/esm/ViewStateAgent.js +513 -0
- package/dist/esm/ViewStateAgent.js.map +1 -0
- package/dist/esm/WebApi.d.ts +427 -0
- package/dist/esm/WebApi.d.ts.map +1 -0
- package/dist/esm/WebApi.js +649 -0
- package/dist/esm/WebApi.js.map +1 -0
- package/dist/esm/WebApiBase.d.ts +152 -0
- package/dist/esm/WebApiBase.d.ts.map +1 -0
- package/dist/esm/WebApiBase.js +437 -0
- package/dist/esm/WebApiBase.js.map +1 -0
- package/dist/esm/WebhookAgent.d.ts +102 -0
- package/dist/esm/WebhookAgent.d.ts.map +1 -0
- package/dist/esm/WebhookAgent.js +240 -0
- package/dist/esm/WebhookAgent.js.map +1 -0
- package/dist/esm/WorkflowAgent.d.ts +250 -0
- package/dist/esm/WorkflowAgent.d.ts.map +1 -0
- package/dist/esm/WorkflowAgent.js +758 -0
- package/dist/esm/WorkflowAgent.js.map +1 -0
- package/dist/esm/package.json +1 -0
- package/examples-js/hello.js +12 -0
- package/examples-ts/hello.ts +8 -0
- package/package.json +89 -0
- package/scripts/setVersion.js +46 -0
- package/src/AIAgent.ts +928 -0
- package/src/AppointmentAgent.ts +5573 -0
- package/src/AppointmentRestApi.ts +225 -0
- package/src/ArchiveAgent.ts +1950 -0
- package/src/AssociateAgent.ts +422 -0
- package/src/AudienceAgent.ts +1430 -0
- package/src/AxiosCacheHandler.ts +74 -0
- package/src/BLOBAgent.ts +2214 -0
- package/src/Base64.ts +285 -0
- package/src/BatchAgent.ts +910 -0
- package/src/BulkUpdateAgent.ts +504 -0
- package/src/CRMScriptAgent.ts +1276 -0
- package/src/Carriers.ts +49791 -0
- package/src/ChatAgent.ts +1422 -0
- package/src/ConfigurationAgent.ts +2138 -0
- package/src/ContactAgent.ts +1586 -0
- package/src/ContactRestApi.ts +235 -0
- package/src/Converters.ts +21633 -0
- package/src/CustomerServiceAgent.ts +1734 -0
- package/src/DashAgent.ts +1504 -0
- package/src/DashboardAgent.ts +658 -0
- package/src/DatabaseAgent.ts +120 -0
- package/src/DatabaseTableAgent.ts +534 -0
- package/src/Day_js.ts +41 -0
- package/src/DiagnosticsAgent.ts +744 -0
- package/src/DocumentAgent.ts +5018 -0
- package/src/DocumentMigrationAgent.ts +494 -0
- package/src/DocumentRestApi.ts +259 -0
- package/src/EMailAgent.ts +5210 -0
- package/src/Enums.ts +6438 -0
- package/src/ErpSyncAgent.ts +2658 -0
- package/src/FavouriteAgent.ts +720 -0
- package/src/FindAgent.ts +2330 -0
- package/src/ForeignSystemAgent.ts +1710 -0
- package/src/FreeTextAgent.ts +626 -0
- package/src/ImportAgent.ts +304 -0
- package/src/LicenseAgent.ts +1088 -0
- package/src/ListAgent.ts +10894 -0
- package/src/MDOAgent.ts +748 -0
- package/src/MarketingAgent.ts +776 -0
- package/src/MessagingAgent.ts +384 -0
- package/src/NavigatorAgent.ts +164 -0
- package/src/NumberAllocationAgent.ts +296 -0
- package/src/PersonAgent.ts +2919 -0
- package/src/PersonRestApi.ts +239 -0
- package/src/PhoneListAgent.ts +458 -0
- package/src/PocketAgent.ts +780 -0
- package/src/PreferenceAgent.ts +1900 -0
- package/src/PreviewsAgent.ts +116 -0
- package/src/ProjectAgent.ts +2275 -0
- package/src/ProjectRestApi.ts +239 -0
- package/src/QuoteAgent.ts +5294 -0
- package/src/RelationAgent.ts +220 -0
- package/src/ReplicationAgent.ts +325 -0
- package/src/ReportAgent.ts +575 -0
- package/src/ResourceAgent.ts +358 -0
- package/src/SaintAgent.ts +601 -0
- package/src/SaleAgent.ts +1862 -0
- package/src/SaleRestApi.ts +233 -0
- package/src/SelectionAgent.ts +2980 -0
- package/src/SentryAgent.ts +406 -0
- package/src/SoApiConstants.ts +8 -0
- package/src/TargetsAgent.ts +1104 -0
- package/src/TicketAgent.ts +3032 -0
- package/src/TimeZoneAgent.ts +528 -0
- package/src/TooltipsAgent.ts +116 -0
- package/src/UserAgent.ts +4798 -0
- package/src/UserDefinedFieldInfoAgent.ts +1764 -0
- package/src/ViewStateAgent.ts +858 -0
- package/src/WebApi.ts +908 -0
- package/src/WebApiBase.ts +562 -0
- package/src/WebhookAgent.ts +388 -0
- package/src/WorkflowAgent.ts +1054 -0
- package/tsconfig.esm.json +8 -0
- package/tsconfig.jest.json +12 -0
- 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'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'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'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'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'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'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'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'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'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'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'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'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'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'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'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'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'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'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'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'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
|