jsegd-fluig-types 1.0.19 → 1.0.20

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.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # jsegd-fluig-types
2
2
 
3
- ![Version](https://img.shields.io/badge/version-1.0.19-blue.svg)
3
+ ![Version](https://img.shields.io/badge/version-1.0.20-blue.svg)
4
4
  ![License](https://img.shields.io/badge/license-CC--BY--NC--ND--4.0-green.svg)
5
5
 
6
6
  Pacote de tipos TypeScript para desenvolvimento com a plataforma Fluig. Este pacote fornece tipagens completas para APIs do Fluig, facilitando o desenvolvimento tanto no frontend quanto no backend, incluindo suporte para webservices e implementações duais de DatasetFactory.
package/fluig.api.d.ts ADDED
@@ -0,0 +1,66 @@
1
+ /**
2
+ * Parâmetros para a API Fluig - Dataset handle
3
+ * Endpoint: GET /v2/dataset-handle/search
4
+ */
5
+ declare global {
6
+ interface SearchDatasetValuesParams {
7
+ /**
8
+ * Dataset code to be used as a filter.
9
+ * (Obrigatório)
10
+ */
11
+ datasetId: string;
12
+
13
+ /**
14
+ * Dataset fields that will be returned.
15
+ * Se não informado, todos os campos serão retornados.
16
+ */
17
+ field?: string[];
18
+
19
+ /**
20
+ * Quantos registros serão ignorados antes de retornar os valores.
21
+ * Usado em conjunto com `limit` para paginação.
22
+ */
23
+ offset?: number;
24
+
25
+ /**
26
+ * Número máximo de registros retornados.
27
+ * Padrão: 300. Use 0 para buscar todos (não recomendado).
28
+ */
29
+ limit?: number;
30
+
31
+ /**
32
+ * Campo para ordenação dos resultados.
33
+ * Pode incluir "_ASC" ou "_DESC" para definir a ordem.
34
+ */
35
+ orderby?: string;
36
+
37
+ /**
38
+ * Nome dos campos usados como filtros (constraints).
39
+ * É possível informar vários campos.
40
+ */
41
+ constraintsField?: string[];
42
+
43
+ /**
44
+ * Valores iniciais usados para filtrar (mesma ordem de `constraintsField`).
45
+ */
46
+ constraintsInitialValue?: string[];
47
+
48
+ /**
49
+ * Valores finais usados para filtros por faixa (mesma ordem de `constraintsField`).
50
+ */
51
+ constraintsFinalValue?: string[];
52
+
53
+ /**
54
+ * Tipo de restrição — valores permitidos: "MUST", "MUST_NOT", "SHOULD".
55
+ */
56
+ constraintsType?: ("MUST" | "MUST_NOT" | "SHOULD")[];
57
+
58
+ /**
59
+ * Define se a busca é parcial (LIKE) ou exata.
60
+ * true → aceita valores parciais (%)
61
+ * false → exige correspondência exata
62
+ */
63
+ constraintsLikeSearch?: boolean[];
64
+ }
65
+ }
66
+ export {};
package/index.d.ts CHANGED
@@ -4,3 +4,4 @@ export * from "./fluig.frontend.d";
4
4
  export * from "./fluig.backend.d";
5
5
  export * from "./fluig.webservice.d";
6
6
  export * from "./fluig.dataset.d";
7
+ export * from "./fluig.api.d";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsegd-fluig-types",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "description": "Definições de tipos TypeScript para desenvolvimento na plataforma Fluig - Inclui APIs, SDK, datasets, workflows e webservices",
5
5
  "keywords": [
6
6
  "fluig",
@@ -21,7 +21,7 @@
21
21
  "homepage": "https://www.egd.tec.br/",
22
22
  "repository": {
23
23
  "type": "git",
24
- "url": "https://github.com/egd-tecnologia/jsegd-fluig-types.git"
24
+ "url": "git+https://github.com/egd-tecnologia/jsegd-fluig-types.git"
25
25
  },
26
26
  "bugs": {
27
27
  "url": "https://github.com/egd-tecnologia/jsegd-fluig-types/issues"
@@ -35,6 +35,7 @@
35
35
  "./sdk": "./fluig.sdk.d.ts",
36
36
  "./webservice": "./fluig.webservice.d.ts",
37
37
  "./dataset": "./fluig.dataset.d.ts",
38
+ "./api": "./fluig.api.d.ts",
38
39
  "./java": "./java.d.ts"
39
40
  },
40
41
  "typesVersions": {
@@ -58,7 +59,8 @@
58
59
  "fluig.backend.d.ts",
59
60
  "fluig.webservice.d.ts",
60
61
  "fluig.dataset.d.ts",
62
+ "fluig.api.d.ts",
61
63
  "java.d.ts",
62
64
  "README.md"
63
65
  ]
64
- }
66
+ }