wbintegrator_office365 1.51.0__py2.py3-none-any.whl → 1.51.2rc1__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/viewsets/endpoints.py +50 -24
- {wbintegrator_office365-1.51.0.dist-info → wbintegrator_office365-1.51.2rc1.dist-info}/METADATA +1 -1
- {wbintegrator_office365-1.51.0.dist-info → wbintegrator_office365-1.51.2rc1.dist-info}/RECORD +4 -4
- {wbintegrator_office365-1.51.0.dist-info → wbintegrator_office365-1.51.2rc1.dist-info}/WHEEL +0 -0
@@ -2,51 +2,77 @@ from rest_framework.reverse import reverse
|
|
2
2
|
from wbcore.metadata.configs.endpoints import EndpointViewConfig
|
3
3
|
|
4
4
|
|
5
|
-
class
|
6
|
-
def
|
7
|
-
return
|
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
|
8
25
|
|
9
|
-
def get_list_endpoint(self):
|
10
|
-
return reverse(f"{self.view.get_model().get_endpoint_basename()}-list", request=self.request)
|
11
26
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
return super().get_instance_endpoint()
|
27
|
+
class CallUserEndpointConfig(EndpointViewConfig):
|
28
|
+
def get_update_endpoint(self, **kwargs):
|
29
|
+
return None
|
16
30
|
|
17
|
-
def
|
31
|
+
def get_delete_endpoint(self, **kwargs):
|
18
32
|
return None
|
19
33
|
|
20
|
-
def
|
34
|
+
def get_create_endpoint(self, **kwargs):
|
21
35
|
return None
|
22
36
|
|
23
37
|
|
24
|
-
class
|
25
|
-
|
38
|
+
class CallEventEndpointConfig(EndpointViewConfig):
|
39
|
+
def get_update_endpoint(self, **kwargs):
|
40
|
+
return None
|
26
41
|
|
42
|
+
def get_delete_endpoint(self, **kwargs):
|
43
|
+
return None
|
27
44
|
|
28
|
-
|
29
|
-
|
45
|
+
def get_create_endpoint(self, **kwargs):
|
46
|
+
return None
|
30
47
|
|
31
48
|
|
32
|
-
class
|
33
|
-
|
49
|
+
class SubscriptionEndpointConfig(EndpointViewConfig):
|
50
|
+
def get_update_endpoint(self, **kwargs):
|
51
|
+
return None
|
34
52
|
|
53
|
+
def get_delete_endpoint(self, **kwargs):
|
54
|
+
return None
|
35
55
|
|
36
|
-
|
37
|
-
|
56
|
+
def get_create_endpoint(self, **kwargs):
|
57
|
+
return None
|
38
58
|
|
39
59
|
|
40
|
-
class
|
41
|
-
|
60
|
+
class EventLogEndpointConfig(EndpointViewConfig):
|
61
|
+
def get_update_endpoint(self, **kwargs):
|
62
|
+
return None
|
42
63
|
|
64
|
+
def get_delete_endpoint(self, **kwargs):
|
65
|
+
return None
|
43
66
|
|
44
|
-
|
45
|
-
|
67
|
+
def get_create_endpoint(self, **kwargs):
|
68
|
+
return None
|
46
69
|
|
47
70
|
|
48
|
-
class EventLogEventEndpointConfig(
|
71
|
+
class EventLogEventEndpointConfig(EndpointViewConfig):
|
49
72
|
def get_endpoint(self, **kwargs):
|
73
|
+
return None
|
74
|
+
|
75
|
+
def get_instance_endpoint(self, **kwargs):
|
50
76
|
if event_id := self.view.kwargs.get("last_event_id", None):
|
51
77
|
return reverse("wbintegrator_office365:event-eventlog-list", args=[event_id], request=self.request)
|
52
78
|
return None
|
{wbintegrator_office365-1.51.0.dist-info → wbintegrator_office365-1.51.2rc1.dist-info}/RECORD
RENAMED
@@ -33,10 +33,10 @@ wbintegrator_office365/tests/test_views.py,sha256=istI7h751mEt_roslIiR5qqfqDI8Sj
|
|
33
33
|
wbintegrator_office365/tests/tests.py,sha256=HS3gXIgob9Rpx8Tn7p58nuan4LAvEJwGs9fhq9pDKu8,296
|
34
34
|
wbintegrator_office365/viewsets/__init__.py,sha256=8P6rwxciuMFbxHwlb6nbNODQIP_OeTLxX2UnJAzYNi4,889
|
35
35
|
wbintegrator_office365/viewsets/display.py,sha256=TS1fZCHFUb9XUNlXT1EO_7HE_lUsB1EgB6bQdsSX5sQ,12306
|
36
|
-
wbintegrator_office365/viewsets/endpoints.py,sha256=
|
36
|
+
wbintegrator_office365/viewsets/endpoints.py,sha256=NxEdH-tKk87mJdSNxpOZdN2z0AhYY_1ob_zcHgPOAXQ,1969
|
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
39
|
wbintegrator_office365/viewsets/viewsets.py,sha256=T9u8vViyeHrK1xzPbQqIKXgpf4qM-5KkPzbZGdLLujA,26331
|
40
|
-
wbintegrator_office365-1.51.
|
41
|
-
wbintegrator_office365-1.51.
|
42
|
-
wbintegrator_office365-1.51.
|
40
|
+
wbintegrator_office365-1.51.2rc1.dist-info/METADATA,sha256=AMk18509_OmaX-DHi-TZezXZyyUraHL6NwEIyeTx5Po,307
|
41
|
+
wbintegrator_office365-1.51.2rc1.dist-info/WHEEL,sha256=tkmg4JIqwd9H8mL30xA7crRmoStyCtGp0VWshokd1Jc,105
|
42
|
+
wbintegrator_office365-1.51.2rc1.dist-info/RECORD,,
|
{wbintegrator_office365-1.51.0.dist-info → wbintegrator_office365-1.51.2rc1.dist-info}/WHEEL
RENAMED
File without changes
|