@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,1260 @@
|
|
|
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
|
+
* User administration
|
|
7
|
+
*
|
|
8
|
+
* **Online Restricted:** This agent is not available in Online by default. User management is not allowed for partner apps.
|
|
9
|
+
*/
|
|
10
|
+
export interface IUserAgent {
|
|
11
|
+
createDefaultRoleEntityAsync(): Promise<carriers.RoleEntity>;
|
|
12
|
+
saveRoleEntityAsync(entity: carriers.RoleEntity): Promise<carriers.RoleEntity>;
|
|
13
|
+
createDefaultServiceAuthAsync(): Promise<carriers.ServiceAuth>;
|
|
14
|
+
saveServiceAuthAsync(entity: carriers.ServiceAuth): Promise<carriers.ServiceAuth>;
|
|
15
|
+
deleteServiceAuthAsync(ServiceAuthId: number): Promise<void>;
|
|
16
|
+
createDefaultUntrustedCredentialsAsync(): Promise<carriers.UntrustedCredentials>;
|
|
17
|
+
createDefaultUserAsync(): Promise<carriers.User>;
|
|
18
|
+
saveUserAsync(entity: carriers.User): Promise<carriers.User>;
|
|
19
|
+
deleteUserAsync(UserId: number): Promise<void>;
|
|
20
|
+
getAccessGatewayInfoAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.AccessGatewayInfo>;
|
|
21
|
+
getOrRegisterAccessGatewayInfoAsync(request: carriers.User_GetOrRegisterAccessGatewayInfoRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AccessGatewayInfo>;
|
|
22
|
+
getOrRegisterAccessGatewayInfoAsync(redirectUri: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AccessGatewayInfo>;
|
|
23
|
+
registerWithAccessGatewayAsync(request: carriers.User_RegisterWithAccessGatewayRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AccessGatewayInfo>;
|
|
24
|
+
registerWithAccessGatewayAsync(redirectUri: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AccessGatewayInfo>;
|
|
25
|
+
checkAccessGatewayRegistrationAsync(webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
26
|
+
saveCredentialAsync(request: carriers.User_SaveCredentialRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
27
|
+
saveCredentialAsync(userId: number, credential: carriers.Credential, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
28
|
+
deleteCredentialAsync(request: carriers.User_DeleteCredentialRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
29
|
+
deleteCredentialAsync(userId: number, credentialType: string, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
30
|
+
findCredentialsGroupsAsync(request: carriers.User_FindCredentialsGroupsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.CredentialsGroup[]>;
|
|
31
|
+
findCredentialsGroupsAsync(type: string, searchString: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.CredentialsGroup[]>;
|
|
32
|
+
findCredentialUsersAsync(request: carriers.User_FindCredentialUsersRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.CredentialsGroupUsers>;
|
|
33
|
+
findCredentialUsersAsync(type: string, searchString: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.CredentialsGroupUsers>;
|
|
34
|
+
getCredentialUsersInGroupAsync(request: carriers.User_GetCredentialUsersInGroupRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.CredentialsGroupUsers>;
|
|
35
|
+
getCredentialUsersInGroupAsync(type: string, groupName: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.CredentialsGroupUsers>;
|
|
36
|
+
getRoleAsync(roleId: number): Promise<carriers.Role>;
|
|
37
|
+
getRoleEntityAsync(roleEntityId: number): Promise<carriers.RoleEntity>;
|
|
38
|
+
deleteRoleAsync(request: carriers.User_DeleteRoleRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
39
|
+
deleteRoleAsync(roleIdToDelete: number, replacingRoleId: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
40
|
+
getAllRolesAsync(request: carriers.User_GetAllRolesRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.SelectableMDOListItem[]>;
|
|
41
|
+
getAllRolesAsync(roleType: enums.RoleType, webapi_options?: base.WebApiRequestOptions): Promise<carriers.SelectableMDOListItem[]>;
|
|
42
|
+
getAllFunctionalRightsAsync(request: carriers.User_GetAllFunctionalRightsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.SelectableMDOListItem[]>;
|
|
43
|
+
getAllFunctionalRightsAsync(roleType: enums.RoleType, webapi_options?: base.WebApiRequestOptions): Promise<carriers.SelectableMDOListItem[]>;
|
|
44
|
+
getFunctionalRightsAsync(request: carriers.User_GetFunctionalRightsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.SelectableMDOListItem[]>;
|
|
45
|
+
getFunctionalRightsAsync(roleId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.SelectableMDOListItem[]>;
|
|
46
|
+
setFunctionalRightsAsync(request: carriers.User_SetFunctionalRightsRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
47
|
+
setFunctionalRightsAsync(roleId: number, functionalRightIds: number[], webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
48
|
+
setDataRightAsync(request: carriers.User_SetDataRightRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
49
|
+
setDataRightAsync(roleId: number, tableName: string, relationToOwner: enums.RoleRelationToOwner, dataRightValue: string, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
50
|
+
getDataRightAsync(request: carriers.User_GetDataRightRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
51
|
+
getDataRightAsync(roleId: number, tableName: string, relationToOwner: enums.RoleRelationToOwner, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
52
|
+
getDataRightsAsync(request: carriers.User_GetDataRightsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.StringDictionary>;
|
|
53
|
+
getDataRightsAsync(roleId: number, tableName: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.StringDictionary>;
|
|
54
|
+
createDefaultRoleEntityFromTypeAsync(request: carriers.User_CreateDefaultRoleEntityFromTypeRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.RoleEntity>;
|
|
55
|
+
createDefaultRoleEntityFromTypeAsync(type: enums.RoleType, webapi_options?: base.WebApiRequestOptions): Promise<carriers.RoleEntity>;
|
|
56
|
+
findRolesWithFunctionalRightAsync(request: carriers.User_FindRolesWithFunctionalRightRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.MDOListItem[]>;
|
|
57
|
+
findRolesWithFunctionalRightAsync(functionalRightName: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.MDOListItem[]>;
|
|
58
|
+
findRolesWithFunctionalRightsAsync(request: carriers.User_FindRolesWithFunctionalRightsRequest, webapi_options?: base.WebApiRequestOptions): Promise<number[]>;
|
|
59
|
+
findRolesWithFunctionalRightsAsync(functionalRightNames: string[], webapi_options?: base.WebApiRequestOptions): Promise<number[]>;
|
|
60
|
+
findRolesWithoutFunctionalRightsAsync(request: carriers.User_FindRolesWithoutFunctionalRightsRequest, webapi_options?: base.WebApiRequestOptions): Promise<number[]>;
|
|
61
|
+
findRolesWithoutFunctionalRightsAsync(functionalRightNames: string[], webapi_options?: base.WebApiRequestOptions): Promise<number[]>;
|
|
62
|
+
getServiceAuthAsync(serviceAuthId: number): Promise<carriers.ServiceAuth>;
|
|
63
|
+
saveExternalTokensAsync(request: carriers.User_SaveExternalTokensRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
64
|
+
saveExternalTokensAsync(tokenManagementInfo: carriers.TokenManagementInfo, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
65
|
+
decryptAndSaveExternalTokensAsync(request: carriers.User_DecryptAndSaveExternalTokensRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
66
|
+
decryptAndSaveExternalTokensAsync(tokenManagementInfo: carriers.TokenManagementInfo, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
67
|
+
getExternalTokensAsync(request: carriers.User_GetExternalTokensRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.TokenManagementInfo>;
|
|
68
|
+
getExternalTokensAsync(key: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.TokenManagementInfo>;
|
|
69
|
+
getUserAsync(userId: number): Promise<carriers.User>;
|
|
70
|
+
getUserFromNameAsync(request: carriers.User_GetUserFromNameRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User>;
|
|
71
|
+
getUserFromNameAsync(userName: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User>;
|
|
72
|
+
saveUserFromNameAsync(request: carriers.User_SaveUserFromNameRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User>;
|
|
73
|
+
saveUserFromNameAsync(userName: string, user: carriers.User, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User>;
|
|
74
|
+
deleteUserFromNameAsync(request: carriers.User_DeleteUserFromNameRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
75
|
+
deleteUserFromNameAsync(userName: string, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
76
|
+
getCredentialTypesAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.CredentialType[]>;
|
|
77
|
+
getCredentialTypesForUserTypeAsync(request: carriers.User_GetCredentialTypesForUserTypeRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.CredentialType[]>;
|
|
78
|
+
getCredentialTypesForUserTypeAsync(userType: enums.UserType, webapi_options?: base.WebApiRequestOptions): Promise<carriers.CredentialType[]>;
|
|
79
|
+
saveUntrustedCredentialsAsync(request: carriers.User_SaveUntrustedCredentialsRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
80
|
+
saveUntrustedCredentialsAsync(type: string, credentials: carriers.UntrustedCredentials, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
81
|
+
getUntrustedCredentialsAsync(request: carriers.User_GetUntrustedCredentialsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UntrustedCredentials[]>;
|
|
82
|
+
getUntrustedCredentialsAsync(type: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UntrustedCredentials[]>;
|
|
83
|
+
getUntrustedCredentialsForAssociateAsync(request: carriers.User_GetUntrustedCredentialsForAssociateRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UntrustedCredentials[]>;
|
|
84
|
+
getUntrustedCredentialsForAssociateAsync(associateId: number, type: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UntrustedCredentials[]>;
|
|
85
|
+
saveUntrustedCredentialsForAssociateAsync(request: carriers.User_SaveUntrustedCredentialsForAssociateRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
86
|
+
saveUntrustedCredentialsForAssociateAsync(associateId: number, type: string, credentials: carriers.UntrustedCredentials, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
87
|
+
removeUntrustedCredentialsAsync(request: carriers.User_RemoveUntrustedCredentialsRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
88
|
+
removeUntrustedCredentialsAsync(type: string, publicValue: string, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
89
|
+
removeUntrustedCredentialsForAssociateAsync(request: carriers.User_RemoveUntrustedCredentialsForAssociateRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
90
|
+
removeUntrustedCredentialsForAssociateAsync(associateId: number, type: string, publicValue: string, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
91
|
+
createExternalUserAsync(request: carriers.User_CreateExternalUserRequest, webapi_options?: base.WebApiRequestOptions): Promise<number>;
|
|
92
|
+
createExternalUserAsync(personId: number, userName: string, password: string, roleId: number, isActive: boolean, webapi_options?: base.WebApiRequestOptions): Promise<number>;
|
|
93
|
+
deleteExternalUserAsync(request: carriers.User_DeleteExternalUserRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
94
|
+
deleteExternalUserAsync(associateId: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
95
|
+
setExternalUserInfoAsync(request: carriers.User_SetExternalUserInfoRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
96
|
+
setExternalUserInfoAsync(associateId: number, userName: string, password: string, isActive: boolean, roleId: number, externalUserInfoModification: enums.ExternalUserInfoModification, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
97
|
+
generateNewPasswordForExternalUserAsync(request: carriers.User_GenerateNewPasswordForExternalUserRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
98
|
+
generateNewPasswordForExternalUserAsync(associateName: string, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
99
|
+
canChangePasswordAsync(request: carriers.User_CanChangePasswordRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
100
|
+
canChangePasswordAsync(associateId: number, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
101
|
+
getSupportedChangePasswordTypesAsync(request: carriers.User_GetSupportedChangePasswordTypesRequest, webapi_options?: base.WebApiRequestOptions): Promise<enums.ChangePasswordType[]>;
|
|
102
|
+
getSupportedChangePasswordTypesAsync(associateId: number, webapi_options?: base.WebApiRequestOptions): Promise<enums.ChangePasswordType[]>;
|
|
103
|
+
changePasswordAsync(request: carriers.User_ChangePasswordRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
104
|
+
changePasswordAsync(associateId: number, oldPassword: string, newPassword: string, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
105
|
+
sendChangePasswordEMailAsync(request: carriers.User_SendChangePasswordEMailRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.OperationResult>;
|
|
106
|
+
sendChangePasswordEMailAsync(associateId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.OperationResult>;
|
|
107
|
+
getUserFromPersonIdAsync(request: carriers.User_GetUserFromPersonIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User[]>;
|
|
108
|
+
getUserFromPersonIdAsync(personId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User[]>;
|
|
109
|
+
createDefaultUserFromUserTypeAndPersonIdAsync(request: carriers.User_CreateDefaultUserFromUserTypeAndPersonIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User>;
|
|
110
|
+
createDefaultUserFromUserTypeAndPersonIdAsync(userType: enums.UserType, personId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User>;
|
|
111
|
+
createDefaultUserFromUserTypeAsync(request: carriers.User_CreateDefaultUserFromUserTypeRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User>;
|
|
112
|
+
createDefaultUserFromUserTypeAsync(userType: enums.UserType, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User>;
|
|
113
|
+
getUserFromEjUserIdAsync(request: carriers.User_GetUserFromEjUserIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User[]>;
|
|
114
|
+
getUserFromEjUserIdAsync(ejUserId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User[]>;
|
|
115
|
+
setPasswordFromNameAsync(request: carriers.User_SetPasswordFromNameRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
116
|
+
setPasswordFromNameAsync(associateName: string, password: string, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
117
|
+
setPasswordAsync(request: carriers.User_SetPasswordRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
118
|
+
setPasswordAsync(associateId: number, password: string, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
119
|
+
changeOwnPasswordAsync(request: carriers.User_ChangeOwnPasswordRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
120
|
+
changeOwnPasswordAsync(oldPassword: string, newPassword: string, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
121
|
+
changePasswordFromNameAsync(request: carriers.User_ChangePasswordFromNameRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
122
|
+
changePasswordFromNameAsync(associateName: string, oldPassword: string, newPassword: string, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
123
|
+
isUserNameValidAsync(request: carriers.User_IsUserNameValidRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
124
|
+
isUserNameValidAsync(associateId: number, type: enums.UserType, personId: number, userName: string, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
125
|
+
isPasswordValidAsync(request: carriers.User_IsPasswordValidRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
126
|
+
isPasswordValidAsync(associateId: number, type: enums.UserType, personId: number, password: string, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
127
|
+
setGeneratedPasswordAsync(request: carriers.User_SetGeneratedPasswordRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
128
|
+
setGeneratedPasswordAsync(associateId: number, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
129
|
+
setGeneratedPasswordFromNameAsync(request: carriers.User_SetGeneratedPasswordFromNameRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
130
|
+
setGeneratedPasswordFromNameAsync(associateName: string, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
131
|
+
isPasswordValidWithReasonAsync(request: carriers.User_IsPasswordValidWithReasonRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UserValidationResult>;
|
|
132
|
+
isPasswordValidWithReasonAsync(associateId: number, type: enums.UserType, personId: number, password: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UserValidationResult>;
|
|
133
|
+
isUserNameValidWithReasonAsync(request: carriers.User_IsUserNameValidWithReasonRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UserValidationResult>;
|
|
134
|
+
isUserNameValidWithReasonAsync(associateId: number, type: enums.UserType, personId: number, userName: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UserValidationResult>;
|
|
135
|
+
changeUserTypeAsync(request: carriers.User_ChangeUserTypeRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User>;
|
|
136
|
+
changeUserTypeAsync(user: carriers.User, userType: enums.UserType, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User>;
|
|
137
|
+
createDefaultUserFromUserTypeAndCredentialAsync(request: carriers.User_CreateDefaultUserFromUserTypeAndCredentialRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User>;
|
|
138
|
+
createDefaultUserFromUserTypeAndCredentialAsync(userType: enums.UserType, contactId: number, credentialType: string, credentialValue: string, credentialDisplayValue: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User>;
|
|
139
|
+
getValidUserNameAsync(request: carriers.User_GetValidUserNameRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
140
|
+
getValidUserNameAsync(associateId: number, type: enums.UserType, personId: number, userName: string, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
141
|
+
removeLicensesAsync(request: carriers.User_RemoveLicensesRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
142
|
+
removeLicensesAsync(associateId: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
143
|
+
makeRetiredAsync(request: carriers.User_MakeRetiredRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
144
|
+
makeRetiredAsync(associateId: number, retired: boolean, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
145
|
+
addOwnerContactAsync(request: carriers.User_AddOwnerContactRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
146
|
+
addOwnerContactAsync(contactId: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
147
|
+
removeOwnerContactAsync(request: carriers.User_RemoveOwnerContactRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
148
|
+
removeOwnerContactAsync(contactId: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
149
|
+
resolveUserFromInfoAsync(request: carriers.User_ResolveUserFromInfoRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ResolvedUser>;
|
|
150
|
+
resolveUserFromInfoAsync(contactId: number, personName: string, phoneNumbers: string[], emails: string[], userType: enums.UserType, credential: carriers.Credential, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ResolvedUser>;
|
|
151
|
+
getAccessTokenAsync(request: carriers.User_GetAccessTokenRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
152
|
+
getAccessTokenAsync(appToken: string, includeCsSession: boolean, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
153
|
+
getValidUserNameForNewUserAsync(request: carriers.User_GetValidUserNameForNewUserRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
154
|
+
getValidUserNameForNewUserAsync(user: carriers.User, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
155
|
+
getDefaultAssociateUserNameAsync(request: carriers.User_GetDefaultAssociateUserNameRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
156
|
+
getDefaultAssociateUserNameAsync(user: carriers.User, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
157
|
+
isNickNameUniqueAsync(request: carriers.User_IsNickNameUniqueRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
158
|
+
isNickNameUniqueAsync(associateId: number, nickName: string, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
159
|
+
validateUserAsync(request: carriers.User_ValidateUserRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.StringDictionary>;
|
|
160
|
+
validateUserAsync(user: carriers.User, webapi_options?: base.WebApiRequestOptions): Promise<carriers.StringDictionary>;
|
|
161
|
+
getUserPresenceStatusAsync(request: carriers.User_GetUserPresenceStatusRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UserPresenceStatus>;
|
|
162
|
+
getUserPresenceStatusAsync(associateId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UserPresenceStatus>;
|
|
163
|
+
setUserPresenceStatusAsync(request: carriers.User_SetUserPresenceStatusRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UserPresenceStatus>;
|
|
164
|
+
setUserPresenceStatusAsync(associateId: number, userPresenceStatus: carriers.UserPresenceStatus, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UserPresenceStatus>;
|
|
165
|
+
getUserGroupAsync(userGroupId: number): Promise<carriers.UserGroup>;
|
|
166
|
+
saveUserGroupAsync(request: carriers.User_SaveUserGroupRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UserGroup>;
|
|
167
|
+
saveUserGroupAsync(userGroup: carriers.UserGroup, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UserGroup>;
|
|
168
|
+
getAllUserGroupsAsync(request: carriers.User_GetAllUserGroupsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UserGroup[]>;
|
|
169
|
+
getAllUserGroupsAsync(includeDeleted: boolean, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UserGroup[]>;
|
|
170
|
+
createUserGroupAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.UserGroup>;
|
|
171
|
+
deleteUserGroupAsync(request: carriers.User_DeleteUserGroupRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
172
|
+
deleteUserGroupAsync(userGroupToDelete: number, userGroupToMoveTo: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
173
|
+
getUserGroupListAsync(userGroupIds: number[]): Promise<carriers.UserGroup[]>;
|
|
174
|
+
getUserInfoAsync(userInfoId: number): Promise<carriers.UserInfo>;
|
|
175
|
+
getUserInfoListAsync(userInfoIds: number[]): Promise<carriers.UserInfo[]>;
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* User administration
|
|
179
|
+
*/
|
|
180
|
+
export declare class UserAgent extends base.WebApiBase implements IUserAgent {
|
|
181
|
+
constructor(baseUrl?: string, languageCode?: string, cultureCode?: string);
|
|
182
|
+
constructor(baseUrl?: string, resourceParsing?: base.ResourceParsing);
|
|
183
|
+
constructor(baseUrl: string, resourceManager: any);
|
|
184
|
+
constructor(baseUrl: string, config: AxiosRequestConfig, resourceManager: any);
|
|
185
|
+
constructor(baseUrl: string, config: AxiosRequestConfig, resourceParsing?: base.ResourceParsing);
|
|
186
|
+
constructor(baseUrl: string, config: AxiosRequestConfig, languageCode?: string, cultureCode?: string);
|
|
187
|
+
constructor(options: base.WebApiOptions);
|
|
188
|
+
/**
|
|
189
|
+
* Set default values into a new RoleEntity.
|
|
190
|
+
* NetServer calculates default values on the entity, which is required when creating/storing a new instance
|
|
191
|
+
* @param options - Override language/culture codes on this request. Provide cancellation and request status values.
|
|
192
|
+
* @returns A blank entity.
|
|
193
|
+
*/
|
|
194
|
+
createDefaultRoleEntityAsync(options?: base.WebApiRequestOptions): Promise<carriers.RoleEntity>;
|
|
195
|
+
saveRoleEntityAsync(entity: carriers.RoleEntity, options?: base.WebApiRequestOptions): Promise<carriers.RoleEntity>;
|
|
196
|
+
/**
|
|
197
|
+
* Set default values into a new ServiceAuth.
|
|
198
|
+
* NetServer calculates default values on the entity, which is required when creating/storing a new instance
|
|
199
|
+
* @param options - Override language/culture codes on this request. Provide cancellation and request status values.
|
|
200
|
+
* @returns A blank entity.
|
|
201
|
+
*/
|
|
202
|
+
createDefaultServiceAuthAsync(options?: base.WebApiRequestOptions): Promise<carriers.ServiceAuth>;
|
|
203
|
+
saveServiceAuthAsync(entity: carriers.ServiceAuth, options?: base.WebApiRequestOptions): Promise<carriers.ServiceAuth>;
|
|
204
|
+
deleteServiceAuthAsync(ServiceAuthId: number, options?: base.WebApiRequestOptions): Promise<void>;
|
|
205
|
+
/**
|
|
206
|
+
* Set default values into a new UntrustedCredentials.
|
|
207
|
+
* NetServer calculates default values on the entity, which is required when creating/storing a new instance
|
|
208
|
+
* @param options - Override language/culture codes on this request. Provide cancellation and request status values.
|
|
209
|
+
* @returns A blank entity.
|
|
210
|
+
*/
|
|
211
|
+
createDefaultUntrustedCredentialsAsync(options?: base.WebApiRequestOptions): Promise<carriers.UntrustedCredentials>;
|
|
212
|
+
/**
|
|
213
|
+
* Set default values into a new User.
|
|
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
|
+
createDefaultUserAsync(options?: base.WebApiRequestOptions): Promise<carriers.User>;
|
|
219
|
+
saveUserAsync(entity: carriers.User, options?: base.WebApiRequestOptions): Promise<carriers.User>;
|
|
220
|
+
getUserCommandsAsync(request: carriers.GetUserCommandsRequest, options?: base.WebApiRequestOptions): Promise<carriers.CustomCommand[]>;
|
|
221
|
+
ExecuteUserCommandAsync(request: carriers.ExecuteUserCommandRequest, options?: base.WebApiRequestOptions): Promise<carriers.CommandResult>;
|
|
222
|
+
deleteUserAsync(UserId: number, options?: base.WebApiRequestOptions): Promise<void>;
|
|
223
|
+
private _getAccessGatewayInfoAsync;
|
|
224
|
+
/**
|
|
225
|
+
* Returns accessgateway registration info
|
|
226
|
+
* @returns
|
|
227
|
+
*/
|
|
228
|
+
getAccessGatewayInfoAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.AccessGatewayInfo>;
|
|
229
|
+
private _getOrRegisterAccessGatewayInfoAsync;
|
|
230
|
+
/**
|
|
231
|
+
* Returns accessgateway registration info and registers a new or adds the url if necessary
|
|
232
|
+
* @param request - RedirectUri
|
|
233
|
+
* @returns
|
|
234
|
+
*/
|
|
235
|
+
getOrRegisterAccessGatewayInfoAsync(request: carriers.User_GetOrRegisterAccessGatewayInfoRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AccessGatewayInfo>;
|
|
236
|
+
/**
|
|
237
|
+
* Returns accessgateway registration info and registers a new or adds the url if necessary
|
|
238
|
+
* @param redirectUri - This is the registered redirect_uri for AccessGateway OIDC.
|
|
239
|
+
* @returns
|
|
240
|
+
*/
|
|
241
|
+
getOrRegisterAccessGatewayInfoAsync(redirectUri: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AccessGatewayInfo>;
|
|
242
|
+
private _registerWithAccessGatewayAsync;
|
|
243
|
+
/**
|
|
244
|
+
* Registers with access gateway if not already done, otherwise will attempt to update
|
|
245
|
+
* @param request - RedirectUri
|
|
246
|
+
* @returns
|
|
247
|
+
*/
|
|
248
|
+
registerWithAccessGatewayAsync(request: carriers.User_RegisterWithAccessGatewayRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AccessGatewayInfo>;
|
|
249
|
+
/**
|
|
250
|
+
* Registers with access gateway if not already done, otherwise will attempt to update
|
|
251
|
+
* @param redirectUri - This is the registered redirect_uri for AccessGateway OIDC.
|
|
252
|
+
* @returns
|
|
253
|
+
*/
|
|
254
|
+
registerWithAccessGatewayAsync(redirectUri: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.AccessGatewayInfo>;
|
|
255
|
+
private _checkAccessGatewayRegistrationAsync;
|
|
256
|
+
/**
|
|
257
|
+
* Checks if AccessGatewayRegistration is valid
|
|
258
|
+
* @returns True if the registration is usable
|
|
259
|
+
*/
|
|
260
|
+
checkAccessGatewayRegistrationAsync(webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
261
|
+
private _saveCredentialAsync;
|
|
262
|
+
/**
|
|
263
|
+
* Save (adds/replaces) current credential of the same type for the user.
|
|
264
|
+
* @param request - UserId, Credential
|
|
265
|
+
* @returns True if the credential was successfully saved.
|
|
266
|
+
*/
|
|
267
|
+
saveCredentialAsync(request: carriers.User_SaveCredentialRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
268
|
+
/**
|
|
269
|
+
* Save (adds/replaces) current credential of the same type for the user.
|
|
270
|
+
* @param userId - Primary key of the user (i.e. associate)
|
|
271
|
+
* @param credential - Credentials supported for authentication
|
|
272
|
+
* @returns True if the credential was successfully saved.
|
|
273
|
+
*/
|
|
274
|
+
saveCredentialAsync(userId: number, credential: carriers.Credential, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
275
|
+
private _deleteCredentialAsync;
|
|
276
|
+
/**
|
|
277
|
+
* Remove credential of a specific type for a user
|
|
278
|
+
* @param request - UserId, CredentialType
|
|
279
|
+
* @returns True if credential was sucessfully removed.
|
|
280
|
+
*/
|
|
281
|
+
deleteCredentialAsync(request: carriers.User_DeleteCredentialRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
282
|
+
/**
|
|
283
|
+
* Remove credential of a specific type for a user
|
|
284
|
+
* @param userId - Primary key of the user (i.e. associate)
|
|
285
|
+
* @param credentialType - Type of credentials, corresponding to name of plugin and type in the credentials table
|
|
286
|
+
* @returns True if credential was sucessfully removed.
|
|
287
|
+
*/
|
|
288
|
+
deleteCredentialAsync(userId: number, credentialType: string, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
289
|
+
private _findCredentialsGroupsAsync;
|
|
290
|
+
/**
|
|
291
|
+
* Get user groups holding users filtered by the searchString. This method is only relevant if the CredentialType control is of type link. There will allways be at least one groups even if the underlying provider does not support groups.
|
|
292
|
+
* @param request - Type, SearchString
|
|
293
|
+
* @returns
|
|
294
|
+
*/
|
|
295
|
+
findCredentialsGroupsAsync(request: carriers.User_FindCredentialsGroupsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.CredentialsGroup[]>;
|
|
296
|
+
/**
|
|
297
|
+
* Get user groups holding users filtered by the searchString. This method is only relevant if the CredentialType control is of type link. There will allways be at least one groups even if the underlying provider does not support groups.
|
|
298
|
+
* @param type - Type of credentials, corresponding to name of plugin and type in the credentials table.
|
|
299
|
+
* @param searchString - Partly name of domain group.
|
|
300
|
+
* @returns
|
|
301
|
+
*/
|
|
302
|
+
findCredentialsGroupsAsync(type: string, searchString: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.CredentialsGroup[]>;
|
|
303
|
+
private _findCredentialUsersAsync;
|
|
304
|
+
/**
|
|
305
|
+
* Find users matching the partial name.
|
|
306
|
+
* @param request - Type, SearchString
|
|
307
|
+
* @returns
|
|
308
|
+
*/
|
|
309
|
+
findCredentialUsersAsync(request: carriers.User_FindCredentialUsersRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.CredentialsGroupUsers>;
|
|
310
|
+
/**
|
|
311
|
+
* Find users matching the partial name.
|
|
312
|
+
* @param type - Type of credentials, corresponding to name of plugin and type in the credentials table.
|
|
313
|
+
* @param searchString - Partly name of the user group
|
|
314
|
+
* @returns
|
|
315
|
+
*/
|
|
316
|
+
findCredentialUsersAsync(type: string, searchString: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.CredentialsGroupUsers>;
|
|
317
|
+
private _getCredentialUsersInGroupAsync;
|
|
318
|
+
/**
|
|
319
|
+
* Get credential users within a user group
|
|
320
|
+
* @param request - Type, GroupName
|
|
321
|
+
* @returns
|
|
322
|
+
*/
|
|
323
|
+
getCredentialUsersInGroupAsync(request: carriers.User_GetCredentialUsersInGroupRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.CredentialsGroupUsers>;
|
|
324
|
+
/**
|
|
325
|
+
* Get credential users within a user group
|
|
326
|
+
* @param type - Type of credentials, corresponding to name of plugin and type in the credentials table.
|
|
327
|
+
* @param groupName - Name of user group needed to discover the users.
|
|
328
|
+
* @returns
|
|
329
|
+
*/
|
|
330
|
+
getCredentialUsersInGroupAsync(type: string, groupName: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.CredentialsGroupUsers>;
|
|
331
|
+
getRoleAsync(roleId: number, options?: base.WebApiRequestOptions): Promise<carriers.Role>;
|
|
332
|
+
getRoleEntityAsync(roleEntityId: number, options?: base.WebApiRequestOptions): Promise<carriers.RoleEntity>;
|
|
333
|
+
private _deleteRoleAsync;
|
|
334
|
+
/**
|
|
335
|
+
* Delete the specified role and move all users associated with the role to the replacingRoleId
|
|
336
|
+
* @param request - RoleIdToDelete, ReplacingRoleId
|
|
337
|
+
* @returns
|
|
338
|
+
*/
|
|
339
|
+
deleteRoleAsync(request: carriers.User_DeleteRoleRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
340
|
+
/**
|
|
341
|
+
* Delete the specified role and move all users associated with the role to the replacingRoleId
|
|
342
|
+
* @param roleIdToDelete - The roleId to delete
|
|
343
|
+
* @param replacingRoleId - The roleId which all associated users will be moved to.
|
|
344
|
+
* @returns
|
|
345
|
+
*/
|
|
346
|
+
deleteRoleAsync(roleIdToDelete: number, replacingRoleId: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
347
|
+
private _getAllRolesAsync;
|
|
348
|
+
/**
|
|
349
|
+
* Get a list of all roles for the given type of role. MDO List name = 'Roles', extra='0' (roleType)
|
|
350
|
+
* @param request - RoleType
|
|
351
|
+
* @returns FunctionRight items with name and description. Code name for function right is in the extra-info property.
|
|
352
|
+
*/
|
|
353
|
+
getAllRolesAsync(request: carriers.User_GetAllRolesRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.SelectableMDOListItem[]>;
|
|
354
|
+
/**
|
|
355
|
+
* Get a list of all roles for the given type of role. MDO List name = 'Roles', extra='0' (roleType)
|
|
356
|
+
* @param roleType - Type of role (Employee/External/Anonymous/System)
|
|
357
|
+
* @returns FunctionRight items with name and description. Code name for function right is in the extra-info property.
|
|
358
|
+
*/
|
|
359
|
+
getAllRolesAsync(roleType: enums.RoleType, webapi_options?: base.WebApiRequestOptions): Promise<carriers.SelectableMDOListItem[]>;
|
|
360
|
+
private _getAllFunctionalRightsAsync;
|
|
361
|
+
/**
|
|
362
|
+
* Get a list of all functional rights for the given type of role. MDO List name = 'FunctionRights', extra='roleType=0'
|
|
363
|
+
* @param request - RoleType
|
|
364
|
+
* @returns FunctionRight items with name and description. Code name for function right is in the extra-info property.
|
|
365
|
+
*/
|
|
366
|
+
getAllFunctionalRightsAsync(request: carriers.User_GetAllFunctionalRightsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.SelectableMDOListItem[]>;
|
|
367
|
+
/**
|
|
368
|
+
* Get a list of all functional rights for the given type of role. MDO List name = 'FunctionRights', extra='roleType=0'
|
|
369
|
+
* @param roleType - Type of role (Employee/External/Anonymous/System)
|
|
370
|
+
* @returns FunctionRight items with name and description. Code name for function right is in the extra-info property.
|
|
371
|
+
*/
|
|
372
|
+
getAllFunctionalRightsAsync(roleType: enums.RoleType, webapi_options?: base.WebApiRequestOptions): Promise<carriers.SelectableMDOListItem[]>;
|
|
373
|
+
private _getFunctionalRightsAsync;
|
|
374
|
+
/**
|
|
375
|
+
* Get all functional rights for the given role. Functional rights not set on the role are not included. MDO List name = 'FunctionRights', extra='role=123'
|
|
376
|
+
* @param request - RoleId
|
|
377
|
+
* @returns FunctionRight items with name and description. Code name for function right is in the extra-info property.
|
|
378
|
+
*/
|
|
379
|
+
getFunctionalRightsAsync(request: carriers.User_GetFunctionalRightsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.SelectableMDOListItem[]>;
|
|
380
|
+
/**
|
|
381
|
+
* Get all functional rights for the given role. Functional rights not set on the role are not included. MDO List name = 'FunctionRights', extra='role=123'
|
|
382
|
+
* @param roleId - The role id to get the functional rights for.
|
|
383
|
+
* @returns FunctionRight items with name and description. Code name for function right is in the extra-info property.
|
|
384
|
+
*/
|
|
385
|
+
getFunctionalRightsAsync(roleId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.SelectableMDOListItem[]>;
|
|
386
|
+
private _setFunctionalRightsAsync;
|
|
387
|
+
/**
|
|
388
|
+
* Set all functional rights for the given role. Functional rights not specified here will be removed from the role.
|
|
389
|
+
* @param request - RoleId, FunctionalRightIds
|
|
390
|
+
* @returns
|
|
391
|
+
*/
|
|
392
|
+
setFunctionalRightsAsync(request: carriers.User_SetFunctionalRightsRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
393
|
+
/**
|
|
394
|
+
* Set all functional rights for the given role. Functional rights not specified here will be removed from the role.
|
|
395
|
+
* @param roleId - The role id to set the functional rights for
|
|
396
|
+
* @param functionalRightIds - An array of functional rights ids to set for this role. Rights not included here are removed from the role.
|
|
397
|
+
* @returns
|
|
398
|
+
*/
|
|
399
|
+
setFunctionalRightsAsync(roleId: number, functionalRightIds: number[], webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
400
|
+
private _setDataRightAsync;
|
|
401
|
+
/**
|
|
402
|
+
* Set one specific data right at the given position. An exception will be thrown if non existing position is specified.
|
|
403
|
+
* @param request - RoleId, TableName, RelationToOwner, DataRightValue
|
|
404
|
+
* @returns
|
|
405
|
+
*/
|
|
406
|
+
setDataRightAsync(request: carriers.User_SetDataRightRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
407
|
+
/**
|
|
408
|
+
* Set one specific data right at the given position. An exception will be thrown if non existing position is specified.
|
|
409
|
+
* @param roleId - The role id to set the data right for
|
|
410
|
+
* @param tableName - The name of the entity/table
|
|
411
|
+
* @param relationToOwner - The id of the relation to owner
|
|
412
|
+
* @param dataRightValue - The data right value to set at the specified position (CRUD)
|
|
413
|
+
* @returns
|
|
414
|
+
*/
|
|
415
|
+
setDataRightAsync(roleId: number, tableName: string, relationToOwner: enums.RoleRelationToOwner, dataRightValue: string, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
416
|
+
private _getDataRightAsync;
|
|
417
|
+
/**
|
|
418
|
+
* Read one specific data right at the given position. An exception will be thrown if non existing position is specified.
|
|
419
|
+
* @param request - RoleId, TableName, RelationToOwner
|
|
420
|
+
* @returns The data right value at the specified position (C, CR, CRU, or CRUD)
|
|
421
|
+
*/
|
|
422
|
+
getDataRightAsync(request: carriers.User_GetDataRightRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
423
|
+
/**
|
|
424
|
+
* Read one specific data right at the given position. An exception will be thrown if non existing position is specified.
|
|
425
|
+
* @param roleId - The role id to set the data right for
|
|
426
|
+
* @param tableName - The name of the entity/table
|
|
427
|
+
* @param relationToOwner - The id of the relation to owner
|
|
428
|
+
* @returns The data right value at the specified position (C, CR, CRU, or CRUD)
|
|
429
|
+
*/
|
|
430
|
+
getDataRightAsync(roleId: number, tableName: string, relationToOwner: enums.RoleRelationToOwner, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
431
|
+
private _getDataRightsAsync;
|
|
432
|
+
/**
|
|
433
|
+
* Read specific a set of data rights at the given row in the rights matrix. An exception will be thrown if non existing position is specified.
|
|
434
|
+
* @param request - RoleId, TableName
|
|
435
|
+
* @returns The data right values for all the defined relationships (C, CR, CRU, or CRUD)
|
|
436
|
+
*/
|
|
437
|
+
getDataRightsAsync(request: carriers.User_GetDataRightsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.StringDictionary>;
|
|
438
|
+
/**
|
|
439
|
+
* Read specific a set of data rights at the given row in the rights matrix. An exception will be thrown if non existing position is specified.
|
|
440
|
+
* @param roleId - The role id to set the data right for
|
|
441
|
+
* @param tableName - The name of the entity/table
|
|
442
|
+
* @returns The data right values for all the defined relationships (C, CR, CRU, or CRUD)
|
|
443
|
+
*/
|
|
444
|
+
getDataRightsAsync(roleId: number, tableName: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.StringDictionary>;
|
|
445
|
+
private _createDefaultRoleEntityFromTypeAsync;
|
|
446
|
+
/**
|
|
447
|
+
* Create a new role entity of the specified role type. The role type cannot be changed after the entity is created.
|
|
448
|
+
* @param request - Type
|
|
449
|
+
* @returns A blank role.
|
|
450
|
+
*/
|
|
451
|
+
createDefaultRoleEntityFromTypeAsync(request: carriers.User_CreateDefaultRoleEntityFromTypeRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.RoleEntity>;
|
|
452
|
+
/**
|
|
453
|
+
* Create a new role entity of the specified role type. The role type cannot be changed after the entity is created.
|
|
454
|
+
* @param type - Type of role (Employee/External/Anonymous/System)
|
|
455
|
+
* @returns A blank role.
|
|
456
|
+
*/
|
|
457
|
+
createDefaultRoleEntityFromTypeAsync(type: enums.RoleType, webapi_options?: base.WebApiRequestOptions): Promise<carriers.RoleEntity>;
|
|
458
|
+
private _findRolesWithFunctionalRightAsync;
|
|
459
|
+
/**
|
|
460
|
+
* Find all roles with a given functional right. The roles matched must contain the specified functional right.
|
|
461
|
+
* @param request - FunctionalRightName
|
|
462
|
+
* @returns Roles that contains the given functional right
|
|
463
|
+
*/
|
|
464
|
+
findRolesWithFunctionalRightAsync(request: carriers.User_FindRolesWithFunctionalRightRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.MDOListItem[]>;
|
|
465
|
+
/**
|
|
466
|
+
* Find all roles with a given functional right. The roles matched must contain the specified functional right.
|
|
467
|
+
* @param functionalRightName - Functional right name to search for
|
|
468
|
+
* @returns Roles that contains the given functional right
|
|
469
|
+
*/
|
|
470
|
+
findRolesWithFunctionalRightAsync(functionalRightName: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.MDOListItem[]>;
|
|
471
|
+
private _findRolesWithFunctionalRightsAsync;
|
|
472
|
+
/**
|
|
473
|
+
* Find all roles with a given set of functional rights. The roles matched must contain one or more of the specified functional rights.
|
|
474
|
+
* @param request - FunctionalRightNames
|
|
475
|
+
* @returns Role ids that contains your functional rights
|
|
476
|
+
*/
|
|
477
|
+
findRolesWithFunctionalRightsAsync(request: carriers.User_FindRolesWithFunctionalRightsRequest, webapi_options?: base.WebApiRequestOptions): Promise<number[]>;
|
|
478
|
+
/**
|
|
479
|
+
* Find all roles with a given set of functional rights. The roles matched must contain one or more of the specified functional rights.
|
|
480
|
+
* @param functionalRightNames - An array of functional rights names to search for
|
|
481
|
+
* @returns Role ids that contains your functional rights
|
|
482
|
+
*/
|
|
483
|
+
findRolesWithFunctionalRightsAsync(functionalRightNames: string[], webapi_options?: base.WebApiRequestOptions): Promise<number[]>;
|
|
484
|
+
private _findRolesWithoutFunctionalRightsAsync;
|
|
485
|
+
/**
|
|
486
|
+
* Find all roles without a given set of functional rights. The roles matched must not contain any of the specified functional rights.
|
|
487
|
+
* @param request - FunctionalRightNames
|
|
488
|
+
* @returns Role ids that without your functional rights
|
|
489
|
+
*/
|
|
490
|
+
findRolesWithoutFunctionalRightsAsync(request: carriers.User_FindRolesWithoutFunctionalRightsRequest, webapi_options?: base.WebApiRequestOptions): Promise<number[]>;
|
|
491
|
+
/**
|
|
492
|
+
* Find all roles without a given set of functional rights. The roles matched must not contain any of the specified functional rights.
|
|
493
|
+
* @param functionalRightNames - An array of functional rights names to search for
|
|
494
|
+
* @returns Role ids that without your functional rights
|
|
495
|
+
*/
|
|
496
|
+
findRolesWithoutFunctionalRightsAsync(functionalRightNames: string[], webapi_options?: base.WebApiRequestOptions): Promise<number[]>;
|
|
497
|
+
getServiceAuthAsync(serviceAuthId: number, options?: base.WebApiRequestOptions): Promise<carriers.ServiceAuth>;
|
|
498
|
+
private _saveExternalTokensAsync;
|
|
499
|
+
/**
|
|
500
|
+
* Saves the external tokens to the DB and returns a key that can be used to retrieve them
|
|
501
|
+
* @param request - TokenManagementInfo
|
|
502
|
+
* @returns Key that can be used to retrieve the tokens
|
|
503
|
+
*/
|
|
504
|
+
saveExternalTokensAsync(request: carriers.User_SaveExternalTokensRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
505
|
+
/**
|
|
506
|
+
* Saves the external tokens to the DB and returns a key that can be used to retrieve them
|
|
507
|
+
* @param tokenManagementInfo - Token information.
|
|
508
|
+
* @returns Key that can be used to retrieve the tokens
|
|
509
|
+
*/
|
|
510
|
+
saveExternalTokensAsync(tokenManagementInfo: carriers.TokenManagementInfo, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
511
|
+
private _decryptAndSaveExternalTokensAsync;
|
|
512
|
+
/**
|
|
513
|
+
* First asks AccessGateway to decrypt the tokens, then saves the external tokens to the DB and returns a key that can be used to retrieve them
|
|
514
|
+
* @param request - TokenManagementInfo
|
|
515
|
+
* @returns Key that can be used to retrieve the tokens
|
|
516
|
+
*/
|
|
517
|
+
decryptAndSaveExternalTokensAsync(request: carriers.User_DecryptAndSaveExternalTokensRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
518
|
+
/**
|
|
519
|
+
* First asks AccessGateway to decrypt the tokens, then saves the external tokens to the DB and returns a key that can be used to retrieve them
|
|
520
|
+
* @param tokenManagementInfo - Token information.
|
|
521
|
+
* @returns Key that can be used to retrieve the tokens
|
|
522
|
+
*/
|
|
523
|
+
decryptAndSaveExternalTokensAsync(tokenManagementInfo: carriers.TokenManagementInfo, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
524
|
+
private _getExternalTokensAsync;
|
|
525
|
+
/**
|
|
526
|
+
* Retrieve the tokens from the DB based on the given key
|
|
527
|
+
* @param request - Key
|
|
528
|
+
* @returns Key to retrieve tokens
|
|
529
|
+
*/
|
|
530
|
+
getExternalTokensAsync(request: carriers.User_GetExternalTokensRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.TokenManagementInfo>;
|
|
531
|
+
/**
|
|
532
|
+
* Retrieve the tokens from the DB based on the given key
|
|
533
|
+
* @param key - Token retrievel key
|
|
534
|
+
* @returns Key to retrieve tokens
|
|
535
|
+
*/
|
|
536
|
+
getExternalTokensAsync(key: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.TokenManagementInfo>;
|
|
537
|
+
getUserAsync(userId: number, options?: base.WebApiRequestOptions): Promise<carriers.User>;
|
|
538
|
+
private _getUserFromNameAsync;
|
|
539
|
+
/**
|
|
540
|
+
* Get a user, with lookup based on user name.
|
|
541
|
+
* @param request - UserName
|
|
542
|
+
* @returns User retrieved by name
|
|
543
|
+
*/
|
|
544
|
+
getUserFromNameAsync(request: carriers.User_GetUserFromNameRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User>;
|
|
545
|
+
/**
|
|
546
|
+
* Get a user, with lookup based on user name.
|
|
547
|
+
* @param userName - User name of the user to get.
|
|
548
|
+
* @returns User retrieved by name
|
|
549
|
+
*/
|
|
550
|
+
getUserFromNameAsync(userName: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User>;
|
|
551
|
+
private _saveUserFromNameAsync;
|
|
552
|
+
/**
|
|
553
|
+
* Save a user, with lookup based on the user name.
|
|
554
|
+
* @param request - UserName, User
|
|
555
|
+
* @returns User retrieved by name
|
|
556
|
+
*/
|
|
557
|
+
saveUserFromNameAsync(request: carriers.User_SaveUserFromNameRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User>;
|
|
558
|
+
/**
|
|
559
|
+
* Save a user, with lookup based on the user name.
|
|
560
|
+
* @param userName - User name of the user to get.
|
|
561
|
+
* @param user - User object to save.
|
|
562
|
+
* @returns User retrieved by name
|
|
563
|
+
*/
|
|
564
|
+
saveUserFromNameAsync(userName: string, user: carriers.User, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User>;
|
|
565
|
+
private _deleteUserFromNameAsync;
|
|
566
|
+
/**
|
|
567
|
+
* Delete a user, with lookup based on the user name.
|
|
568
|
+
* @param request - UserName
|
|
569
|
+
* @returns This method has no return value
|
|
570
|
+
*/
|
|
571
|
+
deleteUserFromNameAsync(request: carriers.User_DeleteUserFromNameRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
572
|
+
/**
|
|
573
|
+
* Delete a user, with lookup based on the user name.
|
|
574
|
+
* @param userName - User name of the user to delete.
|
|
575
|
+
* @returns This method has no return value
|
|
576
|
+
*/
|
|
577
|
+
deleteUserFromNameAsync(userName: string, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
578
|
+
private _getCredentialTypesAsync;
|
|
579
|
+
/**
|
|
580
|
+
* Get available credential types that can be used for authentication
|
|
581
|
+
* @returns Credential types that can be used for authentication
|
|
582
|
+
*/
|
|
583
|
+
getCredentialTypesAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.CredentialType[]>;
|
|
584
|
+
private _getCredentialTypesForUserTypeAsync;
|
|
585
|
+
/**
|
|
586
|
+
* Get available credential types that can be used for the specified user type.
|
|
587
|
+
* @param request - UserType
|
|
588
|
+
* @returns Credential types that can be used for authentication
|
|
589
|
+
*/
|
|
590
|
+
getCredentialTypesForUserTypeAsync(request: carriers.User_GetCredentialTypesForUserTypeRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.CredentialType[]>;
|
|
591
|
+
/**
|
|
592
|
+
* Get available credential types that can be used for the specified user type.
|
|
593
|
+
* @param userType - The user type to retrieve credential types for
|
|
594
|
+
* @returns Credential types that can be used for authentication
|
|
595
|
+
*/
|
|
596
|
+
getCredentialTypesForUserTypeAsync(userType: enums.UserType, webapi_options?: base.WebApiRequestOptions): Promise<carriers.CredentialType[]>;
|
|
597
|
+
private _saveUntrustedCredentialsAsync;
|
|
598
|
+
/**
|
|
599
|
+
* Save credentials for authenticated user.
|
|
600
|
+
* @param request - Type, Credentials
|
|
601
|
+
* @returns
|
|
602
|
+
*/
|
|
603
|
+
saveUntrustedCredentialsAsync(request: carriers.User_SaveUntrustedCredentialsRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
604
|
+
/**
|
|
605
|
+
* Save credentials for authenticated user.
|
|
606
|
+
* @param type - Type of credential(Ex: "imap", "smtp")
|
|
607
|
+
* @param credentials - Credentials to save.
|
|
608
|
+
* @returns
|
|
609
|
+
*/
|
|
610
|
+
saveUntrustedCredentialsAsync(type: string, credentials: carriers.UntrustedCredentials, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
611
|
+
private _getUntrustedCredentialsAsync;
|
|
612
|
+
/**
|
|
613
|
+
* Get a set of credentials of a specified type for authenticated user.
|
|
614
|
+
* @param request - Type
|
|
615
|
+
* @returns Array of credentials of the specified type.
|
|
616
|
+
*/
|
|
617
|
+
getUntrustedCredentialsAsync(request: carriers.User_GetUntrustedCredentialsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UntrustedCredentials[]>;
|
|
618
|
+
/**
|
|
619
|
+
* Get a set of credentials of a specified type for authenticated user.
|
|
620
|
+
* @param type - Type of credential(Ex: "imap", "smtp").
|
|
621
|
+
* @returns Array of credentials of the specified type.
|
|
622
|
+
*/
|
|
623
|
+
getUntrustedCredentialsAsync(type: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UntrustedCredentials[]>;
|
|
624
|
+
private _getUntrustedCredentialsForAssociateAsync;
|
|
625
|
+
/**
|
|
626
|
+
* Get a set of credentials of a specified type for a specified user. SecretValue is only populated for authenticated user, and system users.
|
|
627
|
+
* @param request - AssociateId, Type
|
|
628
|
+
* @returns Array of credentials of the specified type.
|
|
629
|
+
*/
|
|
630
|
+
getUntrustedCredentialsForAssociateAsync(request: carriers.User_GetUntrustedCredentialsForAssociateRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UntrustedCredentials[]>;
|
|
631
|
+
/**
|
|
632
|
+
* Get a set of credentials of a specified type for a specified user. SecretValue is only populated for authenticated user, and system users.
|
|
633
|
+
* @param associateId - Id of user to retrieve credentials for.
|
|
634
|
+
* @param type - Type of credential(Ex: "imap", "smtp").
|
|
635
|
+
* @returns Array of credentials of the specified type.
|
|
636
|
+
*/
|
|
637
|
+
getUntrustedCredentialsForAssociateAsync(associateId: number, type: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UntrustedCredentials[]>;
|
|
638
|
+
private _saveUntrustedCredentialsForAssociateAsync;
|
|
639
|
+
/**
|
|
640
|
+
* Save credentials for a specified user.
|
|
641
|
+
* @param request - AssociateId, Type, Credentials
|
|
642
|
+
* @returns
|
|
643
|
+
*/
|
|
644
|
+
saveUntrustedCredentialsForAssociateAsync(request: carriers.User_SaveUntrustedCredentialsForAssociateRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
645
|
+
/**
|
|
646
|
+
* Save credentials for a specified user.
|
|
647
|
+
* @param associateId - Id of user to save credentials for.
|
|
648
|
+
* @param type - Type of credential(Ex: "imap", "smtp")
|
|
649
|
+
* @param credentials - Credentials to save.
|
|
650
|
+
* @returns
|
|
651
|
+
*/
|
|
652
|
+
saveUntrustedCredentialsForAssociateAsync(associateId: number, type: string, credentials: carriers.UntrustedCredentials, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
653
|
+
private _removeUntrustedCredentialsAsync;
|
|
654
|
+
/**
|
|
655
|
+
* Remove a credentials entry for authenticated user.
|
|
656
|
+
* @param request - Type, PublicValue
|
|
657
|
+
* @returns
|
|
658
|
+
*/
|
|
659
|
+
removeUntrustedCredentialsAsync(request: carriers.User_RemoveUntrustedCredentialsRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
660
|
+
/**
|
|
661
|
+
* Remove a credentials entry for authenticated user.
|
|
662
|
+
* @param type - Type of credential(Ex: "imap", "smtp")
|
|
663
|
+
* @param publicValue - PublicValue field of credentials to remove.
|
|
664
|
+
* @returns
|
|
665
|
+
*/
|
|
666
|
+
removeUntrustedCredentialsAsync(type: string, publicValue: string, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
667
|
+
private _removeUntrustedCredentialsForAssociateAsync;
|
|
668
|
+
/**
|
|
669
|
+
* Remove a credentials entry for a specified user.
|
|
670
|
+
* @param request - AssociateId, Type, PublicValue
|
|
671
|
+
* @returns
|
|
672
|
+
*/
|
|
673
|
+
removeUntrustedCredentialsForAssociateAsync(request: carriers.User_RemoveUntrustedCredentialsForAssociateRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
674
|
+
/**
|
|
675
|
+
* Remove a credentials entry for a specified user.
|
|
676
|
+
* @param associateId - Id of user to remove credentials for.
|
|
677
|
+
* @param type - Type of credential(Ex: "imap", "smtp")
|
|
678
|
+
* @param publicValue - PublicValue field of credentials to remove.
|
|
679
|
+
* @returns
|
|
680
|
+
*/
|
|
681
|
+
removeUntrustedCredentialsForAssociateAsync(associateId: number, type: string, publicValue: string, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
682
|
+
private _createExternalUserAsync;
|
|
683
|
+
/**
|
|
684
|
+
* Creates an associate of type external user.
|
|
685
|
+
* @param request - PersonId, UserName, Password, RoleId, IsActive
|
|
686
|
+
* @returns Returns the created associateId.
|
|
687
|
+
*/
|
|
688
|
+
createExternalUserAsync(request: carriers.User_CreateExternalUserRequest, webapi_options?: base.WebApiRequestOptions): Promise<number>;
|
|
689
|
+
/**
|
|
690
|
+
* Creates an associate of type external user.
|
|
691
|
+
* @param personId - The personId to create an external user for.
|
|
692
|
+
* @param userName - Login username.
|
|
693
|
+
* @param password - Login password.
|
|
694
|
+
* @param roleId - Id of role for the external user. The role must be a role of type external users.
|
|
695
|
+
* @param isActive - Set isActive to true to enable the external user to log in.
|
|
696
|
+
* @returns Returns the created associateId.
|
|
697
|
+
*/
|
|
698
|
+
createExternalUserAsync(personId: number, userName: string, password: string, roleId: number, isActive: boolean, webapi_options?: base.WebApiRequestOptions): Promise<number>;
|
|
699
|
+
private _deleteExternalUserAsync;
|
|
700
|
+
/**
|
|
701
|
+
* Deletes an associate of type external user.
|
|
702
|
+
* @param request - AssociateId
|
|
703
|
+
* @returns
|
|
704
|
+
*/
|
|
705
|
+
deleteExternalUserAsync(request: carriers.User_DeleteExternalUserRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
706
|
+
/**
|
|
707
|
+
* Deletes an associate of type external user.
|
|
708
|
+
* @param associateId - The associateId to delete the associate entry for.
|
|
709
|
+
* @returns
|
|
710
|
+
*/
|
|
711
|
+
deleteExternalUserAsync(associateId: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
712
|
+
private _setExternalUserInfoAsync;
|
|
713
|
+
/**
|
|
714
|
+
* Modifies an external user. Changes external users information according to the flags set in externalUserInfoModification.
|
|
715
|
+
* @param request - AssociateId, UserName, Password, IsActive, RoleId, ExternalUserInfoModification
|
|
716
|
+
* @returns
|
|
717
|
+
*/
|
|
718
|
+
setExternalUserInfoAsync(request: carriers.User_SetExternalUserInfoRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
719
|
+
/**
|
|
720
|
+
* Modifies an external user. Changes external users information according to the flags set in externalUserInfoModification.
|
|
721
|
+
* @param associateId - The associateId to alter.
|
|
722
|
+
* @param userName - Login username.
|
|
723
|
+
* @param password - Login password.
|
|
724
|
+
* @param isActive - Set isActive to true to enable the external user to log in.
|
|
725
|
+
* @param roleId - Id of role for the external user. The role must be a role of type external users.
|
|
726
|
+
* @param externalUserInfoModification - externalUserInfoModification is a flag describing what to change. <see cref="SuperOffice.CRM.Services.Util.ExternalUserInfoModification"/>.
|
|
727
|
+
* @returns
|
|
728
|
+
*/
|
|
729
|
+
setExternalUserInfoAsync(associateId: number, userName: string, password: string, isActive: boolean, roleId: number, externalUserInfoModification: enums.ExternalUserInfoModification, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
730
|
+
private _generateNewPasswordForExternalUserAsync;
|
|
731
|
+
/**
|
|
732
|
+
* Generates a new password for an external user.
|
|
733
|
+
* @param request - AssociateName
|
|
734
|
+
* @returns Returns the generated password.
|
|
735
|
+
*/
|
|
736
|
+
generateNewPasswordForExternalUserAsync(request: carriers.User_GenerateNewPasswordForExternalUserRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
737
|
+
/**
|
|
738
|
+
* Generates a new password for an external user.
|
|
739
|
+
* @param associateName - The name of the associate to change the password for.
|
|
740
|
+
* @returns Returns the generated password.
|
|
741
|
+
*/
|
|
742
|
+
generateNewPasswordForExternalUserAsync(associateName: string, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
743
|
+
private _canChangePasswordAsync;
|
|
744
|
+
/**
|
|
745
|
+
* Check if the current assoicate can change the password for an associate
|
|
746
|
+
* @param request - AssociateId
|
|
747
|
+
* @returns True if the associate can change the password
|
|
748
|
+
*/
|
|
749
|
+
canChangePasswordAsync(request: carriers.User_CanChangePasswordRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
750
|
+
/**
|
|
751
|
+
* Check if the current assoicate can change the password for an associate
|
|
752
|
+
* @param associateId - AssociateId of the user to check if password can be changed
|
|
753
|
+
* @returns True if the associate can change the password
|
|
754
|
+
*/
|
|
755
|
+
canChangePasswordAsync(associateId: number, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
756
|
+
private _getSupportedChangePasswordTypesAsync;
|
|
757
|
+
/**
|
|
758
|
+
* Get the different methods the user can use to change password
|
|
759
|
+
* @param request - AssociateId
|
|
760
|
+
* @returns List of types - empty if the user cannot change password in any way
|
|
761
|
+
*/
|
|
762
|
+
getSupportedChangePasswordTypesAsync(request: carriers.User_GetSupportedChangePasswordTypesRequest, webapi_options?: base.WebApiRequestOptions): Promise<enums.ChangePasswordType[]>;
|
|
763
|
+
/**
|
|
764
|
+
* Get the different methods the user can use to change password
|
|
765
|
+
* @param associateId - AssociateId of the user to check if password can be changed
|
|
766
|
+
* @returns List of types - empty if the user cannot change password in any way
|
|
767
|
+
*/
|
|
768
|
+
getSupportedChangePasswordTypesAsync(associateId: number, webapi_options?: base.WebApiRequestOptions): Promise<enums.ChangePasswordType[]>;
|
|
769
|
+
private _changePasswordAsync;
|
|
770
|
+
/**
|
|
771
|
+
* Change password for a user.
|
|
772
|
+
* @param request - AssociateId, OldPassword, NewPassword
|
|
773
|
+
* @returns True if the password was successfully changed.
|
|
774
|
+
*/
|
|
775
|
+
changePasswordAsync(request: carriers.User_ChangePasswordRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
776
|
+
/**
|
|
777
|
+
* Change password for a user.
|
|
778
|
+
* @param associateId - AssociateId of the user to change password for.
|
|
779
|
+
* @param oldPassword - The current password of the user. Administrators can leave this blank to force a new password upon a user.
|
|
780
|
+
* @param newPassword - The new password for the user
|
|
781
|
+
* @returns True if the password was successfully changed.
|
|
782
|
+
*/
|
|
783
|
+
changePasswordAsync(associateId: number, oldPassword: string, newPassword: string, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
784
|
+
private _sendChangePasswordEMailAsync;
|
|
785
|
+
/**
|
|
786
|
+
* Send a change password email to this users registered address.
|
|
787
|
+
* @param request - AssociateId
|
|
788
|
+
* @returns Result - with result flag and optional error reason.
|
|
789
|
+
*/
|
|
790
|
+
sendChangePasswordEMailAsync(request: carriers.User_SendChangePasswordEMailRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.OperationResult>;
|
|
791
|
+
/**
|
|
792
|
+
* Send a change password email to this users registered address.
|
|
793
|
+
* @param associateId - AssociateId of the user to change password for.
|
|
794
|
+
* @returns Result - with result flag and optional error reason.
|
|
795
|
+
*/
|
|
796
|
+
sendChangePasswordEMailAsync(associateId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.OperationResult>;
|
|
797
|
+
private _getUserFromPersonIdAsync;
|
|
798
|
+
/**
|
|
799
|
+
* Returns the user associated with the supplied person id
|
|
800
|
+
* @param request - PersonId
|
|
801
|
+
* @returns
|
|
802
|
+
*/
|
|
803
|
+
getUserFromPersonIdAsync(request: carriers.User_GetUserFromPersonIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User[]>;
|
|
804
|
+
/**
|
|
805
|
+
* Returns the user associated with the supplied person id
|
|
806
|
+
* @param personId -
|
|
807
|
+
* @returns
|
|
808
|
+
*/
|
|
809
|
+
getUserFromPersonIdAsync(personId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User[]>;
|
|
810
|
+
private _createDefaultUserFromUserTypeAndPersonIdAsync;
|
|
811
|
+
/**
|
|
812
|
+
* Create default User providing the associate type and person id. System and Anonymous users can be created without an exsisting person and permits person id to be 0.
|
|
813
|
+
* @param request - UserType, PersonId
|
|
814
|
+
* @returns New user object with defalt values set.
|
|
815
|
+
*/
|
|
816
|
+
createDefaultUserFromUserTypeAndPersonIdAsync(request: carriers.User_CreateDefaultUserFromUserTypeAndPersonIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User>;
|
|
817
|
+
/**
|
|
818
|
+
* Create default User providing the associate type and person id. System and Anonymous users can be created without an exsisting person and permits person id to be 0.
|
|
819
|
+
* @param userType - Type of associate for the user
|
|
820
|
+
* @param personId - Primary key of the person to become a user.
|
|
821
|
+
* @returns New user object with defalt values set.
|
|
822
|
+
*/
|
|
823
|
+
createDefaultUserFromUserTypeAndPersonIdAsync(userType: enums.UserType, personId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User>;
|
|
824
|
+
private _createDefaultUserFromUserTypeAsync;
|
|
825
|
+
/**
|
|
826
|
+
* Create default User providing the user type. Only System and Anonymous users can be created without an exsisting person. Use CreateDefaultUserFromUserTypeAndPersonId to create internal (i.e. Employee) or external users.
|
|
827
|
+
* @param request - UserType
|
|
828
|
+
* @returns New user object with defalt values set.
|
|
829
|
+
*/
|
|
830
|
+
createDefaultUserFromUserTypeAsync(request: carriers.User_CreateDefaultUserFromUserTypeRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User>;
|
|
831
|
+
/**
|
|
832
|
+
* Create default User providing the user type. Only System and Anonymous users can be created without an exsisting person. Use CreateDefaultUserFromUserTypeAndPersonId to create internal (i.e. Employee) or external users.
|
|
833
|
+
* @param userType - Type of associate for the user. This can only be System or Anonymous. Use CreateDefaultUserFromUserTypeAndPersonId to create internal (i.e. Employee) or external users.
|
|
834
|
+
* @returns New user object with defalt values set.
|
|
835
|
+
*/
|
|
836
|
+
createDefaultUserFromUserTypeAsync(userType: enums.UserType, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User>;
|
|
837
|
+
private _getUserFromEjUserIdAsync;
|
|
838
|
+
/**
|
|
839
|
+
* Get user from ejUserId - used for eJournal Legacy Support.
|
|
840
|
+
* @param request - EjUserId
|
|
841
|
+
* @returns
|
|
842
|
+
*/
|
|
843
|
+
getUserFromEjUserIdAsync(request: carriers.User_GetUserFromEjUserIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User[]>;
|
|
844
|
+
/**
|
|
845
|
+
* Get user from ejUserId - used for eJournal Legacy Support.
|
|
846
|
+
* @param ejUserId - ejUserId -
|
|
847
|
+
* @returns
|
|
848
|
+
*/
|
|
849
|
+
getUserFromEjUserIdAsync(ejUserId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User[]>;
|
|
850
|
+
private _setPasswordFromNameAsync;
|
|
851
|
+
/**
|
|
852
|
+
* Change password for a user.
|
|
853
|
+
* @param request - AssociateName, Password
|
|
854
|
+
* @returns Succeeded?
|
|
855
|
+
*/
|
|
856
|
+
setPasswordFromNameAsync(request: carriers.User_SetPasswordFromNameRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
857
|
+
/**
|
|
858
|
+
* Change password for a user.
|
|
859
|
+
* @param associateName - Username to set password for
|
|
860
|
+
* @param password - New password
|
|
861
|
+
* @returns Succeeded?
|
|
862
|
+
*/
|
|
863
|
+
setPasswordFromNameAsync(associateName: string, password: string, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
864
|
+
private _setPasswordAsync;
|
|
865
|
+
/**
|
|
866
|
+
* Change password for a user.
|
|
867
|
+
* @param request - AssociateId, Password
|
|
868
|
+
* @returns Succeeded?
|
|
869
|
+
*/
|
|
870
|
+
setPasswordAsync(request: carriers.User_SetPasswordRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
871
|
+
/**
|
|
872
|
+
* Change password for a user.
|
|
873
|
+
* @param associateId - Id of User to set password for
|
|
874
|
+
* @param password - New password
|
|
875
|
+
* @returns Succeeded?
|
|
876
|
+
*/
|
|
877
|
+
setPasswordAsync(associateId: number, password: string, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
878
|
+
private _changeOwnPasswordAsync;
|
|
879
|
+
/**
|
|
880
|
+
* Change password for a user.
|
|
881
|
+
* @param request - OldPassword, NewPassword
|
|
882
|
+
* @returns True if the password was successfully changed.
|
|
883
|
+
*/
|
|
884
|
+
changeOwnPasswordAsync(request: carriers.User_ChangeOwnPasswordRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
885
|
+
/**
|
|
886
|
+
* Change password for a user.
|
|
887
|
+
* @param oldPassword - The current password of the user. Administrators can leave this blank to force a new password upon a user.
|
|
888
|
+
* @param newPassword - The new password for the user
|
|
889
|
+
* @returns True if the password was successfully changed.
|
|
890
|
+
*/
|
|
891
|
+
changeOwnPasswordAsync(oldPassword: string, newPassword: string, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
892
|
+
private _changePasswordFromNameAsync;
|
|
893
|
+
/**
|
|
894
|
+
* Change password for a user.
|
|
895
|
+
* @param request - AssociateName, OldPassword, NewPassword
|
|
896
|
+
* @returns True if the password was successfully changed.
|
|
897
|
+
*/
|
|
898
|
+
changePasswordFromNameAsync(request: carriers.User_ChangePasswordFromNameRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
899
|
+
/**
|
|
900
|
+
* Change password for a user.
|
|
901
|
+
* @param associateName - Username of the user to change password for.
|
|
902
|
+
* @param oldPassword - The current password of the user. Administrators can leave this blank to force a new password upon a user.
|
|
903
|
+
* @param newPassword - The new password for the user
|
|
904
|
+
* @returns True if the password was successfully changed.
|
|
905
|
+
*/
|
|
906
|
+
changePasswordFromNameAsync(associateName: string, oldPassword: string, newPassword: string, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
907
|
+
private _isUserNameValidAsync;
|
|
908
|
+
/**
|
|
909
|
+
*
|
|
910
|
+
* @param request - AssociateId, Type, PersonId, UserName
|
|
911
|
+
* @returns
|
|
912
|
+
*/
|
|
913
|
+
isUserNameValidAsync(request: carriers.User_IsUserNameValidRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
914
|
+
/**
|
|
915
|
+
*
|
|
916
|
+
* @param associateId -
|
|
917
|
+
* @param type -
|
|
918
|
+
* @param personId -
|
|
919
|
+
* @param userName -
|
|
920
|
+
* @returns
|
|
921
|
+
*/
|
|
922
|
+
isUserNameValidAsync(associateId: number, type: enums.UserType, personId: number, userName: string, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
923
|
+
private _isPasswordValidAsync;
|
|
924
|
+
/**
|
|
925
|
+
*
|
|
926
|
+
* @param request - AssociateId, Type, PersonId, Password
|
|
927
|
+
* @returns
|
|
928
|
+
*/
|
|
929
|
+
isPasswordValidAsync(request: carriers.User_IsPasswordValidRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
930
|
+
/**
|
|
931
|
+
*
|
|
932
|
+
* @param associateId -
|
|
933
|
+
* @param type -
|
|
934
|
+
* @param personId -
|
|
935
|
+
* @param password -
|
|
936
|
+
* @returns
|
|
937
|
+
*/
|
|
938
|
+
isPasswordValidAsync(associateId: number, type: enums.UserType, personId: number, password: string, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
939
|
+
private _setGeneratedPasswordAsync;
|
|
940
|
+
/**
|
|
941
|
+
*
|
|
942
|
+
* @param request - AssociateId
|
|
943
|
+
* @returns
|
|
944
|
+
*/
|
|
945
|
+
setGeneratedPasswordAsync(request: carriers.User_SetGeneratedPasswordRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
946
|
+
/**
|
|
947
|
+
*
|
|
948
|
+
* @param associateId -
|
|
949
|
+
* @returns
|
|
950
|
+
*/
|
|
951
|
+
setGeneratedPasswordAsync(associateId: number, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
952
|
+
private _setGeneratedPasswordFromNameAsync;
|
|
953
|
+
/**
|
|
954
|
+
*
|
|
955
|
+
* @param request - AssociateName
|
|
956
|
+
* @returns
|
|
957
|
+
*/
|
|
958
|
+
setGeneratedPasswordFromNameAsync(request: carriers.User_SetGeneratedPasswordFromNameRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
959
|
+
/**
|
|
960
|
+
*
|
|
961
|
+
* @param associateName -
|
|
962
|
+
* @returns
|
|
963
|
+
*/
|
|
964
|
+
setGeneratedPasswordFromNameAsync(associateName: string, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
965
|
+
private _isPasswordValidWithReasonAsync;
|
|
966
|
+
/**
|
|
967
|
+
*
|
|
968
|
+
* @param request - AssociateId, Type, PersonId, Password
|
|
969
|
+
* @returns
|
|
970
|
+
*/
|
|
971
|
+
isPasswordValidWithReasonAsync(request: carriers.User_IsPasswordValidWithReasonRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UserValidationResult>;
|
|
972
|
+
/**
|
|
973
|
+
*
|
|
974
|
+
* @param associateId -
|
|
975
|
+
* @param type -
|
|
976
|
+
* @param personId -
|
|
977
|
+
* @param password -
|
|
978
|
+
* @returns
|
|
979
|
+
*/
|
|
980
|
+
isPasswordValidWithReasonAsync(associateId: number, type: enums.UserType, personId: number, password: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UserValidationResult>;
|
|
981
|
+
private _isUserNameValidWithReasonAsync;
|
|
982
|
+
/**
|
|
983
|
+
*
|
|
984
|
+
* @param request - AssociateId, Type, PersonId, UserName
|
|
985
|
+
* @returns
|
|
986
|
+
*/
|
|
987
|
+
isUserNameValidWithReasonAsync(request: carriers.User_IsUserNameValidWithReasonRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UserValidationResult>;
|
|
988
|
+
/**
|
|
989
|
+
*
|
|
990
|
+
* @param associateId -
|
|
991
|
+
* @param type -
|
|
992
|
+
* @param personId -
|
|
993
|
+
* @param userName -
|
|
994
|
+
* @returns
|
|
995
|
+
*/
|
|
996
|
+
isUserNameValidWithReasonAsync(associateId: number, type: enums.UserType, personId: number, userName: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UserValidationResult>;
|
|
997
|
+
private _changeUserTypeAsync;
|
|
998
|
+
/**
|
|
999
|
+
* Get a user from the user name.
|
|
1000
|
+
* @param request - User, UserType
|
|
1001
|
+
* @returns User retrieved by name
|
|
1002
|
+
*/
|
|
1003
|
+
changeUserTypeAsync(request: carriers.User_ChangeUserTypeRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User>;
|
|
1004
|
+
/**
|
|
1005
|
+
* Get a user from the user name.
|
|
1006
|
+
* @param user - User name of the user to get.
|
|
1007
|
+
* @param userType -
|
|
1008
|
+
* @returns User retrieved by name
|
|
1009
|
+
*/
|
|
1010
|
+
changeUserTypeAsync(user: carriers.User, userType: enums.UserType, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User>;
|
|
1011
|
+
private _createDefaultUserFromUserTypeAndCredentialAsync;
|
|
1012
|
+
/**
|
|
1013
|
+
* Creates a PersonEntity with default values based on the contactId and credentials.
|
|
1014
|
+
* @param request - UserType, ContactId, CredentialType, CredentialValue, CredentialDisplayValue
|
|
1015
|
+
* @returns
|
|
1016
|
+
*/
|
|
1017
|
+
createDefaultUserFromUserTypeAndCredentialAsync(request: carriers.User_CreateDefaultUserFromUserTypeAndCredentialRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User>;
|
|
1018
|
+
/**
|
|
1019
|
+
* Creates a PersonEntity with default values based on the contactId and credentials.
|
|
1020
|
+
* @param userType - Type of associate for the user
|
|
1021
|
+
* @param contactId - Contact id of the person
|
|
1022
|
+
* @param credentialType - Type of credentials, corresponding to name of plugin and type in the credentials table.
|
|
1023
|
+
* @param credentialValue - This is the actuall value of the credentials. This will typically be the password or teh users SID in active directory
|
|
1024
|
+
* @param credentialDisplayValue - The value displayed to the user. this will typically be the users login name in active directory.
|
|
1025
|
+
* @returns
|
|
1026
|
+
*/
|
|
1027
|
+
createDefaultUserFromUserTypeAndCredentialAsync(userType: enums.UserType, contactId: number, credentialType: string, credentialValue: string, credentialDisplayValue: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.User>;
|
|
1028
|
+
private _getValidUserNameAsync;
|
|
1029
|
+
/**
|
|
1030
|
+
*
|
|
1031
|
+
* @param request - AssociateId, Type, PersonId, UserName
|
|
1032
|
+
* @returns
|
|
1033
|
+
*/
|
|
1034
|
+
getValidUserNameAsync(request: carriers.User_GetValidUserNameRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
1035
|
+
/**
|
|
1036
|
+
*
|
|
1037
|
+
* @param associateId -
|
|
1038
|
+
* @param type -
|
|
1039
|
+
* @param personId -
|
|
1040
|
+
* @param userName -
|
|
1041
|
+
* @returns
|
|
1042
|
+
*/
|
|
1043
|
+
getValidUserNameAsync(associateId: number, type: enums.UserType, personId: number, userName: string, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
1044
|
+
private _removeLicensesAsync;
|
|
1045
|
+
/**
|
|
1046
|
+
* Remove all user licenses.
|
|
1047
|
+
* @param request - AssociateId
|
|
1048
|
+
* @returns
|
|
1049
|
+
*/
|
|
1050
|
+
removeLicensesAsync(request: carriers.User_RemoveLicensesRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
1051
|
+
/**
|
|
1052
|
+
* Remove all user licenses.
|
|
1053
|
+
* @param associateId -
|
|
1054
|
+
* @returns
|
|
1055
|
+
*/
|
|
1056
|
+
removeLicensesAsync(associateId: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
1057
|
+
private _makeRetiredAsync;
|
|
1058
|
+
/**
|
|
1059
|
+
* Retiring a user means to remove all licenses, setting person.retired=1 and associate.deleted=1. Unretiering a user means setting person.retired=0 and associate.deleted=0
|
|
1060
|
+
* @param request - AssociateId, Retired
|
|
1061
|
+
* @returns
|
|
1062
|
+
*/
|
|
1063
|
+
makeRetiredAsync(request: carriers.User_MakeRetiredRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
1064
|
+
/**
|
|
1065
|
+
* Retiring a user means to remove all licenses, setting person.retired=1 and associate.deleted=1. Unretiering a user means setting person.retired=0 and associate.deleted=0
|
|
1066
|
+
* @param associateId -
|
|
1067
|
+
* @param retired -
|
|
1068
|
+
* @returns
|
|
1069
|
+
*/
|
|
1070
|
+
makeRetiredAsync(associateId: number, retired: boolean, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
1071
|
+
private _addOwnerContactAsync;
|
|
1072
|
+
/**
|
|
1073
|
+
*
|
|
1074
|
+
* @param request - ContactId
|
|
1075
|
+
* @returns
|
|
1076
|
+
*/
|
|
1077
|
+
addOwnerContactAsync(request: carriers.User_AddOwnerContactRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
1078
|
+
/**
|
|
1079
|
+
*
|
|
1080
|
+
* @param contactId - Id of the contact to add as a owner contact
|
|
1081
|
+
* @returns
|
|
1082
|
+
*/
|
|
1083
|
+
addOwnerContactAsync(contactId: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
1084
|
+
private _removeOwnerContactAsync;
|
|
1085
|
+
/**
|
|
1086
|
+
* Remove a contact from the ownercontactlink table
|
|
1087
|
+
* @param request - ContactId
|
|
1088
|
+
* @returns
|
|
1089
|
+
*/
|
|
1090
|
+
removeOwnerContactAsync(request: carriers.User_RemoveOwnerContactRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
1091
|
+
/**
|
|
1092
|
+
* Remove a contact from the ownercontactlink table
|
|
1093
|
+
* @param contactId - The id of the contact to remove
|
|
1094
|
+
* @returns
|
|
1095
|
+
*/
|
|
1096
|
+
removeOwnerContactAsync(contactId: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
1097
|
+
private _resolveUserFromInfoAsync;
|
|
1098
|
+
/**
|
|
1099
|
+
* Get a user from the provided information. If the user or associated person does not exist, it will be created on demand.
|
|
1100
|
+
* @param request - ContactId, PersonName, PhoneNumbers, Emails, UserType, Credential
|
|
1101
|
+
* @returns The results of the resolve-operation.
|
|
1102
|
+
*/
|
|
1103
|
+
resolveUserFromInfoAsync(request: carriers.User_ResolveUserFromInfoRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ResolvedUser>;
|
|
1104
|
+
/**
|
|
1105
|
+
* Get a user from the provided information. If the user or associated person does not exist, it will be created on demand.
|
|
1106
|
+
* @param contactId - The contact Id of the contact which the person belongs to. Cannot be 0.
|
|
1107
|
+
* @param personName - The full name of the person to be resolved. Optional.
|
|
1108
|
+
* @param phoneNumbers - Phone numbers registered on the person. Optional.
|
|
1109
|
+
* @param emails - Email-addresses registered on the person. Optional.
|
|
1110
|
+
* @param userType - The type of user to look up or create.
|
|
1111
|
+
* @param credential - The credentials to be used for the user. Required.
|
|
1112
|
+
* @returns The results of the resolve-operation.
|
|
1113
|
+
*/
|
|
1114
|
+
resolveUserFromInfoAsync(contactId: number, personName: string, phoneNumbers: string[], emails: string[], userType: enums.UserType, credential: carriers.Credential, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ResolvedUser>;
|
|
1115
|
+
private _getAccessTokenAsync;
|
|
1116
|
+
/**
|
|
1117
|
+
* Get an access token based on the current user's session.
|
|
1118
|
+
* @param request - AppToken, IncludeCsSession
|
|
1119
|
+
* @returns An access token. "8A:xyz123=="
|
|
1120
|
+
*/
|
|
1121
|
+
getAccessTokenAsync(request: carriers.User_GetAccessTokenRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
1122
|
+
/**
|
|
1123
|
+
* Get an access token based on the current user's session.
|
|
1124
|
+
* @param appToken - Application token to get access on behalf of. Optional.
|
|
1125
|
+
* @param includeCsSession - Initialize CS session for this access token?.
|
|
1126
|
+
* @returns An access token. "8A:xyz123=="
|
|
1127
|
+
*/
|
|
1128
|
+
getAccessTokenAsync(appToken: string, includeCsSession: boolean, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
1129
|
+
private _getValidUserNameForNewUserAsync;
|
|
1130
|
+
/**
|
|
1131
|
+
* Generates a valid username for an unsaved user
|
|
1132
|
+
* @param request - User
|
|
1133
|
+
* @returns
|
|
1134
|
+
*/
|
|
1135
|
+
getValidUserNameForNewUserAsync(request: carriers.User_GetValidUserNameForNewUserRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
1136
|
+
/**
|
|
1137
|
+
* Generates a valid username for an unsaved user
|
|
1138
|
+
* @param user -
|
|
1139
|
+
* @returns
|
|
1140
|
+
*/
|
|
1141
|
+
getValidUserNameForNewUserAsync(user: carriers.User, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
1142
|
+
private _getDefaultAssociateUserNameAsync;
|
|
1143
|
+
/**
|
|
1144
|
+
* Get the default username for a person
|
|
1145
|
+
* @param request - User
|
|
1146
|
+
* @returns
|
|
1147
|
+
*/
|
|
1148
|
+
getDefaultAssociateUserNameAsync(request: carriers.User_GetDefaultAssociateUserNameRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
1149
|
+
/**
|
|
1150
|
+
* Get the default username for a person
|
|
1151
|
+
* @param user -
|
|
1152
|
+
* @returns
|
|
1153
|
+
*/
|
|
1154
|
+
getDefaultAssociateUserNameAsync(user: carriers.User, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
1155
|
+
private _isNickNameUniqueAsync;
|
|
1156
|
+
/**
|
|
1157
|
+
*
|
|
1158
|
+
* @param request - AssociateId, NickName
|
|
1159
|
+
* @returns
|
|
1160
|
+
*/
|
|
1161
|
+
isNickNameUniqueAsync(request: carriers.User_IsNickNameUniqueRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
1162
|
+
/**
|
|
1163
|
+
*
|
|
1164
|
+
* @param associateId -
|
|
1165
|
+
* @param nickName -
|
|
1166
|
+
* @returns
|
|
1167
|
+
*/
|
|
1168
|
+
isNickNameUniqueAsync(associateId: number, nickName: string, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
1169
|
+
private _validateUserAsync;
|
|
1170
|
+
/**
|
|
1171
|
+
* Check that entity is ready for saving, return error messages by field.
|
|
1172
|
+
* @param request - User
|
|
1173
|
+
* @returns Error messages tagged by field.
|
|
1174
|
+
*/
|
|
1175
|
+
validateUserAsync(request: carriers.User_ValidateUserRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.StringDictionary>;
|
|
1176
|
+
/**
|
|
1177
|
+
* Check that entity is ready for saving, return error messages by field.
|
|
1178
|
+
* @param user - Entity to be checked for errors.
|
|
1179
|
+
* @returns Error messages tagged by field.
|
|
1180
|
+
*/
|
|
1181
|
+
validateUserAsync(user: carriers.User, webapi_options?: base.WebApiRequestOptions): Promise<carriers.StringDictionary>;
|
|
1182
|
+
private _getUserPresenceStatusAsync;
|
|
1183
|
+
/**
|
|
1184
|
+
* Get user presence status
|
|
1185
|
+
* @param request - AssociateId
|
|
1186
|
+
* @returns User presence status
|
|
1187
|
+
*/
|
|
1188
|
+
getUserPresenceStatusAsync(request: carriers.User_GetUserPresenceStatusRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UserPresenceStatus>;
|
|
1189
|
+
/**
|
|
1190
|
+
* Get user presence status
|
|
1191
|
+
* @param associateId - AssociateId of user to retrieve status for.
|
|
1192
|
+
* @returns User presence status
|
|
1193
|
+
*/
|
|
1194
|
+
getUserPresenceStatusAsync(associateId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UserPresenceStatus>;
|
|
1195
|
+
private _setUserPresenceStatusAsync;
|
|
1196
|
+
/**
|
|
1197
|
+
* Set user presence status
|
|
1198
|
+
* @param request - AssociateId, UserPresenceStatus
|
|
1199
|
+
* @returns User presence status
|
|
1200
|
+
*/
|
|
1201
|
+
setUserPresenceStatusAsync(request: carriers.User_SetUserPresenceStatusRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UserPresenceStatus>;
|
|
1202
|
+
/**
|
|
1203
|
+
* Set user presence status
|
|
1204
|
+
* @param associateId - AssociateId of user to set status for.
|
|
1205
|
+
* @param userPresenceStatus - User presence status to set
|
|
1206
|
+
* @returns User presence status
|
|
1207
|
+
*/
|
|
1208
|
+
setUserPresenceStatusAsync(associateId: number, userPresenceStatus: carriers.UserPresenceStatus, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UserPresenceStatus>;
|
|
1209
|
+
getUserGroupAsync(userGroupId: number, options?: base.WebApiRequestOptions): Promise<carriers.UserGroup>;
|
|
1210
|
+
private _saveUserGroupAsync;
|
|
1211
|
+
/**
|
|
1212
|
+
* Save a user group. Set UserGroup.Deleted to mark a user group as deleted and invisible in the user interface.
|
|
1213
|
+
* @param request - UserGroup
|
|
1214
|
+
* @returns UserGroup as saved to the database
|
|
1215
|
+
*/
|
|
1216
|
+
saveUserGroupAsync(request: carriers.User_SaveUserGroupRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UserGroup>;
|
|
1217
|
+
/**
|
|
1218
|
+
* Save a user group. Set UserGroup.Deleted to mark a user group as deleted and invisible in the user interface.
|
|
1219
|
+
* @param userGroup - UserGroup to save
|
|
1220
|
+
* @returns UserGroup as saved to the database
|
|
1221
|
+
*/
|
|
1222
|
+
saveUserGroupAsync(userGroup: carriers.UserGroup, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UserGroup>;
|
|
1223
|
+
private _getAllUserGroupsAsync;
|
|
1224
|
+
/**
|
|
1225
|
+
* Get all user groups
|
|
1226
|
+
* @param request - IncludeDeleted
|
|
1227
|
+
* @returns All user groups
|
|
1228
|
+
*/
|
|
1229
|
+
getAllUserGroupsAsync(request: carriers.User_GetAllUserGroupsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UserGroup[]>;
|
|
1230
|
+
/**
|
|
1231
|
+
* Get all user groups
|
|
1232
|
+
* @param includeDeleted - Include user groups with Deleted set to true
|
|
1233
|
+
* @returns All user groups
|
|
1234
|
+
*/
|
|
1235
|
+
getAllUserGroupsAsync(includeDeleted: boolean, webapi_options?: base.WebApiRequestOptions): Promise<carriers.UserGroup[]>;
|
|
1236
|
+
private _createUserGroupAsync;
|
|
1237
|
+
/**
|
|
1238
|
+
* Create UserGroup (Rank is assigned to the highest rank)
|
|
1239
|
+
* @returns
|
|
1240
|
+
*/
|
|
1241
|
+
createUserGroupAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.UserGroup>;
|
|
1242
|
+
private _deleteUserGroupAsync;
|
|
1243
|
+
/**
|
|
1244
|
+
* Delete a usergroup and move its members to another usergroup
|
|
1245
|
+
* @param request - UserGroupToDelete, UserGroupToMoveTo
|
|
1246
|
+
* @returns
|
|
1247
|
+
*/
|
|
1248
|
+
deleteUserGroupAsync(request: carriers.User_DeleteUserGroupRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
1249
|
+
/**
|
|
1250
|
+
* Delete a usergroup and move its members to another usergroup
|
|
1251
|
+
* @param userGroupToDelete - The id of the userGroup to delete
|
|
1252
|
+
* @param userGroupToMoveTo - The id of the userGroup to move the members to
|
|
1253
|
+
* @returns
|
|
1254
|
+
*/
|
|
1255
|
+
deleteUserGroupAsync(userGroupToDelete: number, userGroupToMoveTo: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
1256
|
+
getUserGroupListAsync(userGroupIds: number[], options?: base.WebApiRequestOptions): Promise<carriers.UserGroup[]>;
|
|
1257
|
+
getUserInfoAsync(userInfoId: number, options?: base.WebApiRequestOptions): Promise<carriers.UserInfo>;
|
|
1258
|
+
getUserInfoListAsync(userInfoIds: number[], options?: base.WebApiRequestOptions): Promise<carriers.UserInfo[]>;
|
|
1259
|
+
}
|
|
1260
|
+
//# sourceMappingURL=UserAgent.d.ts.map
|