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.
- wbintegrator_office365/admin.py +1 -0
- wbintegrator_office365/filters.py +1 -0
- wbintegrator_office365/kpi_handlers/calls.py +1 -0
- wbintegrator_office365/models/event.py +1 -0
- wbintegrator_office365/models/subscription.py +1 -0
- wbintegrator_office365/serializers.py +1 -0
- wbintegrator_office365/tasks.py +1 -0
- wbintegrator_office365/urls.py +1 -0
- wbintegrator_office365/viewsets/display.py +1 -0
- wbintegrator_office365/viewsets/viewsets.py +2 -3
- {wbintegrator_office365-1.44.5.dist-info → wbintegrator_office365-1.45.1.dist-info}/METADATA +1 -1
- {wbintegrator_office365-1.44.5.dist-info → wbintegrator_office365-1.45.1.dist-info}/RECORD +13 -13
- {wbintegrator_office365-1.44.5.dist-info → wbintegrator_office365-1.45.1.dist-info}/WHEEL +0 -0
wbintegrator_office365/admin.py
CHANGED
@@ -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,
|
@@ -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
|
wbintegrator_office365/tasks.py
CHANGED
@@ -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
|
wbintegrator_office365/urls.py
CHANGED
@@ -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,12 +1,12 @@
|
|
1
1
|
wbintegrator_office365/__init__.py,sha256=J-j-u0itpEFT6irdmWmixQqYMadNl1X91TxUmoiLHMI,22
|
2
|
-
wbintegrator_office365/admin.py,sha256=
|
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=
|
7
|
-
wbintegrator_office365/serializers.py,sha256=
|
8
|
-
wbintegrator_office365/tasks.py,sha256=
|
9
|
-
wbintegrator_office365/urls.py,sha256=
|
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=
|
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=
|
24
|
-
wbintegrator_office365/models/subscription.py,sha256=
|
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=
|
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=
|
40
|
-
wbintegrator_office365-1.
|
41
|
-
wbintegrator_office365-1.
|
42
|
-
wbintegrator_office365-1.
|
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,,
|
File without changes
|