@superoffice/webapi 11.6.980 → 11.7.727
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/__tests__/AppointmentTzTest.ts +7 -6
- package/__tests__/AxiosNockTest.ts +1 -1
- package/__tests__/ContactRestTest.ts +1 -1
- package/__tests__/ContactTest.ts +1 -1
- package/__tests__/DocumentTest.ts +1 -1
- package/__tests__/PersonTest.ts +1 -1
- package/__tests__/PersonTzTest.ts +1 -1
- package/__tests__/ResponseCallbackTest.ts +23 -0
- package/__tests__/WebapiTest.ts +1 -1
- package/__tests__/WebhookTest.ts +1 -1
- package/dist/cjs/AIAgent.d.ts +95 -3
- package/dist/cjs/AIAgent.d.ts.map +1 -1
- package/dist/cjs/AIAgent.js +274 -33
- package/dist/cjs/AIAgent.js.map +1 -1
- package/dist/cjs/AppointmentAgent.d.ts +3 -3
- package/dist/cjs/AppointmentAgent.d.ts.map +1 -1
- package/dist/cjs/AppointmentAgent.js +118 -118
- package/dist/cjs/AppointmentAgent.js.map +1 -1
- package/dist/cjs/AppointmentRestApi.d.ts +2 -2
- package/dist/cjs/AppointmentRestApi.d.ts.map +1 -1
- package/dist/cjs/AppointmentRestApi.js +9 -9
- package/dist/cjs/AppointmentRestApi.js.map +1 -1
- package/dist/cjs/ArchiveAgent.d.ts +2 -2
- package/dist/cjs/ArchiveAgent.d.ts.map +1 -1
- package/dist/cjs/ArchiveAgent.js +34 -34
- package/dist/cjs/ArchiveAgent.js.map +1 -1
- package/dist/cjs/AssociateAgent.d.ts +2 -2
- package/dist/cjs/AssociateAgent.d.ts.map +1 -1
- package/dist/cjs/AssociateAgent.js +11 -11
- package/dist/cjs/AssociateAgent.js.map +1 -1
- package/dist/cjs/BLOBAgent.d.ts +3 -3
- package/dist/cjs/BLOBAgent.d.ts.map +1 -1
- package/dist/cjs/BLOBAgent.js +58 -58
- package/dist/cjs/BLOBAgent.js.map +1 -1
- package/dist/cjs/BatchAgent.d.ts +3 -3
- package/dist/cjs/BatchAgent.d.ts.map +1 -1
- package/dist/cjs/BatchAgent.js +18 -18
- package/dist/cjs/BatchAgent.js.map +1 -1
- package/dist/cjs/BulkUpdateAgent.d.ts +2 -2
- package/dist/cjs/BulkUpdateAgent.d.ts.map +1 -1
- package/dist/cjs/BulkUpdateAgent.js +11 -11
- package/dist/cjs/BulkUpdateAgent.js.map +1 -1
- package/dist/cjs/CRMScriptAgent.d.ts +2 -2
- package/dist/cjs/CRMScriptAgent.d.ts.map +1 -1
- package/dist/cjs/CRMScriptAgent.js +31 -31
- package/dist/cjs/CRMScriptAgent.js.map +1 -1
- package/dist/cjs/Carriers.d.ts +179 -2
- package/dist/cjs/Carriers.d.ts.map +1 -1
- package/dist/cjs/Carriers.js +1 -1
- package/dist/cjs/Carriers.js.map +1 -1
- package/dist/cjs/ChatAgent.d.ts +2 -2
- package/dist/cjs/ChatAgent.d.ts.map +1 -1
- package/dist/cjs/ChatAgent.js +34 -34
- package/dist/cjs/ChatAgent.js.map +1 -1
- package/dist/cjs/ConfigurationAgent.d.ts +3 -3
- package/dist/cjs/ConfigurationAgent.d.ts.map +1 -1
- package/dist/cjs/ConfigurationAgent.js +56 -56
- package/dist/cjs/ConfigurationAgent.js.map +1 -1
- package/dist/cjs/ContactAgent.d.ts +3 -3
- package/dist/cjs/ContactAgent.d.ts.map +1 -1
- package/dist/cjs/ContactAgent.js +39 -39
- package/dist/cjs/ContactAgent.js.map +1 -1
- package/dist/cjs/ContactRestApi.d.ts +2 -2
- package/dist/cjs/ContactRestApi.d.ts.map +1 -1
- package/dist/cjs/ContactRestApi.js +9 -9
- package/dist/cjs/ContactRestApi.js.map +1 -1
- package/dist/cjs/Converters.d.ts +17 -2
- package/dist/cjs/Converters.d.ts.map +1 -1
- package/dist/cjs/Converters.js +211 -26
- package/dist/cjs/Converters.js.map +1 -1
- package/dist/cjs/CustomerServiceAgent.d.ts +3 -3
- package/dist/cjs/CustomerServiceAgent.d.ts.map +1 -1
- package/dist/cjs/CustomerServiceAgent.js +41 -41
- package/dist/cjs/CustomerServiceAgent.js.map +1 -1
- package/dist/cjs/DashAgent.d.ts +2 -2
- package/dist/cjs/DashAgent.d.ts.map +1 -1
- package/dist/cjs/DashAgent.js +43 -43
- package/dist/cjs/DashAgent.js.map +1 -1
- package/dist/cjs/DatabaseAgent.d.ts +2 -2
- package/dist/cjs/DatabaseAgent.d.ts.map +1 -1
- package/dist/cjs/DatabaseAgent.js +5 -5
- package/dist/cjs/DatabaseAgent.js.map +1 -1
- package/dist/cjs/DatabaseTableAgent.d.ts +3 -3
- package/dist/cjs/DatabaseTableAgent.d.ts.map +1 -1
- package/dist/cjs/DatabaseTableAgent.js +11 -11
- package/dist/cjs/DatabaseTableAgent.js.map +1 -1
- package/dist/cjs/DiagnosticsAgent.d.ts +3 -3
- package/dist/cjs/DiagnosticsAgent.d.ts.map +1 -1
- package/dist/cjs/DiagnosticsAgent.js +29 -29
- package/dist/cjs/DiagnosticsAgent.js.map +1 -1
- package/dist/cjs/DocumentAgent.d.ts +3 -3
- package/dist/cjs/DocumentAgent.d.ts.map +1 -1
- package/dist/cjs/DocumentAgent.js +109 -109
- package/dist/cjs/DocumentAgent.js.map +1 -1
- package/dist/cjs/DocumentMigrationAgent.d.ts +2 -2
- package/dist/cjs/DocumentMigrationAgent.d.ts.map +1 -1
- package/dist/cjs/DocumentMigrationAgent.js +13 -13
- package/dist/cjs/DocumentMigrationAgent.js.map +1 -1
- package/dist/cjs/DocumentRestApi.d.ts +2 -2
- package/dist/cjs/DocumentRestApi.d.ts.map +1 -1
- package/dist/cjs/DocumentRestApi.js +9 -9
- package/dist/cjs/DocumentRestApi.js.map +1 -1
- package/dist/cjs/EMailAgent.d.ts +3 -3
- package/dist/cjs/EMailAgent.d.ts.map +1 -1
- package/dist/cjs/EMailAgent.js +108 -108
- package/dist/cjs/EMailAgent.js.map +1 -1
- package/dist/cjs/Enums.d.ts +56 -0
- package/dist/cjs/Enums.d.ts.map +1 -1
- package/dist/cjs/Enums.js +59 -1
- package/dist/cjs/Enums.js.map +1 -1
- package/dist/cjs/ErpSyncAgent.d.ts +3 -3
- package/dist/cjs/ErpSyncAgent.d.ts.map +1 -1
- package/dist/cjs/ErpSyncAgent.js +52 -52
- package/dist/cjs/ErpSyncAgent.js.map +1 -1
- package/dist/cjs/FavouriteAgent.d.ts +2 -2
- package/dist/cjs/FavouriteAgent.d.ts.map +1 -1
- package/dist/cjs/FavouriteAgent.js +14 -14
- package/dist/cjs/FavouriteAgent.js.map +1 -1
- package/dist/cjs/FindAgent.d.ts +2 -2
- package/dist/cjs/FindAgent.d.ts.map +1 -1
- package/dist/cjs/FindAgent.js +39 -39
- package/dist/cjs/FindAgent.js.map +1 -1
- package/dist/cjs/ForeignSystemAgent.d.ts +2 -2
- package/dist/cjs/ForeignSystemAgent.d.ts.map +1 -1
- package/dist/cjs/ForeignSystemAgent.js +33 -33
- package/dist/cjs/ForeignSystemAgent.js.map +1 -1
- package/dist/cjs/FreeTextAgent.d.ts +3 -3
- package/dist/cjs/FreeTextAgent.d.ts.map +1 -1
- package/dist/cjs/FreeTextAgent.js +9 -9
- package/dist/cjs/FreeTextAgent.js.map +1 -1
- package/dist/cjs/ImportAgent.d.ts +3 -3
- package/dist/cjs/ImportAgent.d.ts.map +1 -1
- package/dist/cjs/ImportAgent.js +7 -7
- package/dist/cjs/ImportAgent.js.map +1 -1
- package/dist/cjs/LicenseAgent.d.ts +2 -2
- package/dist/cjs/LicenseAgent.d.ts.map +1 -1
- package/dist/cjs/LicenseAgent.js +25 -25
- package/dist/cjs/LicenseAgent.js.map +1 -1
- package/dist/cjs/ListAgent.d.ts +61 -3
- package/dist/cjs/ListAgent.d.ts.map +1 -1
- package/dist/cjs/ListAgent.js +432 -303
- package/dist/cjs/ListAgent.js.map +1 -1
- package/dist/cjs/MDOAgent.d.ts +2 -2
- package/dist/cjs/MDOAgent.d.ts.map +1 -1
- package/dist/cjs/MDOAgent.js +15 -15
- package/dist/cjs/MDOAgent.js.map +1 -1
- package/dist/cjs/MarketingAgent.d.ts +3 -3
- package/dist/cjs/MarketingAgent.d.ts.map +1 -1
- package/dist/cjs/MarketingAgent.js +27 -27
- package/dist/cjs/MarketingAgent.js.map +1 -1
- package/dist/cjs/MessagingAgent.d.ts +2 -2
- package/dist/cjs/MessagingAgent.d.ts.map +1 -1
- package/dist/cjs/MessagingAgent.js +9 -9
- package/dist/cjs/MessagingAgent.js.map +1 -1
- package/dist/cjs/NavigatorAgent.d.ts +2 -2
- package/dist/cjs/NavigatorAgent.d.ts.map +1 -1
- package/dist/cjs/NavigatorAgent.js +5 -5
- package/dist/cjs/NavigatorAgent.js.map +1 -1
- package/dist/cjs/NumberAllocationAgent.d.ts +2 -2
- package/dist/cjs/NumberAllocationAgent.d.ts.map +1 -1
- package/dist/cjs/NumberAllocationAgent.js +10 -10
- package/dist/cjs/NumberAllocationAgent.js.map +1 -1
- package/dist/cjs/PersonAgent.d.ts +3 -3
- package/dist/cjs/PersonAgent.d.ts.map +1 -1
- package/dist/cjs/PersonAgent.js +69 -69
- package/dist/cjs/PersonAgent.js.map +1 -1
- package/dist/cjs/PersonRestApi.d.ts +2 -2
- package/dist/cjs/PersonRestApi.d.ts.map +1 -1
- package/dist/cjs/PersonRestApi.js +9 -9
- package/dist/cjs/PersonRestApi.js.map +1 -1
- package/dist/cjs/PhoneListAgent.d.ts +2 -2
- package/dist/cjs/PhoneListAgent.d.ts.map +1 -1
- package/dist/cjs/PhoneListAgent.js +11 -11
- package/dist/cjs/PhoneListAgent.js.map +1 -1
- package/dist/cjs/PocketAgent.d.ts +3 -3
- package/dist/cjs/PocketAgent.d.ts.map +1 -1
- package/dist/cjs/PocketAgent.js +16 -16
- package/dist/cjs/PocketAgent.js.map +1 -1
- package/dist/cjs/PreferenceAgent.d.ts +3 -3
- package/dist/cjs/PreferenceAgent.d.ts.map +1 -1
- package/dist/cjs/PreferenceAgent.js +42 -42
- package/dist/cjs/PreferenceAgent.js.map +1 -1
- package/dist/cjs/PreviewsAgent.d.ts +2 -2
- package/dist/cjs/PreviewsAgent.d.ts.map +1 -1
- package/dist/cjs/PreviewsAgent.js +3 -3
- package/dist/cjs/PreviewsAgent.js.map +1 -1
- package/dist/cjs/ProjectAgent.d.ts +2 -2
- package/dist/cjs/ProjectAgent.d.ts.map +1 -1
- package/dist/cjs/ProjectAgent.js +58 -58
- package/dist/cjs/ProjectAgent.js.map +1 -1
- package/dist/cjs/ProjectRestApi.d.ts +2 -2
- package/dist/cjs/ProjectRestApi.d.ts.map +1 -1
- package/dist/cjs/ProjectRestApi.js +9 -9
- package/dist/cjs/ProjectRestApi.js.map +1 -1
- package/dist/cjs/QuoteAgent.d.ts +3 -3
- package/dist/cjs/QuoteAgent.d.ts.map +1 -1
- package/dist/cjs/QuoteAgent.js +101 -101
- package/dist/cjs/QuoteAgent.js.map +1 -1
- package/dist/cjs/RelationAgent.d.ts +2 -2
- package/dist/cjs/RelationAgent.d.ts.map +1 -1
- package/dist/cjs/RelationAgent.js +7 -7
- package/dist/cjs/RelationAgent.js.map +1 -1
- package/dist/cjs/ReportAgent.d.ts +2 -2
- package/dist/cjs/ReportAgent.d.ts.map +1 -1
- package/dist/cjs/ReportAgent.js +7 -7
- package/dist/cjs/ReportAgent.js.map +1 -1
- package/dist/cjs/ResourceAgent.d.ts +2 -2
- package/dist/cjs/ResourceAgent.d.ts.map +1 -1
- package/dist/cjs/ResourceAgent.js +8 -8
- package/dist/cjs/ResourceAgent.js.map +1 -1
- package/dist/cjs/SaintAgent.d.ts +2 -2
- package/dist/cjs/SaintAgent.d.ts.map +1 -1
- package/dist/cjs/SaintAgent.js +17 -17
- package/dist/cjs/SaintAgent.js.map +1 -1
- package/dist/cjs/SaleAgent.d.ts +3 -3
- package/dist/cjs/SaleAgent.d.ts.map +1 -1
- package/dist/cjs/SaleAgent.js +45 -45
- package/dist/cjs/SaleAgent.js.map +1 -1
- package/dist/cjs/SaleRestApi.d.ts +2 -2
- package/dist/cjs/SaleRestApi.d.ts.map +1 -1
- package/dist/cjs/SaleRestApi.js +9 -9
- package/dist/cjs/SaleRestApi.js.map +1 -1
- package/dist/cjs/SelectionAgent.d.ts +3 -3
- package/dist/cjs/SelectionAgent.d.ts.map +1 -1
- package/dist/cjs/SelectionAgent.js +60 -60
- package/dist/cjs/SelectionAgent.js.map +1 -1
- package/dist/cjs/SentryAgent.d.ts +2 -2
- package/dist/cjs/SentryAgent.d.ts.map +1 -1
- package/dist/cjs/SentryAgent.js +11 -11
- package/dist/cjs/SentryAgent.js.map +1 -1
- package/dist/cjs/TargetsAgent.d.ts +3 -3
- package/dist/cjs/TargetsAgent.d.ts.map +1 -1
- package/dist/cjs/TargetsAgent.js +28 -28
- package/dist/cjs/TargetsAgent.js.map +1 -1
- package/dist/cjs/TicketAgent.d.ts +3 -3
- package/dist/cjs/TicketAgent.d.ts.map +1 -1
- package/dist/cjs/TicketAgent.js +75 -75
- package/dist/cjs/TicketAgent.js.map +1 -1
- package/dist/cjs/TimeZoneAgent.d.ts +2 -2
- package/dist/cjs/TimeZoneAgent.d.ts.map +1 -1
- package/dist/cjs/TimeZoneAgent.js +15 -15
- package/dist/cjs/TimeZoneAgent.js.map +1 -1
- package/dist/cjs/TooltipsAgent.d.ts +2 -2
- package/dist/cjs/TooltipsAgent.d.ts.map +1 -1
- package/dist/cjs/TooltipsAgent.js +3 -3
- package/dist/cjs/TooltipsAgent.js.map +1 -1
- package/dist/cjs/UserAgent.d.ts +3 -3
- package/dist/cjs/UserAgent.d.ts.map +1 -1
- package/dist/cjs/UserAgent.js +99 -99
- package/dist/cjs/UserAgent.js.map +1 -1
- package/dist/cjs/UserDefinedFieldInfoAgent.d.ts +3 -3
- package/dist/cjs/UserDefinedFieldInfoAgent.d.ts.map +1 -1
- package/dist/cjs/UserDefinedFieldInfoAgent.js +36 -36
- package/dist/cjs/UserDefinedFieldInfoAgent.js.map +1 -1
- package/dist/cjs/ViewStateAgent.d.ts +2 -2
- package/dist/cjs/ViewStateAgent.d.ts.map +1 -1
- package/dist/cjs/ViewStateAgent.js +19 -19
- package/dist/cjs/ViewStateAgent.js.map +1 -1
- package/dist/cjs/WebApi.d.ts +67 -67
- package/dist/cjs/WebApi.d.ts.map +1 -1
- package/dist/cjs/WebApi.js +192 -192
- package/dist/cjs/WebApi.js.map +1 -1
- package/dist/cjs/WebApiBase.d.ts +6 -3
- package/dist/cjs/WebApiBase.d.ts.map +1 -1
- package/dist/cjs/WebApiBase.js +32 -31
- package/dist/cjs/WebApiBase.js.map +1 -1
- package/dist/cjs/WebhookAgent.d.ts +3 -3
- package/dist/cjs/WebhookAgent.d.ts.map +1 -1
- package/dist/cjs/WebhookAgent.js +11 -11
- package/dist/cjs/WebhookAgent.js.map +1 -1
- package/dist/cjs/WorkflowAgent.d.ts +3 -3
- package/dist/cjs/WorkflowAgent.d.ts.map +1 -1
- package/dist/cjs/WorkflowAgent.js +37 -37
- package/dist/cjs/WorkflowAgent.js.map +1 -1
- package/dist/cjs/package.json +3 -1
- package/dist/esm/AIAgent.d.ts +95 -3
- package/dist/esm/AIAgent.d.ts.map +1 -1
- package/dist/esm/AIAgent.js +273 -32
- package/dist/esm/AIAgent.js.map +1 -1
- package/dist/esm/AppointmentAgent.d.ts +3 -3
- package/dist/esm/AppointmentAgent.d.ts.map +1 -1
- package/dist/esm/AppointmentAgent.js +117 -117
- package/dist/esm/AppointmentAgent.js.map +1 -1
- package/dist/esm/AppointmentRestApi.d.ts +2 -2
- package/dist/esm/AppointmentRestApi.d.ts.map +1 -1
- package/dist/esm/AppointmentRestApi.js +9 -9
- package/dist/esm/AppointmentRestApi.js.map +1 -1
- package/dist/esm/ArchiveAgent.d.ts +2 -2
- package/dist/esm/ArchiveAgent.d.ts.map +1 -1
- package/dist/esm/ArchiveAgent.js +34 -34
- package/dist/esm/ArchiveAgent.js.map +1 -1
- package/dist/esm/AssociateAgent.d.ts +2 -2
- package/dist/esm/AssociateAgent.d.ts.map +1 -1
- package/dist/esm/AssociateAgent.js +11 -11
- package/dist/esm/AssociateAgent.js.map +1 -1
- package/dist/esm/BLOBAgent.d.ts +3 -3
- package/dist/esm/BLOBAgent.d.ts.map +1 -1
- package/dist/esm/BLOBAgent.js +38 -38
- package/dist/esm/BLOBAgent.js.map +1 -1
- package/dist/esm/BatchAgent.d.ts +3 -3
- package/dist/esm/BatchAgent.d.ts.map +1 -1
- package/dist/esm/BatchAgent.js +18 -18
- package/dist/esm/BatchAgent.js.map +1 -1
- package/dist/esm/BulkUpdateAgent.d.ts +2 -2
- package/dist/esm/BulkUpdateAgent.d.ts.map +1 -1
- package/dist/esm/BulkUpdateAgent.js +11 -11
- package/dist/esm/BulkUpdateAgent.js.map +1 -1
- package/dist/esm/CRMScriptAgent.d.ts +2 -2
- package/dist/esm/CRMScriptAgent.d.ts.map +1 -1
- package/dist/esm/CRMScriptAgent.js +31 -31
- package/dist/esm/CRMScriptAgent.js.map +1 -1
- package/dist/esm/Carriers.d.ts +179 -2
- package/dist/esm/Carriers.d.ts.map +1 -1
- package/dist/esm/Carriers.js +1 -1
- package/dist/esm/Carriers.js.map +1 -1
- package/dist/esm/ChatAgent.d.ts +2 -2
- package/dist/esm/ChatAgent.d.ts.map +1 -1
- package/dist/esm/ChatAgent.js +34 -34
- package/dist/esm/ChatAgent.js.map +1 -1
- package/dist/esm/ConfigurationAgent.d.ts +3 -3
- package/dist/esm/ConfigurationAgent.d.ts.map +1 -1
- package/dist/esm/ConfigurationAgent.js +56 -56
- package/dist/esm/ConfigurationAgent.js.map +1 -1
- package/dist/esm/ContactAgent.d.ts +3 -3
- package/dist/esm/ContactAgent.d.ts.map +1 -1
- package/dist/esm/ContactAgent.js +39 -39
- package/dist/esm/ContactAgent.js.map +1 -1
- package/dist/esm/ContactRestApi.d.ts +2 -2
- package/dist/esm/ContactRestApi.d.ts.map +1 -1
- package/dist/esm/ContactRestApi.js +9 -9
- package/dist/esm/ContactRestApi.js.map +1 -1
- package/dist/esm/Converters.d.ts +17 -2
- package/dist/esm/Converters.d.ts.map +1 -1
- package/dist/esm/Converters.js +174 -4
- package/dist/esm/Converters.js.map +1 -1
- package/dist/esm/CustomerServiceAgent.d.ts +3 -3
- package/dist/esm/CustomerServiceAgent.d.ts.map +1 -1
- package/dist/esm/CustomerServiceAgent.js +41 -41
- package/dist/esm/CustomerServiceAgent.js.map +1 -1
- package/dist/esm/DashAgent.d.ts +2 -2
- package/dist/esm/DashAgent.d.ts.map +1 -1
- package/dist/esm/DashAgent.js +43 -43
- package/dist/esm/DashAgent.js.map +1 -1
- package/dist/esm/DatabaseAgent.d.ts +2 -2
- package/dist/esm/DatabaseAgent.d.ts.map +1 -1
- package/dist/esm/DatabaseAgent.js +5 -5
- package/dist/esm/DatabaseAgent.js.map +1 -1
- package/dist/esm/DatabaseTableAgent.d.ts +3 -3
- package/dist/esm/DatabaseTableAgent.d.ts.map +1 -1
- package/dist/esm/DatabaseTableAgent.js +11 -11
- package/dist/esm/DatabaseTableAgent.js.map +1 -1
- package/dist/esm/DiagnosticsAgent.d.ts +3 -3
- package/dist/esm/DiagnosticsAgent.d.ts.map +1 -1
- package/dist/esm/DiagnosticsAgent.js +29 -29
- package/dist/esm/DiagnosticsAgent.js.map +1 -1
- package/dist/esm/DocumentAgent.d.ts +3 -3
- package/dist/esm/DocumentAgent.d.ts.map +1 -1
- package/dist/esm/DocumentAgent.js +90 -90
- package/dist/esm/DocumentAgent.js.map +1 -1
- package/dist/esm/DocumentMigrationAgent.d.ts +2 -2
- package/dist/esm/DocumentMigrationAgent.d.ts.map +1 -1
- package/dist/esm/DocumentMigrationAgent.js +13 -13
- package/dist/esm/DocumentMigrationAgent.js.map +1 -1
- package/dist/esm/DocumentRestApi.d.ts +2 -2
- package/dist/esm/DocumentRestApi.d.ts.map +1 -1
- package/dist/esm/DocumentRestApi.js +9 -9
- package/dist/esm/DocumentRestApi.js.map +1 -1
- package/dist/esm/EMailAgent.d.ts +3 -3
- package/dist/esm/EMailAgent.d.ts.map +1 -1
- package/dist/esm/EMailAgent.js +106 -106
- package/dist/esm/EMailAgent.js.map +1 -1
- package/dist/esm/Enums.d.ts +56 -0
- package/dist/esm/Enums.d.ts.map +1 -1
- package/dist/esm/Enums.js +58 -0
- package/dist/esm/Enums.js.map +1 -1
- package/dist/esm/ErpSyncAgent.d.ts +3 -3
- package/dist/esm/ErpSyncAgent.d.ts.map +1 -1
- package/dist/esm/ErpSyncAgent.js +52 -52
- package/dist/esm/ErpSyncAgent.js.map +1 -1
- package/dist/esm/FavouriteAgent.d.ts +2 -2
- package/dist/esm/FavouriteAgent.d.ts.map +1 -1
- package/dist/esm/FavouriteAgent.js +14 -14
- package/dist/esm/FavouriteAgent.js.map +1 -1
- package/dist/esm/FindAgent.d.ts +2 -2
- package/dist/esm/FindAgent.d.ts.map +1 -1
- package/dist/esm/FindAgent.js +39 -39
- package/dist/esm/FindAgent.js.map +1 -1
- package/dist/esm/ForeignSystemAgent.d.ts +2 -2
- package/dist/esm/ForeignSystemAgent.d.ts.map +1 -1
- package/dist/esm/ForeignSystemAgent.js +33 -33
- package/dist/esm/ForeignSystemAgent.js.map +1 -1
- package/dist/esm/FreeTextAgent.d.ts +3 -3
- package/dist/esm/FreeTextAgent.d.ts.map +1 -1
- package/dist/esm/FreeTextAgent.js +9 -9
- package/dist/esm/FreeTextAgent.js.map +1 -1
- package/dist/esm/ImportAgent.d.ts +3 -3
- package/dist/esm/ImportAgent.d.ts.map +1 -1
- package/dist/esm/ImportAgent.js +7 -7
- package/dist/esm/ImportAgent.js.map +1 -1
- package/dist/esm/LicenseAgent.d.ts +2 -2
- package/dist/esm/LicenseAgent.d.ts.map +1 -1
- package/dist/esm/LicenseAgent.js +25 -25
- package/dist/esm/LicenseAgent.js.map +1 -1
- package/dist/esm/ListAgent.d.ts +61 -3
- package/dist/esm/ListAgent.d.ts.map +1 -1
- package/dist/esm/ListAgent.js +429 -300
- package/dist/esm/ListAgent.js.map +1 -1
- package/dist/esm/MDOAgent.d.ts +2 -2
- package/dist/esm/MDOAgent.d.ts.map +1 -1
- package/dist/esm/MDOAgent.js +15 -15
- package/dist/esm/MDOAgent.js.map +1 -1
- package/dist/esm/MarketingAgent.d.ts +3 -3
- package/dist/esm/MarketingAgent.d.ts.map +1 -1
- package/dist/esm/MarketingAgent.js +27 -27
- package/dist/esm/MarketingAgent.js.map +1 -1
- package/dist/esm/MessagingAgent.d.ts +2 -2
- package/dist/esm/MessagingAgent.d.ts.map +1 -1
- package/dist/esm/MessagingAgent.js +9 -9
- package/dist/esm/MessagingAgent.js.map +1 -1
- package/dist/esm/NavigatorAgent.d.ts +2 -2
- package/dist/esm/NavigatorAgent.d.ts.map +1 -1
- package/dist/esm/NavigatorAgent.js +5 -5
- package/dist/esm/NavigatorAgent.js.map +1 -1
- package/dist/esm/NumberAllocationAgent.d.ts +2 -2
- package/dist/esm/NumberAllocationAgent.d.ts.map +1 -1
- package/dist/esm/NumberAllocationAgent.js +10 -10
- package/dist/esm/NumberAllocationAgent.js.map +1 -1
- package/dist/esm/PersonAgent.d.ts +3 -3
- package/dist/esm/PersonAgent.d.ts.map +1 -1
- package/dist/esm/PersonAgent.js +67 -67
- package/dist/esm/PersonAgent.js.map +1 -1
- package/dist/esm/PersonRestApi.d.ts +2 -2
- package/dist/esm/PersonRestApi.d.ts.map +1 -1
- package/dist/esm/PersonRestApi.js +9 -9
- package/dist/esm/PersonRestApi.js.map +1 -1
- package/dist/esm/PhoneListAgent.d.ts +2 -2
- package/dist/esm/PhoneListAgent.d.ts.map +1 -1
- package/dist/esm/PhoneListAgent.js +11 -11
- package/dist/esm/PhoneListAgent.js.map +1 -1
- package/dist/esm/PocketAgent.d.ts +3 -3
- package/dist/esm/PocketAgent.d.ts.map +1 -1
- package/dist/esm/PocketAgent.js +16 -16
- package/dist/esm/PocketAgent.js.map +1 -1
- package/dist/esm/PreferenceAgent.d.ts +3 -3
- package/dist/esm/PreferenceAgent.d.ts.map +1 -1
- package/dist/esm/PreferenceAgent.js +42 -42
- package/dist/esm/PreferenceAgent.js.map +1 -1
- package/dist/esm/PreviewsAgent.d.ts +2 -2
- package/dist/esm/PreviewsAgent.d.ts.map +1 -1
- package/dist/esm/PreviewsAgent.js +3 -3
- package/dist/esm/PreviewsAgent.js.map +1 -1
- package/dist/esm/ProjectAgent.d.ts +2 -2
- package/dist/esm/ProjectAgent.d.ts.map +1 -1
- package/dist/esm/ProjectAgent.js +56 -56
- package/dist/esm/ProjectAgent.js.map +1 -1
- package/dist/esm/ProjectRestApi.d.ts +2 -2
- package/dist/esm/ProjectRestApi.d.ts.map +1 -1
- package/dist/esm/ProjectRestApi.js +9 -9
- package/dist/esm/ProjectRestApi.js.map +1 -1
- package/dist/esm/QuoteAgent.d.ts +3 -3
- package/dist/esm/QuoteAgent.d.ts.map +1 -1
- package/dist/esm/QuoteAgent.js +101 -101
- package/dist/esm/QuoteAgent.js.map +1 -1
- package/dist/esm/RelationAgent.d.ts +2 -2
- package/dist/esm/RelationAgent.d.ts.map +1 -1
- package/dist/esm/RelationAgent.js +7 -7
- package/dist/esm/RelationAgent.js.map +1 -1
- package/dist/esm/ReportAgent.d.ts +2 -2
- package/dist/esm/ReportAgent.d.ts.map +1 -1
- package/dist/esm/ReportAgent.js +7 -7
- package/dist/esm/ReportAgent.js.map +1 -1
- package/dist/esm/ResourceAgent.d.ts +2 -2
- package/dist/esm/ResourceAgent.d.ts.map +1 -1
- package/dist/esm/ResourceAgent.js +8 -8
- package/dist/esm/ResourceAgent.js.map +1 -1
- package/dist/esm/SaintAgent.d.ts +2 -2
- package/dist/esm/SaintAgent.d.ts.map +1 -1
- package/dist/esm/SaintAgent.js +17 -17
- package/dist/esm/SaintAgent.js.map +1 -1
- package/dist/esm/SaleAgent.d.ts +3 -3
- package/dist/esm/SaleAgent.d.ts.map +1 -1
- package/dist/esm/SaleAgent.js +45 -45
- package/dist/esm/SaleAgent.js.map +1 -1
- package/dist/esm/SaleRestApi.d.ts +2 -2
- package/dist/esm/SaleRestApi.d.ts.map +1 -1
- package/dist/esm/SaleRestApi.js +9 -9
- package/dist/esm/SaleRestApi.js.map +1 -1
- package/dist/esm/SelectionAgent.d.ts +3 -3
- package/dist/esm/SelectionAgent.d.ts.map +1 -1
- package/dist/esm/SelectionAgent.js +60 -60
- package/dist/esm/SelectionAgent.js.map +1 -1
- package/dist/esm/SentryAgent.d.ts +2 -2
- package/dist/esm/SentryAgent.d.ts.map +1 -1
- package/dist/esm/SentryAgent.js +11 -11
- package/dist/esm/SentryAgent.js.map +1 -1
- package/dist/esm/TargetsAgent.d.ts +3 -3
- package/dist/esm/TargetsAgent.d.ts.map +1 -1
- package/dist/esm/TargetsAgent.js +28 -28
- package/dist/esm/TargetsAgent.js.map +1 -1
- package/dist/esm/TicketAgent.d.ts +3 -3
- package/dist/esm/TicketAgent.d.ts.map +1 -1
- package/dist/esm/TicketAgent.js +72 -72
- package/dist/esm/TicketAgent.js.map +1 -1
- package/dist/esm/TimeZoneAgent.d.ts +2 -2
- package/dist/esm/TimeZoneAgent.d.ts.map +1 -1
- package/dist/esm/TimeZoneAgent.js +15 -15
- package/dist/esm/TimeZoneAgent.js.map +1 -1
- package/dist/esm/TooltipsAgent.d.ts +2 -2
- package/dist/esm/TooltipsAgent.d.ts.map +1 -1
- package/dist/esm/TooltipsAgent.js +3 -3
- package/dist/esm/TooltipsAgent.js.map +1 -1
- package/dist/esm/UserAgent.d.ts +3 -3
- package/dist/esm/UserAgent.d.ts.map +1 -1
- package/dist/esm/UserAgent.js +99 -99
- package/dist/esm/UserAgent.js.map +1 -1
- package/dist/esm/UserDefinedFieldInfoAgent.d.ts +3 -3
- package/dist/esm/UserDefinedFieldInfoAgent.d.ts.map +1 -1
- package/dist/esm/UserDefinedFieldInfoAgent.js +36 -36
- package/dist/esm/UserDefinedFieldInfoAgent.js.map +1 -1
- package/dist/esm/ViewStateAgent.d.ts +2 -2
- package/dist/esm/ViewStateAgent.d.ts.map +1 -1
- package/dist/esm/ViewStateAgent.js +19 -19
- package/dist/esm/ViewStateAgent.js.map +1 -1
- package/dist/esm/WebApi.d.ts +67 -67
- package/dist/esm/WebApi.d.ts.map +1 -1
- package/dist/esm/WebApi.js +68 -68
- package/dist/esm/WebApi.js.map +1 -1
- package/dist/esm/WebApiBase.d.ts +6 -3
- package/dist/esm/WebApiBase.d.ts.map +1 -1
- package/dist/esm/WebApiBase.js +7 -6
- package/dist/esm/WebApiBase.js.map +1 -1
- package/dist/esm/WebhookAgent.d.ts +3 -3
- package/dist/esm/WebhookAgent.d.ts.map +1 -1
- package/dist/esm/WebhookAgent.js +11 -11
- package/dist/esm/WebhookAgent.js.map +1 -1
- package/dist/esm/WorkflowAgent.d.ts +3 -3
- package/dist/esm/WorkflowAgent.d.ts.map +1 -1
- package/dist/esm/WorkflowAgent.js +37 -37
- package/dist/esm/WorkflowAgent.js.map +1 -1
- package/dist/esm/package.json +3 -1
- package/package.json +9 -7
- package/scripts/postbuild.js +22 -0
- package/scripts/setVersion.js +2 -4
- package/src/AIAgent.ts +392 -91
- package/src/AppointmentAgent.ts +318 -318
- package/src/AppointmentRestApi.ts +17 -17
- package/src/ArchiveAgent.ts +96 -96
- package/src/AssociateAgent.ts +29 -29
- package/src/BLOBAgent.ts +128 -128
- package/src/BatchAgent.ts +54 -54
- package/src/BulkUpdateAgent.ts +31 -31
- package/src/CRMScriptAgent.ts +80 -80
- package/src/Carriers.ts +266 -3
- package/src/ChatAgent.ts +78 -78
- package/src/ConfigurationAgent.ts +115 -115
- package/src/ContactAgent.ts +96 -96
- package/src/ContactRestApi.ts +23 -23
- package/src/Converters.ts +217 -5
- package/src/CustomerServiceAgent.ts +97 -97
- package/src/DashAgent.ts +93 -93
- package/src/DatabaseAgent.ts +11 -11
- package/src/DatabaseTableAgent.ts +33 -33
- package/src/DiagnosticsAgent.ts +63 -63
- package/src/DocumentAgent.ts +271 -271
- package/src/DocumentMigrationAgent.ts +32 -32
- package/src/DocumentRestApi.ts +34 -34
- package/src/EMailAgent.ts +282 -282
- package/src/Enums.ts +60 -0
- package/src/ErpSyncAgent.ts +142 -142
- package/src/FavouriteAgent.ts +42 -42
- package/src/FindAgent.ts +117 -117
- package/src/ForeignSystemAgent.ts +91 -91
- package/src/FreeTextAgent.ts +25 -25
- package/src/ImportAgent.ts +21 -21
- package/src/LicenseAgent.ts +69 -69
- package/src/ListAgent.ts +819 -609
- package/src/MDOAgent.ts +43 -43
- package/src/MarketingAgent.ts +53 -53
- package/src/MessagingAgent.ts +26 -26
- package/src/NavigatorAgent.ts +14 -14
- package/src/NumberAllocationAgent.ts +21 -21
- package/src/PersonAgent.ts +174 -174
- package/src/PersonRestApi.ts +25 -25
- package/src/PhoneListAgent.ts +29 -29
- package/src/PocketAgent.ts +46 -46
- package/src/PreferenceAgent.ts +104 -104
- package/src/PreviewsAgent.ts +12 -12
- package/src/ProjectAgent.ts +134 -134
- package/src/ProjectRestApi.ts +24 -24
- package/src/QuoteAgent.ts +271 -271
- package/src/RelationAgent.ts +18 -18
- package/src/ReportAgent.ts +14 -14
- package/src/ResourceAgent.ts +24 -24
- package/src/SaintAgent.ts +35 -35
- package/src/SaleAgent.ts +114 -114
- package/src/SaleRestApi.ts +21 -21
- package/src/SelectionAgent.ts +171 -171
- package/src/SentryAgent.ts +29 -29
- package/src/TargetsAgent.ts +62 -62
- package/src/TicketAgent.ts +198 -198
- package/src/TimeZoneAgent.ts +29 -29
- package/src/TooltipsAgent.ts +12 -12
- package/src/UserAgent.ts +261 -261
- package/src/UserDefinedFieldInfoAgent.ts +97 -97
- package/src/ViewStateAgent.ts +50 -50
- package/src/WebApi.ts +74 -74
- package/src/WebApiBase.ts +9 -6
- package/src/WebhookAgent.ts +27 -27
- package/src/WorkflowAgent.ts +75 -75
- package/tsconfig.jest.json +2 -6
- package/tsconfig.json +0 -1
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
|
|
18
18
|
import { AxiosRequestConfig } from 'axios';
|
|
19
19
|
import { Duration } from 'dayjs/plugin/duration';
|
|
20
|
-
import * as enums from './Enums
|
|
21
|
-
import * as base from './WebApiBase
|
|
22
|
-
import * as carriers from './Carriers
|
|
23
|
-
import * as converters from './Converters
|
|
24
|
-
import { FromBase64ToString, ToBase64 } from './Base64
|
|
20
|
+
import * as enums from './Enums';
|
|
21
|
+
import * as base from './WebApiBase';
|
|
22
|
+
import * as carriers from './Carriers';
|
|
23
|
+
import * as converters from './Converters';
|
|
24
|
+
import { FromBase64ToString, ToBase64 } from './Base64';
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* User interface configuration - XMLs and other elements such as inter-client URLs
|
|
@@ -122,9 +122,9 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
122
122
|
constructor(options: base.WebApiOptions);
|
|
123
123
|
|
|
124
124
|
constructor(baseUrlOrOptions: string|base.WebApiOptions|undefined,
|
|
125
|
-
langOrconfigOrRM?: string|base.ResourceParsing|AxiosRequestConfig|any,
|
|
126
|
-
langOrResourceOrRM?:string|base.ResourceParsing|any,
|
|
127
|
-
cultureCode?: string,
|
|
125
|
+
langOrconfigOrRM?: string|base.ResourceParsing|AxiosRequestConfig|any,
|
|
126
|
+
langOrResourceOrRM?:string|base.ResourceParsing|any,
|
|
127
|
+
cultureCode?: string,
|
|
128
128
|
) {
|
|
129
129
|
const options = base.WebApiBase.FigureOutOptions(baseUrlOrOptions, langOrconfigOrRM, langOrResourceOrRM, cultureCode);
|
|
130
130
|
options.basePath = "v1/Agents/Configuration/";
|
|
@@ -145,7 +145,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
145
145
|
return new Promise< carriers.ConfigurableScreenDelta >(async (resolve, reject) => {
|
|
146
146
|
try {
|
|
147
147
|
const response = await this._axios.post("CreateDefaultConfigurableScreenDelta", null, config);
|
|
148
|
-
base.WebApiBase.SetCompleted(options);
|
|
148
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
149
149
|
const res : carriers.ConfigurableScreenDelta = converters.Create_ConfigurableScreenDelta_From( response.data );
|
|
150
150
|
resolve(res);
|
|
151
151
|
}
|
|
@@ -167,7 +167,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
167
167
|
return new Promise< carriers.ConfigurableScreenDelta >(async (resolve, reject) => {
|
|
168
168
|
try {
|
|
169
169
|
const response = await this._axios.post("SaveConfigurableScreenDelta", entity, config);
|
|
170
|
-
base.WebApiBase.SetCompleted(options);
|
|
170
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
171
171
|
const res : carriers.ConfigurableScreenDelta = converters.Create_ConfigurableScreenDelta_From( response.data );
|
|
172
172
|
resolve(res);
|
|
173
173
|
}
|
|
@@ -189,7 +189,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
189
189
|
return new Promise< void >(async (resolve, reject) => {
|
|
190
190
|
try {
|
|
191
191
|
const response = await this._axios.post("DeleteConfigurableScreenDelta?ConfigurableScreenDeltaId=" + ConfigurableScreenDeltaId, null, config );
|
|
192
|
-
base.WebApiBase.SetCompleted(options);
|
|
192
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
193
193
|
const res = response.data;
|
|
194
194
|
resolve(res);
|
|
195
195
|
}
|
|
@@ -212,7 +212,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
212
212
|
return new Promise< carriers.DiaryViewEntity >(async (resolve, reject) => {
|
|
213
213
|
try {
|
|
214
214
|
const response = await this._axios.post("CreateDefaultDiaryViewEntity", null, config);
|
|
215
|
-
base.WebApiBase.SetCompleted(options);
|
|
215
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
216
216
|
const res : carriers.DiaryViewEntity = converters.Create_DiaryViewEntity_From( response.data );
|
|
217
217
|
resolve(res);
|
|
218
218
|
}
|
|
@@ -234,7 +234,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
234
234
|
return new Promise< carriers.DiaryViewEntity >(async (resolve, reject) => {
|
|
235
235
|
try {
|
|
236
236
|
const response = await this._axios.post("SaveDiaryViewEntity", entity, config);
|
|
237
|
-
base.WebApiBase.SetCompleted(options);
|
|
237
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
238
238
|
const res : carriers.DiaryViewEntity = converters.Create_DiaryViewEntity_From( response.data );
|
|
239
239
|
resolve(res);
|
|
240
240
|
}
|
|
@@ -256,7 +256,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
256
256
|
return new Promise< void >(async (resolve, reject) => {
|
|
257
257
|
try {
|
|
258
258
|
const response = await this._axios.post("DeleteDiaryViewEntity?DiaryViewEntityId=" + DiaryViewEntityId, null, config );
|
|
259
|
-
base.WebApiBase.SetCompleted(options);
|
|
259
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
260
260
|
const res = response.data;
|
|
261
261
|
resolve(res);
|
|
262
262
|
}
|
|
@@ -279,7 +279,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
279
279
|
return new Promise< carriers.SystemEventEntity >(async (resolve, reject) => {
|
|
280
280
|
try {
|
|
281
281
|
const response = await this._axios.post("CreateDefaultSystemEventEntity", null, config);
|
|
282
|
-
base.WebApiBase.SetCompleted(options);
|
|
282
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
283
283
|
const res : carriers.SystemEventEntity = converters.Create_SystemEventEntity_From( response.data );
|
|
284
284
|
resolve(res);
|
|
285
285
|
}
|
|
@@ -301,7 +301,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
301
301
|
return new Promise< carriers.SystemEventEntity >(async (resolve, reject) => {
|
|
302
302
|
try {
|
|
303
303
|
const response = await this._axios.post("SaveSystemEventEntity", entity, config);
|
|
304
|
-
base.WebApiBase.SetCompleted(options);
|
|
304
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
305
305
|
const res : carriers.SystemEventEntity = converters.Create_SystemEventEntity_From( response.data );
|
|
306
306
|
resolve(res);
|
|
307
307
|
}
|
|
@@ -323,7 +323,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
323
323
|
return new Promise< void >(async (resolve, reject) => {
|
|
324
324
|
try {
|
|
325
325
|
const response = await this._axios.post("DeleteSystemEventEntity?SystemEventEntityId=" + SystemEventEntityId, null, config );
|
|
326
|
-
base.WebApiBase.SetCompleted(options);
|
|
326
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
327
327
|
const res = response.data;
|
|
328
328
|
resolve(res);
|
|
329
329
|
}
|
|
@@ -345,8 +345,8 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
345
345
|
return new Promise< carriers.ConfigurableScreenDelta >(async (resolve, reject) => {
|
|
346
346
|
try {
|
|
347
347
|
const response = await this._axios.post("GetConfigurableScreenDelta?configurableScreenDeltaId=" + configurableScreenDeltaId, null, config);
|
|
348
|
-
base.WebApiBase.SetCompleted(options);
|
|
349
|
-
const res = converters.Create_ConfigurableScreenDelta_From( response.data );
|
|
348
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
349
|
+
const res = converters.Create_ConfigurableScreenDelta_From( response.data );
|
|
350
350
|
resolve(res);
|
|
351
351
|
}
|
|
352
352
|
catch( err ) {
|
|
@@ -364,7 +364,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
364
364
|
try {
|
|
365
365
|
config.baseURL = this._options.baseUrl;
|
|
366
366
|
const response = await this._axios.post("GetScreenConfigurationDeltas", undefined , config);
|
|
367
|
-
base.WebApiBase.SetCompleted(options);
|
|
367
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
368
368
|
const res : string = response.data as string;
|
|
369
369
|
resolve(res);
|
|
370
370
|
}
|
|
@@ -393,7 +393,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
393
393
|
try {
|
|
394
394
|
config.baseURL = this._options.baseUrl;
|
|
395
395
|
const response = await this._axios.post("GetScreenConfigurationDelta", request , config);
|
|
396
|
-
base.WebApiBase.SetCompleted(options);
|
|
396
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
397
397
|
const res : string = response.data as string;
|
|
398
398
|
resolve(res);
|
|
399
399
|
}
|
|
@@ -432,10 +432,10 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
432
432
|
}
|
|
433
433
|
else
|
|
434
434
|
{
|
|
435
|
-
_request = {
|
|
435
|
+
_request = {
|
|
436
436
|
deltaType: deltaType as enums.DeltaType,
|
|
437
437
|
deltaState: deltaState as enums.DeltaState,
|
|
438
|
-
};
|
|
438
|
+
};
|
|
439
439
|
_options = webapi_options;
|
|
440
440
|
}
|
|
441
441
|
return this._getScreenConfigurationDeltaAsync( _request, _options );
|
|
@@ -449,7 +449,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
449
449
|
try {
|
|
450
450
|
config.baseURL = this._options.baseUrl;
|
|
451
451
|
const response = await this._axios.post("GetConfigurableScreenDeltasByDelta", request , config);
|
|
452
|
-
base.WebApiBase.SetCompleted(options);
|
|
452
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
453
453
|
const res : carriers.ConfigurableScreenDelta[] = converters.Create_ConfigurableScreenDeltaArray_From( response.data );
|
|
454
454
|
resolve(res);
|
|
455
455
|
}
|
|
@@ -487,9 +487,9 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
487
487
|
}
|
|
488
488
|
else
|
|
489
489
|
{
|
|
490
|
-
_request = {
|
|
490
|
+
_request = {
|
|
491
491
|
configurableScreenDelta: configurableScreenDelta as carriers.ConfigurableScreenDelta,
|
|
492
|
-
};
|
|
492
|
+
};
|
|
493
493
|
_options = webapi_options;
|
|
494
494
|
}
|
|
495
495
|
return this._getConfigurableScreenDeltasByDeltaAsync( _request, _options );
|
|
@@ -503,7 +503,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
503
503
|
try {
|
|
504
504
|
config.baseURL = this._options.baseUrl;
|
|
505
505
|
const response = await this._axios.post("GetConfigurableScreenDeltasByQuery", request , config);
|
|
506
|
-
base.WebApiBase.SetCompleted(options);
|
|
506
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
507
507
|
const res : carriers.ConfigurableScreenDelta[] = converters.Create_ConfigurableScreenDeltaArray_From( response.data );
|
|
508
508
|
resolve(res);
|
|
509
509
|
}
|
|
@@ -541,9 +541,9 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
541
541
|
}
|
|
542
542
|
else
|
|
543
543
|
{
|
|
544
|
-
_request = {
|
|
544
|
+
_request = {
|
|
545
545
|
deltaQuery: deltaQuery as carriers.DeltaQuery,
|
|
546
|
-
};
|
|
546
|
+
};
|
|
547
547
|
_options = webapi_options;
|
|
548
548
|
}
|
|
549
549
|
return this._getConfigurableScreenDeltasByQueryAsync( _request, _options );
|
|
@@ -557,7 +557,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
557
557
|
try {
|
|
558
558
|
config.baseURL = this._options.baseUrl;
|
|
559
559
|
const response = await this._axios.post("RebuildUdefDeltas", undefined , config);
|
|
560
|
-
base.WebApiBase.SetCompleted(options);
|
|
560
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
561
561
|
const res = response.data;
|
|
562
562
|
resolve(res);
|
|
563
563
|
}
|
|
@@ -586,7 +586,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
586
586
|
try {
|
|
587
587
|
config.baseURL = this._options.baseUrl;
|
|
588
588
|
const response = await this._axios.post("RebuildWebpanelDeltas", undefined , config);
|
|
589
|
-
base.WebApiBase.SetCompleted(options);
|
|
589
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
590
590
|
const res = response.data;
|
|
591
591
|
resolve(res);
|
|
592
592
|
}
|
|
@@ -615,7 +615,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
615
615
|
try {
|
|
616
616
|
config.baseURL = this._options.baseUrl;
|
|
617
617
|
const response = await this._axios.post("SaveAndPublish", request , config);
|
|
618
|
-
base.WebApiBase.SetCompleted(options);
|
|
618
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
619
619
|
const res : carriers.ConfigurableScreenDelta = converters.Create_ConfigurableScreenDelta_From( response.data );
|
|
620
620
|
resolve(res);
|
|
621
621
|
}
|
|
@@ -653,9 +653,9 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
653
653
|
}
|
|
654
654
|
else
|
|
655
655
|
{
|
|
656
|
-
_request = {
|
|
656
|
+
_request = {
|
|
657
657
|
configurableScreenDelta: configurableScreenDelta as carriers.ConfigurableScreenDelta,
|
|
658
|
-
};
|
|
658
|
+
};
|
|
659
659
|
_options = webapi_options;
|
|
660
660
|
}
|
|
661
661
|
return this._saveAndPublishAsync( _request, _options );
|
|
@@ -669,7 +669,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
669
669
|
try {
|
|
670
670
|
config.baseURL = this._options.baseUrl;
|
|
671
671
|
const response = await this._axios.post("SetAppliesToKey", request , config);
|
|
672
|
-
base.WebApiBase.SetCompleted(options);
|
|
672
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
673
673
|
const res = response.data;
|
|
674
674
|
resolve(res);
|
|
675
675
|
}
|
|
@@ -708,10 +708,10 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
708
708
|
}
|
|
709
709
|
else
|
|
710
710
|
{
|
|
711
|
-
_request = {
|
|
711
|
+
_request = {
|
|
712
712
|
recipeId: recipeId as string,
|
|
713
713
|
appliesToKey: appliesToKey as string,
|
|
714
|
-
};
|
|
714
|
+
};
|
|
715
715
|
_options = webapi_options;
|
|
716
716
|
}
|
|
717
717
|
return this._setAppliesToKeyAsync( _request, _options );
|
|
@@ -725,7 +725,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
725
725
|
try {
|
|
726
726
|
config.baseURL = this._options.baseUrl;
|
|
727
727
|
const response = await this._axios.post("GetRecipeAppliesToMappings", undefined , config);
|
|
728
|
-
base.WebApiBase.SetCompleted(options);
|
|
728
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
729
729
|
const res : carriers.StringDictionary = converters.Create_StringDictionary_From( response.data );
|
|
730
730
|
resolve(res);
|
|
731
731
|
}
|
|
@@ -754,7 +754,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
754
754
|
try {
|
|
755
755
|
config.baseURL = this._options.baseUrl;
|
|
756
756
|
const response = await this._axios.post("RebuildCustomObjectArchivePanelDeltas", undefined , config);
|
|
757
|
-
base.WebApiBase.SetCompleted(options);
|
|
757
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
758
758
|
const res = response.data;
|
|
759
759
|
resolve(res);
|
|
760
760
|
}
|
|
@@ -783,7 +783,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
783
783
|
try {
|
|
784
784
|
config.baseURL = this._options.baseUrl;
|
|
785
785
|
const response = await this._axios.post("RebuildTaskMenuDeltas", undefined , config);
|
|
786
|
-
base.WebApiBase.SetCompleted(options);
|
|
786
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
787
787
|
const res = response.data;
|
|
788
788
|
resolve(res);
|
|
789
789
|
}
|
|
@@ -812,7 +812,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
812
812
|
try {
|
|
813
813
|
config.baseURL = this._options.baseUrl;
|
|
814
814
|
const response = await this._axios.post("GetApplicationConfiguration", request , config);
|
|
815
|
-
base.WebApiBase.SetCompleted(options);
|
|
815
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
816
816
|
const res : string = response.data as string;
|
|
817
817
|
resolve(res);
|
|
818
818
|
}
|
|
@@ -851,10 +851,10 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
851
851
|
}
|
|
852
852
|
else
|
|
853
853
|
{
|
|
854
|
-
_request = {
|
|
854
|
+
_request = {
|
|
855
855
|
application: application as string,
|
|
856
856
|
instance: instance as string,
|
|
857
|
-
};
|
|
857
|
+
};
|
|
858
858
|
_options = webapi_options;
|
|
859
859
|
}
|
|
860
860
|
return this._getApplicationConfigurationAsync( _request, _options );
|
|
@@ -868,7 +868,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
868
868
|
try {
|
|
869
869
|
config.baseURL = this._options.baseUrl;
|
|
870
870
|
const response = await this._axios.post("GetPageConfiguration", request , config);
|
|
871
|
-
base.WebApiBase.SetCompleted(options);
|
|
871
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
872
872
|
const res : string = response.data as string;
|
|
873
873
|
resolve(res);
|
|
874
874
|
}
|
|
@@ -908,11 +908,11 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
908
908
|
}
|
|
909
909
|
else
|
|
910
910
|
{
|
|
911
|
-
_request = {
|
|
911
|
+
_request = {
|
|
912
912
|
application: application as string,
|
|
913
913
|
instance: instance as string,
|
|
914
914
|
page: page as string,
|
|
915
|
-
};
|
|
915
|
+
};
|
|
916
916
|
_options = webapi_options;
|
|
917
917
|
}
|
|
918
918
|
return this._getPageConfigurationAsync( _request, _options );
|
|
@@ -926,7 +926,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
926
926
|
try {
|
|
927
927
|
config.baseURL = this._options.baseUrl;
|
|
928
928
|
const response = await this._axios.post("GetObjectMapping", request , config);
|
|
929
|
-
base.WebApiBase.SetCompleted(options);
|
|
929
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
930
930
|
const res : string = response.data as string;
|
|
931
931
|
resolve(res);
|
|
932
932
|
}
|
|
@@ -965,10 +965,10 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
965
965
|
}
|
|
966
966
|
else
|
|
967
967
|
{
|
|
968
|
-
_request = {
|
|
968
|
+
_request = {
|
|
969
969
|
application: application as string,
|
|
970
970
|
instance: instance as string,
|
|
971
|
-
};
|
|
971
|
+
};
|
|
972
972
|
_options = webapi_options;
|
|
973
973
|
}
|
|
974
974
|
return this._getObjectMappingAsync( _request, _options );
|
|
@@ -982,7 +982,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
982
982
|
try {
|
|
983
983
|
config.baseURL = this._options.baseUrl;
|
|
984
984
|
const response = await this._axios.post("GetFilterList", request , config);
|
|
985
|
-
base.WebApiBase.SetCompleted(options);
|
|
985
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
986
986
|
const res : string = response.data as string;
|
|
987
987
|
resolve(res);
|
|
988
988
|
}
|
|
@@ -1021,10 +1021,10 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1021
1021
|
}
|
|
1022
1022
|
else
|
|
1023
1023
|
{
|
|
1024
|
-
_request = {
|
|
1024
|
+
_request = {
|
|
1025
1025
|
application: application as string,
|
|
1026
1026
|
instance: instance as string,
|
|
1027
|
-
};
|
|
1027
|
+
};
|
|
1028
1028
|
_options = webapi_options;
|
|
1029
1029
|
}
|
|
1030
1030
|
return this._getFilterListAsync( _request, _options );
|
|
@@ -1038,7 +1038,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1038
1038
|
try {
|
|
1039
1039
|
config.baseURL = this._options.baseUrl;
|
|
1040
1040
|
const response = await this._axios.post("ClearConfigurationCache", request , config);
|
|
1041
|
-
base.WebApiBase.SetCompleted(options);
|
|
1041
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1042
1042
|
const res = response.data;
|
|
1043
1043
|
resolve(res);
|
|
1044
1044
|
}
|
|
@@ -1078,11 +1078,11 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1078
1078
|
}
|
|
1079
1079
|
else
|
|
1080
1080
|
{
|
|
1081
|
-
_request = {
|
|
1081
|
+
_request = {
|
|
1082
1082
|
application: application as string,
|
|
1083
1083
|
instance: instance as string,
|
|
1084
1084
|
forAllAssociates: forAllAssociates as boolean,
|
|
1085
|
-
};
|
|
1085
|
+
};
|
|
1086
1086
|
_options = webapi_options;
|
|
1087
1087
|
}
|
|
1088
1088
|
return this._clearConfigurationCacheAsync( _request, _options );
|
|
@@ -1096,7 +1096,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1096
1096
|
try {
|
|
1097
1097
|
config.baseURL = this._options.baseUrl;
|
|
1098
1098
|
const response = await this._axios.post("GetAnyConfiguration", request , config);
|
|
1099
|
-
base.WebApiBase.SetCompleted(options);
|
|
1099
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1100
1100
|
const res : string = response.data as string;
|
|
1101
1101
|
resolve(res);
|
|
1102
1102
|
}
|
|
@@ -1137,12 +1137,12 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1137
1137
|
}
|
|
1138
1138
|
else
|
|
1139
1139
|
{
|
|
1140
|
-
_request = {
|
|
1140
|
+
_request = {
|
|
1141
1141
|
application: application as string,
|
|
1142
1142
|
instance: instance as string,
|
|
1143
1143
|
item: item as string,
|
|
1144
1144
|
type: type as string,
|
|
1145
|
-
};
|
|
1145
|
+
};
|
|
1146
1146
|
_options = webapi_options;
|
|
1147
1147
|
}
|
|
1148
1148
|
return this._getAnyConfigurationAsync( _request, _options );
|
|
@@ -1156,7 +1156,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1156
1156
|
try {
|
|
1157
1157
|
config.baseURL = this._options.baseUrl;
|
|
1158
1158
|
const response = await this._axios.post("GetEMarketingUrl", request , config);
|
|
1159
|
-
base.WebApiBase.SetCompleted(options);
|
|
1159
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1160
1160
|
const res : string = response.data as string;
|
|
1161
1161
|
resolve(res);
|
|
1162
1162
|
}
|
|
@@ -1194,9 +1194,9 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1194
1194
|
}
|
|
1195
1195
|
else
|
|
1196
1196
|
{
|
|
1197
|
-
_request = {
|
|
1197
|
+
_request = {
|
|
1198
1198
|
language: language as string,
|
|
1199
|
-
};
|
|
1199
|
+
};
|
|
1200
1200
|
_options = webapi_options;
|
|
1201
1201
|
}
|
|
1202
1202
|
return this._getEMarketingUrlAsync( _request, _options );
|
|
@@ -1210,7 +1210,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1210
1210
|
try {
|
|
1211
1211
|
config.baseURL = this._options.baseUrl;
|
|
1212
1212
|
const response = await this._axios.post("GetCsProgramUrl", request , config);
|
|
1213
|
-
base.WebApiBase.SetCompleted(options);
|
|
1213
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1214
1214
|
const res : string = response.data as string;
|
|
1215
1215
|
resolve(res);
|
|
1216
1216
|
}
|
|
@@ -1251,12 +1251,12 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1251
1251
|
}
|
|
1252
1252
|
else
|
|
1253
1253
|
{
|
|
1254
|
-
_request = {
|
|
1254
|
+
_request = {
|
|
1255
1255
|
language: language as string,
|
|
1256
1256
|
programName: programName as string,
|
|
1257
1257
|
action: action as string,
|
|
1258
1258
|
extraParameters: extraParameters as string,
|
|
1259
|
-
};
|
|
1259
|
+
};
|
|
1260
1260
|
_options = webapi_options;
|
|
1261
1261
|
}
|
|
1262
1262
|
return this._getCsProgramUrlAsync( _request, _options );
|
|
@@ -1270,7 +1270,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1270
1270
|
try {
|
|
1271
1271
|
config.baseURL = this._options.baseUrl;
|
|
1272
1272
|
const response = await this._axios.post("GetCSAuthUrl", request , config);
|
|
1273
|
-
base.WebApiBase.SetCompleted(options);
|
|
1273
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1274
1274
|
const res : string = response.data as string;
|
|
1275
1275
|
resolve(res);
|
|
1276
1276
|
}
|
|
@@ -1311,12 +1311,12 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1311
1311
|
}
|
|
1312
1312
|
else
|
|
1313
1313
|
{
|
|
1314
|
-
_request = {
|
|
1314
|
+
_request = {
|
|
1315
1315
|
language: language as string,
|
|
1316
1316
|
programName: programName as string,
|
|
1317
1317
|
action: action as string,
|
|
1318
1318
|
extraParameters: extraParameters as string,
|
|
1319
|
-
};
|
|
1319
|
+
};
|
|
1320
1320
|
_options = webapi_options;
|
|
1321
1321
|
}
|
|
1322
1322
|
return this._getCSAuthUrlAsync( _request, _options );
|
|
@@ -1330,7 +1330,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1330
1330
|
try {
|
|
1331
1331
|
config.baseURL = this._options.baseUrl;
|
|
1332
1332
|
const response = await this._axios.post("GetCSRegistryValue", request , config);
|
|
1333
|
-
base.WebApiBase.SetCompleted(options);
|
|
1333
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1334
1334
|
const res : string = response.data as string;
|
|
1335
1335
|
resolve(res);
|
|
1336
1336
|
}
|
|
@@ -1368,9 +1368,9 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1368
1368
|
}
|
|
1369
1369
|
else
|
|
1370
1370
|
{
|
|
1371
|
-
_request = {
|
|
1371
|
+
_request = {
|
|
1372
1372
|
entry: entry as number,
|
|
1373
|
-
};
|
|
1373
|
+
};
|
|
1374
1374
|
_options = webapi_options;
|
|
1375
1375
|
}
|
|
1376
1376
|
return this._getCSRegistryValueAsync( _request, _options );
|
|
@@ -1384,7 +1384,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1384
1384
|
try {
|
|
1385
1385
|
config.baseURL = this._options.baseUrl;
|
|
1386
1386
|
const response = await this._axios.post("GetCSWwwFolder", undefined , config);
|
|
1387
|
-
base.WebApiBase.SetCompleted(options);
|
|
1387
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1388
1388
|
const res : string = response.data as string;
|
|
1389
1389
|
resolve(res);
|
|
1390
1390
|
}
|
|
@@ -1413,7 +1413,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1413
1413
|
try {
|
|
1414
1414
|
config.baseURL = this._options.baseUrl;
|
|
1415
1415
|
const response = await this._axios.post("GetRefreshedPageConfiguration", request , config);
|
|
1416
|
-
base.WebApiBase.SetCompleted(options);
|
|
1416
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1417
1417
|
const res : string = response.data as string;
|
|
1418
1418
|
resolve(res);
|
|
1419
1419
|
}
|
|
@@ -1453,11 +1453,11 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1453
1453
|
}
|
|
1454
1454
|
else
|
|
1455
1455
|
{
|
|
1456
|
-
_request = {
|
|
1456
|
+
_request = {
|
|
1457
1457
|
application: application as string,
|
|
1458
1458
|
instance: instance as string,
|
|
1459
1459
|
page: page as string,
|
|
1460
|
-
};
|
|
1460
|
+
};
|
|
1461
1461
|
_options = webapi_options;
|
|
1462
1462
|
}
|
|
1463
1463
|
return this._getRefreshedPageConfigurationAsync( _request, _options );
|
|
@@ -1471,7 +1471,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1471
1471
|
try {
|
|
1472
1472
|
config.baseURL = this._options.baseUrl;
|
|
1473
1473
|
const response = await this._axios.post("GetWwwUrl", request , config);
|
|
1474
|
-
base.WebApiBase.SetCompleted(options);
|
|
1474
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1475
1475
|
const res : string = response.data as string;
|
|
1476
1476
|
resolve(res);
|
|
1477
1477
|
}
|
|
@@ -1509,9 +1509,9 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1509
1509
|
}
|
|
1510
1510
|
else
|
|
1511
1511
|
{
|
|
1512
|
-
_request = {
|
|
1512
|
+
_request = {
|
|
1513
1513
|
client: client as string,
|
|
1514
|
-
};
|
|
1514
|
+
};
|
|
1515
1515
|
_options = webapi_options;
|
|
1516
1516
|
}
|
|
1517
1517
|
return this._getWwwUrlAsync( _request, _options );
|
|
@@ -1525,7 +1525,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1525
1525
|
try {
|
|
1526
1526
|
config.baseURL = this._options.baseUrl;
|
|
1527
1527
|
const response = await this._axios.post("GetHelpDispatcherUrl", undefined , config);
|
|
1528
|
-
base.WebApiBase.SetCompleted(options);
|
|
1528
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1529
1529
|
const res : string = response.data as string;
|
|
1530
1530
|
resolve(res);
|
|
1531
1531
|
}
|
|
@@ -1554,7 +1554,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1554
1554
|
try {
|
|
1555
1555
|
config.baseURL = this._options.baseUrl;
|
|
1556
1556
|
const response = await this._axios.post("GetWwwUrlForSMWeb", undefined , config);
|
|
1557
|
-
base.WebApiBase.SetCompleted(options);
|
|
1557
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1558
1558
|
const res : string = response.data as string;
|
|
1559
1559
|
resolve(res);
|
|
1560
1560
|
}
|
|
@@ -1583,7 +1583,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1583
1583
|
try {
|
|
1584
1584
|
config.baseURL = this._options.baseUrl;
|
|
1585
1585
|
const response = await this._axios.post("GetCsCgiUrlInternal", undefined , config);
|
|
1586
|
-
base.WebApiBase.SetCompleted(options);
|
|
1586
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1587
1587
|
const res : string = response.data as string;
|
|
1588
1588
|
resolve(res);
|
|
1589
1589
|
}
|
|
@@ -1612,7 +1612,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1612
1612
|
try {
|
|
1613
1613
|
config.baseURL = this._options.baseUrl;
|
|
1614
1614
|
const response = await this._axios.post("GetCRMUrl", request , config);
|
|
1615
|
-
base.WebApiBase.SetCompleted(options);
|
|
1615
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1616
1616
|
const res : string = response.data as string;
|
|
1617
1617
|
resolve(res);
|
|
1618
1618
|
}
|
|
@@ -1652,11 +1652,11 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1652
1652
|
}
|
|
1653
1653
|
else
|
|
1654
1654
|
{
|
|
1655
|
-
_request = {
|
|
1655
|
+
_request = {
|
|
1656
1656
|
soProtocol: soProtocol as string,
|
|
1657
1657
|
currents: currents as string,
|
|
1658
1658
|
frameless: frameless as boolean,
|
|
1659
|
-
};
|
|
1659
|
+
};
|
|
1660
1660
|
_options = webapi_options;
|
|
1661
1661
|
}
|
|
1662
1662
|
return this._getCRMUrlAsync( _request, _options );
|
|
@@ -1670,7 +1670,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1670
1670
|
try {
|
|
1671
1671
|
config.baseURL = this._options.baseUrl;
|
|
1672
1672
|
const response = await this._axios.post("GetEmailNumberOfDays", undefined , config);
|
|
1673
|
-
base.WebApiBase.SetCompleted(options);
|
|
1673
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1674
1674
|
const res : number = response.data as number;
|
|
1675
1675
|
resolve(res);
|
|
1676
1676
|
}
|
|
@@ -1699,7 +1699,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1699
1699
|
try {
|
|
1700
1700
|
config.baseURL = this._options.baseUrl;
|
|
1701
1701
|
const response = await this._axios.post("GetCustomerUrl", undefined , config);
|
|
1702
|
-
base.WebApiBase.SetCompleted(options);
|
|
1702
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1703
1703
|
const res : string = response.data as string;
|
|
1704
1704
|
resolve(res);
|
|
1705
1705
|
}
|
|
@@ -1728,7 +1728,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1728
1728
|
try {
|
|
1729
1729
|
config.baseURL = this._options.baseUrl;
|
|
1730
1730
|
const response = await this._axios.post("GetSpfDomain", undefined , config);
|
|
1731
|
-
base.WebApiBase.SetCompleted(options);
|
|
1731
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1732
1732
|
const res : string = response.data as string;
|
|
1733
1733
|
resolve(res);
|
|
1734
1734
|
}
|
|
@@ -1757,7 +1757,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1757
1757
|
try {
|
|
1758
1758
|
config.baseURL = this._options.baseUrl;
|
|
1759
1759
|
const response = await this._axios.post("GetAllFeatureToggles", undefined , config);
|
|
1760
|
-
base.WebApiBase.SetCompleted(options);
|
|
1760
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1761
1761
|
const res : carriers.StringBoolDictionary = converters.Create_StringBoolDictionary_From( response.data );
|
|
1762
1762
|
resolve(res);
|
|
1763
1763
|
}
|
|
@@ -1790,8 +1790,8 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1790
1790
|
return new Promise< carriers.DiaryViewEntity >(async (resolve, reject) => {
|
|
1791
1791
|
try {
|
|
1792
1792
|
const response = await this._axios.post("GetDiaryViewEntity?diaryViewEntityId=" + diaryViewEntityId, null, config);
|
|
1793
|
-
base.WebApiBase.SetCompleted(options);
|
|
1794
|
-
const res = converters.Create_DiaryViewEntity_From( response.data );
|
|
1793
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1794
|
+
const res = converters.Create_DiaryViewEntity_From( response.data );
|
|
1795
1795
|
resolve(res);
|
|
1796
1796
|
}
|
|
1797
1797
|
catch( err ) {
|
|
@@ -1813,8 +1813,8 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1813
1813
|
return new Promise< carriers.SystemEventEntity >(async (resolve, reject) => {
|
|
1814
1814
|
try {
|
|
1815
1815
|
const response = await this._axios.post("GetSystemEventEntity?systemEventEntityId=" + systemEventEntityId, null, config);
|
|
1816
|
-
base.WebApiBase.SetCompleted(options);
|
|
1817
|
-
const res = converters.Create_SystemEventEntity_From( response.data );
|
|
1816
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1817
|
+
const res = converters.Create_SystemEventEntity_From( response.data );
|
|
1818
1818
|
resolve(res);
|
|
1819
1819
|
}
|
|
1820
1820
|
catch( err ) {
|
|
@@ -1832,7 +1832,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1832
1832
|
try {
|
|
1833
1833
|
config.baseURL = this._options.baseUrl;
|
|
1834
1834
|
const response = await this._axios.post("ExistsSystemEvent", request , config);
|
|
1835
|
-
base.WebApiBase.SetCompleted(options);
|
|
1835
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1836
1836
|
const res : boolean = response.data as boolean;
|
|
1837
1837
|
resolve(res);
|
|
1838
1838
|
}
|
|
@@ -1870,9 +1870,9 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1870
1870
|
}
|
|
1871
1871
|
else
|
|
1872
1872
|
{
|
|
1873
|
-
_request = {
|
|
1873
|
+
_request = {
|
|
1874
1874
|
key: key as string,
|
|
1875
|
-
};
|
|
1875
|
+
};
|
|
1876
1876
|
_options = webapi_options;
|
|
1877
1877
|
}
|
|
1878
1878
|
return this._existsSystemEventAsync( _request, _options );
|
|
@@ -1890,8 +1890,8 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1890
1890
|
return new Promise< carriers.WindowPosSize >(async (resolve, reject) => {
|
|
1891
1891
|
try {
|
|
1892
1892
|
const response = await this._axios.post("GetWindowPosSize?windowPosSizeId=" + windowPosSizeId, null, config);
|
|
1893
|
-
base.WebApiBase.SetCompleted(options);
|
|
1894
|
-
const res = converters.Create_WindowPosSize_From( response.data );
|
|
1893
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1894
|
+
const res = converters.Create_WindowPosSize_From( response.data );
|
|
1895
1895
|
resolve(res);
|
|
1896
1896
|
}
|
|
1897
1897
|
catch( err ) {
|
|
@@ -1909,7 +1909,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1909
1909
|
try {
|
|
1910
1910
|
config.baseURL = this._options.baseUrl;
|
|
1911
1911
|
const response = await this._axios.post("SaveWindowPosSize", request , config);
|
|
1912
|
-
base.WebApiBase.SetCompleted(options);
|
|
1912
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1913
1913
|
const res : carriers.WindowPosSize = converters.Create_WindowPosSize_From( response.data );
|
|
1914
1914
|
resolve(res);
|
|
1915
1915
|
}
|
|
@@ -1947,9 +1947,9 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1947
1947
|
}
|
|
1948
1948
|
else
|
|
1949
1949
|
{
|
|
1950
|
-
_request = {
|
|
1950
|
+
_request = {
|
|
1951
1951
|
windowPosSize: windowPosSize as carriers.WindowPosSize,
|
|
1952
|
-
};
|
|
1952
|
+
};
|
|
1953
1953
|
_options = webapi_options;
|
|
1954
1954
|
}
|
|
1955
1955
|
return this._saveWindowPosSizeAsync( _request, _options );
|
|
@@ -1963,7 +1963,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1963
1963
|
try {
|
|
1964
1964
|
config.baseURL = this._options.baseUrl;
|
|
1965
1965
|
const response = await this._axios.post("DeleteWindowPosSize", request , config);
|
|
1966
|
-
base.WebApiBase.SetCompleted(options);
|
|
1966
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1967
1967
|
const res = response.data;
|
|
1968
1968
|
resolve(res);
|
|
1969
1969
|
}
|
|
@@ -2001,9 +2001,9 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
2001
2001
|
}
|
|
2002
2002
|
else
|
|
2003
2003
|
{
|
|
2004
|
-
_request = {
|
|
2004
|
+
_request = {
|
|
2005
2005
|
windowPosSizeId: windowPosSizeId as number,
|
|
2006
|
-
};
|
|
2006
|
+
};
|
|
2007
2007
|
_options = webapi_options;
|
|
2008
2008
|
}
|
|
2009
2009
|
return this._deleteWindowPosSizeAsync( _request, _options );
|
|
@@ -2021,8 +2021,8 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
2021
2021
|
return new Promise< carriers.WindowPosSize[] >(async (resolve, reject) => {
|
|
2022
2022
|
try {
|
|
2023
2023
|
const response = await this._axios.post("GetWindowPosSizeList", windowPosSizeIds, config);
|
|
2024
|
-
base.WebApiBase.SetCompleted(options);
|
|
2025
|
-
const res = converters.Create_WindowPosSizeArray_From( response.data );
|
|
2024
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
2025
|
+
const res = converters.Create_WindowPosSizeArray_From( response.data );
|
|
2026
2026
|
resolve(res);
|
|
2027
2027
|
}
|
|
2028
2028
|
catch( err ) {
|
|
@@ -2040,7 +2040,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
2040
2040
|
try {
|
|
2041
2041
|
config.baseURL = this._options.baseUrl;
|
|
2042
2042
|
const response = await this._axios.post("GetMyWindowPosSizes", undefined , config);
|
|
2043
|
-
base.WebApiBase.SetCompleted(options);
|
|
2043
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
2044
2044
|
const res : carriers.WindowPosSize[] = converters.Create_WindowPosSizeArray_From( response.data );
|
|
2045
2045
|
resolve(res);
|
|
2046
2046
|
}
|
|
@@ -2069,7 +2069,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
2069
2069
|
try {
|
|
2070
2070
|
config.baseURL = this._options.baseUrl;
|
|
2071
2071
|
const response = await this._axios.post("GetWindowPosSizesOnPersonId", request , config);
|
|
2072
|
-
base.WebApiBase.SetCompleted(options);
|
|
2072
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
2073
2073
|
const res : carriers.WindowPosSize[] = converters.Create_WindowPosSizeArray_From( response.data );
|
|
2074
2074
|
resolve(res);
|
|
2075
2075
|
}
|
|
@@ -2107,9 +2107,9 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
2107
2107
|
}
|
|
2108
2108
|
else
|
|
2109
2109
|
{
|
|
2110
|
-
_request = {
|
|
2110
|
+
_request = {
|
|
2111
2111
|
personId: personId as number,
|
|
2112
|
-
};
|
|
2112
|
+
};
|
|
2113
2113
|
_options = webapi_options;
|
|
2114
2114
|
}
|
|
2115
2115
|
return this._getWindowPosSizesOnPersonIdAsync( _request, _options );
|
|
@@ -2123,7 +2123,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
2123
2123
|
try {
|
|
2124
2124
|
config.baseURL = this._options.baseUrl;
|
|
2125
2125
|
const response = await this._axios.post("GetWindowPosSizesOnAssociateId", request , config);
|
|
2126
|
-
base.WebApiBase.SetCompleted(options);
|
|
2126
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
2127
2127
|
const res : carriers.WindowPosSize[] = converters.Create_WindowPosSizeArray_From( response.data );
|
|
2128
2128
|
resolve(res);
|
|
2129
2129
|
}
|
|
@@ -2161,9 +2161,9 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
2161
2161
|
}
|
|
2162
2162
|
else
|
|
2163
2163
|
{
|
|
2164
|
-
_request = {
|
|
2164
|
+
_request = {
|
|
2165
2165
|
associateId: associateId as number,
|
|
2166
|
-
};
|
|
2166
|
+
};
|
|
2167
2167
|
_options = webapi_options;
|
|
2168
2168
|
}
|
|
2169
2169
|
return this._getWindowPosSizesOnAssociateIdAsync( _request, _options );
|
|
@@ -2177,7 +2177,7 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
2177
2177
|
try {
|
|
2178
2178
|
config.baseURL = this._options.baseUrl;
|
|
2179
2179
|
const response = await this._axios.post("SaveWindowPosSizes", request , config);
|
|
2180
|
-
base.WebApiBase.SetCompleted(options);
|
|
2180
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
2181
2181
|
const res : carriers.WindowPosSize[] = converters.Create_WindowPosSizeArray_From( response.data );
|
|
2182
2182
|
resolve(res);
|
|
2183
2183
|
}
|
|
@@ -2215,14 +2215,14 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
2215
2215
|
}
|
|
2216
2216
|
else
|
|
2217
2217
|
{
|
|
2218
|
-
_request = {
|
|
2218
|
+
_request = {
|
|
2219
2219
|
windowPosSizes: windowPosSizes as carriers.WindowPosSize[],
|
|
2220
|
-
};
|
|
2220
|
+
};
|
|
2221
2221
|
_options = webapi_options;
|
|
2222
2222
|
}
|
|
2223
2223
|
return this._saveWindowPosSizesAsync( _request, _options );
|
|
2224
2224
|
}
|
|
2225
2225
|
|
|
2226
|
-
} // class v1ConfigurationAgentController
|
|
2226
|
+
} // class v1ConfigurationAgentController
|
|
2227
2227
|
|
|
2228
2228
|
|