@superoffice/webapi 11.5.755 → 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 +188 -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 +20 -2
- package/dist/cjs/Converters.d.ts.map +1 -1
- package/dist/cjs/Converters.js +257 -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 +80 -3
- package/dist/cjs/Enums.d.ts.map +1 -1
- package/dist/cjs/Enums.js +84 -4
- 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 +188 -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 +20 -2
- package/dist/esm/Converters.d.ts.map +1 -1
- package/dist/esm/Converters.js +217 -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 +80 -3
- package/dist/esm/Enums.d.ts.map +1 -1
- package/dist/esm/Enums.js +81 -1
- 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 +285 -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 +269 -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 +84 -1
- 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
package/src/AppointmentAgent.ts
CHANGED
|
@@ -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
|
* Collection of all services that works with Appointment data.
|
|
@@ -253,9 +253,9 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
253
253
|
constructor(options: base.WebApiOptions);
|
|
254
254
|
|
|
255
255
|
constructor(baseUrlOrOptions: string|base.WebApiOptions|undefined,
|
|
256
|
-
langOrconfigOrRM?: string|base.ResourceParsing|AxiosRequestConfig|any,
|
|
257
|
-
langOrResourceOrRM?:string|base.ResourceParsing|any,
|
|
258
|
-
cultureCode?: string,
|
|
256
|
+
langOrconfigOrRM?: string|base.ResourceParsing|AxiosRequestConfig|any,
|
|
257
|
+
langOrResourceOrRM?:string|base.ResourceParsing|any,
|
|
258
|
+
cultureCode?: string,
|
|
259
259
|
) {
|
|
260
260
|
const options = base.WebApiBase.FigureOutOptions(baseUrlOrOptions, langOrconfigOrRM, langOrResourceOrRM, cultureCode);
|
|
261
261
|
options.basePath = "v1/Agents/Appointment/";
|
|
@@ -276,7 +276,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
276
276
|
return new Promise< carriers.AppointmentEntity >(async (resolve, reject) => {
|
|
277
277
|
try {
|
|
278
278
|
const response = await this._axios.post("CreateDefaultAppointmentEntity", null, config);
|
|
279
|
-
base.WebApiBase.SetCompleted(options);
|
|
279
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
280
280
|
const res : carriers.AppointmentEntity = converters.Create_AppointmentEntity_From( response.data );
|
|
281
281
|
resolve(res);
|
|
282
282
|
}
|
|
@@ -298,7 +298,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
298
298
|
return new Promise< carriers.AppointmentEntity >(async (resolve, reject) => {
|
|
299
299
|
try {
|
|
300
300
|
const response = await this._axios.post("SaveAppointmentEntity", entity, config);
|
|
301
|
-
base.WebApiBase.SetCompleted(options);
|
|
301
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
302
302
|
const res : carriers.AppointmentEntity = converters.Create_AppointmentEntity_From( response.data );
|
|
303
303
|
resolve(res);
|
|
304
304
|
}
|
|
@@ -320,7 +320,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
320
320
|
return new Promise< void >(async (resolve, reject) => {
|
|
321
321
|
try {
|
|
322
322
|
const response = await this._axios.post("DeleteAppointmentEntity?AppointmentEntityId=" + AppointmentEntityId, null, config );
|
|
323
|
-
base.WebApiBase.SetCompleted(options);
|
|
323
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
324
324
|
const res = response.data;
|
|
325
325
|
resolve(res);
|
|
326
326
|
}
|
|
@@ -343,7 +343,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
343
343
|
return new Promise< carriers.SuggestedAppointmentEntity >(async (resolve, reject) => {
|
|
344
344
|
try {
|
|
345
345
|
const response = await this._axios.post("CreateDefaultSuggestedAppointmentEntity", null, config);
|
|
346
|
-
base.WebApiBase.SetCompleted(options);
|
|
346
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
347
347
|
const res : carriers.SuggestedAppointmentEntity = converters.Create_SuggestedAppointmentEntity_From( response.data );
|
|
348
348
|
resolve(res);
|
|
349
349
|
}
|
|
@@ -365,7 +365,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
365
365
|
return new Promise< carriers.SuggestedAppointmentEntity >(async (resolve, reject) => {
|
|
366
366
|
try {
|
|
367
367
|
const response = await this._axios.post("SaveSuggestedAppointmentEntity", entity, config);
|
|
368
|
-
base.WebApiBase.SetCompleted(options);
|
|
368
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
369
369
|
const res : carriers.SuggestedAppointmentEntity = converters.Create_SuggestedAppointmentEntity_From( response.data );
|
|
370
370
|
resolve(res);
|
|
371
371
|
}
|
|
@@ -388,7 +388,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
388
388
|
return new Promise< carriers.TaskListItem >(async (resolve, reject) => {
|
|
389
389
|
try {
|
|
390
390
|
const response = await this._axios.post("CreateDefaultTaskListItem", null, config);
|
|
391
|
-
base.WebApiBase.SetCompleted(options);
|
|
391
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
392
392
|
const res : carriers.TaskListItem = converters.Create_TaskListItem_From( response.data );
|
|
393
393
|
resolve(res);
|
|
394
394
|
}
|
|
@@ -410,7 +410,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
410
410
|
return new Promise< carriers.TaskListItem >(async (resolve, reject) => {
|
|
411
411
|
try {
|
|
412
412
|
const response = await this._axios.post("SaveTaskListItem", entity, config);
|
|
413
|
-
base.WebApiBase.SetCompleted(options);
|
|
413
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
414
414
|
const res : carriers.TaskListItem = converters.Create_TaskListItem_From( response.data );
|
|
415
415
|
resolve(res);
|
|
416
416
|
}
|
|
@@ -432,8 +432,8 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
432
432
|
return new Promise< carriers.Appointment >(async (resolve, reject) => {
|
|
433
433
|
try {
|
|
434
434
|
const response = await this._axios.post("GetAppointment?appointmentId=" + appointmentId, null, config);
|
|
435
|
-
base.WebApiBase.SetCompleted(options);
|
|
436
|
-
const res = converters.Create_Appointment_From( response.data );
|
|
435
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
436
|
+
const res = converters.Create_Appointment_From( response.data );
|
|
437
437
|
resolve(res);
|
|
438
438
|
}
|
|
439
439
|
catch( err ) {
|
|
@@ -451,7 +451,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
451
451
|
try {
|
|
452
452
|
config.baseURL = this._options.baseUrl;
|
|
453
453
|
const response = await this._axios.post("ToggleAppointmentStatus", request , config);
|
|
454
|
-
base.WebApiBase.SetCompleted(options);
|
|
454
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
455
455
|
const res : enums.AppointmentStatus = response.data as enums.AppointmentStatus;
|
|
456
456
|
resolve(res);
|
|
457
457
|
}
|
|
@@ -489,9 +489,9 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
489
489
|
}
|
|
490
490
|
else
|
|
491
491
|
{
|
|
492
|
-
_request = {
|
|
492
|
+
_request = {
|
|
493
493
|
appointmentId: appointmentId as number,
|
|
494
|
-
};
|
|
494
|
+
};
|
|
495
495
|
_options = webapi_options;
|
|
496
496
|
}
|
|
497
497
|
return this._toggleAppointmentStatusAsync( _request, _options );
|
|
@@ -505,7 +505,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
505
505
|
try {
|
|
506
506
|
config.baseURL = this._options.baseUrl;
|
|
507
507
|
const response = await this._axios.post("ToggleActivity", request , config);
|
|
508
|
-
base.WebApiBase.SetCompleted(options);
|
|
508
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
509
509
|
const res : enums.ActivityStatus = response.data as enums.ActivityStatus;
|
|
510
510
|
resolve(res);
|
|
511
511
|
}
|
|
@@ -543,9 +543,9 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
543
543
|
}
|
|
544
544
|
else
|
|
545
545
|
{
|
|
546
|
-
_request = {
|
|
546
|
+
_request = {
|
|
547
547
|
activityIdentifier: activityIdentifier as string,
|
|
548
|
-
};
|
|
548
|
+
};
|
|
549
549
|
_options = webapi_options;
|
|
550
550
|
}
|
|
551
551
|
return this._toggleActivityAsync( _request, _options );
|
|
@@ -559,7 +559,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
559
559
|
try {
|
|
560
560
|
config.baseURL = this._options.baseUrl;
|
|
561
561
|
const response = await this._axios.post("ToggleActivities", request , config);
|
|
562
|
-
base.WebApiBase.SetCompleted(options);
|
|
562
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
563
563
|
const res : enums.ActivityStatus = response.data as enums.ActivityStatus;
|
|
564
564
|
resolve(res);
|
|
565
565
|
}
|
|
@@ -597,9 +597,9 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
597
597
|
}
|
|
598
598
|
else
|
|
599
599
|
{
|
|
600
|
-
_request = {
|
|
600
|
+
_request = {
|
|
601
601
|
activityIdentifier: activityIdentifier as string[],
|
|
602
|
-
};
|
|
602
|
+
};
|
|
603
603
|
_options = webapi_options;
|
|
604
604
|
}
|
|
605
605
|
return this._toggleActivitiesAsync( _request, _options );
|
|
@@ -613,7 +613,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
613
613
|
try {
|
|
614
614
|
config.baseURL = this._options.baseUrl;
|
|
615
615
|
const response = await this._axios.post("SetActivityStatus", request , config);
|
|
616
|
-
base.WebApiBase.SetCompleted(options);
|
|
616
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
617
617
|
const res = response.data;
|
|
618
618
|
resolve(res);
|
|
619
619
|
}
|
|
@@ -652,10 +652,10 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
652
652
|
}
|
|
653
653
|
else
|
|
654
654
|
{
|
|
655
|
-
_request = {
|
|
655
|
+
_request = {
|
|
656
656
|
activityIdentifier: activityIdentifier as string[],
|
|
657
657
|
activityStatus: activityStatus as enums.ActivityStatus,
|
|
658
|
-
};
|
|
658
|
+
};
|
|
659
659
|
_options = webapi_options;
|
|
660
660
|
}
|
|
661
661
|
return this._setActivityStatusAsync( _request, _options );
|
|
@@ -669,7 +669,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
669
669
|
try {
|
|
670
670
|
config.baseURL = this._options.baseUrl;
|
|
671
671
|
const response = await this._axios.post("ToggleAndSetActivities", request , config);
|
|
672
|
-
base.WebApiBase.SetCompleted(options);
|
|
672
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
673
673
|
const res : string[] = response.data as string[];
|
|
674
674
|
resolve(res);
|
|
675
675
|
}
|
|
@@ -707,9 +707,9 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
707
707
|
}
|
|
708
708
|
else
|
|
709
709
|
{
|
|
710
|
-
_request = {
|
|
710
|
+
_request = {
|
|
711
711
|
activityIdentifiers: activityIdentifiers as string[],
|
|
712
|
-
};
|
|
712
|
+
};
|
|
713
713
|
_options = webapi_options;
|
|
714
714
|
}
|
|
715
715
|
return this._toggleAndSetActivitiesAsync( _request, _options );
|
|
@@ -727,8 +727,8 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
727
727
|
return new Promise< carriers.AppointmentEntity >(async (resolve, reject) => {
|
|
728
728
|
try {
|
|
729
729
|
const response = await this._axios.post("GetAppointmentEntity?appointmentEntityId=" + appointmentEntityId, null, config);
|
|
730
|
-
base.WebApiBase.SetCompleted(options);
|
|
731
|
-
const res = converters.Create_AppointmentEntity_From( response.data );
|
|
730
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
731
|
+
const res = converters.Create_AppointmentEntity_From( response.data );
|
|
732
732
|
resolve(res);
|
|
733
733
|
}
|
|
734
734
|
catch( err ) {
|
|
@@ -746,7 +746,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
746
746
|
try {
|
|
747
747
|
config.baseURL = this._options.baseUrl;
|
|
748
748
|
const response = await this._axios.post("CreateDefaultAppointmentEntityByType", request , config);
|
|
749
|
-
base.WebApiBase.SetCompleted(options);
|
|
749
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
750
750
|
const res : carriers.AppointmentEntity = converters.Create_AppointmentEntity_From( response.data );
|
|
751
751
|
resolve(res);
|
|
752
752
|
}
|
|
@@ -784,9 +784,9 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
784
784
|
}
|
|
785
785
|
else
|
|
786
786
|
{
|
|
787
|
-
_request = {
|
|
787
|
+
_request = {
|
|
788
788
|
type: type as enums.TaskType,
|
|
789
|
-
};
|
|
789
|
+
};
|
|
790
790
|
_options = webapi_options;
|
|
791
791
|
}
|
|
792
792
|
return this._createDefaultAppointmentEntityByTypeAsync( _request, _options );
|
|
@@ -800,7 +800,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
800
800
|
try {
|
|
801
801
|
config.baseURL = this._options.baseUrl;
|
|
802
802
|
const response = await this._axios.post("CreateAppointmentEntityFromExisting", request , config);
|
|
803
|
-
base.WebApiBase.SetCompleted(options);
|
|
803
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
804
804
|
const res : carriers.AppointmentEntity = converters.Create_AppointmentEntity_From( response.data );
|
|
805
805
|
resolve(res);
|
|
806
806
|
}
|
|
@@ -839,10 +839,10 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
839
839
|
}
|
|
840
840
|
else
|
|
841
841
|
{
|
|
842
|
-
_request = {
|
|
842
|
+
_request = {
|
|
843
843
|
appointmentId: appointmentId as number,
|
|
844
844
|
associateId: associateId as number,
|
|
845
|
-
};
|
|
845
|
+
};
|
|
846
846
|
_options = webapi_options;
|
|
847
847
|
}
|
|
848
848
|
return this._createAppointmentEntityFromExistingAsync( _request, _options );
|
|
@@ -856,7 +856,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
856
856
|
try {
|
|
857
857
|
config.baseURL = this._options.baseUrl;
|
|
858
858
|
const response = await this._axios.post("Accept", request , config);
|
|
859
|
-
base.WebApiBase.SetCompleted(options);
|
|
859
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
860
860
|
const res = response.data;
|
|
861
861
|
resolve(res);
|
|
862
862
|
}
|
|
@@ -895,10 +895,10 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
895
895
|
}
|
|
896
896
|
else
|
|
897
897
|
{
|
|
898
|
-
_request = {
|
|
898
|
+
_request = {
|
|
899
899
|
appointmentId: appointmentId as number,
|
|
900
900
|
updateMode: updateMode as enums.RecurrenceUpdateMode,
|
|
901
|
-
};
|
|
901
|
+
};
|
|
902
902
|
_options = webapi_options;
|
|
903
903
|
}
|
|
904
904
|
return this._acceptAsync( _request, _options );
|
|
@@ -912,7 +912,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
912
912
|
try {
|
|
913
913
|
config.baseURL = this._options.baseUrl;
|
|
914
914
|
const response = await this._axios.post("CreateAndAccept", request , config);
|
|
915
|
-
base.WebApiBase.SetCompleted(options);
|
|
915
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
916
916
|
const res = response.data;
|
|
917
917
|
resolve(res);
|
|
918
918
|
}
|
|
@@ -951,10 +951,10 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
951
951
|
}
|
|
952
952
|
else
|
|
953
953
|
{
|
|
954
|
-
_request = {
|
|
954
|
+
_request = {
|
|
955
955
|
emailItemId: emailItemId as number,
|
|
956
956
|
updateMode: updateMode as enums.RecurrenceUpdateMode,
|
|
957
|
-
};
|
|
957
|
+
};
|
|
958
958
|
_options = webapi_options;
|
|
959
959
|
}
|
|
960
960
|
return this._createAndAcceptAsync( _request, _options );
|
|
@@ -968,7 +968,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
968
968
|
try {
|
|
969
969
|
config.baseURL = this._options.baseUrl;
|
|
970
970
|
const response = await this._axios.post("AcceptWithEmailConfirmation", request , config);
|
|
971
|
-
base.WebApiBase.SetCompleted(options);
|
|
971
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
972
972
|
const res = response.data;
|
|
973
973
|
resolve(res);
|
|
974
974
|
}
|
|
@@ -1007,10 +1007,10 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1007
1007
|
}
|
|
1008
1008
|
else
|
|
1009
1009
|
{
|
|
1010
|
-
_request = {
|
|
1010
|
+
_request = {
|
|
1011
1011
|
appointmentId: appointmentId as number,
|
|
1012
1012
|
updateMode: updateMode as enums.RecurrenceUpdateMode,
|
|
1013
|
-
};
|
|
1013
|
+
};
|
|
1014
1014
|
_options = webapi_options;
|
|
1015
1015
|
}
|
|
1016
1016
|
return this._acceptWithEmailConfirmationAsync( _request, _options );
|
|
@@ -1024,7 +1024,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1024
1024
|
try {
|
|
1025
1025
|
config.baseURL = this._options.baseUrl;
|
|
1026
1026
|
const response = await this._axios.post("CreateAndAcceptWithEmailConfirmation", request , config);
|
|
1027
|
-
base.WebApiBase.SetCompleted(options);
|
|
1027
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1028
1028
|
const res = response.data;
|
|
1029
1029
|
resolve(res);
|
|
1030
1030
|
}
|
|
@@ -1063,10 +1063,10 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1063
1063
|
}
|
|
1064
1064
|
else
|
|
1065
1065
|
{
|
|
1066
|
-
_request = {
|
|
1066
|
+
_request = {
|
|
1067
1067
|
emailItemId: emailItemId as number,
|
|
1068
1068
|
updateMode: updateMode as enums.RecurrenceUpdateMode,
|
|
1069
|
-
};
|
|
1069
|
+
};
|
|
1070
1070
|
_options = webapi_options;
|
|
1071
1071
|
}
|
|
1072
1072
|
return this._createAndAcceptWithEmailConfirmationAsync( _request, _options );
|
|
@@ -1080,7 +1080,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1080
1080
|
try {
|
|
1081
1081
|
config.baseURL = this._options.baseUrl;
|
|
1082
1082
|
const response = await this._axios.post("Reject", request , config);
|
|
1083
|
-
base.WebApiBase.SetCompleted(options);
|
|
1083
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1084
1084
|
const res = response.data;
|
|
1085
1085
|
resolve(res);
|
|
1086
1086
|
}
|
|
@@ -1120,11 +1120,11 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1120
1120
|
}
|
|
1121
1121
|
else
|
|
1122
1122
|
{
|
|
1123
|
-
_request = {
|
|
1123
|
+
_request = {
|
|
1124
1124
|
appointmentId: appointmentId as number,
|
|
1125
1125
|
rejectReason: rejectReason as string,
|
|
1126
1126
|
updateMode: updateMode as enums.RecurrenceUpdateMode,
|
|
1127
|
-
};
|
|
1127
|
+
};
|
|
1128
1128
|
_options = webapi_options;
|
|
1129
1129
|
}
|
|
1130
1130
|
return this._rejectAsync( _request, _options );
|
|
@@ -1138,7 +1138,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1138
1138
|
try {
|
|
1139
1139
|
config.baseURL = this._options.baseUrl;
|
|
1140
1140
|
const response = await this._axios.post("RejectWithEmailConfirmation", request , config);
|
|
1141
|
-
base.WebApiBase.SetCompleted(options);
|
|
1141
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1142
1142
|
const res = response.data;
|
|
1143
1143
|
resolve(res);
|
|
1144
1144
|
}
|
|
@@ -1178,11 +1178,11 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1178
1178
|
}
|
|
1179
1179
|
else
|
|
1180
1180
|
{
|
|
1181
|
-
_request = {
|
|
1181
|
+
_request = {
|
|
1182
1182
|
appointmentId: appointmentId as number,
|
|
1183
1183
|
rejectReason: rejectReason as string,
|
|
1184
1184
|
updateMode: updateMode as enums.RecurrenceUpdateMode,
|
|
1185
|
-
};
|
|
1185
|
+
};
|
|
1186
1186
|
_options = webapi_options;
|
|
1187
1187
|
}
|
|
1188
1188
|
return this._rejectWithEmailConfirmationAsync( _request, _options );
|
|
@@ -1196,7 +1196,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1196
1196
|
try {
|
|
1197
1197
|
config.baseURL = this._options.baseUrl;
|
|
1198
1198
|
const response = await this._axios.post("DeclineInvitationFromEmailItem", request , config);
|
|
1199
|
-
base.WebApiBase.SetCompleted(options);
|
|
1199
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1200
1200
|
const res = response.data;
|
|
1201
1201
|
resolve(res);
|
|
1202
1202
|
}
|
|
@@ -1235,10 +1235,10 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1235
1235
|
}
|
|
1236
1236
|
else
|
|
1237
1237
|
{
|
|
1238
|
-
_request = {
|
|
1238
|
+
_request = {
|
|
1239
1239
|
emailItemId: emailItemId as number,
|
|
1240
1240
|
rejectReason: rejectReason as string,
|
|
1241
|
-
};
|
|
1241
|
+
};
|
|
1242
1242
|
_options = webapi_options;
|
|
1243
1243
|
}
|
|
1244
1244
|
return this._declineInvitationFromEmailItemAsync( _request, _options );
|
|
@@ -1252,7 +1252,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1252
1252
|
try {
|
|
1253
1253
|
config.baseURL = this._options.baseUrl;
|
|
1254
1254
|
const response = await this._axios.post("GetOrganizerName", request , config);
|
|
1255
|
-
base.WebApiBase.SetCompleted(options);
|
|
1255
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1256
1256
|
const res : string = response.data as string;
|
|
1257
1257
|
resolve(res);
|
|
1258
1258
|
}
|
|
@@ -1290,9 +1290,9 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1290
1290
|
}
|
|
1291
1291
|
else
|
|
1292
1292
|
{
|
|
1293
|
-
_request = {
|
|
1293
|
+
_request = {
|
|
1294
1294
|
motherAppointmentId: motherAppointmentId as number,
|
|
1295
|
-
};
|
|
1295
|
+
};
|
|
1296
1296
|
_options = webapi_options;
|
|
1297
1297
|
}
|
|
1298
1298
|
return this._getOrganizerNameAsync( _request, _options );
|
|
@@ -1306,7 +1306,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1306
1306
|
try {
|
|
1307
1307
|
config.baseURL = this._options.baseUrl;
|
|
1308
1308
|
const response = await this._axios.post("Save", request , config);
|
|
1309
|
-
base.WebApiBase.SetCompleted(options);
|
|
1309
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1310
1310
|
const res : carriers.AppointmentEntity = converters.Create_AppointmentEntity_From( response.data );
|
|
1311
1311
|
resolve(res);
|
|
1312
1312
|
}
|
|
@@ -1348,13 +1348,13 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1348
1348
|
}
|
|
1349
1349
|
else
|
|
1350
1350
|
{
|
|
1351
|
-
_request = {
|
|
1351
|
+
_request = {
|
|
1352
1352
|
appointmentEntity: appointmentEntity as carriers.AppointmentEntity,
|
|
1353
1353
|
updateMode: updateMode as enums.RecurrenceUpdateMode,
|
|
1354
1354
|
sendEmailToParticipants: sendEmailToParticipants as boolean,
|
|
1355
1355
|
smtpEMailConnectionInfo: smtpEMailConnectionInfo as carriers.EMailConnectionInfo,
|
|
1356
1356
|
imapEMailConnectionInfo: imapEMailConnectionInfo as carriers.EMailConnectionInfo,
|
|
1357
|
-
};
|
|
1357
|
+
};
|
|
1358
1358
|
_options = webapi_options;
|
|
1359
1359
|
}
|
|
1360
1360
|
return this._saveAsync( _request, _options );
|
|
@@ -1368,7 +1368,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1368
1368
|
try {
|
|
1369
1369
|
config.baseURL = this._options.baseUrl;
|
|
1370
1370
|
const response = await this._axios.post("Delete", request , config);
|
|
1371
|
-
base.WebApiBase.SetCompleted(options);
|
|
1371
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1372
1372
|
const res = response.data;
|
|
1373
1373
|
resolve(res);
|
|
1374
1374
|
}
|
|
@@ -1410,13 +1410,13 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1410
1410
|
}
|
|
1411
1411
|
else
|
|
1412
1412
|
{
|
|
1413
|
-
_request = {
|
|
1413
|
+
_request = {
|
|
1414
1414
|
appointmentId: appointmentId as number,
|
|
1415
1415
|
updateMode: updateMode as enums.RecurrenceUpdateMode,
|
|
1416
1416
|
sendEmailToParticipants: sendEmailToParticipants as boolean,
|
|
1417
1417
|
smtpEMailConnectionInfo: smtpEMailConnectionInfo as carriers.EMailConnectionInfo,
|
|
1418
1418
|
imapEMailConnectionInfo: imapEMailConnectionInfo as carriers.EMailConnectionInfo,
|
|
1419
|
-
};
|
|
1419
|
+
};
|
|
1420
1420
|
_options = webapi_options;
|
|
1421
1421
|
}
|
|
1422
1422
|
return this._deleteAsync( _request, _options );
|
|
@@ -1430,7 +1430,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1430
1430
|
try {
|
|
1431
1431
|
config.baseURL = this._options.baseUrl;
|
|
1432
1432
|
const response = await this._axios.post("CalculateDays", request , config);
|
|
1433
|
-
base.WebApiBase.SetCompleted(options);
|
|
1433
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1434
1434
|
const res : carriers.RecurrenceInfo = converters.Create_RecurrenceInfo_From( response.data );
|
|
1435
1435
|
resolve(res);
|
|
1436
1436
|
}
|
|
@@ -1468,9 +1468,9 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1468
1468
|
}
|
|
1469
1469
|
else
|
|
1470
1470
|
{
|
|
1471
|
-
_request = {
|
|
1471
|
+
_request = {
|
|
1472
1472
|
appointmentEntity: appointmentEntity as carriers.AppointmentEntity,
|
|
1473
|
-
};
|
|
1473
|
+
};
|
|
1474
1474
|
_options = webapi_options;
|
|
1475
1475
|
}
|
|
1476
1476
|
return this._calculateDaysAsync( _request, _options );
|
|
@@ -1484,7 +1484,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1484
1484
|
try {
|
|
1485
1485
|
config.baseURL = this._options.baseUrl;
|
|
1486
1486
|
const response = await this._axios.post("ValidateDays", request , config);
|
|
1487
|
-
base.WebApiBase.SetCompleted(options);
|
|
1487
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1488
1488
|
const res : carriers.RecurrenceDate[] = converters.Create_RecurrenceDateArray_From( response.data );
|
|
1489
1489
|
resolve(res);
|
|
1490
1490
|
}
|
|
@@ -1523,10 +1523,10 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1523
1523
|
}
|
|
1524
1524
|
else
|
|
1525
1525
|
{
|
|
1526
|
-
_request = {
|
|
1526
|
+
_request = {
|
|
1527
1527
|
appointmentEntity: appointmentEntity as carriers.AppointmentEntity,
|
|
1528
1528
|
dates: dates as Date[],
|
|
1529
|
-
};
|
|
1529
|
+
};
|
|
1530
1530
|
_options = webapi_options;
|
|
1531
1531
|
}
|
|
1532
1532
|
return this._validateDaysAsync( _request, _options );
|
|
@@ -1540,7 +1540,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1540
1540
|
try {
|
|
1541
1541
|
config.baseURL = this._options.baseUrl;
|
|
1542
1542
|
const response = await this._axios.post("CreateDefaultRecurrence", undefined , config);
|
|
1543
|
-
base.WebApiBase.SetCompleted(options);
|
|
1543
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1544
1544
|
const res : carriers.RecurrenceInfo = converters.Create_RecurrenceInfo_From( response.data );
|
|
1545
1545
|
resolve(res);
|
|
1546
1546
|
}
|
|
@@ -1569,7 +1569,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1569
1569
|
try {
|
|
1570
1570
|
config.baseURL = this._options.baseUrl;
|
|
1571
1571
|
const response = await this._axios.post("AssignTo", request , config);
|
|
1572
|
-
base.WebApiBase.SetCompleted(options);
|
|
1572
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1573
1573
|
const res : carriers.AppointmentEntity = converters.Create_AppointmentEntity_From( response.data );
|
|
1574
1574
|
resolve(res);
|
|
1575
1575
|
}
|
|
@@ -1609,11 +1609,11 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1609
1609
|
}
|
|
1610
1610
|
else
|
|
1611
1611
|
{
|
|
1612
|
-
_request = {
|
|
1612
|
+
_request = {
|
|
1613
1613
|
appointmentId: appointmentId as number,
|
|
1614
1614
|
participant: participant as carriers.ParticipantInfo,
|
|
1615
1615
|
updateMode: updateMode as enums.RecurrenceUpdateMode,
|
|
1616
|
-
};
|
|
1616
|
+
};
|
|
1617
1617
|
_options = webapi_options;
|
|
1618
1618
|
}
|
|
1619
1619
|
return this._assignToAsync( _request, _options );
|
|
@@ -1627,7 +1627,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1627
1627
|
try {
|
|
1628
1628
|
config.baseURL = this._options.baseUrl;
|
|
1629
1629
|
const response = await this._axios.post("SetSeen", request , config);
|
|
1630
|
-
base.WebApiBase.SetCompleted(options);
|
|
1630
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1631
1631
|
const res = response.data;
|
|
1632
1632
|
resolve(res);
|
|
1633
1633
|
}
|
|
@@ -1666,10 +1666,10 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1666
1666
|
}
|
|
1667
1667
|
else
|
|
1668
1668
|
{
|
|
1669
|
-
_request = {
|
|
1669
|
+
_request = {
|
|
1670
1670
|
appointmentId: appointmentId as number,
|
|
1671
1671
|
updateMode: updateMode as enums.RecurrenceUpdateMode,
|
|
1672
|
-
};
|
|
1672
|
+
};
|
|
1673
1673
|
_options = webapi_options;
|
|
1674
1674
|
}
|
|
1675
1675
|
return this._setSeenAsync( _request, _options );
|
|
@@ -1683,7 +1683,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1683
1683
|
try {
|
|
1684
1684
|
config.baseURL = this._options.baseUrl;
|
|
1685
1685
|
const response = await this._axios.post("SetSeenMany", request , config);
|
|
1686
|
-
base.WebApiBase.SetCompleted(options);
|
|
1686
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1687
1687
|
const res = response.data;
|
|
1688
1688
|
resolve(res);
|
|
1689
1689
|
}
|
|
@@ -1722,10 +1722,10 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1722
1722
|
}
|
|
1723
1723
|
else
|
|
1724
1724
|
{
|
|
1725
|
-
_request = {
|
|
1725
|
+
_request = {
|
|
1726
1726
|
appointmentIds: appointmentIds as number[],
|
|
1727
1727
|
updateMode: updateMode as enums.RecurrenceUpdateMode,
|
|
1728
|
-
};
|
|
1728
|
+
};
|
|
1729
1729
|
_options = webapi_options;
|
|
1730
1730
|
}
|
|
1731
1731
|
return this._setSeenManyAsync( _request, _options );
|
|
@@ -1739,7 +1739,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1739
1739
|
try {
|
|
1740
1740
|
config.baseURL = this._options.baseUrl;
|
|
1741
1741
|
const response = await this._axios.post("Move", request , config);
|
|
1742
|
-
base.WebApiBase.SetCompleted(options);
|
|
1742
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1743
1743
|
const res : carriers.AppointmentEntity = converters.Create_AppointmentEntity_From( response.data );
|
|
1744
1744
|
resolve(res);
|
|
1745
1745
|
}
|
|
@@ -1779,11 +1779,11 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1779
1779
|
}
|
|
1780
1780
|
else
|
|
1781
1781
|
{
|
|
1782
|
-
_request = {
|
|
1782
|
+
_request = {
|
|
1783
1783
|
appointmentId: appointmentId as number,
|
|
1784
1784
|
newStartTime: newStartTime as Date,
|
|
1785
1785
|
updateMode: updateMode as enums.RecurrenceUpdateMode,
|
|
1786
|
-
};
|
|
1786
|
+
};
|
|
1787
1787
|
_options = webapi_options;
|
|
1788
1788
|
}
|
|
1789
1789
|
return this._moveAsync( _request, _options );
|
|
@@ -1797,7 +1797,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1797
1797
|
try {
|
|
1798
1798
|
config.baseURL = this._options.baseUrl;
|
|
1799
1799
|
const response = await this._axios.post("MoveWithEmail", request , config);
|
|
1800
|
-
base.WebApiBase.SetCompleted(options);
|
|
1800
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1801
1801
|
const res : carriers.AppointmentEntity = converters.Create_AppointmentEntity_From( response.data );
|
|
1802
1802
|
resolve(res);
|
|
1803
1803
|
}
|
|
@@ -1840,14 +1840,14 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1840
1840
|
}
|
|
1841
1841
|
else
|
|
1842
1842
|
{
|
|
1843
|
-
_request = {
|
|
1843
|
+
_request = {
|
|
1844
1844
|
appointmentId: appointmentId as number,
|
|
1845
1845
|
newStartTime: newStartTime as Date,
|
|
1846
1846
|
updateMode: updateMode as enums.RecurrenceUpdateMode,
|
|
1847
1847
|
sendEmailToParticipants: sendEmailToParticipants as boolean,
|
|
1848
1848
|
smtpEMailConnectionInfo: smtpEMailConnectionInfo as carriers.EMailConnectionInfo,
|
|
1849
1849
|
imapEMailConnectionInfo: imapEMailConnectionInfo as carriers.EMailConnectionInfo,
|
|
1850
|
-
};
|
|
1850
|
+
};
|
|
1851
1851
|
_options = webapi_options;
|
|
1852
1852
|
}
|
|
1853
1853
|
return this._moveWithEmailAsync( _request, _options );
|
|
@@ -1861,7 +1861,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1861
1861
|
try {
|
|
1862
1862
|
config.baseURL = this._options.baseUrl;
|
|
1863
1863
|
const response = await this._axios.post("MoveExtended", request , config);
|
|
1864
|
-
base.WebApiBase.SetCompleted(options);
|
|
1864
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1865
1865
|
const res : carriers.AppointmentEntity = converters.Create_AppointmentEntity_From( response.data );
|
|
1866
1866
|
resolve(res);
|
|
1867
1867
|
}
|
|
@@ -1899,9 +1899,9 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1899
1899
|
}
|
|
1900
1900
|
else
|
|
1901
1901
|
{
|
|
1902
|
-
_request = {
|
|
1902
|
+
_request = {
|
|
1903
1903
|
appointmentMoveData: appointmentMoveData as carriers.AppointmentMoveData,
|
|
1904
|
-
};
|
|
1904
|
+
};
|
|
1905
1905
|
_options = webapi_options;
|
|
1906
1906
|
}
|
|
1907
1907
|
return this._moveExtendedAsync( _request, _options );
|
|
@@ -1915,7 +1915,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1915
1915
|
try {
|
|
1916
1916
|
config.baseURL = this._options.baseUrl;
|
|
1917
1917
|
const response = await this._axios.post("AcceptRejected", request , config);
|
|
1918
|
-
base.WebApiBase.SetCompleted(options);
|
|
1918
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1919
1919
|
const res : carriers.AppointmentEntity = converters.Create_AppointmentEntity_From( response.data );
|
|
1920
1920
|
resolve(res);
|
|
1921
1921
|
}
|
|
@@ -1954,10 +1954,10 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1954
1954
|
}
|
|
1955
1955
|
else
|
|
1956
1956
|
{
|
|
1957
|
-
_request = {
|
|
1957
|
+
_request = {
|
|
1958
1958
|
appointmentId: appointmentId as number,
|
|
1959
1959
|
updateMode: updateMode as enums.RecurrenceUpdateMode,
|
|
1960
|
-
};
|
|
1960
|
+
};
|
|
1961
1961
|
_options = webapi_options;
|
|
1962
1962
|
}
|
|
1963
1963
|
return this._acceptRejectedAsync( _request, _options );
|
|
@@ -1971,7 +1971,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
1971
1971
|
try {
|
|
1972
1972
|
config.baseURL = this._options.baseUrl;
|
|
1973
1973
|
const response = await this._axios.post("CreateDefaultRecurrenceByDate", request , config);
|
|
1974
|
-
base.WebApiBase.SetCompleted(options);
|
|
1974
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1975
1975
|
const res : carriers.RecurrenceInfo = converters.Create_RecurrenceInfo_From( response.data );
|
|
1976
1976
|
resolve(res);
|
|
1977
1977
|
}
|
|
@@ -2009,9 +2009,9 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2009
2009
|
}
|
|
2010
2010
|
else
|
|
2011
2011
|
{
|
|
2012
|
-
_request = {
|
|
2012
|
+
_request = {
|
|
2013
2013
|
startDate: startDate as Date,
|
|
2014
|
-
};
|
|
2014
|
+
};
|
|
2015
2015
|
_options = webapi_options;
|
|
2016
2016
|
}
|
|
2017
2017
|
return this._createDefaultRecurrenceByDateAsync( _request, _options );
|
|
@@ -2025,7 +2025,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2025
2025
|
try {
|
|
2026
2026
|
config.baseURL = this._options.baseUrl;
|
|
2027
2027
|
const response = await this._axios.post("CleanUpBookingDeleted", request , config);
|
|
2028
|
-
base.WebApiBase.SetCompleted(options);
|
|
2028
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
2029
2029
|
const res : number = response.data as number;
|
|
2030
2030
|
resolve(res);
|
|
2031
2031
|
}
|
|
@@ -2063,9 +2063,9 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2063
2063
|
}
|
|
2064
2064
|
else
|
|
2065
2065
|
{
|
|
2066
|
-
_request = {
|
|
2066
|
+
_request = {
|
|
2067
2067
|
appointmentIds: appointmentIds as number[],
|
|
2068
|
-
};
|
|
2068
|
+
};
|
|
2069
2069
|
_options = webapi_options;
|
|
2070
2070
|
}
|
|
2071
2071
|
return this._cleanUpBookingDeletedAsync( _request, _options );
|
|
@@ -2079,7 +2079,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2079
2079
|
try {
|
|
2080
2080
|
config.baseURL = this._options.baseUrl;
|
|
2081
2081
|
const response = await this._axios.post("CleanUpBookingDeletedWithUpdateMode", request , config);
|
|
2082
|
-
base.WebApiBase.SetCompleted(options);
|
|
2082
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
2083
2083
|
const res = response.data;
|
|
2084
2084
|
resolve(res);
|
|
2085
2085
|
}
|
|
@@ -2118,10 +2118,10 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2118
2118
|
}
|
|
2119
2119
|
else
|
|
2120
2120
|
{
|
|
2121
|
-
_request = {
|
|
2121
|
+
_request = {
|
|
2122
2122
|
appointmentIds: appointmentIds as number[],
|
|
2123
2123
|
updateMode: updateMode as enums.RecurrenceUpdateMode,
|
|
2124
|
-
};
|
|
2124
|
+
};
|
|
2125
2125
|
_options = webapi_options;
|
|
2126
2126
|
}
|
|
2127
2127
|
return this._cleanUpBookingDeletedWithUpdateModeAsync( _request, _options );
|
|
@@ -2135,7 +2135,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2135
2135
|
try {
|
|
2136
2136
|
config.baseURL = this._options.baseUrl;
|
|
2137
2137
|
const response = await this._axios.post("CleanUpRecurringBookingDeleted", undefined , config);
|
|
2138
|
-
base.WebApiBase.SetCompleted(options);
|
|
2138
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
2139
2139
|
const res : number = response.data as number;
|
|
2140
2140
|
resolve(res);
|
|
2141
2141
|
}
|
|
@@ -2164,7 +2164,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2164
2164
|
try {
|
|
2165
2165
|
config.baseURL = this._options.baseUrl;
|
|
2166
2166
|
const response = await this._axios.post("CreateDefaultAppointmentEntityByTypeAndAssociate", request , config);
|
|
2167
|
-
base.WebApiBase.SetCompleted(options);
|
|
2167
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
2168
2168
|
const res : carriers.AppointmentEntity = converters.Create_AppointmentEntity_From( response.data );
|
|
2169
2169
|
resolve(res);
|
|
2170
2170
|
}
|
|
@@ -2203,10 +2203,10 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2203
2203
|
}
|
|
2204
2204
|
else
|
|
2205
2205
|
{
|
|
2206
|
-
_request = {
|
|
2206
|
+
_request = {
|
|
2207
2207
|
type: type as enums.TaskType,
|
|
2208
2208
|
associateId: associateId as number,
|
|
2209
|
-
};
|
|
2209
|
+
};
|
|
2210
2210
|
_options = webapi_options;
|
|
2211
2211
|
}
|
|
2212
2212
|
return this._createDefaultAppointmentEntityByTypeAndAssociateAsync( _request, _options );
|
|
@@ -2220,7 +2220,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2220
2220
|
try {
|
|
2221
2221
|
config.baseURL = this._options.baseUrl;
|
|
2222
2222
|
const response = await this._axios.post("GetCanInsertForAssociates", request , config);
|
|
2223
|
-
base.WebApiBase.SetCompleted(options);
|
|
2223
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
2224
2224
|
const res : boolean[] = response.data as boolean[];
|
|
2225
2225
|
resolve(res);
|
|
2226
2226
|
}
|
|
@@ -2258,9 +2258,9 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2258
2258
|
}
|
|
2259
2259
|
else
|
|
2260
2260
|
{
|
|
2261
|
-
_request = {
|
|
2261
|
+
_request = {
|
|
2262
2262
|
associateIds: associateIds as number[],
|
|
2263
|
-
};
|
|
2263
|
+
};
|
|
2264
2264
|
_options = webapi_options;
|
|
2265
2265
|
}
|
|
2266
2266
|
return this._getCanInsertForAssociatesAsync( _request, _options );
|
|
@@ -2274,7 +2274,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2274
2274
|
try {
|
|
2275
2275
|
config.baseURL = this._options.baseUrl;
|
|
2276
2276
|
const response = await this._axios.post("GetAppointmentHaveParticipantsWithEmail", request , config);
|
|
2277
|
-
base.WebApiBase.SetCompleted(options);
|
|
2277
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
2278
2278
|
const res : boolean = response.data as boolean;
|
|
2279
2279
|
resolve(res);
|
|
2280
2280
|
}
|
|
@@ -2312,9 +2312,9 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2312
2312
|
}
|
|
2313
2313
|
else
|
|
2314
2314
|
{
|
|
2315
|
-
_request = {
|
|
2315
|
+
_request = {
|
|
2316
2316
|
appointmentId: appointmentId as number,
|
|
2317
|
-
};
|
|
2317
|
+
};
|
|
2318
2318
|
_options = webapi_options;
|
|
2319
2319
|
}
|
|
2320
2320
|
return this._getAppointmentHaveParticipantsWithEmailAsync( _request, _options );
|
|
@@ -2328,7 +2328,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2328
2328
|
try {
|
|
2329
2329
|
config.baseURL = this._options.baseUrl;
|
|
2330
2330
|
const response = await this._axios.post("CreateDefaultAppointmentEntityFromSaleSuggestion", request , config);
|
|
2331
|
-
base.WebApiBase.SetCompleted(options);
|
|
2331
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
2332
2332
|
const res : carriers.AppointmentEntity = converters.Create_AppointmentEntity_From( response.data );
|
|
2333
2333
|
resolve(res);
|
|
2334
2334
|
}
|
|
@@ -2369,12 +2369,12 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2369
2369
|
}
|
|
2370
2370
|
else
|
|
2371
2371
|
{
|
|
2372
|
-
_request = {
|
|
2372
|
+
_request = {
|
|
2373
2373
|
suggestedAppointmentId: suggestedAppointmentId as number,
|
|
2374
2374
|
saleId: saleId as number,
|
|
2375
2375
|
createNow: createNow as boolean,
|
|
2376
2376
|
ownerId: ownerId as number,
|
|
2377
|
-
};
|
|
2377
|
+
};
|
|
2378
2378
|
_options = webapi_options;
|
|
2379
2379
|
}
|
|
2380
2380
|
return this._createDefaultAppointmentEntityFromSaleSuggestionAsync( _request, _options );
|
|
@@ -2388,7 +2388,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2388
2388
|
try {
|
|
2389
2389
|
config.baseURL = this._options.baseUrl;
|
|
2390
2390
|
const response = await this._axios.post("GetNextSuggestedAppointmentBySale", request , config);
|
|
2391
|
-
base.WebApiBase.SetCompleted(options);
|
|
2391
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
2392
2392
|
const res : carriers.SuggestedAppointment = converters.Create_SuggestedAppointment_From( response.data );
|
|
2393
2393
|
resolve(res);
|
|
2394
2394
|
}
|
|
@@ -2428,11 +2428,11 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2428
2428
|
}
|
|
2429
2429
|
else
|
|
2430
2430
|
{
|
|
2431
|
-
_request = {
|
|
2431
|
+
_request = {
|
|
2432
2432
|
saleId: saleId as number,
|
|
2433
2433
|
currentAppointmentId: currentAppointmentId as number,
|
|
2434
2434
|
skipCompleteCheck: skipCompleteCheck as boolean,
|
|
2435
|
-
};
|
|
2435
|
+
};
|
|
2436
2436
|
_options = webapi_options;
|
|
2437
2437
|
}
|
|
2438
2438
|
return this._getNextSuggestedAppointmentBySaleAsync( _request, _options );
|
|
@@ -2446,7 +2446,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2446
2446
|
try {
|
|
2447
2447
|
config.baseURL = this._options.baseUrl;
|
|
2448
2448
|
const response = await this._axios.post("CreateDefaultReOpenAppointment", request , config);
|
|
2449
|
-
base.WebApiBase.SetCompleted(options);
|
|
2449
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
2450
2450
|
const res : carriers.AppointmentEntity = converters.Create_AppointmentEntity_From( response.data );
|
|
2451
2451
|
resolve(res);
|
|
2452
2452
|
}
|
|
@@ -2484,9 +2484,9 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2484
2484
|
}
|
|
2485
2485
|
else
|
|
2486
2486
|
{
|
|
2487
|
-
_request = {
|
|
2487
|
+
_request = {
|
|
2488
2488
|
saleId: saleId as number,
|
|
2489
|
-
};
|
|
2489
|
+
};
|
|
2490
2490
|
_options = webapi_options;
|
|
2491
2491
|
}
|
|
2492
2492
|
return this._createDefaultReOpenAppointmentAsync( _request, _options );
|
|
@@ -2500,7 +2500,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2500
2500
|
try {
|
|
2501
2501
|
config.baseURL = this._options.baseUrl;
|
|
2502
2502
|
const response = await this._axios.post("CreateDefaultAppointmentEntityFromProjectSuggestion", request , config);
|
|
2503
|
-
base.WebApiBase.SetCompleted(options);
|
|
2503
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
2504
2504
|
const res : carriers.AppointmentEntity = converters.Create_AppointmentEntity_From( response.data );
|
|
2505
2505
|
resolve(res);
|
|
2506
2506
|
}
|
|
@@ -2541,12 +2541,12 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2541
2541
|
}
|
|
2542
2542
|
else
|
|
2543
2543
|
{
|
|
2544
|
-
_request = {
|
|
2544
|
+
_request = {
|
|
2545
2545
|
suggestedAppointmentId: suggestedAppointmentId as number,
|
|
2546
2546
|
projectId: projectId as number,
|
|
2547
2547
|
createNow: createNow as boolean,
|
|
2548
2548
|
ownerId: ownerId as number,
|
|
2549
|
-
};
|
|
2549
|
+
};
|
|
2550
2550
|
_options = webapi_options;
|
|
2551
2551
|
}
|
|
2552
2552
|
return this._createDefaultAppointmentEntityFromProjectSuggestionAsync( _request, _options );
|
|
@@ -2560,7 +2560,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2560
2560
|
try {
|
|
2561
2561
|
config.baseURL = this._options.baseUrl;
|
|
2562
2562
|
const response = await this._axios.post("CreateAppointmentForUID", request , config);
|
|
2563
|
-
base.WebApiBase.SetCompleted(options);
|
|
2563
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
2564
2564
|
const res : carriers.AppointmentEntity = converters.Create_AppointmentEntity_From( response.data );
|
|
2565
2565
|
resolve(res);
|
|
2566
2566
|
}
|
|
@@ -2599,10 +2599,10 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2599
2599
|
}
|
|
2600
2600
|
else
|
|
2601
2601
|
{
|
|
2602
|
-
_request = {
|
|
2602
|
+
_request = {
|
|
2603
2603
|
appointmentEntity: appointmentEntity as carriers.AppointmentEntity,
|
|
2604
2604
|
uid: uid as string,
|
|
2605
|
-
};
|
|
2605
|
+
};
|
|
2606
2606
|
_options = webapi_options;
|
|
2607
2607
|
}
|
|
2608
2608
|
return this._createAppointmentForUIDAsync( _request, _options );
|
|
@@ -2616,7 +2616,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2616
2616
|
try {
|
|
2617
2617
|
config.baseURL = this._options.baseUrl;
|
|
2618
2618
|
const response = await this._axios.post("GetAppointmentFromUID", request , config);
|
|
2619
|
-
base.WebApiBase.SetCompleted(options);
|
|
2619
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
2620
2620
|
const res : carriers.AppointmentEntity = converters.Create_AppointmentEntity_From( response.data );
|
|
2621
2621
|
resolve(res);
|
|
2622
2622
|
}
|
|
@@ -2654,9 +2654,9 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2654
2654
|
}
|
|
2655
2655
|
else
|
|
2656
2656
|
{
|
|
2657
|
-
_request = {
|
|
2657
|
+
_request = {
|
|
2658
2658
|
uid: uid as string,
|
|
2659
|
-
};
|
|
2659
|
+
};
|
|
2660
2660
|
_options = webapi_options;
|
|
2661
2661
|
}
|
|
2662
2662
|
return this._getAppointmentFromUIDAsync( _request, _options );
|
|
@@ -2670,7 +2670,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2670
2670
|
try {
|
|
2671
2671
|
config.baseURL = this._options.baseUrl;
|
|
2672
2672
|
const response = await this._axios.post("CanAssignToProjectMember", request , config);
|
|
2673
|
-
base.WebApiBase.SetCompleted(options);
|
|
2673
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
2674
2674
|
const res : boolean = response.data as boolean;
|
|
2675
2675
|
resolve(res);
|
|
2676
2676
|
}
|
|
@@ -2709,10 +2709,10 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2709
2709
|
}
|
|
2710
2710
|
else
|
|
2711
2711
|
{
|
|
2712
|
-
_request = {
|
|
2712
|
+
_request = {
|
|
2713
2713
|
projectId: projectId as number,
|
|
2714
2714
|
suggestedAppointmentId: suggestedAppointmentId as number,
|
|
2715
|
-
};
|
|
2715
|
+
};
|
|
2716
2716
|
_options = webapi_options;
|
|
2717
2717
|
}
|
|
2718
2718
|
return this._canAssignToProjectMemberAsync( _request, _options );
|
|
@@ -2726,7 +2726,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2726
2726
|
try {
|
|
2727
2727
|
config.baseURL = this._options.baseUrl;
|
|
2728
2728
|
const response = await this._axios.post("GetUIDFromAppointmentId", request , config);
|
|
2729
|
-
base.WebApiBase.SetCompleted(options);
|
|
2729
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
2730
2730
|
const res : string = response.data as string;
|
|
2731
2731
|
resolve(res);
|
|
2732
2732
|
}
|
|
@@ -2765,10 +2765,10 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2765
2765
|
}
|
|
2766
2766
|
else
|
|
2767
2767
|
{
|
|
2768
|
-
_request = {
|
|
2768
|
+
_request = {
|
|
2769
2769
|
appointmentId: appointmentId as number,
|
|
2770
2770
|
useMotherId: useMotherId as boolean,
|
|
2771
|
-
};
|
|
2771
|
+
};
|
|
2772
2772
|
_options = webapi_options;
|
|
2773
2773
|
}
|
|
2774
2774
|
return this._getUIDFromAppointmentIdAsync( _request, _options );
|
|
@@ -2782,7 +2782,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2782
2782
|
try {
|
|
2783
2783
|
config.baseURL = this._options.baseUrl;
|
|
2784
2784
|
const response = await this._axios.post("UpdateAppointmentFromIcsResponse", request , config);
|
|
2785
|
-
base.WebApiBase.SetCompleted(options);
|
|
2785
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
2786
2786
|
const res : boolean = response.data as boolean;
|
|
2787
2787
|
resolve(res);
|
|
2788
2788
|
}
|
|
@@ -2821,10 +2821,10 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2821
2821
|
}
|
|
2822
2822
|
else
|
|
2823
2823
|
{
|
|
2824
|
-
_request = {
|
|
2824
|
+
_request = {
|
|
2825
2825
|
emailAddress: emailAddress as string,
|
|
2826
2826
|
icsData: icsData as ArrayBuffer|string,
|
|
2827
|
-
};
|
|
2827
|
+
};
|
|
2828
2828
|
_options = webapi_options;
|
|
2829
2829
|
}
|
|
2830
2830
|
_request.icsData = ToBase64(_request.icsData);
|
|
@@ -2839,7 +2839,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2839
2839
|
try {
|
|
2840
2840
|
config.baseURL = this._options.baseUrl;
|
|
2841
2841
|
const response = await this._axios.post("ValidateAppointmentEntity", request , config);
|
|
2842
|
-
base.WebApiBase.SetCompleted(options);
|
|
2842
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
2843
2843
|
const res : carriers.StringDictionary = converters.Create_StringDictionary_From( response.data );
|
|
2844
2844
|
resolve(res);
|
|
2845
2845
|
}
|
|
@@ -2877,9 +2877,9 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2877
2877
|
}
|
|
2878
2878
|
else
|
|
2879
2879
|
{
|
|
2880
|
-
_request = {
|
|
2880
|
+
_request = {
|
|
2881
2881
|
appointmentEntity: appointmentEntity as carriers.AppointmentEntity,
|
|
2882
|
-
};
|
|
2882
|
+
};
|
|
2883
2883
|
_options = webapi_options;
|
|
2884
2884
|
}
|
|
2885
2885
|
return this._validateAppointmentEntityAsync( _request, _options );
|
|
@@ -2893,7 +2893,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2893
2893
|
try {
|
|
2894
2894
|
config.baseURL = this._options.baseUrl;
|
|
2895
2895
|
const response = await this._axios.post("WillSendEmail", request , config);
|
|
2896
|
-
base.WebApiBase.SetCompleted(options);
|
|
2896
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
2897
2897
|
const res : boolean = response.data as boolean;
|
|
2898
2898
|
resolve(res);
|
|
2899
2899
|
}
|
|
@@ -2931,9 +2931,9 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2931
2931
|
}
|
|
2932
2932
|
else
|
|
2933
2933
|
{
|
|
2934
|
-
_request = {
|
|
2934
|
+
_request = {
|
|
2935
2935
|
appointment: appointment as carriers.AppointmentEntity,
|
|
2936
|
-
};
|
|
2936
|
+
};
|
|
2937
2937
|
_options = webapi_options;
|
|
2938
2938
|
}
|
|
2939
2939
|
return this._willSendEmailAsync( _request, _options );
|
|
@@ -2947,7 +2947,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2947
2947
|
try {
|
|
2948
2948
|
config.baseURL = this._options.baseUrl;
|
|
2949
2949
|
const response = await this._axios.post("AcceptWithSmtpEmailConfirmation", request , config);
|
|
2950
|
-
base.WebApiBase.SetCompleted(options);
|
|
2950
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
2951
2951
|
const res = response.data;
|
|
2952
2952
|
resolve(res);
|
|
2953
2953
|
}
|
|
@@ -2987,11 +2987,11 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
2987
2987
|
}
|
|
2988
2988
|
else
|
|
2989
2989
|
{
|
|
2990
|
-
_request = {
|
|
2990
|
+
_request = {
|
|
2991
2991
|
appointmentId: appointmentId as number,
|
|
2992
2992
|
updateMode: updateMode as enums.RecurrenceUpdateMode,
|
|
2993
2993
|
smtpEMailConnectionInfo: smtpEMailConnectionInfo as carriers.EMailConnectionInfo,
|
|
2994
|
-
};
|
|
2994
|
+
};
|
|
2995
2995
|
_options = webapi_options;
|
|
2996
2996
|
}
|
|
2997
2997
|
return this._acceptWithSmtpEmailConfirmationAsync( _request, _options );
|
|
@@ -3005,7 +3005,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3005
3005
|
try {
|
|
3006
3006
|
config.baseURL = this._options.baseUrl;
|
|
3007
3007
|
const response = await this._axios.post("RejectWithSmtpEmailConfirmation", request , config);
|
|
3008
|
-
base.WebApiBase.SetCompleted(options);
|
|
3008
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
3009
3009
|
const res = response.data;
|
|
3010
3010
|
resolve(res);
|
|
3011
3011
|
}
|
|
@@ -3046,12 +3046,12 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3046
3046
|
}
|
|
3047
3047
|
else
|
|
3048
3048
|
{
|
|
3049
|
-
_request = {
|
|
3049
|
+
_request = {
|
|
3050
3050
|
appointmentId: appointmentId as number,
|
|
3051
3051
|
rejectReason: rejectReason as string,
|
|
3052
3052
|
updateMode: updateMode as enums.RecurrenceUpdateMode,
|
|
3053
3053
|
smtpEMailConnectionInfo: smtpEMailConnectionInfo as carriers.EMailConnectionInfo,
|
|
3054
|
-
};
|
|
3054
|
+
};
|
|
3055
3055
|
_options = webapi_options;
|
|
3056
3056
|
}
|
|
3057
3057
|
return this._rejectWithSmtpEmailConfirmationAsync( _request, _options );
|
|
@@ -3065,7 +3065,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3065
3065
|
try {
|
|
3066
3066
|
config.baseURL = this._options.baseUrl;
|
|
3067
3067
|
const response = await this._axios.post("GetAppointmentEmailInvitation", request , config);
|
|
3068
|
-
base.WebApiBase.SetCompleted(options);
|
|
3068
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
3069
3069
|
const res : carriers.EMailEntity = converters.Create_EMailEntity_From( response.data );
|
|
3070
3070
|
resolve(res);
|
|
3071
3071
|
}
|
|
@@ -3105,11 +3105,11 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3105
3105
|
}
|
|
3106
3106
|
else
|
|
3107
3107
|
{
|
|
3108
|
-
_request = {
|
|
3108
|
+
_request = {
|
|
3109
3109
|
appointment: appointment as carriers.AppointmentEntity,
|
|
3110
3110
|
templateName: templateName as string,
|
|
3111
3111
|
language: language as string,
|
|
3112
|
-
};
|
|
3112
|
+
};
|
|
3113
3113
|
_options = webapi_options;
|
|
3114
3114
|
}
|
|
3115
3115
|
return this._getAppointmentEmailInvitationAsync( _request, _options );
|
|
@@ -3123,7 +3123,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3123
3123
|
try {
|
|
3124
3124
|
config.baseURL = this._options.baseUrl;
|
|
3125
3125
|
const response = await this._axios.post("SaveWithCustomInvitation", request , config);
|
|
3126
|
-
base.WebApiBase.SetCompleted(options);
|
|
3126
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
3127
3127
|
const res : carriers.AppointmentSaveData = converters.Create_AppointmentSaveData_From( response.data );
|
|
3128
3128
|
resolve(res);
|
|
3129
3129
|
}
|
|
@@ -3168,7 +3168,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3168
3168
|
}
|
|
3169
3169
|
else
|
|
3170
3170
|
{
|
|
3171
|
-
_request = {
|
|
3171
|
+
_request = {
|
|
3172
3172
|
appointmentEntity: appointmentEntity as carriers.AppointmentEntity,
|
|
3173
3173
|
updateMode: updateMode as enums.RecurrenceUpdateMode,
|
|
3174
3174
|
sendEmailToParticipants: sendEmailToParticipants as boolean,
|
|
@@ -3177,7 +3177,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3177
3177
|
emailBody: emailBody as string,
|
|
3178
3178
|
subject: subject as string,
|
|
3179
3179
|
templateLanguage: templateLanguage as string,
|
|
3180
|
-
};
|
|
3180
|
+
};
|
|
3181
3181
|
_options = webapi_options;
|
|
3182
3182
|
}
|
|
3183
3183
|
return this._saveWithCustomInvitationAsync( _request, _options );
|
|
@@ -3191,7 +3191,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3191
3191
|
try {
|
|
3192
3192
|
config.baseURL = this._options.baseUrl;
|
|
3193
3193
|
const response = await this._axios.post("ConvertAppointmentToTask", request , config);
|
|
3194
|
-
base.WebApiBase.SetCompleted(options);
|
|
3194
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
3195
3195
|
const res : carriers.AppointmentEntity = converters.Create_AppointmentEntity_From( response.data );
|
|
3196
3196
|
resolve(res);
|
|
3197
3197
|
}
|
|
@@ -3229,9 +3229,9 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3229
3229
|
}
|
|
3230
3230
|
else
|
|
3231
3231
|
{
|
|
3232
|
-
_request = {
|
|
3232
|
+
_request = {
|
|
3233
3233
|
appointmentId: appointmentId as number,
|
|
3234
|
-
};
|
|
3234
|
+
};
|
|
3235
3235
|
_options = webapi_options;
|
|
3236
3236
|
}
|
|
3237
3237
|
return this._convertAppointmentToTaskAsync( _request, _options );
|
|
@@ -3249,8 +3249,8 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3249
3249
|
return new Promise< carriers.Appointment[] >(async (resolve, reject) => {
|
|
3250
3250
|
try {
|
|
3251
3251
|
const response = await this._axios.post("GetAppointmentList", appointmentIds, config);
|
|
3252
|
-
base.WebApiBase.SetCompleted(options);
|
|
3253
|
-
const res = converters.Create_AppointmentArray_From( response.data );
|
|
3252
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
3253
|
+
const res = converters.Create_AppointmentArray_From( response.data );
|
|
3254
3254
|
resolve(res);
|
|
3255
3255
|
}
|
|
3256
3256
|
catch( err ) {
|
|
@@ -3268,7 +3268,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3268
3268
|
try {
|
|
3269
3269
|
config.baseURL = this._options.baseUrl;
|
|
3270
3270
|
const response = await this._axios.post("GetMyAppointments", request , config);
|
|
3271
|
-
base.WebApiBase.SetCompleted(options);
|
|
3271
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
3272
3272
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
3273
3273
|
resolve(res);
|
|
3274
3274
|
}
|
|
@@ -3308,11 +3308,11 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3308
3308
|
}
|
|
3309
3309
|
else
|
|
3310
3310
|
{
|
|
3311
|
-
_request = {
|
|
3311
|
+
_request = {
|
|
3312
3312
|
startTime: startTime as Date,
|
|
3313
3313
|
endTime: endTime as Date,
|
|
3314
3314
|
count: count as number,
|
|
3315
|
-
};
|
|
3315
|
+
};
|
|
3316
3316
|
_options = webapi_options;
|
|
3317
3317
|
}
|
|
3318
3318
|
return this._getMyAppointmentsAsync( _request, _options );
|
|
@@ -3326,7 +3326,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3326
3326
|
try {
|
|
3327
3327
|
config.baseURL = this._options.baseUrl;
|
|
3328
3328
|
const response = await this._axios.post("GetPersonAppointments", request , config);
|
|
3329
|
-
base.WebApiBase.SetCompleted(options);
|
|
3329
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
3330
3330
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
3331
3331
|
resolve(res);
|
|
3332
3332
|
}
|
|
@@ -3368,13 +3368,13 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3368
3368
|
}
|
|
3369
3369
|
else
|
|
3370
3370
|
{
|
|
3371
|
-
_request = {
|
|
3371
|
+
_request = {
|
|
3372
3372
|
personId: personId as number,
|
|
3373
3373
|
includeProjectAppointments: includeProjectAppointments as boolean,
|
|
3374
3374
|
startTime: startTime as Date,
|
|
3375
3375
|
endTime: endTime as Date,
|
|
3376
3376
|
count: count as number,
|
|
3377
|
-
};
|
|
3377
|
+
};
|
|
3378
3378
|
_options = webapi_options;
|
|
3379
3379
|
}
|
|
3380
3380
|
return this._getPersonAppointmentsAsync( _request, _options );
|
|
@@ -3388,7 +3388,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3388
3388
|
try {
|
|
3389
3389
|
config.baseURL = this._options.baseUrl;
|
|
3390
3390
|
const response = await this._axios.post("GetMyDiary", request , config);
|
|
3391
|
-
base.WebApiBase.SetCompleted(options);
|
|
3391
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
3392
3392
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
3393
3393
|
resolve(res);
|
|
3394
3394
|
}
|
|
@@ -3428,11 +3428,11 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3428
3428
|
}
|
|
3429
3429
|
else
|
|
3430
3430
|
{
|
|
3431
|
-
_request = {
|
|
3431
|
+
_request = {
|
|
3432
3432
|
startTime: startTime as Date,
|
|
3433
3433
|
endTime: endTime as Date,
|
|
3434
3434
|
count: count as number,
|
|
3435
|
-
};
|
|
3435
|
+
};
|
|
3436
3436
|
_options = webapi_options;
|
|
3437
3437
|
}
|
|
3438
3438
|
return this._getMyDiaryAsync( _request, _options );
|
|
@@ -3446,7 +3446,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3446
3446
|
try {
|
|
3447
3447
|
config.baseURL = this._options.baseUrl;
|
|
3448
3448
|
const response = await this._axios.post("GetMyTasks", request , config);
|
|
3449
|
-
base.WebApiBase.SetCompleted(options);
|
|
3449
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
3450
3450
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
3451
3451
|
resolve(res);
|
|
3452
3452
|
}
|
|
@@ -3484,9 +3484,9 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3484
3484
|
}
|
|
3485
3485
|
else
|
|
3486
3486
|
{
|
|
3487
|
-
_request = {
|
|
3487
|
+
_request = {
|
|
3488
3488
|
count: count as number,
|
|
3489
|
-
};
|
|
3489
|
+
};
|
|
3490
3490
|
_options = webapi_options;
|
|
3491
3491
|
}
|
|
3492
3492
|
return this._getMyTasksAsync( _request, _options );
|
|
@@ -3500,7 +3500,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3500
3500
|
try {
|
|
3501
3501
|
config.baseURL = this._options.baseUrl;
|
|
3502
3502
|
const response = await this._axios.post("GetPersonDiary", request , config);
|
|
3503
|
-
base.WebApiBase.SetCompleted(options);
|
|
3503
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
3504
3504
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
3505
3505
|
resolve(res);
|
|
3506
3506
|
}
|
|
@@ -3541,12 +3541,12 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3541
3541
|
}
|
|
3542
3542
|
else
|
|
3543
3543
|
{
|
|
3544
|
-
_request = {
|
|
3544
|
+
_request = {
|
|
3545
3545
|
personId: personId as number,
|
|
3546
3546
|
startTime: startTime as Date,
|
|
3547
3547
|
endTime: endTime as Date,
|
|
3548
3548
|
count: count as number,
|
|
3549
|
-
};
|
|
3549
|
+
};
|
|
3550
3550
|
_options = webapi_options;
|
|
3551
3551
|
}
|
|
3552
3552
|
return this._getPersonDiaryAsync( _request, _options );
|
|
@@ -3560,7 +3560,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3560
3560
|
try {
|
|
3561
3561
|
config.baseURL = this._options.baseUrl;
|
|
3562
3562
|
const response = await this._axios.post("GetPersonTasks", request , config);
|
|
3563
|
-
base.WebApiBase.SetCompleted(options);
|
|
3563
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
3564
3564
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
3565
3565
|
resolve(res);
|
|
3566
3566
|
}
|
|
@@ -3599,10 +3599,10 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3599
3599
|
}
|
|
3600
3600
|
else
|
|
3601
3601
|
{
|
|
3602
|
-
_request = {
|
|
3602
|
+
_request = {
|
|
3603
3603
|
personId: personId as number,
|
|
3604
3604
|
count: count as number,
|
|
3605
|
-
};
|
|
3605
|
+
};
|
|
3606
3606
|
_options = webapi_options;
|
|
3607
3607
|
}
|
|
3608
3608
|
return this._getPersonTasksAsync( _request, _options );
|
|
@@ -3616,7 +3616,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3616
3616
|
try {
|
|
3617
3617
|
config.baseURL = this._options.baseUrl;
|
|
3618
3618
|
const response = await this._axios.post("GetPersonAppointmentsByType", request , config);
|
|
3619
|
-
base.WebApiBase.SetCompleted(options);
|
|
3619
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
3620
3620
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
3621
3621
|
resolve(res);
|
|
3622
3622
|
}
|
|
@@ -3659,14 +3659,14 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3659
3659
|
}
|
|
3660
3660
|
else
|
|
3661
3661
|
{
|
|
3662
|
-
_request = {
|
|
3662
|
+
_request = {
|
|
3663
3663
|
personId: personId as number,
|
|
3664
3664
|
includeProjectAppointments: includeProjectAppointments as boolean,
|
|
3665
3665
|
startTime: startTime as Date,
|
|
3666
3666
|
endTime: endTime as Date,
|
|
3667
3667
|
count: count as number,
|
|
3668
3668
|
appointmentType: appointmentType as enums.AppointmentType,
|
|
3669
|
-
};
|
|
3669
|
+
};
|
|
3670
3670
|
_options = webapi_options;
|
|
3671
3671
|
}
|
|
3672
3672
|
return this._getPersonAppointmentsByTypeAsync( _request, _options );
|
|
@@ -3680,7 +3680,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3680
3680
|
try {
|
|
3681
3681
|
config.baseURL = this._options.baseUrl;
|
|
3682
3682
|
const response = await this._axios.post("GetProjectAppointments", request , config);
|
|
3683
|
-
base.WebApiBase.SetCompleted(options);
|
|
3683
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
3684
3684
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
3685
3685
|
resolve(res);
|
|
3686
3686
|
}
|
|
@@ -3721,12 +3721,12 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3721
3721
|
}
|
|
3722
3722
|
else
|
|
3723
3723
|
{
|
|
3724
|
-
_request = {
|
|
3724
|
+
_request = {
|
|
3725
3725
|
projectId: projectId as number,
|
|
3726
3726
|
startTime: startTime as Date,
|
|
3727
3727
|
endTime: endTime as Date,
|
|
3728
3728
|
count: count as number,
|
|
3729
|
-
};
|
|
3729
|
+
};
|
|
3730
3730
|
_options = webapi_options;
|
|
3731
3731
|
}
|
|
3732
3732
|
return this._getProjectAppointmentsAsync( _request, _options );
|
|
@@ -3740,7 +3740,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3740
3740
|
try {
|
|
3741
3741
|
config.baseURL = this._options.baseUrl;
|
|
3742
3742
|
const response = await this._axios.post("GetProjectAppointmentsByType", request , config);
|
|
3743
|
-
base.WebApiBase.SetCompleted(options);
|
|
3743
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
3744
3744
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
3745
3745
|
resolve(res);
|
|
3746
3746
|
}
|
|
@@ -3782,13 +3782,13 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3782
3782
|
}
|
|
3783
3783
|
else
|
|
3784
3784
|
{
|
|
3785
|
-
_request = {
|
|
3785
|
+
_request = {
|
|
3786
3786
|
projectId: projectId as number,
|
|
3787
3787
|
startTime: startTime as Date,
|
|
3788
3788
|
endTime: endTime as Date,
|
|
3789
3789
|
count: count as number,
|
|
3790
3790
|
appointmentType: appointmentType as enums.AppointmentType,
|
|
3791
|
-
};
|
|
3791
|
+
};
|
|
3792
3792
|
_options = webapi_options;
|
|
3793
3793
|
}
|
|
3794
3794
|
return this._getProjectAppointmentsByTypeAsync( _request, _options );
|
|
@@ -3802,7 +3802,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3802
3802
|
try {
|
|
3803
3803
|
config.baseURL = this._options.baseUrl;
|
|
3804
3804
|
const response = await this._axios.post("GetContactAppointments", request , config);
|
|
3805
|
-
base.WebApiBase.SetCompleted(options);
|
|
3805
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
3806
3806
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
3807
3807
|
resolve(res);
|
|
3808
3808
|
}
|
|
@@ -3843,12 +3843,12 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3843
3843
|
}
|
|
3844
3844
|
else
|
|
3845
3845
|
{
|
|
3846
|
-
_request = {
|
|
3846
|
+
_request = {
|
|
3847
3847
|
contactId: contactId as number,
|
|
3848
3848
|
startTime: startTime as Date,
|
|
3849
3849
|
endTime: endTime as Date,
|
|
3850
3850
|
count: count as number,
|
|
3851
|
-
};
|
|
3851
|
+
};
|
|
3852
3852
|
_options = webapi_options;
|
|
3853
3853
|
}
|
|
3854
3854
|
return this._getContactAppointmentsAsync( _request, _options );
|
|
@@ -3862,7 +3862,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3862
3862
|
try {
|
|
3863
3863
|
config.baseURL = this._options.baseUrl;
|
|
3864
3864
|
const response = await this._axios.post("GetContactAppointmentsByType", request , config);
|
|
3865
|
-
base.WebApiBase.SetCompleted(options);
|
|
3865
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
3866
3866
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
3867
3867
|
resolve(res);
|
|
3868
3868
|
}
|
|
@@ -3904,13 +3904,13 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3904
3904
|
}
|
|
3905
3905
|
else
|
|
3906
3906
|
{
|
|
3907
|
-
_request = {
|
|
3907
|
+
_request = {
|
|
3908
3908
|
contactId: contactId as number,
|
|
3909
3909
|
startTime: startTime as Date,
|
|
3910
3910
|
endTime: endTime as Date,
|
|
3911
3911
|
count: count as number,
|
|
3912
3912
|
appointmentType: appointmentType as enums.AppointmentType,
|
|
3913
|
-
};
|
|
3913
|
+
};
|
|
3914
3914
|
_options = webapi_options;
|
|
3915
3915
|
}
|
|
3916
3916
|
return this._getContactAppointmentsByTypeAsync( _request, _options );
|
|
@@ -3924,7 +3924,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3924
3924
|
try {
|
|
3925
3925
|
config.baseURL = this._options.baseUrl;
|
|
3926
3926
|
const response = await this._axios.post("GetProjectMemberAppointments", request , config);
|
|
3927
|
-
base.WebApiBase.SetCompleted(options);
|
|
3927
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
3928
3928
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
3929
3929
|
resolve(res);
|
|
3930
3930
|
}
|
|
@@ -3965,12 +3965,12 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3965
3965
|
}
|
|
3966
3966
|
else
|
|
3967
3967
|
{
|
|
3968
|
-
_request = {
|
|
3968
|
+
_request = {
|
|
3969
3969
|
personId: personId as number,
|
|
3970
3970
|
startTime: startTime as Date,
|
|
3971
3971
|
endTime: endTime as Date,
|
|
3972
3972
|
count: count as number,
|
|
3973
|
-
};
|
|
3973
|
+
};
|
|
3974
3974
|
_options = webapi_options;
|
|
3975
3975
|
}
|
|
3976
3976
|
return this._getProjectMemberAppointmentsAsync( _request, _options );
|
|
@@ -3984,7 +3984,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
3984
3984
|
try {
|
|
3985
3985
|
config.baseURL = this._options.baseUrl;
|
|
3986
3986
|
const response = await this._axios.post("GetProjectMemberAppointmentsByType", request , config);
|
|
3987
|
-
base.WebApiBase.SetCompleted(options);
|
|
3987
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
3988
3988
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
3989
3989
|
resolve(res);
|
|
3990
3990
|
}
|
|
@@ -4026,13 +4026,13 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4026
4026
|
}
|
|
4027
4027
|
else
|
|
4028
4028
|
{
|
|
4029
|
-
_request = {
|
|
4029
|
+
_request = {
|
|
4030
4030
|
personId: personId as number,
|
|
4031
4031
|
startTime: startTime as Date,
|
|
4032
4032
|
endTime: endTime as Date,
|
|
4033
4033
|
count: count as number,
|
|
4034
4034
|
appointmentType: appointmentType as enums.AppointmentType,
|
|
4035
|
-
};
|
|
4035
|
+
};
|
|
4036
4036
|
_options = webapi_options;
|
|
4037
4037
|
}
|
|
4038
4038
|
return this._getProjectMemberAppointmentsByTypeAsync( _request, _options );
|
|
@@ -4046,7 +4046,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4046
4046
|
try {
|
|
4047
4047
|
config.baseURL = this._options.baseUrl;
|
|
4048
4048
|
const response = await this._axios.post("GetPersonAppointmentsByTask", request , config);
|
|
4049
|
-
base.WebApiBase.SetCompleted(options);
|
|
4049
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
4050
4050
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
4051
4051
|
resolve(res);
|
|
4052
4052
|
}
|
|
@@ -4089,14 +4089,14 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4089
4089
|
}
|
|
4090
4090
|
else
|
|
4091
4091
|
{
|
|
4092
|
-
_request = {
|
|
4092
|
+
_request = {
|
|
4093
4093
|
personId: personId as number,
|
|
4094
4094
|
includeProjectAppointments: includeProjectAppointments as boolean,
|
|
4095
4095
|
startTime: startTime as Date,
|
|
4096
4096
|
endTime: endTime as Date,
|
|
4097
4097
|
count: count as number,
|
|
4098
4098
|
taskId: taskId as number,
|
|
4099
|
-
};
|
|
4099
|
+
};
|
|
4100
4100
|
_options = webapi_options;
|
|
4101
4101
|
}
|
|
4102
4102
|
return this._getPersonAppointmentsByTaskAsync( _request, _options );
|
|
@@ -4110,7 +4110,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4110
4110
|
try {
|
|
4111
4111
|
config.baseURL = this._options.baseUrl;
|
|
4112
4112
|
const response = await this._axios.post("GetPersonAppointmentsByTasks", request , config);
|
|
4113
|
-
base.WebApiBase.SetCompleted(options);
|
|
4113
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
4114
4114
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
4115
4115
|
resolve(res);
|
|
4116
4116
|
}
|
|
@@ -4153,14 +4153,14 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4153
4153
|
}
|
|
4154
4154
|
else
|
|
4155
4155
|
{
|
|
4156
|
-
_request = {
|
|
4156
|
+
_request = {
|
|
4157
4157
|
personId: personId as number,
|
|
4158
4158
|
includeProjectAppointments: includeProjectAppointments as boolean,
|
|
4159
4159
|
startTime: startTime as Date,
|
|
4160
4160
|
endTime: endTime as Date,
|
|
4161
4161
|
count: count as number,
|
|
4162
4162
|
taskIds: taskIds as number[],
|
|
4163
|
-
};
|
|
4163
|
+
};
|
|
4164
4164
|
_options = webapi_options;
|
|
4165
4165
|
}
|
|
4166
4166
|
return this._getPersonAppointmentsByTasksAsync( _request, _options );
|
|
@@ -4174,7 +4174,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4174
4174
|
try {
|
|
4175
4175
|
config.baseURL = this._options.baseUrl;
|
|
4176
4176
|
const response = await this._axios.post("GetPersonAppointmentsByTaskHeading", request , config);
|
|
4177
|
-
base.WebApiBase.SetCompleted(options);
|
|
4177
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
4178
4178
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
4179
4179
|
resolve(res);
|
|
4180
4180
|
}
|
|
@@ -4217,14 +4217,14 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4217
4217
|
}
|
|
4218
4218
|
else
|
|
4219
4219
|
{
|
|
4220
|
-
_request = {
|
|
4220
|
+
_request = {
|
|
4221
4221
|
personId: personId as number,
|
|
4222
4222
|
includeProjectAppointments: includeProjectAppointments as boolean,
|
|
4223
4223
|
startTime: startTime as Date,
|
|
4224
4224
|
endTime: endTime as Date,
|
|
4225
4225
|
count: count as number,
|
|
4226
4226
|
taskHeadingId: taskHeadingId as number,
|
|
4227
|
-
};
|
|
4227
|
+
};
|
|
4228
4228
|
_options = webapi_options;
|
|
4229
4229
|
}
|
|
4230
4230
|
return this._getPersonAppointmentsByTaskHeadingAsync( _request, _options );
|
|
@@ -4238,7 +4238,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4238
4238
|
try {
|
|
4239
4239
|
config.baseURL = this._options.baseUrl;
|
|
4240
4240
|
const response = await this._axios.post("GetProjectAppointmentsByTask", request , config);
|
|
4241
|
-
base.WebApiBase.SetCompleted(options);
|
|
4241
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
4242
4242
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
4243
4243
|
resolve(res);
|
|
4244
4244
|
}
|
|
@@ -4280,13 +4280,13 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4280
4280
|
}
|
|
4281
4281
|
else
|
|
4282
4282
|
{
|
|
4283
|
-
_request = {
|
|
4283
|
+
_request = {
|
|
4284
4284
|
projectId: projectId as number,
|
|
4285
4285
|
startTime: startTime as Date,
|
|
4286
4286
|
endTime: endTime as Date,
|
|
4287
4287
|
count: count as number,
|
|
4288
4288
|
taskId: taskId as number,
|
|
4289
|
-
};
|
|
4289
|
+
};
|
|
4290
4290
|
_options = webapi_options;
|
|
4291
4291
|
}
|
|
4292
4292
|
return this._getProjectAppointmentsByTaskAsync( _request, _options );
|
|
@@ -4300,7 +4300,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4300
4300
|
try {
|
|
4301
4301
|
config.baseURL = this._options.baseUrl;
|
|
4302
4302
|
const response = await this._axios.post("GetProjectAppointmentsByTasks", request , config);
|
|
4303
|
-
base.WebApiBase.SetCompleted(options);
|
|
4303
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
4304
4304
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
4305
4305
|
resolve(res);
|
|
4306
4306
|
}
|
|
@@ -4342,13 +4342,13 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4342
4342
|
}
|
|
4343
4343
|
else
|
|
4344
4344
|
{
|
|
4345
|
-
_request = {
|
|
4345
|
+
_request = {
|
|
4346
4346
|
projectId: projectId as number,
|
|
4347
4347
|
startTime: startTime as Date,
|
|
4348
4348
|
endTime: endTime as Date,
|
|
4349
4349
|
count: count as number,
|
|
4350
4350
|
taskIds: taskIds as number[],
|
|
4351
|
-
};
|
|
4351
|
+
};
|
|
4352
4352
|
_options = webapi_options;
|
|
4353
4353
|
}
|
|
4354
4354
|
return this._getProjectAppointmentsByTasksAsync( _request, _options );
|
|
@@ -4362,7 +4362,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4362
4362
|
try {
|
|
4363
4363
|
config.baseURL = this._options.baseUrl;
|
|
4364
4364
|
const response = await this._axios.post("GetProjectAppointmentsByTaskHeading", request , config);
|
|
4365
|
-
base.WebApiBase.SetCompleted(options);
|
|
4365
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
4366
4366
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
4367
4367
|
resolve(res);
|
|
4368
4368
|
}
|
|
@@ -4404,13 +4404,13 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4404
4404
|
}
|
|
4405
4405
|
else
|
|
4406
4406
|
{
|
|
4407
|
-
_request = {
|
|
4407
|
+
_request = {
|
|
4408
4408
|
projectId: projectId as number,
|
|
4409
4409
|
startTime: startTime as Date,
|
|
4410
4410
|
endTime: endTime as Date,
|
|
4411
4411
|
count: count as number,
|
|
4412
4412
|
taskHeadingId: taskHeadingId as number,
|
|
4413
|
-
};
|
|
4413
|
+
};
|
|
4414
4414
|
_options = webapi_options;
|
|
4415
4415
|
}
|
|
4416
4416
|
return this._getProjectAppointmentsByTaskHeadingAsync( _request, _options );
|
|
@@ -4424,7 +4424,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4424
4424
|
try {
|
|
4425
4425
|
config.baseURL = this._options.baseUrl;
|
|
4426
4426
|
const response = await this._axios.post("GetProjectMemberAppointmentsByTask", request , config);
|
|
4427
|
-
base.WebApiBase.SetCompleted(options);
|
|
4427
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
4428
4428
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
4429
4429
|
resolve(res);
|
|
4430
4430
|
}
|
|
@@ -4466,13 +4466,13 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4466
4466
|
}
|
|
4467
4467
|
else
|
|
4468
4468
|
{
|
|
4469
|
-
_request = {
|
|
4469
|
+
_request = {
|
|
4470
4470
|
personId: personId as number,
|
|
4471
4471
|
startTime: startTime as Date,
|
|
4472
4472
|
endTime: endTime as Date,
|
|
4473
4473
|
count: count as number,
|
|
4474
4474
|
taskId: taskId as number,
|
|
4475
|
-
};
|
|
4475
|
+
};
|
|
4476
4476
|
_options = webapi_options;
|
|
4477
4477
|
}
|
|
4478
4478
|
return this._getProjectMemberAppointmentsByTaskAsync( _request, _options );
|
|
@@ -4486,7 +4486,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4486
4486
|
try {
|
|
4487
4487
|
config.baseURL = this._options.baseUrl;
|
|
4488
4488
|
const response = await this._axios.post("GetProjectMemberAppointmentsByTasks", request , config);
|
|
4489
|
-
base.WebApiBase.SetCompleted(options);
|
|
4489
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
4490
4490
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
4491
4491
|
resolve(res);
|
|
4492
4492
|
}
|
|
@@ -4528,13 +4528,13 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4528
4528
|
}
|
|
4529
4529
|
else
|
|
4530
4530
|
{
|
|
4531
|
-
_request = {
|
|
4531
|
+
_request = {
|
|
4532
4532
|
personId: personId as number,
|
|
4533
4533
|
startTime: startTime as Date,
|
|
4534
4534
|
endTime: endTime as Date,
|
|
4535
4535
|
count: count as number,
|
|
4536
4536
|
taskIds: taskIds as number[],
|
|
4537
|
-
};
|
|
4537
|
+
};
|
|
4538
4538
|
_options = webapi_options;
|
|
4539
4539
|
}
|
|
4540
4540
|
return this._getProjectMemberAppointmentsByTasksAsync( _request, _options );
|
|
@@ -4548,7 +4548,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4548
4548
|
try {
|
|
4549
4549
|
config.baseURL = this._options.baseUrl;
|
|
4550
4550
|
const response = await this._axios.post("GetProjectMemberAppointmentsByTaskHeading", request , config);
|
|
4551
|
-
base.WebApiBase.SetCompleted(options);
|
|
4551
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
4552
4552
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
4553
4553
|
resolve(res);
|
|
4554
4554
|
}
|
|
@@ -4590,13 +4590,13 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4590
4590
|
}
|
|
4591
4591
|
else
|
|
4592
4592
|
{
|
|
4593
|
-
_request = {
|
|
4593
|
+
_request = {
|
|
4594
4594
|
personId: personId as number,
|
|
4595
4595
|
startTime: startTime as Date,
|
|
4596
4596
|
endTime: endTime as Date,
|
|
4597
4597
|
count: count as number,
|
|
4598
4598
|
taskHeadingId: taskHeadingId as number,
|
|
4599
|
-
};
|
|
4599
|
+
};
|
|
4600
4600
|
_options = webapi_options;
|
|
4601
4601
|
}
|
|
4602
4602
|
return this._getProjectMemberAppointmentsByTaskHeadingAsync( _request, _options );
|
|
@@ -4610,7 +4610,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4610
4610
|
try {
|
|
4611
4611
|
config.baseURL = this._options.baseUrl;
|
|
4612
4612
|
const response = await this._axios.post("GetContactAppointmentsByTask", request , config);
|
|
4613
|
-
base.WebApiBase.SetCompleted(options);
|
|
4613
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
4614
4614
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
4615
4615
|
resolve(res);
|
|
4616
4616
|
}
|
|
@@ -4652,13 +4652,13 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4652
4652
|
}
|
|
4653
4653
|
else
|
|
4654
4654
|
{
|
|
4655
|
-
_request = {
|
|
4655
|
+
_request = {
|
|
4656
4656
|
contactId: contactId as number,
|
|
4657
4657
|
startTime: startTime as Date,
|
|
4658
4658
|
endTime: endTime as Date,
|
|
4659
4659
|
count: count as number,
|
|
4660
4660
|
taskId: taskId as number,
|
|
4661
|
-
};
|
|
4661
|
+
};
|
|
4662
4662
|
_options = webapi_options;
|
|
4663
4663
|
}
|
|
4664
4664
|
return this._getContactAppointmentsByTaskAsync( _request, _options );
|
|
@@ -4672,7 +4672,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4672
4672
|
try {
|
|
4673
4673
|
config.baseURL = this._options.baseUrl;
|
|
4674
4674
|
const response = await this._axios.post("GetContactAppointmentsByTasks", request , config);
|
|
4675
|
-
base.WebApiBase.SetCompleted(options);
|
|
4675
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
4676
4676
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
4677
4677
|
resolve(res);
|
|
4678
4678
|
}
|
|
@@ -4714,13 +4714,13 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4714
4714
|
}
|
|
4715
4715
|
else
|
|
4716
4716
|
{
|
|
4717
|
-
_request = {
|
|
4717
|
+
_request = {
|
|
4718
4718
|
contactId: contactId as number,
|
|
4719
4719
|
startTime: startTime as Date,
|
|
4720
4720
|
endTime: endTime as Date,
|
|
4721
4721
|
count: count as number,
|
|
4722
4722
|
taskIds: taskIds as number[],
|
|
4723
|
-
};
|
|
4723
|
+
};
|
|
4724
4724
|
_options = webapi_options;
|
|
4725
4725
|
}
|
|
4726
4726
|
return this._getContactAppointmentsByTasksAsync( _request, _options );
|
|
@@ -4734,7 +4734,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4734
4734
|
try {
|
|
4735
4735
|
config.baseURL = this._options.baseUrl;
|
|
4736
4736
|
const response = await this._axios.post("GetContactAppointmentsByTaskHeading", request , config);
|
|
4737
|
-
base.WebApiBase.SetCompleted(options);
|
|
4737
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
4738
4738
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
4739
4739
|
resolve(res);
|
|
4740
4740
|
}
|
|
@@ -4776,13 +4776,13 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4776
4776
|
}
|
|
4777
4777
|
else
|
|
4778
4778
|
{
|
|
4779
|
-
_request = {
|
|
4779
|
+
_request = {
|
|
4780
4780
|
contactId: contactId as number,
|
|
4781
4781
|
startTime: startTime as Date,
|
|
4782
4782
|
endTime: endTime as Date,
|
|
4783
4783
|
count: count as number,
|
|
4784
4784
|
taskHeadingId: taskHeadingId as number,
|
|
4785
|
-
};
|
|
4785
|
+
};
|
|
4786
4786
|
_options = webapi_options;
|
|
4787
4787
|
}
|
|
4788
4788
|
return this._getContactAppointmentsByTaskHeadingAsync( _request, _options );
|
|
@@ -4796,7 +4796,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4796
4796
|
try {
|
|
4797
4797
|
config.baseURL = this._options.baseUrl;
|
|
4798
4798
|
const response = await this._axios.post("GetPublishedAppointment", request , config);
|
|
4799
|
-
base.WebApiBase.SetCompleted(options);
|
|
4799
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
4800
4800
|
const res : carriers.Appointment = converters.Create_Appointment_From( response.data );
|
|
4801
4801
|
resolve(res);
|
|
4802
4802
|
}
|
|
@@ -4834,9 +4834,9 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4834
4834
|
}
|
|
4835
4835
|
else
|
|
4836
4836
|
{
|
|
4837
|
-
_request = {
|
|
4837
|
+
_request = {
|
|
4838
4838
|
appointmentId: appointmentId as number,
|
|
4839
|
-
};
|
|
4839
|
+
};
|
|
4840
4840
|
_options = webapi_options;
|
|
4841
4841
|
}
|
|
4842
4842
|
return this._getPublishedAppointmentAsync( _request, _options );
|
|
@@ -4850,7 +4850,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4850
4850
|
try {
|
|
4851
4851
|
config.baseURL = this._options.baseUrl;
|
|
4852
4852
|
const response = await this._axios.post("GetPublishedAppointments", request , config);
|
|
4853
|
-
base.WebApiBase.SetCompleted(options);
|
|
4853
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
4854
4854
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
4855
4855
|
resolve(res);
|
|
4856
4856
|
}
|
|
@@ -4888,9 +4888,9 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4888
4888
|
}
|
|
4889
4889
|
else
|
|
4890
4890
|
{
|
|
4891
|
-
_request = {
|
|
4891
|
+
_request = {
|
|
4892
4892
|
appointmentIds: appointmentIds as number[],
|
|
4893
|
-
};
|
|
4893
|
+
};
|
|
4894
4894
|
_options = webapi_options;
|
|
4895
4895
|
}
|
|
4896
4896
|
return this._getPublishedAppointmentsAsync( _request, _options );
|
|
@@ -4904,7 +4904,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4904
4904
|
try {
|
|
4905
4905
|
config.baseURL = this._options.baseUrl;
|
|
4906
4906
|
const response = await this._axios.post("GetMyPublishedAppointments", undefined , config);
|
|
4907
|
-
base.WebApiBase.SetCompleted(options);
|
|
4907
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
4908
4908
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
4909
4909
|
resolve(res);
|
|
4910
4910
|
}
|
|
@@ -4933,7 +4933,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4933
4933
|
try {
|
|
4934
4934
|
config.baseURL = this._options.baseUrl;
|
|
4935
4935
|
const response = await this._axios.post("GetPublishedProjectAppointments", request , config);
|
|
4936
|
-
base.WebApiBase.SetCompleted(options);
|
|
4936
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
4937
4937
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
4938
4938
|
resolve(res);
|
|
4939
4939
|
}
|
|
@@ -4971,9 +4971,9 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4971
4971
|
}
|
|
4972
4972
|
else
|
|
4973
4973
|
{
|
|
4974
|
-
_request = {
|
|
4974
|
+
_request = {
|
|
4975
4975
|
projectId: projectId as number,
|
|
4976
|
-
};
|
|
4976
|
+
};
|
|
4977
4977
|
_options = webapi_options;
|
|
4978
4978
|
}
|
|
4979
4979
|
return this._getPublishedProjectAppointmentsAsync( _request, _options );
|
|
@@ -4987,7 +4987,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
4987
4987
|
try {
|
|
4988
4988
|
config.baseURL = this._options.baseUrl;
|
|
4989
4989
|
const response = await this._axios.post("GetAppointmentsByTaskHeading", request , config);
|
|
4990
|
-
base.WebApiBase.SetCompleted(options);
|
|
4990
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
4991
4991
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
4992
4992
|
resolve(res);
|
|
4993
4993
|
}
|
|
@@ -5025,9 +5025,9 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5025
5025
|
}
|
|
5026
5026
|
else
|
|
5027
5027
|
{
|
|
5028
|
-
_request = {
|
|
5028
|
+
_request = {
|
|
5029
5029
|
taskHeadingId: taskHeadingId as number,
|
|
5030
|
-
};
|
|
5030
|
+
};
|
|
5031
5031
|
_options = webapi_options;
|
|
5032
5032
|
}
|
|
5033
5033
|
return this._getAppointmentsByTaskHeadingAsync( _request, _options );
|
|
@@ -5041,7 +5041,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5041
5041
|
try {
|
|
5042
5042
|
config.baseURL = this._options.baseUrl;
|
|
5043
5043
|
const response = await this._axios.post("GetAssociateDiary", request , config);
|
|
5044
|
-
base.WebApiBase.SetCompleted(options);
|
|
5044
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
5045
5045
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
5046
5046
|
resolve(res);
|
|
5047
5047
|
}
|
|
@@ -5082,12 +5082,12 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5082
5082
|
}
|
|
5083
5083
|
else
|
|
5084
5084
|
{
|
|
5085
|
-
_request = {
|
|
5085
|
+
_request = {
|
|
5086
5086
|
associateId: associateId as number,
|
|
5087
5087
|
startTime: startTime as Date,
|
|
5088
5088
|
endTime: endTime as Date,
|
|
5089
5089
|
count: count as number,
|
|
5090
|
-
};
|
|
5090
|
+
};
|
|
5091
5091
|
_options = webapi_options;
|
|
5092
5092
|
}
|
|
5093
5093
|
return this._getAssociateDiaryAsync( _request, _options );
|
|
@@ -5101,7 +5101,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5101
5101
|
try {
|
|
5102
5102
|
config.baseURL = this._options.baseUrl;
|
|
5103
5103
|
const response = await this._axios.post("GetDiaryByGroup", request , config);
|
|
5104
|
-
base.WebApiBase.SetCompleted(options);
|
|
5104
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
5105
5105
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
5106
5106
|
resolve(res);
|
|
5107
5107
|
}
|
|
@@ -5143,13 +5143,13 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5143
5143
|
}
|
|
5144
5144
|
else
|
|
5145
5145
|
{
|
|
5146
|
-
_request = {
|
|
5146
|
+
_request = {
|
|
5147
5147
|
groupId: groupId as number,
|
|
5148
5148
|
groupType: groupType as number,
|
|
5149
5149
|
startTime: startTime as Date,
|
|
5150
5150
|
endTime: endTime as Date,
|
|
5151
5151
|
count: count as number,
|
|
5152
|
-
};
|
|
5152
|
+
};
|
|
5153
5153
|
_options = webapi_options;
|
|
5154
5154
|
}
|
|
5155
5155
|
return this._getDiaryByGroupAsync( _request, _options );
|
|
@@ -5163,7 +5163,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5163
5163
|
try {
|
|
5164
5164
|
config.baseURL = this._options.baseUrl;
|
|
5165
5165
|
const response = await this._axios.post("UpdateAppointment", request , config);
|
|
5166
|
-
base.WebApiBase.SetCompleted(options);
|
|
5166
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
5167
5167
|
const res : carriers.Appointment = converters.Create_Appointment_From( response.data );
|
|
5168
5168
|
resolve(res);
|
|
5169
5169
|
}
|
|
@@ -5206,14 +5206,14 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5206
5206
|
}
|
|
5207
5207
|
else
|
|
5208
5208
|
{
|
|
5209
|
-
_request = {
|
|
5209
|
+
_request = {
|
|
5210
5210
|
id: id as number,
|
|
5211
5211
|
startTime: startTime as Date,
|
|
5212
5212
|
endTime: endTime as Date,
|
|
5213
5213
|
status: status as number,
|
|
5214
5214
|
type: type as number,
|
|
5215
5215
|
associateId: associateId as number,
|
|
5216
|
-
};
|
|
5216
|
+
};
|
|
5217
5217
|
_options = webapi_options;
|
|
5218
5218
|
}
|
|
5219
5219
|
return this._updateAppointmentAsync( _request, _options );
|
|
@@ -5227,7 +5227,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5227
5227
|
try {
|
|
5228
5228
|
config.baseURL = this._options.baseUrl;
|
|
5229
5229
|
const response = await this._axios.post("UpdateAppointmentWithMode", request , config);
|
|
5230
|
-
base.WebApiBase.SetCompleted(options);
|
|
5230
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
5231
5231
|
const res : carriers.Appointment = converters.Create_Appointment_From( response.data );
|
|
5232
5232
|
resolve(res);
|
|
5233
5233
|
}
|
|
@@ -5271,7 +5271,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5271
5271
|
}
|
|
5272
5272
|
else
|
|
5273
5273
|
{
|
|
5274
|
-
_request = {
|
|
5274
|
+
_request = {
|
|
5275
5275
|
id: id as number,
|
|
5276
5276
|
startTime: startTime as Date,
|
|
5277
5277
|
endTime: endTime as Date,
|
|
@@ -5279,7 +5279,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5279
5279
|
type: type as enums.AppointmentType,
|
|
5280
5280
|
associateId: associateId as number,
|
|
5281
5281
|
updateMode: updateMode as enums.RecurrenceUpdateMode,
|
|
5282
|
-
};
|
|
5282
|
+
};
|
|
5283
5283
|
_options = webapi_options;
|
|
5284
5284
|
}
|
|
5285
5285
|
return this._updateAppointmentWithModeAsync( _request, _options );
|
|
@@ -5293,7 +5293,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5293
5293
|
try {
|
|
5294
5294
|
config.baseURL = this._options.baseUrl;
|
|
5295
5295
|
const response = await this._axios.post("UpdateAppointmentWithModeAndEmail", request , config);
|
|
5296
|
-
base.WebApiBase.SetCompleted(options);
|
|
5296
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
5297
5297
|
const res : carriers.Appointment = converters.Create_Appointment_From( response.data );
|
|
5298
5298
|
resolve(res);
|
|
5299
5299
|
}
|
|
@@ -5340,7 +5340,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5340
5340
|
}
|
|
5341
5341
|
else
|
|
5342
5342
|
{
|
|
5343
|
-
_request = {
|
|
5343
|
+
_request = {
|
|
5344
5344
|
id: id as number,
|
|
5345
5345
|
startTime: startTime as Date,
|
|
5346
5346
|
endTime: endTime as Date,
|
|
@@ -5351,7 +5351,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5351
5351
|
sendEmailToParticipants: sendEmailToParticipants as boolean,
|
|
5352
5352
|
smtpEMailConnectionInfo: smtpEMailConnectionInfo as carriers.EMailConnectionInfo,
|
|
5353
5353
|
imapEMailConnectionInfo: imapEMailConnectionInfo as carriers.EMailConnectionInfo,
|
|
5354
|
-
};
|
|
5354
|
+
};
|
|
5355
5355
|
_options = webapi_options;
|
|
5356
5356
|
}
|
|
5357
5357
|
return this._updateAppointmentWithModeAndEmailAsync( _request, _options );
|
|
@@ -5365,7 +5365,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5365
5365
|
try {
|
|
5366
5366
|
config.baseURL = this._options.baseUrl;
|
|
5367
5367
|
const response = await this._axios.post("GetAssociatesDiary", request , config);
|
|
5368
|
-
base.WebApiBase.SetCompleted(options);
|
|
5368
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
5369
5369
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
5370
5370
|
resolve(res);
|
|
5371
5371
|
}
|
|
@@ -5405,11 +5405,11 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5405
5405
|
}
|
|
5406
5406
|
else
|
|
5407
5407
|
{
|
|
5408
|
-
_request = {
|
|
5408
|
+
_request = {
|
|
5409
5409
|
associateIds: associateIds as number[],
|
|
5410
5410
|
startTime: startTime as Date,
|
|
5411
5411
|
endTime: endTime as Date,
|
|
5412
|
-
};
|
|
5412
|
+
};
|
|
5413
5413
|
_options = webapi_options;
|
|
5414
5414
|
}
|
|
5415
5415
|
return this._getAssociatesDiaryAsync( _request, _options );
|
|
@@ -5423,7 +5423,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5423
5423
|
try {
|
|
5424
5424
|
config.baseURL = this._options.baseUrl;
|
|
5425
5425
|
const response = await this._axios.post("GetAssociatesDiaryInfo", request , config);
|
|
5426
|
-
base.WebApiBase.SetCompleted(options);
|
|
5426
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
5427
5427
|
const res : carriers.AppointmentInfo[] = converters.Create_AppointmentInfoArray_From( response.data );
|
|
5428
5428
|
resolve(res);
|
|
5429
5429
|
}
|
|
@@ -5463,11 +5463,11 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5463
5463
|
}
|
|
5464
5464
|
else
|
|
5465
5465
|
{
|
|
5466
|
-
_request = {
|
|
5466
|
+
_request = {
|
|
5467
5467
|
associateIds: associateIds as number[],
|
|
5468
5468
|
startTime: startTime as Date,
|
|
5469
5469
|
endTime: endTime as Date,
|
|
5470
|
-
};
|
|
5470
|
+
};
|
|
5471
5471
|
_options = webapi_options;
|
|
5472
5472
|
}
|
|
5473
5473
|
return this._getAssociatesDiaryInfoAsync( _request, _options );
|
|
@@ -5481,7 +5481,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5481
5481
|
try {
|
|
5482
5482
|
config.baseURL = this._options.baseUrl;
|
|
5483
5483
|
const response = await this._axios.post("GetAppointmentRecords", request , config);
|
|
5484
|
-
base.WebApiBase.SetCompleted(options);
|
|
5484
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
5485
5485
|
const res : carriers.Appointment[] = converters.Create_AppointmentArray_From( response.data );
|
|
5486
5486
|
resolve(res);
|
|
5487
5487
|
}
|
|
@@ -5520,10 +5520,10 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5520
5520
|
}
|
|
5521
5521
|
else
|
|
5522
5522
|
{
|
|
5523
|
-
_request = {
|
|
5523
|
+
_request = {
|
|
5524
5524
|
motherId: motherId as number,
|
|
5525
5525
|
recurrenceRuleId: recurrenceRuleId as number,
|
|
5526
|
-
};
|
|
5526
|
+
};
|
|
5527
5527
|
_options = webapi_options;
|
|
5528
5528
|
}
|
|
5529
5529
|
return this._getAppointmentRecordsAsync( _request, _options );
|
|
@@ -5537,7 +5537,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5537
5537
|
try {
|
|
5538
5538
|
config.baseURL = this._options.baseUrl;
|
|
5539
5539
|
const response = await this._axios.post("GetMySyncAppointments", request , config);
|
|
5540
|
-
base.WebApiBase.SetCompleted(options);
|
|
5540
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
5541
5541
|
const res : carriers.AppointmentSyncData[] = converters.Create_AppointmentSyncDataArray_From( response.data );
|
|
5542
5542
|
resolve(res);
|
|
5543
5543
|
}
|
|
@@ -5576,10 +5576,10 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5576
5576
|
}
|
|
5577
5577
|
else
|
|
5578
5578
|
{
|
|
5579
|
-
_request = {
|
|
5579
|
+
_request = {
|
|
5580
5580
|
startTime: startTime as Date,
|
|
5581
5581
|
endTime: endTime as Date,
|
|
5582
|
-
};
|
|
5582
|
+
};
|
|
5583
5583
|
_options = webapi_options;
|
|
5584
5584
|
}
|
|
5585
5585
|
return this._getMySyncAppointmentsAsync( _request, _options );
|
|
@@ -5593,7 +5593,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5593
5593
|
try {
|
|
5594
5594
|
config.baseURL = this._options.baseUrl;
|
|
5595
5595
|
const response = await this._axios.post("GetDayInformationListByDatesAndAssociate", request , config);
|
|
5596
|
-
base.WebApiBase.SetCompleted(options);
|
|
5596
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
5597
5597
|
const res : carriers.DayInformationListItem[] = converters.Create_DayInformationListItemArray_From( response.data );
|
|
5598
5598
|
resolve(res);
|
|
5599
5599
|
}
|
|
@@ -5633,11 +5633,11 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5633
5633
|
}
|
|
5634
5634
|
else
|
|
5635
5635
|
{
|
|
5636
|
-
_request = {
|
|
5636
|
+
_request = {
|
|
5637
5637
|
startDate: startDate as Date,
|
|
5638
5638
|
endDate: endDate as Date,
|
|
5639
5639
|
associateId: associateId as number,
|
|
5640
|
-
};
|
|
5640
|
+
};
|
|
5641
5641
|
_options = webapi_options;
|
|
5642
5642
|
}
|
|
5643
5643
|
return this._getDayInformationListByDatesAndAssociateAsync( _request, _options );
|
|
@@ -5651,7 +5651,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5651
5651
|
try {
|
|
5652
5652
|
config.baseURL = this._options.baseUrl;
|
|
5653
5653
|
const response = await this._axios.post("GetActivityInformationListByDatesAndAssociate", request , config);
|
|
5654
|
-
base.WebApiBase.SetCompleted(options);
|
|
5654
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
5655
5655
|
const res : carriers.ActivityInformationListItem[] = converters.Create_ActivityInformationListItemArray_From( response.data );
|
|
5656
5656
|
resolve(res);
|
|
5657
5657
|
}
|
|
@@ -5691,11 +5691,11 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5691
5691
|
}
|
|
5692
5692
|
else
|
|
5693
5693
|
{
|
|
5694
|
-
_request = {
|
|
5694
|
+
_request = {
|
|
5695
5695
|
startDate: startDate as Date,
|
|
5696
5696
|
endDate: endDate as Date,
|
|
5697
5697
|
associateId: associateId as number,
|
|
5698
|
-
};
|
|
5698
|
+
};
|
|
5699
5699
|
_options = webapi_options;
|
|
5700
5700
|
}
|
|
5701
5701
|
return this._getActivityInformationListByDatesAndAssociateAsync( _request, _options );
|
|
@@ -5709,7 +5709,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5709
5709
|
try {
|
|
5710
5710
|
config.baseURL = this._options.baseUrl;
|
|
5711
5711
|
const response = await this._axios.post("GetRedLetterInformationListByDatesAndAssociate", request , config);
|
|
5712
|
-
base.WebApiBase.SetCompleted(options);
|
|
5712
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
5713
5713
|
const res : carriers.RedLetterInformationListItem[] = converters.Create_RedLetterInformationListItemArray_From( response.data );
|
|
5714
5714
|
resolve(res);
|
|
5715
5715
|
}
|
|
@@ -5749,11 +5749,11 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5749
5749
|
}
|
|
5750
5750
|
else
|
|
5751
5751
|
{
|
|
5752
|
-
_request = {
|
|
5752
|
+
_request = {
|
|
5753
5753
|
startDate: startDate as Date,
|
|
5754
5754
|
endDate: endDate as Date,
|
|
5755
5755
|
associateId: associateId as number,
|
|
5756
|
-
};
|
|
5756
|
+
};
|
|
5757
5757
|
_options = webapi_options;
|
|
5758
5758
|
}
|
|
5759
5759
|
return this._getRedLetterInformationListByDatesAndAssociateAsync( _request, _options );
|
|
@@ -5767,7 +5767,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5767
5767
|
try {
|
|
5768
5768
|
config.baseURL = this._options.baseUrl;
|
|
5769
5769
|
const response = await this._axios.post("GetAlarms", request , config);
|
|
5770
|
-
base.WebApiBase.SetCompleted(options);
|
|
5770
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
5771
5771
|
const res : carriers.MultiAlarmData = converters.Create_MultiAlarmData_From( response.data );
|
|
5772
5772
|
resolve(res);
|
|
5773
5773
|
}
|
|
@@ -5807,11 +5807,11 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5807
5807
|
}
|
|
5808
5808
|
else
|
|
5809
5809
|
{
|
|
5810
|
-
_request = {
|
|
5810
|
+
_request = {
|
|
5811
5811
|
includeInvitations: includeInvitations as boolean,
|
|
5812
5812
|
includeAllAppointments: includeAllAppointments as boolean,
|
|
5813
5813
|
defaultAlarmLeadTimeInMinutes: defaultAlarmLeadTimeInMinutes as number,
|
|
5814
|
-
};
|
|
5814
|
+
};
|
|
5815
5815
|
_options = webapi_options;
|
|
5816
5816
|
}
|
|
5817
5817
|
return this._getAlarmsAsync( _request, _options );
|
|
@@ -5825,7 +5825,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5825
5825
|
try {
|
|
5826
5826
|
config.baseURL = this._options.baseUrl;
|
|
5827
5827
|
const response = await this._axios.post("GetNextAvailableTime", request , config);
|
|
5828
|
-
base.WebApiBase.SetCompleted(options);
|
|
5828
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
5829
5829
|
const res : carriers.NextAvailableTime[] = converters.Create_NextAvailableTimeArray_From( response.data );
|
|
5830
5830
|
resolve(res);
|
|
5831
5831
|
}
|
|
@@ -5867,13 +5867,13 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5867
5867
|
}
|
|
5868
5868
|
else
|
|
5869
5869
|
{
|
|
5870
|
-
_request = {
|
|
5870
|
+
_request = {
|
|
5871
5871
|
associates: associates as number[],
|
|
5872
5872
|
startTime: startTime as Date,
|
|
5873
5873
|
endTime: endTime as Date,
|
|
5874
5874
|
count: count as number,
|
|
5875
5875
|
isAllDay: isAllDay as boolean,
|
|
5876
|
-
};
|
|
5876
|
+
};
|
|
5877
5877
|
_options = webapi_options;
|
|
5878
5878
|
}
|
|
5879
5879
|
return this._getNextAvailableTimeAsync( _request, _options );
|
|
@@ -5887,7 +5887,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5887
5887
|
try {
|
|
5888
5888
|
config.baseURL = this._options.baseUrl;
|
|
5889
5889
|
const response = await this._axios.post("GenerateLead", request , config);
|
|
5890
|
-
base.WebApiBase.SetCompleted(options);
|
|
5890
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
5891
5891
|
const res : carriers.SalesActivity = converters.Create_SalesActivity_From( response.data );
|
|
5892
5892
|
resolve(res);
|
|
5893
5893
|
}
|
|
@@ -5936,7 +5936,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5936
5936
|
}
|
|
5937
5937
|
else
|
|
5938
5938
|
{
|
|
5939
|
-
_request = {
|
|
5939
|
+
_request = {
|
|
5940
5940
|
associateIdForNewContact: associateIdForNewContact as number,
|
|
5941
5941
|
leadDescription: leadDescription as string,
|
|
5942
5942
|
relation: relation as string,
|
|
@@ -5949,7 +5949,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5949
5949
|
creatorsContact: creatorsContact as string,
|
|
5950
5950
|
creatorsFirstname: creatorsFirstname as string,
|
|
5951
5951
|
creatorsLastname: creatorsLastname as string,
|
|
5952
|
-
};
|
|
5952
|
+
};
|
|
5953
5953
|
_options = webapi_options;
|
|
5954
5954
|
}
|
|
5955
5955
|
return this._generateLeadAsync( _request, _options );
|
|
@@ -5963,7 +5963,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
5963
5963
|
try {
|
|
5964
5964
|
config.baseURL = this._options.baseUrl;
|
|
5965
5965
|
const response = await this._axios.post("RequestForInfo", request , config);
|
|
5966
|
-
base.WebApiBase.SetCompleted(options);
|
|
5966
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
5967
5967
|
const res : carriers.SalesActivity = converters.Create_SalesActivity_From( response.data );
|
|
5968
5968
|
resolve(res);
|
|
5969
5969
|
}
|
|
@@ -6008,7 +6008,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
6008
6008
|
}
|
|
6009
6009
|
else
|
|
6010
6010
|
{
|
|
6011
|
-
_request = {
|
|
6011
|
+
_request = {
|
|
6012
6012
|
associateIdForNewContact: associateIdForNewContact as number,
|
|
6013
6013
|
channel: channel as string,
|
|
6014
6014
|
regarding: regarding as string,
|
|
@@ -6017,7 +6017,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
6017
6017
|
personLastname: personLastname as string,
|
|
6018
6018
|
emailAddress: emailAddress as string,
|
|
6019
6019
|
phoneNumber: phoneNumber as string,
|
|
6020
|
-
};
|
|
6020
|
+
};
|
|
6021
6021
|
_options = webapi_options;
|
|
6022
6022
|
}
|
|
6023
6023
|
return this._requestForInfoAsync( _request, _options );
|
|
@@ -6035,8 +6035,8 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
6035
6035
|
return new Promise< carriers.SuggestedAppointment >(async (resolve, reject) => {
|
|
6036
6036
|
try {
|
|
6037
6037
|
const response = await this._axios.post("GetSuggestedAppointment?suggestedAppointmentId=" + suggestedAppointmentId, null, config);
|
|
6038
|
-
base.WebApiBase.SetCompleted(options);
|
|
6039
|
-
const res = converters.Create_SuggestedAppointment_From( response.data );
|
|
6038
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
6039
|
+
const res = converters.Create_SuggestedAppointment_From( response.data );
|
|
6040
6040
|
resolve(res);
|
|
6041
6041
|
}
|
|
6042
6042
|
catch( err ) {
|
|
@@ -6058,8 +6058,8 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
6058
6058
|
return new Promise< carriers.SuggestedAppointmentEntity >(async (resolve, reject) => {
|
|
6059
6059
|
try {
|
|
6060
6060
|
const response = await this._axios.post("GetSuggestedAppointmentEntity?suggestedAppointmentEntityId=" + suggestedAppointmentEntityId, null, config);
|
|
6061
|
-
base.WebApiBase.SetCompleted(options);
|
|
6062
|
-
const res = converters.Create_SuggestedAppointmentEntity_From( response.data );
|
|
6061
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
6062
|
+
const res = converters.Create_SuggestedAppointmentEntity_From( response.data );
|
|
6063
6063
|
resolve(res);
|
|
6064
6064
|
}
|
|
6065
6065
|
catch( err ) {
|
|
@@ -6081,8 +6081,8 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
6081
6081
|
return new Promise< carriers.TaskListItem >(async (resolve, reject) => {
|
|
6082
6082
|
try {
|
|
6083
6083
|
const response = await this._axios.post("GetTaskListItem?taskListItemId=" + taskListItemId, null, config);
|
|
6084
|
-
base.WebApiBase.SetCompleted(options);
|
|
6085
|
-
const res = converters.Create_TaskListItem_From( response.data );
|
|
6084
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
6085
|
+
const res = converters.Create_TaskListItem_From( response.data );
|
|
6086
6086
|
resolve(res);
|
|
6087
6087
|
}
|
|
6088
6088
|
catch( err ) {
|
|
@@ -6100,7 +6100,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
6100
6100
|
try {
|
|
6101
6101
|
config.baseURL = this._options.baseUrl;
|
|
6102
6102
|
const response = await this._axios.post("GetTaskListItems", request , config);
|
|
6103
|
-
base.WebApiBase.SetCompleted(options);
|
|
6103
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
6104
6104
|
const res : carriers.TaskListItem[] = converters.Create_TaskListItemArray_From( response.data );
|
|
6105
6105
|
resolve(res);
|
|
6106
6106
|
}
|
|
@@ -6138,9 +6138,9 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
6138
6138
|
}
|
|
6139
6139
|
else
|
|
6140
6140
|
{
|
|
6141
|
-
_request = {
|
|
6141
|
+
_request = {
|
|
6142
6142
|
includeDeleted: includeDeleted as boolean,
|
|
6143
|
-
};
|
|
6143
|
+
};
|
|
6144
6144
|
_options = webapi_options;
|
|
6145
6145
|
}
|
|
6146
6146
|
return this._getTaskListItemsAsync( _request, _options );
|
|
@@ -6154,7 +6154,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
6154
6154
|
try {
|
|
6155
6155
|
config.baseURL = this._options.baseUrl;
|
|
6156
6156
|
const response = await this._axios.post("CreateVideoMeetingReservation", undefined , config);
|
|
6157
|
-
base.WebApiBase.SetCompleted(options);
|
|
6157
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
6158
6158
|
const res : carriers.VideoMeetingReservation = converters.Create_VideoMeetingReservation_From( response.data );
|
|
6159
6159
|
resolve(res);
|
|
6160
6160
|
}
|
|
@@ -6183,7 +6183,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
6183
6183
|
try {
|
|
6184
6184
|
config.baseURL = this._options.baseUrl;
|
|
6185
6185
|
const response = await this._axios.post("DeleteVideoMeetingReservation", request , config);
|
|
6186
|
-
base.WebApiBase.SetCompleted(options);
|
|
6186
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
6187
6187
|
const res = response.data;
|
|
6188
6188
|
resolve(res);
|
|
6189
6189
|
}
|
|
@@ -6221,9 +6221,9 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
6221
6221
|
}
|
|
6222
6222
|
else
|
|
6223
6223
|
{
|
|
6224
|
-
_request = {
|
|
6224
|
+
_request = {
|
|
6225
6225
|
videoMeetingId: videoMeetingId as string,
|
|
6226
|
-
};
|
|
6226
|
+
};
|
|
6227
6227
|
_options = webapi_options;
|
|
6228
6228
|
}
|
|
6229
6229
|
return this._deleteVideoMeetingReservationAsync( _request, _options );
|
|
@@ -6237,7 +6237,7 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
6237
6237
|
try {
|
|
6238
6238
|
config.baseURL = this._options.baseUrl;
|
|
6239
6239
|
const response = await this._axios.post("GetVideoMeetingConnectedState", undefined , config);
|
|
6240
|
-
base.WebApiBase.SetCompleted(options);
|
|
6240
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
6241
6241
|
const res : carriers.UserConnectedState = converters.Create_UserConnectedState_From( response.data );
|
|
6242
6242
|
resolve(res);
|
|
6243
6243
|
}
|
|
@@ -6258,6 +6258,6 @@ export class AppointmentAgent extends base.WebApiBase implements IAppointmentAge
|
|
|
6258
6258
|
return this._getVideoMeetingConnectedStateAsync(webapi_options);
|
|
6259
6259
|
}
|
|
6260
6260
|
|
|
6261
|
-
} // class v1AppointmentAgentController
|
|
6261
|
+
} // class v1AppointmentAgentController
|
|
6262
6262
|
|
|
6263
6263
|
|