wbintegrator_office365 1.51.1__tar.gz → 1.51.2rc1__tar.gz
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-1.51.1 → wbintegrator_office365-1.51.2rc1}/.gitignore +0 -1
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/PKG-INFO +1 -1
- wbintegrator_office365-1.51.2rc1/wbintegrator_office365/viewsets/endpoints.py +78 -0
- wbintegrator_office365-1.51.1/wbintegrator_office365/viewsets/endpoints.py +0 -52
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/pyproject.toml +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/__init__.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/admin.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/apps.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/configurations/__init__.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/configurations/configurations/__init__.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/dynamic_preferences_registry.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/factories.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/filters.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/importer/__init__.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/importer/api.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/importer/disable_signals.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/importer/parser.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/kpi_handlers/__init__.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/kpi_handlers/calls.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/migrations/0001_initial_squashed_squashed_0003_alter_calendar_owner_alter_calendarevent_organizer_and_more.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/migrations/0002_remove_calendar_owner_remove_calendarevent_activity_and_more.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/migrations/0003_alter_event_options.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/migrations/__init__.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/models/__init__.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/models/event.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/models/subscription.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/models/tenant.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/serializers.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/tasks.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/templates/admin/tenant_change_list.html +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/tests/__init__.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/tests/conftest.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/tests/test_admin.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/tests/test_models.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/tests/test_tasks.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/tests/test_views.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/tests/tests.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/urls.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/viewsets/__init__.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/viewsets/display.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/viewsets/menu.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/viewsets/titles.py +0 -0
- {wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/viewsets/viewsets.py +0 -0
@@ -0,0 +1,78 @@
|
|
1
|
+
from rest_framework.reverse import reverse
|
2
|
+
from wbcore.metadata.configs.endpoints import EndpointViewConfig
|
3
|
+
|
4
|
+
|
5
|
+
class TenantUserEndpointConfig(EndpointViewConfig):
|
6
|
+
def get_update_endpoint(self, **kwargs):
|
7
|
+
return None
|
8
|
+
|
9
|
+
def get_delete_endpoint(self, **kwargs):
|
10
|
+
return None
|
11
|
+
|
12
|
+
def get_create_endpoint(self, **kwargs):
|
13
|
+
return None
|
14
|
+
|
15
|
+
|
16
|
+
class EventEndpointConfig(EndpointViewConfig):
|
17
|
+
def get_update_endpoint(self, **kwargs):
|
18
|
+
return None
|
19
|
+
|
20
|
+
def get_delete_endpoint(self, **kwargs):
|
21
|
+
return None
|
22
|
+
|
23
|
+
def get_create_endpoint(self, **kwargs):
|
24
|
+
return None
|
25
|
+
|
26
|
+
|
27
|
+
class CallUserEndpointConfig(EndpointViewConfig):
|
28
|
+
def get_update_endpoint(self, **kwargs):
|
29
|
+
return None
|
30
|
+
|
31
|
+
def get_delete_endpoint(self, **kwargs):
|
32
|
+
return None
|
33
|
+
|
34
|
+
def get_create_endpoint(self, **kwargs):
|
35
|
+
return None
|
36
|
+
|
37
|
+
|
38
|
+
class CallEventEndpointConfig(EndpointViewConfig):
|
39
|
+
def get_update_endpoint(self, **kwargs):
|
40
|
+
return None
|
41
|
+
|
42
|
+
def get_delete_endpoint(self, **kwargs):
|
43
|
+
return None
|
44
|
+
|
45
|
+
def get_create_endpoint(self, **kwargs):
|
46
|
+
return None
|
47
|
+
|
48
|
+
|
49
|
+
class SubscriptionEndpointConfig(EndpointViewConfig):
|
50
|
+
def get_update_endpoint(self, **kwargs):
|
51
|
+
return None
|
52
|
+
|
53
|
+
def get_delete_endpoint(self, **kwargs):
|
54
|
+
return None
|
55
|
+
|
56
|
+
def get_create_endpoint(self, **kwargs):
|
57
|
+
return None
|
58
|
+
|
59
|
+
|
60
|
+
class EventLogEndpointConfig(EndpointViewConfig):
|
61
|
+
def get_update_endpoint(self, **kwargs):
|
62
|
+
return None
|
63
|
+
|
64
|
+
def get_delete_endpoint(self, **kwargs):
|
65
|
+
return None
|
66
|
+
|
67
|
+
def get_create_endpoint(self, **kwargs):
|
68
|
+
return None
|
69
|
+
|
70
|
+
|
71
|
+
class EventLogEventEndpointConfig(EndpointViewConfig):
|
72
|
+
def get_endpoint(self, **kwargs):
|
73
|
+
return None
|
74
|
+
|
75
|
+
def get_instance_endpoint(self, **kwargs):
|
76
|
+
if event_id := self.view.kwargs.get("last_event_id", None):
|
77
|
+
return reverse("wbintegrator_office365:event-eventlog-list", args=[event_id], request=self.request)
|
78
|
+
return None
|
@@ -1,52 +0,0 @@
|
|
1
|
-
from rest_framework.reverse import reverse
|
2
|
-
from wbcore.metadata.configs.endpoints import EndpointViewConfig
|
3
|
-
|
4
|
-
|
5
|
-
class MixinEndpointConfig(EndpointViewConfig):
|
6
|
-
def get_endpoint(self):
|
7
|
-
return super().get_endpoint()
|
8
|
-
|
9
|
-
def get_list_endpoint(self):
|
10
|
-
return reverse(f"{self.view.get_model().get_endpoint_basename()}-list", request=self.request)
|
11
|
-
|
12
|
-
def get_instance_endpoint(self):
|
13
|
-
if self.instance:
|
14
|
-
return None
|
15
|
-
return super().get_instance_endpoint()
|
16
|
-
|
17
|
-
def get_create_endpoint(self):
|
18
|
-
return None
|
19
|
-
|
20
|
-
def get_delete_endpoint(self):
|
21
|
-
return None
|
22
|
-
|
23
|
-
|
24
|
-
class TenantUserEndpointConfig(MixinEndpointConfig):
|
25
|
-
pass
|
26
|
-
|
27
|
-
|
28
|
-
class EventEndpointConfig(MixinEndpointConfig):
|
29
|
-
pass
|
30
|
-
|
31
|
-
|
32
|
-
class CallUserEndpointConfig(MixinEndpointConfig):
|
33
|
-
pass
|
34
|
-
|
35
|
-
|
36
|
-
class CallEventEndpointConfig(MixinEndpointConfig):
|
37
|
-
pass
|
38
|
-
|
39
|
-
|
40
|
-
class SubscriptionEndpointConfig(MixinEndpointConfig):
|
41
|
-
pass
|
42
|
-
|
43
|
-
|
44
|
-
class EventLogEndpointConfig(MixinEndpointConfig):
|
45
|
-
pass
|
46
|
-
|
47
|
-
|
48
|
-
class EventLogEventEndpointConfig(MixinEndpointConfig):
|
49
|
-
def get_endpoint(self, **kwargs):
|
50
|
-
if event_id := self.view.kwargs.get("last_event_id", None):
|
51
|
-
return reverse("wbintegrator_office365:event-eventlog-list", args=[event_id], request=self.request)
|
52
|
-
return None
|
File without changes
|
File without changes
|
{wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/admin.py
RENAMED
File without changes
|
{wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/apps.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/filters.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/tasks.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{wbintegrator_office365-1.51.1 → wbintegrator_office365-1.51.2rc1}/wbintegrator_office365/urls.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|