@puca/puca-core 12.13.14 → 13.0.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 (48) hide show
  1. package/dist/core/services/abstract-controller.d.ts +2 -1
  2. package/dist/core/services/abstract-controller.js +10 -0
  3. package/dist/core/services/abstract-controller.js.map +1 -1
  4. package/dist/core/services/crud-base-testable.service.js +4 -1
  5. package/dist/core/services/crud-base-testable.service.js.map +1 -1
  6. package/dist/core/services/index.js +1 -1
  7. package/dist/core/services/index.js.map +1 -1
  8. package/dist/core/services/install.service.js +2 -1
  9. package/dist/core/services/install.service.js.map +1 -1
  10. package/dist/core/services/llm/llm.service.d.ts +27 -23
  11. package/dist/core/services/llm/llm.service.js +23 -8
  12. package/dist/core/services/llm/llm.service.js.map +1 -1
  13. package/dist/core/services/monitor.d.ts +1 -1
  14. package/dist/core/services/monitor.js +3 -3
  15. package/dist/core/services/monitor.js.map +1 -1
  16. package/dist/models/crud-controller-especification-environment.d.ts +11 -3
  17. package/dist/models/crud-controller-especification-environment.js.map +1 -1
  18. package/dist/models/crud-controller-especification.d.ts +1 -1
  19. package/dist/orm/cases/vanilla/sql-builder/select.service.js +20 -18
  20. package/dist/orm/cases/vanilla/sql-builder/select.service.js.map +1 -1
  21. package/dist/orm/services/transaction.js +3 -1
  22. package/dist/orm/services/transaction.js.map +1 -1
  23. package/dist/packages/crm/crm.service.js +3 -1
  24. package/dist/packages/crm/crm.service.js.map +1 -1
  25. package/dist/plugins/final-user-query-language/final-user-query-language.js.map +1 -1
  26. package/dist/plugins/nestjs/puca-auth.decorators.js +3 -0
  27. package/dist/plugins/nestjs/puca-auth.decorators.js.map +1 -1
  28. package/dist/tsconfig.tsbuildinfo +1 -1
  29. package/fuql-grammar.js +76 -76
  30. package/fuql-grammar.ne +65 -66
  31. package/fuql-snapshot/COMAC_MATERIAL_DE_CONSTRUCAO_L_ONDE__Cliente____Chave__nica_____43767__E__Nota_Fiscal____Data______02_06_2025_.json +55 -0
  32. package/fuql-snapshot/ONDE_N_O_f4___v5_E_f5___v6.json +39 -0
  33. package/fuql-snapshot/ONDE_Responsavel_CONTEM_raphael.json +17 -0
  34. package/fuql-snapshot/ONDE_Responsavel__CONTEM_raphael.json +31 -0
  35. package/fuql-snapshot/ONDE__123_____123_.json +19 -0
  36. package/fuql-snapshot/ONDE__Etapa____Nome____teste.json +17 -0
  37. package/fuql-snapshot/ONDE__N_O_f4___v5_E_f5___v6_.json +43 -0
  38. package/fuql-snapshot/ONDE___idade___18__E__nome____Raphael__OU_nome____Carvalho__.json +104 -0
  39. package/fuql-snapshot/ONDE__nome_____sobrenome_.json +19 -0
  40. package/fuql-snapshot/ONDE_data___01_01_2023.json +16 -0
  41. package/fuql-snapshot/ONDE_nome___1_000_00.json +16 -0
  42. package/fuql-snapshot/ONDE_nome___Raphael_Carvalho_de_Aguiar.json +16 -0
  43. package/fuql-snapshot/ONDE_nome____.json +16 -0
  44. package/fuql-snapshot/ONDE_nome_____Raphael__E_N_O_sobrenome____Carvalho_.json +46 -0
  45. package/fuql-snapshot/ONDE_responsavel___puca_user.json +16 -0
  46. package/fuql-snapshot/a223.json +6 -0
  47. package/fuql-snapshot/bom_dia_ONDE_nome____Raphael_Carvalho_de_Aguiar_.json +18 -0
  48. package/package.json +1 -1
@@ -0,0 +1,17 @@
1
+ [
2
+ {
3
+ "mode": "ONDE",
4
+ "where": {
5
+ "v1": {
6
+ "dsl_type": "field",
7
+ "dsl_value": "Etapa -> Nome"
8
+ },
9
+ "v2": {
10
+ "dsl_type": "value",
11
+ "dsl_value": "teste"
12
+ },
13
+ "operator": "equals"
14
+ }
15
+ },
16
+ null
17
+ ]
@@ -0,0 +1,43 @@
1
+ [
2
+ null,
3
+ {
4
+ "mode": "ONDE",
5
+ "where": {
6
+ "parenthesis": true,
7
+ "and": [
8
+ {
9
+ "not": {
10
+ "v1": {
11
+ "dsl_type": "field",
12
+ "dsl_value": "f4"
13
+ },
14
+ "v2": {
15
+ "dsl_type": "value",
16
+ "dsl_value": "v5"
17
+ },
18
+ "operator": "equals"
19
+ }
20
+ },
21
+ {
22
+ "v1": {
23
+ "dsl_type": "field",
24
+ "dsl_value": "f5"
25
+ },
26
+ "v2": {
27
+ "dsl_type": "value",
28
+ "dsl_value": "v6"
29
+ },
30
+ "operator": "equals"
31
+ }
32
+ ]
33
+ }
34
+ },
35
+ null,
36
+ null,
37
+ null,
38
+ null,
39
+ null,
40
+ null,
41
+ null,
42
+ null
43
+ ]
@@ -0,0 +1,104 @@
1
+ [
2
+ null,
3
+ null,
4
+ null,
5
+ null,
6
+ null,
7
+ null,
8
+ null,
9
+ null,
10
+ null,
11
+ null,
12
+ null,
13
+ null,
14
+ null,
15
+ null,
16
+ null,
17
+ null,
18
+ null,
19
+ null,
20
+ null,
21
+ null,
22
+ null,
23
+ null,
24
+ null,
25
+ null,
26
+ null,
27
+ null,
28
+ null,
29
+ null,
30
+ null,
31
+ null,
32
+ null,
33
+ null,
34
+ null,
35
+ {
36
+ "mode": "ONDE",
37
+ "where": {
38
+ "and": [
39
+ {
40
+ "parenthesis": true,
41
+ "v1": {
42
+ "dsl_type": "field",
43
+ "dsl_value": "idade"
44
+ },
45
+ "v2": {
46
+ "dsl_type": "value",
47
+ "dsl_value": "18"
48
+ },
49
+ "operator": "greater"
50
+ },
51
+ {
52
+ "parenthesis": true,
53
+ "or": [
54
+ {
55
+ "v1": {
56
+ "dsl_type": "field",
57
+ "dsl_value": "nome"
58
+ },
59
+ "v2": {
60
+ "dsl_type": "value",
61
+ "dsl_value": "Raphael"
62
+ },
63
+ "operator": "equals"
64
+ },
65
+ {
66
+ "v1": {
67
+ "dsl_type": "field",
68
+ "dsl_value": "nome"
69
+ },
70
+ "v2": {
71
+ "dsl_type": "value",
72
+ "dsl_value": "Carvalho"
73
+ },
74
+ "operator": "equals"
75
+ }
76
+ ]
77
+ }
78
+ ]
79
+ }
80
+ },
81
+ null,
82
+ null,
83
+ null,
84
+ null,
85
+ null,
86
+ null,
87
+ null,
88
+ null,
89
+ null,
90
+ null,
91
+ null,
92
+ null,
93
+ null,
94
+ null,
95
+ null,
96
+ null,
97
+ null,
98
+ null,
99
+ null,
100
+ null,
101
+ null,
102
+ null,
103
+ null
104
+ ]
@@ -0,0 +1,19 @@
1
+ [
2
+ {
3
+ "mode": "ONDE",
4
+ "where": {
5
+ "v1": {
6
+ "dsl_type": "field",
7
+ "dsl_value": "nome"
8
+ },
9
+ "v2": {
10
+ "dsl_type": "field",
11
+ "dsl_value": "sobrenome"
12
+ },
13
+ "operator": "equals"
14
+ }
15
+ },
16
+ null,
17
+ null,
18
+ null
19
+ ]
@@ -0,0 +1,16 @@
1
+ [
2
+ {
3
+ "mode": "ONDE",
4
+ "where": {
5
+ "v1": {
6
+ "dsl_type": "field",
7
+ "dsl_value": "data"
8
+ },
9
+ "v2": {
10
+ "dsl_type": "value",
11
+ "dsl_value": "01/01/2023"
12
+ },
13
+ "operator": "equals"
14
+ }
15
+ }
16
+ ]
@@ -0,0 +1,16 @@
1
+ [
2
+ {
3
+ "mode": "ONDE",
4
+ "where": {
5
+ "v1": {
6
+ "dsl_type": "field",
7
+ "dsl_value": "nome"
8
+ },
9
+ "v2": {
10
+ "dsl_type": "value",
11
+ "dsl_value": "1.000,00"
12
+ },
13
+ "operator": "equals"
14
+ }
15
+ }
16
+ ]
@@ -0,0 +1,16 @@
1
+ [
2
+ {
3
+ "mode": "ONDE",
4
+ "where": {
5
+ "v1": {
6
+ "dsl_type": "field",
7
+ "dsl_value": "nome"
8
+ },
9
+ "v2": {
10
+ "dsl_type": "value",
11
+ "dsl_value": "Raphael Carvalho de Aguiar"
12
+ },
13
+ "operator": "equals"
14
+ }
15
+ }
16
+ ]
@@ -0,0 +1,16 @@
1
+ [
2
+ {
3
+ "mode": "ONDE",
4
+ "where": {
5
+ "v1": {
6
+ "dsl_type": "field",
7
+ "dsl_value": "nome"
8
+ },
9
+ "v2": {
10
+ "dsl_type": "value",
11
+ "dsl_value": "á"
12
+ },
13
+ "operator": "equals"
14
+ }
15
+ }
16
+ ]
@@ -0,0 +1,46 @@
1
+ [
2
+ null,
3
+ null,
4
+ null,
5
+ null,
6
+ {
7
+ "mode": "ONDE",
8
+ "where": {
9
+ "and": [
10
+ {
11
+ "not": {
12
+ "v1": {
13
+ "dsl_type": "field",
14
+ "dsl_value": "nome"
15
+ },
16
+ "v2": {
17
+ "dsl_type": "value",
18
+ "dsl_value": "Raphael"
19
+ },
20
+ "operator": "equals"
21
+ }
22
+ },
23
+ {
24
+ "not": {
25
+ "v1": {
26
+ "dsl_type": "field",
27
+ "dsl_value": "sobrenome"
28
+ },
29
+ "v2": {
30
+ "dsl_type": "value",
31
+ "dsl_value": "Carvalho"
32
+ },
33
+ "operator": "equals"
34
+ }
35
+ }
36
+ ]
37
+ }
38
+ },
39
+ null,
40
+ null,
41
+ null,
42
+ null,
43
+ null,
44
+ null,
45
+ null
46
+ ]
@@ -0,0 +1,16 @@
1
+ [
2
+ {
3
+ "mode": "ONDE",
4
+ "where": {
5
+ "v1": {
6
+ "dsl_type": "field",
7
+ "dsl_value": "responsavel"
8
+ },
9
+ "v2": {
10
+ "dsl_type": "value",
11
+ "dsl_value": "puca-user"
12
+ },
13
+ "operator": "equals"
14
+ }
15
+ }
16
+ ]
@@ -0,0 +1,6 @@
1
+ [
2
+ {
3
+ "mode": "query",
4
+ "query": "a223"
5
+ }
6
+ ]
@@ -0,0 +1,18 @@
1
+ [
2
+ {
3
+ "mode": "query _ ONDE",
4
+ "query": "bom dia",
5
+ "where": {
6
+ "v1": {
7
+ "dsl_type": "field",
8
+ "dsl_value": "nome"
9
+ },
10
+ "v2": {
11
+ "dsl_type": "value",
12
+ "dsl_value": "Raphael Carvalho de Aguiar"
13
+ },
14
+ "operator": "equals"
15
+ }
16
+ },
17
+ null
18
+ ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@puca/puca-core",
3
- "version": "12.13.14",
3
+ "version": "13.0.0",
4
4
  "description": "",
5
5
  "author": "Raphael Aguiar",
6
6
  "license": "UNLICENSED",