@gooddata/api-client-tiger 11.7.0-alpha.1 → 11.7.0-alpha.3
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/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/api-client-tiger.d.ts +20 -389
- package/esm/generated/afm-rest-api/api.d.ts +18 -695
- package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/api.js +8 -763
- package/esm/generated/afm-rest-api/api.js.map +1 -1
- package/esm/generated/afm-rest-api/openapi-spec.json +15 -283
- package/package.json +4 -4
|
@@ -17,125 +17,6 @@
|
|
|
17
17
|
}
|
|
18
18
|
],
|
|
19
19
|
"paths": {
|
|
20
|
-
"/api/v1/actions/workspaces/{workspaceId}/ai/memory/{memoryId}": {
|
|
21
|
-
"get": {
|
|
22
|
-
"tags": ["Smart Functions", "actions"],
|
|
23
|
-
"summary": "(EXPERIMENTAL) Get memory item",
|
|
24
|
-
"description": "(EXPERIMENTAL) Get memory item by id",
|
|
25
|
-
"operationId": "getMemoryItem",
|
|
26
|
-
"parameters": [
|
|
27
|
-
{
|
|
28
|
-
"name": "workspaceId",
|
|
29
|
-
"in": "path",
|
|
30
|
-
"description": "Workspace identifier",
|
|
31
|
-
"required": true,
|
|
32
|
-
"schema": {
|
|
33
|
-
"pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$",
|
|
34
|
-
"type": "string"
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"name": "memoryId",
|
|
39
|
-
"in": "path",
|
|
40
|
-
"required": true,
|
|
41
|
-
"schema": {
|
|
42
|
-
"type": "string"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
],
|
|
46
|
-
"responses": {
|
|
47
|
-
"200": {
|
|
48
|
-
"description": "OK",
|
|
49
|
-
"content": {
|
|
50
|
-
"application/json": {
|
|
51
|
-
"schema": {
|
|
52
|
-
"$ref": "#/components/schemas/MemoryItem"
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
"put": {
|
|
60
|
-
"tags": ["Smart Functions", "actions"],
|
|
61
|
-
"summary": "(EXPERIMENTAL) Update memory item",
|
|
62
|
-
"description": "(EXPERIMENTAL) Updates memory item and returns it",
|
|
63
|
-
"operationId": "updateMemoryItem",
|
|
64
|
-
"parameters": [
|
|
65
|
-
{
|
|
66
|
-
"name": "workspaceId",
|
|
67
|
-
"in": "path",
|
|
68
|
-
"description": "Workspace identifier",
|
|
69
|
-
"required": true,
|
|
70
|
-
"schema": {
|
|
71
|
-
"pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$",
|
|
72
|
-
"type": "string"
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"name": "memoryId",
|
|
77
|
-
"in": "path",
|
|
78
|
-
"required": true,
|
|
79
|
-
"schema": {
|
|
80
|
-
"type": "string"
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
],
|
|
84
|
-
"requestBody": {
|
|
85
|
-
"content": {
|
|
86
|
-
"application/json": {
|
|
87
|
-
"schema": {
|
|
88
|
-
"$ref": "#/components/schemas/MemoryItem"
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
"required": true
|
|
93
|
-
},
|
|
94
|
-
"responses": {
|
|
95
|
-
"200": {
|
|
96
|
-
"description": "OK",
|
|
97
|
-
"content": {
|
|
98
|
-
"application/json": {
|
|
99
|
-
"schema": {
|
|
100
|
-
"$ref": "#/components/schemas/MemoryItem"
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
"delete": {
|
|
108
|
-
"tags": ["Smart Functions", "actions"],
|
|
109
|
-
"summary": "(EXPERIMENTAL) Remove memory item",
|
|
110
|
-
"description": "(EXPERIMENTAL) Removes memory item",
|
|
111
|
-
"operationId": "removeMemoryItem",
|
|
112
|
-
"parameters": [
|
|
113
|
-
{
|
|
114
|
-
"name": "workspaceId",
|
|
115
|
-
"in": "path",
|
|
116
|
-
"description": "Workspace identifier",
|
|
117
|
-
"required": true,
|
|
118
|
-
"schema": {
|
|
119
|
-
"pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$",
|
|
120
|
-
"type": "string"
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"name": "memoryId",
|
|
125
|
-
"in": "path",
|
|
126
|
-
"required": true,
|
|
127
|
-
"schema": {
|
|
128
|
-
"type": "string"
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
],
|
|
132
|
-
"responses": {
|
|
133
|
-
"204": {
|
|
134
|
-
"description": "No Content"
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
20
|
"/api/v1/actions/workspaces/{workspaceId}/execution/functions/forecast/{resultId}": {
|
|
140
21
|
"post": {
|
|
141
22
|
"tags": ["Smart Functions", "actions"],
|
|
@@ -828,81 +709,6 @@
|
|
|
828
709
|
}
|
|
829
710
|
}
|
|
830
711
|
},
|
|
831
|
-
"/api/v1/actions/workspaces/{workspaceId}/ai/memory": {
|
|
832
|
-
"get": {
|
|
833
|
-
"tags": ["Smart Functions", "actions"],
|
|
834
|
-
"summary": "(EXPERIMENTAL) List all memory items",
|
|
835
|
-
"description": "(EXPERIMENTAL) Returns a list of memory items",
|
|
836
|
-
"operationId": "listMemoryItems",
|
|
837
|
-
"parameters": [
|
|
838
|
-
{
|
|
839
|
-
"name": "workspaceId",
|
|
840
|
-
"in": "path",
|
|
841
|
-
"description": "Workspace identifier",
|
|
842
|
-
"required": true,
|
|
843
|
-
"schema": {
|
|
844
|
-
"pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$",
|
|
845
|
-
"type": "string"
|
|
846
|
-
}
|
|
847
|
-
}
|
|
848
|
-
],
|
|
849
|
-
"responses": {
|
|
850
|
-
"200": {
|
|
851
|
-
"description": "OK",
|
|
852
|
-
"content": {
|
|
853
|
-
"application/json": {
|
|
854
|
-
"schema": {
|
|
855
|
-
"type": "array",
|
|
856
|
-
"items": {
|
|
857
|
-
"$ref": "#/components/schemas/MemoryItem"
|
|
858
|
-
}
|
|
859
|
-
}
|
|
860
|
-
}
|
|
861
|
-
}
|
|
862
|
-
}
|
|
863
|
-
}
|
|
864
|
-
},
|
|
865
|
-
"post": {
|
|
866
|
-
"tags": ["Smart Functions", "actions"],
|
|
867
|
-
"summary": "(EXPERIMENTAL) Create new memory item",
|
|
868
|
-
"description": "(EXPERIMENTAL) Creates a new memory item and returns it",
|
|
869
|
-
"operationId": "createMemoryItem",
|
|
870
|
-
"parameters": [
|
|
871
|
-
{
|
|
872
|
-
"name": "workspaceId",
|
|
873
|
-
"in": "path",
|
|
874
|
-
"description": "Workspace identifier",
|
|
875
|
-
"required": true,
|
|
876
|
-
"schema": {
|
|
877
|
-
"pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$",
|
|
878
|
-
"type": "string"
|
|
879
|
-
}
|
|
880
|
-
}
|
|
881
|
-
],
|
|
882
|
-
"requestBody": {
|
|
883
|
-
"content": {
|
|
884
|
-
"application/json": {
|
|
885
|
-
"schema": {
|
|
886
|
-
"$ref": "#/components/schemas/MemoryItem"
|
|
887
|
-
}
|
|
888
|
-
}
|
|
889
|
-
},
|
|
890
|
-
"required": true
|
|
891
|
-
},
|
|
892
|
-
"responses": {
|
|
893
|
-
"200": {
|
|
894
|
-
"description": "OK",
|
|
895
|
-
"content": {
|
|
896
|
-
"application/json": {
|
|
897
|
-
"schema": {
|
|
898
|
-
"$ref": "#/components/schemas/MemoryItem"
|
|
899
|
-
}
|
|
900
|
-
}
|
|
901
|
-
}
|
|
902
|
-
}
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
},
|
|
906
712
|
"/api/v1/actions/workspaces/{workspaceId}/ai/issues/triggerCheck": {
|
|
907
713
|
"post": {
|
|
908
714
|
"tags": ["Smart Functions", "actions"],
|
|
@@ -1768,90 +1574,6 @@
|
|
|
1768
1574
|
},
|
|
1769
1575
|
"components": {
|
|
1770
1576
|
"schemas": {
|
|
1771
|
-
"MemoryItem": {
|
|
1772
|
-
"required": ["id", "instruction", "keywords"],
|
|
1773
|
-
"type": "object",
|
|
1774
|
-
"properties": {
|
|
1775
|
-
"id": {
|
|
1776
|
-
"maxLength": 255,
|
|
1777
|
-
"type": "string",
|
|
1778
|
-
"description": "Memory item ID"
|
|
1779
|
-
},
|
|
1780
|
-
"useCases": {
|
|
1781
|
-
"$ref": "#/components/schemas/MemoryItemUseCases"
|
|
1782
|
-
},
|
|
1783
|
-
"strategy": {
|
|
1784
|
-
"type": "string",
|
|
1785
|
-
"description": "Defines the application strategy.",
|
|
1786
|
-
"enum": [
|
|
1787
|
-
"MEMORY_ITEM_STRATEGY_ALLWAYS",
|
|
1788
|
-
"MEMORY_ITEM_STRATEGY_NEVER",
|
|
1789
|
-
"MEMORY_ITEM_STRATEGY_AUTO"
|
|
1790
|
-
]
|
|
1791
|
-
},
|
|
1792
|
-
"instruction": {
|
|
1793
|
-
"maxLength": 255,
|
|
1794
|
-
"type": "string",
|
|
1795
|
-
"description": "Instruction that will be injected into the prompt."
|
|
1796
|
-
},
|
|
1797
|
-
"keywords": {
|
|
1798
|
-
"type": "array",
|
|
1799
|
-
"description": "List of keywords used to match the memory item.",
|
|
1800
|
-
"items": {
|
|
1801
|
-
"type": "string",
|
|
1802
|
-
"description": "List of keywords used to match the memory item."
|
|
1803
|
-
}
|
|
1804
|
-
}
|
|
1805
|
-
}
|
|
1806
|
-
},
|
|
1807
|
-
"MemoryItemUseCases": {
|
|
1808
|
-
"required": [
|
|
1809
|
-
"general",
|
|
1810
|
-
"howto",
|
|
1811
|
-
"keywords",
|
|
1812
|
-
"metric",
|
|
1813
|
-
"normalize",
|
|
1814
|
-
"router",
|
|
1815
|
-
"search",
|
|
1816
|
-
"visualization"
|
|
1817
|
-
],
|
|
1818
|
-
"type": "object",
|
|
1819
|
-
"properties": {
|
|
1820
|
-
"router": {
|
|
1821
|
-
"type": "boolean",
|
|
1822
|
-
"description": "Appy this memory item to the router prompt."
|
|
1823
|
-
},
|
|
1824
|
-
"keywords": {
|
|
1825
|
-
"type": "boolean",
|
|
1826
|
-
"description": "Apply this memory item to the search keyword extraction prompt."
|
|
1827
|
-
},
|
|
1828
|
-
"search": {
|
|
1829
|
-
"type": "boolean",
|
|
1830
|
-
"description": "Apply this memory item to the search prompt."
|
|
1831
|
-
},
|
|
1832
|
-
"visualization": {
|
|
1833
|
-
"type": "boolean",
|
|
1834
|
-
"description": "Apply this memory item to the visualization prompt."
|
|
1835
|
-
},
|
|
1836
|
-
"general": {
|
|
1837
|
-
"type": "boolean",
|
|
1838
|
-
"description": "Apply this memory item to the general answer prompt."
|
|
1839
|
-
},
|
|
1840
|
-
"howto": {
|
|
1841
|
-
"type": "boolean",
|
|
1842
|
-
"description": "Apply this memory item to the how-to prompt."
|
|
1843
|
-
},
|
|
1844
|
-
"normalize": {
|
|
1845
|
-
"type": "boolean",
|
|
1846
|
-
"description": "Apply this memory item to the normalize prompt."
|
|
1847
|
-
},
|
|
1848
|
-
"metric": {
|
|
1849
|
-
"type": "boolean",
|
|
1850
|
-
"description": "Apply this memory item to the metric selection prompt."
|
|
1851
|
-
}
|
|
1852
|
-
},
|
|
1853
|
-
"description": "Defines the prompts where the given instruction should be applied."
|
|
1854
|
-
},
|
|
1855
1577
|
"ForecastRequest": {
|
|
1856
1578
|
"required": ["forecastPeriod"],
|
|
1857
1579
|
"type": "object",
|
|
@@ -4653,13 +4375,13 @@
|
|
|
4653
4375
|
"nullable": true
|
|
4654
4376
|
}
|
|
4655
4377
|
},
|
|
4656
|
-
"
|
|
4378
|
+
"xcoord": {
|
|
4657
4379
|
"type": "array",
|
|
4658
4380
|
"items": {
|
|
4659
4381
|
"type": "number"
|
|
4660
4382
|
}
|
|
4661
4383
|
},
|
|
4662
|
-
"
|
|
4384
|
+
"ycoord": {
|
|
4663
4385
|
"type": "array",
|
|
4664
4386
|
"items": {
|
|
4665
4387
|
"type": "number"
|
|
@@ -5090,7 +4812,7 @@
|
|
|
5090
4812
|
"severity": {
|
|
5091
4813
|
"type": "string",
|
|
5092
4814
|
"description": "Severity level",
|
|
5093
|
-
"enum": ["
|
|
4815
|
+
"enum": ["WARNING", "INFO"]
|
|
5094
4816
|
},
|
|
5095
4817
|
"code": {
|
|
5096
4818
|
"type": "string",
|
|
@@ -5109,7 +4831,7 @@
|
|
|
5109
4831
|
"description": "List of quality issues (available when status is COMPLETED)"
|
|
5110
4832
|
},
|
|
5111
4833
|
"QualityIssueObject": {
|
|
5112
|
-
"required": ["id", "type", "workspaceId"],
|
|
4834
|
+
"required": ["id", "title", "type", "workspaceId"],
|
|
5113
4835
|
"type": "object",
|
|
5114
4836
|
"properties": {
|
|
5115
4837
|
"type": {
|
|
@@ -5126,6 +4848,11 @@
|
|
|
5126
4848
|
"type": "string",
|
|
5127
4849
|
"description": "Workspace ID where the object belongs",
|
|
5128
4850
|
"example": "demo"
|
|
4851
|
+
},
|
|
4852
|
+
"title": {
|
|
4853
|
+
"type": "string",
|
|
4854
|
+
"description": "Object title",
|
|
4855
|
+
"example": "Total Revenue"
|
|
5129
4856
|
}
|
|
5130
4857
|
},
|
|
5131
4858
|
"description": "List of objects affected by this quality issue"
|
|
@@ -5153,7 +4880,7 @@
|
|
|
5153
4880
|
}
|
|
5154
4881
|
},
|
|
5155
4882
|
"GetQualityIssuesResponse": {
|
|
5156
|
-
"required": ["issues"],
|
|
4883
|
+
"required": ["issues", "status"],
|
|
5157
4884
|
"type": "object",
|
|
5158
4885
|
"properties": {
|
|
5159
4886
|
"issues": {
|
|
@@ -5166,6 +4893,11 @@
|
|
|
5166
4893
|
"updatedAt": {
|
|
5167
4894
|
"type": "string",
|
|
5168
4895
|
"description": "Timestamp when the quality issues were last updated (ISO format)"
|
|
4896
|
+
},
|
|
4897
|
+
"status": {
|
|
4898
|
+
"type": "string",
|
|
4899
|
+
"description": "Status of the latest triggered quality check process",
|
|
4900
|
+
"enum": ["RUNNING", "COMPLETED", "FAILED", "NOT_FOUND"]
|
|
5169
4901
|
}
|
|
5170
4902
|
}
|
|
5171
4903
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/api-client-tiger",
|
|
3
|
-
"version": "11.7.0-alpha.
|
|
3
|
+
"version": "11.7.0-alpha.3",
|
|
4
4
|
"description": "API Client for GoodData Cloud and GoodData.CN",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"axios-cache-interceptor": "^1.8.0",
|
|
26
26
|
"lodash-es": "^4.17.21",
|
|
27
27
|
"tslib": "2.8.1",
|
|
28
|
-
"@gooddata/sdk-model": "11.7.0-alpha.
|
|
28
|
+
"@gooddata/sdk-model": "11.7.0-alpha.3"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@microsoft/api-documenter": "^7.17.0",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"prettier": "^3.6.2",
|
|
54
54
|
"typescript": "5.8.3",
|
|
55
55
|
"vitest": "3.2.4",
|
|
56
|
-
"@gooddata/eslint-config": "11.7.0-alpha.
|
|
57
|
-
"@gooddata/reference-workspace": "11.7.0-alpha.
|
|
56
|
+
"@gooddata/eslint-config": "11.7.0-alpha.3",
|
|
57
|
+
"@gooddata/reference-workspace": "11.7.0-alpha.3"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"_phase:build": "npm run build",
|