imio.smartweb.core 1.2.91__py3-none-any.whl → 1.3__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.
Files changed (92) hide show
  1. imio/smartweb/core/browser/controlpanel.py +42 -5
  2. imio/smartweb/core/browser/utils.py +4 -1
  3. imio/smartweb/core/configure.zcml +5 -1
  4. imio/smartweb/core/contents/__init__.py +2 -0
  5. imio/smartweb/core/contents/rest/campaign/__init__.py +0 -0
  6. imio/smartweb/core/contents/rest/campaign/configure.zcml +80 -0
  7. imio/smartweb/core/contents/rest/campaign/content.py +83 -0
  8. imio/smartweb/core/contents/rest/campaign/endpoint.py +211 -0
  9. imio/smartweb/core/contents/rest/campaign/view.pt +19 -0
  10. imio/smartweb/core/contents/rest/campaign/view.py +29 -0
  11. imio/smartweb/core/contents/rest/configure.zcml +1 -0
  12. imio/smartweb/core/interfaces.py +4 -0
  13. imio/smartweb/core/overrides.zcml +10 -0
  14. imio/smartweb/core/profiles/default/metadata.xml +1 -1
  15. imio/smartweb/core/profiles/ideabox/browserlayer.xml +7 -0
  16. imio/smartweb/core/profiles/ideabox/metadata.xml +5 -0
  17. imio/smartweb/core/profiles/ideabox/registry/iaideabox.xml +9 -0
  18. imio/smartweb/core/profiles/ideabox/types/imio.smartweb.CampaignView.xml +40 -0
  19. imio/smartweb/core/profiles/ideabox/types/imio.smartweb.Folder.xml +71 -0
  20. imio/smartweb/core/profiles/ideabox/types.xml +17 -0
  21. imio/smartweb/core/profiles/ideabox_uninstall/browserlayer.xml +7 -0
  22. imio/smartweb/core/profiles/ideabox_uninstall/types/imio.smartweb.Folder.xml +25 -0
  23. imio/smartweb/core/profiles/ideabox_uninstall/types.xml +4 -0
  24. imio/smartweb/core/profiles/testing/metadata.xml +1 -0
  25. imio/smartweb/core/profiles/testing/registry.xml +2 -2
  26. imio/smartweb/core/profiles.zcml +18 -0
  27. imio/smartweb/core/subscribers.py +27 -1
  28. imio/smartweb/core/subscribers.zcml +8 -0
  29. imio/smartweb/core/tests/resources/json_ideabox_campaign.json +222 -0
  30. imio/smartweb/core/tests/resources/json_ideabox_campaigns.json +425 -0
  31. imio/smartweb/core/tests/resources/json_ideabox_projects.json +1871 -0
  32. imio/smartweb/core/tests/test_iadeliberations.py +38 -40
  33. imio/smartweb/core/tests/test_ideabox.py +120 -0
  34. imio/smartweb/core/tests/test_procedure.py +7 -3
  35. imio/smartweb/core/tests/test_rest.py +7 -0
  36. imio/smartweb/core/tests/test_vocabularies.py +8 -10
  37. imio/smartweb/core/upgrades/configure.zcml +16 -1
  38. imio/smartweb/core/upgrades/upgrades.py +64 -0
  39. imio/smartweb/core/utils.py +33 -0
  40. imio/smartweb/core/viewlets/ogptags.py +9 -0
  41. imio/smartweb/core/vocabularies.py +35 -4
  42. imio/smartweb/core/vocabularies.zcml +6 -0
  43. imio/smartweb/core/webcomponents/build/css/373.smartweb-webcomponents-compiled.css +1 -1
  44. imio/smartweb/core/webcomponents/build/css/420.smartweb-webcomponents-compiled.css +1 -0
  45. imio/smartweb/core/webcomponents/build/css/486.smartweb-webcomponents-compiled.css +1 -1
  46. imio/smartweb/core/webcomponents/build/css/666.smartweb-webcomponents-compiled.css +1 -0
  47. imio/smartweb/core/webcomponents/build/css/884.smartweb-webcomponents-compiled.css +1 -1
  48. imio/smartweb/core/webcomponents/build/css/smartweb-webcomponents-compiled.css +1 -1
  49. imio/smartweb/core/webcomponents/build/js/141.smartweb-webcomponents-compiled.js +2 -0
  50. imio/smartweb/core/webcomponents/build/js/{828.smartweb-webcomponents-compiled.js.LICENSE.txt → 141.smartweb-webcomponents-compiled.js.LICENSE.txt} +3 -3
  51. imio/smartweb/core/webcomponents/build/js/15.smartweb-webcomponents-compiled.js +2 -0
  52. imio/smartweb/core/webcomponents/build/js/21.smartweb-webcomponents-compiled.js +1 -0
  53. imio/smartweb/core/webcomponents/build/js/218.smartweb-webcomponents-compiled.js +1 -1
  54. imio/smartweb/core/webcomponents/build/js/218.smartweb-webcomponents-compiled.js.LICENSE.txt +0 -5
  55. imio/smartweb/core/webcomponents/build/js/373.smartweb-webcomponents-compiled.js +1 -1
  56. imio/smartweb/core/webcomponents/build/js/486.smartweb-webcomponents-compiled.js +1 -1
  57. imio/smartweb/core/webcomponents/build/js/666.smartweb-webcomponents-compiled.js +1 -0
  58. imio/smartweb/core/webcomponents/build/js/799.smartweb-webcomponents-compiled.js +1 -1
  59. imio/smartweb/core/webcomponents/build/js/824.smartweb-webcomponents-compiled.js +1 -1
  60. imio/smartweb/core/webcomponents/build/js/884.smartweb-webcomponents-compiled.js +1 -1
  61. imio/smartweb/core/webcomponents/build/js/919.smartweb-webcomponents-compiled.js +1 -1
  62. imio/smartweb/core/webcomponents/build/js/922.smartweb-webcomponents-compiled.js +1 -0
  63. imio/smartweb/core/webcomponents/build/js/smartweb-webcomponents-compiled.js +1 -1
  64. imio/smartweb/core/webcomponents/package.json +80 -80
  65. imio/smartweb/core/webcomponents/src/components/Annuaire/Annuaire.scss +1 -0
  66. imio/smartweb/core/webcomponents/src/components/Campaign/Campaign.jsx +306 -0
  67. imio/smartweb/core/webcomponents/src/components/Campaign/Campaign.scss +672 -0
  68. imio/smartweb/core/webcomponents/src/components/Campaign/CampaignCard/CampaignCard.jsx +79 -0
  69. imio/smartweb/core/webcomponents/src/components/Campaign/CampaignContent/CampaignContent.jsx +193 -0
  70. imio/smartweb/core/webcomponents/src/components/Campaign/CampaignList/CampaignList.jsx +67 -0
  71. imio/smartweb/core/webcomponents/src/components/Campaign/Filters/Filter.jsx +259 -0
  72. imio/smartweb/core/webcomponents/src/components/Campaign/index.js +2 -0
  73. imio/smartweb/core/webcomponents/src/components/Filters/MainFilter.scss +1 -0
  74. imio/smartweb/core/webcomponents/src/components/News/NewsContent/NewsContent.jsx +0 -1
  75. imio/smartweb/core/webcomponents/src/hooks/useAxios.js +45 -9
  76. imio/smartweb/core/webcomponents/src/index.jsx +2 -0
  77. imio/smartweb/core/webcomponents/src/index.scss +2 -2
  78. imio/smartweb/core/webcomponents/src/utils/CampaignMap.jsx +177 -0
  79. imio/smartweb/core/webcomponents/src/utils/Map.jsx +1 -1
  80. imio/smartweb/core/webcomponents/src/utils/Map.scss +15 -1
  81. imio/smartweb/core/webcomponents/src/utils/translation.js +235 -199
  82. {imio.smartweb.core-1.2.91.dist-info → imio.smartweb.core-1.3.dist-info}/METADATA +8 -1
  83. {imio.smartweb.core-1.2.91.dist-info → imio.smartweb.core-1.3.dist-info}/RECORD +90 -57
  84. imio/smartweb/core/webcomponents/build/js/499.smartweb-webcomponents-compiled.js +0 -2
  85. imio/smartweb/core/webcomponents/build/js/828.smartweb-webcomponents-compiled.js +0 -2
  86. /imio/smartweb/core/webcomponents/build/js/{499.smartweb-webcomponents-compiled.js.LICENSE.txt → 15.smartweb-webcomponents-compiled.js.LICENSE.txt} +0 -0
  87. /imio.smartweb.core-1.2.91-py3.12-nspkg.pth → /imio.smartweb.core-1.3-py3.12-nspkg.pth +0 -0
  88. {imio.smartweb.core-1.2.91.dist-info → imio.smartweb.core-1.3.dist-info}/LICENSE.GPL +0 -0
  89. {imio.smartweb.core-1.2.91.dist-info → imio.smartweb.core-1.3.dist-info}/LICENSE.rst +0 -0
  90. {imio.smartweb.core-1.2.91.dist-info → imio.smartweb.core-1.3.dist-info}/WHEEL +0 -0
  91. {imio.smartweb.core-1.2.91.dist-info → imio.smartweb.core-1.3.dist-info}/namespace_packages.txt +0 -0
  92. {imio.smartweb.core-1.2.91.dist-info → imio.smartweb.core-1.3.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,71 @@
1
+ <?xml version="1.0"?>
2
+ <object xmlns:i18n="http://xml.zope.org/namespaces/i18n"
3
+ name="imio.smartweb.Folder"
4
+ meta_type="Dexterity FTI"
5
+ i18n:domain="imio.smartweb">
6
+
7
+ <!-- Basic properties -->
8
+ <property
9
+ i18n:translate=""
10
+ name="title">Folder</property>
11
+ <property
12
+ i18n:translate=""
13
+ name="description">Folder content type to structure website</property>
14
+
15
+ <property name="icon_expr">string:folder2</property>
16
+
17
+ <!-- Hierarchy control -->
18
+ <property name="global_allow">True</property>
19
+ <property name="filter_content_types">True</property>
20
+ <property name="allowed_content_types">
21
+ <element value="Collection" />
22
+ <element value="Message" />
23
+ <element value="Link" />
24
+ <element value="imio.smartweb.CampaignView" />
25
+ <element value="imio.smartweb.CirkwiView" />
26
+ <element value="imio.smartweb.DirectoryView" />
27
+ <element value="imio.smartweb.EventsView" />
28
+ <element value="imio.smartweb.Folder" />
29
+ <element value="imio.smartweb.NewsView" />
30
+ <element value="imio.smartweb.Page" />
31
+ <element value="imio.smartweb.PortalPage" />
32
+ <element value="imio.smartweb.Procedure" />
33
+ <element value="collective.pivot.Family" />
34
+ </property>
35
+
36
+ <!-- Schema, class and security -->
37
+ <property name="add_permission">imio.smartweb.core.AddFolder</property>
38
+ <property name="klass">imio.smartweb.core.contents.Folder</property>
39
+ <property name="schema">imio.smartweb.core.contents.IFolder</property>
40
+
41
+ <!-- Enabled behaviors -->
42
+ <property name="behaviors" purge="false">
43
+ <element value="plone.categorization"/>
44
+ <element value="plone.namefromtitle"/>
45
+ <element value="plone.excludefromnavigation"/>
46
+ <element value="plone.shortname"/>
47
+ <element value="plone.basic"/>
48
+ <element value="plone.locking"/>
49
+ <element value="plone.leadimage"/>
50
+ <element value="plone.imagecropping"/>
51
+ <element value="plone.constraintypes"/>
52
+ <element value="imio.smartweb.orientation"/>
53
+ <element value="imio.smartweb.listing"/>
54
+ <element value="imio.smartweb.quickaccessselection"/>
55
+ <element value="collective.autopublishing.behavior.IAutoPublishing"/>
56
+ <element value="solr.fields" />
57
+ </property>
58
+
59
+ <!-- View information -->
60
+ <property name="default_view">summary_view</property>
61
+ <property name="default_view_fallback">False</property>
62
+ <property name="immediate_view">view</property>
63
+ <property name="view_methods">
64
+ <element value="block_view"/>
65
+ <element value="block_view_with_images"/>
66
+ <element value="summary_view"/>
67
+ <element value="summary_view_with_images"/>
68
+ <element value="element_view"/>
69
+ </property>
70
+
71
+ </object>
@@ -0,0 +1,17 @@
1
+ <?xml version='1.0' encoding='UTF-8'?>
2
+ <object name="portal_types" meta_type="Plone Types Tool">
3
+ <object meta_type="Dexterity FTI" name="imio.smartweb.CampaignView"/>
4
+ <object meta_type="Dexterity FTI" name="imio.smartweb.Folder"/>
5
+ <object meta_type="Dexterity FTI" name="imio.smartweb.Footer"/>
6
+ <object meta_type="Dexterity FTI" name="imio.smartweb.HeroBanner"/>
7
+ <object meta_type="Dexterity FTI" name="imio.smartweb.Page"/>
8
+ <object meta_type="Dexterity FTI" name="imio.smartweb.PortalPage"/>
9
+ <object meta_type="Dexterity FTI" name="imio.smartweb.SectionCollection"/>
10
+ <object meta_type="Dexterity FTI" name="imio.smartweb.SectionFiles"/>
11
+ <object meta_type="Dexterity FTI" name="imio.smartweb.SectionGallery"/>
12
+ <object meta_type="Dexterity FTI" name="imio.smartweb.SectionHTML"/>
13
+ <object meta_type="Dexterity FTI" name="imio.smartweb.SectionLinks"/>
14
+ <object meta_type="Dexterity FTI" name="imio.smartweb.SectionSelections"/>
15
+ <object meta_type="Dexterity FTI" name="imio.smartweb.SectionText"/>
16
+ <object meta_type="Dexterity FTI" name="imio.smartweb.SectionVideo"/>
17
+ </object>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <layers>
3
+ <layer
4
+ name="imio.smartweb.core.ideabox"
5
+ remove="True"
6
+ />
7
+ </layers>
@@ -0,0 +1,25 @@
1
+ <?xml version="1.0"?>
2
+ <object xmlns:i18n="http://xml.zope.org/namespaces/i18n"
3
+ name="imio.smartweb.Folder"
4
+ meta_type="Dexterity FTI"
5
+ i18n:domain="imio.smartweb">
6
+
7
+ <!-- Hierarchy control -->
8
+ <property name="global_allow">True</property>
9
+ <property name="filter_content_types">True</property>
10
+ <property name="allowed_content_types">
11
+ <element value="Collection" />
12
+ <element value="Message" />
13
+ <element value="Link" />
14
+ <element value="imio.smartweb.CirkwiView" />
15
+ <element value="imio.smartweb.DirectoryView" />
16
+ <element value="imio.smartweb.EventsView" />
17
+ <element value="imio.smartweb.Folder" />
18
+ <element value="imio.smartweb.NewsView" />
19
+ <element value="imio.smartweb.Page" />
20
+ <element value="imio.smartweb.PortalPage" />
21
+ <element value="imio.smartweb.Procedure" />
22
+ <element value="collective.pivot.Family" />
23
+ </property>
24
+
25
+ </object>
@@ -0,0 +1,4 @@
1
+ <?xml version='1.0' encoding='UTF-8'?>
2
+ <object name="portal_types" meta_type="Plone Types Tool">
3
+ <object name="imio.smartweb.CampaignView" remove="True" />
4
+ </object>
@@ -2,6 +2,7 @@
2
2
  <metadata>
3
3
  <dependencies>
4
4
  <dependency>profile-imio.smartweb.core:default</dependency>
5
+ <dependency>profile-imio.smartweb.core:ideabox</dependency>
5
6
  <dependency>profile-collective.taxonomy:examples</dependency>
6
7
  </dependencies>
7
8
  </metadata>
@@ -3,8 +3,8 @@
3
3
  xmlns:i18n="http://xml.zope.org/namespaces/i18n"
4
4
  i18n:domain="imio.smartweb">
5
5
 
6
- <record name="smartweb.url_formdefs_api">
7
- <value>https://demo.guichet-citoyen.be/api/formdefs/</value>
6
+ <record name="smartweb.url_ts">
7
+ <value>https://demo.guichet-citoyen.be/api</value>
8
8
  </record>
9
9
  <record name="smartweb.secret_key_api">
10
10
  <value>kamoulox</value>
@@ -12,6 +12,24 @@
12
12
  post_handler=".setuphandlers.post_install"
13
13
  />
14
14
 
15
+ <genericsetup:registerProfile
16
+ name="ideabox"
17
+ title="imio.smartweb.core : ideabox install"
18
+ directory="profiles/ideabox"
19
+ description="Install ideabox in an existing smartweb site."
20
+ provides="Products.GenericSetup.interfaces.EXTENSION"
21
+ post_handler=".setuphandlers.post_install"
22
+ />
23
+
24
+ <genericsetup:registerProfile
25
+ name="ideabox_uninstall"
26
+ title="imio.smartweb.core : ideabox uninstall"
27
+ directory="profiles/ideabox_uninstall"
28
+ description="Uninstall ideabox."
29
+ provides="Products.GenericSetup.interfaces.EXTENSION"
30
+ post_handler=".setuphandlers.post_install"
31
+ />
32
+
15
33
  <genericsetup:registerProfile
16
34
  name="testing"
17
35
  title="imio.smartweb.core (testing)"
@@ -5,16 +5,24 @@ from imio.smartweb.common.utils import is_log_active
5
5
  from imio.smartweb.common.utils import remove_cropping
6
6
  from imio.smartweb.core.behaviors.minisite import IImioSmartwebMinisite
7
7
  from imio.smartweb.core.interfaces import IOdwbViewUtils
8
+ from imio.smartweb.core.utils import get_basic_auth_json
9
+ from imio.smartweb.core.utils import get_ts_api_url
10
+
8
11
  from imio.smartweb.core.utils import get_iadeliberation_institution_from_registry
9
12
  from imio.smartweb.core.utils import get_iadeliberation_json
13
+ from imio.smartweb.core.utils import get_value_from_registry
10
14
  from imio.smartweb.core.utils import safe_html
11
15
  from imio.smartweb.locales import SmartwebMessageFactory as _
12
16
  from plone import api
13
17
  from plone.app.imagecropping import PAI_STORAGE_KEY
14
18
  from plone.app.layout.navigation.interfaces import INavigationRoot
19
+
20
+ # from plone.i18n.normalizer.interfaces import IURLNormalizer
15
21
  from plone.namedfile.field import NamedBlobImage
16
22
  from zope.annotation.interfaces import IAnnotations
17
23
  from zope.component import getMultiAdapter
24
+
25
+ # from zope.component import getUtility
18
26
  from zope.interface import alsoProvides
19
27
  from zope.interface import noLongerProvides
20
28
  from zope.lifecycleevent import ObjectRemovedEvent
@@ -120,7 +128,9 @@ def added_publication(obj, event):
120
128
  iadeliberation_institution = get_iadeliberation_institution_from_registry()
121
129
  url = f"{iadeliberation_institution}/publications/{obj.linked_publication}?fullobjects=y"
122
130
  try:
123
- json_publication = get_iadeliberation_json(url)
131
+ user = api.portal.get_registry_record("smartweb.iadeliberations_api_username")
132
+ pwd = api.portal.get_registry_record("smartweb.iadeliberation_api_password")
133
+ json_publication = get_basic_auth_json(url, user, pwd)
124
134
  obj.title = json_publication.get("title")
125
135
  obj.description = json_publication.get("description")
126
136
  obj.publication_uid = json_publication.get("UID")
@@ -154,3 +164,19 @@ def removed_external_content(obj, event):
154
164
  if IOdwbViewUtils.providedBy(parent) and len(sections_external_content) == 0:
155
165
  noLongerProvides(parent, IOdwbViewUtils)
156
166
  parent.reindexObject()
167
+
168
+
169
+ def added_campaignview(obj, event):
170
+ """save json attributes on object attributes"""
171
+ wcs_api = get_ts_api_url("wcs")
172
+ ts_campaign_endpoint = "imio-ideabox-campagne"
173
+ url = f"{wcs_api}/cards/{ts_campaign_endpoint}/{obj.linked_campaign}"
174
+ user = get_value_from_registry("smartweb.iaideabox_api_username")
175
+ pwd = get_value_from_registry("smartweb.iaideabox_api_password")
176
+ json_campaign = get_basic_auth_json(url, user, pwd)
177
+ obj.title = json_campaign.get("fields").get("titre")
178
+ obj.description = json_campaign.get("fields").get("description")
179
+
180
+
181
+ def modified_campaignview(obj, event):
182
+ added_campaignview(obj, event)
@@ -32,5 +32,13 @@
32
32
  <subscriber for="imio.smartweb.core.contents.ISectionExternalContent
33
33
  zope.lifecycleevent.interfaces.IObjectRemovedEvent"
34
34
  handler=".subscribers.removed_external_content" />
35
+
36
+ <subscriber for="imio.smartweb.core.contents.ICampaignView
37
+ zope.lifecycleevent.interfaces.IObjectAddedEvent"
38
+ handler=".subscribers.added_campaignview" />
39
+
40
+ <subscriber for="imio.smartweb.core.contents.ICampaignView
41
+ zope.lifecycleevent.interfaces.IObjectModifiedEvent"
42
+ handler=".subscribers.modified_campaignview" />
35
43
 
36
44
  </configure>
@@ -0,0 +1,222 @@
1
+ {
2
+ "uuid": "fbbd1edb-ab7f-4089-b281-1ee96235b6df",
3
+ "id": "2",
4
+ "internal_id": "2",
5
+ "display_id": "21-2",
6
+ "display_name": "iMio - IDEABOX - Campagne - n°21-2",
7
+ "digests": {
8
+ "default": "Sprint iMio Fall 2024",
9
+ "custom-view:active": "Sprint iMio Fall 2024",
10
+ "custom-view:par-defaut": "Sprint iMio Fall 2024"
11
+ },
12
+ "text": "Sprint iMio Fall 2024",
13
+ "url": "https://staging3-formulaires.guichet-citoyen.be/backoffice/data/imio-ideabox-campagne/2/",
14
+ "receipt_time": "2024-10-08T11:02:14",
15
+ "last_update_time": "2024-10-09T14:59:42",
16
+ "criticality_level": 0,
17
+ "api_url": "https://staging3-formulaires.guichet-citoyen.be/api/cards/imio-ideabox-campagne/2/",
18
+ "backoffice_url": "https://staging3-formulaires.guichet-citoyen.be/backoffice/data/imio-ideabox-campagne/2/",
19
+ "fields": {
20
+ "titre": "Sprint iMio Fall 2024",
21
+ "description": "<h3>Sprint iMio</h3><h4>Fall 2024</h4><p>Venez Admirez les burpees de Christophe fait par Thomas</p><ul><li><p>un spectacle pour petits et grands</p></li><li><p>Avec un accès gratuit de 48h au onlyfans de Manu</p></li></ul><p><a href=\"https://www.hot-manga.fr/hentai/accueil-hot-manga\" rel=\"nofollow\">Réserver votre ticket</a></p>",
22
+ "debut": "2025-01-01",
23
+ "fin": "2025-01-02",
24
+ "themes_raw": [
25
+ "1",
26
+ "4",
27
+ "2"
28
+ ],
29
+ "themes": "Domaine Expension, Grotte de Han, Ma femme, mon fils et",
30
+ "themes_structured": [
31
+ {
32
+ "id": 1,
33
+ "text": "Domaine Expension",
34
+ "nom": "Domaine Expension"
35
+ },
36
+ {
37
+ "id": 4,
38
+ "text": "Grotte de Han",
39
+ "nom": "Grotte de Han"
40
+ },
41
+ {
42
+ "id": 2,
43
+ "text": "Ma femme, mon fils et",
44
+ "nom": "Ma femme, mon fils et"
45
+ }
46
+ ],
47
+ "zones_raw": [
48
+ "1",
49
+ "2"
50
+ ],
51
+ "zones": "A, Rouge",
52
+ "zones_structured": [
53
+ {
54
+ "id": 1,
55
+ "text": "A",
56
+ "nom": "A"
57
+ },
58
+ {
59
+ "id": 2,
60
+ "text": "Rouge",
61
+ "nom": "Rouge"
62
+ }
63
+ ],
64
+ "nombre_vote_autorise": "2"
65
+ },
66
+ "workflow": {
67
+ "status": {
68
+ "id": "0",
69
+ "name": "Active",
70
+ "endpoint": false,
71
+ "first_arrival_datetime": "2024-10-09T09:26:41.469588+00:00",
72
+ "latest_arrival_datetime": "2024-10-09T12:59:42.134307+00:00"
73
+ },
74
+ "real_status": {
75
+ "id": "0",
76
+ "name": "Active",
77
+ "endpoint": false,
78
+ "first_arrival_datetime": "2024-10-09T09:26:41.469588+00:00",
79
+ "latest_arrival_datetime": "2024-10-09T12:59:42.134307+00:00"
80
+ }
81
+ },
82
+ "roles": {
83
+ "_editor": [
84
+ {
85
+ "name": "Debug",
86
+ "text": "Debug",
87
+ "allows_backoffice_access": true,
88
+ "emails": [],
89
+ "details": "",
90
+ "emails_to_members": true,
91
+ "slug": "debug",
92
+ "id": "6d2c55fe2ea44e41b7f8111b93f1930a"
93
+ }
94
+ ],
95
+ "_api": [
96
+ {
97
+ "name": "API IDEABox",
98
+ "text": "API IDEABox",
99
+ "allows_backoffice_access": false,
100
+ "emails": [],
101
+ "details": "",
102
+ "emails_to_members": true,
103
+ "slug": "api-ideabox",
104
+ "id": "c2ce2ec872814abb99e5e24a02b1e31c"
105
+ }
106
+ ],
107
+ "concerned": [
108
+ {
109
+ "name": "IDEABOX - Gestion de campagne",
110
+ "text": "IDEABOX - Gestion de campagne",
111
+ "allows_backoffice_access": false,
112
+ "emails": [],
113
+ "details": "",
114
+ "emails_to_members": true,
115
+ "slug": "ideabox-gestion-de-campagne",
116
+ "id": "34574221a41a499d82fb708c6af9b891"
117
+ },
118
+ {
119
+ "name": "Debug",
120
+ "text": "Debug",
121
+ "allows_backoffice_access": true,
122
+ "emails": [],
123
+ "details": "",
124
+ "emails_to_members": true,
125
+ "slug": "debug",
126
+ "id": "6d2c55fe2ea44e41b7f8111b93f1930a"
127
+ },
128
+ {
129
+ "name": "API IDEABox",
130
+ "text": "API IDEABox",
131
+ "allows_backoffice_access": false,
132
+ "emails": [],
133
+ "details": "",
134
+ "emails_to_members": true,
135
+ "slug": "api-ideabox",
136
+ "id": "c2ce2ec872814abb99e5e24a02b1e31c"
137
+ }
138
+ ],
139
+ "actions": [
140
+ {
141
+ "name": "IDEABOX - Gestion de campagne",
142
+ "text": "IDEABOX - Gestion de campagne",
143
+ "allows_backoffice_access": false,
144
+ "emails": [],
145
+ "details": "",
146
+ "emails_to_members": true,
147
+ "slug": "ideabox-gestion-de-campagne",
148
+ "id": "34574221a41a499d82fb708c6af9b891"
149
+ }
150
+ ]
151
+ },
152
+ "submission": {
153
+ "backoffice": true,
154
+ "channel": "web",
155
+ "agent": {
156
+ "id": 1,
157
+ "name": "Admin oob",
158
+ "email": "admints@imio.be",
159
+ "NameID": [
160
+ "e59ba0ecbab04791959cb9bda8d9ac31"
161
+ ]
162
+ }
163
+ },
164
+ "evolution": [
165
+ {
166
+ "time": "2024-10-08T09:02:14.186791+00:00",
167
+ "last_jump_datetime": "2024-10-09T09:24:24.188920+00:00",
168
+ "who_id": "1",
169
+ "status": "recorded",
170
+ "who": {
171
+ "id": 1,
172
+ "name": "Admin oob",
173
+ "email": "admints@imio.be",
174
+ "NameID": [
175
+ "e59ba0ecbab04791959cb9bda8d9ac31"
176
+ ]
177
+ }
178
+ },
179
+ {
180
+ "time": "2024-10-09T09:26:41.469588+00:00",
181
+ "last_jump_datetime": null,
182
+ "who_id": "1",
183
+ "status": "0",
184
+ "who": {
185
+ "id": 1,
186
+ "name": "Admin oob",
187
+ "email": "admints@imio.be",
188
+ "NameID": [
189
+ "e59ba0ecbab04791959cb9bda8d9ac31"
190
+ ]
191
+ }
192
+ },
193
+ {
194
+ "time": "2024-10-09T12:59:21.122818+00:00",
195
+ "last_jump_datetime": "2024-10-09T12:59:35.062135+00:00",
196
+ "who_id": "1",
197
+ "status": "recorded",
198
+ "who": {
199
+ "id": 1,
200
+ "name": "Admin oob",
201
+ "email": "admints@imio.be",
202
+ "NameID": [
203
+ "e59ba0ecbab04791959cb9bda8d9ac31"
204
+ ]
205
+ }
206
+ },
207
+ {
208
+ "time": "2024-10-09T12:59:42.134307+00:00",
209
+ "last_jump_datetime": null,
210
+ "who_id": "1",
211
+ "status": "0",
212
+ "who": {
213
+ "id": 1,
214
+ "name": "Admin oob",
215
+ "email": "admints@imio.be",
216
+ "NameID": [
217
+ "e59ba0ecbab04791959cb9bda8d9ac31"
218
+ ]
219
+ }
220
+ }
221
+ ]
222
+ }