dmart 1.4.40.post5__py3-none-any.whl → 1.4.40.post7__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.
- dmart/cxb/assets/{EntryRenderer-QpjKwgQI.js → EntryRenderer-Dl21Ysgp.js} +1 -1
- dmart/cxb/assets/{ListView-Cz-UZmqX.js → ListView-C_wRAfdT.js} +1 -1
- dmart/cxb/assets/{_module-CDkgIsM3.js → _module-Bm3T06xS.js} +1 -1
- dmart/cxb/assets/{_module-DvU-yewY.js → _module-MiGz5eGu.js} +1 -1
- dmart/cxb/assets/{index-CwevVSTS.js → index-BhQ5LUMe.js} +1 -1
- dmart/cxb/assets/{index-i_zxDl_u.js → index-CaAQl5Gz.js} +2 -2
- dmart/cxb/assets/{index-PIn1toui.js → index-Clz9NEW5.js} +1 -1
- dmart/cxb/assets/{index-B7TuVFro.js → index-De7lX1xZ.js} +1 -1
- dmart/cxb/assets/{index-PaDjlbgT.js → index-DfVT_WZY.js} +1 -1
- dmart/cxb/assets/{index-BeplzYRb.js → index-jNnn2ioU.js} +1 -1
- dmart/cxb/index.html +1 -1
- dmart/dmart.py +18 -3
- dmart/info.json +1 -1
- dmart/sample/spaces/applications/.dm/meta.space.json +30 -0
- dmart/sample/spaces/applications/api/.dm/meta.folder.json +1 -0
- dmart/sample/spaces/applications/api/.dm/query_all_applications/meta.content.json +1 -0
- dmart/sample/spaces/applications/api/.dm/test_by_saad/attachments.media/meta.warframe.json +1 -0
- dmart/sample/spaces/applications/api/.dm/test_by_saad/attachments.media/warframe.png +0 -0
- dmart/sample/spaces/applications/api/.dm/test_by_saad/meta.content.json +1 -0
- dmart/sample/spaces/applications/api/.dm/user_profile/meta.content.json +1 -0
- dmart/sample/spaces/applications/api/applications/.dm/create_log/meta.content.json +1 -0
- dmart/sample/spaces/applications/api/applications/.dm/create_public_logs/meta.content.json +1 -0
- dmart/sample/spaces/applications/api/applications/.dm/meta.folder.json +1 -0
- dmart/sample/spaces/applications/api/applications/.dm/query_all_translated_data/meta.content.json +1 -0
- dmart/sample/spaces/applications/api/applications/.dm/query_logs/meta.content.json +1 -0
- dmart/sample/spaces/applications/api/applications/.dm/query_translated_enums/meta.content.json +1 -0
- dmart/sample/spaces/applications/api/applications/.dm/query_translated_others/meta.content.json +1 -0
- dmart/sample/spaces/applications/api/applications/.dm/query_translated_resolution/meta.content.json +1 -0
- dmart/sample/spaces/applications/api/applications/create_log.json +1 -0
- dmart/sample/spaces/applications/api/applications/create_public_logs.json +1 -0
- dmart/sample/spaces/applications/api/applications/query_all_translated_data.json +1 -0
- dmart/sample/spaces/applications/api/applications/query_logs.json +1 -0
- dmart/sample/spaces/applications/api/applications/query_translated_enums.json +1 -0
- dmart/sample/spaces/applications/api/applications/query_translated_others.json +1 -0
- dmart/sample/spaces/applications/api/applications/query_translated_resolution.json +1 -0
- dmart/sample/spaces/applications/api/applications.json +1 -0
- dmart/sample/spaces/applications/api/management/.dm/create_subaccount/meta.content.json +1 -0
- dmart/sample/spaces/applications/api/management/.dm/meta.folder.json +1 -0
- dmart/sample/spaces/applications/api/management/.dm/update_password/meta.content.json +1 -0
- dmart/sample/spaces/applications/api/management/create_subaccount.json +53 -0
- dmart/sample/spaces/applications/api/management/update_password.json +1 -0
- dmart/sample/spaces/applications/api/management.json +1 -0
- dmart/sample/spaces/applications/api/query_all_applications.json +15 -0
- dmart/sample/spaces/applications/api/test_by_saad.json +1 -0
- dmart/sample/spaces/applications/api/user/.dm/meta.folder.json +1 -0
- dmart/sample/spaces/applications/api/user/.dm/test_by_saad/meta.content.json +1 -0
- dmart/sample/spaces/applications/api/user/.dm/user_profile/meta.content.json +1 -0
- dmart/sample/spaces/applications/api/user/test_by_saad.json +1 -0
- dmart/sample/spaces/applications/api/user/user_profile.json +1 -0
- dmart/sample/spaces/applications/api/user_profile.json +1 -0
- dmart/sample/spaces/applications/api.json +1 -0
- dmart/sample/spaces/applications/collections/.dm/meta.folder.json +19 -0
- dmart/sample/spaces/applications/collections.json +1 -0
- dmart/sample/spaces/applications/configurations/.dm/meta.folder.json +1 -0
- dmart/sample/spaces/applications/configurations/time_out.json +1 -0
- dmart/sample/spaces/applications/configurations.json +19 -0
- dmart/sample/spaces/applications/errors.json +1 -0
- dmart/sample/spaces/applications/logs/.dm/meta.folder.json +1 -0
- dmart/sample/spaces/applications/logs.json +1 -0
- dmart/sample/spaces/applications/queries/.dm/meta.folder.json +1 -0
- dmart/sample/spaces/applications/queries/.dm/order/meta.content.json +1 -0
- dmart/sample/spaces/applications/queries/order.json +1 -0
- dmart/sample/spaces/applications/queries.json +1 -0
- dmart/sample/spaces/applications/schema/.dm/api/meta.schema.json +1 -0
- dmart/sample/spaces/applications/schema/.dm/configuration/meta.schema.json +1 -0
- dmart/sample/spaces/applications/schema/.dm/error/meta.schema.json +1 -0
- dmart/sample/spaces/applications/schema/.dm/log/meta.schema.json +1 -0
- dmart/sample/spaces/applications/schema/.dm/meta.folder.json +1 -0
- dmart/sample/spaces/applications/schema/.dm/query/meta.schema.json +16 -0
- dmart/sample/spaces/applications/schema/.dm/translation/meta.schema.json +1 -0
- dmart/sample/spaces/applications/schema/api.json +28 -0
- dmart/sample/spaces/applications/schema/configuration.json +1 -0
- dmart/sample/spaces/applications/schema/error.json +43 -0
- dmart/sample/spaces/applications/schema/log.json +1 -0
- dmart/sample/spaces/applications/schema/query.json +118 -0
- dmart/sample/spaces/applications/schema/translation.json +26 -0
- dmart/sample/spaces/applications/schema.json +1 -0
- dmart/sample/spaces/applications/translations/.dm/meta.folder.json +1 -0
- dmart/sample/spaces/applications/translations.json +1 -0
- dmart/sample/spaces/archive/.dm/meta.space.json +27 -0
- dmart/sample/spaces/custom_plugins/dummy/__pycache__/plugin.cpython-314.pyc +0 -0
- dmart/sample/spaces/custom_plugins/dummy/config.json +28 -0
- dmart/sample/spaces/custom_plugins/dummy/plugin.py +6 -0
- dmart/sample/spaces/custom_plugins/missed_entry/config.json +12 -0
- dmart/sample/spaces/custom_plugins/missed_entry/plugin.py +119 -0
- dmart/sample/spaces/custom_plugins/own_changed_notification/__pycache__/plugin.cpython-314.pyc +0 -0
- dmart/sample/spaces/custom_plugins/own_changed_notification/config.json +12 -0
- dmart/sample/spaces/custom_plugins/own_changed_notification/plugin.py +65 -0
- dmart/sample/spaces/custom_plugins/reports_stats/config.json +14 -0
- dmart/sample/spaces/custom_plugins/reports_stats/plugin.py +82 -0
- dmart/sample/spaces/custom_plugins/system_notification_sender/config.json +22 -0
- dmart/sample/spaces/custom_plugins/system_notification_sender/notification.py +268 -0
- dmart/sample/spaces/custom_plugins/system_notification_sender/plugin.py +98 -0
- dmart/sample/spaces/management/.dm/events.jsonl +32 -0
- dmart/sample/spaces/management/.dm/meta.space.json +48 -0
- dmart/sample/spaces/management/.dm/notifications/attachments.view.json/admin.json +36 -0
- dmart/sample/spaces/management/.dm/notifications/attachments.view.json/meta.admin.json +1 -0
- dmart/sample/spaces/management/.dm/notifications/attachments.view.json/meta.system.json +1 -0
- dmart/sample/spaces/management/.dm/notifications/attachments.view.json/system.json +32 -0
- dmart/sample/spaces/management/collections/.dm/meta.folder.json +1 -0
- dmart/sample/spaces/management/collections.json +1 -0
- dmart/sample/spaces/management/groups/.dm/meta.folder.json +1 -0
- dmart/sample/spaces/management/groups.json +1 -0
- dmart/sample/spaces/management/health_check/.dm/meta.folder.json +1 -0
- dmart/sample/spaces/management/health_check.json +1 -0
- dmart/sample/spaces/management/notifications/.dm/meta.folder.json +1 -0
- dmart/sample/spaces/management/notifications/admin/.dm/meta.folder.json +9 -0
- dmart/sample/spaces/management/notifications/system/.dm/meta.folder.json +9 -0
- dmart/sample/spaces/management/notifications.json +1 -0
- dmart/sample/spaces/management/permissions/.dm/access_applications/meta.permission.json +31 -0
- dmart/sample/spaces/management/permissions/.dm/access_applications_world/meta.permission.json +31 -0
- dmart/sample/spaces/management/permissions/.dm/access_messages/meta.permission.json +23 -0
- dmart/sample/spaces/management/permissions/.dm/access_personal/meta.permission.json +40 -0
- dmart/sample/spaces/management/permissions/.dm/access_protected/meta.permission.json +33 -0
- dmart/sample/spaces/management/permissions/.dm/access_public/meta.permission.json +24 -0
- dmart/sample/spaces/management/permissions/.dm/browse_all_folders/meta.permission.json +23 -0
- dmart/sample/spaces/management/permissions/.dm/create_log/meta.permission.json +24 -0
- dmart/sample/spaces/management/permissions/.dm/interviewer/meta.permission.json +1 -0
- dmart/sample/spaces/management/permissions/.dm/manage_applications/meta.permission.json +1 -0
- dmart/sample/spaces/management/permissions/.dm/manage_debug/meta.permission.json +25 -0
- dmart/sample/spaces/management/permissions/.dm/manage_spaces/meta.permission.json +24 -0
- dmart/sample/spaces/management/permissions/.dm/meta.folder.json +1 -0
- dmart/sample/spaces/management/permissions/.dm/rules_management_default/meta.permission.json +32 -0
- dmart/sample/spaces/management/permissions/.dm/super_manager/meta.permission.json +52 -0
- dmart/sample/spaces/management/permissions/.dm/view_activity_log/meta.permission.json +26 -0
- dmart/sample/spaces/management/permissions/.dm/view_collections/meta.permission.json +29 -0
- dmart/sample/spaces/management/permissions/.dm/view_logs/meta.permission.json +30 -0
- dmart/sample/spaces/management/permissions/.dm/view_roles/meta.permission.json +29 -0
- dmart/sample/spaces/management/permissions/.dm/view_users/meta.permission.json +25 -0
- dmart/sample/spaces/management/permissions/.dm/view_world/meta.permission.json +31 -0
- dmart/sample/spaces/management/permissions/.dm/world/meta.permission.json +35 -0
- dmart/sample/spaces/management/permissions.json +1 -0
- dmart/sample/spaces/management/requests.json +1 -0
- dmart/sample/spaces/management/roles/.dm/dummy/meta.role.json +12 -0
- dmart/sample/spaces/management/roles/.dm/logged_in/meta.role.json +18 -0
- dmart/sample/spaces/management/roles/.dm/manager/meta.role.json +13 -0
- dmart/sample/spaces/management/roles/.dm/meta.folder.json +1 -0
- dmart/sample/spaces/management/roles/.dm/moderator/meta.role.json +13 -0
- dmart/sample/spaces/management/roles/.dm/super_admin/meta.role.json +14 -0
- dmart/sample/spaces/management/roles/.dm/test_role/meta.role.json +13 -0
- dmart/sample/spaces/management/roles/.dm/world/meta.role.json +15 -0
- dmart/sample/spaces/management/roles.json +1 -0
- dmart/sample/spaces/management/schema/.dm/admin_notification_request/attachments.media/meta.ui_schema.json +10 -0
- dmart/sample/spaces/management/schema/.dm/admin_notification_request/attachments.media/ui_schema.json +32 -0
- dmart/sample/spaces/management/schema/.dm/admin_notification_request/meta.schema.json +1 -0
- dmart/sample/spaces/management/schema/.dm/api/meta.schema.json +1 -0
- dmart/sample/spaces/management/schema/.dm/folder_rendering/meta.schema.json +1 -0
- dmart/sample/spaces/management/schema/.dm/health_check/meta.schema.json +17 -0
- dmart/sample/spaces/management/schema/.dm/meta.folder.json +1 -0
- dmart/sample/spaces/management/schema/.dm/meta_schema/meta.schema.json +1 -0
- dmart/sample/spaces/management/schema/.dm/metafile/meta.schema.json +14 -0
- dmart/sample/spaces/management/schema/.dm/notification/meta.schema.json +1 -0
- dmart/sample/spaces/management/schema/.dm/system_notification_request/attachments.media/meta.ui_schema.json +10 -0
- dmart/sample/spaces/management/schema/.dm/system_notification_request/attachments.media/ui_schema.json +32 -0
- dmart/sample/spaces/management/schema/.dm/system_notification_request/meta.schema.json +1 -0
- dmart/sample/spaces/management/schema/.dm/view/meta.schema.json +1 -0
- dmart/sample/spaces/management/schema/.dm/workflow/meta.schema.json +1 -0
- dmart/sample/spaces/management/schema/admin_notification_request.json +89 -0
- dmart/sample/spaces/management/schema/api.json +1 -0
- dmart/sample/spaces/management/schema/folder_rendering.json +238 -0
- dmart/sample/spaces/management/schema/health_check.json +8 -0
- dmart/sample/spaces/management/schema/meta_schema.json +74 -0
- dmart/sample/spaces/management/schema/metafile.json +153 -0
- dmart/sample/spaces/management/schema/notification.json +28 -0
- dmart/sample/spaces/management/schema/system_notification_request.json +57 -0
- dmart/sample/spaces/management/schema/view.json +23 -0
- dmart/sample/spaces/management/schema/workflow.json +87 -0
- dmart/sample/spaces/management/schema.json +1 -0
- dmart/sample/spaces/management/users/.dm/alibaba/meta.user.json +23 -0
- dmart/sample/spaces/management/users/.dm/anonymous/meta.user.json +18 -0
- dmart/sample/spaces/management/users/.dm/dmart/meta.user.json +26 -0
- dmart/sample/spaces/management/users/.dm/meta.folder.json +14 -0
- dmart/sample/spaces/management/workflows/.dm/channel/meta.content.json +1 -0
- dmart/sample/spaces/management/workflows/.dm/meta.folder.json +1 -0
- dmart/sample/spaces/management/workflows/channel.json +148 -0
- dmart/sample/spaces/management/workflows.json +1 -0
- dmart/sample/spaces/maqola/.dm/meta.space.json +33 -0
- dmart/sample/spaces/personal/.dm/meta.space.json +24 -0
- dmart/sample/spaces/personal/people/.dm/meta.folder.json +1 -0
- dmart/sample/spaces/personal/people/dmart/.dm/meta.folder.json +1 -0
- dmart/sample/spaces/personal/people/dmart/messages/.dm/0b5f7e7f/meta.content.json +1 -0
- dmart/sample/spaces/personal/people/dmart/messages/.dm/meta.folder.json +1 -0
- dmart/sample/spaces/personal/people/dmart/messages/.dm/mytest/meta.content.json +1 -0
- dmart/sample/spaces/personal/people/dmart/messages/0b5f7e7f.json +1 -0
- dmart/sample/spaces/personal/people/dmart/messages/mytest.json +1 -0
- dmart/sample/spaces/personal/people/dmart/notifications/.dm/meta.folder.json +1 -0
- dmart/sample/spaces/personal/people/dmart/private/.dm/inner/meta.content.json +1 -0
- dmart/sample/spaces/personal/people/dmart/private/.dm/meta.folder.json +1 -0
- dmart/sample/spaces/personal/people/dmart/private/inner.json +1 -0
- dmart/sample/spaces/personal/people/dmart/protected/.dm/avatar/meta.content.json +1 -0
- dmart/sample/spaces/personal/people/dmart/protected/.dm/meta.folder.json +1 -0
- dmart/sample/spaces/personal/people/dmart/protected/avatar.png +0 -0
- dmart/sample/spaces/personal/people/dmart/public/.dm/meta.folder.json +1 -0
- dmart/sample/test/.gitignore +2 -0
- dmart/sample/test/createcontent.json +9 -0
- dmart/sample/test/createmedia.json +9 -0
- dmart/sample/test/createmedia_entry.json +6 -0
- dmart/sample/test/createschema.json +8 -0
- dmart/sample/test/createschemawork.json +11 -0
- dmart/sample/test/createticket.json +13 -0
- dmart/sample/test/data.json +4 -0
- dmart/sample/test/deletecontent.json +12 -0
- dmart/sample/test/logo.jpeg +0 -0
- dmart/sample/test/my.jpg +0 -0
- dmart/sample/test/myticket.json +23 -0
- dmart/sample/test/resources.csv +12 -0
- dmart/sample/test/schema.json +16 -0
- dmart/sample/test/temp.json +1 -0
- dmart/sample/test/test.dmart +45 -0
- dmart/sample/test/ticket_schema.json +23 -0
- dmart/sample/test/ticket_workflow.json +85 -0
- dmart/sample/test/ticketbody.json +4 -0
- dmart/sample/test/ticketcontent.json +14 -0
- dmart/sample/test/updatecontent.json +20 -0
- dmart/sample/test/workflow_schema.json +68 -0
- dmart/set_admin_passwd.py +3 -14
- {dmart-1.4.40.post5.dist-info → dmart-1.4.40.post7.dist-info}/METADATA +1 -1
- dmart-1.4.40.post7.dist-info/RECORD +489 -0
- dmart-1.4.40.post5.dist-info/RECORD +0 -287
- {dmart-1.4.40.post5.dist-info → dmart-1.4.40.post7.dist-info}/WHEEL +0 -0
- {dmart-1.4.40.post5.dist-info → dmart-1.4.40.post7.dist-info}/entry_points.txt +0 -0
- {dmart-1.4.40.post5.dist-info → dmart-1.4.40.post7.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "Ticket Workflow Schema",
|
|
3
|
+
"description": "Ticket Workflow Schema description",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"additionalProperties": false,
|
|
6
|
+
"properties": {
|
|
7
|
+
"initial_state": {
|
|
8
|
+
"type": "array",
|
|
9
|
+
"items": {
|
|
10
|
+
"type": "object",
|
|
11
|
+
"properties": {
|
|
12
|
+
"name": {
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
"roles": {
|
|
16
|
+
"type": "array",
|
|
17
|
+
"items": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": []
|
|
23
|
+
},
|
|
24
|
+
"description": "state description"
|
|
25
|
+
},
|
|
26
|
+
"name": {
|
|
27
|
+
"title": "name",
|
|
28
|
+
"description": "name description",
|
|
29
|
+
"type": "string"
|
|
30
|
+
},
|
|
31
|
+
"illustration": {
|
|
32
|
+
"title": "description",
|
|
33
|
+
"description": "description description",
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
"states": {
|
|
37
|
+
"type": "array",
|
|
38
|
+
"items": {
|
|
39
|
+
"title": "transition",
|
|
40
|
+
"description": "name description",
|
|
41
|
+
"type": "object",
|
|
42
|
+
"properties": {
|
|
43
|
+
"name": {
|
|
44
|
+
"title": "name",
|
|
45
|
+
"description": "name description",
|
|
46
|
+
"type": "string"
|
|
47
|
+
},
|
|
48
|
+
"state": {
|
|
49
|
+
"title": "state",
|
|
50
|
+
"description": "current description",
|
|
51
|
+
"type": "string"
|
|
52
|
+
},
|
|
53
|
+
"next": {
|
|
54
|
+
"title": "next",
|
|
55
|
+
"description": "List of next possible sstate stransitions",
|
|
56
|
+
"type": "array",
|
|
57
|
+
"items": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"role": {
|
|
61
|
+
"title": "role",
|
|
62
|
+
"description": "user role",
|
|
63
|
+
"type": "string"
|
|
64
|
+
},
|
|
65
|
+
"action": {
|
|
66
|
+
"title": "action",
|
|
67
|
+
"description": "The action required to apply this change",
|
|
68
|
+
"type": "string"
|
|
69
|
+
},
|
|
70
|
+
"state": {
|
|
71
|
+
"title": "Next state",
|
|
72
|
+
"description": "The next state of the ticket once the action is applied",
|
|
73
|
+
"type": "string"
|
|
74
|
+
},
|
|
75
|
+
"resolutions": {
|
|
76
|
+
"title": "Next state",
|
|
77
|
+
"description": "The next state of the ticket once the action is applied",
|
|
78
|
+
"type": "string"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"shortname_title": "Schema Shortname", "content_schema_shortnames": [], "index_attributes": [{"key": "shortname", "name": "Schema Shortname"}, {"key": "title", "name": "Title"}], "allow_create": true, "allow_update": true, "allow_delete": true, "use_media": false, "content_resource_types": []}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"uuid": "62b4747a-0ad5-47d6-8993-95ad3108e227",
|
|
3
|
+
"shortname": "alibaba",
|
|
4
|
+
"is_active": true,
|
|
5
|
+
"displayname": {
|
|
6
|
+
"en": "New display name"
|
|
7
|
+
},
|
|
8
|
+
"tags": [],
|
|
9
|
+
"created_at": "2023-03-08T10:37:48.287754",
|
|
10
|
+
"updated_at": "2023-09-14T09:17:27.591156",
|
|
11
|
+
"owner_shortname": "alibaba",
|
|
12
|
+
"password": "$argon2id$v=19$m=102400,t=1,p=8$i59MbJ58mqnecAtCdoovQQ$muIKQ+1K/YqsbAZ73LW5vLDHdjA25MENayww0243qZQ",
|
|
13
|
+
"email": "new@email.com",
|
|
14
|
+
"is_email_verified": false,
|
|
15
|
+
"is_msisdn_verified": true,
|
|
16
|
+
"force_password_change": false,
|
|
17
|
+
"type": "web",
|
|
18
|
+
"roles": [
|
|
19
|
+
"super_admin"
|
|
20
|
+
],
|
|
21
|
+
"groups": [],
|
|
22
|
+
"language": "arabic"
|
|
23
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"uuid": "ff224852-c982-4c46-8b30-33ad2a8dbb05",
|
|
3
|
+
"shortname": "anonymous",
|
|
4
|
+
"is_active": false,
|
|
5
|
+
"tags": [],
|
|
6
|
+
"created_at": "2023-03-08T10:31:31.661977",
|
|
7
|
+
"updated_at": "2023-03-08T10:31:31.661980",
|
|
8
|
+
"owner_shortname": "anonymous",
|
|
9
|
+
"password": "b66ae35ddfb985674ffbc54fba82fc53c5a5b18b706dc41169243d11eaa695dc",
|
|
10
|
+
"msisdn": "7834414331",
|
|
11
|
+
"is_email_verified": false,
|
|
12
|
+
"is_msisdn_verified": false,
|
|
13
|
+
"force_password_change": true,
|
|
14
|
+
"type": "web",
|
|
15
|
+
"roles": ["world"],
|
|
16
|
+
"groups": [],
|
|
17
|
+
"language": "arabic"
|
|
18
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"uuid": "96175d0d-32db-43e5-974e-f5f813185a94",
|
|
3
|
+
"shortname": "dmart",
|
|
4
|
+
"is_active": true,
|
|
5
|
+
"displayname": {
|
|
6
|
+
"en": "Dmart Manager",
|
|
7
|
+
"ar": "\u0627\u0644\u0645\u064f\u062f\u064a\u0631",
|
|
8
|
+
"ku": ""
|
|
9
|
+
},
|
|
10
|
+
"tags": [],
|
|
11
|
+
"created_at": "2023-01-03T11:39:02.536583",
|
|
12
|
+
"updated_at": "2023-08-17T16:17:50.474580",
|
|
13
|
+
"owner_shortname": "dmart",
|
|
14
|
+
"password": "$argon2id$v=19$m=102400,t=1,p=8$FQkIWG7RYjRvJRBkdYf+cA$94q8kwPyDKgVaaDvOzrG5xu/wx8t/lHC6V2c7scNkzs",
|
|
15
|
+
"email": "dmart@dmart.com",
|
|
16
|
+
"msisdn": "7809812340",
|
|
17
|
+
"is_email_verified": true,
|
|
18
|
+
"is_msisdn_verified": true,
|
|
19
|
+
"force_password_change": false,
|
|
20
|
+
"type": "web",
|
|
21
|
+
"roles": [
|
|
22
|
+
"super_admin"
|
|
23
|
+
],
|
|
24
|
+
"groups": [],
|
|
25
|
+
"language": "arabic"
|
|
26
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"uuid": "a8f938e0-8dd6-428b-abfe-4d6f7187178b",
|
|
3
|
+
"shortname": "users",
|
|
4
|
+
"is_active": true,
|
|
5
|
+
"description": {
|
|
6
|
+
"en": "Users",
|
|
7
|
+
"ar": "Users",
|
|
8
|
+
"ku": "Users"
|
|
9
|
+
},
|
|
10
|
+
"tags": [],
|
|
11
|
+
"created_at": "2022-08-23T07:44:36.399780",
|
|
12
|
+
"updated_at": "2022-12-26T09:49:54.593831",
|
|
13
|
+
"owner_shortname": "dmart"
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"uuid": "aa6d72ac-f962-4b20-90b1-9b7641cdaea6", "shortname": "channel", "is_active": false, "tags": [], "created_at": "2022-12-29T10:54:58.347196", "updated_at": "2023-02-20T19:44:36.780019", "owner_shortname": "dmart", "payload": {"content_type": "json", "schema_shortname": "workflow", "body": "channel.json", "last_validated": "2023-05-04T22:55:48.487204", "validation_status": "valid"}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"uuid": "ffb786f0-c46b-4d54-be1c-678df0e8b036", "shortname": "workflows", "is_active": true, "tags": [], "created_at": "2022-09-28T12:02:52.148273", "updated_at": "2023-01-04T10:46:45.292943", "owner_shortname": "dmart", "payload": {"content_type": "json", "schema_shortname": "folder_rendering", "body": "workflows.json", "last_validated": "2023-01-04T10:46:45.285935", "validation_status": "valid"}}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Channel",
|
|
3
|
+
"illustration": "channel",
|
|
4
|
+
"initial_state": [
|
|
5
|
+
{
|
|
6
|
+
"name": "new",
|
|
7
|
+
"roles": [
|
|
8
|
+
"default"
|
|
9
|
+
]
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"states": [
|
|
13
|
+
{
|
|
14
|
+
"name": "New",
|
|
15
|
+
"state": "new",
|
|
16
|
+
"next": [
|
|
17
|
+
{
|
|
18
|
+
"roles": [
|
|
19
|
+
"account_manager"
|
|
20
|
+
],
|
|
21
|
+
"state": "pending",
|
|
22
|
+
"action": "submit"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "approved",
|
|
28
|
+
"state": "approved",
|
|
29
|
+
"next": [
|
|
30
|
+
{
|
|
31
|
+
"roles": [
|
|
32
|
+
"backoffice"
|
|
33
|
+
],
|
|
34
|
+
"state": "completed",
|
|
35
|
+
"action": "complete"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"roles": [
|
|
39
|
+
"backoffice"
|
|
40
|
+
],
|
|
41
|
+
"state": "failed",
|
|
42
|
+
"action": "fail"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"roles": [
|
|
46
|
+
"account_manager"
|
|
47
|
+
],
|
|
48
|
+
"state": "pending",
|
|
49
|
+
"action": "update"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "Pending",
|
|
55
|
+
"state": "pending",
|
|
56
|
+
"next": [
|
|
57
|
+
{
|
|
58
|
+
"roles": [
|
|
59
|
+
"backoffice"
|
|
60
|
+
],
|
|
61
|
+
"state": "rejected",
|
|
62
|
+
"action": "reject"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"roles": [
|
|
66
|
+
"backoffice"
|
|
67
|
+
],
|
|
68
|
+
"state": "approved",
|
|
69
|
+
"action": "approve"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "Rejected",
|
|
75
|
+
"state": "rejected",
|
|
76
|
+
"next": [
|
|
77
|
+
{
|
|
78
|
+
"roles": [
|
|
79
|
+
"account_manager"
|
|
80
|
+
],
|
|
81
|
+
"state": "pending",
|
|
82
|
+
"action": "re_submit"
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
"resolutions": [
|
|
86
|
+
{
|
|
87
|
+
"key": "owner_name_not_match",
|
|
88
|
+
"en": "Owner Name Not Match",
|
|
89
|
+
"ar": "اسم صاحب نقطة البيع غير مطابق",
|
|
90
|
+
"ku": "ناوی خاوەنی بنکەی فرۆشتن هاوشێوە نییە"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"key": "missing_documents",
|
|
94
|
+
"en": "Missing Documents",
|
|
95
|
+
"ar": "نقص مستمسكات",
|
|
96
|
+
"ku": "بەڵگەنامەکان تەواو نین"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"key": "non_usim",
|
|
100
|
+
"en": "NON USIM",
|
|
101
|
+
"ar": "الشريحة لا تدعم الــ 4G",
|
|
102
|
+
"ku": "سیمکارت لەگەڵ 4G ناگونجێت"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"key": "sim_status_is_not_eligible",
|
|
106
|
+
"en": "SIM status is not eligible",
|
|
107
|
+
"ar": "حاله الشريحة لا تسمح بإضافة الخدمة",
|
|
108
|
+
"ku": "باری سیمکارتەکە رێگا نادات خزمەتگوزارییەکە زیادبکرێت"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"key": "expire_commitment",
|
|
112
|
+
"en": "Expire Commitment",
|
|
113
|
+
"ar": "نفاذ صلاحية التعهد",
|
|
114
|
+
"ku": "بەڵێننامە بەسەرچووە"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"key": "channel_ticket_info_not_match",
|
|
118
|
+
"en": "Channel Ticket info not match",
|
|
119
|
+
"ar": "معلومات المكتب غير مطابقة",
|
|
120
|
+
"ku": "زانیارییەکانی تیکت هاوشێوە نین"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"key": "Others",
|
|
124
|
+
"en": "Others",
|
|
125
|
+
"ar": "أخرى",
|
|
126
|
+
"ku": "هی دیکە"
|
|
127
|
+
}
|
|
128
|
+
]
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"name": "Completed",
|
|
132
|
+
"state": "completed",
|
|
133
|
+
"next": [
|
|
134
|
+
{
|
|
135
|
+
"roles": [
|
|
136
|
+
"account_manager"
|
|
137
|
+
],
|
|
138
|
+
"state": "pending",
|
|
139
|
+
"action": "update"
|
|
140
|
+
}
|
|
141
|
+
]
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"name": "Failed",
|
|
145
|
+
"state": "failed"
|
|
146
|
+
}
|
|
147
|
+
]
|
|
148
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"shortname_title": "Name", "content_schema_shortnames": [], "index_attributes": [{"key": "shortname", "name": "name"}], "allow_create": true, "allow_update": true, "allow_delete": false, "use_media": true, "filter": [], "allow_view": true}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"uuid": "01d4dcd6-05ab-43cb-807d-1fd6fad24afb",
|
|
3
|
+
"shortname": "maqola",
|
|
4
|
+
"is_active": false,
|
|
5
|
+
"displayname": {
|
|
6
|
+
"en": "Maqola",
|
|
7
|
+
"ar": "\u0645\u0642\u0648\u0644\u0629"
|
|
8
|
+
},
|
|
9
|
+
"description": {
|
|
10
|
+
"ar": "\u0645\u0648\u0642\u0639 \u0627\u0644\u0645\u0642\u0648\u0644\u0627\u062a \u0627\u0644\u0639\u0631\u0628\u064a\u0629"
|
|
11
|
+
},
|
|
12
|
+
"tags": [],
|
|
13
|
+
"created_at": "2023-07-05T13:54:33.584382",
|
|
14
|
+
"updated_at": "2023-07-05T13:54:40.160422",
|
|
15
|
+
"owner_shortname": "dmart",
|
|
16
|
+
"root_registration_signature": "",
|
|
17
|
+
"primary_website": "https://maqola.imx.sh",
|
|
18
|
+
"indexing_enabled": true,
|
|
19
|
+
"capture_misses": false,
|
|
20
|
+
"check_health": true,
|
|
21
|
+
"languages": [
|
|
22
|
+
"arabic"
|
|
23
|
+
],
|
|
24
|
+
"icon": "",
|
|
25
|
+
"mirrors": [],
|
|
26
|
+
"hide_folders": [],
|
|
27
|
+
"active_plugins": [
|
|
28
|
+
"action_log",
|
|
29
|
+
"redis_db_update",
|
|
30
|
+
"realtime_updates_notifier"
|
|
31
|
+
],
|
|
32
|
+
"ordinal": 11
|
|
33
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"shortname": "personal",
|
|
3
|
+
"owner_shortname": "dmart",
|
|
4
|
+
"displayname": {"en":"Personal"},
|
|
5
|
+
"description": {"en":"Personal space"},
|
|
6
|
+
"uuid": "e6d4dd9f-7dac-4b8c-b399-f822351759f1",
|
|
7
|
+
"resource_type": "Space",
|
|
8
|
+
"languages": [
|
|
9
|
+
"english"
|
|
10
|
+
],
|
|
11
|
+
"primary_website": "https://dmart.cc",
|
|
12
|
+
"indexing_enabled": true,
|
|
13
|
+
"capture_misses": false,
|
|
14
|
+
"mirrors": [],
|
|
15
|
+
"check_health": true,
|
|
16
|
+
"hide_space": true,
|
|
17
|
+
"active_plugins": [
|
|
18
|
+
"action_log",
|
|
19
|
+
"redis_db_update",
|
|
20
|
+
"system_notification_sender",
|
|
21
|
+
"reports_stats"
|
|
22
|
+
],
|
|
23
|
+
"ordinal": 3
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"uuid": "6d631a98-1bdc-4c34-94f1-b8a3a4103ef0", "shortname": "people", "is_active": true, "tags": [], "created_at": "2022-08-23T07:44:36.399780", "updated_at": "2022-11-04T15:49:43.709426", "owner_shortname": "dmart"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"uuid": "23bc4074-9112-4402-a21b-dc98021683ec", "shortname": "dmart", "is_active": true, "tags": [], "created_at": "2022-08-23T07:44:36.399780", "updated_at": "2023-07-24T14:49:01.022952", "owner_shortname": "dmart"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"uuid": "0b5f7e7f-db5a-49c5-b95f-f8bfd2757b2f", "shortname": "0b5f7e7f", "is_active": true, "tags": [], "created_at": "2023-08-02T23:39:35.694239", "updated_at": "2023-08-02T23:39:35.694254", "owner_shortname": "dmart", "payload": {"content_type": "json", "schema_shortname": "", "body": "0b5f7e7f.json"}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"uuid": "845e00ec-56a6-42ef-8836-51a5b4dfe587", "shortname": "messages", "is_active": true, "tags": [], "created_at": "2023-08-01T14:43:49.728589", "updated_at": "2023-08-01T14:43:49.728591", "owner_shortname": "dmart"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"uuid": "0eeb80cf-8bc6-4580-99f9-9c9fb15b61e4", "shortname": "mytest", "is_active": true, "tags": [], "created_at": "2023-08-02T23:39:35.145853", "updated_at": "2023-08-04T02:25:15.691448", "owner_shortname": "dmart", "payload": {"content_type": "json", "schema_shortname": "", "body": "mytest.json"}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"hello": "world"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"hello": "world", "yes": "it is"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"uuid": "fdff2be7-72cd-47c1-976d-fe57e6c7ff5b", "shortname": "notifications", "is_active": true, "tags": [], "created_at": "2023-08-01T14:43:49.725550", "updated_at": "2023-08-01T14:43:49.725552", "owner_shortname": "dmart"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"uuid": "e40aba18-a3a8-420d-bd78-428c15152f3b", "shortname": "inner", "is_active": true, "tags": [], "created_at": "2023-08-02T23:44:53.023767", "updated_at": "2023-08-02T23:44:53.023781", "owner_shortname": "dmart", "payload": {"content_type": "json", "schema_shortname": "", "body": "inner.json"}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"uuid": "8d7e3012-020b-43a9-8536-94dde6099d22", "shortname": "private", "is_active": true, "tags": [], "created_at": "2023-08-01T14:31:21.844764", "updated_at": "2023-08-01T14:31:21.844766", "owner_shortname": "dmart"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"one": "world"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"uuid": "88455560-93c1-4a01-96e0-49644dfed6df", "shortname": "avatar", "is_active": true, "tags": [], "created_at": "2023-05-01T13:17:22.903704", "updated_at": "2023-05-01T13:17:22.903706", "owner_shortname": "dmart", "payload": {"content_type": "image", "checksum": "ef490328a1d2c9c41d8d0b2d0e268f1b62bfb543", "body": "avatar.png"}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"uuid": "ded3237e-645d-4aa7-afd6-e33969efcb66", "shortname": "protected", "is_active": true, "tags": [], "created_at": "2023-08-01T14:43:49.727125", "updated_at": "2023-08-01T14:43:49.727128", "owner_shortname": "dmart"}
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"uuid": "d30c81e4-aa56-4a45-9a79-558cde6701d5", "shortname": "public", "is_active": true, "tags": [], "created_at": "2023-08-01T14:43:49.727125", "updated_at": "2023-08-01T14:43:49.727128", "owner_shortname": "dmart"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
|
|
2
|
+
{
|
|
3
|
+
"resource_type": "content",
|
|
4
|
+
"subpath": "/workflows",
|
|
5
|
+
"shortname": "myworkflow",
|
|
6
|
+
"attributes": {
|
|
7
|
+
"is_active": true,
|
|
8
|
+
"payload": {
|
|
9
|
+
"schema_shortname": "ticket_workflows",
|
|
10
|
+
"content_type": "json",
|
|
11
|
+
"body": "ticket_workflow.json"}}
|
|
12
|
+
}
|
|
13
|
+
|
|
Binary file
|
dmart/sample/test/my.jpg
ADDED
|
Binary file
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"space_name": "test",
|
|
3
|
+
"request_type": "create",
|
|
4
|
+
"records": [
|
|
5
|
+
{
|
|
6
|
+
"resource_type": "ticket",
|
|
7
|
+
"subpath": "/mytickets",
|
|
8
|
+
"shortname": "an_example",
|
|
9
|
+
"attributes": {
|
|
10
|
+
"workflow_shortname": "myworkflow",
|
|
11
|
+
"is_active": true,
|
|
12
|
+
"payload": {
|
|
13
|
+
"schema_shortname": "ticket",
|
|
14
|
+
"content_type": "json",
|
|
15
|
+
"body": {
|
|
16
|
+
"assigne_shortname": "alibaba",
|
|
17
|
+
"ticket_type": "story"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"resource_type": "schema", "subpath": "schema", "shortname": "ticket", "attributes": {"schema_shortname": "meta_schema", "is_active": true}}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
VAR $path ./
|
|
2
|
+
|
|
3
|
+
// 1. Create space
|
|
4
|
+
// create space test
|
|
5
|
+
|
|
6
|
+
switch test
|
|
7
|
+
/*
|
|
8
|
+
cd mytickets
|
|
9
|
+
rm an_example
|
|
10
|
+
|
|
11
|
+
cd ..
|
|
12
|
+
|
|
13
|
+
cd workflows
|
|
14
|
+
rm myworkflow
|
|
15
|
+
|
|
16
|
+
cd ..
|
|
17
|
+
|
|
18
|
+
rm mytickets
|
|
19
|
+
rm workflows
|
|
20
|
+
*/
|
|
21
|
+
// 2. Create folders : e.g. mytickets
|
|
22
|
+
// create folder test
|
|
23
|
+
// create folder workflows
|
|
24
|
+
|
|
25
|
+
// 3. Create schema entries (of type schema) : e.g. workflow and mycustomticket
|
|
26
|
+
// upload schema workflow $path/workflow_schema.json
|
|
27
|
+
// upload schema ticket $path/ticket_schema.json
|
|
28
|
+
// query schema
|
|
29
|
+
|
|
30
|
+
// 4. Create workflow entry (of type content) : e.g. myworkflow
|
|
31
|
+
// request content ./ticket_workflow.json
|
|
32
|
+
// query workflows
|
|
33
|
+
|
|
34
|
+
// 5. Create ticket entry (of type ticket) : e.g. myticket
|
|
35
|
+
request content ./myticket.json
|
|
36
|
+
// query mytickets
|
|
37
|
+
|
|
38
|
+
// 6. Attache file to a ticket
|
|
39
|
+
// attach my mytickets/an_example media ./my.jpg
|
|
40
|
+
|
|
41
|
+
// 7. Progress the ticket
|
|
42
|
+
// progress mytickets an_example planned
|
|
43
|
+
|
|
44
|
+
/*
|
|
45
|
+
*/
|