wbintegrator_office365 1.44.5__py2.py3-none-any.whl → 1.45.1__py2.py3-none-any.whl

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.
@@ -2,6 +2,7 @@ from django.contrib import admin
2
2
  from django.shortcuts import redirect
3
3
  from django.urls import path
4
4
  from wbcore.admin import ExportCsvMixin, ImportCsvMixin
5
+
5
6
  from wbintegrator_office365.models.event import fetch_tenantusers
6
7
  from wbintegrator_office365.models.subscription import (
7
8
  resubscribe_as_task,
@@ -3,6 +3,7 @@ from datetime import date, timedelta
3
3
  from psycopg.types.range import DateRange
4
4
  from wbcore import filters as wb_filters
5
5
  from wbhuman_resources.models import EmployeeHumanResource
6
+
6
7
  from wbintegrator_office365.models import (
7
8
  CallEvent,
8
9
  CallUser,
@@ -7,6 +7,7 @@ from wbcore import serializers
7
7
  from wbcore.serializers.serializers import Serializer
8
8
  from wbhuman_resources.models.kpi import KPI, KPIHandler
9
9
  from wbhuman_resources.serializers import KPIModelSerializer
10
+
10
11
  from wbintegrator_office365.models import CallEvent
11
12
 
12
13
 
@@ -9,6 +9,7 @@ from django.dispatch import receiver
9
9
  from wbcore.contrib.directory.models import EmailContact, Person, TelephoneContact
10
10
  from wbcore.contrib.notifications.utils import create_notification_type
11
11
  from wbcore.models import WBModel
12
+
12
13
  from wbintegrator_office365.importer import MicrosoftGraphAPI
13
14
 
14
15
  from .tenant import TenantUser
@@ -4,6 +4,7 @@ from django.db.models import Q
4
4
  from django.db.models.signals import post_delete, post_save
5
5
  from django.dispatch import receiver
6
6
  from wbcore.models import WBModel
7
+
7
8
  from wbintegrator_office365.importer import MicrosoftGraphAPI
8
9
 
9
10
 
@@ -1,6 +1,7 @@
1
1
  from rest_framework.reverse import reverse
2
2
  from wbcore import serializers as wb_serializers
3
3
  from wbcore.contrib.directory.serializers import PersonRepresentationSerializer
4
+
4
5
  from wbintegrator_office365.models import (
5
6
  CallEvent,
6
7
  CallUser,
@@ -6,6 +6,7 @@ from django.contrib.auth import get_user_model
6
6
  from django.db.models import Q
7
7
  from wbcore.contrib.directory.models import Person
8
8
  from wbcore.contrib.notifications.dispatch import send_notification
9
+
9
10
  from wbintegrator_office365.importer import MicrosoftGraphAPI
10
11
  from wbintegrator_office365.models.event import CallEvent
11
12
  from wbintegrator_office365.models.subscription import Subscription
@@ -1,5 +1,6 @@
1
1
  from django.urls import include, path
2
2
  from wbcore.routers import WBCoreRouter
3
+
3
4
  from wbintegrator_office365.viewsets import viewsets
4
5
 
5
6
  router = WBCoreRouter()
@@ -10,6 +10,7 @@ from wbcore.metadata.configs.display.instance_display.shortcuts import (
10
10
  )
11
11
  from wbcore.metadata.configs.display.instance_display.utils import repeat_field
12
12
  from wbcore.metadata.configs.display.view_config import DisplayViewConfig
13
+
13
14
  from wbintegrator_office365.models import Event
14
15
 
15
16
 
@@ -14,6 +14,7 @@ from rest_framework import filters
14
14
  from wbcore import viewsets
15
15
  from wbcore.filters import DjangoFilterBackend
16
16
  from wbhuman_resources.models import EmployeeHumanResource
17
+
17
18
  from wbintegrator_office365.filters import (
18
19
  CallEventFilter,
19
20
  CallEventSummaryGraphFilter,
@@ -502,9 +503,7 @@ class CallEventSummaryGraph(viewsets.ChartViewSet):
502
503
  "average_mean_period",
503
504
  "average_median_period",
504
505
  ]
505
- ].round(
506
- 2
507
- )
506
+ ].round(2)
508
507
  df = df.reset_index()
509
508
 
510
509
  dict_df[key] = df
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wbintegrator_office365
3
- Version: 1.44.5
3
+ Version: 1.45.1
4
4
  Author-email: Christopher Wittlinger <c.wittlinger@stainly.com>
5
5
  Requires-Dist: bs4==0.0.*
6
6
  Requires-Dist: oauthlib==3.1.*
@@ -1,12 +1,12 @@
1
1
  wbintegrator_office365/__init__.py,sha256=J-j-u0itpEFT6irdmWmixQqYMadNl1X91TxUmoiLHMI,22
2
- wbintegrator_office365/admin.py,sha256=xDqviGPUB6PAFZoN6JKffTIlbcWaS4AhyE9_vwjcrrE,6304
2
+ wbintegrator_office365/admin.py,sha256=YYfp5_TTH7h7J8TG-IugUiH_CHurxvaBEM2DdJt3ZEM,6305
3
3
  wbintegrator_office365/apps.py,sha256=bRcE51Shd_r2MBWhn3MOFDMZlY4ABcrH2uprlFrP7tY,118
4
4
  wbintegrator_office365/dynamic_preferences_registry.py,sha256=RIptl8WGibV_XMynXl1x5tDW_UzLksfV1vfqbRywb-k,502
5
5
  wbintegrator_office365/factories.py,sha256=pG8moGurbSElIugs_Gz3nd7-UJt3vC6mGy-EZQIeldI,3872
6
- wbintegrator_office365/filters.py,sha256=G2ys0nJlCW0tCeQ4OWa_rtwQc30qrwAqaNv5LVtwMaU,7446
7
- wbintegrator_office365/serializers.py,sha256=HpBkyfXonf_QPPkkiFuesz94D3j2890MJPpqB3RLlS4,8096
8
- wbintegrator_office365/tasks.py,sha256=dRYdnGf2NvQvHoUBbSQSaM0o6fk3227IArw5rP-iBuY,5765
9
- wbintegrator_office365/urls.py,sha256=AnRZTlEX9MjVODbKNQf5s6ufzwFYcfzJibVIZUvquXc,1921
6
+ wbintegrator_office365/filters.py,sha256=mssUmrpqoMHDAdHcSaC481tL3jchDN0s2kHZxZUW28Y,7447
7
+ wbintegrator_office365/serializers.py,sha256=tR_HdsyxwCZo2_sOdhj2NErOEjTRyoIXA6DRR-BjVKs,8097
8
+ wbintegrator_office365/tasks.py,sha256=VcGEyp1zzPRsXAwYomyM1ZlhM7nXiVNbkMVYxuH54Hc,5766
9
+ wbintegrator_office365/urls.py,sha256=qfIIb3CNJw40xhGJnE7ztEMt2l-kgnRXA_P8Y3sDlPg,1922
10
10
  wbintegrator_office365/configurations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  wbintegrator_office365/configurations/configurations/__init__.py,sha256=tIBWiG0KWrDJ1xtKe5m1W9aKX5PMNLwsYuoy7xrQ4uI,1145
12
12
  wbintegrator_office365/importer/__init__.py,sha256=gNaDqAZV8afLM7yOHtGa8uQGvSMhajEQcLJyd5PejyY,105
@@ -14,14 +14,14 @@ wbintegrator_office365/importer/api.py,sha256=F0Ed8EZGq3-Y0gN95KQ-h6nFbg4U0HC-Ob
14
14
  wbintegrator_office365/importer/disable_signals.py,sha256=d7vsELREUeUkrmGFMYICbvcKKrKTWhm_BEOZuPuXbAc,1090
15
15
  wbintegrator_office365/importer/parser.py,sha256=6tkr9Z30SkBzm4989JONXcL8dnONf0PJIgnYlKrispU,5905
16
16
  wbintegrator_office365/kpi_handlers/__init__.py,sha256=C93QmjQfQHw9L5ohR877l7zRFkYZ21PnjbCF2eVntxU,35
17
- wbintegrator_office365/kpi_handlers/calls.py,sha256=cYOh7Fb5poT6yhhKtoJnoxQkQKtYh1-fI0mK5uuQQT0,4778
17
+ wbintegrator_office365/kpi_handlers/calls.py,sha256=StT6R0HBP_MyydGay8LsHe22wEO2fOD5KycHJBQuTq8,4779
18
18
  wbintegrator_office365/migrations/0001_initial_squashed_squashed_0003_alter_calendar_owner_alter_calendarevent_organizer_and_more.py,sha256=zXa_NZWCFedAH5iiWVX2E1hIip6qm8KB2FEYgeJEx7Y,33482
19
19
  wbintegrator_office365/migrations/0002_remove_calendar_owner_remove_calendarevent_activity_and_more.py,sha256=VDbggoPh0HKghwoC-FnSmm1cT1KnsWid1VNg1MOu34s,2313
20
20
  wbintegrator_office365/migrations/0003_alter_event_options.py,sha256=rUYPQdwEuJowo10veLOZPtV3WMqxJu8_uan600EcpN4,585
21
21
  wbintegrator_office365/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
22
  wbintegrator_office365/models/__init__.py,sha256=sZKutR9oNMm2IaON35doaMVPgeMfxmWDqoAdALHRLIA,126
23
- wbintegrator_office365/models/event.py,sha256=LT51_Z3cm_WgEWDDGW2_RnVvSK_0QYZXtfkQ_6WQTp4,26341
24
- wbintegrator_office365/models/subscription.py,sha256=sngZ4mATSQyUWZC7EQetwFKUrIvfTD5zOx_oA2p4Mmk,6423
23
+ wbintegrator_office365/models/event.py,sha256=uC5ycXYBpFIDz3Q1PxAjDL4-mXlzwB7y3gza1lOWzE8,26342
24
+ wbintegrator_office365/models/subscription.py,sha256=EnesSa2OnuygsyfXXY8ABYOjgOaUv9Jj3c6OVQOPWyU,6424
25
25
  wbintegrator_office365/models/tenant.py,sha256=-FS6jg9nt8IgUv_729D92QFvrrbKleBUGnXhwaLv5Sc,2357
26
26
  wbintegrator_office365/templates/admin/tenant_change_list.html,sha256=mI4C1ZmTkl5MdN4CgoIWgCziSReqlHiK71aI7zJpVEM,358
27
27
  wbintegrator_office365/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -32,11 +32,11 @@ wbintegrator_office365/tests/test_tasks.py,sha256=qrzXTjlH52gssyrsyNY1vMmfJMCUqg
32
32
  wbintegrator_office365/tests/test_views.py,sha256=istI7h751mEt_roslIiR5qqfqDI8Sj-L2Cgd_8gKMAQ,5326
33
33
  wbintegrator_office365/tests/tests.py,sha256=HS3gXIgob9Rpx8Tn7p58nuan4LAvEJwGs9fhq9pDKu8,296
34
34
  wbintegrator_office365/viewsets/__init__.py,sha256=8P6rwxciuMFbxHwlb6nbNODQIP_OeTLxX2UnJAzYNi4,889
35
- wbintegrator_office365/viewsets/display.py,sha256=b8Ld9xGTVzRt2gIEbGElQFwZTKC5aSMsxSyRh2e7yQE,12305
35
+ wbintegrator_office365/viewsets/display.py,sha256=TS1fZCHFUb9XUNlXT1EO_7HE_lUsB1EgB6bQdsSX5sQ,12306
36
36
  wbintegrator_office365/viewsets/endpoints.py,sha256=EL-2enypHcBztCAXjiz_1B-NdjRWjdZeCwm5M-8rcPw,1278
37
37
  wbintegrator_office365/viewsets/menu.py,sha256=hafwoiHZmN3ltf30dTfwHreDwhyfdHlGOQk8bB7jB_o,2406
38
38
  wbintegrator_office365/viewsets/titles.py,sha256=9GZ_fqN9-sJzYHFvibOhNrRQQMNTh_m4eAv66VaGzDM,1214
39
- wbintegrator_office365/viewsets/viewsets.py,sha256=O6RHtBt6PSXXNKXUCUCflJpe1YyOLOh8JwqfJNpjcpg,26368
40
- wbintegrator_office365-1.44.5.dist-info/METADATA,sha256=Op4tyJ5LzDHlTOzG7CGL2knrbRzvwcXvW6Emgyr1OOk,304
41
- wbintegrator_office365-1.44.5.dist-info/WHEEL,sha256=tkmg4JIqwd9H8mL30xA7crRmoStyCtGp0VWshokd1Jc,105
42
- wbintegrator_office365-1.44.5.dist-info/RECORD,,
39
+ wbintegrator_office365/viewsets/viewsets.py,sha256=T9u8vViyeHrK1xzPbQqIKXgpf4qM-5KkPzbZGdLLujA,26331
40
+ wbintegrator_office365-1.45.1.dist-info/METADATA,sha256=qFAwl6L17ndm5Yij2QE2geTlebcbi-qo7hyPAzht64Y,304
41
+ wbintegrator_office365-1.45.1.dist-info/WHEEL,sha256=tkmg4JIqwd9H8mL30xA7crRmoStyCtGp0VWshokd1Jc,105
42
+ wbintegrator_office365-1.45.1.dist-info/RECORD,,