@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,1417 @@
|
|
|
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
|
+
* Email connection, reading, sending
|
|
7
|
+
*
|
|
8
|
+
* **Online Restricted:** This agent is not available in Online by default. Access must be requested specifically when app is registered.
|
|
9
|
+
*/
|
|
10
|
+
export interface IEMailAgent {
|
|
11
|
+
createDefaultEMailAccountAsync(): Promise<carriers.EMailAccount>;
|
|
12
|
+
saveEMailAccountAsync(entity: carriers.EMailAccount): Promise<carriers.EMailAccount>;
|
|
13
|
+
deleteEMailAccountAsync(EMailAccountId: number): Promise<void>;
|
|
14
|
+
createDefaultEMailAddressAsync(): Promise<carriers.EMailAddress>;
|
|
15
|
+
createDefaultEMailAppointmentAsync(): Promise<carriers.EMailAppointment>;
|
|
16
|
+
createDefaultEMailAttachmentAsync(): Promise<carriers.EMailAttachment>;
|
|
17
|
+
createDefaultEMailConnectionInfoAsync(): Promise<carriers.EMailConnectionInfo>;
|
|
18
|
+
createDefaultEMailConnectionInfoExtendedAsync(): Promise<carriers.EMailConnectionInfoExtended>;
|
|
19
|
+
createDefaultEMailCustomHeaderAsync(): Promise<carriers.EMailCustomHeader>;
|
|
20
|
+
createDefaultEMailEntityAsync(): Promise<carriers.EMailEntity>;
|
|
21
|
+
createDefaultEMailEnvelopeAsync(): Promise<carriers.EMailEnvelope>;
|
|
22
|
+
createDefaultEMailFolderAsync(): Promise<carriers.EMailFolder>;
|
|
23
|
+
createDefaultEMailSOInfoAsync(): Promise<carriers.EMailSOInfo>;
|
|
24
|
+
getEMailAccountAsync(eMailAccountId: number): Promise<carriers.EMailAccount>;
|
|
25
|
+
getEMailAccountFromEMailAddressAsync(request: carriers.EMail_GetEMailAccountFromEMailAddressRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAccount>;
|
|
26
|
+
getEMailAccountFromEMailAddressAsync(fromAddress: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAccount>;
|
|
27
|
+
getCurrentAccountIdAsync(webapi_options?: base.WebApiRequestOptions): Promise<number>;
|
|
28
|
+
getCurrentAccountAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAccount>;
|
|
29
|
+
getPersonEntitiesFromEmailAddressAsync(request: carriers.EMail_GetPersonEntitiesFromEmailAddressRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PersonEntity[]>;
|
|
30
|
+
getPersonEntitiesFromEmailAddressAsync(emailAddress: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PersonEntity[]>;
|
|
31
|
+
getPersonsFromEmailAddressAsync(request: carriers.EMail_GetPersonsFromEmailAddressRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Person[]>;
|
|
32
|
+
getPersonsFromEmailAddressAsync(emailAddress: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Person[]>;
|
|
33
|
+
hasMXRecordAsync(request: carriers.EMail_HasMXRecordRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
34
|
+
hasMXRecordAsync(mailDomain: string, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
35
|
+
hasSPFRecordAsync(request: carriers.EMail_HasSPFRecordRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
36
|
+
hasSPFRecordAsync(sourceSpf: string, targetDomain: string, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
37
|
+
resolveEMailRecipientsAsync(request: carriers.EMail_ResolveEMailRecipientsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAddress[]>;
|
|
38
|
+
resolveEMailRecipientsAsync(emailAddress: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAddress[]>;
|
|
39
|
+
getEMailFromIdAsync(request: carriers.EMail_GetEMailFromIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
40
|
+
getEMailFromIdAsync(connectionInfo: carriers.EMailConnectionInfo, messageServerId: number, lookupAddresses: boolean, flags: enums.EMailFlags, includeAttachments: boolean, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
41
|
+
sendEMailsAsync(request: carriers.EMail_SendEMailsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity[]>;
|
|
42
|
+
sendEMailsAsync(outgoingConnectionInfo: carriers.EMailConnectionInfo, emails: carriers.EMailEntity[], sentItemsConnectionInfo: carriers.EMailConnectionInfo, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity[]>;
|
|
43
|
+
saveEMailAsync(request: carriers.EMail_SaveEMailRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
44
|
+
saveEMailAsync(connectionInfo: carriers.EMailConnectionInfo, email: carriers.EMailEntity, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
45
|
+
authenticateIncomingAsync(request: carriers.EMail_AuthenticateIncomingRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
46
|
+
authenticateIncomingAsync(connectionInfo: carriers.EMailConnectionInfo, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
47
|
+
authenticateOutgoingAsync(request: carriers.EMail_AuthenticateOutgoingRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
48
|
+
authenticateOutgoingAsync(connectionInfo: carriers.EMailConnectionInfo, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
49
|
+
getFolderListAsync(request: carriers.EMail_GetFolderListRequest, webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
|
|
50
|
+
getFolderListAsync(connectionInfo: carriers.EMailConnectionInfo, includeItemCount: boolean, webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
|
|
51
|
+
getAttachmentAsync(request: carriers.EMail_GetAttachmentRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAttachment>;
|
|
52
|
+
getAttachmentAsync(connectionInfo: carriers.EMailConnectionInfo, messageServerId: number, attachmentId: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAttachment>;
|
|
53
|
+
markAsReadAsync(request: carriers.EMail_MarkAsReadRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
54
|
+
markAsReadAsync(connectionInfo: carriers.EMailConnectionInfo, messageServerIds: number[], read: boolean, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
55
|
+
getFolderEMailCountAsync(request: carriers.EMail_GetFolderEMailCountRequest, webapi_options?: base.WebApiRequestOptions): Promise<number>;
|
|
56
|
+
getFolderEMailCountAsync(connectionInfo: carriers.EMailConnectionInfo, onlyUnread: boolean, webapi_options?: base.WebApiRequestOptions): Promise<number>;
|
|
57
|
+
deleteAsync(request: carriers.EMail_DeleteRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
58
|
+
deleteAsync(connectionInfo: carriers.EMailConnectionInfo, messageServerIds: number[], moveToFolder: string, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
59
|
+
moveToFolderAsync(request: carriers.EMail_MoveToFolderRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
60
|
+
moveToFolderAsync(connectionInfo: carriers.EMailConnectionInfo, messageServerIds: number[], targetFolder: string, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
61
|
+
emptyFolderAsync(request: carriers.EMail_EmptyFolderRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
62
|
+
emptyFolderAsync(connectionInfo: carriers.EMailConnectionInfo, moveToFolder: string, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
63
|
+
getEMailAsStreamAsync(request: carriers.EMail_GetEMailAsStreamRequest, webapi_options?: base.WebApiRequestOptions): Promise<ArrayBuffer | string>;
|
|
64
|
+
getEMailAsStreamAsync(connectionInfo: carriers.EMailConnectionInfo, messageServerId: number, stripAttachments: boolean, webapi_options?: base.WebApiRequestOptions): Promise<ArrayBuffer | string>;
|
|
65
|
+
findAddressAsync(request: carriers.EMail_FindAddressRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAddress[]>;
|
|
66
|
+
findAddressAsync(address: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAddress[]>;
|
|
67
|
+
getEMailFromDocumentIdAsync(request: carriers.EMail_GetEMailFromDocumentIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
68
|
+
getEMailFromDocumentIdAsync(documentId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
69
|
+
getUnsanitizedEMailFromDocumentIdAsync(request: carriers.EMail_GetUnsanitizedEMailFromDocumentIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
70
|
+
getUnsanitizedEMailFromDocumentIdAsync(documentId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
71
|
+
getEMailFromAttachmentIdAsync(request: carriers.EMail_GetEMailFromAttachmentIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
72
|
+
getEMailFromAttachmentIdAsync(emailId: number, attachmentIds: string[], includeAttachments: boolean, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
73
|
+
getUnsanitizedEMailFromAttachmentIdAsync(request: carriers.EMail_GetUnsanitizedEMailFromAttachmentIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
74
|
+
getUnsanitizedEMailFromAttachmentIdAsync(emailId: number, attachmentIds: string[], includeAttachments: boolean, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
75
|
+
getEMailFromDocumentAttachmentIdAsync(request: carriers.EMail_GetEMailFromDocumentAttachmentIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
76
|
+
getEMailFromDocumentAttachmentIdAsync(docId: number, attachmentIds: string[], includeAttachments: boolean, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
77
|
+
getUnsanitizedEMailFromDocumentAttachmentIdAsync(request: carriers.EMail_GetUnsanitizedEMailFromDocumentAttachmentIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
78
|
+
getUnsanitizedEMailFromDocumentAttachmentIdAsync(docId: number, attachmentIds: string[], includeAttachments: boolean, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
79
|
+
getEMailEnvelopesAsync(request: carriers.EMail_GetEMailEnvelopesRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEnvelope[]>;
|
|
80
|
+
getEMailEnvelopesAsync(connectionInfo: carriers.EMailConnectionInfo, messageServerIds: number[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEnvelope[]>;
|
|
81
|
+
setSubscriptionAsync(request: carriers.EMail_SetSubscriptionRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
82
|
+
setSubscriptionAsync(connectionInfo: carriers.EMailConnectionInfo, folders: carriers.EMailFolder[], webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
83
|
+
createFolderAsync(request: carriers.EMail_CreateFolderRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
84
|
+
createFolderAsync(connectionInfo: carriers.EMailConnectionInfo, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
85
|
+
deleteFolderAsync(request: carriers.EMail_DeleteFolderRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
86
|
+
deleteFolderAsync(connectionInfo: carriers.EMailConnectionInfo, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
87
|
+
createEMailFromDocumentEntityAsync(request: carriers.EMail_CreateEMailFromDocumentEntityRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
88
|
+
createEMailFromDocumentEntityAsync(documentEntity: carriers.DocumentEntity, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
89
|
+
createEMailFromMimeMessageAsync(request: carriers.EMail_CreateEMailFromMimeMessageRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
90
|
+
createEMailFromMimeMessageAsync(mimeMessage: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
91
|
+
getFolderInfoAsync(request: carriers.EMail_GetFolderInfoRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailFolder[]>;
|
|
92
|
+
getFolderInfoAsync(connectionInfo: carriers.EMailConnectionInfo, folders: string[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailFolder[]>;
|
|
93
|
+
getFolderHasNewEMailAsync(request: carriers.EMail_GetFolderHasNewEMailRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
94
|
+
getFolderHasNewEMailAsync(connectionInfo: carriers.EMailConnectionInfo, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
95
|
+
getEMailAddressesAsync(request: carriers.EMail_GetEMailAddressesRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAddress[]>;
|
|
96
|
+
getEMailAddressesAsync(emailIds: number[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAddress[]>;
|
|
97
|
+
refreshFolderAsync(request: carriers.EMail_RefreshFolderRequest, webapi_options?: base.WebApiRequestOptions): Promise<number>;
|
|
98
|
+
refreshFolderAsync(connectionInfo: carriers.EMailConnectionInfo, folders: string[], webapi_options?: base.WebApiRequestOptions): Promise<number>;
|
|
99
|
+
getEMailFromTempAsync(request: carriers.EMail_GetEMailFromTempRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
100
|
+
getEMailFromTempAsync(fileName: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
101
|
+
authenticateAsync(request: carriers.EMail_AuthenticateRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
102
|
+
authenticateAsync(connectionInfoExtended: carriers.EMailConnectionInfoExtended, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
103
|
+
getEmailMessageIdsAsync(request: carriers.EMail_GetEmailMessageIdsRequest, webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
|
|
104
|
+
getEmailMessageIdsAsync(connectionInfoExtended: carriers.EMailConnectionInfoExtended, webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
|
|
105
|
+
getExtendedEmailMessageIdsAsync(request: carriers.EMail_GetExtendedEmailMessageIdsRequest, webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
|
|
106
|
+
getExtendedEmailMessageIdsAsync(connectionInfoExtended: carriers.EMailConnectionInfoExtended, webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
|
|
107
|
+
getEmailsAsStringAsync(request: carriers.EMail_GetEmailsAsStringRequest, webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
|
|
108
|
+
getEmailsAsStringAsync(connectionInfoExtended: carriers.EMailConnectionInfoExtended, messageIds: string[], webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
|
|
109
|
+
deleteExtendedAsync(request: carriers.EMail_DeleteExtendedRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
110
|
+
deleteExtendedAsync(connectionInfoExtended: carriers.EMailConnectionInfoExtended, messageIds: string[], webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
111
|
+
relayMessageAsync(request: carriers.EMail_RelayMessageRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
112
|
+
relayMessageAsync(connectionInfoExtended: carriers.EMailConnectionInfoExtended, rfc822: string, from: string, recipients: string[], webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
113
|
+
getEMailAsync(request: carriers.EMail_GetEMailRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
114
|
+
getEMailAsync(id: number, includeAttachments: boolean, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
115
|
+
getUnsanitizedEMailAsync(request: carriers.EMail_GetUnsanitizedEMailRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
116
|
+
getUnsanitizedEMailAsync(id: number, includeAttachments: boolean, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
117
|
+
markEmailsAsReadAsync(request: carriers.EMail_MarkEmailsAsReadRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
118
|
+
markEmailsAsReadAsync(ids: number[], read: boolean, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
119
|
+
deleteEmailsAsync(request: carriers.EMail_DeleteEmailsRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
120
|
+
deleteEmailsAsync(ids: number[], moveToFolder: string, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
121
|
+
moveEmailsToTrashAsync(request: carriers.EMail_MoveEmailsToTrashRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
122
|
+
moveEmailsToTrashAsync(ids: number[], webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
123
|
+
saveAsync(request: carriers.EMail_SaveRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
124
|
+
saveAsync(email: carriers.EMailEntity, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
125
|
+
saveToMailServerAsync(request: carriers.EMail_SaveToMailServerRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
126
|
+
saveToMailServerAsync(email: carriers.EMailEntity, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
127
|
+
sendAsync(request: carriers.EMail_SendRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity[]>;
|
|
128
|
+
sendAsync(emails: carriers.EMailEntity[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity[]>;
|
|
129
|
+
createForwardEmailAsync(request: carriers.EMail_CreateForwardEmailRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
130
|
+
createForwardEmailAsync(email: carriers.EMailEntity, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
131
|
+
findContactOrPersonByEmailNameAsync(request: carriers.EMail_FindContactOrPersonByEmailNameRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ContactOrPersonFromEmail[]>;
|
|
132
|
+
findContactOrPersonByEmailNameAsync(name: string, emailAddress: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ContactOrPersonFromEmail[]>;
|
|
133
|
+
findContactOrPersonByEmailNameWithLimitAsync(request: carriers.EMail_FindContactOrPersonByEmailNameWithLimitRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ContactOrPersonFromEmail[]>;
|
|
134
|
+
findContactOrPersonByEmailNameWithLimitAsync(name: string, emailAddress: string, numberOfContacts: number, numberOfPersons: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ContactOrPersonFromEmail[]>;
|
|
135
|
+
refreshFolderForAssociateAsync(request: carriers.EMail_RefreshFolderForAssociateRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
136
|
+
refreshFolderForAssociateAsync(folders: string[], webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
137
|
+
getNewMailAsync(request: carriers.EMail_GetNewMailRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEnvelope[]>;
|
|
138
|
+
getNewMailAsync(folders: number[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEnvelope[]>;
|
|
139
|
+
cacheFolderListAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailFolder[]>;
|
|
140
|
+
moveEmailsToFolderAsync(request: carriers.EMail_MoveEmailsToFolderRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
141
|
+
moveEmailsToFolderAsync(folderId: number, emailItemIds: number[], webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
142
|
+
getMailFromMessageIdAsync(request: carriers.EMail_GetMailFromMessageIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
143
|
+
getMailFromMessageIdAsync(messageId: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
144
|
+
getMailFromInReplyToAsync(request: carriers.EMail_GetMailFromInReplyToRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
145
|
+
getMailFromInReplyToAsync(messageId: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
146
|
+
sendAndSaveEmailToTmpDocumentAsync(request: carriers.EMail_SendAndSaveEmailToTmpDocumentRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
147
|
+
sendAndSaveEmailToTmpDocumentAsync(email: carriers.EMailEntity, stripAttachments: boolean, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
148
|
+
saveEmailToTmpDocumentAsync(request: carriers.EMail_SaveEmailToTmpDocumentRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
149
|
+
saveEmailToTmpDocumentAsync(email: carriers.EMailEntity, folderId: number, stripAttachments: boolean, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
150
|
+
saveDraftAsync(request: carriers.EMail_SaveDraftRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
151
|
+
saveDraftAsync(entity: carriers.EMailEntity, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
152
|
+
setRepliedAtAsync(request: carriers.EMail_SetRepliedAtRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
153
|
+
setRepliedAtAsync(messageId: string, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
154
|
+
getEMailFromDocumentIdWithoutAttachmentStreamAsync(request: carriers.EMail_GetEMailFromDocumentIdWithoutAttachmentStreamRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
155
|
+
getEMailFromDocumentIdWithoutAttachmentStreamAsync(documentId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
156
|
+
getUnsanitizedEMailFromDocumentIdWithoutAttachmentStreamAsync(request: carriers.EMail_GetUnsanitizedEMailFromDocumentIdWithoutAttachmentStreamRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
157
|
+
getUnsanitizedEMailFromDocumentIdWithoutAttachmentStreamAsync(documentId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
158
|
+
getAttachmentFromIdAsync(request: carriers.EMail_GetAttachmentFromIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAttachment>;
|
|
159
|
+
getAttachmentFromIdAsync(mailItemId: number, attachmentId: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAttachment>;
|
|
160
|
+
getPreviewAttachmentFromIdAsync(request: carriers.EMail_GetPreviewAttachmentFromIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAttachment>;
|
|
161
|
+
getPreviewAttachmentFromIdAsync(mailItemId: number, attachmentId: string, attachmentType: string, attachmentFilename: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAttachment>;
|
|
162
|
+
getUnsanitizedPreviewAttachmentFromIdAsync(request: carriers.EMail_GetUnsanitizedPreviewAttachmentFromIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAttachment>;
|
|
163
|
+
getUnsanitizedPreviewAttachmentFromIdAsync(mailItemId: number, attachmentId: string, attachmentType: string, attachmentFilename: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAttachment>;
|
|
164
|
+
getPreviewAttachmentFromDocIdAsync(request: carriers.EMail_GetPreviewAttachmentFromDocIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAttachment>;
|
|
165
|
+
getPreviewAttachmentFromDocIdAsync(docId: number, attachmentId: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAttachment>;
|
|
166
|
+
getUnsanitizedPreviewAttachmentFromDocIdAsync(request: carriers.EMail_GetUnsanitizedPreviewAttachmentFromDocIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAttachment>;
|
|
167
|
+
getUnsanitizedPreviewAttachmentFromDocIdAsync(docId: number, attachmentId: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAttachment>;
|
|
168
|
+
testAuthenticateAsync(webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
169
|
+
toggleSubscriptionAsync(request: carriers.EMail_ToggleSubscriptionRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
170
|
+
toggleSubscriptionAsync(folderId: number, subscriptionStatus: boolean, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
171
|
+
hasNewMailAsync(request: carriers.EMail_HasNewMailRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
172
|
+
hasNewMailAsync(mailItemId: number, folderId: number, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
173
|
+
latestItemIdByFolderAsync(request: carriers.EMail_LatestItemIdByFolderRequest, webapi_options?: base.WebApiRequestOptions): Promise<number>;
|
|
174
|
+
latestItemIdByFolderAsync(folderId: number, webapi_options?: base.WebApiRequestOptions): Promise<number>;
|
|
175
|
+
createInlineHtmlHeaderAsync(request: carriers.EMail_CreateInlineHtmlHeaderRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
176
|
+
createInlineHtmlHeaderAsync(email: carriers.EMailEntity, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
177
|
+
getEmailAppointmentAsync(request: carriers.EMail_GetEmailAppointmentRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAppointment>;
|
|
178
|
+
getEmailAppointmentAsync(mailItemId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAppointment>;
|
|
179
|
+
getEmailAppointmentRecurrenceAsync(request: carriers.EMail_GetEmailAppointmentRecurrenceRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.RecurrenceInfo>;
|
|
180
|
+
getEmailAppointmentRecurrenceAsync(mailItemId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.RecurrenceInfo>;
|
|
181
|
+
getParticipantInfoFromEmailAddressAsync(request: carriers.EMail_GetParticipantInfoFromEmailAddressRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Person>;
|
|
182
|
+
getParticipantInfoFromEmailAddressAsync(emailAddress: string, appointmentId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Person>;
|
|
183
|
+
getEmailDocumentAsMimeStreamAsync(request: carriers.EMail_GetEmailDocumentAsMimeStreamRequest, webapi_options?: base.WebApiRequestOptions): Promise<ArrayBuffer | string>;
|
|
184
|
+
getEmailDocumentAsMimeStreamAsync(documentId: number, webapi_options?: base.WebApiRequestOptions): Promise<ArrayBuffer | string>;
|
|
185
|
+
getEMailSOInfoAsync(eMailSOInfoId: number): Promise<carriers.EMailSOInfo>;
|
|
186
|
+
getReadySyncEmailAccountsAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.SyncUserAccount[]>;
|
|
187
|
+
syncEmailAccountAsync(request: carriers.EMail_SyncEmailAccountRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
188
|
+
syncEmailAccountAsync(syncUserAccount: carriers.SyncUserAccount, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
189
|
+
syncEmailAccountsAsync(request: carriers.EMail_SyncEmailAccountsRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
190
|
+
syncEmailAccountsAsync(syncUserAccounts: carriers.SyncUserAccount[], webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Email connection, reading, sending
|
|
194
|
+
*/
|
|
195
|
+
export declare class EMailAgent extends base.WebApiBase implements IEMailAgent {
|
|
196
|
+
constructor(baseUrl?: string, languageCode?: string, cultureCode?: string);
|
|
197
|
+
constructor(baseUrl?: string, resourceParsing?: base.ResourceParsing);
|
|
198
|
+
constructor(baseUrl: string, resourceManager: any);
|
|
199
|
+
constructor(baseUrl: string, config: AxiosRequestConfig, resourceManager: any);
|
|
200
|
+
constructor(baseUrl: string, config: AxiosRequestConfig, resourceParsing?: base.ResourceParsing);
|
|
201
|
+
constructor(baseUrl: string, config: AxiosRequestConfig, languageCode?: string, cultureCode?: string);
|
|
202
|
+
constructor(options: base.WebApiOptions);
|
|
203
|
+
/**
|
|
204
|
+
* Set default values into a new EMailAccount.
|
|
205
|
+
* NetServer calculates default values on the entity, which is required when creating/storing a new instance
|
|
206
|
+
* @param options - Override language/culture codes on this request. Provide cancellation and request status values.
|
|
207
|
+
* @returns A blank entity.
|
|
208
|
+
*/
|
|
209
|
+
createDefaultEMailAccountAsync(options?: base.WebApiRequestOptions): Promise<carriers.EMailAccount>;
|
|
210
|
+
saveEMailAccountAsync(entity: carriers.EMailAccount, options?: base.WebApiRequestOptions): Promise<carriers.EMailAccount>;
|
|
211
|
+
deleteEMailAccountAsync(EMailAccountId: number, options?: base.WebApiRequestOptions): Promise<void>;
|
|
212
|
+
/**
|
|
213
|
+
* Set default values into a new EMailAddress.
|
|
214
|
+
* NetServer calculates default values on the entity, which is required when creating/storing a new instance
|
|
215
|
+
* @param options - Override language/culture codes on this request. Provide cancellation and request status values.
|
|
216
|
+
* @returns A blank entity.
|
|
217
|
+
*/
|
|
218
|
+
createDefaultEMailAddressAsync(options?: base.WebApiRequestOptions): Promise<carriers.EMailAddress>;
|
|
219
|
+
/**
|
|
220
|
+
* Set default values into a new EMailAppointment.
|
|
221
|
+
* NetServer calculates default values on the entity, which is required when creating/storing a new instance
|
|
222
|
+
* @param options - Override language/culture codes on this request. Provide cancellation and request status values.
|
|
223
|
+
* @returns A blank entity.
|
|
224
|
+
*/
|
|
225
|
+
createDefaultEMailAppointmentAsync(options?: base.WebApiRequestOptions): Promise<carriers.EMailAppointment>;
|
|
226
|
+
/**
|
|
227
|
+
* Set default values into a new EMailAttachment.
|
|
228
|
+
* NetServer calculates default values on the entity, which is required when creating/storing a new instance
|
|
229
|
+
* @param options - Override language/culture codes on this request. Provide cancellation and request status values.
|
|
230
|
+
* @returns A blank entity.
|
|
231
|
+
*/
|
|
232
|
+
createDefaultEMailAttachmentAsync(options?: base.WebApiRequestOptions): Promise<carriers.EMailAttachment>;
|
|
233
|
+
/**
|
|
234
|
+
* Set default values into a new EMailConnectionInfo.
|
|
235
|
+
* NetServer calculates default values on the entity, which is required when creating/storing a new instance
|
|
236
|
+
* @param options - Override language/culture codes on this request. Provide cancellation and request status values.
|
|
237
|
+
* @returns A blank entity.
|
|
238
|
+
*/
|
|
239
|
+
createDefaultEMailConnectionInfoAsync(options?: base.WebApiRequestOptions): Promise<carriers.EMailConnectionInfo>;
|
|
240
|
+
/**
|
|
241
|
+
* Set default values into a new EMailConnectionInfoExtended.
|
|
242
|
+
* NetServer calculates default values on the entity, which is required when creating/storing a new instance
|
|
243
|
+
* @param options - Override language/culture codes on this request. Provide cancellation and request status values.
|
|
244
|
+
* @returns A blank entity.
|
|
245
|
+
*/
|
|
246
|
+
createDefaultEMailConnectionInfoExtendedAsync(options?: base.WebApiRequestOptions): Promise<carriers.EMailConnectionInfoExtended>;
|
|
247
|
+
/**
|
|
248
|
+
* Set default values into a new EMailCustomHeader.
|
|
249
|
+
* NetServer calculates default values on the entity, which is required when creating/storing a new instance
|
|
250
|
+
* @param options - Override language/culture codes on this request. Provide cancellation and request status values.
|
|
251
|
+
* @returns A blank entity.
|
|
252
|
+
*/
|
|
253
|
+
createDefaultEMailCustomHeaderAsync(options?: base.WebApiRequestOptions): Promise<carriers.EMailCustomHeader>;
|
|
254
|
+
/**
|
|
255
|
+
* Set default values into a new EMailEntity.
|
|
256
|
+
* NetServer calculates default values on the entity, which is required when creating/storing a new instance
|
|
257
|
+
* @param options - Override language/culture codes on this request. Provide cancellation and request status values.
|
|
258
|
+
* @returns A blank entity.
|
|
259
|
+
*/
|
|
260
|
+
createDefaultEMailEntityAsync(options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
261
|
+
/**
|
|
262
|
+
* Set default values into a new EMailEnvelope.
|
|
263
|
+
* NetServer calculates default values on the entity, which is required when creating/storing a new instance
|
|
264
|
+
* @param options - Override language/culture codes on this request. Provide cancellation and request status values.
|
|
265
|
+
* @returns A blank entity.
|
|
266
|
+
*/
|
|
267
|
+
createDefaultEMailEnvelopeAsync(options?: base.WebApiRequestOptions): Promise<carriers.EMailEnvelope>;
|
|
268
|
+
/**
|
|
269
|
+
* Set default values into a new EMailFolder.
|
|
270
|
+
* NetServer calculates default values on the entity, which is required when creating/storing a new instance
|
|
271
|
+
* @param options - Override language/culture codes on this request. Provide cancellation and request status values.
|
|
272
|
+
* @returns A blank entity.
|
|
273
|
+
*/
|
|
274
|
+
createDefaultEMailFolderAsync(options?: base.WebApiRequestOptions): Promise<carriers.EMailFolder>;
|
|
275
|
+
/**
|
|
276
|
+
* Set default values into a new EMailSOInfo.
|
|
277
|
+
* NetServer calculates default values on the entity, which is required when creating/storing a new instance
|
|
278
|
+
* @param options - Override language/culture codes on this request. Provide cancellation and request status values.
|
|
279
|
+
* @returns A blank entity.
|
|
280
|
+
*/
|
|
281
|
+
createDefaultEMailSOInfoAsync(options?: base.WebApiRequestOptions): Promise<carriers.EMailSOInfo>;
|
|
282
|
+
getEMailAccountAsync(eMailAccountId: number, options?: base.WebApiRequestOptions): Promise<carriers.EMailAccount>;
|
|
283
|
+
private _getEMailAccountFromEMailAddressAsync;
|
|
284
|
+
/**
|
|
285
|
+
* Returns the email account corresponding to this email address (for the current associate).
|
|
286
|
+
* @param request - FromAddress
|
|
287
|
+
* @returns Found or empty email account
|
|
288
|
+
*/
|
|
289
|
+
getEMailAccountFromEMailAddressAsync(request: carriers.EMail_GetEMailAccountFromEMailAddressRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAccount>;
|
|
290
|
+
/**
|
|
291
|
+
* Returns the email account corresponding to this email address (for the current associate).
|
|
292
|
+
* @param fromAddress - The address associated with this email account
|
|
293
|
+
* @returns Found or empty email account
|
|
294
|
+
*/
|
|
295
|
+
getEMailAccountFromEMailAddressAsync(fromAddress: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAccount>;
|
|
296
|
+
private _getCurrentAccountIdAsync;
|
|
297
|
+
/**
|
|
298
|
+
* Get current accountId (last logged into should normally be current) for logged in associate
|
|
299
|
+
* @returns Id of current account
|
|
300
|
+
*/
|
|
301
|
+
getCurrentAccountIdAsync(webapi_options?: base.WebApiRequestOptions): Promise<number>;
|
|
302
|
+
private _getCurrentAccountAsync;
|
|
303
|
+
/**
|
|
304
|
+
* Get current account (last logged into should normally be current) for logged in associate
|
|
305
|
+
* @returns Id of current account
|
|
306
|
+
*/
|
|
307
|
+
getCurrentAccountAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAccount>;
|
|
308
|
+
private _getPersonEntitiesFromEmailAddressAsync;
|
|
309
|
+
/**
|
|
310
|
+
* Get all persons and contacts with the given email address
|
|
311
|
+
* @param request - EmailAddress
|
|
312
|
+
* @returns
|
|
313
|
+
*/
|
|
314
|
+
getPersonEntitiesFromEmailAddressAsync(request: carriers.EMail_GetPersonEntitiesFromEmailAddressRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PersonEntity[]>;
|
|
315
|
+
/**
|
|
316
|
+
* Get all persons and contacts with the given email address
|
|
317
|
+
* @param emailAddress - The emailAddress to find persons and contacts for
|
|
318
|
+
* @returns
|
|
319
|
+
*/
|
|
320
|
+
getPersonEntitiesFromEmailAddressAsync(emailAddress: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PersonEntity[]>;
|
|
321
|
+
private _getPersonsFromEmailAddressAsync;
|
|
322
|
+
/**
|
|
323
|
+
* Get all persons and contacts with the given email address
|
|
324
|
+
* @param request - EmailAddress
|
|
325
|
+
* @returns
|
|
326
|
+
*/
|
|
327
|
+
getPersonsFromEmailAddressAsync(request: carriers.EMail_GetPersonsFromEmailAddressRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Person[]>;
|
|
328
|
+
/**
|
|
329
|
+
* Get all persons and contacts with the given email address
|
|
330
|
+
* @param emailAddress - The emailAddress to find persons and contacts for
|
|
331
|
+
* @returns
|
|
332
|
+
*/
|
|
333
|
+
getPersonsFromEmailAddressAsync(emailAddress: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Person[]>;
|
|
334
|
+
private _hasMXRecordAsync;
|
|
335
|
+
/**
|
|
336
|
+
* Return true if there is one or more MX records in DNS for the given mail domain
|
|
337
|
+
* @param request - MailDomain
|
|
338
|
+
* @returns True if there is at least one MX record
|
|
339
|
+
*/
|
|
340
|
+
hasMXRecordAsync(request: carriers.EMail_HasMXRecordRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
341
|
+
/**
|
|
342
|
+
* Return true if there is one or more MX records in DNS for the given mail domain
|
|
343
|
+
* @param mailDomain - The mail domain to check. Normally this is the part after @ in an email address
|
|
344
|
+
* @returns True if there is at least one MX record
|
|
345
|
+
*/
|
|
346
|
+
hasMXRecordAsync(mailDomain: string, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
347
|
+
private _hasSPFRecordAsync;
|
|
348
|
+
/**
|
|
349
|
+
* Return true if target domain contains a SPF record which is under the given SPF record
|
|
350
|
+
* @param request - SourceSpf, TargetDomain
|
|
351
|
+
* @returns True if a match is found
|
|
352
|
+
*/
|
|
353
|
+
hasSPFRecordAsync(request: carriers.EMail_HasSPFRecordRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
354
|
+
/**
|
|
355
|
+
* Return true if target domain contains a SPF record which is under the given SPF record
|
|
356
|
+
* @param sourceSpf - The SPF to match from
|
|
357
|
+
* @param targetDomain - The domain to verify if it has at least one SPF record contained in the source SPF
|
|
358
|
+
* @returns True if a match is found
|
|
359
|
+
*/
|
|
360
|
+
hasSPFRecordAsync(sourceSpf: string, targetDomain: string, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
361
|
+
private _resolveEMailRecipientsAsync;
|
|
362
|
+
/**
|
|
363
|
+
* Resolve separate emails from single string. Also lookup persons by emails.
|
|
364
|
+
* @param request - EmailAddress
|
|
365
|
+
* @returns Resolved EMail recipients
|
|
366
|
+
*/
|
|
367
|
+
resolveEMailRecipientsAsync(request: carriers.EMail_ResolveEMailRecipientsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAddress[]>;
|
|
368
|
+
/**
|
|
369
|
+
* Resolve separate emails from single string. Also lookup persons by emails.
|
|
370
|
+
* @param emailAddress - The string to lookup emails from
|
|
371
|
+
* @returns Resolved EMail recipients
|
|
372
|
+
*/
|
|
373
|
+
resolveEMailRecipientsAsync(emailAddress: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAddress[]>;
|
|
374
|
+
private _getEMailFromIdAsync;
|
|
375
|
+
/**
|
|
376
|
+
* Get en e-mail based on its unique id
|
|
377
|
+
* @param request - ConnectionInfo, MessageServerId, LookupAddresses, Flags, IncludeAttachments
|
|
378
|
+
* @returns The e-mail
|
|
379
|
+
*/
|
|
380
|
+
getEMailFromIdAsync(request: carriers.EMail_GetEMailFromIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
381
|
+
/**
|
|
382
|
+
* Get en e-mail based on its unique id
|
|
383
|
+
* @param connectionInfo - All information needed to connect to the mailserver
|
|
384
|
+
* @param messageServerId - Unique ID for the e-mail to retrieve
|
|
385
|
+
* @param lookupAddresses - If true try to look up e-mail addresses in from/to/cc/bcc fields against superoffice contacts
|
|
386
|
+
* @param flags - Any flags to apply to the fetched item. Ex: Seen/Answered
|
|
387
|
+
* @param includeAttachments - Should we retrieve attachments embedded in the e-mail from the server
|
|
388
|
+
* @returns The e-mail
|
|
389
|
+
*/
|
|
390
|
+
getEMailFromIdAsync(connectionInfo: carriers.EMailConnectionInfo, messageServerId: number, lookupAddresses: boolean, flags: enums.EMailFlags, includeAttachments: boolean, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
391
|
+
private _sendEMailsAsync;
|
|
392
|
+
/**
|
|
393
|
+
* Send the provided e-mails
|
|
394
|
+
* @param request - OutgoingConnectionInfo, Emails, SentItemsConnectionInfo
|
|
395
|
+
* @returns The sent e-mails (updated with message id etc.)
|
|
396
|
+
*/
|
|
397
|
+
sendEMailsAsync(request: carriers.EMail_SendEMailsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity[]>;
|
|
398
|
+
/**
|
|
399
|
+
* Send the provided e-mails
|
|
400
|
+
* @param outgoingConnectionInfo - All information needed to connect to the mailserver
|
|
401
|
+
* @param emails - The e-mails to send
|
|
402
|
+
* @param sentItemsConnectionInfo - If provided, save sent item(s) in the folder specified. May be null.
|
|
403
|
+
* @returns The sent e-mails (updated with message id etc.)
|
|
404
|
+
*/
|
|
405
|
+
sendEMailsAsync(outgoingConnectionInfo: carriers.EMailConnectionInfo, emails: carriers.EMailEntity[], sentItemsConnectionInfo: carriers.EMailConnectionInfo, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity[]>;
|
|
406
|
+
private _saveEMailAsync;
|
|
407
|
+
/**
|
|
408
|
+
* Save the passed e-mail back to the server
|
|
409
|
+
* @param request - ConnectionInfo, Email
|
|
410
|
+
* @returns The updated saved entity
|
|
411
|
+
*/
|
|
412
|
+
saveEMailAsync(request: carriers.EMail_SaveEMailRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
413
|
+
/**
|
|
414
|
+
* Save the passed e-mail back to the server
|
|
415
|
+
* @param connectionInfo - All information needed to connect to the mailserver
|
|
416
|
+
* @param email - The e-mail to save
|
|
417
|
+
* @returns The updated saved entity
|
|
418
|
+
*/
|
|
419
|
+
saveEMailAsync(connectionInfo: carriers.EMailConnectionInfo, email: carriers.EMailEntity, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
420
|
+
private _authenticateIncomingAsync;
|
|
421
|
+
/**
|
|
422
|
+
* Authenticate against a mail-server to retrieve e-mails from
|
|
423
|
+
* @param request - ConnectionInfo
|
|
424
|
+
* @returns True if authentication was succcesfull
|
|
425
|
+
*/
|
|
426
|
+
authenticateIncomingAsync(request: carriers.EMail_AuthenticateIncomingRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
427
|
+
/**
|
|
428
|
+
* Authenticate against a mail-server to retrieve e-mails from
|
|
429
|
+
* @param connectionInfo - All information needed to connect to the mailserver
|
|
430
|
+
* @returns True if authentication was succcesfull
|
|
431
|
+
*/
|
|
432
|
+
authenticateIncomingAsync(connectionInfo: carriers.EMailConnectionInfo, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
433
|
+
private _authenticateOutgoingAsync;
|
|
434
|
+
/**
|
|
435
|
+
* Authenticate against a mail server to send items with
|
|
436
|
+
* @param request - ConnectionInfo
|
|
437
|
+
* @returns True if authentication was succcesfull
|
|
438
|
+
*/
|
|
439
|
+
authenticateOutgoingAsync(request: carriers.EMail_AuthenticateOutgoingRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
440
|
+
/**
|
|
441
|
+
* Authenticate against a mail server to send items with
|
|
442
|
+
* @param connectionInfo - All information needed to connect to the mailserver
|
|
443
|
+
* @returns True if authentication was succcesfull
|
|
444
|
+
*/
|
|
445
|
+
authenticateOutgoingAsync(connectionInfo: carriers.EMailConnectionInfo, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
446
|
+
private _getFolderListAsync;
|
|
447
|
+
/**
|
|
448
|
+
* Retrieve all folders for the mail account. String is separated in sections by the paragraph character. First section contains the folder delimeter char. Next is folder name. Additional sections may be unread and total items.
|
|
449
|
+
* @param request - ConnectionInfo, IncludeItemCount
|
|
450
|
+
* @returns List of available folders as a string array
|
|
451
|
+
*/
|
|
452
|
+
getFolderListAsync(request: carriers.EMail_GetFolderListRequest, webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
|
|
453
|
+
/**
|
|
454
|
+
* Retrieve all folders for the mail account. String is separated in sections by the paragraph character. First section contains the folder delimeter char. Next is folder name. Additional sections may be unread and total items.
|
|
455
|
+
* @param connectionInfo - All information needed to connect to the mailserver
|
|
456
|
+
* @param includeItemCount - If true, unread and total items are added to the foldername separated by a comma
|
|
457
|
+
* @returns List of available folders as a string array
|
|
458
|
+
*/
|
|
459
|
+
getFolderListAsync(connectionInfo: carriers.EMailConnectionInfo, includeItemCount: boolean, webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
|
|
460
|
+
private _getAttachmentAsync;
|
|
461
|
+
/**
|
|
462
|
+
* Retrieve an attachment from an e-mail
|
|
463
|
+
* @param request - ConnectionInfo, MessageServerId, AttachmentId
|
|
464
|
+
* @returns The attachment
|
|
465
|
+
*/
|
|
466
|
+
getAttachmentAsync(request: carriers.EMail_GetAttachmentRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAttachment>;
|
|
467
|
+
/**
|
|
468
|
+
* Retrieve an attachment from an e-mail
|
|
469
|
+
* @param connectionInfo - All information needed to connect to the mailserver
|
|
470
|
+
* @param messageServerId - Unique ID for the e-mail to retrieve the attachment from
|
|
471
|
+
* @param attachmentId - Id of the attachment in the e-mail
|
|
472
|
+
* @returns The attachment
|
|
473
|
+
*/
|
|
474
|
+
getAttachmentAsync(connectionInfo: carriers.EMailConnectionInfo, messageServerId: number, attachmentId: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAttachment>;
|
|
475
|
+
private _markAsReadAsync;
|
|
476
|
+
/**
|
|
477
|
+
* Mark one or more e-mails as (un)read
|
|
478
|
+
* @param request - ConnectionInfo, MessageServerIds, Read
|
|
479
|
+
* @returns
|
|
480
|
+
*/
|
|
481
|
+
markAsReadAsync(request: carriers.EMail_MarkAsReadRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
482
|
+
/**
|
|
483
|
+
* Mark one or more e-mails as (un)read
|
|
484
|
+
* @param connectionInfo - All information needed to connect to the mailserver
|
|
485
|
+
* @param messageServerIds - The e-mails to handle
|
|
486
|
+
* @param read - If true mails are marked as read. If false mails are marked as unread.
|
|
487
|
+
* @returns
|
|
488
|
+
*/
|
|
489
|
+
markAsReadAsync(connectionInfo: carriers.EMailConnectionInfo, messageServerIds: number[], read: boolean, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
490
|
+
private _getFolderEMailCountAsync;
|
|
491
|
+
/**
|
|
492
|
+
* Retrieve total/unread mail items in current folder
|
|
493
|
+
* @param request - ConnectionInfo, OnlyUnread
|
|
494
|
+
* @returns Number of mail items
|
|
495
|
+
*/
|
|
496
|
+
getFolderEMailCountAsync(request: carriers.EMail_GetFolderEMailCountRequest, webapi_options?: base.WebApiRequestOptions): Promise<number>;
|
|
497
|
+
/**
|
|
498
|
+
* Retrieve total/unread mail items in current folder
|
|
499
|
+
* @param connectionInfo - All information needed to connect to the mailserver
|
|
500
|
+
* @param onlyUnread - If true, only unread items are counted
|
|
501
|
+
* @returns Number of mail items
|
|
502
|
+
*/
|
|
503
|
+
getFolderEMailCountAsync(connectionInfo: carriers.EMailConnectionInfo, onlyUnread: boolean, webapi_options?: base.WebApiRequestOptions): Promise<number>;
|
|
504
|
+
private _deleteAsync;
|
|
505
|
+
/**
|
|
506
|
+
* Delete specified mail items
|
|
507
|
+
* @param request - ConnectionInfo, MessageServerIds, MoveToFolder
|
|
508
|
+
* @returns
|
|
509
|
+
*/
|
|
510
|
+
deleteAsync(request: carriers.EMail_DeleteRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
511
|
+
/**
|
|
512
|
+
* Delete specified mail items
|
|
513
|
+
* @param connectionInfo - All information needed to connect to the mailserver
|
|
514
|
+
* @param messageServerIds - The e-mails to handle
|
|
515
|
+
* @param moveToFolder - If set, move deleted items to this folder
|
|
516
|
+
* @returns
|
|
517
|
+
*/
|
|
518
|
+
deleteAsync(connectionInfo: carriers.EMailConnectionInfo, messageServerIds: number[], moveToFolder: string, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
519
|
+
private _moveToFolderAsync;
|
|
520
|
+
/**
|
|
521
|
+
* Moved specified items from current folder to targetFolder
|
|
522
|
+
* @param request - ConnectionInfo, MessageServerIds, TargetFolder
|
|
523
|
+
* @returns
|
|
524
|
+
*/
|
|
525
|
+
moveToFolderAsync(request: carriers.EMail_MoveToFolderRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
526
|
+
/**
|
|
527
|
+
* Moved specified items from current folder to targetFolder
|
|
528
|
+
* @param connectionInfo - All information needed to connect to the mailserver
|
|
529
|
+
* @param messageServerIds - The e-mails to handle
|
|
530
|
+
* @param targetFolder - Name of folder to move items to
|
|
531
|
+
* @returns
|
|
532
|
+
*/
|
|
533
|
+
moveToFolderAsync(connectionInfo: carriers.EMailConnectionInfo, messageServerIds: number[], targetFolder: string, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
534
|
+
private _emptyFolderAsync;
|
|
535
|
+
/**
|
|
536
|
+
* Delete all items in folder specified in the connection object
|
|
537
|
+
* @param request - ConnectionInfo, MoveToFolder
|
|
538
|
+
* @returns
|
|
539
|
+
*/
|
|
540
|
+
emptyFolderAsync(request: carriers.EMail_EmptyFolderRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
541
|
+
/**
|
|
542
|
+
* Delete all items in folder specified in the connection object
|
|
543
|
+
* @param connectionInfo - All information needed to connect to the mailserver
|
|
544
|
+
* @param moveToFolder - If set, move deleted items to this folder
|
|
545
|
+
* @returns
|
|
546
|
+
*/
|
|
547
|
+
emptyFolderAsync(connectionInfo: carriers.EMailConnectionInfo, moveToFolder: string, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
548
|
+
private _getEMailAsStreamAsync;
|
|
549
|
+
/**
|
|
550
|
+
* Retrieve an e-mail optionally stripping attachments as a stream
|
|
551
|
+
* @param request - ConnectionInfo, MessageServerId, StripAttachments
|
|
552
|
+
* @returns The attachment as a stream
|
|
553
|
+
*/
|
|
554
|
+
getEMailAsStreamAsync(request: carriers.EMail_GetEMailAsStreamRequest, webapi_options?: base.WebApiRequestOptions): Promise<ArrayBuffer | string>;
|
|
555
|
+
/**
|
|
556
|
+
* Retrieve an e-mail optionally stripping attachments as a stream
|
|
557
|
+
* @param connectionInfo - All information needed to connect to the mailserver
|
|
558
|
+
* @param messageServerId - Unique ID for the e-mail to retrieve
|
|
559
|
+
* @param stripAttachments - If true, do not include attachments in stream
|
|
560
|
+
* @returns The attachment as a stream
|
|
561
|
+
*/
|
|
562
|
+
getEMailAsStreamAsync(connectionInfo: carriers.EMailConnectionInfo, messageServerId: number, stripAttachments: boolean, webapi_options?: base.WebApiRequestOptions): Promise<ArrayBuffer | string>;
|
|
563
|
+
private _findAddressAsync;
|
|
564
|
+
/**
|
|
565
|
+
* Search for contacts and persons with the specified e-mail address (exact match on the email address string required)
|
|
566
|
+
* @param request - Address
|
|
567
|
+
* @returns All resolved contacts/persons
|
|
568
|
+
*/
|
|
569
|
+
findAddressAsync(request: carriers.EMail_FindAddressRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAddress[]>;
|
|
570
|
+
/**
|
|
571
|
+
* Search for contacts and persons with the specified e-mail address (exact match on the email address string required)
|
|
572
|
+
* @param address - E-mail address to look for
|
|
573
|
+
* @returns All resolved contacts/persons
|
|
574
|
+
*/
|
|
575
|
+
findAddressAsync(address: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAddress[]>;
|
|
576
|
+
private _getEMailFromDocumentIdAsync;
|
|
577
|
+
/**
|
|
578
|
+
* Get an e-mail based on an archived document
|
|
579
|
+
* @param request - DocumentId
|
|
580
|
+
* @returns The e-mail
|
|
581
|
+
*/
|
|
582
|
+
getEMailFromDocumentIdAsync(request: carriers.EMail_GetEMailFromDocumentIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
583
|
+
/**
|
|
584
|
+
* Get an e-mail based on an archived document
|
|
585
|
+
* @param documentId - Unique id of the document
|
|
586
|
+
* @returns The e-mail
|
|
587
|
+
*/
|
|
588
|
+
getEMailFromDocumentIdAsync(documentId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
589
|
+
private _getUnsanitizedEMailFromDocumentIdAsync;
|
|
590
|
+
/**
|
|
591
|
+
* Get an e-mail based on an archived document. The returned value is not sanitized.
|
|
592
|
+
* @param request - DocumentId
|
|
593
|
+
* @returns The e-mail
|
|
594
|
+
*/
|
|
595
|
+
getUnsanitizedEMailFromDocumentIdAsync(request: carriers.EMail_GetUnsanitizedEMailFromDocumentIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
596
|
+
/**
|
|
597
|
+
* Get an e-mail based on an archived document. The returned value is not sanitized.
|
|
598
|
+
* @param documentId - Unique id of the document
|
|
599
|
+
* @returns The e-mail
|
|
600
|
+
*/
|
|
601
|
+
getUnsanitizedEMailFromDocumentIdAsync(documentId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
602
|
+
private _getEMailFromAttachmentIdAsync;
|
|
603
|
+
/**
|
|
604
|
+
* Get an e-mail based on an email and attachment id
|
|
605
|
+
* @param request - EmailId, AttachmentIds, IncludeAttachments
|
|
606
|
+
* @returns The attachment as an e-mail
|
|
607
|
+
*/
|
|
608
|
+
getEMailFromAttachmentIdAsync(request: carriers.EMail_GetEMailFromAttachmentIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
609
|
+
/**
|
|
610
|
+
* Get an e-mail based on an email and attachment id
|
|
611
|
+
* @param emailId - The primary key of the email row in the DB
|
|
612
|
+
* @param attachmentIds - Id of the attachment. If multiple elements this is treated as attachment in attachemnts, e.g. [1, 2] means attachment 2 in attachment 1 of email.
|
|
613
|
+
* @param includeAttachments - Should we retrieve attachments embedded in the e-mail from the server
|
|
614
|
+
* @returns The attachment as an e-mail
|
|
615
|
+
*/
|
|
616
|
+
getEMailFromAttachmentIdAsync(emailId: number, attachmentIds: string[], includeAttachments: boolean, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
617
|
+
private _getUnsanitizedEMailFromAttachmentIdAsync;
|
|
618
|
+
/**
|
|
619
|
+
* Get an e-mail based on an email and attachment id. The returned value is not sanitized.
|
|
620
|
+
* @param request - EmailId, AttachmentIds, IncludeAttachments
|
|
621
|
+
* @returns The attachment as an e-mail
|
|
622
|
+
*/
|
|
623
|
+
getUnsanitizedEMailFromAttachmentIdAsync(request: carriers.EMail_GetUnsanitizedEMailFromAttachmentIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
624
|
+
/**
|
|
625
|
+
* Get an e-mail based on an email and attachment id. The returned value is not sanitized.
|
|
626
|
+
* @param emailId - The primary key of the email row in the DB
|
|
627
|
+
* @param attachmentIds - Id of the attachment. If multiple elements this is treated as attachment in attachemnts, e.g. [1, 2] means attachment 2 in attachment 1 of email.
|
|
628
|
+
* @param includeAttachments - Should we retrieve attachments embedded in the e-mail from the server
|
|
629
|
+
* @returns The attachment as an e-mail
|
|
630
|
+
*/
|
|
631
|
+
getUnsanitizedEMailFromAttachmentIdAsync(emailId: number, attachmentIds: string[], includeAttachments: boolean, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
632
|
+
private _getEMailFromDocumentAttachmentIdAsync;
|
|
633
|
+
/**
|
|
634
|
+
* Get an e-mail based on an email in the archive system and attachment id
|
|
635
|
+
* @param request - DocId, AttachmentIds, IncludeAttachments
|
|
636
|
+
* @returns The attachment as an e-mail
|
|
637
|
+
*/
|
|
638
|
+
getEMailFromDocumentAttachmentIdAsync(request: carriers.EMail_GetEMailFromDocumentAttachmentIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
639
|
+
/**
|
|
640
|
+
* Get an e-mail based on an email in the archive system and attachment id
|
|
641
|
+
* @param docId - The primary key of the document row in the DB
|
|
642
|
+
* @param attachmentIds - Id of the attachment. If multiple elements this is treated as attachment in attachemnts, e.g. [1, 2] means attachment 2 in attachment 1 of email.
|
|
643
|
+
* @param includeAttachments - Should we retrieve attachments embedded in the e-mail from the server
|
|
644
|
+
* @returns The attachment as an e-mail
|
|
645
|
+
*/
|
|
646
|
+
getEMailFromDocumentAttachmentIdAsync(docId: number, attachmentIds: string[], includeAttachments: boolean, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
647
|
+
private _getUnsanitizedEMailFromDocumentAttachmentIdAsync;
|
|
648
|
+
/**
|
|
649
|
+
* Get an e-mail based on an email in the archive system and attachment id. The returned value is not sanitized.
|
|
650
|
+
* @param request - DocId, AttachmentIds, IncludeAttachments
|
|
651
|
+
* @returns The attachment as an e-mail
|
|
652
|
+
*/
|
|
653
|
+
getUnsanitizedEMailFromDocumentAttachmentIdAsync(request: carriers.EMail_GetUnsanitizedEMailFromDocumentAttachmentIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
654
|
+
/**
|
|
655
|
+
* Get an e-mail based on an email in the archive system and attachment id. The returned value is not sanitized.
|
|
656
|
+
* @param docId - The primary key of the document row in the DB
|
|
657
|
+
* @param attachmentIds - Id of the attachment. If multiple elements this is treated as attachment in attachemnts, e.g. [1, 2] means attachment 2 in attachment 1 of email.
|
|
658
|
+
* @param includeAttachments - Should we retrieve attachments embedded in the e-mail from the server
|
|
659
|
+
* @returns The attachment as an e-mail
|
|
660
|
+
*/
|
|
661
|
+
getUnsanitizedEMailFromDocumentAttachmentIdAsync(docId: number, attachmentIds: string[], includeAttachments: boolean, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
662
|
+
private _getEMailEnvelopesAsync;
|
|
663
|
+
/**
|
|
664
|
+
* Retrieve a set of e-mail envelopes
|
|
665
|
+
* @param request - ConnectionInfo, MessageServerIds
|
|
666
|
+
* @returns The e-mail envelope objects
|
|
667
|
+
*/
|
|
668
|
+
getEMailEnvelopesAsync(request: carriers.EMail_GetEMailEnvelopesRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEnvelope[]>;
|
|
669
|
+
/**
|
|
670
|
+
* Retrieve a set of e-mail envelopes
|
|
671
|
+
* @param connectionInfo - All information needed to connect to the mailserver
|
|
672
|
+
* @param messageServerIds - Unique identitifiers for the e-mails to retrieve envelopes for
|
|
673
|
+
* @returns The e-mail envelope objects
|
|
674
|
+
*/
|
|
675
|
+
getEMailEnvelopesAsync(connectionInfo: carriers.EMailConnectionInfo, messageServerIds: number[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEnvelope[]>;
|
|
676
|
+
private _setSubscriptionAsync;
|
|
677
|
+
/**
|
|
678
|
+
* Set subscription on or off on a set of folders
|
|
679
|
+
* @param request - ConnectionInfo, Folders
|
|
680
|
+
* @returns
|
|
681
|
+
*/
|
|
682
|
+
setSubscriptionAsync(request: carriers.EMail_SetSubscriptionRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
683
|
+
/**
|
|
684
|
+
* Set subscription on or off on a set of folders
|
|
685
|
+
* @param connectionInfo - All information needed to connect to the mailserver
|
|
686
|
+
* @param folders - Folders to set subscription value on
|
|
687
|
+
* @returns
|
|
688
|
+
*/
|
|
689
|
+
setSubscriptionAsync(connectionInfo: carriers.EMailConnectionInfo, folders: carriers.EMailFolder[], webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
690
|
+
private _createFolderAsync;
|
|
691
|
+
/**
|
|
692
|
+
* Create a new folder on the server
|
|
693
|
+
* @param request - ConnectionInfo
|
|
694
|
+
* @returns
|
|
695
|
+
*/
|
|
696
|
+
createFolderAsync(request: carriers.EMail_CreateFolderRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
697
|
+
/**
|
|
698
|
+
* Create a new folder on the server
|
|
699
|
+
* @param connectionInfo - All information needed to connect to the mailserver
|
|
700
|
+
* @returns
|
|
701
|
+
*/
|
|
702
|
+
createFolderAsync(connectionInfo: carriers.EMailConnectionInfo, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
703
|
+
private _deleteFolderAsync;
|
|
704
|
+
/**
|
|
705
|
+
* Delete a folder from the server
|
|
706
|
+
* @param request - ConnectionInfo
|
|
707
|
+
* @returns
|
|
708
|
+
*/
|
|
709
|
+
deleteFolderAsync(request: carriers.EMail_DeleteFolderRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
710
|
+
/**
|
|
711
|
+
* Delete a folder from the server
|
|
712
|
+
* @param connectionInfo - All information needed to connect to the mailserver
|
|
713
|
+
* @returns
|
|
714
|
+
*/
|
|
715
|
+
deleteFolderAsync(connectionInfo: carriers.EMailConnectionInfo, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
716
|
+
private _createEMailFromDocumentEntityAsync;
|
|
717
|
+
/**
|
|
718
|
+
* Get an e-mail based on the provided DocumentEntity
|
|
719
|
+
* @param request - DocumentEntity
|
|
720
|
+
* @returns The e-mail
|
|
721
|
+
*/
|
|
722
|
+
createEMailFromDocumentEntityAsync(request: carriers.EMail_CreateEMailFromDocumentEntityRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
723
|
+
/**
|
|
724
|
+
* Get an e-mail based on the provided DocumentEntity
|
|
725
|
+
* @param documentEntity - DocumentEntity data
|
|
726
|
+
* @returns The e-mail
|
|
727
|
+
*/
|
|
728
|
+
createEMailFromDocumentEntityAsync(documentEntity: carriers.DocumentEntity, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
729
|
+
private _createEMailFromMimeMessageAsync;
|
|
730
|
+
/**
|
|
731
|
+
* Get an e-mail based on the provided MIME-message
|
|
732
|
+
* @param request - MimeMessage
|
|
733
|
+
* @returns The e-mail
|
|
734
|
+
*/
|
|
735
|
+
createEMailFromMimeMessageAsync(request: carriers.EMail_CreateEMailFromMimeMessageRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
736
|
+
/**
|
|
737
|
+
* Get an e-mail based on the provided MIME-message
|
|
738
|
+
* @param mimeMessage - string representing a MIME-formatted message
|
|
739
|
+
* @returns The e-mail
|
|
740
|
+
*/
|
|
741
|
+
createEMailFromMimeMessageAsync(mimeMessage: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
742
|
+
private _getFolderInfoAsync;
|
|
743
|
+
/**
|
|
744
|
+
* Retrieve information about folders. If folders parameter is not specified(null), information about all subscribed folders will be returned.
|
|
745
|
+
* @param request - ConnectionInfo, Folders
|
|
746
|
+
* @returns Folder information
|
|
747
|
+
*/
|
|
748
|
+
getFolderInfoAsync(request: carriers.EMail_GetFolderInfoRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailFolder[]>;
|
|
749
|
+
/**
|
|
750
|
+
* Retrieve information about folders. If folders parameter is not specified(null), information about all subscribed folders will be returned.
|
|
751
|
+
* @param connectionInfo - All information needed to connect to the mailserver
|
|
752
|
+
* @param folders - Folders to get information about.
|
|
753
|
+
* @returns Folder information
|
|
754
|
+
*/
|
|
755
|
+
getFolderInfoAsync(connectionInfo: carriers.EMailConnectionInfo, folders: string[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailFolder[]>;
|
|
756
|
+
private _getFolderHasNewEMailAsync;
|
|
757
|
+
/**
|
|
758
|
+
* Check if folder has received new items since previous access.
|
|
759
|
+
* @param request - ConnectionInfo
|
|
760
|
+
* @returns True if new mail is available.
|
|
761
|
+
*/
|
|
762
|
+
getFolderHasNewEMailAsync(request: carriers.EMail_GetFolderHasNewEMailRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
763
|
+
/**
|
|
764
|
+
* Check if folder has received new items since previous access.
|
|
765
|
+
* @param connectionInfo - All information needed to connect to the mailserver
|
|
766
|
+
* @returns True if new mail is available.
|
|
767
|
+
*/
|
|
768
|
+
getFolderHasNewEMailAsync(connectionInfo: carriers.EMailConnectionInfo, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
769
|
+
private _getEMailAddressesAsync;
|
|
770
|
+
/**
|
|
771
|
+
* Get information about one or more email addresses, identified by IDs
|
|
772
|
+
* @param request - EmailIds
|
|
773
|
+
* @returns Array of email information objects
|
|
774
|
+
*/
|
|
775
|
+
getEMailAddressesAsync(request: carriers.EMail_GetEMailAddressesRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAddress[]>;
|
|
776
|
+
/**
|
|
777
|
+
* Get information about one or more email addresses, identified by IDs
|
|
778
|
+
* @param emailIds - Array of IDs from the email table, each identifying one email address
|
|
779
|
+
* @returns Array of email information objects
|
|
780
|
+
*/
|
|
781
|
+
getEMailAddressesAsync(emailIds: number[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAddress[]>;
|
|
782
|
+
private _refreshFolderAsync;
|
|
783
|
+
/**
|
|
784
|
+
* Refresh the given folders - i.e., fetch data from the mail server and update the in-database cache. This may happen synchronously or as a batch task, the return value will be 0 if the processing was synchronous, or the batch task id if a batch task is used.
|
|
785
|
+
* @param request - ConnectionInfo, Folders
|
|
786
|
+
* @returns Batch task id, or 0 if the processing was synchronous
|
|
787
|
+
*/
|
|
788
|
+
refreshFolderAsync(request: carriers.EMail_RefreshFolderRequest, webapi_options?: base.WebApiRequestOptions): Promise<number>;
|
|
789
|
+
/**
|
|
790
|
+
* Refresh the given folders - i.e., fetch data from the mail server and update the in-database cache. This may happen synchronously or as a batch task, the return value will be 0 if the processing was synchronous, or the batch task id if a batch task is used.
|
|
791
|
+
* @param connectionInfo - Email connection info credentials
|
|
792
|
+
* @param folders - List of folder names to refresh
|
|
793
|
+
* @returns Batch task id, or 0 if the processing was synchronous
|
|
794
|
+
*/
|
|
795
|
+
refreshFolderAsync(connectionInfo: carriers.EMailConnectionInfo, folders: string[], webapi_options?: base.WebApiRequestOptions): Promise<number>;
|
|
796
|
+
private _getEMailFromTempAsync;
|
|
797
|
+
/**
|
|
798
|
+
*
|
|
799
|
+
* @param request - FileName
|
|
800
|
+
* @returns
|
|
801
|
+
*/
|
|
802
|
+
getEMailFromTempAsync(request: carriers.EMail_GetEMailFromTempRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
803
|
+
/**
|
|
804
|
+
*
|
|
805
|
+
* @param fileName -
|
|
806
|
+
* @returns
|
|
807
|
+
*/
|
|
808
|
+
getEMailFromTempAsync(fileName: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
809
|
+
private _authenticateAsync;
|
|
810
|
+
/**
|
|
811
|
+
*
|
|
812
|
+
* @param request - ConnectionInfoExtended
|
|
813
|
+
* @returns
|
|
814
|
+
*/
|
|
815
|
+
authenticateAsync(request: carriers.EMail_AuthenticateRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
816
|
+
/**
|
|
817
|
+
*
|
|
818
|
+
* @param connectionInfoExtended -
|
|
819
|
+
* @returns
|
|
820
|
+
*/
|
|
821
|
+
authenticateAsync(connectionInfoExtended: carriers.EMailConnectionInfoExtended, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
822
|
+
private _getEmailMessageIdsAsync;
|
|
823
|
+
/**
|
|
824
|
+
*
|
|
825
|
+
* @param request - ConnectionInfoExtended
|
|
826
|
+
* @returns
|
|
827
|
+
*/
|
|
828
|
+
getEmailMessageIdsAsync(request: carriers.EMail_GetEmailMessageIdsRequest, webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
|
|
829
|
+
/**
|
|
830
|
+
*
|
|
831
|
+
* @param connectionInfoExtended -
|
|
832
|
+
* @returns
|
|
833
|
+
*/
|
|
834
|
+
getEmailMessageIdsAsync(connectionInfoExtended: carriers.EMailConnectionInfoExtended, webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
|
|
835
|
+
private _getExtendedEmailMessageIdsAsync;
|
|
836
|
+
/**
|
|
837
|
+
* Gets not only the Message-Id's but also the UID's and the uniquevalidity property in this format-> uvalidity:uid:MsgId - and this format should be understood by GetEmailsAsString() and DeleteExtended().
|
|
838
|
+
* @param request - ConnectionInfoExtended
|
|
839
|
+
* @returns
|
|
840
|
+
*/
|
|
841
|
+
getExtendedEmailMessageIdsAsync(request: carriers.EMail_GetExtendedEmailMessageIdsRequest, webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
|
|
842
|
+
/**
|
|
843
|
+
* Gets not only the Message-Id's but also the UID's and the uniquevalidity property in this format-> uvalidity:uid:MsgId - and this format should be understood by GetEmailsAsString() and DeleteExtended().
|
|
844
|
+
* @param connectionInfoExtended -
|
|
845
|
+
* @returns
|
|
846
|
+
*/
|
|
847
|
+
getExtendedEmailMessageIdsAsync(connectionInfoExtended: carriers.EMailConnectionInfoExtended, webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
|
|
848
|
+
private _getEmailsAsStringAsync;
|
|
849
|
+
/**
|
|
850
|
+
*
|
|
851
|
+
* @param request - ConnectionInfoExtended, MessageIds
|
|
852
|
+
* @returns
|
|
853
|
+
*/
|
|
854
|
+
getEmailsAsStringAsync(request: carriers.EMail_GetEmailsAsStringRequest, webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
|
|
855
|
+
/**
|
|
856
|
+
*
|
|
857
|
+
* @param connectionInfoExtended -
|
|
858
|
+
* @param messageIds -
|
|
859
|
+
* @returns
|
|
860
|
+
*/
|
|
861
|
+
getEmailsAsStringAsync(connectionInfoExtended: carriers.EMailConnectionInfoExtended, messageIds: string[], webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
|
|
862
|
+
private _deleteExtendedAsync;
|
|
863
|
+
/**
|
|
864
|
+
*
|
|
865
|
+
* @param request - ConnectionInfoExtended, MessageIds
|
|
866
|
+
* @returns
|
|
867
|
+
*/
|
|
868
|
+
deleteExtendedAsync(request: carriers.EMail_DeleteExtendedRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
869
|
+
/**
|
|
870
|
+
*
|
|
871
|
+
* @param connectionInfoExtended -
|
|
872
|
+
* @param messageIds -
|
|
873
|
+
* @returns
|
|
874
|
+
*/
|
|
875
|
+
deleteExtendedAsync(connectionInfoExtended: carriers.EMailConnectionInfoExtended, messageIds: string[], webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
876
|
+
private _relayMessageAsync;
|
|
877
|
+
/**
|
|
878
|
+
*
|
|
879
|
+
* @param request - ConnectionInfoExtended, Rfc822, From, Recipients
|
|
880
|
+
* @returns
|
|
881
|
+
*/
|
|
882
|
+
relayMessageAsync(request: carriers.EMail_RelayMessageRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
883
|
+
/**
|
|
884
|
+
*
|
|
885
|
+
* @param connectionInfoExtended -
|
|
886
|
+
* @param rfc822 -
|
|
887
|
+
* @param from -
|
|
888
|
+
* @param recipients -
|
|
889
|
+
* @returns
|
|
890
|
+
*/
|
|
891
|
+
relayMessageAsync(connectionInfoExtended: carriers.EMailConnectionInfoExtended, rfc822: string, from: string, recipients: string[], webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
892
|
+
private _getEMailAsync;
|
|
893
|
+
/**
|
|
894
|
+
* Get en e-mail based on its primary key in the DB
|
|
895
|
+
* @param request - Id, IncludeAttachments
|
|
896
|
+
* @returns The e-mail
|
|
897
|
+
*/
|
|
898
|
+
getEMailAsync(request: carriers.EMail_GetEMailRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
899
|
+
/**
|
|
900
|
+
* Get en e-mail based on its primary key in the DB
|
|
901
|
+
* @param id - The primary key of the email row in the DB
|
|
902
|
+
* @param includeAttachments - Should we retrieve attachments embedded in the e-mail from the server
|
|
903
|
+
* @returns The e-mail
|
|
904
|
+
*/
|
|
905
|
+
getEMailAsync(id: number, includeAttachments: boolean, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
906
|
+
private _getUnsanitizedEMailAsync;
|
|
907
|
+
/**
|
|
908
|
+
* Get en e-mail based on its primary key in the DB. The returned value is not sanitized.
|
|
909
|
+
* @param request - Id, IncludeAttachments
|
|
910
|
+
* @returns The e-mail
|
|
911
|
+
*/
|
|
912
|
+
getUnsanitizedEMailAsync(request: carriers.EMail_GetUnsanitizedEMailRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
913
|
+
/**
|
|
914
|
+
* Get en e-mail based on its primary key in the DB. The returned value is not sanitized.
|
|
915
|
+
* @param id - The primary key of the email row in the DB
|
|
916
|
+
* @param includeAttachments - Should we retrieve attachments embedded in the e-mail from the server
|
|
917
|
+
* @returns The e-mail
|
|
918
|
+
*/
|
|
919
|
+
getUnsanitizedEMailAsync(id: number, includeAttachments: boolean, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
920
|
+
private _markEmailsAsReadAsync;
|
|
921
|
+
/**
|
|
922
|
+
* Mark one or more e-mails as (un)read
|
|
923
|
+
* @param request - Ids, Read
|
|
924
|
+
* @returns
|
|
925
|
+
*/
|
|
926
|
+
markEmailsAsReadAsync(request: carriers.EMail_MarkEmailsAsReadRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
927
|
+
/**
|
|
928
|
+
* Mark one or more e-mails as (un)read
|
|
929
|
+
* @param ids - The e-mails to handle
|
|
930
|
+
* @param read - If true mails are marked as read. If false mails are marked as unread.
|
|
931
|
+
* @returns
|
|
932
|
+
*/
|
|
933
|
+
markEmailsAsReadAsync(ids: number[], read: boolean, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
934
|
+
private _deleteEmailsAsync;
|
|
935
|
+
/**
|
|
936
|
+
* Delete specified mail items and optionally move to the specified folder
|
|
937
|
+
* @param request - Ids, MoveToFolder
|
|
938
|
+
* @returns
|
|
939
|
+
*/
|
|
940
|
+
deleteEmailsAsync(request: carriers.EMail_DeleteEmailsRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
941
|
+
/**
|
|
942
|
+
* Delete specified mail items and optionally move to the specified folder
|
|
943
|
+
* @param ids - The e-mails to handle
|
|
944
|
+
* @param moveToFolder - If set, move deleted items to this folder
|
|
945
|
+
* @returns
|
|
946
|
+
*/
|
|
947
|
+
deleteEmailsAsync(ids: number[], moveToFolder: string, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
948
|
+
private _moveEmailsToTrashAsync;
|
|
949
|
+
/**
|
|
950
|
+
* Delete specified mail items and move to the Trash folder
|
|
951
|
+
* @param request - Ids
|
|
952
|
+
* @returns
|
|
953
|
+
*/
|
|
954
|
+
moveEmailsToTrashAsync(request: carriers.EMail_MoveEmailsToTrashRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
955
|
+
/**
|
|
956
|
+
* Delete specified mail items and move to the Trash folder
|
|
957
|
+
* @param ids - The e-mails to handle
|
|
958
|
+
* @returns
|
|
959
|
+
*/
|
|
960
|
+
moveEmailsToTrashAsync(ids: number[], webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
961
|
+
private _saveAsync;
|
|
962
|
+
/**
|
|
963
|
+
* Save the e-mail back to the database
|
|
964
|
+
* @param request - Email
|
|
965
|
+
* @returns The updated saved entity
|
|
966
|
+
*/
|
|
967
|
+
saveAsync(request: carriers.EMail_SaveRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
968
|
+
/**
|
|
969
|
+
* Save the e-mail back to the database
|
|
970
|
+
* @param email - The e-mail to save
|
|
971
|
+
* @returns The updated saved entity
|
|
972
|
+
*/
|
|
973
|
+
saveAsync(email: carriers.EMailEntity, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
974
|
+
private _saveToMailServerAsync;
|
|
975
|
+
/**
|
|
976
|
+
* Save the passed e-mail back to the mail server
|
|
977
|
+
* @param request - Email
|
|
978
|
+
* @returns The updated saved entity
|
|
979
|
+
*/
|
|
980
|
+
saveToMailServerAsync(request: carriers.EMail_SaveToMailServerRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
981
|
+
/**
|
|
982
|
+
* Save the passed e-mail back to the mail server
|
|
983
|
+
* @param email - The e-mail to save
|
|
984
|
+
* @returns The updated saved entity
|
|
985
|
+
*/
|
|
986
|
+
saveToMailServerAsync(email: carriers.EMailEntity, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
987
|
+
private _sendAsync;
|
|
988
|
+
/**
|
|
989
|
+
* Send the provided e-mails
|
|
990
|
+
* @param request - Emails
|
|
991
|
+
* @returns The sent e-mails (updated with message id etc.)
|
|
992
|
+
*/
|
|
993
|
+
sendAsync(request: carriers.EMail_SendRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity[]>;
|
|
994
|
+
/**
|
|
995
|
+
* Send the provided e-mails
|
|
996
|
+
* @param emails - The e-mails to send
|
|
997
|
+
* @returns The sent e-mails (updated with message id etc.)
|
|
998
|
+
*/
|
|
999
|
+
sendAsync(emails: carriers.EMailEntity[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity[]>;
|
|
1000
|
+
private _createForwardEmailAsync;
|
|
1001
|
+
/**
|
|
1002
|
+
* Create forward email
|
|
1003
|
+
* @param request - Email
|
|
1004
|
+
* @returns The new forward email entity
|
|
1005
|
+
*/
|
|
1006
|
+
createForwardEmailAsync(request: carriers.EMail_CreateForwardEmailRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
1007
|
+
/**
|
|
1008
|
+
* Create forward email
|
|
1009
|
+
* @param email - The e-mail to forward
|
|
1010
|
+
* @returns The new forward email entity
|
|
1011
|
+
*/
|
|
1012
|
+
createForwardEmailAsync(email: carriers.EMailEntity, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
1013
|
+
private _findContactOrPersonByEmailNameAsync;
|
|
1014
|
+
/**
|
|
1015
|
+
*
|
|
1016
|
+
* @param request - Name, EmailAddress
|
|
1017
|
+
* @returns Contacts and persons matching emailaddress and name
|
|
1018
|
+
*/
|
|
1019
|
+
findContactOrPersonByEmailNameAsync(request: carriers.EMail_FindContactOrPersonByEmailNameRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ContactOrPersonFromEmail[]>;
|
|
1020
|
+
/**
|
|
1021
|
+
*
|
|
1022
|
+
* @param name - The sender name
|
|
1023
|
+
* @param emailAddress - The sender email address
|
|
1024
|
+
* @returns Contacts and persons matching emailaddress and name
|
|
1025
|
+
*/
|
|
1026
|
+
findContactOrPersonByEmailNameAsync(name: string, emailAddress: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ContactOrPersonFromEmail[]>;
|
|
1027
|
+
private _findContactOrPersonByEmailNameWithLimitAsync;
|
|
1028
|
+
/**
|
|
1029
|
+
*
|
|
1030
|
+
* @param request - Name, EmailAddress, NumberOfContacts, NumberOfPersons
|
|
1031
|
+
* @returns Contacts and persons matching emailaddress and name
|
|
1032
|
+
*/
|
|
1033
|
+
findContactOrPersonByEmailNameWithLimitAsync(request: carriers.EMail_FindContactOrPersonByEmailNameWithLimitRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ContactOrPersonFromEmail[]>;
|
|
1034
|
+
/**
|
|
1035
|
+
*
|
|
1036
|
+
* @param name - The sender name
|
|
1037
|
+
* @param emailAddress - The sender email address
|
|
1038
|
+
* @param numberOfContacts - Maximum returned number of contacts
|
|
1039
|
+
* @param numberOfPersons - Maximum returned number of persons
|
|
1040
|
+
* @returns Contacts and persons matching emailaddress and name
|
|
1041
|
+
*/
|
|
1042
|
+
findContactOrPersonByEmailNameWithLimitAsync(name: string, emailAddress: string, numberOfContacts: number, numberOfPersons: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ContactOrPersonFromEmail[]>;
|
|
1043
|
+
private _refreshFolderForAssociateAsync;
|
|
1044
|
+
/**
|
|
1045
|
+
* Get all emails in folder(s) from current associate
|
|
1046
|
+
* @param request - Folders
|
|
1047
|
+
* @returns JSON serialized string containing array of data about each folder
|
|
1048
|
+
*/
|
|
1049
|
+
refreshFolderForAssociateAsync(request: carriers.EMail_RefreshFolderForAssociateRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
1050
|
+
/**
|
|
1051
|
+
* Get all emails in folder(s) from current associate
|
|
1052
|
+
* @param folders - List of folder names to refresh
|
|
1053
|
+
* @returns JSON serialized string containing array of data about each folder
|
|
1054
|
+
*/
|
|
1055
|
+
refreshFolderForAssociateAsync(folders: string[], webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
1056
|
+
private _getNewMailAsync;
|
|
1057
|
+
/**
|
|
1058
|
+
* Get new email in folder(s) for current associate
|
|
1059
|
+
* @param request - Folders
|
|
1060
|
+
* @returns The downloaded email envelopes
|
|
1061
|
+
*/
|
|
1062
|
+
getNewMailAsync(request: carriers.EMail_GetNewMailRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEnvelope[]>;
|
|
1063
|
+
/**
|
|
1064
|
+
* Get new email in folder(s) for current associate
|
|
1065
|
+
* @param folders - List of folder ids to check for new email
|
|
1066
|
+
* @returns The downloaded email envelopes
|
|
1067
|
+
*/
|
|
1068
|
+
getNewMailAsync(folders: number[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEnvelope[]>;
|
|
1069
|
+
private _cacheFolderListAsync;
|
|
1070
|
+
/**
|
|
1071
|
+
* Fetch list of folders from email server for the current account, and cache in DB
|
|
1072
|
+
* @returns List of folders from mail server
|
|
1073
|
+
*/
|
|
1074
|
+
cacheFolderListAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailFolder[]>;
|
|
1075
|
+
private _moveEmailsToFolderAsync;
|
|
1076
|
+
/**
|
|
1077
|
+
* Move one or more emails to the specified folder in the DB, and on the server
|
|
1078
|
+
* @param request - FolderId, EmailItemIds
|
|
1079
|
+
* @returns
|
|
1080
|
+
*/
|
|
1081
|
+
moveEmailsToFolderAsync(request: carriers.EMail_MoveEmailsToFolderRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
1082
|
+
/**
|
|
1083
|
+
* Move one or more emails to the specified folder in the DB, and on the server
|
|
1084
|
+
* @param folderId - The EmailFolderId of the folder to move to
|
|
1085
|
+
* @param emailItemIds - The emails to move
|
|
1086
|
+
* @returns
|
|
1087
|
+
*/
|
|
1088
|
+
moveEmailsToFolderAsync(folderId: number, emailItemIds: number[], webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
1089
|
+
private _getMailFromMessageIdAsync;
|
|
1090
|
+
/**
|
|
1091
|
+
* Get email from db based on Message Id
|
|
1092
|
+
* @param request - MessageId
|
|
1093
|
+
* @returns EMailEntity with the provided message id
|
|
1094
|
+
*/
|
|
1095
|
+
getMailFromMessageIdAsync(request: carriers.EMail_GetMailFromMessageIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
1096
|
+
/**
|
|
1097
|
+
* Get email from db based on Message Id
|
|
1098
|
+
* @param messageId - The message id
|
|
1099
|
+
* @returns EMailEntity with the provided message id
|
|
1100
|
+
*/
|
|
1101
|
+
getMailFromMessageIdAsync(messageId: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
1102
|
+
private _getMailFromInReplyToAsync;
|
|
1103
|
+
/**
|
|
1104
|
+
* Get email from db based on In-Reply-To Message Id
|
|
1105
|
+
* @param request - MessageId
|
|
1106
|
+
* @returns EMailEntity that is in reply to the provided messageId
|
|
1107
|
+
*/
|
|
1108
|
+
getMailFromInReplyToAsync(request: carriers.EMail_GetMailFromInReplyToRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
1109
|
+
/**
|
|
1110
|
+
* Get email from db based on In-Reply-To Message Id
|
|
1111
|
+
* @param messageId - The message id
|
|
1112
|
+
* @returns EMailEntity that is in reply to the provided messageId
|
|
1113
|
+
*/
|
|
1114
|
+
getMailFromInReplyToAsync(messageId: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
1115
|
+
private _sendAndSaveEmailToTmpDocumentAsync;
|
|
1116
|
+
/**
|
|
1117
|
+
* Send the provided e-mail and create tmp document ready to archive
|
|
1118
|
+
* @param request - Email, StripAttachments
|
|
1119
|
+
* @returns Filename of the tmp document
|
|
1120
|
+
*/
|
|
1121
|
+
sendAndSaveEmailToTmpDocumentAsync(request: carriers.EMail_SendAndSaveEmailToTmpDocumentRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
1122
|
+
/**
|
|
1123
|
+
* Send the provided e-mail and create tmp document ready to archive
|
|
1124
|
+
* @param email - The e-mail to send
|
|
1125
|
+
* @param stripAttachments - If true, do not include attachments in tmp document
|
|
1126
|
+
* @returns Filename of the tmp document
|
|
1127
|
+
*/
|
|
1128
|
+
sendAndSaveEmailToTmpDocumentAsync(email: carriers.EMailEntity, stripAttachments: boolean, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
1129
|
+
private _saveEmailToTmpDocumentAsync;
|
|
1130
|
+
/**
|
|
1131
|
+
* Save the Email as a tmp document ready to archive
|
|
1132
|
+
* @param request - Email, FolderId, StripAttachments
|
|
1133
|
+
* @returns Filename of the tmp document
|
|
1134
|
+
*/
|
|
1135
|
+
saveEmailToTmpDocumentAsync(request: carriers.EMail_SaveEmailToTmpDocumentRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
1136
|
+
/**
|
|
1137
|
+
* Save the Email as a tmp document ready to archive
|
|
1138
|
+
* @param email - The e-mail to save
|
|
1139
|
+
* @param folderId - The folder id where the email is
|
|
1140
|
+
* @param stripAttachments - If true, do not include attachments in tmp document
|
|
1141
|
+
* @returns Filename of the tmp document
|
|
1142
|
+
*/
|
|
1143
|
+
saveEmailToTmpDocumentAsync(email: carriers.EMailEntity, folderId: number, stripAttachments: boolean, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
1144
|
+
private _saveDraftAsync;
|
|
1145
|
+
/**
|
|
1146
|
+
* Save the Email entity to the drafts folder
|
|
1147
|
+
* @param request - Entity
|
|
1148
|
+
* @returns The saved e-mail entity
|
|
1149
|
+
*/
|
|
1150
|
+
saveDraftAsync(request: carriers.EMail_SaveDraftRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
1151
|
+
/**
|
|
1152
|
+
* Save the Email entity to the drafts folder
|
|
1153
|
+
* @param entity - The entity to save
|
|
1154
|
+
* @returns The saved e-mail entity
|
|
1155
|
+
*/
|
|
1156
|
+
saveDraftAsync(entity: carriers.EMailEntity, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
1157
|
+
private _setRepliedAtAsync;
|
|
1158
|
+
/**
|
|
1159
|
+
* Set the replied_at field based on the MessageID
|
|
1160
|
+
* @param request - MessageId
|
|
1161
|
+
* @returns
|
|
1162
|
+
*/
|
|
1163
|
+
setRepliedAtAsync(request: carriers.EMail_SetRepliedAtRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
1164
|
+
/**
|
|
1165
|
+
* Set the replied_at field based on the MessageID
|
|
1166
|
+
* @param messageId - The MessageID
|
|
1167
|
+
* @returns
|
|
1168
|
+
*/
|
|
1169
|
+
setRepliedAtAsync(messageId: string, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
1170
|
+
private _getEMailFromDocumentIdWithoutAttachmentStreamAsync;
|
|
1171
|
+
/**
|
|
1172
|
+
* Get an e-mail based on an archived document
|
|
1173
|
+
* @param request - DocumentId
|
|
1174
|
+
* @returns The e-mail
|
|
1175
|
+
*/
|
|
1176
|
+
getEMailFromDocumentIdWithoutAttachmentStreamAsync(request: carriers.EMail_GetEMailFromDocumentIdWithoutAttachmentStreamRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
1177
|
+
/**
|
|
1178
|
+
* Get an e-mail based on an archived document
|
|
1179
|
+
* @param documentId - Unique id of the document
|
|
1180
|
+
* @returns The e-mail
|
|
1181
|
+
*/
|
|
1182
|
+
getEMailFromDocumentIdWithoutAttachmentStreamAsync(documentId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
1183
|
+
private _getUnsanitizedEMailFromDocumentIdWithoutAttachmentStreamAsync;
|
|
1184
|
+
/**
|
|
1185
|
+
* Get an e-mail based on an archived document. The returned value is not sanitized.
|
|
1186
|
+
* @param request - DocumentId
|
|
1187
|
+
* @returns The e-mail
|
|
1188
|
+
*/
|
|
1189
|
+
getUnsanitizedEMailFromDocumentIdWithoutAttachmentStreamAsync(request: carriers.EMail_GetUnsanitizedEMailFromDocumentIdWithoutAttachmentStreamRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
1190
|
+
/**
|
|
1191
|
+
* Get an e-mail based on an archived document. The returned value is not sanitized.
|
|
1192
|
+
* @param documentId - Unique id of the document
|
|
1193
|
+
* @returns The e-mail
|
|
1194
|
+
*/
|
|
1195
|
+
getUnsanitizedEMailFromDocumentIdWithoutAttachmentStreamAsync(documentId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailEntity>;
|
|
1196
|
+
private _getAttachmentFromIdAsync;
|
|
1197
|
+
/**
|
|
1198
|
+
* Retrieve an attachment from an e-mail
|
|
1199
|
+
* @param request - MailItemId, AttachmentId
|
|
1200
|
+
* @returns The attachment
|
|
1201
|
+
*/
|
|
1202
|
+
getAttachmentFromIdAsync(request: carriers.EMail_GetAttachmentFromIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAttachment>;
|
|
1203
|
+
/**
|
|
1204
|
+
* Retrieve an attachment from an e-mail
|
|
1205
|
+
* @param mailItemId - Unique ID for the e-mail to retrieve the attachment from
|
|
1206
|
+
* @param attachmentId - Id of the attachment in the e-mail
|
|
1207
|
+
* @returns The attachment
|
|
1208
|
+
*/
|
|
1209
|
+
getAttachmentFromIdAsync(mailItemId: number, attachmentId: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAttachment>;
|
|
1210
|
+
private _getPreviewAttachmentFromIdAsync;
|
|
1211
|
+
/**
|
|
1212
|
+
* Retrieve an attachment from an e-mail. The returned data is intended to be use for a preview.
|
|
1213
|
+
* @param request - MailItemId, AttachmentId, AttachmentType, AttachmentFilename
|
|
1214
|
+
* @returns The attachment
|
|
1215
|
+
*/
|
|
1216
|
+
getPreviewAttachmentFromIdAsync(request: carriers.EMail_GetPreviewAttachmentFromIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAttachment>;
|
|
1217
|
+
/**
|
|
1218
|
+
* Retrieve an attachment from an e-mail. The returned data is intended to be use for a preview.
|
|
1219
|
+
* @param mailItemId - Unique ID for the e-mail to retrieve the attachment from
|
|
1220
|
+
* @param attachmentId - Id of the attachment in the e-mail
|
|
1221
|
+
* @param attachmentType - Mimetype of the attachment. Must be set if attachmentId contains a chain.
|
|
1222
|
+
* @param attachmentFilename - Filename of the attachment. Must be set if attachmentId contains a chain.
|
|
1223
|
+
* @returns The attachment
|
|
1224
|
+
*/
|
|
1225
|
+
getPreviewAttachmentFromIdAsync(mailItemId: number, attachmentId: string, attachmentType: string, attachmentFilename: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAttachment>;
|
|
1226
|
+
private _getUnsanitizedPreviewAttachmentFromIdAsync;
|
|
1227
|
+
/**
|
|
1228
|
+
* Retrieve an attachment from an e-mail. The returned data is intended to be use for a preview. The returned data is not sanitized.
|
|
1229
|
+
* @param request - MailItemId, AttachmentId, AttachmentType, AttachmentFilename
|
|
1230
|
+
* @returns The attachment
|
|
1231
|
+
*/
|
|
1232
|
+
getUnsanitizedPreviewAttachmentFromIdAsync(request: carriers.EMail_GetUnsanitizedPreviewAttachmentFromIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAttachment>;
|
|
1233
|
+
/**
|
|
1234
|
+
* Retrieve an attachment from an e-mail. The returned data is intended to be use for a preview. The returned data is not sanitized.
|
|
1235
|
+
* @param mailItemId - Unique ID for the e-mail to retrieve the attachment from
|
|
1236
|
+
* @param attachmentId - Id of the attachment in the e-mail
|
|
1237
|
+
* @param attachmentType - Mimetype of the attachment. Must be set if attachmentId contains a chain.
|
|
1238
|
+
* @param attachmentFilename - Filename of the attachment. Must be set if attachmentId contains a chain.
|
|
1239
|
+
* @returns The attachment
|
|
1240
|
+
*/
|
|
1241
|
+
getUnsanitizedPreviewAttachmentFromIdAsync(mailItemId: number, attachmentId: string, attachmentType: string, attachmentFilename: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAttachment>;
|
|
1242
|
+
private _getPreviewAttachmentFromDocIdAsync;
|
|
1243
|
+
/**
|
|
1244
|
+
* Retrieve an attachment from an e-mail stored in the document archive. The returned data is intended to be use for a preview.
|
|
1245
|
+
* @param request - DocId, AttachmentId
|
|
1246
|
+
* @returns The attachment
|
|
1247
|
+
*/
|
|
1248
|
+
getPreviewAttachmentFromDocIdAsync(request: carriers.EMail_GetPreviewAttachmentFromDocIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAttachment>;
|
|
1249
|
+
/**
|
|
1250
|
+
* Retrieve an attachment from an e-mail stored in the document archive. The returned data is intended to be use for a preview.
|
|
1251
|
+
* @param docId - Unique ID for the e-mail in the document archive to retrieve the attachment from
|
|
1252
|
+
* @param attachmentId - Id of the attachment in the e-mail
|
|
1253
|
+
* @returns The attachment
|
|
1254
|
+
*/
|
|
1255
|
+
getPreviewAttachmentFromDocIdAsync(docId: number, attachmentId: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAttachment>;
|
|
1256
|
+
private _getUnsanitizedPreviewAttachmentFromDocIdAsync;
|
|
1257
|
+
/**
|
|
1258
|
+
* Retrieve an attachment from an e-mail stored in the document archive. The returned data is intended to be use for a preview. The returned data is not sanitized.
|
|
1259
|
+
* @param request - DocId, AttachmentId
|
|
1260
|
+
* @returns The attachment
|
|
1261
|
+
*/
|
|
1262
|
+
getUnsanitizedPreviewAttachmentFromDocIdAsync(request: carriers.EMail_GetUnsanitizedPreviewAttachmentFromDocIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAttachment>;
|
|
1263
|
+
/**
|
|
1264
|
+
* Retrieve an attachment from an e-mail stored in the document archive. The returned data is intended to be use for a preview. The returned data is not sanitized.
|
|
1265
|
+
* @param docId - Unique ID for the e-mail in the document archive to retrieve the attachment from
|
|
1266
|
+
* @param attachmentId - Id of the attachment in the e-mail
|
|
1267
|
+
* @returns The attachment
|
|
1268
|
+
*/
|
|
1269
|
+
getUnsanitizedPreviewAttachmentFromDocIdAsync(docId: number, attachmentId: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAttachment>;
|
|
1270
|
+
private _testAuthenticateAsync;
|
|
1271
|
+
/**
|
|
1272
|
+
* Test if logged-in user has a working mail account
|
|
1273
|
+
* @returns
|
|
1274
|
+
*/
|
|
1275
|
+
testAuthenticateAsync(webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
1276
|
+
private _toggleSubscriptionAsync;
|
|
1277
|
+
/**
|
|
1278
|
+
* Set subscription on or off on a set of folders
|
|
1279
|
+
* @param request - FolderId, SubscriptionStatus
|
|
1280
|
+
* @returns
|
|
1281
|
+
*/
|
|
1282
|
+
toggleSubscriptionAsync(request: carriers.EMail_ToggleSubscriptionRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
1283
|
+
/**
|
|
1284
|
+
* Set subscription on or off on a set of folders
|
|
1285
|
+
* @param folderId - The folder id to set subscription value on
|
|
1286
|
+
* @param subscriptionStatus - The subscription status to set
|
|
1287
|
+
* @returns
|
|
1288
|
+
*/
|
|
1289
|
+
toggleSubscriptionAsync(folderId: number, subscriptionStatus: boolean, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
1290
|
+
private _hasNewMailAsync;
|
|
1291
|
+
/**
|
|
1292
|
+
* Fast check for new mail in the database
|
|
1293
|
+
* @param request - MailItemId, FolderId
|
|
1294
|
+
* @returns Has new mail if true
|
|
1295
|
+
*/
|
|
1296
|
+
hasNewMailAsync(request: carriers.EMail_HasNewMailRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
1297
|
+
/**
|
|
1298
|
+
* Fast check for new mail in the database
|
|
1299
|
+
* @param mailItemId - The last known mailitemid
|
|
1300
|
+
* @param folderId - The folderId for the folder to check for new mail
|
|
1301
|
+
* @returns Has new mail if true
|
|
1302
|
+
*/
|
|
1303
|
+
hasNewMailAsync(mailItemId: number, folderId: number, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
1304
|
+
private _latestItemIdByFolderAsync;
|
|
1305
|
+
/**
|
|
1306
|
+
* Returns the latest id of the mail item by folder
|
|
1307
|
+
* @param request - FolderId
|
|
1308
|
+
* @returns Mail Item id
|
|
1309
|
+
*/
|
|
1310
|
+
latestItemIdByFolderAsync(request: carriers.EMail_LatestItemIdByFolderRequest, webapi_options?: base.WebApiRequestOptions): Promise<number>;
|
|
1311
|
+
/**
|
|
1312
|
+
* Returns the latest id of the mail item by folder
|
|
1313
|
+
* @param folderId - The folderId for the folder to check for the latest mail id
|
|
1314
|
+
* @returns Mail Item id
|
|
1315
|
+
*/
|
|
1316
|
+
latestItemIdByFolderAsync(folderId: number, webapi_options?: base.WebApiRequestOptions): Promise<number>;
|
|
1317
|
+
private _createInlineHtmlHeaderAsync;
|
|
1318
|
+
/**
|
|
1319
|
+
* Create Outlook style HTML header to use in for instance reply entities and when printing
|
|
1320
|
+
* @param request - Email
|
|
1321
|
+
* @returns The generated HTML header
|
|
1322
|
+
*/
|
|
1323
|
+
createInlineHtmlHeaderAsync(request: carriers.EMail_CreateInlineHtmlHeaderRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
1324
|
+
/**
|
|
1325
|
+
* Create Outlook style HTML header to use in for instance reply entities and when printing
|
|
1326
|
+
* @param email - The e-mail to generate header based on
|
|
1327
|
+
* @returns The generated HTML header
|
|
1328
|
+
*/
|
|
1329
|
+
createInlineHtmlHeaderAsync(email: carriers.EMailEntity, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
1330
|
+
private _getEmailAppointmentAsync;
|
|
1331
|
+
/**
|
|
1332
|
+
* Get appointment data contained in the emails iCal attachment
|
|
1333
|
+
* @param request - MailItemId
|
|
1334
|
+
* @returns Appointment data
|
|
1335
|
+
*/
|
|
1336
|
+
getEmailAppointmentAsync(request: carriers.EMail_GetEmailAppointmentRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAppointment>;
|
|
1337
|
+
/**
|
|
1338
|
+
* Get appointment data contained in the emails iCal attachment
|
|
1339
|
+
* @param mailItemId - Id identifying the email
|
|
1340
|
+
* @returns Appointment data
|
|
1341
|
+
*/
|
|
1342
|
+
getEmailAppointmentAsync(mailItemId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.EMailAppointment>;
|
|
1343
|
+
private _getEmailAppointmentRecurrenceAsync;
|
|
1344
|
+
/**
|
|
1345
|
+
* Get recurrence data contained in the email iCal attachment
|
|
1346
|
+
* @param request - MailItemId
|
|
1347
|
+
* @returns Recurrence information
|
|
1348
|
+
*/
|
|
1349
|
+
getEmailAppointmentRecurrenceAsync(request: carriers.EMail_GetEmailAppointmentRecurrenceRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.RecurrenceInfo>;
|
|
1350
|
+
/**
|
|
1351
|
+
* Get recurrence data contained in the email iCal attachment
|
|
1352
|
+
* @param mailItemId - Id identifying the email
|
|
1353
|
+
* @returns Recurrence information
|
|
1354
|
+
*/
|
|
1355
|
+
getEmailAppointmentRecurrenceAsync(mailItemId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.RecurrenceInfo>;
|
|
1356
|
+
private _getParticipantInfoFromEmailAddressAsync;
|
|
1357
|
+
/**
|
|
1358
|
+
* Get participant data associated with the participant in the emails iCal attachment
|
|
1359
|
+
* @param request - EmailAddress, AppointmentId
|
|
1360
|
+
* @returns Person information
|
|
1361
|
+
*/
|
|
1362
|
+
getParticipantInfoFromEmailAddressAsync(request: carriers.EMail_GetParticipantInfoFromEmailAddressRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Person>;
|
|
1363
|
+
/**
|
|
1364
|
+
* Get participant data associated with the participant in the emails iCal attachment
|
|
1365
|
+
* @param emailAddress - Email address of participant
|
|
1366
|
+
* @param appointmentId - Appointment id of participant
|
|
1367
|
+
* @returns Person information
|
|
1368
|
+
*/
|
|
1369
|
+
getParticipantInfoFromEmailAddressAsync(emailAddress: string, appointmentId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Person>;
|
|
1370
|
+
private _getEmailDocumentAsMimeStreamAsync;
|
|
1371
|
+
/**
|
|
1372
|
+
* Gets a particular document, and tries to parse it, and returns it in MIME/RFC822 format.
|
|
1373
|
+
* @param request - DocumentId
|
|
1374
|
+
* @returns A document-stream representing the document in MIME/RFC822 format.
|
|
1375
|
+
*/
|
|
1376
|
+
getEmailDocumentAsMimeStreamAsync(request: carriers.EMail_GetEmailDocumentAsMimeStreamRequest, webapi_options?: base.WebApiRequestOptions): Promise<ArrayBuffer | string>;
|
|
1377
|
+
/**
|
|
1378
|
+
* Gets a particular document, and tries to parse it, and returns it in MIME/RFC822 format.
|
|
1379
|
+
* @param documentId - SuperOffice document ID
|
|
1380
|
+
* @returns A document-stream representing the document in MIME/RFC822 format.
|
|
1381
|
+
*/
|
|
1382
|
+
getEmailDocumentAsMimeStreamAsync(documentId: number, webapi_options?: base.WebApiRequestOptions): Promise<ArrayBuffer | string>;
|
|
1383
|
+
getEMailSOInfoAsync(eMailSOInfoId: number, options?: base.WebApiRequestOptions): Promise<carriers.EMailSOInfo>;
|
|
1384
|
+
private _getReadySyncEmailAccountsAsync;
|
|
1385
|
+
/**
|
|
1386
|
+
* Gets the list of SyncUserAccounts that should be synced.
|
|
1387
|
+
* @returns List of accounts to sync
|
|
1388
|
+
*/
|
|
1389
|
+
getReadySyncEmailAccountsAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.SyncUserAccount[]>;
|
|
1390
|
+
private _syncEmailAccountAsync;
|
|
1391
|
+
/**
|
|
1392
|
+
* Sync the given account
|
|
1393
|
+
* @param request - SyncUserAccount
|
|
1394
|
+
* @returns A void return
|
|
1395
|
+
*/
|
|
1396
|
+
syncEmailAccountAsync(request: carriers.EMail_SyncEmailAccountRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
1397
|
+
/**
|
|
1398
|
+
* Sync the given account
|
|
1399
|
+
* @param syncUserAccount - Account to sync
|
|
1400
|
+
* @returns A void return
|
|
1401
|
+
*/
|
|
1402
|
+
syncEmailAccountAsync(syncUserAccount: carriers.SyncUserAccount, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
1403
|
+
private _syncEmailAccountsAsync;
|
|
1404
|
+
/**
|
|
1405
|
+
* Start syncing of the given accounts
|
|
1406
|
+
* @param request - SyncUserAccounts
|
|
1407
|
+
* @returns A void return
|
|
1408
|
+
*/
|
|
1409
|
+
syncEmailAccountsAsync(request: carriers.EMail_SyncEmailAccountsRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
1410
|
+
/**
|
|
1411
|
+
* Start syncing of the given accounts
|
|
1412
|
+
* @param syncUserAccounts - Accounts to sync
|
|
1413
|
+
* @returns A void return
|
|
1414
|
+
*/
|
|
1415
|
+
syncEmailAccountsAsync(syncUserAccounts: carriers.SyncUserAccount[], webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
1416
|
+
}
|
|
1417
|
+
//# sourceMappingURL=EMailAgent.d.ts.map
|