wbintegrator_office365 1.51.1__py2.py3-none-any.whl → 1.51.2__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,51 +2,77 @@ from rest_framework.reverse import reverse
2
2
  from wbcore.metadata.configs.endpoints import EndpointViewConfig
3
3
 
4
4
 
5
- class MixinEndpointConfig(EndpointViewConfig):
6
- def get_endpoint(self):
7
- return super().get_endpoint()
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
- def get_instance_endpoint(self):
13
- if self.instance:
14
- return None
15
- return super().get_instance_endpoint()
27
+ class CallUserEndpointConfig(EndpointViewConfig):
28
+ def get_update_endpoint(self, **kwargs):
29
+ return None
16
30
 
17
- def get_create_endpoint(self):
31
+ def get_delete_endpoint(self, **kwargs):
18
32
  return None
19
33
 
20
- def get_delete_endpoint(self):
34
+ def get_create_endpoint(self, **kwargs):
21
35
  return None
22
36
 
23
37
 
24
- class TenantUserEndpointConfig(MixinEndpointConfig):
25
- pass
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
- class EventEndpointConfig(MixinEndpointConfig):
29
- pass
45
+ def get_create_endpoint(self, **kwargs):
46
+ return None
30
47
 
31
48
 
32
- class CallUserEndpointConfig(MixinEndpointConfig):
33
- pass
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
- class CallEventEndpointConfig(MixinEndpointConfig):
37
- pass
56
+ def get_create_endpoint(self, **kwargs):
57
+ return None
38
58
 
39
59
 
40
- class SubscriptionEndpointConfig(MixinEndpointConfig):
41
- pass
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
- class EventLogEndpointConfig(MixinEndpointConfig):
45
- pass
67
+ def get_create_endpoint(self, **kwargs):
68
+ return None
46
69
 
47
70
 
48
- class EventLogEventEndpointConfig(MixinEndpointConfig):
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wbintegrator_office365
3
- Version: 1.51.1
3
+ Version: 1.51.2
4
4
  Author-email: Christopher Wittlinger <c.wittlinger@stainly.com>
5
5
  Requires-Dist: bs4==0.0.*
6
6
  Requires-Dist: oauthlib==3.1.*
@@ -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=EL-2enypHcBztCAXjiz_1B-NdjRWjdZeCwm5M-8rcPw,1278
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.1.dist-info/METADATA,sha256=5IH6RCBaR0PJ3dHCFoiRy6e0f-5YXXhqIjovJxuL_YU,304
41
- wbintegrator_office365-1.51.1.dist-info/WHEEL,sha256=tkmg4JIqwd9H8mL30xA7crRmoStyCtGp0VWshokd1Jc,105
42
- wbintegrator_office365-1.51.1.dist-info/RECORD,,
40
+ wbintegrator_office365-1.51.2.dist-info/METADATA,sha256=EdVBRc095d17eI6Ip7YzH9z9BYIRYg4UqyiY8s9irhQ,304
41
+ wbintegrator_office365-1.51.2.dist-info/WHEEL,sha256=tkmg4JIqwd9H8mL30xA7crRmoStyCtGp0VWshokd1Jc,105
42
+ wbintegrator_office365-1.51.2.dist-info/RECORD,,