@persei/perseed-api 5.0.22 → 5.0.24

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 (93) hide show
  1. package/dist/client.cjs +57 -0
  2. package/dist/client.cjs.map +1 -1
  3. package/dist/client.mjs +57 -0
  4. package/dist/client.mjs.map +1 -1
  5. package/dist/dates.helper-CDM5aEJG.cjs.map +1 -1
  6. package/dist/dates.helper-XRCJ_UAQ.js.map +1 -1
  7. package/dist/dates.schema-BqkBcmM6.js +18 -0
  8. package/dist/dates.schema-BqkBcmM6.js.map +1 -0
  9. package/dist/dates.schema-npKpToAJ.cjs +17 -0
  10. package/dist/dates.schema-npKpToAJ.cjs.map +1 -0
  11. package/dist/ecosystem-container-widget.cjs +1 -1
  12. package/dist/ecosystem-container-widget.mjs +1 -1
  13. package/dist/ecosystem-process-log.cjs +234 -0
  14. package/dist/ecosystem-process-log.cjs.map +1 -0
  15. package/dist/ecosystem-process-log.d.ts +1 -0
  16. package/dist/ecosystem-process-log.mjs +234 -0
  17. package/dist/ecosystem-process-log.mjs.map +1 -0
  18. package/dist/global-dates.cjs +5 -6
  19. package/dist/global-dates.cjs.map +1 -1
  20. package/dist/global-dates.mjs +5 -6
  21. package/dist/global-dates.mjs.map +1 -1
  22. package/dist/lib/src/generated/client.d.ts +267 -0
  23. package/dist/lib/src/generated/client.d.ts.map +1 -1
  24. package/dist/src/Services/ProcessLogService.d.ts.map +1 -1
  25. package/dist/src/Services/QueryService.d.ts.map +1 -1
  26. package/dist/src/app.d.ts +2 -2
  27. package/dist/src/app.d.ts.map +1 -1
  28. package/dist/src/controllers/IntrospectionController.d.ts.map +1 -1
  29. package/dist/src/models/project/Displayer.d.ts.map +1 -1
  30. package/dist/src/models/project/DisplayerMeta.d.ts +2 -1
  31. package/dist/src/models/project/DisplayerMeta.d.ts.map +1 -1
  32. package/dist/src/models/project/QuestionariesInfo.d.ts +2 -1
  33. package/dist/src/models/project/QuestionariesInfo.d.ts.map +1 -1
  34. package/dist/src/schemas/process_log/create_process_log_payload.schema.json +20 -1
  35. package/dist/src/schemas/process_log/types.d.ts +19 -5
  36. package/dist/src/schemas/process_log/types.d.ts.map +1 -1
  37. package/dist/src/test/test-helpers.d.ts +12 -0
  38. package/dist/src/test/test-helpers.d.ts.map +1 -1
  39. package/dist/src/v2/modules/ecosystem/action-system/action-system.service/automatic-trigger.service.d.ts +4 -4
  40. package/dist/src/v2/modules/ecosystem/action-system/action-system.service/manual-trigger-engine.service.d.ts.map +1 -1
  41. package/dist/src/v2/modules/ecosystem/action-system/action-system.service/manual-trigger.service.d.ts +8 -8
  42. package/dist/src/v2/modules/ecosystem/action-system/action-system.service/trigger-engine.service.d.ts +27 -1
  43. package/dist/src/v2/modules/ecosystem/action-system/action-system.service/trigger-engine.service.d.ts.map +1 -1
  44. package/dist/src/v2/modules/ecosystem/action-system/index.d.ts +1 -1
  45. package/dist/src/v2/modules/ecosystem/action-system/index.d.ts.map +1 -1
  46. package/dist/src/v2/modules/ecosystem/alert/alert.controller.d.ts +3 -3
  47. package/dist/src/v2/modules/ecosystem/alert/alert.controller.d.ts.map +1 -1
  48. package/dist/src/v2/modules/ecosystem/alert/alert.model.d.ts +15 -2
  49. package/dist/src/v2/modules/ecosystem/alert/alert.model.d.ts.map +1 -1
  50. package/dist/src/v2/modules/ecosystem/alert/alert.schema.d.ts +14 -5
  51. package/dist/src/v2/modules/ecosystem/alert/alert.schema.d.ts.map +1 -1
  52. package/dist/src/v2/modules/ecosystem/alert/alert.service.d.ts.map +1 -1
  53. package/dist/src/v2/modules/ecosystem/alert/index.d.ts +1 -1
  54. package/dist/src/v2/modules/ecosystem/alert/index.d.ts.map +1 -1
  55. package/dist/src/v2/modules/ecosystem/process-log/index.d.ts +4 -1
  56. package/dist/src/v2/modules/ecosystem/process-log/index.d.ts.map +1 -1
  57. package/dist/src/v2/modules/ecosystem/process-log/lib.d.ts +2 -0
  58. package/dist/src/v2/modules/ecosystem/process-log/lib.d.ts.map +1 -0
  59. package/dist/src/v2/modules/ecosystem/process-log/process-log.controller.d.ts +5 -0
  60. package/dist/src/v2/modules/ecosystem/process-log/process-log.controller.d.ts.map +1 -0
  61. package/dist/src/v2/modules/ecosystem/process-log/process-log.controller.e2e.d.ts +2 -0
  62. package/dist/src/v2/modules/ecosystem/process-log/process-log.controller.e2e.d.ts.map +1 -0
  63. package/dist/src/v2/modules/ecosystem/process-log/process-log.controller.test.d.ts +2 -0
  64. package/dist/src/v2/modules/ecosystem/process-log/process-log.controller.test.d.ts.map +1 -0
  65. package/dist/src/v2/modules/ecosystem/process-log/process-log.model.d.ts +29 -2
  66. package/dist/src/v2/modules/ecosystem/process-log/process-log.model.d.ts.map +1 -1
  67. package/dist/src/v2/modules/ecosystem/process-log/process-log.schema.d.ts +115 -0
  68. package/dist/src/v2/modules/ecosystem/process-log/process-log.schema.d.ts.map +1 -0
  69. package/dist/src/v2/modules/ecosystem/process-log/process-log.service.d.ts +16 -0
  70. package/dist/src/v2/modules/ecosystem/process-log/process-log.service.d.ts.map +1 -1
  71. package/dist/src/v2/modules/global/dates/{dates.helper.d.ts → dates.helper/dates.helper.d.ts} +1 -1
  72. package/dist/src/v2/modules/global/dates/dates.helper/dates.helper.d.ts.map +1 -0
  73. package/dist/src/v2/modules/global/dates/dates.helper/dates.helper.test.d.ts.map +1 -0
  74. package/dist/src/v2/modules/global/dates/dates.helper/decoding-validator.helper.d.ts +75 -0
  75. package/dist/src/v2/modules/global/dates/dates.helper/decoding-validator.helper.d.ts.map +1 -0
  76. package/dist/src/v2/modules/global/dates/dates.helper/decoding-validator.helper.test.d.ts +2 -0
  77. package/dist/src/v2/modules/global/dates/dates.helper/decoding-validator.helper.test.d.ts.map +1 -0
  78. package/dist/src/v2/modules/global/dates/dates.helper/index.d.ts +3 -0
  79. package/dist/src/v2/modules/global/dates/dates.helper/index.d.ts.map +1 -0
  80. package/dist/src/v2/modules/global/dates/dates.schema.d.ts +23 -0
  81. package/dist/src/v2/modules/global/dates/dates.schema.d.ts.map +1 -1
  82. package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/alert/index.d.ts +1 -1
  83. package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/alert/index.d.ts +1 -1
  84. package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/process-log/index.d.ts +3 -0
  85. package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/process-log/index.d.ts.map +1 -0
  86. package/dist/v1/perseed-api.cjs +0 -7
  87. package/dist/v1/perseed-api.cjs.map +1 -1
  88. package/dist/v1/perseed-api.mjs +0 -7
  89. package/dist/v1/perseed-api.mjs.map +1 -1
  90. package/package.json +1 -1
  91. package/dist/src/v2/modules/global/dates/dates.helper.d.ts.map +0 -1
  92. package/dist/src/v2/modules/global/dates/dates.helper.test.d.ts.map +0 -1
  93. /package/dist/src/v2/modules/global/dates/{dates.helper.test.d.ts → dates.helper/dates.helper.test.d.ts} +0 -0
@@ -2,6 +2,7 @@ import { default as Objection } from 'objection';
2
2
  import { default as BaseModel } from '../../../../models/BaseModel';
3
3
  import { default as RequestContext } from '../../../../models/request/RequestContext';
4
4
  import { ProcessLogType } from '../../../../schemas';
5
+ import { ProcessLogCode, ProcessLogType as ProcessLogTypeValue } from './process-log.schema';
5
6
  export declare function isTriggerEngineTrace(relatedModel: unknown): boolean;
6
7
  export declare class ProcessLog extends BaseModel {
7
8
  created_at: string;
@@ -9,16 +10,19 @@ export declare class ProcessLog extends BaseModel {
9
10
  created_user?: number;
10
11
  related_model?: string;
11
12
  related_id?: string;
12
- code?: string;
13
+ code?: ProcessLogCode;
13
14
  log: string;
14
15
  long_log?: string;
15
16
  extra_data?: Record<string, any>;
16
- type: number;
17
+ type: ProcessLogTypeValue;
17
18
  requires_attention?: boolean;
18
19
  reviewed: boolean;
19
20
  reviewed_date?: string | null;
20
21
  project_id?: number;
21
22
  expires_at?: string | null;
23
+ parent_id?: number | null;
24
+ subject_model?: string | null;
25
+ subject_id?: string | null;
22
26
  static get tableName(): string;
23
27
  static get jsonSchema(): {
24
28
  type: string;
@@ -113,6 +117,29 @@ export declare class ProcessLog extends BaseModel {
113
117
  format?: undefined;
114
118
  })[];
115
119
  };
120
+ parent_id: {
121
+ oneOf: {
122
+ type: string;
123
+ }[];
124
+ };
125
+ subject_model: {
126
+ oneOf: ({
127
+ type: string;
128
+ maxLength: number;
129
+ } | {
130
+ type: string;
131
+ maxLength?: undefined;
132
+ })[];
133
+ };
134
+ subject_id: {
135
+ oneOf: ({
136
+ type: string;
137
+ maxLength: number;
138
+ } | {
139
+ type: string;
140
+ maxLength?: undefined;
141
+ })[];
142
+ };
116
143
  };
117
144
  additionalProperties: boolean;
118
145
  };
@@ -1 +1 @@
1
- {"version":3,"file":"process-log.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/ecosystem/process-log/process-log.model.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,WAAW,CAAA;AACjC,OAAO,SAAS,MAAM,sBAAsB,CAAA;AAC5C,OAAO,cAAc,MAAM,mCAAmC,CAAA;AAE9D,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAqB5C,wBAAgB,oBAAoB,CAAC,YAAY,EAAE,OAAO,GAAG,OAAO,CAEnE;AAED,qBAAa,UAAW,SAAQ,SAAS;IACvC,UAAU,EAAG,MAAM,CAAA;IACnB,QAAQ,EAAG,MAAM,CAAA;IACjB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,GAAG,EAAG,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAChC,IAAI,EAAG,MAAM,CAAA;IACb,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,QAAQ,EAAG,OAAO,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE1B,MAAM,KAAK,SAAS,WAEnB;IAED,MAAM,KAAK,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAwBpB;IAED,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,cAAc;IAInC,MAAM,CAAC,cAAc,CAAC,aAAa,EAAE,SAAS,CAAC,iBAAiB;IAI1D,WAAW,CAAC,aAAa,EAAE,SAAS,CAAC,YAAY,EAAE,GAAG,CAAC,EAAE,UAAU;IAUnE,aAAa,CAAC,GAAG,EAAE,SAAS,CAAC,YAAY,EAAE,YAAY,EAAE,SAAS,CAAC,YAAY;IAM/E,aAAa,CAAC,YAAY,EAAE,SAAS,CAAC,YAAY;WAK3C,MAAM,CAAC,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,SAAS,CAAC,kBAAkB,CAAC,UAAU,CAAC;WAO1E,KAAK,CAAC,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,SAAS,CAAC,kBAAkB,CAAC,UAAU,CAAC,EAAE,EAAE,EAAE,MAAM;CASnG"}
1
+ {"version":3,"file":"process-log.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/ecosystem/process-log/process-log.model.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,WAAW,CAAA;AACjC,OAAO,SAAS,MAAM,sBAAsB,CAAA;AAC5C,OAAO,cAAc,MAAM,mCAAmC,CAAA;AAE9D,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAI5C,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,IAAI,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAkBjG,wBAAgB,oBAAoB,CAAC,YAAY,EAAE,OAAO,GAAG,OAAO,CAEnE;AAED,qBAAa,UAAW,SAAQ,SAAS;IACvC,UAAU,EAAG,MAAM,CAAA;IACnB,QAAQ,EAAG,MAAM,CAAA;IACjB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,GAAG,EAAG,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAChC,IAAI,EAAG,mBAAmB,CAAA;IAC1B,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,QAAQ,EAAG,OAAO,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAMzB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE1B,MAAM,KAAK,SAAS,WAEnB;IAED,MAAM,KAAK,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA2BpB;IAED,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,cAAc;IAInC,MAAM,CAAC,cAAc,CAAC,aAAa,EAAE,SAAS,CAAC,iBAAiB;IAI1D,WAAW,CAAC,aAAa,EAAE,SAAS,CAAC,YAAY,EAAE,GAAG,CAAC,EAAE,UAAU;IAUnE,aAAa,CAAC,GAAG,EAAE,SAAS,CAAC,YAAY,EAAE,YAAY,EAAE,SAAS,CAAC,YAAY;IAM/E,aAAa,CAAC,YAAY,EAAE,SAAS,CAAC,YAAY;WAK3C,MAAM,CAAC,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,SAAS,CAAC,kBAAkB,CAAC,UAAU,CAAC;WAO1E,KAAK,CAAC,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,SAAS,CAAC,kBAAkB,CAAC,UAAU,CAAC,EAAE,EAAE,EAAE,MAAM;CASnG"}
@@ -0,0 +1,115 @@
1
+ import { Type, Static, StaticDecode } from 'typebox';
2
+ export declare const ProcessLogType: {
3
+ readonly LOG: 0;
4
+ readonly RESULT: 1;
5
+ readonly WARNING: -1;
6
+ readonly ERROR: -2;
7
+ };
8
+ export declare const processLogTypeSchema: Type.TEnum<(0 | 1 | -1 | -2)[]>;
9
+ export type ProcessLogType = Static<typeof processLogTypeSchema>;
10
+ export declare const ProcessLogCode: {
11
+ readonly BULK_UPLOAD_BATCH: "bulk_upload_batch";
12
+ readonly BULK_UPLOAD_SUCCESS: "bulk_upload_success";
13
+ readonly BULK_UPLOAD_ERROR: "bulk_upload_error";
14
+ readonly TRIGGER_EVALUATION: "trigger_evaluation";
15
+ readonly TRIGGER_ERROR: "trigger_error";
16
+ readonly TRIGGER_ACTION: "trigger_action";
17
+ };
18
+ export declare const processLogCodeSchema: Type.TEnum<("bulk_upload_batch" | "bulk_upload_success" | "bulk_upload_error" | "trigger_evaluation" | "trigger_error" | "trigger_action")[]>;
19
+ export type ProcessLogCode = Static<typeof processLogCodeSchema>;
20
+ export declare const triggerEvaluationExtraDataSchema: Type.TObject<{
21
+ source: Type.TString;
22
+ target: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
23
+ operation: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
24
+ matched: Type.TBoolean;
25
+ conditions: Type.TOptional<Type.TUnion<[Type.TUnknown, Type.TNull]>>;
26
+ relations: Type.TOptional<Type.TUnion<[Type.TUnknown, Type.TNull]>>;
27
+ relationsSkipped: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
28
+ }>;
29
+ export type TriggerEvaluationExtraData = Static<typeof triggerEvaluationExtraDataSchema>;
30
+ export declare const triggerErrorExtraDataSchema: Type.TObject<{
31
+ error: Type.TString;
32
+ }>;
33
+ export type TriggerErrorExtraData = Static<typeof triggerErrorExtraDataSchema>;
34
+ export declare const triggerActionExtraDataSchema: Type.TObject<{
35
+ actionId: Type.TNumber;
36
+ triggerId: Type.TNumber;
37
+ triggerModel: Type.TString;
38
+ executionOrder: Type.TNumber;
39
+ type: Type.TString;
40
+ validation: Type.TUnknown;
41
+ ok: Type.TOptional<Type.TUnion<[Type.TBoolean, Type.TNull]>>;
42
+ output: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
43
+ aborted: Type.TOptional<Type.TBoolean>;
44
+ reason: Type.TOptional<Type.TString>;
45
+ }>;
46
+ export type TriggerActionExtraData = Static<typeof triggerActionExtraDataSchema>;
47
+ export declare const processLogTriggerEngineExtraDataSchema: Type.TUnion<[Type.TObject<{
48
+ code: Type.TLiteral<"trigger_evaluation">;
49
+ extra_data: Type.TObject<{
50
+ source: Type.TString;
51
+ target: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
52
+ operation: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
53
+ matched: Type.TBoolean;
54
+ conditions: Type.TOptional<Type.TUnion<[Type.TUnknown, Type.TNull]>>;
55
+ relations: Type.TOptional<Type.TUnion<[Type.TUnknown, Type.TNull]>>;
56
+ relationsSkipped: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
57
+ }>;
58
+ }>, Type.TObject<{
59
+ code: Type.TLiteral<"trigger_error">;
60
+ extra_data: Type.TObject<{
61
+ error: Type.TString;
62
+ }>;
63
+ }>, Type.TObject<{
64
+ code: Type.TLiteral<"trigger_action">;
65
+ extra_data: Type.TObject<{
66
+ actionId: Type.TNumber;
67
+ triggerId: Type.TNumber;
68
+ triggerModel: Type.TString;
69
+ executionOrder: Type.TNumber;
70
+ type: Type.TString;
71
+ validation: Type.TUnknown;
72
+ ok: Type.TOptional<Type.TUnion<[Type.TBoolean, Type.TNull]>>;
73
+ output: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
74
+ aborted: Type.TOptional<Type.TBoolean>;
75
+ reason: Type.TOptional<Type.TString>;
76
+ }>;
77
+ }>]>;
78
+ export type ProcessLogTriggerEngineExtraData = Static<typeof processLogTriggerEngineExtraDataSchema>;
79
+ export declare const processLogSchema: Type.TObject<{
80
+ id: Type.TNumber;
81
+ project_id: Type.TOptional<Type.TUnion<[Type.TNumber, Type.TNull]>>;
82
+ created_user: Type.TOptional<Type.TUnion<[Type.TNumber, Type.TNull]>>;
83
+ related_model: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
84
+ related_id: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
85
+ code: Type.TOptional<Type.TUnion<[Type.TEnum<("bulk_upload_batch" | "bulk_upload_success" | "bulk_upload_error" | "trigger_evaluation" | "trigger_error" | "trigger_action")[]>, Type.TNull]>>;
86
+ log: Type.TString;
87
+ long_log: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
88
+ extra_data: Type.TOptional<Type.TUnion<[Type.TRecord<"^.*$", Type.TUnknown>, Type.TNull]>>;
89
+ type: Type.TEnum<(0 | 1 | -1 | -2)[]>;
90
+ requires_attention: Type.TOptional<Type.TBoolean>;
91
+ reviewed: Type.TOptional<Type.TBoolean>;
92
+ reviewed_date: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
93
+ parent_id: Type.TOptional<Type.TUnion<[Type.TNumber, Type.TNull]>>;
94
+ subject_model: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
95
+ subject_id: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
96
+ expires_at: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
97
+ created_at: Type.TOptional<Type.TString>;
98
+ mod_time: Type.TOptional<Type.TString>;
99
+ }>;
100
+ export type ProcessLogData = Static<typeof processLogSchema>;
101
+ export declare const listProcessLogQuerySchema: Type.TObject<{
102
+ code: Type.TOptional<Type.TEnum<("bulk_upload_batch" | "bulk_upload_success" | "bulk_upload_error" | "trigger_evaluation" | "trigger_error" | "trigger_action")[]>>;
103
+ type: Type.TOptional<Type.TEnum<(0 | 1 | -1 | -2)[]>>;
104
+ related_model: Type.TOptional<Type.TString>;
105
+ related_id: Type.TOptional<Type.TString>;
106
+ parent_id: Type.TOptional<Type.TNumber>;
107
+ subject_model: Type.TOptional<Type.TString>;
108
+ subject_id: Type.TOptional<Type.TString>;
109
+ requires_attention: Type.TOptional<Type.TBoolean>;
110
+ reviewed: Type.TOptional<Type.TBoolean>;
111
+ created_from: Type.TOptional<Type.TUnion<[Type.TCodec<Type.TString, Date>]>>;
112
+ created_to: Type.TOptional<Type.TUnion<[Type.TCodec<Type.TString, Date>]>>;
113
+ }>;
114
+ export type ListProcessLogQuery = StaticDecode<typeof listProcessLogQuerySchema>;
115
+ //# sourceMappingURL=process-log.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"process-log.schema.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/ecosystem/process-log/process-log.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AA8BpD,eAAO,MAAM,cAAc;;;;;CAKjB,CAAA;AACV,eAAO,MAAM,oBAAoB,iCAG/B,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAchE,eAAO,MAAM,cAAc;;;;;;;CAUjB,CAAA;AACV,eAAO,MAAM,oBAAoB,+IAG/B,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAOhE,eAAO,MAAM,gCAAgC;;;;;;;;EAgC5C,CAAA;AACD,MAAM,MAAM,0BAA0B,GAAG,MAAM,CAAC,OAAO,gCAAgC,CAAC,CAAA;AAExF,eAAO,MAAM,2BAA2B;;EAGvC,CAAA;AACD,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,OAAO,2BAA2B,CAAC,CAAA;AAE9E,eAAO,MAAM,4BAA4B;;;;;;;;;;;EAwBxC,CAAA;AACD,MAAM,MAAM,sBAAsB,GAAG,MAAM,CAAC,OAAO,4BAA4B,CAAC,CAAA;AAKhF,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAalD,CAAA;AACD,MAAM,MAAM,gCAAgC,GAAG,MAAM,CAAC,OAAO,sCAAsC,CAAC,CAAA;AAOpG,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;EAoF5B,CAAA;AACD,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAM5D,eAAO,MAAM,yBAAyB;;;;;;;;;;;;EAiCrC,CAAA;AAID,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,yBAAyB,CAAC,CAAA"}
@@ -1,3 +1,7 @@
1
+ import { default as RequestContext } from '../../../../models/request/RequestContext';
2
+ import { PaginatedQuery } from '../../global/pagination';
3
+ import { ProcessLog } from './process-log.model';
4
+ import { ListProcessLogQuery } from './process-log.schema';
1
5
  export interface EcosystemPurgeResult {
2
6
  ecosystem: string;
3
7
  /** Rows deleted in this cycle. `null` when the ecosystem was skipped or failed. */
@@ -16,5 +20,17 @@ declare function purgeExpiredProcessLogs(): Promise<EcosystemPurgeResult[]>;
16
20
  export declare const ProcessLogPurgeService: {
17
21
  purgeExpiredProcessLogs: typeof purgeExpiredProcessLogs;
18
22
  };
23
+ /**
24
+ * Lists the `process_log` rows of the request's project, newest first, narrowed by the optional
25
+ * filters.
26
+ *
27
+ * Always scoped to `ctx.getProjectId()` — unlike `alert.service.ts`'s `scopeToRequest`, there is no
28
+ * ecosystem-wide mode here: the endpoint is only mounted at the project level (see
29
+ * `process-log.controller.ts`), so a request that reaches this function always carries a project.
30
+ */
31
+ declare function listProcessLogs(ctx: RequestContext, pagination: PaginatedQuery, filters: ListProcessLogQuery): Promise<import('objection').Page<ProcessLog>>;
32
+ export declare const ProcessLogService: {
33
+ list: typeof listProcessLogs;
34
+ };
19
35
  export {};
20
36
  //# sourceMappingURL=process-log.service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"process-log.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/ecosystem/process-log/process-log.service.ts"],"names":[],"mappings":"AA0CA,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAA;IACjB,mFAAmF;IACnF,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CACvB;AA+DD;;;;;;;;GAQG;AACH,iBAAe,uBAAuB,IAAI,OAAO,CAAC,oBAAoB,EAAE,CAAC,CAiDxE;AAED,eAAO,MAAM,sBAAsB;;CAElC,CAAA"}
1
+ {"version":3,"file":"process-log.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/ecosystem/process-log/process-log.service.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,cAAc,MAAM,mCAAmC,CAAA;AACnE,OAAO,EAAE,cAAc,EAAiB,MAAM,6BAA6B,CAAA;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAChD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAoC/D,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAA;IACjB,mFAAmF;IACnF,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CACvB;AA+DD;;;;;;;;GAQG;AACH,iBAAe,uBAAuB,IAAI,OAAO,CAAC,oBAAoB,EAAE,CAAC,CAiDxE;AAED,eAAO,MAAM,sBAAsB;;CAElC,CAAA;AAUD;;;;;;;GAOG;AACH,iBAAe,eAAe,CAAC,GAAG,EAAE,cAAc,EAAE,UAAU,EAAE,cAAc,EAAE,OAAO,EAAE,mBAAmB,iDAwB3G;AAED,eAAO,MAAM,iBAAiB;;CAE7B,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { default as dayjs } from 'dayjs';
2
- import { PeriodUnit } from './dates.schema';
2
+ import { PeriodUnit } from '../dates.schema';
3
3
  export declare const DEFAULT_WEEK_START = 1;
4
4
  export declare function toCalendar(ms: number, utc: boolean): dayjs.Dayjs;
5
5
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dates.helper.d.ts","sourceRoot":"","sources":["../../../../../../../../src/v2/modules/global/dates/dates.helper/dates.helper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAmBjD,eAAO,MAAM,kBAAkB,IAAI,CAAA;AAGnC,wBAAgB,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,GAAG,KAAK,CAAC,KAAK,CAEhE;AAQD;;;;GAIG;AACH,wBAAgB,cAAc,CAC5B,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,UAAU,EAChB,SAAS,GAAE,MAA2B,EACtC,GAAG,UAAQ,GACV,MAAM,CAQR;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,UAAQ,GAAG,MAAM,CAEhG"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dates.helper.test.d.ts","sourceRoot":"","sources":["../../../../../../../../src/v2/modules/global/dates/dates.helper/dates.helper.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,75 @@
1
+ import { FastifyPluginAsync, FastifyPluginOptions, FastifySchemaCompiler, FastifyTypeProvider, RawServerBase, RawServerDefault } from 'fastify';
2
+ import { StaticDecode, StaticEncode, TSchema } from 'typebox';
3
+ /**
4
+ * The stock validator compiler, extended to decode what it just validated.
5
+ *
6
+ * This is what makes `apiDateTime` (and any future codec) actually run. The decode has to happen
7
+ * here and nowhere else, for two reasons:
8
+ *
9
+ * - **It is the only place whose output Fastify adopts.** A validator compiler returns `{ value }`
10
+ * and Fastify *reassigns* that to `request.body`. A `preHandler` hook would have to re-derive the
11
+ * schema from `request.routeOptions` and decode by hand, which does not even work — the route
12
+ * schema there is the raw JSON Schema, and `Value.Decode` against it raises `DecodeError`.
13
+ * - **Order.** `Check()` validates the shape that travelled on the wire — a `string`. Decoding
14
+ * first and validating after would hand a `Date` to a `type: 'string'` check and 400 every valid
15
+ * request. Validate, then decode, is the only ordering that holds.
16
+ *
17
+ * A decode that throws becomes a 400, not a 500: the `catch` turns it into the same `{ error }`
18
+ * shape a failed validation returns, which Fastify already renders as `FST_ERR_VALIDATION`. That is
19
+ * what lets `apiDateTime` reject a value the format check let through — a leap second — at the
20
+ * boundary rather than deep in the model.
21
+ *
22
+ * The `catch` is deliberately wide: everything a decode throws answers 400. That is right for a
23
+ * codec that only throws to reject a value, and wrong for one that could also fail internally — a
24
+ * lookup, a decryption, a plain bug — where the honest answer is 500.
25
+ *
26
+ * Separating the two does not need anything here. The `statusCode` on the returned error is
27
+ * honoured, so a codec that can fail internally raises its own error carrying `statusCode: 500` and
28
+ * this `catch` passes it through untouched. The distinction belongs to whichever codec has both
29
+ * kinds of failure, not to the compiler, which has no way to tell them apart. What must not happen
30
+ * is rethrowing: Fastify documents that throwing from a validator causes unhandled rejections once
31
+ * async hooks are in play, which is the reason this `catch` exists at all.
32
+ *
33
+ * Routes without a codec pay nothing for this. `Compile()` resolves `hasCodec` once, when the route
34
+ * is built, and `Decode()` falls through to `Parse()` when it is false — which re-runs `Check()` and
35
+ * returns the value unchanged, same object reference. The cost is per route, not per request, so
36
+ * the gate the design asked for is structural rather than something this code has to arrange.
37
+ *
38
+ * One behaviour does change for schemas that *do* carry a codec: decoding rebuilds the object from
39
+ * the declared properties, so anything the schema does not declare is dropped rather than passed
40
+ * through. Every request schema that uses `apiDateTime` today is already
41
+ * `additionalProperties: false`, where an undeclared property is a 400 long before this runs, so
42
+ * nothing observable moves. It is worth knowing before putting a codec in an open schema: there the
43
+ * extra keys would silently stop reaching the handler.
44
+ */
45
+ export declare const decodingValidatorCompiler: FastifySchemaCompiler<TSchema>;
46
+ /**
47
+ * The type provider that matches `decodingValidatorCompiler`.
48
+ *
49
+ * `TypeBoxTypeProvider` types both directions as `Static<S>`, and `Static` is an alias of
50
+ * `StaticEncode` — the *outbound* type. That was correct while nothing decoded, because both
51
+ * directions of a plain schema are the same type. It stops being correct the moment a codec is in
52
+ * play: `request.body.triggered_at` would be a `Date` at runtime and a `string` to the compiler, so
53
+ * a `.slice()` on it would typecheck and then throw in production. Declaring the validator side as
54
+ * `StaticDecode` is what keeps the handler's view of the body honest.
55
+ *
56
+ * For a schema with no codec `StaticDecode` and `StaticEncode` both collapse to what `Static`
57
+ * already returned, so no existing route changes type.
58
+ */
59
+ export interface DecodingTypeBoxTypeProvider extends FastifyTypeProvider {
60
+ validator: this['schema'] extends TSchema ? StaticDecode<this['schema']> : unknown;
61
+ serializer: this['schema'] extends TSchema ? StaticEncode<this['schema']> : unknown;
62
+ }
63
+ /**
64
+ * `FastifyPluginAsyncTypebox`, bound to the decoding provider above.
65
+ *
66
+ * A controller declares its own provider, and that declaration — not the one the app was built
67
+ * with — is what types `req.body` inside it. So a controller whose schemas carry a codec has to be
68
+ * written against this type: with the stock `FastifyPluginAsyncTypebox` the handler would see
69
+ * `triggered_at` as a `string` while a `Date` arrives at runtime.
70
+ *
71
+ * Controllers with no codec in their schemas can keep using the stock type — for those, both
72
+ * spellings resolve to the same thing.
73
+ */
74
+ export type FastifyPluginAsyncDecodingTypebox<Options extends FastifyPluginOptions = Record<never, never>, Server extends RawServerBase = RawServerDefault> = FastifyPluginAsync<Options, Server, DecodingTypeBoxTypeProvider>;
75
+ //# sourceMappingURL=decoding-validator.helper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"decoding-validator.helper.d.ts","sourceRoot":"","sources":["../../../../../../../../src/v2/modules/global/dates/dates.helper/decoding-validator.helper.ts"],"names":[],"mappings":"AACA,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,qBAAqB,EAErB,mBAAmB,EACnB,aAAa,EACb,gBAAgB,EACjB,MAAM,SAAS,CAAA;AAChB,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAU7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,eAAO,MAAM,yBAAyB,EAAE,qBAAqB,CAAC,OAAO,CAqBpE,CAAA;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,2BAA4B,SAAQ,mBAAmB;IACtE,SAAS,EAAE,IAAI,CAAC,QAAQ,CAAC,SAAS,OAAO,GAAG,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,GAAG,OAAO,CAAA;IAClF,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,SAAS,OAAO,GAAG,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,GAAG,OAAO,CAAA;CACpF;AAED;;;;;;;;;;GAUG;AACH,MAAM,MAAM,iCAAiC,CAC3C,OAAO,SAAS,oBAAoB,GAAG,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,EAC3D,MAAM,SAAS,aAAa,GAAG,gBAAgB,IAC7C,kBAAkB,CAAC,OAAO,EAAE,MAAM,EAAE,2BAA2B,CAAC,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=decoding-validator.helper.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"decoding-validator.helper.test.d.ts","sourceRoot":"","sources":["../../../../../../../../src/v2/modules/global/dates/dates.helper/decoding-validator.helper.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export * from './dates.helper';
2
+ export * from './decoding-validator.helper';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/v2/modules/global/dates/dates.helper/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,6BAA6B,CAAA"}
@@ -1,3 +1,4 @@
1
+ import { Type } from 'typebox';
1
2
  /**
2
3
  * Generic calendar unit shared by the date primitives. Pure type — the calendar arithmetic that
3
4
  * consumes it lives in `dates.helper.ts`. Domain modules that need a narrower alias (e.g. the trend
@@ -43,4 +44,26 @@ export declare const API_DATETIME_EXAMPLE = "2026-01-15T10:30:00Z";
43
44
  * spec, which is where a client reads the contract from.
44
45
  */
45
46
  export declare const EMITTED_DATETIME_NOTE = "Emitted as ISO-8601 in UTC";
47
+ /**
48
+ * An RFC 3339 datetime a request carries, decoded to a `Date` at the HTTP boundary.
49
+ *
50
+ * Declaring a request field with this instead of `Type.String({ format: 'date-time' })` is what
51
+ * moves the string→instant conversion out of the services: the handler receives a `Date`, hands it
52
+ * to the model, and `BaseModel.$parseJson` (`datesToString` → `getMySQLDateTime`) writes the UTC
53
+ * string the column takes. No service has to know a date format.
54
+ *
55
+ * The decode runs in the validator compiler (`decodingValidatorCompiler`), after validation — see
56
+ * `decoding-validator.helper.ts` for why that is the only place it can run. What this type contributes is the
57
+ * declaration: a schema that carries it is a schema whose datetimes arrive decoded.
58
+ *
59
+ * `Type.Codec` and not `Type.Transform`: this is `typebox`, where the codec combinator carries that
60
+ * name. The wrapped type is the same `format: 'date-time'` as before, so what the route accepts and
61
+ * rejects does not move — see `API_DATETIME_ACCEPTED_NOTE` for the contract that stays put.
62
+ *
63
+ * `Encode` exists for completeness and does not run on the way out: responses are serialised by
64
+ * `fast-json-stringify`, which knows nothing about codecs. Datetimes leave as ISO-8601 because they
65
+ * come out of the pool as `Date` and get `.toISOString()`d there, not because of this. In this
66
+ * architecture the codec is effectively one-way.
67
+ */
68
+ export declare const apiDateTime: Type.TCodec<Type.TString, Date>;
46
69
  //# sourceMappingURL=dates.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dates.schema.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/global/dates/dates.schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,CAAA;AAE1D;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,0BAA0B,wNAC2K,CAAA;AAElN,uEAAuE;AACvE,eAAO,MAAM,oBAAoB,yBAAyB,CAAA;AAE1D;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB,+BAA+B,CAAA"}
1
+ {"version":3,"file":"dates.schema.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/global/dates/dates.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAE9B;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,CAAA;AAE1D;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,0BAA0B,wNAC2K,CAAA;AAElN,uEAAuE;AACvE,eAAO,MAAM,oBAAoB,yBAAyB,CAAA;AAE1D;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB,+BAA+B,CAAA;AAEjE;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,WAAW,iCAYe,CAAA"}
@@ -1,3 +1,3 @@
1
- declare const _default: import('@fastify/type-provider-typebox').FastifyPluginAsyncTypebox;
1
+ declare const _default: import('../../../../../modules/global/dates').FastifyPluginAsyncDecodingTypebox;
2
2
  export default _default;
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,3 @@
1
- declare const _default: import('@fastify/type-provider-typebox').FastifyPluginAsyncTypebox;
1
+ declare const _default: import('../../../../../../../modules/global/dates').FastifyPluginAsyncDecodingTypebox;
2
2
  export default _default;
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,3 @@
1
+ declare const _default: import('../../../../../../../modules/global/dates').FastifyPluginAsyncDecodingTypebox;
2
+ export default _default;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/process-log/index.ts"],"names":[],"mappings":";AAEA,wBAAoD"}
@@ -1424,12 +1424,6 @@ var ProcessLogType = /* @__PURE__ */ ((ProcessLogType2) => {
1424
1424
  ProcessLogType2[ProcessLogType2["ERROR"] = -2] = "ERROR";
1425
1425
  return ProcessLogType2;
1426
1426
  })(ProcessLogType || {});
1427
- var ProcessLogCode = /* @__PURE__ */ ((ProcessLogCode2) => {
1428
- ProcessLogCode2["BULK_UPLOAD_BATCH"] = "bulk_upload_batch";
1429
- ProcessLogCode2["BULK_UPLOAD_SUCCESS"] = "bulk_upload_success";
1430
- ProcessLogCode2["BULK_UPLOAD_ERROR"] = "bulk_upload_error";
1431
- return ProcessLogCode2;
1432
- })(ProcessLogCode || {});
1433
1427
  var BulkUploadStatus = /* @__PURE__ */ ((BulkUploadStatus2) => {
1434
1428
  BulkUploadStatus2[BulkUploadStatus2["error"] = -1] = "error";
1435
1429
  BulkUploadStatus2[BulkUploadStatus2["uploaded"] = 0] = "uploaded";
@@ -1493,7 +1487,6 @@ exports.OBJECT_TYPE = OBJECT_TYPE;
1493
1487
  exports.OrderType = OrderType;
1494
1488
  exports.PATIENT_CREATION_ABOUT = PATIENT_CREATION_ABOUT;
1495
1489
  exports.PresentationWidget = PresentationWidget;
1496
- exports.ProcessLogCode = ProcessLogCode;
1497
1490
  exports.ProcessLogType = ProcessLogType;
1498
1491
  exports.QUESTIONNAIRE_DATE = QUESTIONNAIRE_DATE;
1499
1492
  exports.QUESTIONNAIRE_TYPE = QUESTIONNAIRE_TYPE;