@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,1415 @@
|
|
|
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
|
+
* Services for the Quote Management feature, part of the Sale module
|
|
7
|
+
*/
|
|
8
|
+
export interface IQuoteAgent {
|
|
9
|
+
createDefaultPriceListAsync(): Promise<carriers.PriceList>;
|
|
10
|
+
savePriceListAsync(entity: carriers.PriceList): Promise<carriers.PriceList>;
|
|
11
|
+
deletePriceListAsync(PriceListId: number): Promise<void>;
|
|
12
|
+
createDefaultProductAsync(): Promise<carriers.Product>;
|
|
13
|
+
saveProductAsync(entity: carriers.Product): Promise<carriers.Product>;
|
|
14
|
+
deleteProductAsync(ProductId: number): Promise<void>;
|
|
15
|
+
createDefaultQuoteAlternativeAsync(): Promise<carriers.QuoteAlternative>;
|
|
16
|
+
saveQuoteAlternativeAsync(entity: carriers.QuoteAlternative): Promise<carriers.QuoteAlternative>;
|
|
17
|
+
getConfigurationFieldsAsync(request: carriers.Quote_GetConfigurationFieldsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.FieldMetadataDictionary>;
|
|
18
|
+
getConfigurationFieldsAsync(connectionId: number, connectorName: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.FieldMetadataDictionary>;
|
|
19
|
+
testConnectionAsync(request: carriers.Quote_TestConnectionRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginResponse>;
|
|
20
|
+
testConnectionAsync(connectorName: string, connectionData: carriers.StringDictionary, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginResponse>;
|
|
21
|
+
getPriceListAsync(priceListId: number): Promise<carriers.PriceList>;
|
|
22
|
+
copySuperOfficePriceListAsync(request: carriers.Quote_CopySuperOfficePriceListRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PriceList>;
|
|
23
|
+
copySuperOfficePriceListAsync(originalPriceListId: number, newName: string, validFrom: Date, validTo: Date, newCurrencyId: number, convertCurrency: boolean, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PriceList>;
|
|
24
|
+
getProductImageAsync(request: carriers.Quote_GetProductImageRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
25
|
+
getProductImageAsync(quoteConnectionId: number, erpProductKey: string, rank: number, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
26
|
+
findProductAsync(request: carriers.Quote_FindProductRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Product[]>;
|
|
27
|
+
findProductAsync(quoteAlternativeId: number, userInput: string, priceListKey: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Product[]>;
|
|
28
|
+
getProductAsync(request: carriers.Quote_GetProductRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Product>;
|
|
29
|
+
getProductAsync(quoteConnectionId: number, erpProductKey: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Product>;
|
|
30
|
+
getProductFromDbIdAsync(request: carriers.Quote_GetProductFromDbIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Product>;
|
|
31
|
+
getProductFromDbIdAsync(productId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Product>;
|
|
32
|
+
removeProductAsync(request: carriers.Quote_RemoveProductRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
33
|
+
removeProductAsync(productId: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
34
|
+
toggleProductInAssortmentAsync(request: carriers.Quote_ToggleProductInAssortmentRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
35
|
+
toggleProductInAssortmentAsync(productId: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
36
|
+
saveQuoteAsync(request: carriers.Quote_SaveQuoteRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Quote>;
|
|
37
|
+
saveQuoteAsync(quote: carriers.Quote, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Quote>;
|
|
38
|
+
getQuoteAsync(request: carriers.Quote_GetQuoteRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Quote>;
|
|
39
|
+
getQuoteAsync(quoteId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Quote>;
|
|
40
|
+
getQuoteFromSaleIdAsync(request: carriers.Quote_GetQuoteFromSaleIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Quote>;
|
|
41
|
+
getQuoteFromSaleIdAsync(saleId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Quote>;
|
|
42
|
+
getQuoteAlternativeAsync(quoteAlternativeId: number): Promise<carriers.QuoteAlternative>;
|
|
43
|
+
recalculateQuoteAlternativeAsync(request: carriers.Quote_RecalculateQuoteAlternativeRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteAlternativeRecalculated>;
|
|
44
|
+
recalculateQuoteAlternativeAsync(quoteAlternative: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteAlternativeRecalculated>;
|
|
45
|
+
getQuoteAlternativesAsync(request: carriers.Quote_GetQuoteAlternativesRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteAlternative[]>;
|
|
46
|
+
getQuoteAlternativesAsync(quoteVersionId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteAlternative[]>;
|
|
47
|
+
moveQuoteLineAsync(request: carriers.Quote_MoveQuoteLineRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
48
|
+
moveQuoteLineAsync(quoteLineId: number, direction: boolean, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
49
|
+
createQuoteAlternativeAsync(request: carriers.Quote_CreateQuoteAlternativeRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteAlternative>;
|
|
50
|
+
createQuoteAlternativeAsync(quoteVersionId: number, quoteAlternativeName: string, quoteAlternativeDescription: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteAlternative>;
|
|
51
|
+
copyQuoteAlternativeAsync(request: carriers.Quote_CopyQuoteAlternativeRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteAlternative>;
|
|
52
|
+
copyQuoteAlternativeAsync(quoteVersionId: number, quoteAlternativeId: number, quoteAlternativeName: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteAlternative>;
|
|
53
|
+
deleteQuoteAlternativeAsync(request: carriers.Quote_DeleteQuoteAlternativeRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
54
|
+
deleteQuoteAlternativeAsync(quoteAlternativeId: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
55
|
+
hasConnectionsAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginResponse>;
|
|
56
|
+
getAllInstalledQuoteConnectionsAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteConnection[]>;
|
|
57
|
+
getAllAvailableQuoteConnectionsAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteConnection[]>;
|
|
58
|
+
getAllAvailableQuoteConnectionsWithPriceListsAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteConnection[]>;
|
|
59
|
+
createConnectionFromConnectorNameAsync(request: carriers.Quote_CreateConnectionFromConnectorNameRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteConnection>;
|
|
60
|
+
createConnectionFromConnectorNameAsync(connectorName: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteConnection>;
|
|
61
|
+
getConnectionAsync(request: carriers.Quote_GetConnectionRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteConnection>;
|
|
62
|
+
getConnectionAsync(quoteConnectionId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteConnection>;
|
|
63
|
+
saveConnectionAsync(request: carriers.Quote_SaveConnectionRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteConnection>;
|
|
64
|
+
saveConnectionAsync(connection: carriers.QuoteConnection, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteConnection>;
|
|
65
|
+
deleteConnectionAsync(request: carriers.Quote_DeleteConnectionRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
66
|
+
deleteConnectionAsync(quoteConnectionId: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
67
|
+
restoreConnectionAsync(request: carriers.Quote_RestoreConnectionRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
68
|
+
restoreConnectionAsync(quoteConnectionId: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
69
|
+
getConnectionsForAssociateAsync(request: carriers.Quote_GetConnectionsForAssociateRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteConnection[]>;
|
|
70
|
+
getConnectionsForAssociateAsync(associateId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteConnection[]>;
|
|
71
|
+
getActivePriceListsAsync(request: carriers.Quote_GetActivePriceListsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PriceList[]>;
|
|
72
|
+
getActivePriceListsAsync(quoteConnectionId: number, currency: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PriceList[]>;
|
|
73
|
+
getActivePriceListsByCurrencyIdAsync(request: carriers.Quote_GetActivePriceListsByCurrencyIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PriceList[]>;
|
|
74
|
+
getActivePriceListsByCurrencyIdAsync(quoteConnectionId: number, currencyId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PriceList[]>;
|
|
75
|
+
getAllPriceListsAsync(request: carriers.Quote_GetAllPriceListsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PriceList[]>;
|
|
76
|
+
getAllPriceListsAsync(quoteConnectionId: number, currency: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PriceList[]>;
|
|
77
|
+
getAllPriceListsByCurrencyIdAsync(request: carriers.Quote_GetAllPriceListsByCurrencyIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PriceList[]>;
|
|
78
|
+
getAllPriceListsByCurrencyIdAsync(quoteConnectionId: number, currencyId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PriceList[]>;
|
|
79
|
+
getConnectorCapabilityNamesAsync(request: carriers.Quote_GetConnectorCapabilityNamesRequest, webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
|
|
80
|
+
getConnectorCapabilityNamesAsync(quoteConnectionId: number, webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
|
|
81
|
+
getConnectorCapabilitiesAsync(request: carriers.Quote_GetConnectorCapabilitiesRequest, webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
|
|
82
|
+
getConnectorCapabilitiesAsync(quoteConnectionId: number, webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
|
|
83
|
+
canConnectorProvideCapabilityAsync(request: carriers.Quote_CanConnectorProvideCapabilityRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
84
|
+
canConnectorProvideCapabilityAsync(quoteConnectionId: number, capabilityName: string, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
85
|
+
getConnectionStartupErrorsAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginResponse[]>;
|
|
86
|
+
getConnectionStartupResponseAsync(request: carriers.Quote_GetConnectionStartupResponseRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginResponse>;
|
|
87
|
+
getConnectionStartupResponseAsync(quoteConnectionId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginResponse>;
|
|
88
|
+
getConnectionConfigFieldsAsync(request: carriers.Quote_GetConnectionConfigFieldsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.StringDictionary>;
|
|
89
|
+
getConnectionConfigFieldsAsync(quoteConnectionId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.StringDictionary>;
|
|
90
|
+
saveConnectionConfigFieldsAsync(request: carriers.Quote_SaveConnectionConfigFieldsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.StringDictionary>;
|
|
91
|
+
saveConnectionConfigFieldsAsync(quoteConnectionId: number, connectionConfigFields: carriers.StringDictionary, webapi_options?: base.WebApiRequestOptions): Promise<carriers.StringDictionary>;
|
|
92
|
+
createAndSaveQuoteAsync(request: carriers.Quote_CreateAndSaveQuoteRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteEntity>;
|
|
93
|
+
createAndSaveQuoteAsync(saleId: number, connectionId: number, firstAlternativeName: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteEntity>;
|
|
94
|
+
getQuoteEntityAsync(request: carriers.Quote_GetQuoteEntityRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteEntity>;
|
|
95
|
+
getQuoteEntityAsync(quoteId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteEntity>;
|
|
96
|
+
getQuoteEntityFromSaleIdAsync(request: carriers.Quote_GetQuoteEntityFromSaleIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteEntity>;
|
|
97
|
+
getQuoteEntityFromSaleIdAsync(saleId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteEntity>;
|
|
98
|
+
saveQuoteEntityAsync(request: carriers.Quote_SaveQuoteEntityRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteEntity>;
|
|
99
|
+
saveQuoteEntityAsync(quoteEntity: carriers.QuoteEntity, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteEntity>;
|
|
100
|
+
createAndSaveQuoteFromSaleAsync(request: carriers.Quote_CreateAndSaveQuoteFromSaleRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteEntity>;
|
|
101
|
+
createAndSaveQuoteFromSaleAsync(copyFromSaleId: number, copyToSaleId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteEntity>;
|
|
102
|
+
placeOrderAsync(request: carriers.Quote_PlaceOrderRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginUrlResponse>;
|
|
103
|
+
placeOrderAsync(quoteAlternativeId: number, markSaleAsSold: boolean, poNumber: string, orderComment: string, culture: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginUrlResponse>;
|
|
104
|
+
getOrderStateAsync(request: carriers.Quote_GetOrderStateRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginUrlResponse>;
|
|
105
|
+
getOrderStateAsync(quoteVersionId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginUrlResponse>;
|
|
106
|
+
deleteQuoteAsync(request: carriers.Quote_DeleteQuoteRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
107
|
+
deleteQuoteAsync(quoteId: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
108
|
+
createQuoteLineAsync(request: carriers.Quote_CreateQuoteLineRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLine>;
|
|
109
|
+
createQuoteLineAsync(quoteAlternativeId: number, erpProductKey: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLine>;
|
|
110
|
+
createQuoteLineFromProductAsync(request: carriers.Quote_CreateQuoteLineFromProductRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLine>;
|
|
111
|
+
createQuoteLineFromProductAsync(quoteAlternativeId: number, product: carriers.Product, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLine>;
|
|
112
|
+
saveQuoteLineAsync(request: carriers.Quote_SaveQuoteLineRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLine>;
|
|
113
|
+
saveQuoteLineAsync(quoteLine: carriers.QuoteLine, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLine>;
|
|
114
|
+
saveQuoteLinesAsync(request: carriers.Quote_SaveQuoteLinesRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLine[]>;
|
|
115
|
+
saveQuoteLinesAsync(quoteLines: carriers.QuoteLine[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLine[]>;
|
|
116
|
+
getQuoteLineAsync(request: carriers.Quote_GetQuoteLineRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLine>;
|
|
117
|
+
getQuoteLineAsync(quoteLineId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLine>;
|
|
118
|
+
getQuoteLinesAsync(request: carriers.Quote_GetQuoteLinesRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLine[]>;
|
|
119
|
+
getQuoteLinesAsync(quoteAlternativeId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLine[]>;
|
|
120
|
+
deleteQuoteLineAsync(request: carriers.Quote_DeleteQuoteLineRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
121
|
+
deleteQuoteLineAsync(quoteLineId: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
122
|
+
deleteQuoteLinesAsync(request: carriers.Quote_DeleteQuoteLinesRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
123
|
+
deleteQuoteLinesAsync(quoteLineIds: number[], webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
124
|
+
recalculateQuoteLineAsync(request: carriers.Quote_RecalculateQuoteLineRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLine>;
|
|
125
|
+
recalculateQuoteLineAsync(quoteLine: carriers.QuoteLine, changedFields: string[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLine>;
|
|
126
|
+
getQuoteLineImageAsync(request: carriers.Quote_GetQuoteLineImageRequest, webapi_options?: base.WebApiRequestOptions): Promise<ArrayBuffer | string>;
|
|
127
|
+
getQuoteLineImageAsync(quoteLineId: number, rank: number, webapi_options?: base.WebApiRequestOptions): Promise<ArrayBuffer | string>;
|
|
128
|
+
saveQuoteLineImageAsync(request: carriers.Quote_SaveQuoteLineImageRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
129
|
+
saveQuoteLineImageAsync(quoteLineId: number, image: ArrayBuffer | string, rank: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
130
|
+
getExtraInfoAsync(request: carriers.Quote_GetExtraInfoRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ProductExtraDataField[]>;
|
|
131
|
+
getExtraInfoAsync(quoteLineExtraData: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ProductExtraDataField[]>;
|
|
132
|
+
getQuoteLineConfigurationAsync(request: carriers.Quote_GetQuoteLineConfigurationRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLineConfiguration>;
|
|
133
|
+
getQuoteLineConfigurationAsync(quoteLineConfigurationId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLineConfiguration>;
|
|
134
|
+
getQuoteLineConfigurationFromFieldNameAsync(request: carriers.Quote_GetQuoteLineConfigurationFromFieldNameRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLineConfiguration>;
|
|
135
|
+
getQuoteLineConfigurationFromFieldNameAsync(fieldName: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLineConfiguration>;
|
|
136
|
+
getAllQuoteLineConfigurationsAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLineConfiguration[]>;
|
|
137
|
+
getInUseQuoteLineConfigurationsAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLineConfiguration[]>;
|
|
138
|
+
saveQuoteLineConfigurationAsync(request: carriers.Quote_SaveQuoteLineConfigurationRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLineConfiguration>;
|
|
139
|
+
saveQuoteLineConfigurationAsync(quoteLineConfiguration: carriers.QuoteLineConfiguration, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLineConfiguration>;
|
|
140
|
+
saveQuoteLineConfigurationsAsync(request: carriers.Quote_SaveQuoteLineConfigurationsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLineConfiguration[]>;
|
|
141
|
+
saveQuoteLineConfigurationsAsync(quoteLineConfigurations: carriers.QuoteLineConfiguration[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLineConfiguration[]>;
|
|
142
|
+
getQuoteListAsync(request: carriers.Quote_GetQuoteListRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteListItem[]>;
|
|
143
|
+
getQuoteListAsync(quoteListType: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteListItem[]>;
|
|
144
|
+
validateQuoteVersionAsync(request: carriers.Quote_ValidateQuoteVersionRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersionValidated>;
|
|
145
|
+
validateQuoteVersionAsync(quoteVersionId: number, action: enums.QuoteVersionButtonAction, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersionValidated>;
|
|
146
|
+
createAndSaveQuoteVersionAsync(request: carriers.Quote_CreateAndSaveQuoteVersionRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersion>;
|
|
147
|
+
createAndSaveQuoteVersionAsync(quoteVersionId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersion>;
|
|
148
|
+
getQuoteVersionAsync(request: carriers.Quote_GetQuoteVersionRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersion>;
|
|
149
|
+
getQuoteVersionAsync(quoteVersionId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersion>;
|
|
150
|
+
getQuoteVersionsAsync(request: carriers.Quote_GetQuoteVersionsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersion[]>;
|
|
151
|
+
getQuoteVersionsAsync(quoteId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersion[]>;
|
|
152
|
+
sendQuoteVersionAsync(request: carriers.Quote_SendQuoteVersionRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginUrlResponse>;
|
|
153
|
+
sendQuoteVersionAsync(quoteVersionId: number, expiryDate: Date, followupDate: Date, followupText: string, culture: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginUrlResponse>;
|
|
154
|
+
saveQuoteVersionAsync(request: carriers.Quote_SaveQuoteVersionRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersion>;
|
|
155
|
+
saveQuoteVersionAsync(quoteVersion: carriers.QuoteVersion, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersion>;
|
|
156
|
+
approveQuoteVersionAsync(request: carriers.Quote_ApproveQuoteVersionRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ApproveRejectResponse>;
|
|
157
|
+
approveQuoteVersionAsync(quoteVersionId: number, approvedByText: string, approvedByAssociateId: number, approvalText: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ApproveRejectResponse>;
|
|
158
|
+
rejectQuoteVersionAsync(request: carriers.Quote_RejectQuoteVersionRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ApproveRejectResponse>;
|
|
159
|
+
rejectQuoteVersionAsync(quoteVersionId: number, rejectedByText: string, rejectedByAssociateId: number, rejectionText: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ApproveRejectResponse>;
|
|
160
|
+
generateQuoteDocumentsAsync(request: carriers.Quote_GenerateQuoteDocumentsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuotePublishDocuments>;
|
|
161
|
+
generateQuoteDocumentsAsync(quoteVersionId: number, emailBodyTemplateId: number, attachMainDocument: boolean, quotedProductsTemplateId: number, includeAttachments: boolean, rawMailSubject: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuotePublishDocuments>;
|
|
162
|
+
getOrderConfirmationAsync(request: carriers.Quote_GetOrderConfirmationRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
163
|
+
getOrderConfirmationAsync(quoteVersionId: number, confirmationTemplateId: number, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
164
|
+
getQuoteVersionWorkflowStateAsync(request: carriers.Quote_GetQuoteVersionWorkflowStateRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersionWorkflowState>;
|
|
165
|
+
getQuoteVersionWorkflowStateAsync(quoteVersionId: number, quoteAlternativeId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersionWorkflowState>;
|
|
166
|
+
updateQuoteVersionPricesAsync(request: carriers.Quote_UpdateQuoteVersionPricesRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersionValidated>;
|
|
167
|
+
updateQuoteVersionPricesAsync(quoteVersionId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersionValidated>;
|
|
168
|
+
saveQuoteVersionNumberAsync(request: carriers.Quote_SaveQuoteVersionNumberRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
169
|
+
saveQuoteVersionNumberAsync(quoteVersionId: number, number: string, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
170
|
+
getQuoteVersionWorkflowImageStateAsync(request: carriers.Quote_GetQuoteVersionWorkflowImageStateRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersionButtonState>;
|
|
171
|
+
getQuoteVersionWorkflowImageStateAsync(quoteVersionId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersionButtonState>;
|
|
172
|
+
getQuoteVersionWorkflowButtonStatesAsync(request: carriers.Quote_GetQuoteVersionWorkflowButtonStatesRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersionWorkflowState>;
|
|
173
|
+
getQuoteVersionWorkflowButtonStatesAsync(quoteVersionId: number, quoteAlternativeId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersionWorkflowState>;
|
|
174
|
+
getQuoteVersionWorkflowStatusInfoAsync(request: carriers.Quote_GetQuoteVersionWorkflowStatusInfoRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersionStatusInformation>;
|
|
175
|
+
getQuoteVersionWorkflowStatusInfoAsync(quoteVersionId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersionStatusInformation>;
|
|
176
|
+
requestApprovalAsync(request: carriers.Quote_RequestApprovalRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginResponse>;
|
|
177
|
+
requestApprovalAsync(quoteVersionId: number, associateId: number, comment: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginResponse>;
|
|
178
|
+
cancelApprovalRequestAsync(request: carriers.Quote_CancelApprovalRequestRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginResponse>;
|
|
179
|
+
cancelApprovalRequestAsync(quoteVersionId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginResponse>;
|
|
180
|
+
createOrUpdateQuoteVersionAttachmentsAsync(request: carriers.Quote_CreateOrUpdateQuoteVersionAttachmentsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersionAttachment[]>;
|
|
181
|
+
createOrUpdateQuoteVersionAttachmentsAsync(quoteVersionId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersionAttachment[]>;
|
|
182
|
+
includeQuoteVersionAttachmentAsync(request: carriers.Quote_IncludeQuoteVersionAttachmentRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
183
|
+
includeQuoteVersionAttachmentAsync(quoteVersionId: number, documentId: number, include: boolean, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
184
|
+
toggleSaleTypeQuoteAttachmentDefaultIncludedAsync(request: carriers.Quote_ToggleSaleTypeQuoteAttachmentDefaultIncludedRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
185
|
+
toggleSaleTypeQuoteAttachmentDefaultIncludedAsync(saleTypeQuoteAttachmentId: number, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
186
|
+
addSaleTypeQuoteAttachmentAsync(request: carriers.Quote_AddSaleTypeQuoteAttachmentRequest, webapi_options?: base.WebApiRequestOptions): Promise<number>;
|
|
187
|
+
addSaleTypeQuoteAttachmentAsync(saleTypeId: number, documentId: number, webapi_options?: base.WebApiRequestOptions): Promise<number>;
|
|
188
|
+
deleteSaleTypeQuoteAttachmentAsync(request: carriers.Quote_DeleteSaleTypeQuoteAttachmentRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
189
|
+
deleteSaleTypeQuoteAttachmentAsync(saleTypeQuoteAttachmentId: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
190
|
+
toggleQuoteVersionAttachmentIncludedAsync(request: carriers.Quote_ToggleQuoteVersionAttachmentIncludedRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
191
|
+
toggleQuoteVersionAttachmentIncludedAsync(quoteVersionAttachmentId: number, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* Services for the Quote Management feature, part of the Sale module
|
|
195
|
+
*/
|
|
196
|
+
export declare class QuoteAgent extends base.WebApiBase implements IQuoteAgent {
|
|
197
|
+
constructor(baseUrl?: string, languageCode?: string, cultureCode?: string);
|
|
198
|
+
constructor(baseUrl?: string, resourceParsing?: base.ResourceParsing);
|
|
199
|
+
constructor(baseUrl: string, resourceManager: any);
|
|
200
|
+
constructor(baseUrl: string, config: AxiosRequestConfig, resourceManager: any);
|
|
201
|
+
constructor(baseUrl: string, config: AxiosRequestConfig, resourceParsing?: base.ResourceParsing);
|
|
202
|
+
constructor(baseUrl: string, config: AxiosRequestConfig, languageCode?: string, cultureCode?: string);
|
|
203
|
+
constructor(options: base.WebApiOptions);
|
|
204
|
+
/**
|
|
205
|
+
* Set default values into a new PriceList.
|
|
206
|
+
* NetServer calculates default values on the entity, which is required when creating/storing a new instance
|
|
207
|
+
* @param options - Override language/culture codes on this request. Provide cancellation and request status values.
|
|
208
|
+
* @returns A blank entity.
|
|
209
|
+
*/
|
|
210
|
+
createDefaultPriceListAsync(options?: base.WebApiRequestOptions): Promise<carriers.PriceList>;
|
|
211
|
+
savePriceListAsync(entity: carriers.PriceList, options?: base.WebApiRequestOptions): Promise<carriers.PriceList>;
|
|
212
|
+
deletePriceListAsync(PriceListId: number, options?: base.WebApiRequestOptions): Promise<void>;
|
|
213
|
+
/**
|
|
214
|
+
* Set default values into a new Product.
|
|
215
|
+
* NetServer calculates default values on the entity, which is required when creating/storing a new instance
|
|
216
|
+
* @param options - Override language/culture codes on this request. Provide cancellation and request status values.
|
|
217
|
+
* @returns A blank entity.
|
|
218
|
+
*/
|
|
219
|
+
createDefaultProductAsync(options?: base.WebApiRequestOptions): Promise<carriers.Product>;
|
|
220
|
+
saveProductAsync(entity: carriers.Product, options?: base.WebApiRequestOptions): Promise<carriers.Product>;
|
|
221
|
+
deleteProductAsync(ProductId: number, options?: base.WebApiRequestOptions): Promise<void>;
|
|
222
|
+
/**
|
|
223
|
+
* Set default values into a new QuoteAlternative.
|
|
224
|
+
* NetServer calculates default values on the entity, which is required when creating/storing a new instance
|
|
225
|
+
* @param options - Override language/culture codes on this request. Provide cancellation and request status values.
|
|
226
|
+
* @returns A blank entity.
|
|
227
|
+
*/
|
|
228
|
+
createDefaultQuoteAlternativeAsync(options?: base.WebApiRequestOptions): Promise<carriers.QuoteAlternative>;
|
|
229
|
+
saveQuoteAlternativeAsync(entity: carriers.QuoteAlternative, options?: base.WebApiRequestOptions): Promise<carriers.QuoteAlternative>;
|
|
230
|
+
private _getConfigurationFieldsAsync;
|
|
231
|
+
/**
|
|
232
|
+
* Used by ADMIN. Asks for metadata needed to populate admin dialog that takes in the information needed to create a connection to an ERP system. The values entered in the dialog are stored in SuperOffice db and used when InitializeConnector is called by the client.
|
|
233
|
+
* @param request - ConnectionId, ConnectorName
|
|
234
|
+
* @returns carriers
|
|
235
|
+
*/
|
|
236
|
+
getConfigurationFieldsAsync(request: carriers.Quote_GetConfigurationFieldsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.FieldMetadataDictionary>;
|
|
237
|
+
/**
|
|
238
|
+
* Used by ADMIN. Asks for metadata needed to populate admin dialog that takes in the information needed to create a connection to an ERP system. The values entered in the dialog are stored in SuperOffice db and used when InitializeConnector is called by the client.
|
|
239
|
+
* @param connectionId - Id of an existing connection, if any. Initializes connection with current config values if non-zero.
|
|
240
|
+
* @param connectorName - Name of the connector. Ignored if connectionId is non-zero.
|
|
241
|
+
* @returns carriers
|
|
242
|
+
*/
|
|
243
|
+
getConfigurationFieldsAsync(connectionId: number, connectorName: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.FieldMetadataDictionary>;
|
|
244
|
+
private _testConnectionAsync;
|
|
245
|
+
/**
|
|
246
|
+
* Used by the Admin clients. Testing if the connection data is sufficient to get a connection with the ERP system. The Connector should try to do some operations to check if the connection has sufficient rights to run. The connection has not been created yet. TestConnection is called without InitializeConnector being called first.
|
|
247
|
+
* @param request - ConnectorName, ConnectionData
|
|
248
|
+
* @returns How the test went
|
|
249
|
+
*/
|
|
250
|
+
testConnectionAsync(request: carriers.Quote_TestConnectionRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginResponse>;
|
|
251
|
+
/**
|
|
252
|
+
* Used by the Admin clients. Testing if the connection data is sufficient to get a connection with the ERP system. The Connector should try to do some operations to check if the connection has sufficient rights to run. The connection has not been created yet. TestConnection is called without InitializeConnector being called first.
|
|
253
|
+
* @param connectorName - Name of the connector.
|
|
254
|
+
* @param connectionData - Basically the name/value collection of the configuration data requested to create a connection
|
|
255
|
+
* @returns How the test went
|
|
256
|
+
*/
|
|
257
|
+
testConnectionAsync(connectorName: string, connectionData: carriers.StringDictionary, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginResponse>;
|
|
258
|
+
getPriceListAsync(priceListId: number, options?: base.WebApiRequestOptions): Promise<carriers.PriceList>;
|
|
259
|
+
private _copySuperOfficePriceListAsync;
|
|
260
|
+
/**
|
|
261
|
+
* Create a copy of a PriceList in the SuperOffice database
|
|
262
|
+
* @param request - OriginalPriceListId, NewName, ValidFrom, ValidTo, NewCurrencyId, ConvertCurrency
|
|
263
|
+
* @returns The copied PriceList
|
|
264
|
+
*/
|
|
265
|
+
copySuperOfficePriceListAsync(request: carriers.Quote_CopySuperOfficePriceListRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PriceList>;
|
|
266
|
+
/**
|
|
267
|
+
* Create a copy of a PriceList in the SuperOffice database
|
|
268
|
+
* @param originalPriceListId - Id of the PriceList to be copied
|
|
269
|
+
* @param newName - Name of the copied PriceList
|
|
270
|
+
* @param validFrom - Start date for the new pricelist.
|
|
271
|
+
* @param validTo - End date for the new pricelist.
|
|
272
|
+
* @param newCurrencyId - Currency id of the copied PriceList. If 0 or the same as the original the copied products will keep their prices and the currency will be the same as the original.
|
|
273
|
+
* @param convertCurrency - If true, product prices will be recalculated to the new currency. If false, product prices will be set to zero.
|
|
274
|
+
* @returns The copied PriceList
|
|
275
|
+
*/
|
|
276
|
+
copySuperOfficePriceListAsync(originalPriceListId: number, newName: string, validFrom: Date, validTo: Date, newCurrencyId: number, convertCurrency: boolean, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PriceList>;
|
|
277
|
+
private _getProductImageAsync;
|
|
278
|
+
/**
|
|
279
|
+
* Gets an image connected to a product, from the ProductProvider
|
|
280
|
+
* @param request - QuoteConnectionId, ERPProductKey, Rank
|
|
281
|
+
* @returns The base64 encoded image as a string.
|
|
282
|
+
*/
|
|
283
|
+
getProductImageAsync(request: carriers.Quote_GetProductImageRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
284
|
+
/**
|
|
285
|
+
* Gets an image connected to a product, from the ProductProvider
|
|
286
|
+
* @param quoteConnectionId - The connection this product comes from.
|
|
287
|
+
* @param erpProductKey - Primary key of the Product in the ProductProvider
|
|
288
|
+
* @param rank - The rank of the image.
|
|
289
|
+
* @returns The base64 encoded image as a string.
|
|
290
|
+
*/
|
|
291
|
+
getProductImageAsync(quoteConnectionId: number, erpProductKey: string, rank: number, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
292
|
+
private _findProductAsync;
|
|
293
|
+
/**
|
|
294
|
+
* Gets a product, from the ProductProvider
|
|
295
|
+
* @param request - QuoteAlternativeId, UserInput, PriceListKey
|
|
296
|
+
* @returns Product array
|
|
297
|
+
*/
|
|
298
|
+
findProductAsync(request: carriers.Quote_FindProductRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Product[]>;
|
|
299
|
+
/**
|
|
300
|
+
* Gets a product, from the ProductProvider
|
|
301
|
+
* @param quoteAlternativeId - Quote alternative to search in.
|
|
302
|
+
* @param userInput - search string
|
|
303
|
+
* @param priceListKey - If the pricelist is null or empty, the function will search in all active pricelists.
|
|
304
|
+
* @returns Product array
|
|
305
|
+
*/
|
|
306
|
+
findProductAsync(quoteAlternativeId: number, userInput: string, priceListKey: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Product[]>;
|
|
307
|
+
private _getProductAsync;
|
|
308
|
+
/**
|
|
309
|
+
* Get a product with the given key
|
|
310
|
+
* @param request - QuoteConnectionId, ERPProductKey
|
|
311
|
+
* @returns
|
|
312
|
+
*/
|
|
313
|
+
getProductAsync(request: carriers.Quote_GetProductRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Product>;
|
|
314
|
+
/**
|
|
315
|
+
* Get a product with the given key
|
|
316
|
+
* @param quoteConnectionId - The connection this product comes from.
|
|
317
|
+
* @param erpProductKey - Primary key of the Product in the ProductProvider
|
|
318
|
+
* @returns
|
|
319
|
+
*/
|
|
320
|
+
getProductAsync(quoteConnectionId: number, erpProductKey: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Product>;
|
|
321
|
+
private _getProductFromDbIdAsync;
|
|
322
|
+
/**
|
|
323
|
+
* Get a product with the given database id
|
|
324
|
+
* @param request - ProductId
|
|
325
|
+
* @returns The product info
|
|
326
|
+
*/
|
|
327
|
+
getProductFromDbIdAsync(request: carriers.Quote_GetProductFromDbIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Product>;
|
|
328
|
+
/**
|
|
329
|
+
* Get a product with the given database id
|
|
330
|
+
* @param productId - The database id of the product
|
|
331
|
+
* @returns The product info
|
|
332
|
+
*/
|
|
333
|
+
getProductFromDbIdAsync(productId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Product>;
|
|
334
|
+
private _removeProductAsync;
|
|
335
|
+
/**
|
|
336
|
+
* Removes a product from the database
|
|
337
|
+
* @param request - ProductId
|
|
338
|
+
* @returns
|
|
339
|
+
*/
|
|
340
|
+
removeProductAsync(request: carriers.Quote_RemoveProductRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
341
|
+
/**
|
|
342
|
+
* Removes a product from the database
|
|
343
|
+
* @param productId - The database id of the product to remove
|
|
344
|
+
* @returns
|
|
345
|
+
*/
|
|
346
|
+
removeProductAsync(productId: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
347
|
+
private _toggleProductInAssortmentAsync;
|
|
348
|
+
/**
|
|
349
|
+
* Toggles if the prdouct is in assortment or not
|
|
350
|
+
* @param request - ProductId
|
|
351
|
+
* @returns
|
|
352
|
+
*/
|
|
353
|
+
toggleProductInAssortmentAsync(request: carriers.Quote_ToggleProductInAssortmentRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
354
|
+
/**
|
|
355
|
+
* Toggles if the prdouct is in assortment or not
|
|
356
|
+
* @param productId - The database id of the product to toggle is assortment value of
|
|
357
|
+
* @returns
|
|
358
|
+
*/
|
|
359
|
+
toggleProductInAssortmentAsync(productId: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
360
|
+
private _saveQuoteAsync;
|
|
361
|
+
/**
|
|
362
|
+
* Saves a Quote
|
|
363
|
+
* @param request - Quote
|
|
364
|
+
* @returns The saved Quote
|
|
365
|
+
*/
|
|
366
|
+
saveQuoteAsync(request: carriers.Quote_SaveQuoteRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Quote>;
|
|
367
|
+
/**
|
|
368
|
+
* Saves a Quote
|
|
369
|
+
* @param quote - The Quote to save
|
|
370
|
+
* @returns The saved Quote
|
|
371
|
+
*/
|
|
372
|
+
saveQuoteAsync(quote: carriers.Quote, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Quote>;
|
|
373
|
+
private _getQuoteAsync;
|
|
374
|
+
/**
|
|
375
|
+
* Get a Quote
|
|
376
|
+
* @param request - QuoteId
|
|
377
|
+
* @returns The Quote
|
|
378
|
+
*/
|
|
379
|
+
getQuoteAsync(request: carriers.Quote_GetQuoteRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Quote>;
|
|
380
|
+
/**
|
|
381
|
+
* Get a Quote
|
|
382
|
+
* @param quoteId - QuoteId of the Quote to get.
|
|
383
|
+
* @returns The Quote
|
|
384
|
+
*/
|
|
385
|
+
getQuoteAsync(quoteId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Quote>;
|
|
386
|
+
private _getQuoteFromSaleIdAsync;
|
|
387
|
+
/**
|
|
388
|
+
* Get a Quote for a sale
|
|
389
|
+
* @param request - SaleId
|
|
390
|
+
* @returns The Quote
|
|
391
|
+
*/
|
|
392
|
+
getQuoteFromSaleIdAsync(request: carriers.Quote_GetQuoteFromSaleIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Quote>;
|
|
393
|
+
/**
|
|
394
|
+
* Get a Quote for a sale
|
|
395
|
+
* @param saleId - SaleId of the Quote to get.
|
|
396
|
+
* @returns The Quote
|
|
397
|
+
*/
|
|
398
|
+
getQuoteFromSaleIdAsync(saleId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.Quote>;
|
|
399
|
+
getQuoteAlternativeAsync(quoteAlternativeId: number, options?: base.WebApiRequestOptions): Promise<carriers.QuoteAlternative>;
|
|
400
|
+
private _recalculateQuoteAlternativeAsync;
|
|
401
|
+
/**
|
|
402
|
+
* When the user changes one or more values in a quoteline or a quoteAlternative, the connector gets to change the QuoteLines and the alternative, for instance calculate VAT. RecalculateQuoteAlternative shall be called when the user changes any of the following fields: Quantity, DiscountAmount, DiscountPercent, listprice (if allowed). RecalculateQuoteAlternative will calculate the TotalPrice and the VAT (if possible) for the lines and the alternative.
|
|
403
|
+
* @param request - QuoteAlternative
|
|
404
|
+
* @returns The updated quote version.
|
|
405
|
+
*/
|
|
406
|
+
recalculateQuoteAlternativeAsync(request: carriers.Quote_RecalculateQuoteAlternativeRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteAlternativeRecalculated>;
|
|
407
|
+
/**
|
|
408
|
+
* When the user changes one or more values in a quoteline or a quoteAlternative, the connector gets to change the QuoteLines and the alternative, for instance calculate VAT. RecalculateQuoteAlternative shall be called when the user changes any of the following fields: Quantity, DiscountAmount, DiscountPercent, listprice (if allowed). RecalculateQuoteAlternative will calculate the TotalPrice and the VAT (if possible) for the lines and the alternative.
|
|
409
|
+
* @param quoteAlternative - The alternative to be recalculated
|
|
410
|
+
* @returns The updated quote version.
|
|
411
|
+
*/
|
|
412
|
+
recalculateQuoteAlternativeAsync(quoteAlternative: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteAlternativeRecalculated>;
|
|
413
|
+
private _getQuoteAlternativesAsync;
|
|
414
|
+
/**
|
|
415
|
+
* Get all quote alternatives for a quote version
|
|
416
|
+
* @param request - QuoteVersionId
|
|
417
|
+
* @returns Array of Quote alternatives
|
|
418
|
+
*/
|
|
419
|
+
getQuoteAlternativesAsync(request: carriers.Quote_GetQuoteAlternativesRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteAlternative[]>;
|
|
420
|
+
/**
|
|
421
|
+
* Get all quote alternatives for a quote version
|
|
422
|
+
* @param quoteVersionId - QuoteVersionId of the revison to get alternatives for.
|
|
423
|
+
* @returns Array of Quote alternatives
|
|
424
|
+
*/
|
|
425
|
+
getQuoteAlternativesAsync(quoteVersionId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteAlternative[]>;
|
|
426
|
+
private _moveQuoteLineAsync;
|
|
427
|
+
/**
|
|
428
|
+
* Move quote line rank up/down
|
|
429
|
+
* @param request - QuoteLineId, Direction
|
|
430
|
+
* @returns Void return
|
|
431
|
+
*/
|
|
432
|
+
moveQuoteLineAsync(request: carriers.Quote_MoveQuoteLineRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
433
|
+
/**
|
|
434
|
+
* Move quote line rank up/down
|
|
435
|
+
* @param quoteLineId - Id of quote line to move up/down
|
|
436
|
+
* @param direction - True is up, false is down
|
|
437
|
+
* @returns Void return
|
|
438
|
+
*/
|
|
439
|
+
moveQuoteLineAsync(quoteLineId: number, direction: boolean, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
440
|
+
private _createQuoteAlternativeAsync;
|
|
441
|
+
/**
|
|
442
|
+
* Create a new quote alternative on a version.
|
|
443
|
+
* @param request - QuoteVersionId, QuoteAlternativeName, QuoteAlternativeDescription
|
|
444
|
+
* @returns The newly created QuoteAlternative.
|
|
445
|
+
*/
|
|
446
|
+
createQuoteAlternativeAsync(request: carriers.Quote_CreateQuoteAlternativeRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteAlternative>;
|
|
447
|
+
/**
|
|
448
|
+
* Create a new quote alternative on a version.
|
|
449
|
+
* @param quoteVersionId - QuoteVersionId of the version to create the alternative on.
|
|
450
|
+
* @param quoteAlternativeName - The name to set on the new alternative.
|
|
451
|
+
* @param quoteAlternativeDescription - The description to set on the new alternative.
|
|
452
|
+
* @returns The newly created QuoteAlternative.
|
|
453
|
+
*/
|
|
454
|
+
createQuoteAlternativeAsync(quoteVersionId: number, quoteAlternativeName: string, quoteAlternativeDescription: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteAlternative>;
|
|
455
|
+
private _copyQuoteAlternativeAsync;
|
|
456
|
+
/**
|
|
457
|
+
* Copy a quote alternative from the same sale and adds it to a version.
|
|
458
|
+
* @param request - QuoteVersionId, QuoteAlternativeId, QuoteAlternativeName
|
|
459
|
+
* @returns The copied QuoteAlternative.
|
|
460
|
+
*/
|
|
461
|
+
copyQuoteAlternativeAsync(request: carriers.Quote_CopyQuoteAlternativeRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteAlternative>;
|
|
462
|
+
/**
|
|
463
|
+
* Copy a quote alternative from the same sale and adds it to a version.
|
|
464
|
+
* @param quoteVersionId - QuoteVersionId of the version to copy the alternative to.
|
|
465
|
+
* @param quoteAlternativeId - QuoteAlternativeId of the alternative to make a copy of.
|
|
466
|
+
* @param quoteAlternativeName - The name to set on the new alternative.
|
|
467
|
+
* @returns The copied QuoteAlternative.
|
|
468
|
+
*/
|
|
469
|
+
copyQuoteAlternativeAsync(quoteVersionId: number, quoteAlternativeId: number, quoteAlternativeName: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteAlternative>;
|
|
470
|
+
private _deleteQuoteAlternativeAsync;
|
|
471
|
+
/**
|
|
472
|
+
* Delete a quote alternative
|
|
473
|
+
* @param request - QuoteAlternativeId
|
|
474
|
+
* @returns A void return
|
|
475
|
+
*/
|
|
476
|
+
deleteQuoteAlternativeAsync(request: carriers.Quote_DeleteQuoteAlternativeRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
477
|
+
/**
|
|
478
|
+
* Delete a quote alternative
|
|
479
|
+
* @param quoteAlternativeId - Id of the quote alternative to delete.
|
|
480
|
+
* @returns A void return
|
|
481
|
+
*/
|
|
482
|
+
deleteQuoteAlternativeAsync(quoteAlternativeId: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
483
|
+
private _hasConnectionsAsync;
|
|
484
|
+
/**
|
|
485
|
+
* Whether or not the system has any connections available for this user.
|
|
486
|
+
* @returns The response
|
|
487
|
+
*/
|
|
488
|
+
hasConnectionsAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginResponse>;
|
|
489
|
+
private _getAllInstalledQuoteConnectionsAsync;
|
|
490
|
+
/**
|
|
491
|
+
* Get all installed connections. Some installed connections may not be available to the user.
|
|
492
|
+
* @returns List of connections
|
|
493
|
+
*/
|
|
494
|
+
getAllInstalledQuoteConnectionsAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteConnection[]>;
|
|
495
|
+
private _getAllAvailableQuoteConnectionsAsync;
|
|
496
|
+
/**
|
|
497
|
+
* Get all available connections. Some installed connections may not be available to the user. Use GetAllAvailableQuoteConnectionsWithPriceLists if you need the pricelists on the connections as well.
|
|
498
|
+
* @returns List of connections
|
|
499
|
+
*/
|
|
500
|
+
getAllAvailableQuoteConnectionsAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteConnection[]>;
|
|
501
|
+
private _getAllAvailableQuoteConnectionsWithPriceListsAsync;
|
|
502
|
+
/**
|
|
503
|
+
* Get all available connections. Some installed connections may not be available to the user. Includes pricelists for the connection. This is a heavy call
|
|
504
|
+
* @returns List of connections
|
|
505
|
+
*/
|
|
506
|
+
getAllAvailableQuoteConnectionsWithPriceListsAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteConnection[]>;
|
|
507
|
+
private _createConnectionFromConnectorNameAsync;
|
|
508
|
+
/**
|
|
509
|
+
* Create a new connection.
|
|
510
|
+
* @param request - ConnectorName
|
|
511
|
+
* @returns The created connection
|
|
512
|
+
*/
|
|
513
|
+
createConnectionFromConnectorNameAsync(request: carriers.Quote_CreateConnectionFromConnectorNameRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteConnection>;
|
|
514
|
+
/**
|
|
515
|
+
* Create a new connection.
|
|
516
|
+
* @param connectorName - The name of the connector to create this connection for.
|
|
517
|
+
* @returns The created connection
|
|
518
|
+
*/
|
|
519
|
+
createConnectionFromConnectorNameAsync(connectorName: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteConnection>;
|
|
520
|
+
private _getConnectionAsync;
|
|
521
|
+
/**
|
|
522
|
+
* Returns the specified connection.
|
|
523
|
+
* @param request - QuoteConnectionId
|
|
524
|
+
* @returns The connection
|
|
525
|
+
*/
|
|
526
|
+
getConnectionAsync(request: carriers.Quote_GetConnectionRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteConnection>;
|
|
527
|
+
/**
|
|
528
|
+
* Returns the specified connection.
|
|
529
|
+
* @param quoteConnectionId - Primary key of the connection
|
|
530
|
+
* @returns The connection
|
|
531
|
+
*/
|
|
532
|
+
getConnectionAsync(quoteConnectionId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteConnection>;
|
|
533
|
+
private _saveConnectionAsync;
|
|
534
|
+
/**
|
|
535
|
+
* Saves a connection to the database.
|
|
536
|
+
* @param request - Connection
|
|
537
|
+
* @returns The resulting connection.
|
|
538
|
+
*/
|
|
539
|
+
saveConnectionAsync(request: carriers.Quote_SaveConnectionRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteConnection>;
|
|
540
|
+
/**
|
|
541
|
+
* Saves a connection to the database.
|
|
542
|
+
* @param connection - The connection to save.
|
|
543
|
+
* @returns The resulting connection.
|
|
544
|
+
*/
|
|
545
|
+
saveConnectionAsync(connection: carriers.QuoteConnection, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteConnection>;
|
|
546
|
+
private _deleteConnectionAsync;
|
|
547
|
+
/**
|
|
548
|
+
* Marks a connection as deleted.
|
|
549
|
+
* @param request - QuoteConnectionId
|
|
550
|
+
* @returns A void return
|
|
551
|
+
*/
|
|
552
|
+
deleteConnectionAsync(request: carriers.Quote_DeleteConnectionRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
553
|
+
/**
|
|
554
|
+
* Marks a connection as deleted.
|
|
555
|
+
* @param quoteConnectionId - Primary key of the connection to delete
|
|
556
|
+
* @returns A void return
|
|
557
|
+
*/
|
|
558
|
+
deleteConnectionAsync(quoteConnectionId: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
559
|
+
private _restoreConnectionAsync;
|
|
560
|
+
/**
|
|
561
|
+
* Restores a connection marked as deleted.
|
|
562
|
+
* @param request - QuoteConnectionId
|
|
563
|
+
* @returns A void return
|
|
564
|
+
*/
|
|
565
|
+
restoreConnectionAsync(request: carriers.Quote_RestoreConnectionRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
566
|
+
/**
|
|
567
|
+
* Restores a connection marked as deleted.
|
|
568
|
+
* @param quoteConnectionId - Primary key of the connection to restore
|
|
569
|
+
* @returns A void return
|
|
570
|
+
*/
|
|
571
|
+
restoreConnectionAsync(quoteConnectionId: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
572
|
+
private _getConnectionsForAssociateAsync;
|
|
573
|
+
/**
|
|
574
|
+
* Returns all connections available for the specified user.
|
|
575
|
+
* @param request - AssociateId
|
|
576
|
+
* @returns The connections
|
|
577
|
+
*/
|
|
578
|
+
getConnectionsForAssociateAsync(request: carriers.Quote_GetConnectionsForAssociateRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteConnection[]>;
|
|
579
|
+
/**
|
|
580
|
+
* Returns all connections available for the specified user.
|
|
581
|
+
* @param associateId - Primary key of the user
|
|
582
|
+
* @returns The connections
|
|
583
|
+
*/
|
|
584
|
+
getConnectionsForAssociateAsync(associateId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteConnection[]>;
|
|
585
|
+
private _getActivePriceListsAsync;
|
|
586
|
+
/**
|
|
587
|
+
* Gets the available active PriceLists in a specific currency. Will return empty array if there is no PriceList with the stated currency available.
|
|
588
|
+
* @param request - QuoteConnectionId, Currency
|
|
589
|
+
* @returns The PriceLists that supports a specific currency
|
|
590
|
+
*/
|
|
591
|
+
getActivePriceListsAsync(request: carriers.Quote_GetActivePriceListsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PriceList[]>;
|
|
592
|
+
/**
|
|
593
|
+
* Gets the available active PriceLists in a specific currency. Will return empty array if there is no PriceList with the stated currency available.
|
|
594
|
+
* @param quoteConnectionId - Primary key of the connection
|
|
595
|
+
* @param currency - Iso currency like: USD or NOK. See http://www.currency-iso.org/dl_iso_table_a1.xls for details. Case insensitive. Will return empty array if there is no PriceList with the stated currency available.
|
|
596
|
+
* @returns The PriceLists that supports a specific currency
|
|
597
|
+
*/
|
|
598
|
+
getActivePriceListsAsync(quoteConnectionId: number, currency: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PriceList[]>;
|
|
599
|
+
private _getActivePriceListsByCurrencyIdAsync;
|
|
600
|
+
/**
|
|
601
|
+
* Gets the available active PriceLists in a specific currency. Will return empty array if there is no PriceList with the stated currency available.
|
|
602
|
+
* @param request - QuoteConnectionId, CurrencyId
|
|
603
|
+
* @returns The PriceLists that supports a specific currency
|
|
604
|
+
*/
|
|
605
|
+
getActivePriceListsByCurrencyIdAsync(request: carriers.Quote_GetActivePriceListsByCurrencyIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PriceList[]>;
|
|
606
|
+
/**
|
|
607
|
+
* Gets the available active PriceLists in a specific currency. Will return empty array if there is no PriceList with the stated currency available.
|
|
608
|
+
* @param quoteConnectionId - Primary key of the connection
|
|
609
|
+
* @param currencyId - SuperOffice currency id.
|
|
610
|
+
* @returns The PriceLists that supports a specific currency
|
|
611
|
+
*/
|
|
612
|
+
getActivePriceListsByCurrencyIdAsync(quoteConnectionId: number, currencyId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PriceList[]>;
|
|
613
|
+
private _getAllPriceListsAsync;
|
|
614
|
+
/**
|
|
615
|
+
* Gets the all PriceLists in all currencies, including those inactive. Will return empty array if there is no PriceList available.
|
|
616
|
+
* @param request - QuoteConnectionId, Currency
|
|
617
|
+
* @returns The PriceLists that supports a specific currency
|
|
618
|
+
*/
|
|
619
|
+
getAllPriceListsAsync(request: carriers.Quote_GetAllPriceListsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PriceList[]>;
|
|
620
|
+
/**
|
|
621
|
+
* Gets the all PriceLists in all currencies, including those inactive. Will return empty array if there is no PriceList available.
|
|
622
|
+
* @param quoteConnectionId - Primary key of the connection
|
|
623
|
+
* @param currency - Iso currency like: USD or NOK. See http://www.currency-iso.org/dl_iso_table_a1.xls for details. Case insensitive. Will return empty array if there is no PriceList with the stated currency available.
|
|
624
|
+
* @returns The PriceLists that supports a specific currency
|
|
625
|
+
*/
|
|
626
|
+
getAllPriceListsAsync(quoteConnectionId: number, currency: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PriceList[]>;
|
|
627
|
+
private _getAllPriceListsByCurrencyIdAsync;
|
|
628
|
+
/**
|
|
629
|
+
* Gets the all PriceLists in all currencies, including those inactive. Will return empty array if there is no PriceList available.
|
|
630
|
+
* @param request - QuoteConnectionId, CurrencyId
|
|
631
|
+
* @returns The PriceLists that supports a specific currency
|
|
632
|
+
*/
|
|
633
|
+
getAllPriceListsByCurrencyIdAsync(request: carriers.Quote_GetAllPriceListsByCurrencyIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PriceList[]>;
|
|
634
|
+
/**
|
|
635
|
+
* Gets the all PriceLists in all currencies, including those inactive. Will return empty array if there is no PriceList available.
|
|
636
|
+
* @param quoteConnectionId - Primary key of the connection
|
|
637
|
+
* @param currencyId - SuperOffice currency id.
|
|
638
|
+
* @returns The PriceLists that supports a specific currency
|
|
639
|
+
*/
|
|
640
|
+
getAllPriceListsByCurrencyIdAsync(quoteConnectionId: number, currencyId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PriceList[]>;
|
|
641
|
+
private _getConnectorCapabilityNamesAsync;
|
|
642
|
+
/**
|
|
643
|
+
* Gets a list of all possible connector capabilities
|
|
644
|
+
* @param request - QuoteConnectionId
|
|
645
|
+
* @returns Capabilities names
|
|
646
|
+
*/
|
|
647
|
+
getConnectorCapabilityNamesAsync(request: carriers.Quote_GetConnectorCapabilityNamesRequest, webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
|
|
648
|
+
/**
|
|
649
|
+
* Gets a list of all possible connector capabilities
|
|
650
|
+
* @param quoteConnectionId - Primary key of the connection
|
|
651
|
+
* @returns Capabilities names
|
|
652
|
+
*/
|
|
653
|
+
getConnectorCapabilityNamesAsync(quoteConnectionId: number, webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
|
|
654
|
+
private _getConnectorCapabilitiesAsync;
|
|
655
|
+
/**
|
|
656
|
+
* Gets a list of connector capabilities
|
|
657
|
+
* @param request - QuoteConnectionId
|
|
658
|
+
* @returns Capabilities
|
|
659
|
+
*/
|
|
660
|
+
getConnectorCapabilitiesAsync(request: carriers.Quote_GetConnectorCapabilitiesRequest, webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
|
|
661
|
+
/**
|
|
662
|
+
* Gets a list of connector capabilities
|
|
663
|
+
* @param quoteConnectionId - Primary key of the connection
|
|
664
|
+
* @returns Capabilities
|
|
665
|
+
*/
|
|
666
|
+
getConnectorCapabilitiesAsync(quoteConnectionId: number, webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
|
|
667
|
+
private _canConnectorProvideCapabilityAsync;
|
|
668
|
+
/**
|
|
669
|
+
* Can the connector provide the capability
|
|
670
|
+
* @param request - QuoteConnectionId, CapabilityName
|
|
671
|
+
* @returns Capability name
|
|
672
|
+
*/
|
|
673
|
+
canConnectorProvideCapabilityAsync(request: carriers.Quote_CanConnectorProvideCapabilityRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
674
|
+
/**
|
|
675
|
+
* Can the connector provide the capability
|
|
676
|
+
* @param quoteConnectionId - Primary key of the connection
|
|
677
|
+
* @param capabilityName - Capability name
|
|
678
|
+
* @returns Capability name
|
|
679
|
+
*/
|
|
680
|
+
canConnectorProvideCapabilityAsync(quoteConnectionId: number, capabilityName: string, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
681
|
+
private _getConnectionStartupErrorsAsync;
|
|
682
|
+
/**
|
|
683
|
+
* Returns an array of PluginResponseInfos for all failed connection initializations.
|
|
684
|
+
* @returns Array of PluginResponseInfos for each failed connection initialization.
|
|
685
|
+
*/
|
|
686
|
+
getConnectionStartupErrorsAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginResponse[]>;
|
|
687
|
+
private _getConnectionStartupResponseAsync;
|
|
688
|
+
/**
|
|
689
|
+
* Returns the PluginResponseInfo for the connection initialization. Does not initialize the connection, just returns what happened when initialize was called.
|
|
690
|
+
* @param request - QuoteConnectionId
|
|
691
|
+
* @returns PluginResponseInfo for the connection initialization.
|
|
692
|
+
*/
|
|
693
|
+
getConnectionStartupResponseAsync(request: carriers.Quote_GetConnectionStartupResponseRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginResponse>;
|
|
694
|
+
/**
|
|
695
|
+
* Returns the PluginResponseInfo for the connection initialization. Does not initialize the connection, just returns what happened when initialize was called.
|
|
696
|
+
* @param quoteConnectionId - Primary key of the connection
|
|
697
|
+
* @returns PluginResponseInfo for the connection initialization.
|
|
698
|
+
*/
|
|
699
|
+
getConnectionStartupResponseAsync(quoteConnectionId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginResponse>;
|
|
700
|
+
private _getConnectionConfigFieldsAsync;
|
|
701
|
+
/**
|
|
702
|
+
* Returns the config fields for the connection.
|
|
703
|
+
* @param request - QuoteConnectionId
|
|
704
|
+
* @returns Config Fields
|
|
705
|
+
*/
|
|
706
|
+
getConnectionConfigFieldsAsync(request: carriers.Quote_GetConnectionConfigFieldsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.StringDictionary>;
|
|
707
|
+
/**
|
|
708
|
+
* Returns the config fields for the connection.
|
|
709
|
+
* @param quoteConnectionId - Primary key of the connection
|
|
710
|
+
* @returns Config Fields
|
|
711
|
+
*/
|
|
712
|
+
getConnectionConfigFieldsAsync(quoteConnectionId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.StringDictionary>;
|
|
713
|
+
private _saveConnectionConfigFieldsAsync;
|
|
714
|
+
/**
|
|
715
|
+
* Saves the connection config fields
|
|
716
|
+
* @param request - QuoteConnectionId, ConnectionConfigFields
|
|
717
|
+
* @returns Config Fields
|
|
718
|
+
*/
|
|
719
|
+
saveConnectionConfigFieldsAsync(request: carriers.Quote_SaveConnectionConfigFieldsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.StringDictionary>;
|
|
720
|
+
/**
|
|
721
|
+
* Saves the connection config fields
|
|
722
|
+
* @param quoteConnectionId - Primary key of the connection
|
|
723
|
+
* @param connectionConfigFields - ConnectionConfigFields to save.
|
|
724
|
+
* @returns Config Fields
|
|
725
|
+
*/
|
|
726
|
+
saveConnectionConfigFieldsAsync(quoteConnectionId: number, connectionConfigFields: carriers.StringDictionary, webapi_options?: base.WebApiRequestOptions): Promise<carriers.StringDictionary>;
|
|
727
|
+
private _createAndSaveQuoteAsync;
|
|
728
|
+
/**
|
|
729
|
+
* Creates a new quote on a sale.
|
|
730
|
+
* @param request - SaleId, ConnectionId, FirstAlternativeName
|
|
731
|
+
* @returns Quote carrier
|
|
732
|
+
*/
|
|
733
|
+
createAndSaveQuoteAsync(request: carriers.Quote_CreateAndSaveQuoteRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteEntity>;
|
|
734
|
+
/**
|
|
735
|
+
* Creates a new quote on a sale.
|
|
736
|
+
* @param saleId - SaleId of the connected sale
|
|
737
|
+
* @param connectionId - ConnectionId
|
|
738
|
+
* @param firstAlternativeName - Name to be given to the default alternative
|
|
739
|
+
* @returns Quote carrier
|
|
740
|
+
*/
|
|
741
|
+
createAndSaveQuoteAsync(saleId: number, connectionId: number, firstAlternativeName: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteEntity>;
|
|
742
|
+
private _getQuoteEntityAsync;
|
|
743
|
+
/**
|
|
744
|
+
* Get a Quote
|
|
745
|
+
* @param request - QuoteId
|
|
746
|
+
* @returns The Quote
|
|
747
|
+
*/
|
|
748
|
+
getQuoteEntityAsync(request: carriers.Quote_GetQuoteEntityRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteEntity>;
|
|
749
|
+
/**
|
|
750
|
+
* Get a Quote
|
|
751
|
+
* @param quoteId - QuoteId of the Quote to get.
|
|
752
|
+
* @returns The Quote
|
|
753
|
+
*/
|
|
754
|
+
getQuoteEntityAsync(quoteId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteEntity>;
|
|
755
|
+
private _getQuoteEntityFromSaleIdAsync;
|
|
756
|
+
/**
|
|
757
|
+
* Get a Quote for a sale
|
|
758
|
+
* @param request - SaleId
|
|
759
|
+
* @returns The Quote
|
|
760
|
+
*/
|
|
761
|
+
getQuoteEntityFromSaleIdAsync(request: carriers.Quote_GetQuoteEntityFromSaleIdRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteEntity>;
|
|
762
|
+
/**
|
|
763
|
+
* Get a Quote for a sale
|
|
764
|
+
* @param saleId - SaleId of the Quote to get.
|
|
765
|
+
* @returns The Quote
|
|
766
|
+
*/
|
|
767
|
+
getQuoteEntityFromSaleIdAsync(saleId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteEntity>;
|
|
768
|
+
private _saveQuoteEntityAsync;
|
|
769
|
+
/**
|
|
770
|
+
* Saves a QuoteEntity. Versions and alternatives will not be saved by this call.
|
|
771
|
+
* @param request - QuoteEntity
|
|
772
|
+
* @returns The saved Quote
|
|
773
|
+
*/
|
|
774
|
+
saveQuoteEntityAsync(request: carriers.Quote_SaveQuoteEntityRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteEntity>;
|
|
775
|
+
/**
|
|
776
|
+
* Saves a QuoteEntity. Versions and alternatives will not be saved by this call.
|
|
777
|
+
* @param quoteEntity - The Quote entity to save
|
|
778
|
+
* @returns The saved Quote
|
|
779
|
+
*/
|
|
780
|
+
saveQuoteEntityAsync(quoteEntity: carriers.QuoteEntity, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteEntity>;
|
|
781
|
+
private _createAndSaveQuoteFromSaleAsync;
|
|
782
|
+
/**
|
|
783
|
+
* Creates a copy the active version with connected alternatives and quotelines from another sale.
|
|
784
|
+
* @param request - CopyFromSaleId, CopyToSaleId
|
|
785
|
+
* @returns The created Quote
|
|
786
|
+
*/
|
|
787
|
+
createAndSaveQuoteFromSaleAsync(request: carriers.Quote_CreateAndSaveQuoteFromSaleRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteEntity>;
|
|
788
|
+
/**
|
|
789
|
+
* Creates a copy the active version with connected alternatives and quotelines from another sale.
|
|
790
|
+
* @param copyFromSaleId - Id of the sale to copy the active quote from.
|
|
791
|
+
* @param copyToSaleId - Id of the sale to copy the active quote to.
|
|
792
|
+
* @returns The created Quote
|
|
793
|
+
*/
|
|
794
|
+
createAndSaveQuoteFromSaleAsync(copyFromSaleId: number, copyToSaleId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteEntity>;
|
|
795
|
+
private _placeOrderAsync;
|
|
796
|
+
/**
|
|
797
|
+
* Place an order in the ERP system.
|
|
798
|
+
* @param request - QuoteAlternativeId, MarkSaleAsSold, PoNumber, OrderComment, Culture
|
|
799
|
+
* @returns Status for the placed order: OkWithInfo / Warn / Error with message or URL to open.
|
|
800
|
+
*/
|
|
801
|
+
placeOrderAsync(request: carriers.Quote_PlaceOrderRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginUrlResponse>;
|
|
802
|
+
/**
|
|
803
|
+
* Place an order in the ERP system.
|
|
804
|
+
* @param quoteAlternativeId - Id of the alternative to place the order on.
|
|
805
|
+
* @param markSaleAsSold - Should the state of the owning Sale be set to sold
|
|
806
|
+
* @param poNumber - Purchase order number, saved to Quote record
|
|
807
|
+
* @param orderComment - Order comment, saved to Quote record
|
|
808
|
+
* @param culture - Desired culture for email body and other culture-sensitive templates/content
|
|
809
|
+
* @returns Status for the placed order: OkWithInfo / Warn / Error with message or URL to open.
|
|
810
|
+
*/
|
|
811
|
+
placeOrderAsync(quoteAlternativeId: number, markSaleAsSold: boolean, poNumber: string, orderComment: string, culture: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginUrlResponse>;
|
|
812
|
+
private _getOrderStateAsync;
|
|
813
|
+
/**
|
|
814
|
+
* If there is a problem with a quoteline, the error description shall be placed in the status and reason fields of the quoteline, if there is a problem with the alternative, the error description shall be placed in the status and reason fields of the alternative. A summary of all the problems (if any) should be placed in the response object. Requires that the Create-Order capability is true.
|
|
815
|
+
* @param request - QuoteVersionId
|
|
816
|
+
* @returns The order state. If a new quoteversion is created, the QuoteVersionId will be found in Changes.AddedRecords.
|
|
817
|
+
*/
|
|
818
|
+
getOrderStateAsync(request: carriers.Quote_GetOrderStateRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginUrlResponse>;
|
|
819
|
+
/**
|
|
820
|
+
* If there is a problem with a quoteline, the error description shall be placed in the status and reason fields of the quoteline, if there is a problem with the alternative, the error description shall be placed in the status and reason fields of the alternative. A summary of all the problems (if any) should be placed in the response object. Requires that the Create-Order capability is true.
|
|
821
|
+
* @param quoteVersionId - the QuoteVersionId of the ordered version.
|
|
822
|
+
* @returns The order state. If a new quoteversion is created, the QuoteVersionId will be found in Changes.AddedRecords.
|
|
823
|
+
*/
|
|
824
|
+
getOrderStateAsync(quoteVersionId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginUrlResponse>;
|
|
825
|
+
private _deleteQuoteAsync;
|
|
826
|
+
/**
|
|
827
|
+
* Delete a Quote
|
|
828
|
+
* @param request - QuoteId
|
|
829
|
+
* @returns
|
|
830
|
+
*/
|
|
831
|
+
deleteQuoteAsync(request: carriers.Quote_DeleteQuoteRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
832
|
+
/**
|
|
833
|
+
* Delete a Quote
|
|
834
|
+
* @param quoteId - QuoteId of the Quote to delete.
|
|
835
|
+
* @returns
|
|
836
|
+
*/
|
|
837
|
+
deleteQuoteAsync(quoteId: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
838
|
+
private _createQuoteLineAsync;
|
|
839
|
+
/**
|
|
840
|
+
* Create a quoteline based on a product key.
|
|
841
|
+
* @param request - QuoteAlternativeId, ERPProductKey
|
|
842
|
+
* @returns The updated quote line.
|
|
843
|
+
*/
|
|
844
|
+
createQuoteLineAsync(request: carriers.Quote_CreateQuoteLineRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLine>;
|
|
845
|
+
/**
|
|
846
|
+
* Create a quoteline based on a product key.
|
|
847
|
+
* @param quoteAlternativeId - Primary key of the alternative
|
|
848
|
+
* @param erpProductKey - Primary key of the product in the ProductProvider
|
|
849
|
+
* @returns The updated quote line.
|
|
850
|
+
*/
|
|
851
|
+
createQuoteLineAsync(quoteAlternativeId: number, erpProductKey: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLine>;
|
|
852
|
+
private _createQuoteLineFromProductAsync;
|
|
853
|
+
/**
|
|
854
|
+
* Create a quoteline based on a product.
|
|
855
|
+
* @param request - QuoteAlternativeId, Product
|
|
856
|
+
* @returns The updated quote line.
|
|
857
|
+
*/
|
|
858
|
+
createQuoteLineFromProductAsync(request: carriers.Quote_CreateQuoteLineFromProductRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLine>;
|
|
859
|
+
/**
|
|
860
|
+
* Create a quoteline based on a product.
|
|
861
|
+
* @param quoteAlternativeId - Primary key of the alternative
|
|
862
|
+
* @param product - Product carrier
|
|
863
|
+
* @returns The updated quote line.
|
|
864
|
+
*/
|
|
865
|
+
createQuoteLineFromProductAsync(quoteAlternativeId: number, product: carriers.Product, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLine>;
|
|
866
|
+
private _saveQuoteLineAsync;
|
|
867
|
+
/**
|
|
868
|
+
* Saves the QuoteLine in the SuperOffice database
|
|
869
|
+
* @param request - QuoteLine
|
|
870
|
+
* @returns The updated quote line (If the quoteline was new, it returns with id's set.
|
|
871
|
+
*/
|
|
872
|
+
saveQuoteLineAsync(request: carriers.Quote_SaveQuoteLineRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLine>;
|
|
873
|
+
/**
|
|
874
|
+
* Saves the QuoteLine in the SuperOffice database
|
|
875
|
+
* @param quoteLine - The QuoteLine to save.
|
|
876
|
+
* @returns The updated quote line (If the quoteline was new, it returns with id's set.
|
|
877
|
+
*/
|
|
878
|
+
saveQuoteLineAsync(quoteLine: carriers.QuoteLine, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLine>;
|
|
879
|
+
private _saveQuoteLinesAsync;
|
|
880
|
+
/**
|
|
881
|
+
* Saves the QuoteLines in the SuperOffice database
|
|
882
|
+
* @param request - QuoteLines
|
|
883
|
+
* @returns The updated quote lines (If the quoteline was new, it returns with id's set.
|
|
884
|
+
*/
|
|
885
|
+
saveQuoteLinesAsync(request: carriers.Quote_SaveQuoteLinesRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLine[]>;
|
|
886
|
+
/**
|
|
887
|
+
* Saves the QuoteLines in the SuperOffice database
|
|
888
|
+
* @param quoteLines - The QuoteLines to save.
|
|
889
|
+
* @returns The updated quote lines (If the quoteline was new, it returns with id's set.
|
|
890
|
+
*/
|
|
891
|
+
saveQuoteLinesAsync(quoteLines: carriers.QuoteLine[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLine[]>;
|
|
892
|
+
private _getQuoteLineAsync;
|
|
893
|
+
/**
|
|
894
|
+
* Get QuoteLine from database
|
|
895
|
+
* @param request - QuoteLineId
|
|
896
|
+
* @returns The updated quote line (If the quoteline was new, it returns with id's set.
|
|
897
|
+
*/
|
|
898
|
+
getQuoteLineAsync(request: carriers.Quote_GetQuoteLineRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLine>;
|
|
899
|
+
/**
|
|
900
|
+
* Get QuoteLine from database
|
|
901
|
+
* @param quoteLineId - Primary key of the quoteline to get.
|
|
902
|
+
* @returns The updated quote line (If the quoteline was new, it returns with id's set.
|
|
903
|
+
*/
|
|
904
|
+
getQuoteLineAsync(quoteLineId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLine>;
|
|
905
|
+
private _getQuoteLinesAsync;
|
|
906
|
+
/**
|
|
907
|
+
* Get all QuoteLines from an alternative
|
|
908
|
+
* @param request - QuoteAlternativeId
|
|
909
|
+
* @returns QuoteLine array
|
|
910
|
+
*/
|
|
911
|
+
getQuoteLinesAsync(request: carriers.Quote_GetQuoteLinesRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLine[]>;
|
|
912
|
+
/**
|
|
913
|
+
* Get all QuoteLines from an alternative
|
|
914
|
+
* @param quoteAlternativeId - Id of the alternative to return the quotelines for
|
|
915
|
+
* @returns QuoteLine array
|
|
916
|
+
*/
|
|
917
|
+
getQuoteLinesAsync(quoteAlternativeId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLine[]>;
|
|
918
|
+
private _deleteQuoteLineAsync;
|
|
919
|
+
/**
|
|
920
|
+
* Deletes the QuoteLine in the SuperOffice database
|
|
921
|
+
* @param request - QuoteLineId
|
|
922
|
+
* @returns Nothing
|
|
923
|
+
*/
|
|
924
|
+
deleteQuoteLineAsync(request: carriers.Quote_DeleteQuoteLineRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
925
|
+
/**
|
|
926
|
+
* Deletes the QuoteLine in the SuperOffice database
|
|
927
|
+
* @param quoteLineId - Primary key of the quoteline to delete
|
|
928
|
+
* @returns Nothing
|
|
929
|
+
*/
|
|
930
|
+
deleteQuoteLineAsync(quoteLineId: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
931
|
+
private _deleteQuoteLinesAsync;
|
|
932
|
+
/**
|
|
933
|
+
* Delete the QuoteLines in the SuperOffice database
|
|
934
|
+
* @param request - QuoteLineIds
|
|
935
|
+
* @returns Nothing
|
|
936
|
+
*/
|
|
937
|
+
deleteQuoteLinesAsync(request: carriers.Quote_DeleteQuoteLinesRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
938
|
+
/**
|
|
939
|
+
* Delete the QuoteLines in the SuperOffice database
|
|
940
|
+
* @param quoteLineIds - Primary keys of the quotelines to delete
|
|
941
|
+
* @returns Nothing
|
|
942
|
+
*/
|
|
943
|
+
deleteQuoteLinesAsync(quoteLineIds: number[], webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
944
|
+
private _recalculateQuoteLineAsync;
|
|
945
|
+
/**
|
|
946
|
+
* When the user changes one or more values in a quoteline, the connector gets to change the QuoteLine, for instance calculate VAT. Shall be called when the user changes any of the following fields: Quantity, DiscountAmount, DiscountPercent, ListPrice (if allowed). Will calculate the TotalPrice and the VAT (if possible) for the line.
|
|
947
|
+
* @param request - QuoteLine, ChangedFields
|
|
948
|
+
* @returns The updated quote line.
|
|
949
|
+
*/
|
|
950
|
+
recalculateQuoteLineAsync(request: carriers.Quote_RecalculateQuoteLineRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLine>;
|
|
951
|
+
/**
|
|
952
|
+
* When the user changes one or more values in a quoteline, the connector gets to change the QuoteLine, for instance calculate VAT. Shall be called when the user changes any of the following fields: Quantity, DiscountAmount, DiscountPercent, ListPrice (if allowed). Will calculate the TotalPrice and the VAT (if possible) for the line.
|
|
953
|
+
* @param quoteLine - The QuoteLine to recalculate
|
|
954
|
+
* @param changedFields - The id of the changed fields in the form 'TableName.FieldName'
|
|
955
|
+
* @returns The updated quote line.
|
|
956
|
+
*/
|
|
957
|
+
recalculateQuoteLineAsync(quoteLine: carriers.QuoteLine, changedFields: string[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLine>;
|
|
958
|
+
private _getQuoteLineImageAsync;
|
|
959
|
+
/**
|
|
960
|
+
* Gets an image connected to a quoteline, either from the ERPProvider or from the SuperOffice database
|
|
961
|
+
* @param request - QuoteLineId, Rank
|
|
962
|
+
* @returns The image. Returns null if no image available.
|
|
963
|
+
*/
|
|
964
|
+
getQuoteLineImageAsync(request: carriers.Quote_GetQuoteLineImageRequest, webapi_options?: base.WebApiRequestOptions): Promise<ArrayBuffer | string>;
|
|
965
|
+
/**
|
|
966
|
+
* Gets an image connected to a quoteline, either from the ERPProvider or from the SuperOffice database
|
|
967
|
+
* @param quoteLineId - Primary key of the quoteline
|
|
968
|
+
* @param rank - The rank of the image.
|
|
969
|
+
* @returns The image. Returns null if no image available.
|
|
970
|
+
*/
|
|
971
|
+
getQuoteLineImageAsync(quoteLineId: number, rank: number, webapi_options?: base.WebApiRequestOptions): Promise<ArrayBuffer | string>;
|
|
972
|
+
private _saveQuoteLineImageAsync;
|
|
973
|
+
/**
|
|
974
|
+
* Saves the image connected to a quoteline in the SuperOffice database
|
|
975
|
+
* @param request - QuoteLineId, Image, Rank
|
|
976
|
+
* @returns Nothing
|
|
977
|
+
*/
|
|
978
|
+
saveQuoteLineImageAsync(request: carriers.Quote_SaveQuoteLineImageRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
979
|
+
/**
|
|
980
|
+
* Saves the image connected to a quoteline in the SuperOffice database
|
|
981
|
+
* @param quoteLineId - Primary key of the quoteline
|
|
982
|
+
* @param image - The image.
|
|
983
|
+
* @param rank - The rank of the image.
|
|
984
|
+
* @returns Nothing
|
|
985
|
+
*/
|
|
986
|
+
saveQuoteLineImageAsync(quoteLineId: number, image: ArrayBuffer | string, rank: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
987
|
+
private _getExtraInfoAsync;
|
|
988
|
+
/**
|
|
989
|
+
* Converts an xml string into an object representation.
|
|
990
|
+
* @param request - QuoteLineExtraData
|
|
991
|
+
* @returns An object representation on the xml
|
|
992
|
+
*/
|
|
993
|
+
getExtraInfoAsync(request: carriers.Quote_GetExtraInfoRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ProductExtraDataField[]>;
|
|
994
|
+
/**
|
|
995
|
+
* Converts an xml string into an object representation.
|
|
996
|
+
* @param quoteLineExtraData - The extra data as xml.
|
|
997
|
+
* @returns An object representation on the xml
|
|
998
|
+
*/
|
|
999
|
+
getExtraInfoAsync(quoteLineExtraData: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ProductExtraDataField[]>;
|
|
1000
|
+
private _getQuoteLineConfigurationAsync;
|
|
1001
|
+
/**
|
|
1002
|
+
* Returns the configuration field with the given id
|
|
1003
|
+
* @param request - QuoteLineConfigurationId
|
|
1004
|
+
* @returns QuoteLineConfiguration
|
|
1005
|
+
*/
|
|
1006
|
+
getQuoteLineConfigurationAsync(request: carriers.Quote_GetQuoteLineConfigurationRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLineConfiguration>;
|
|
1007
|
+
/**
|
|
1008
|
+
* Returns the configuration field with the given id
|
|
1009
|
+
* @param quoteLineConfigurationId - Id of the QuoteLineConfiguration to get.
|
|
1010
|
+
* @returns QuoteLineConfiguration
|
|
1011
|
+
*/
|
|
1012
|
+
getQuoteLineConfigurationAsync(quoteLineConfigurationId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLineConfiguration>;
|
|
1013
|
+
private _getQuoteLineConfigurationFromFieldNameAsync;
|
|
1014
|
+
/**
|
|
1015
|
+
* Returns the configuration field with the given field name
|
|
1016
|
+
* @param request - FieldName
|
|
1017
|
+
* @returns QuoteLineConfiguration
|
|
1018
|
+
*/
|
|
1019
|
+
getQuoteLineConfigurationFromFieldNameAsync(request: carriers.Quote_GetQuoteLineConfigurationFromFieldNameRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLineConfiguration>;
|
|
1020
|
+
/**
|
|
1021
|
+
* Returns the configuration field with the given field name
|
|
1022
|
+
* @param fieldName - Field name of the QuoteLineConfiguration to get.
|
|
1023
|
+
* @returns QuoteLineConfiguration
|
|
1024
|
+
*/
|
|
1025
|
+
getQuoteLineConfigurationFromFieldNameAsync(fieldName: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLineConfiguration>;
|
|
1026
|
+
private _getAllQuoteLineConfigurationsAsync;
|
|
1027
|
+
/**
|
|
1028
|
+
* Returns all the configuration fields
|
|
1029
|
+
* @returns Array of QuoteLineConfigurations
|
|
1030
|
+
*/
|
|
1031
|
+
getAllQuoteLineConfigurationsAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLineConfiguration[]>;
|
|
1032
|
+
private _getInUseQuoteLineConfigurationsAsync;
|
|
1033
|
+
/**
|
|
1034
|
+
* Returns the configuration fields that should be visible in the GUI.
|
|
1035
|
+
* @returns Array of QuoteLineConfigurations
|
|
1036
|
+
*/
|
|
1037
|
+
getInUseQuoteLineConfigurationsAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLineConfiguration[]>;
|
|
1038
|
+
private _saveQuoteLineConfigurationAsync;
|
|
1039
|
+
/**
|
|
1040
|
+
* Save a QuoteLineConfiguration object. It is not possible to add a new configuration.
|
|
1041
|
+
* @param request - QuoteLineConfiguration
|
|
1042
|
+
* @returns The saved QuoteLineConfiguration.
|
|
1043
|
+
*/
|
|
1044
|
+
saveQuoteLineConfigurationAsync(request: carriers.Quote_SaveQuoteLineConfigurationRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLineConfiguration>;
|
|
1045
|
+
/**
|
|
1046
|
+
* Save a QuoteLineConfiguration object. It is not possible to add a new configuration.
|
|
1047
|
+
* @param quoteLineConfiguration - The QuoteLineConfiguration to save.
|
|
1048
|
+
* @returns The saved QuoteLineConfiguration.
|
|
1049
|
+
*/
|
|
1050
|
+
saveQuoteLineConfigurationAsync(quoteLineConfiguration: carriers.QuoteLineConfiguration, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLineConfiguration>;
|
|
1051
|
+
private _saveQuoteLineConfigurationsAsync;
|
|
1052
|
+
/**
|
|
1053
|
+
* Save a collection of QuoteLineConfigurations. It is not possible to add a new configurations.
|
|
1054
|
+
* @param request - QuoteLineConfigurations
|
|
1055
|
+
* @returns The saved QuoteLineConfigurations.
|
|
1056
|
+
*/
|
|
1057
|
+
saveQuoteLineConfigurationsAsync(request: carriers.Quote_SaveQuoteLineConfigurationsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLineConfiguration[]>;
|
|
1058
|
+
/**
|
|
1059
|
+
* Save a collection of QuoteLineConfigurations. It is not possible to add a new configurations.
|
|
1060
|
+
* @param quoteLineConfigurations - The QuoteLineConfigurations to save.
|
|
1061
|
+
* @returns The saved QuoteLineConfigurations.
|
|
1062
|
+
*/
|
|
1063
|
+
saveQuoteLineConfigurationsAsync(quoteLineConfigurations: carriers.QuoteLineConfiguration[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteLineConfiguration[]>;
|
|
1064
|
+
private _getQuoteListAsync;
|
|
1065
|
+
/**
|
|
1066
|
+
* Gets a named list from the connector Return array of QuoteListItems. Return NULL if the given list is not supported.
|
|
1067
|
+
* @param request - QuoteListType
|
|
1068
|
+
* @returns The list items
|
|
1069
|
+
*/
|
|
1070
|
+
getQuoteListAsync(request: carriers.Quote_GetQuoteListRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteListItem[]>;
|
|
1071
|
+
/**
|
|
1072
|
+
* Gets a named list from the connector Return array of QuoteListItems. Return NULL if the given list is not supported.
|
|
1073
|
+
* @param quoteListType - The name of the requested list, for instance: ProductCategory, ProductFamily, ProductType, PaymentTerms, PaymentType, DeliveryTerms, DeliveryType.
|
|
1074
|
+
* @returns The list items
|
|
1075
|
+
*/
|
|
1076
|
+
getQuoteListAsync(quoteListType: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteListItem[]>;
|
|
1077
|
+
private _validateQuoteVersionAsync;
|
|
1078
|
+
/**
|
|
1079
|
+
* When the user changes one or more values in a quoteline or a quoteAlternative, the connector gets to change the QuoteLines and the alternative, for instance calculate VAT. ValidateQuoteVersion shall be called when the user presses the validate button, presses the send button or closes the quote dialog. RecalculateQuoteAlternative should typically validate all alternatives, set values in extrafields, and set the state in the version.
|
|
1080
|
+
* @param request - QuoteVersionId, Action
|
|
1081
|
+
* @returns The updated quote version.
|
|
1082
|
+
*/
|
|
1083
|
+
validateQuoteVersionAsync(request: carriers.Quote_ValidateQuoteVersionRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersionValidated>;
|
|
1084
|
+
/**
|
|
1085
|
+
* When the user changes one or more values in a quoteline or a quoteAlternative, the connector gets to change the QuoteLines and the alternative, for instance calculate VAT. ValidateQuoteVersion shall be called when the user presses the validate button, presses the send button or closes the quote dialog. RecalculateQuoteAlternative should typically validate all alternatives, set values in extrafields, and set the state in the version.
|
|
1086
|
+
* @param quoteVersionId - The version to be validated
|
|
1087
|
+
* @param action - The action, if any, related to the validate call, like PlaceOrder or SendQuote
|
|
1088
|
+
* @returns The updated quote version.
|
|
1089
|
+
*/
|
|
1090
|
+
validateQuoteVersionAsync(quoteVersionId: number, action: enums.QuoteVersionButtonAction, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersionValidated>;
|
|
1091
|
+
private _createAndSaveQuoteVersionAsync;
|
|
1092
|
+
/**
|
|
1093
|
+
* Created a new QuoteVersion based on another QuoteVersion on the same Quote.
|
|
1094
|
+
* @param request - QuoteVersionId
|
|
1095
|
+
* @returns The Quote version
|
|
1096
|
+
*/
|
|
1097
|
+
createAndSaveQuoteVersionAsync(request: carriers.Quote_CreateAndSaveQuoteVersionRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersion>;
|
|
1098
|
+
/**
|
|
1099
|
+
* Created a new QuoteVersion based on another QuoteVersion on the same Quote.
|
|
1100
|
+
* @param quoteVersionId - QuoteVersionId of the version to copy the contents from.
|
|
1101
|
+
* @returns The Quote version
|
|
1102
|
+
*/
|
|
1103
|
+
createAndSaveQuoteVersionAsync(quoteVersionId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersion>;
|
|
1104
|
+
private _getQuoteVersionAsync;
|
|
1105
|
+
/**
|
|
1106
|
+
* Get a QuoteVersion
|
|
1107
|
+
* @param request - QuoteVersionId
|
|
1108
|
+
* @returns Array of Quote versions
|
|
1109
|
+
*/
|
|
1110
|
+
getQuoteVersionAsync(request: carriers.Quote_GetQuoteVersionRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersion>;
|
|
1111
|
+
/**
|
|
1112
|
+
* Get a QuoteVersion
|
|
1113
|
+
* @param quoteVersionId - QuoteVersionId to get information from
|
|
1114
|
+
* @returns Array of Quote versions
|
|
1115
|
+
*/
|
|
1116
|
+
getQuoteVersionAsync(quoteVersionId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersion>;
|
|
1117
|
+
private _getQuoteVersionsAsync;
|
|
1118
|
+
/**
|
|
1119
|
+
* Get all quote versions for a sale
|
|
1120
|
+
* @param request - QuoteId
|
|
1121
|
+
* @returns Array of Quote versions
|
|
1122
|
+
*/
|
|
1123
|
+
getQuoteVersionsAsync(request: carriers.Quote_GetQuoteVersionsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersion[]>;
|
|
1124
|
+
/**
|
|
1125
|
+
* Get all quote versions for a sale
|
|
1126
|
+
* @param quoteId - QuoteId of the quote to get versions from
|
|
1127
|
+
* @returns Array of Quote versions
|
|
1128
|
+
*/
|
|
1129
|
+
getQuoteVersionsAsync(quoteId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersion[]>;
|
|
1130
|
+
private _sendQuoteVersionAsync;
|
|
1131
|
+
/**
|
|
1132
|
+
* Send the quote to the user's customer. More parameters to be added later...
|
|
1133
|
+
* @param request - QuoteVersionId, ExpiryDate, FollowupDate, FollowupText, Culture
|
|
1134
|
+
* @returns Response of the operation
|
|
1135
|
+
*/
|
|
1136
|
+
sendQuoteVersionAsync(request: carriers.Quote_SendQuoteVersionRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginUrlResponse>;
|
|
1137
|
+
/**
|
|
1138
|
+
* Send the quote to the user's customer. More parameters to be added later...
|
|
1139
|
+
* @param quoteVersionId - QuoteVersionId of the quoteversion to send
|
|
1140
|
+
* @param expiryDate - Date the quote expires
|
|
1141
|
+
* @param followupDate - Date for the followup task, to remind the sales rep about the quote
|
|
1142
|
+
* @param followupText - The body text for the follwup appointment, resolved to the correct culture (no resources please)
|
|
1143
|
+
* @param culture - Desired culture for email body and other culture-sensitive templates/content
|
|
1144
|
+
* @returns Response of the operation
|
|
1145
|
+
*/
|
|
1146
|
+
sendQuoteVersionAsync(quoteVersionId: number, expiryDate: Date, followupDate: Date, followupText: string, culture: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginUrlResponse>;
|
|
1147
|
+
private _saveQuoteVersionAsync;
|
|
1148
|
+
/**
|
|
1149
|
+
* Saves a quote version
|
|
1150
|
+
* @param request - QuoteVersion
|
|
1151
|
+
* @returns The saved quote version
|
|
1152
|
+
*/
|
|
1153
|
+
saveQuoteVersionAsync(request: carriers.Quote_SaveQuoteVersionRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersion>;
|
|
1154
|
+
/**
|
|
1155
|
+
* Saves a quote version
|
|
1156
|
+
* @param quoteVersion - The quote version to save
|
|
1157
|
+
* @returns The saved quote version
|
|
1158
|
+
*/
|
|
1159
|
+
saveQuoteVersionAsync(quoteVersion: carriers.QuoteVersion, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersion>;
|
|
1160
|
+
private _approveQuoteVersionAsync;
|
|
1161
|
+
/**
|
|
1162
|
+
* Approves a quote version
|
|
1163
|
+
* @param request - QuoteVersionId, ApprovedByText, ApprovedByAssociateId, ApprovalText
|
|
1164
|
+
* @returns Response of the the operation
|
|
1165
|
+
*/
|
|
1166
|
+
approveQuoteVersionAsync(request: carriers.Quote_ApproveQuoteVersionRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ApproveRejectResponse>;
|
|
1167
|
+
/**
|
|
1168
|
+
* Approves a quote version
|
|
1169
|
+
* @param quoteVersionId - QuoteVersionId to approve.
|
|
1170
|
+
* @param approvedByText - 'Approved by' prefix to ApprovalText used when creating appointment task to log approval. Must be passed since service does not know which language to use for 'Approved By' string.
|
|
1171
|
+
* @param approvedByAssociateId - AssociateId of the associate who approved the quote version.
|
|
1172
|
+
* @param approvalText - Approval text.
|
|
1173
|
+
* @returns Response of the the operation
|
|
1174
|
+
*/
|
|
1175
|
+
approveQuoteVersionAsync(quoteVersionId: number, approvedByText: string, approvedByAssociateId: number, approvalText: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ApproveRejectResponse>;
|
|
1176
|
+
private _rejectQuoteVersionAsync;
|
|
1177
|
+
/**
|
|
1178
|
+
* Rejects a quote version
|
|
1179
|
+
* @param request - QuoteVersionId, RejectedByText, RejectedByAssociateId, RejectionText
|
|
1180
|
+
* @returns Response of the the operation
|
|
1181
|
+
*/
|
|
1182
|
+
rejectQuoteVersionAsync(request: carriers.Quote_RejectQuoteVersionRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ApproveRejectResponse>;
|
|
1183
|
+
/**
|
|
1184
|
+
* Rejects a quote version
|
|
1185
|
+
* @param quoteVersionId - QuoteVersionId to approve.
|
|
1186
|
+
* @param rejectedByText - 'Rejected by' prefix to RejectionText used when creating appointment task to log rejection. Must be passed since service does not know which language to use for 'Rejected By' string.
|
|
1187
|
+
* @param rejectedByAssociateId - AssociateId of the associate who rejected the quote version.
|
|
1188
|
+
* @param rejectionText - Rejection text.
|
|
1189
|
+
* @returns Response of the the operation
|
|
1190
|
+
*/
|
|
1191
|
+
rejectQuoteVersionAsync(quoteVersionId: number, rejectedByText: string, rejectedByAssociateId: number, rejectionText: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ApproveRejectResponse>;
|
|
1192
|
+
private _generateQuoteDocumentsAsync;
|
|
1193
|
+
/**
|
|
1194
|
+
* Generate all the documents required to send the Quote as an email to the prospect - or an Order Confirmation; it just depends on the template id's for the lines doc and mail body. Quote version status is not changed by this method.
|
|
1195
|
+
* @param request - QuoteVersionId, EmailBodyTemplateId, AttachMainDocument, QuotedProductsTemplateId, IncludeAttachments, RawMailSubject
|
|
1196
|
+
* @returns Carrier specifying the document id's of all the documents, as well as other results
|
|
1197
|
+
*/
|
|
1198
|
+
generateQuoteDocumentsAsync(request: carriers.Quote_GenerateQuoteDocumentsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuotePublishDocuments>;
|
|
1199
|
+
/**
|
|
1200
|
+
* Generate all the documents required to send the Quote as an email to the prospect - or an Order Confirmation; it just depends on the template id's for the lines doc and mail body. Quote version status is not changed by this method.
|
|
1201
|
+
* @param quoteVersionId - VersionId of the quote to be sent; the status of the version will not be changed by calling this method
|
|
1202
|
+
* @param emailBodyTemplateId - Id of the template for the email body, must be nonzero and refer to either a Quote mail body or Order Confirmation mail body, with html content
|
|
1203
|
+
* @param attachMainDocument - Should the main quote document be attached to the email; generally false for Order Confirmations
|
|
1204
|
+
* @param quotedProductsTemplateId - Id of the template for the quote- or order confirmation-lines; zero if no document should be produced
|
|
1205
|
+
* @param includeAttachments - If true, then the currently specified (in the database) attachments will be included
|
|
1206
|
+
* @param rawMailSubject - Subject line for email, in the correct language, sent in here to have any template variables substituted
|
|
1207
|
+
* @returns Carrier specifying the document id's of all the documents, as well as other results
|
|
1208
|
+
*/
|
|
1209
|
+
generateQuoteDocumentsAsync(quoteVersionId: number, emailBodyTemplateId: number, attachMainDocument: boolean, quotedProductsTemplateId: number, includeAttachments: boolean, rawMailSubject: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuotePublishDocuments>;
|
|
1210
|
+
private _getOrderConfirmationAsync;
|
|
1211
|
+
/**
|
|
1212
|
+
* Get a base64-encoded data stream that is just the order confirmation document, for the given quote version; no permanent document is created or stored anywhere; the result is a PDF
|
|
1213
|
+
* @param request - QuoteVersionId, ConfirmationTemplateId
|
|
1214
|
+
* @returns Base64-encoded binary data, that is in fact a PDF document that should be shown to the user
|
|
1215
|
+
*/
|
|
1216
|
+
getOrderConfirmationAsync(request: carriers.Quote_GetOrderConfirmationRequest, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
1217
|
+
/**
|
|
1218
|
+
* Get a base64-encoded data stream that is just the order confirmation document, for the given quote version; no permanent document is created or stored anywhere; the result is a PDF
|
|
1219
|
+
* @param quoteVersionId - VersionId of the quote to be sent; the status of the version will not be changed by calling this method
|
|
1220
|
+
* @param confirmationTemplateId - Id of the template for the order confirmation lines document
|
|
1221
|
+
* @returns Base64-encoded binary data, that is in fact a PDF document that should be shown to the user
|
|
1222
|
+
*/
|
|
1223
|
+
getOrderConfirmationAsync(quoteVersionId: number, confirmationTemplateId: number, webapi_options?: base.WebApiRequestOptions): Promise<string>;
|
|
1224
|
+
private _getQuoteVersionWorkflowStateAsync;
|
|
1225
|
+
/**
|
|
1226
|
+
* Get all button states for the Quote version dialog. Packages ImageState, Button states and status info into one call. Collects most important warnings/errors from across all quotelines/alternatives in this quote version.
|
|
1227
|
+
* @param request - QuoteVersionId, QuoteAlternativeId
|
|
1228
|
+
* @returns Workflow state information
|
|
1229
|
+
*/
|
|
1230
|
+
getQuoteVersionWorkflowStateAsync(request: carriers.Quote_GetQuoteVersionWorkflowStateRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersionWorkflowState>;
|
|
1231
|
+
/**
|
|
1232
|
+
* Get all button states for the Quote version dialog. Packages ImageState, Button states and status info into one call. Collects most important warnings/errors from across all quotelines/alternatives in this quote version.
|
|
1233
|
+
* @param quoteVersionId - Id of the quote version to get the button states for.
|
|
1234
|
+
* @param quoteAlternativeId - Id of the active quote alternative id.
|
|
1235
|
+
* @returns Workflow state information
|
|
1236
|
+
*/
|
|
1237
|
+
getQuoteVersionWorkflowStateAsync(quoteVersionId: number, quoteAlternativeId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersionWorkflowState>;
|
|
1238
|
+
private _updateQuoteVersionPricesAsync;
|
|
1239
|
+
/**
|
|
1240
|
+
* Update price on the all the quotelines for each alternative in the current quote version
|
|
1241
|
+
* @param request - QuoteVersionId
|
|
1242
|
+
* @returns The updated quote version.
|
|
1243
|
+
*/
|
|
1244
|
+
updateQuoteVersionPricesAsync(request: carriers.Quote_UpdateQuoteVersionPricesRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersionValidated>;
|
|
1245
|
+
/**
|
|
1246
|
+
* Update price on the all the quotelines for each alternative in the current quote version
|
|
1247
|
+
* @param quoteVersionId - The version to be update prices for
|
|
1248
|
+
* @returns The updated quote version.
|
|
1249
|
+
*/
|
|
1250
|
+
updateQuoteVersionPricesAsync(quoteVersionId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersionValidated>;
|
|
1251
|
+
private _saveQuoteVersionNumberAsync;
|
|
1252
|
+
/**
|
|
1253
|
+
* Save the quote version number if it is valid
|
|
1254
|
+
* @param request - QuoteVersionId, Number
|
|
1255
|
+
* @returns True if the number was valid and then saved
|
|
1256
|
+
*/
|
|
1257
|
+
saveQuoteVersionNumberAsync(request: carriers.Quote_SaveQuoteVersionNumberRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
1258
|
+
/**
|
|
1259
|
+
* Save the quote version number if it is valid
|
|
1260
|
+
* @param quoteVersionId - VersionId of the quote version
|
|
1261
|
+
* @param number - The number to save
|
|
1262
|
+
* @returns True if the number was valid and then saved
|
|
1263
|
+
*/
|
|
1264
|
+
saveQuoteVersionNumberAsync(quoteVersionId: number, number: string, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
1265
|
+
private _getQuoteVersionWorkflowImageStateAsync;
|
|
1266
|
+
/**
|
|
1267
|
+
* Get state icon and name for the Quote version dialog header.
|
|
1268
|
+
* @param request - QuoteVersionId
|
|
1269
|
+
* @returns Image and state name information
|
|
1270
|
+
*/
|
|
1271
|
+
getQuoteVersionWorkflowImageStateAsync(request: carriers.Quote_GetQuoteVersionWorkflowImageStateRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersionButtonState>;
|
|
1272
|
+
/**
|
|
1273
|
+
* Get state icon and name for the Quote version dialog header.
|
|
1274
|
+
* @param quoteVersionId - Id of the quote version to get the version state for.
|
|
1275
|
+
* @returns Image and state name information
|
|
1276
|
+
*/
|
|
1277
|
+
getQuoteVersionWorkflowImageStateAsync(quoteVersionId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersionButtonState>;
|
|
1278
|
+
private _getQuoteVersionWorkflowButtonStatesAsync;
|
|
1279
|
+
/**
|
|
1280
|
+
* Get all button states for the Quote version dialog.
|
|
1281
|
+
* @param request - QuoteVersionId, QuoteAlternativeId
|
|
1282
|
+
* @returns Workflow state information
|
|
1283
|
+
*/
|
|
1284
|
+
getQuoteVersionWorkflowButtonStatesAsync(request: carriers.Quote_GetQuoteVersionWorkflowButtonStatesRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersionWorkflowState>;
|
|
1285
|
+
/**
|
|
1286
|
+
* Get all button states for the Quote version dialog.
|
|
1287
|
+
* @param quoteVersionId - Id of the quote version to get the button states for.
|
|
1288
|
+
* @param quoteAlternativeId - Id of the active quote alternative id.
|
|
1289
|
+
* @returns Workflow state information
|
|
1290
|
+
*/
|
|
1291
|
+
getQuoteVersionWorkflowButtonStatesAsync(quoteVersionId: number, quoteAlternativeId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersionWorkflowState>;
|
|
1292
|
+
private _getQuoteVersionWorkflowStatusInfoAsync;
|
|
1293
|
+
/**
|
|
1294
|
+
* Get status info for the Quote version dialog header. Collects most important warnings/errors from across all quotelines/alternatives in this quote version.
|
|
1295
|
+
* @param request - QuoteVersionId
|
|
1296
|
+
* @returns Most important status text + icon information.
|
|
1297
|
+
*/
|
|
1298
|
+
getQuoteVersionWorkflowStatusInfoAsync(request: carriers.Quote_GetQuoteVersionWorkflowStatusInfoRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersionStatusInformation>;
|
|
1299
|
+
/**
|
|
1300
|
+
* Get status info for the Quote version dialog header. Collects most important warnings/errors from across all quotelines/alternatives in this quote version.
|
|
1301
|
+
* @param quoteVersionId - Id of the quote version to get the status info for.
|
|
1302
|
+
* @returns Most important status text + icon information.
|
|
1303
|
+
*/
|
|
1304
|
+
getQuoteVersionWorkflowStatusInfoAsync(quoteVersionId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersionStatusInformation>;
|
|
1305
|
+
private _requestApprovalAsync;
|
|
1306
|
+
/**
|
|
1307
|
+
* Notifies specified associate that this quote needs approval.
|
|
1308
|
+
* @param request - QuoteVersionId, AssociateId, Comment
|
|
1309
|
+
* @returns Response of the the operation
|
|
1310
|
+
*/
|
|
1311
|
+
requestApprovalAsync(request: carriers.Quote_RequestApprovalRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginResponse>;
|
|
1312
|
+
/**
|
|
1313
|
+
* Notifies specified associate that this quote needs approval.
|
|
1314
|
+
* @param quoteVersionId - The quoteversion to be approved.
|
|
1315
|
+
* @param associateId - The associate that should be notified.
|
|
1316
|
+
* @param comment - Details or reason for request
|
|
1317
|
+
* @returns Response of the the operation
|
|
1318
|
+
*/
|
|
1319
|
+
requestApprovalAsync(quoteVersionId: number, associateId: number, comment: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginResponse>;
|
|
1320
|
+
private _cancelApprovalRequestAsync;
|
|
1321
|
+
/**
|
|
1322
|
+
* Cancel a pending quote approval request.
|
|
1323
|
+
* @param request - QuoteVersionId
|
|
1324
|
+
* @returns Response of the the operation
|
|
1325
|
+
*/
|
|
1326
|
+
cancelApprovalRequestAsync(request: carriers.Quote_CancelApprovalRequestRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginResponse>;
|
|
1327
|
+
/**
|
|
1328
|
+
* Cancel a pending quote approval request.
|
|
1329
|
+
* @param quoteVersionId - The quoteversion for which approval was previously sent.
|
|
1330
|
+
* @returns Response of the the operation
|
|
1331
|
+
*/
|
|
1332
|
+
cancelApprovalRequestAsync(quoteVersionId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.PluginResponse>;
|
|
1333
|
+
private _createOrUpdateQuoteVersionAttachmentsAsync;
|
|
1334
|
+
/**
|
|
1335
|
+
* Look at the Quote version, related sale and sale type, and ensure that the correct QuoteVersionAttachment records exist. This method may create or delete records
|
|
1336
|
+
* @param request - QuoteVersionId
|
|
1337
|
+
* @returns The current attachments for the given Quote version, after all updates have been completed
|
|
1338
|
+
*/
|
|
1339
|
+
createOrUpdateQuoteVersionAttachmentsAsync(request: carriers.Quote_CreateOrUpdateQuoteVersionAttachmentsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersionAttachment[]>;
|
|
1340
|
+
/**
|
|
1341
|
+
* Look at the Quote version, related sale and sale type, and ensure that the correct QuoteVersionAttachment records exist. This method may create or delete records
|
|
1342
|
+
* @param quoteVersionId - The ID of the quote version
|
|
1343
|
+
* @returns The current attachments for the given Quote version, after all updates have been completed
|
|
1344
|
+
*/
|
|
1345
|
+
createOrUpdateQuoteVersionAttachmentsAsync(quoteVersionId: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.QuoteVersionAttachment[]>;
|
|
1346
|
+
private _includeQuoteVersionAttachmentAsync;
|
|
1347
|
+
/**
|
|
1348
|
+
* Toggle the 'included' state of a quote version attachment; will throw exceptions if called on locked versions
|
|
1349
|
+
* @param request - QuoteVersionId, DocumentId, Include
|
|
1350
|
+
* @returns The new state
|
|
1351
|
+
*/
|
|
1352
|
+
includeQuoteVersionAttachmentAsync(request: carriers.Quote_IncludeQuoteVersionAttachmentRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
1353
|
+
/**
|
|
1354
|
+
* Toggle the 'included' state of a quote version attachment; will throw exceptions if called on locked versions
|
|
1355
|
+
* @param quoteVersionId - The ID of the Quote version
|
|
1356
|
+
* @param documentId - The ID of the document
|
|
1357
|
+
* @param include - Desired state
|
|
1358
|
+
* @returns The new state
|
|
1359
|
+
*/
|
|
1360
|
+
includeQuoteVersionAttachmentAsync(quoteVersionId: number, documentId: number, include: boolean, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
1361
|
+
private _toggleSaleTypeQuoteAttachmentDefaultIncludedAsync;
|
|
1362
|
+
/**
|
|
1363
|
+
* Toggle the 'default included' state of a sale type quote attachment
|
|
1364
|
+
* @param request - SaleTypeQuoteAttachmentId
|
|
1365
|
+
* @returns The new state
|
|
1366
|
+
*/
|
|
1367
|
+
toggleSaleTypeQuoteAttachmentDefaultIncludedAsync(request: carriers.Quote_ToggleSaleTypeQuoteAttachmentDefaultIncludedRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
1368
|
+
/**
|
|
1369
|
+
* Toggle the 'default included' state of a sale type quote attachment
|
|
1370
|
+
* @param saleTypeQuoteAttachmentId - The ID of the sale type quote attachment row
|
|
1371
|
+
* @returns The new state
|
|
1372
|
+
*/
|
|
1373
|
+
toggleSaleTypeQuoteAttachmentDefaultIncludedAsync(saleTypeQuoteAttachmentId: number, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
1374
|
+
private _addSaleTypeQuoteAttachmentAsync;
|
|
1375
|
+
/**
|
|
1376
|
+
* Adds a new quote attachment document to a sale type
|
|
1377
|
+
* @param request - SaleTypeId, DocumentId
|
|
1378
|
+
* @returns ID of the new sale type quote attachment row
|
|
1379
|
+
*/
|
|
1380
|
+
addSaleTypeQuoteAttachmentAsync(request: carriers.Quote_AddSaleTypeQuoteAttachmentRequest, webapi_options?: base.WebApiRequestOptions): Promise<number>;
|
|
1381
|
+
/**
|
|
1382
|
+
* Adds a new quote attachment document to a sale type
|
|
1383
|
+
* @param saleTypeId - The ID of the sale type
|
|
1384
|
+
* @param documentId - The ID of the document
|
|
1385
|
+
* @returns ID of the new sale type quote attachment row
|
|
1386
|
+
*/
|
|
1387
|
+
addSaleTypeQuoteAttachmentAsync(saleTypeId: number, documentId: number, webapi_options?: base.WebApiRequestOptions): Promise<number>;
|
|
1388
|
+
private _deleteSaleTypeQuoteAttachmentAsync;
|
|
1389
|
+
/**
|
|
1390
|
+
* Deletes the sale type quote attachment with the given id
|
|
1391
|
+
* @param request - SaleTypeQuoteAttachmentId
|
|
1392
|
+
* @returns
|
|
1393
|
+
*/
|
|
1394
|
+
deleteSaleTypeQuoteAttachmentAsync(request: carriers.Quote_DeleteSaleTypeQuoteAttachmentRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
1395
|
+
/**
|
|
1396
|
+
* Deletes the sale type quote attachment with the given id
|
|
1397
|
+
* @param saleTypeQuoteAttachmentId - The ID of the sale type quote attachment row to delete
|
|
1398
|
+
* @returns
|
|
1399
|
+
*/
|
|
1400
|
+
deleteSaleTypeQuoteAttachmentAsync(saleTypeQuoteAttachmentId: number, webapi_options?: base.WebApiRequestOptions): Promise<void>;
|
|
1401
|
+
private _toggleQuoteVersionAttachmentIncludedAsync;
|
|
1402
|
+
/**
|
|
1403
|
+
* Toggle the 'included' state of a quote version attachment
|
|
1404
|
+
* @param request - QuoteVersionAttachmentId
|
|
1405
|
+
* @returns The new state
|
|
1406
|
+
*/
|
|
1407
|
+
toggleQuoteVersionAttachmentIncludedAsync(request: carriers.Quote_ToggleQuoteVersionAttachmentIncludedRequest, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
1408
|
+
/**
|
|
1409
|
+
* Toggle the 'included' state of a quote version attachment
|
|
1410
|
+
* @param quoteVersionAttachmentId - The ID of the quote version attachment row
|
|
1411
|
+
* @returns The new state
|
|
1412
|
+
*/
|
|
1413
|
+
toggleQuoteVersionAttachmentIncludedAsync(quoteVersionAttachmentId: number, webapi_options?: base.WebApiRequestOptions): Promise<boolean>;
|
|
1414
|
+
}
|
|
1415
|
+
//# sourceMappingURL=QuoteAgent.d.ts.map
|