@openinc/parse-server-opendash 3.31.25 → 3.32.0

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 (206) hide show
  1. package/dist/features/cloudcode/classes/CloudCodeClass.d.ts +10 -0
  2. package/dist/features/cloudcode/classes/CloudCodeClass.js +24 -0
  3. package/dist/features/cloudcode/helper/checkCloudCodeFunction.d.ts +7 -0
  4. package/dist/features/cloudcode/helper/checkCloudCodeFunction.js +14 -0
  5. package/dist/features/cloudcode/index.d.ts +3 -0
  6. package/dist/features/cloudcode/index.js +11 -0
  7. package/dist/features/cloudcode/services/loadCloudCode.d.ts +9 -0
  8. package/dist/features/cloudcode/services/loadCloudCode.js +44 -0
  9. package/dist/features/cloudcode/types/CloudCodeFunction.d.ts +7 -0
  10. package/dist/features/cloudcode/types/CloudCodeFunction.js +2 -0
  11. package/dist/features/config/helper/getConfig.d.ts +18 -0
  12. package/dist/features/config/helper/getConfig.js +36 -0
  13. package/dist/features/config/index.d.ts +1 -0
  14. package/dist/features/config/index.js +4 -1
  15. package/dist/features/openservice/functions/assignUsersAndRoles.js +3 -1
  16. package/dist/features/permissions/helper/ensurePermission.d.ts +10 -0
  17. package/dist/features/permissions/helper/ensurePermission.js +34 -0
  18. package/dist/features/permissions/helper/hasPermission.d.ts +7 -0
  19. package/dist/features/permissions/helper/hasPermission.js +16 -0
  20. package/dist/features/permissions/helper/requirePermission.d.ts +13 -0
  21. package/dist/features/permissions/helper/requirePermission.js +28 -0
  22. package/dist/features/permissions/index.d.ts +3 -0
  23. package/dist/features/permissions/index.js +7 -1
  24. package/dist/features/schema/classes/SchemaClass.d.ts +9 -0
  25. package/dist/features/schema/classes/SchemaClass.js +24 -0
  26. package/dist/features/schema/helper/defaultHandler.d.ts +33 -0
  27. package/dist/features/schema/helper/defaultHandler.js +106 -0
  28. package/dist/features/schema/helper/ensureRole.d.ts +17 -0
  29. package/dist/features/schema/helper/ensureRole.js +68 -0
  30. package/dist/features/schema/helper/ensureUserRole.d.ts +7 -0
  31. package/dist/features/schema/helper/ensureUserRole.js +25 -0
  32. package/dist/features/schema/helper/immutableField.d.ts +16 -0
  33. package/dist/features/schema/helper/immutableField.js +26 -0
  34. package/dist/features/schema/helper/isClassEnabled.d.ts +1 -0
  35. package/dist/features/schema/helper/isClassEnabled.js +18 -0
  36. package/dist/features/schema/index.d.ts +12 -0
  37. package/dist/features/schema/index.js +41 -0
  38. package/dist/features/schema/services/afterDeleteHook.d.ts +13 -0
  39. package/dist/features/schema/services/afterDeleteHook.js +28 -0
  40. package/dist/features/schema/services/afterSaveHook.d.ts +12 -0
  41. package/dist/features/schema/services/afterSaveHook.js +27 -0
  42. package/dist/features/schema/services/beforeDeleteHook.d.ts +11 -0
  43. package/dist/features/schema/services/beforeDeleteHook.js +26 -0
  44. package/dist/features/schema/services/beforeSaveHook.d.ts +12 -0
  45. package/dist/features/schema/services/beforeSaveHook.js +27 -0
  46. package/dist/features/schema/services/initDefaultData.d.ts +1 -0
  47. package/dist/features/schema/services/initDefaultData.js +45 -0
  48. package/dist/features/schema/services/initDefaultRoles.d.ts +1 -0
  49. package/dist/features/schema/services/initDefaultRoles.js +16 -0
  50. package/dist/features/schema/services/initSchema.d.ts +1 -0
  51. package/dist/features/schema/services/initSchema.js +32 -0
  52. package/dist/features/schema/types/hookTypes.d.ts +13 -0
  53. package/dist/features/schema/types/hookTypes.js +2 -0
  54. package/dist/features/webpush/index.d.ts +1 -0
  55. package/dist/features/webpush/index.js +5 -0
  56. package/dist/features/webpush/services/initWebPush.d.ts +1 -0
  57. package/dist/features/webpush/services/initWebPush.js +20 -0
  58. package/dist/functions/getSchemaForAdmin.js +2 -2
  59. package/dist/hooks/Alarm.js +4 -4
  60. package/dist/hooks/AlarmAction.js +4 -4
  61. package/dist/hooks/AlarmWebhook.js +4 -4
  62. package/dist/hooks/Assets.js +6 -6
  63. package/dist/hooks/Attachment.js +5 -5
  64. package/dist/hooks/BDE_Form.js +3 -3
  65. package/dist/hooks/BDE_List.js +3 -3
  66. package/dist/hooks/BDE_ListEntry.js +3 -3
  67. package/dist/hooks/BDE_Page.js +4 -4
  68. package/dist/hooks/BDE_Result.js +3 -3
  69. package/dist/hooks/BDE_Unit.js +3 -3
  70. package/dist/hooks/Company.js +5 -5
  71. package/dist/hooks/Config.js +4 -4
  72. package/dist/hooks/Config_open_service.js +4 -4
  73. package/dist/hooks/Contact.js +5 -5
  74. package/dist/hooks/Core_Email.js +2 -2
  75. package/dist/hooks/Core_Token.js +2 -2
  76. package/dist/hooks/Dashboard.js +4 -4
  77. package/dist/hooks/Documentation_Category.js +5 -5
  78. package/dist/hooks/Documentation_Config.js +6 -6
  79. package/dist/hooks/Documentation_Document.js +5 -5
  80. package/dist/hooks/GTFS_Agency.js +5 -5
  81. package/dist/hooks/GTFS_Bikes_Allowed.js +5 -5
  82. package/dist/hooks/GTFS_Calendar.js +5 -5
  83. package/dist/hooks/GTFS_Direction.js +5 -5
  84. package/dist/hooks/GTFS_Level.js +5 -5
  85. package/dist/hooks/GTFS_Location_Type.js +5 -5
  86. package/dist/hooks/GTFS_Route.js +5 -5
  87. package/dist/hooks/GTFS_Route_Type.js +5 -5
  88. package/dist/hooks/GTFS_Stop.js +5 -5
  89. package/dist/hooks/GTFS_Stop_Times.js +5 -5
  90. package/dist/hooks/GTFS_Trip.js +5 -5
  91. package/dist/hooks/GTFS_Wheelchair_Accessible.js +5 -5
  92. package/dist/hooks/GTFS_Wheelchair_Boarding.js +5 -5
  93. package/dist/hooks/Knowledge_Article.js +5 -5
  94. package/dist/hooks/Knowledge_Category.js +5 -5
  95. package/dist/hooks/Knowledge_Chat.js +5 -5
  96. package/dist/hooks/Knowledge_ChatMessage.js +5 -5
  97. package/dist/hooks/Knowledge_Document.js +7 -7
  98. package/dist/hooks/Knowledge_DocumentPage.js +6 -6
  99. package/dist/hooks/Knowledge_Video.js +5 -5
  100. package/dist/hooks/Language.js +5 -5
  101. package/dist/hooks/Log.js +5 -5
  102. package/dist/hooks/MES_Article.js +5 -5
  103. package/dist/hooks/MES_Order.js +5 -5
  104. package/dist/hooks/MES_OrderPlan.js +5 -5
  105. package/dist/hooks/MIAAS_MDSEndpoint.js +5 -5
  106. package/dist/hooks/ML_DataSelection.js +5 -5
  107. package/dist/hooks/MailTemplate.js +5 -5
  108. package/dist/hooks/Maintenance_Downtime.js +5 -5
  109. package/dist/hooks/Maintenance_Duedate.js +5 -5
  110. package/dist/hooks/Maintenance_Frequency.js +5 -5
  111. package/dist/hooks/Maintenance_Issuecategory.js +5 -5
  112. package/dist/hooks/Maintenance_Item.js +5 -5
  113. package/dist/hooks/Maintenance_Kanban_State.js +5 -5
  114. package/dist/hooks/Maintenance_Media.js +5 -5
  115. package/dist/hooks/Maintenance_Message.js +5 -5
  116. package/dist/hooks/Maintenance_Order.js +5 -5
  117. package/dist/hooks/Maintenance_Priority.js +5 -5
  118. package/dist/hooks/Maintenance_Project.js +5 -5
  119. package/dist/hooks/Maintenance_Restriction.js +5 -5
  120. package/dist/hooks/Maintenance_Schedule.js +6 -6
  121. package/dist/hooks/Maintenance_Schedule_Execution.js +5 -5
  122. package/dist/hooks/Maintenance_Schedule_Execution_Step.js +5 -5
  123. package/dist/hooks/Maintenance_Schedule_Step.js +5 -5
  124. package/dist/hooks/Maintenance_Schedule_Template.js +7 -7
  125. package/dist/hooks/Maintenance_Source_File.js +5 -5
  126. package/dist/hooks/Maintenance_Ticket.js +5 -5
  127. package/dist/hooks/Maintenance_Ticket_Assignment.js +5 -5
  128. package/dist/hooks/Maintenance_Ticket_FormConfig.js +5 -5
  129. package/dist/hooks/Maintenance_Ticket_Issuecategory.js +5 -5
  130. package/dist/hooks/Maintenance_Ticket_Kanban_State.js +7 -6
  131. package/dist/hooks/Maintenance_Ticket_Kanban_State_Current.js +5 -5
  132. package/dist/hooks/Maintenance_Ticket_Material.js +5 -5
  133. package/dist/hooks/Maintenance_Ticket_Project.js +5 -5
  134. package/dist/hooks/Maintenance_Ticket_QR_Code.js +5 -5
  135. package/dist/hooks/Maintenance_Ticket_Source.js +5 -5
  136. package/dist/hooks/Maintenance_Ticket_Title.js +5 -5
  137. package/dist/hooks/Monitoring_DataHierachies.js +5 -5
  138. package/dist/hooks/Monitoring_Jobs.js +5 -5
  139. package/dist/hooks/Monitoring_ParseTableSensor.js +5 -5
  140. package/dist/hooks/Monitoring_ReportImage.js +5 -5
  141. package/dist/hooks/Monitoring_Slideshow.js +4 -4
  142. package/dist/hooks/NavigationGroup.js +4 -4
  143. package/dist/hooks/NavigationItem.js +4 -4
  144. package/dist/hooks/Notification.js +6 -6
  145. package/dist/hooks/Notification_Setting.js +5 -5
  146. package/dist/hooks/OWPlcDevice.js +3 -3
  147. package/dist/hooks/OWPlcItem.js +3 -3
  148. package/dist/hooks/Permission.js +5 -5
  149. package/dist/hooks/Push.js +4 -4
  150. package/dist/hooks/Report.js +4 -4
  151. package/dist/hooks/Share.js +4 -4
  152. package/dist/hooks/Source.js +9 -8
  153. package/dist/hooks/SourceMeta.js +4 -4
  154. package/dist/hooks/Tenant.js +7 -7
  155. package/dist/hooks/TenantMeta.js +5 -5
  156. package/dist/hooks/TenantTrustedDomain.js +4 -4
  157. package/dist/hooks/UserData.js +4 -4
  158. package/dist/hooks/User_Setting.js +5 -5
  159. package/dist/hooks/VirtualKPI.js +5 -5
  160. package/dist/hooks/WebPush.js +5 -5
  161. package/dist/hooks/Widget.js +4 -4
  162. package/dist/hooks/WidgetPreset.js +6 -5
  163. package/dist/hooks/_ChangeLog.js +6 -6
  164. package/dist/hooks/_Role.js +2 -2
  165. package/dist/hooks/_User.js +13 -13
  166. package/dist/index.d.ts +4 -186
  167. package/dist/index.js +29 -553
  168. package/dist/types/Documentation_Category.d.ts +1 -1
  169. package/dist/types/Documentation_Document.d.ts +1 -1
  170. package/dist/types/EMS_ChargePoint.d.ts +51 -0
  171. package/dist/types/EMS_ChargePoint.js +89 -0
  172. package/dist/types/Maintenance_Schedule.d.ts +2 -2
  173. package/dist/types/Maintenance_Ticket_Data.d.ts +6 -7
  174. package/dist/types/Notification.d.ts +3 -0
  175. package/dist/types/Notification.js +6 -0
  176. package/dist/types/RAG_Data.d.ts +50 -0
  177. package/dist/types/RAG_Data.js +89 -0
  178. package/dist/types/RAG_Interview.d.ts +23 -0
  179. package/dist/types/RAG_Interview.js +35 -0
  180. package/dist/types/RAG_Meta.d.ts +23 -0
  181. package/dist/types/RAG_Meta.js +35 -0
  182. package/dist/types/RAG_Prompts.d.ts +31 -0
  183. package/dist/types/RAG_Prompts.js +53 -0
  184. package/dist/types/RAG_Questions.d.ts +16 -0
  185. package/dist/types/RAG_Questions.js +23 -0
  186. package/dist/types/RAG_Request.d.ts +23 -0
  187. package/dist/types/RAG_Request.js +35 -0
  188. package/dist/types/Spreadsheet_Workbook.d.ts +34 -0
  189. package/dist/types/Spreadsheet_Workbook.js +53 -0
  190. package/dist/types/index.d.ts +22 -3
  191. package/dist/types/index.js +19 -3
  192. package/package.json +4 -3
  193. package/schema/Documentation_Category.json +6 -15
  194. package/schema/Documentation_Document.json +8 -20
  195. package/schema/EMS_ChargePoint.json +80 -0
  196. package/schema/Knowledge_Chat.json +3 -0
  197. package/schema/Maintenance_Schedule.json +1 -1
  198. package/schema/Maintenance_Ticket_Data.json +1 -1
  199. package/schema/Notification.json +5 -0
  200. package/schema/RAG_Data.json +94 -0
  201. package/schema/RAG_Interview.json +54 -0
  202. package/schema/RAG_Meta.json +54 -0
  203. package/schema/RAG_Prompts.json +57 -0
  204. package/schema/RAG_Questions.json +42 -0
  205. package/schema/RAG_Request.json +53 -0
  206. package/schema/Spreadsheet_Workbook.json +73 -0
@@ -0,0 +1,34 @@
1
+ import type { _User } from "./_User";
2
+ import type { Source } from "./Source";
3
+ import type { Tenant } from "./Tenant";
4
+ export interface Spreadsheet_WorkbookAttributes {
5
+ id: string;
6
+ objectId: string;
7
+ createdAt: Date;
8
+ updatedAt: Date;
9
+ data: any;
10
+ description: string;
11
+ name: string;
12
+ options: any;
13
+ owner: _User;
14
+ source: Source;
15
+ tenant?: Tenant | undefined;
16
+ }
17
+ export declare class Spreadsheet_Workbook extends Parse.Object<Spreadsheet_WorkbookAttributes> {
18
+ static className: string;
19
+ constructor(data?: Partial<Spreadsheet_WorkbookAttributes>);
20
+ get data(): any;
21
+ set data(value: any);
22
+ get description(): string;
23
+ set description(value: string);
24
+ get name(): string;
25
+ set name(value: string);
26
+ get options(): any;
27
+ set options(value: any);
28
+ get owner(): _User;
29
+ set owner(value: _User);
30
+ get source(): Source;
31
+ set source(value: Source);
32
+ get tenant(): Tenant | undefined;
33
+ set tenant(value: Tenant | undefined);
34
+ }
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Spreadsheet_Workbook = void 0;
4
+ class Spreadsheet_Workbook extends Parse.Object {
5
+ constructor(data) {
6
+ super("OD3_Spreadsheet_Workbook", data);
7
+ }
8
+ get data() {
9
+ return super.get("data");
10
+ }
11
+ set data(value) {
12
+ super.set("data", value);
13
+ }
14
+ get description() {
15
+ return super.get("description");
16
+ }
17
+ set description(value) {
18
+ super.set("description", value);
19
+ }
20
+ get name() {
21
+ return super.get("name");
22
+ }
23
+ set name(value) {
24
+ super.set("name", value);
25
+ }
26
+ get options() {
27
+ return super.get("options");
28
+ }
29
+ set options(value) {
30
+ super.set("options", value);
31
+ }
32
+ get owner() {
33
+ return super.get("owner");
34
+ }
35
+ set owner(value) {
36
+ super.set("owner", value);
37
+ }
38
+ get source() {
39
+ return super.get("source");
40
+ }
41
+ set source(value) {
42
+ super.set("source", value);
43
+ }
44
+ get tenant() {
45
+ return super.get("tenant");
46
+ }
47
+ set tenant(value) {
48
+ super.set("tenant", value);
49
+ }
50
+ }
51
+ exports.Spreadsheet_Workbook = Spreadsheet_Workbook;
52
+ Spreadsheet_Workbook.className = "OD3_Spreadsheet_Workbook";
53
+ Parse.Object.registerSubclass("OD3_Spreadsheet_Workbook", Spreadsheet_Workbook);
@@ -40,6 +40,8 @@ export { Documentation_Config } from "./Documentation_Config";
40
40
  export type { Documentation_ConfigAttributes } from "./Documentation_Config";
41
41
  export { Documentation_Document } from "./Documentation_Document";
42
42
  export type { Documentation_DocumentAttributes } from "./Documentation_Document";
43
+ export { EMS_ChargePoint } from "./EMS_ChargePoint";
44
+ export type { EMS_ChargePointAttributes } from "./EMS_ChargePoint";
43
45
  export { GTFS_Agency } from "./GTFS_Agency";
44
46
  export type { GTFS_AgencyAttributes } from "./GTFS_Agency";
45
47
  export { GTFS_Bikes_Allowed } from "./GTFS_Bikes_Allowed";
@@ -184,6 +186,18 @@ export { Permission } from "./Permission";
184
186
  export type { PermissionAttributes } from "./Permission";
185
187
  export { Push } from "./Push";
186
188
  export type { PushAttributes } from "./Push";
189
+ export { RAG_Data } from "./RAG_Data";
190
+ export type { RAG_DataAttributes } from "./RAG_Data";
191
+ export { RAG_Interview } from "./RAG_Interview";
192
+ export type { RAG_InterviewAttributes } from "./RAG_Interview";
193
+ export { RAG_Meta } from "./RAG_Meta";
194
+ export type { RAG_MetaAttributes } from "./RAG_Meta";
195
+ export { RAG_Prompts } from "./RAG_Prompts";
196
+ export type { RAG_PromptsAttributes } from "./RAG_Prompts";
197
+ export { RAG_Questions } from "./RAG_Questions";
198
+ export type { RAG_QuestionsAttributes } from "./RAG_Questions";
199
+ export { RAG_Request } from "./RAG_Request";
200
+ export type { RAG_RequestAttributes } from "./RAG_Request";
187
201
  export { Report } from "./Report";
188
202
  export type { ReportAttributes } from "./Report";
189
203
  export { Share } from "./Share";
@@ -192,6 +206,8 @@ export { Source } from "./Source";
192
206
  export type { SourceAttributes } from "./Source";
193
207
  export { SourceMeta } from "./SourceMeta";
194
208
  export type { SourceMetaAttributes } from "./SourceMeta";
209
+ export { Spreadsheet_Workbook } from "./Spreadsheet_Workbook";
210
+ export type { Spreadsheet_WorkbookAttributes } from "./Spreadsheet_Workbook";
195
211
  export { Tenant } from "./Tenant";
196
212
  export type { TenantAttributes } from "./Tenant";
197
213
  export { TenantMeta } from "./TenantMeta";
@@ -210,6 +226,9 @@ export { Widget } from "./Widget";
210
226
  export type { WidgetAttributes } from "./Widget";
211
227
  export { WidgetPreset } from "./WidgetPreset";
212
228
  export type { WidgetPresetAttributes } from "./WidgetPreset";
213
- export type { _Role, _RoleAttributes } from "./_Role";
214
- export type { _Session, _SessionAttributes } from "./_Session";
215
- export type { _User, _UserAttributes } from "./_User";
229
+ export type { _Role } from "./_Role";
230
+ export type { _RoleAttributes } from "./_Role";
231
+ export type { _Session } from "./_Session";
232
+ export type { _SessionAttributes } from "./_Session";
233
+ export type { _User } from "./_User";
234
+ export type { _UserAttributes } from "./_User";
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Mail_Groups = exports.MailTemplate = exports.ML_DataSelection = exports.MIAAS_MDSEndpoint = exports.MES_OrderPlan = exports.MES_Order = exports.MES_Article = exports.Log = exports.Language = exports.Knowledge_Video = exports.Knowledge_DocumentPage = exports.Knowledge_Document = exports.Knowledge_ChatMessage = exports.Knowledge_Chat = exports.Knowledge_Category = exports.Knowledge_Article = exports.GTFS_Wheelchair_Boarding = exports.GTFS_Wheelchair_Accessible = exports.GTFS_Trip = exports.GTFS_Stop_Times = exports.GTFS_Stop = exports.GTFS_Route_Type = exports.GTFS_Route = exports.GTFS_Location_Type = exports.GTFS_Level = exports.GTFS_Direction = exports.GTFS_Calendar = exports.GTFS_Bikes_Allowed = exports.GTFS_Agency = exports.Documentation_Document = exports.Documentation_Config = exports.Documentation_Category = exports.Dashboard = exports.Core_Token = exports.Core_Email = exports.Contact = exports.Config = exports.Company = exports.Changelog = exports.BDE_Unit = exports.BDE_Result = exports.BDE_Page = exports.BDE_ListEntry = exports.BDE_List = exports.BDE_Form = exports.Attachment = exports.Assets = exports.AlarmWebhook = exports.AlarmAction = exports.Alarm = void 0;
4
- exports.TenantTrustedDomain = exports.TenantMeta = exports.Tenant = exports.SourceMeta = exports.Source = exports.Share = exports.Report = exports.Push = exports.Permission = exports.OWPlcItem = exports.OWPlcDevice = exports.Notification_Setting = exports.Notification = exports.NavigationItem = exports.NavigationGroup = exports.Monitoring_Slideshow = exports.Monitoring_ReportImage = exports.Monitoring_ParseTableSensor = exports.Monitoring_Jobs = exports.Monitoring_DataHierachies = exports.Maintenance_Ticket_Title = exports.Maintenance_Ticket_Source = exports.Maintenance_Ticket_QR_Code = exports.Maintenance_Ticket_Project = exports.Maintenance_Ticket_Material = exports.Maintenance_Ticket_Kanban_State_Current = exports.Maintenance_Ticket_Kanban_State = exports.Maintenance_Ticket_Issuecategory = exports.Maintenance_Ticket_FormConfig = exports.Maintenance_Ticket_Data = exports.Maintenance_Ticket_Assignment = exports.Maintenance_Ticket = exports.Maintenance_Source_File = exports.Maintenance_Schedule_Template = exports.Maintenance_Schedule_Step = exports.Maintenance_Schedule_Execution_Step = exports.Maintenance_Schedule_Execution = exports.Maintenance_Schedule = exports.Maintenance_Restriction = exports.Maintenance_Project = exports.Maintenance_Priority = exports.Maintenance_Order = exports.Maintenance_Message = exports.Maintenance_Media = exports.Maintenance_Kanban_State = exports.Maintenance_Item = exports.Maintenance_Issuecategory = exports.Maintenance_Frequency = exports.Maintenance_Duedate = exports.Maintenance_Downtime = void 0;
5
- exports.WidgetPreset = exports.Widget = exports.WebPush = exports.VirtualKPI = exports.User_Setting = exports.UserData = void 0;
3
+ exports.MailTemplate = exports.ML_DataSelection = exports.MIAAS_MDSEndpoint = exports.MES_OrderPlan = exports.MES_Order = exports.MES_Article = exports.Log = exports.Language = exports.Knowledge_Video = exports.Knowledge_DocumentPage = exports.Knowledge_Document = exports.Knowledge_ChatMessage = exports.Knowledge_Chat = exports.Knowledge_Category = exports.Knowledge_Article = exports.GTFS_Wheelchair_Boarding = exports.GTFS_Wheelchair_Accessible = exports.GTFS_Trip = exports.GTFS_Stop_Times = exports.GTFS_Stop = exports.GTFS_Route_Type = exports.GTFS_Route = exports.GTFS_Location_Type = exports.GTFS_Level = exports.GTFS_Direction = exports.GTFS_Calendar = exports.GTFS_Bikes_Allowed = exports.GTFS_Agency = exports.EMS_ChargePoint = exports.Documentation_Document = exports.Documentation_Config = exports.Documentation_Category = exports.Dashboard = exports.Core_Token = exports.Core_Email = exports.Contact = exports.Config = exports.Company = exports.Changelog = exports.BDE_Unit = exports.BDE_Result = exports.BDE_Page = exports.BDE_ListEntry = exports.BDE_List = exports.BDE_Form = exports.Attachment = exports.Assets = exports.AlarmWebhook = exports.AlarmAction = exports.Alarm = void 0;
4
+ exports.RAG_Request = exports.RAG_Questions = exports.RAG_Prompts = exports.RAG_Meta = exports.RAG_Interview = exports.RAG_Data = exports.Push = exports.Permission = exports.OWPlcItem = exports.OWPlcDevice = exports.Notification_Setting = exports.Notification = exports.NavigationItem = exports.NavigationGroup = exports.Monitoring_Slideshow = exports.Monitoring_ReportImage = exports.Monitoring_ParseTableSensor = exports.Monitoring_Jobs = exports.Monitoring_DataHierachies = exports.Maintenance_Ticket_Title = exports.Maintenance_Ticket_Source = exports.Maintenance_Ticket_QR_Code = exports.Maintenance_Ticket_Project = exports.Maintenance_Ticket_Material = exports.Maintenance_Ticket_Kanban_State_Current = exports.Maintenance_Ticket_Kanban_State = exports.Maintenance_Ticket_Issuecategory = exports.Maintenance_Ticket_FormConfig = exports.Maintenance_Ticket_Data = exports.Maintenance_Ticket_Assignment = exports.Maintenance_Ticket = exports.Maintenance_Source_File = exports.Maintenance_Schedule_Template = exports.Maintenance_Schedule_Step = exports.Maintenance_Schedule_Execution_Step = exports.Maintenance_Schedule_Execution = exports.Maintenance_Schedule = exports.Maintenance_Restriction = exports.Maintenance_Project = exports.Maintenance_Priority = exports.Maintenance_Order = exports.Maintenance_Message = exports.Maintenance_Media = exports.Maintenance_Kanban_State = exports.Maintenance_Item = exports.Maintenance_Issuecategory = exports.Maintenance_Frequency = exports.Maintenance_Duedate = exports.Maintenance_Downtime = exports.Mail_Groups = void 0;
5
+ exports.WidgetPreset = exports.Widget = exports.WebPush = exports.VirtualKPI = exports.User_Setting = exports.UserData = exports.TenantTrustedDomain = exports.TenantMeta = exports.Tenant = exports.Spreadsheet_Workbook = exports.SourceMeta = exports.Source = exports.Share = exports.Report = void 0;
6
6
  var Alarm_1 = require("./Alarm");
7
7
  Object.defineProperty(exports, "Alarm", { enumerable: true, get: function () { return Alarm_1.Alarm; } });
8
8
  var AlarmAction_1 = require("./AlarmAction");
@@ -45,6 +45,8 @@ var Documentation_Config_1 = require("./Documentation_Config");
45
45
  Object.defineProperty(exports, "Documentation_Config", { enumerable: true, get: function () { return Documentation_Config_1.Documentation_Config; } });
46
46
  var Documentation_Document_1 = require("./Documentation_Document");
47
47
  Object.defineProperty(exports, "Documentation_Document", { enumerable: true, get: function () { return Documentation_Document_1.Documentation_Document; } });
48
+ var EMS_ChargePoint_1 = require("./EMS_ChargePoint");
49
+ Object.defineProperty(exports, "EMS_ChargePoint", { enumerable: true, get: function () { return EMS_ChargePoint_1.EMS_ChargePoint; } });
48
50
  var GTFS_Agency_1 = require("./GTFS_Agency");
49
51
  Object.defineProperty(exports, "GTFS_Agency", { enumerable: true, get: function () { return GTFS_Agency_1.GTFS_Agency; } });
50
52
  var GTFS_Bikes_Allowed_1 = require("./GTFS_Bikes_Allowed");
@@ -189,6 +191,18 @@ var Permission_1 = require("./Permission");
189
191
  Object.defineProperty(exports, "Permission", { enumerable: true, get: function () { return Permission_1.Permission; } });
190
192
  var Push_1 = require("./Push");
191
193
  Object.defineProperty(exports, "Push", { enumerable: true, get: function () { return Push_1.Push; } });
194
+ var RAG_Data_1 = require("./RAG_Data");
195
+ Object.defineProperty(exports, "RAG_Data", { enumerable: true, get: function () { return RAG_Data_1.RAG_Data; } });
196
+ var RAG_Interview_1 = require("./RAG_Interview");
197
+ Object.defineProperty(exports, "RAG_Interview", { enumerable: true, get: function () { return RAG_Interview_1.RAG_Interview; } });
198
+ var RAG_Meta_1 = require("./RAG_Meta");
199
+ Object.defineProperty(exports, "RAG_Meta", { enumerable: true, get: function () { return RAG_Meta_1.RAG_Meta; } });
200
+ var RAG_Prompts_1 = require("./RAG_Prompts");
201
+ Object.defineProperty(exports, "RAG_Prompts", { enumerable: true, get: function () { return RAG_Prompts_1.RAG_Prompts; } });
202
+ var RAG_Questions_1 = require("./RAG_Questions");
203
+ Object.defineProperty(exports, "RAG_Questions", { enumerable: true, get: function () { return RAG_Questions_1.RAG_Questions; } });
204
+ var RAG_Request_1 = require("./RAG_Request");
205
+ Object.defineProperty(exports, "RAG_Request", { enumerable: true, get: function () { return RAG_Request_1.RAG_Request; } });
192
206
  var Report_1 = require("./Report");
193
207
  Object.defineProperty(exports, "Report", { enumerable: true, get: function () { return Report_1.Report; } });
194
208
  var Share_1 = require("./Share");
@@ -197,6 +211,8 @@ var Source_1 = require("./Source");
197
211
  Object.defineProperty(exports, "Source", { enumerable: true, get: function () { return Source_1.Source; } });
198
212
  var SourceMeta_1 = require("./SourceMeta");
199
213
  Object.defineProperty(exports, "SourceMeta", { enumerable: true, get: function () { return SourceMeta_1.SourceMeta; } });
214
+ var Spreadsheet_Workbook_1 = require("./Spreadsheet_Workbook");
215
+ Object.defineProperty(exports, "Spreadsheet_Workbook", { enumerable: true, get: function () { return Spreadsheet_Workbook_1.Spreadsheet_Workbook; } });
200
216
  var Tenant_1 = require("./Tenant");
201
217
  Object.defineProperty(exports, "Tenant", { enumerable: true, get: function () { return Tenant_1.Tenant; } });
202
218
  var TenantMeta_1 = require("./TenantMeta");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openinc/parse-server-opendash",
3
- "version": "3.31.25",
3
+ "version": "3.32.0",
4
4
  "description": "Parse Server Cloud Code for open.INC Stack.",
5
5
  "packageManager": "pnpm@10.26.2",
6
6
  "keywords": [
@@ -51,7 +51,7 @@
51
51
  "scripts": {
52
52
  "start": "tsc -w",
53
53
  "dockerstart": "concurrently \"pnpm run start\" \"cd ./docker-dev && docker-compose watch\"",
54
- "build": "tsc && node scripts/copyTranslationFiles.js",
54
+ "build": "rimraf ./dist && tsc && node scripts/copyTranslationFiles.js",
55
55
  "copy:i18n": "node scripts/copyTranslationFiles.js",
56
56
  "deploy": "opendash deploy",
57
57
  "schema-down": "parse-server-schema down --prefix OD3_ ./schema",
@@ -66,7 +66,7 @@
66
66
  "rebuild:docker": "cd ./docker-dev && powershell -NoProfile -ExecutionPolicy Bypass -File rebuild_and_restart.ps1"
67
67
  },
68
68
  "dependencies": {
69
- "@openinc/parse-server-schema": "^3.0.6",
69
+ "@openinc/parse-server-schema": "^3.0.7",
70
70
  "@opentelemetry/api-logs": "^0.208.0",
71
71
  "@opentelemetry/auto-instrumentations-node": "^0.67.3",
72
72
  "@opentelemetry/exporter-logs-otlp-http": "^0.208.0",
@@ -76,6 +76,7 @@
76
76
  "@opentelemetry/sdk-node": "^0.208.0",
77
77
  "@opentelemetry/semantic-conventions": "^1.38.0",
78
78
  "@opentelemetry/winston-transport": "^0.19.0",
79
+ "rimraf": "^6.1.2",
79
80
  "cron": "^4.4.0",
80
81
  "dayjs": "^1.11.19",
81
82
  "fast-equals": "^5.4.0",
@@ -1,18 +1,9 @@
1
1
  {
2
2
  "fields": {
3
- "gitPath": {
4
- "type": "String",
5
- "required": false
6
- },
7
3
  "icon": {
8
4
  "type": "String",
9
5
  "required": false
10
6
  },
11
- "isDefault": {
12
- "type": "Boolean",
13
- "required": false,
14
- "defaultValue": false
15
- },
16
7
  "name": {
17
8
  "type": "String",
18
9
  "required": true,
@@ -40,6 +31,12 @@
40
31
  }
41
32
  },
42
33
  "classLevelPermissions": {
34
+ "ACL": {
35
+ "*": {
36
+ "read": true,
37
+ "write": true
38
+ }
39
+ },
43
40
  "find": {
44
41
  "*": true
45
42
  },
@@ -63,12 +60,6 @@
63
60
  },
64
61
  "protectedFields": {
65
62
  "*": []
66
- },
67
- "ACL": {
68
- "*": {
69
- "read": true,
70
- "write": true
71
- }
72
63
  }
73
64
  }
74
65
  }
@@ -9,27 +9,15 @@
9
9
  "type": "String",
10
10
  "required": true
11
11
  },
12
- "gitPath": {
13
- "type": "String",
14
- "required": false
15
- },
16
12
  "icon": {
17
13
  "type": "String",
18
14
  "required": false
19
15
  },
20
- "isDefault": {
21
- "type": "Boolean",
22
- "required": false,
23
- "defaultValue": false
24
- },
25
16
  "locationPattern": {
26
- "type": "String",
27
- "required": false
17
+ "type": "String"
28
18
  },
29
19
  "locations": {
30
- "type": "Array",
31
- "required": false,
32
- "defaultValue": []
20
+ "type": "Array"
33
21
  },
34
22
  "order": {
35
23
  "type": "Number",
@@ -52,6 +40,12 @@
52
40
  }
53
41
  },
54
42
  "classLevelPermissions": {
43
+ "ACL": {
44
+ "*": {
45
+ "read": true,
46
+ "write": true
47
+ }
48
+ },
55
49
  "find": {
56
50
  "*": true
57
51
  },
@@ -75,12 +69,6 @@
75
69
  },
76
70
  "protectedFields": {
77
71
  "*": []
78
- },
79
- "ACL": {
80
- "*": {
81
- "read": true,
82
- "write": true
83
- }
84
72
  }
85
73
  }
86
74
  }
@@ -0,0 +1,80 @@
1
+ {
2
+ "fields": {
3
+ "chargePointId": {
4
+ "type": "String"
5
+ },
6
+ "connectorStatus": {
7
+ "type": "Object"
8
+ },
9
+ "currentTransactionIds": {
10
+ "type": "Object"
11
+ },
12
+ "firmwareVersion": {
13
+ "type": "String"
14
+ },
15
+ "label": {
16
+ "type": "String",
17
+ "required": false
18
+ },
19
+ "lastHeartbeat": {
20
+ "type": "Number"
21
+ },
22
+ "lastMeterValues": {
23
+ "type": "Object"
24
+ },
25
+ "model": {
26
+ "type": "String"
27
+ },
28
+ "online": {
29
+ "type": "Boolean"
30
+ },
31
+ "serialNumber": {
32
+ "type": "String"
33
+ },
34
+ "source": {
35
+ "type": "Pointer",
36
+ "targetClass": "{{PREFIX}}Source",
37
+ "required": false
38
+ },
39
+ "tenant": {
40
+ "type": "Pointer",
41
+ "targetClass": "{{PREFIX}}Tenant",
42
+ "required": false
43
+ },
44
+ "vendor": {
45
+ "type": "String"
46
+ }
47
+ },
48
+ "classLevelPermissions": {
49
+ "ACL": {
50
+ "*": {
51
+ "read": true,
52
+ "write": true
53
+ }
54
+ },
55
+ "find": {
56
+ "*": true
57
+ },
58
+ "count": {
59
+ "*": true
60
+ },
61
+ "get": {
62
+ "*": true
63
+ },
64
+ "create": {
65
+ "*": true
66
+ },
67
+ "update": {
68
+ "*": true
69
+ },
70
+ "delete": {
71
+ "*": true
72
+ },
73
+ "addField": {
74
+ "*": true
75
+ },
76
+ "protectedFields": {
77
+ "*": []
78
+ }
79
+ }
80
+ }
@@ -1,5 +1,8 @@
1
1
  {
2
2
  "fields": {
3
+ "firstUserMessage": {
4
+ "type": "String"
5
+ },
3
6
  "tenant": {
4
7
  "type": "Pointer",
5
8
  "targetClass": "{{PREFIX}}Tenant",
@@ -92,4 +92,4 @@
92
92
  }
93
93
  }
94
94
  }
95
- }
95
+ }
@@ -7,7 +7,7 @@
7
7
  "tenant": {
8
8
  "type": "Pointer",
9
9
  "targetClass": "{{PREFIX}}Tenant",
10
- "required": false
10
+ "required": true
11
11
  },
12
12
  "ticket": {
13
13
  "type": "Pointer",
@@ -27,6 +27,11 @@
27
27
  "type": "String",
28
28
  "required": true
29
29
  },
30
+ "type": {
31
+ "type": "String",
32
+ "required": false,
33
+ "defaultValue": "mailbox"
34
+ },
30
35
  "user": {
31
36
  "type": "Pointer",
32
37
  "targetClass": "_User",
@@ -0,0 +1,94 @@
1
+ {
2
+ "fields": {
3
+ "crawl_depth": {
4
+ "type": "Number",
5
+ "required": false,
6
+ "defaultValue": 0
7
+ },
8
+ "enabled": {
9
+ "type": "Boolean",
10
+ "required": false,
11
+ "defaultValue": false
12
+ },
13
+ "file": {
14
+ "type": "File",
15
+ "required": false
16
+ },
17
+ "interview": {
18
+ "type": "Pointer",
19
+ "targetClass": "{{PREFIX}}RAG_Interview",
20
+ "required": false
21
+ },
22
+ "meta": {
23
+ "type": "Object",
24
+ "required": false,
25
+ "defaultValue": {}
26
+ },
27
+ "name": {
28
+ "type": "String",
29
+ "required": false
30
+ },
31
+ "parseClassFields": {
32
+ "type": "Array",
33
+ "required": false,
34
+ "defaultValue": []
35
+ },
36
+ "parseClassFilter": {
37
+ "type": "String",
38
+ "required": false
39
+ },
40
+ "parseClassMeta": {
41
+ "type": "Array",
42
+ "required": false,
43
+ "defaultValue": []
44
+ },
45
+ "parseClassName": {
46
+ "type": "String",
47
+ "required": false
48
+ },
49
+ "text": {
50
+ "type": "String",
51
+ "required": false
52
+ },
53
+ "type": {
54
+ "type": "String",
55
+ "required": false
56
+ },
57
+ "url": {
58
+ "type": "String",
59
+ "required": false
60
+ }
61
+ },
62
+ "classLevelPermissions": {
63
+ "ACL": {
64
+ "*": {
65
+ "read": true,
66
+ "write": true
67
+ }
68
+ },
69
+ "find": {
70
+ "*": true
71
+ },
72
+ "count": {
73
+ "*": true
74
+ },
75
+ "get": {
76
+ "*": true
77
+ },
78
+ "create": {
79
+ "*": true
80
+ },
81
+ "update": {
82
+ "*": true
83
+ },
84
+ "delete": {
85
+ "*": true
86
+ },
87
+ "addField": {
88
+ "*": true
89
+ },
90
+ "protectedFields": {
91
+ "*": []
92
+ }
93
+ }
94
+ }
@@ -0,0 +1,54 @@
1
+ {
2
+ "fields": {
3
+ "integrated": {
4
+ "type": "Boolean",
5
+ "required": false,
6
+ "defaultValue": false
7
+ },
8
+ "text": {
9
+ "type": "String",
10
+ "required": false
11
+ },
12
+ "titel": {
13
+ "type": "String",
14
+ "required": false
15
+ },
16
+ "user": {
17
+ "type": "Pointer",
18
+ "targetClass": "_User",
19
+ "required": false
20
+ }
21
+ },
22
+ "classLevelPermissions": {
23
+ "ACL": {
24
+ "*": {
25
+ "read": true,
26
+ "write": true
27
+ }
28
+ },
29
+ "find": {
30
+ "*": true
31
+ },
32
+ "count": {
33
+ "*": true
34
+ },
35
+ "get": {
36
+ "*": true
37
+ },
38
+ "create": {
39
+ "*": true
40
+ },
41
+ "update": {
42
+ "*": true
43
+ },
44
+ "delete": {
45
+ "*": true
46
+ },
47
+ "addField": {
48
+ "*": true
49
+ },
50
+ "protectedFields": {
51
+ "*": []
52
+ }
53
+ }
54
+ }
@@ -0,0 +1,54 @@
1
+ {
2
+ "fields": {
3
+ "action": {
4
+ "type": "String",
5
+ "required": false
6
+ },
7
+ "date": {
8
+ "type": "Date",
9
+ "required": false
10
+ },
11
+ "reindex": {
12
+ "type": "Boolean",
13
+ "required": false,
14
+ "defaultValue": false
15
+ },
16
+ "user": {
17
+ "type": "Pointer",
18
+ "targetClass": "_User",
19
+ "required": false
20
+ }
21
+ },
22
+ "classLevelPermissions": {
23
+ "ACL": {
24
+ "*": {
25
+ "read": true,
26
+ "write": true
27
+ }
28
+ },
29
+ "find": {
30
+ "*": true
31
+ },
32
+ "count": {
33
+ "*": true
34
+ },
35
+ "get": {
36
+ "*": true
37
+ },
38
+ "create": {
39
+ "*": true
40
+ },
41
+ "update": {
42
+ "*": true
43
+ },
44
+ "delete": {
45
+ "*": true
46
+ },
47
+ "addField": {
48
+ "*": true
49
+ },
50
+ "protectedFields": {
51
+ "*": []
52
+ }
53
+ }
54
+ }