@gooddata/api-client-tiger 10.9.0-alpha.21 → 10.9.0-alpha.23
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 +3751 -1345
- package/esm/generated/afm-rest-api/api.d.ts +175 -4
- package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/api.js +156 -0
- package/esm/generated/afm-rest-api/api.js.map +1 -1
- package/esm/generated/afm-rest-api/openapi-spec.json +85 -4
- package/esm/generated/metadata-json-api/api.d.ts +3402 -1194
- package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.js +1131 -103
- package/esm/generated/metadata-json-api/api.js.map +1 -1
- package/esm/generated/metadata-json-api/openapi-spec.json +5743 -4376
- package/esm/index.d.ts +1 -1
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -1
- package/esm/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -609,6 +609,48 @@
|
|
|
609
609
|
}
|
|
610
610
|
}
|
|
611
611
|
},
|
|
612
|
+
"/api/v1/actions/workspaces/{workspaceId}/ai/route": {
|
|
613
|
+
"post": {
|
|
614
|
+
"tags": ["Smart Functions", "actions"],
|
|
615
|
+
"summary": "(BETA) Route to supported use cases based on this input query.",
|
|
616
|
+
"description": "(BETA) Uses similarity (e.g. cosine distance) to find most similar use cases.",
|
|
617
|
+
"operationId": "aiRoute",
|
|
618
|
+
"parameters": [
|
|
619
|
+
{
|
|
620
|
+
"name": "workspaceId",
|
|
621
|
+
"in": "path",
|
|
622
|
+
"description": "Workspace identifier",
|
|
623
|
+
"required": true,
|
|
624
|
+
"schema": {
|
|
625
|
+
"pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$",
|
|
626
|
+
"type": "string"
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
],
|
|
630
|
+
"requestBody": {
|
|
631
|
+
"content": {
|
|
632
|
+
"application/json": {
|
|
633
|
+
"schema": {
|
|
634
|
+
"$ref": "#/components/schemas/RouteRequest"
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
},
|
|
638
|
+
"required": true
|
|
639
|
+
},
|
|
640
|
+
"responses": {
|
|
641
|
+
"200": {
|
|
642
|
+
"description": "OK",
|
|
643
|
+
"content": {
|
|
644
|
+
"application/json": {
|
|
645
|
+
"schema": {
|
|
646
|
+
"$ref": "#/components/schemas/RouteResult"
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
},
|
|
612
654
|
"/api/v1/actions/workspaces/{workspaceId}/execution/functions/forecast/result/{resultId}": {
|
|
613
655
|
"get": {
|
|
614
656
|
"tags": ["Smart Functions", "actions"],
|
|
@@ -1889,7 +1931,7 @@
|
|
|
1889
1931
|
},
|
|
1890
1932
|
"dependsOn": {
|
|
1891
1933
|
"type": "array",
|
|
1892
|
-
"description": "Return only items
|
|
1934
|
+
"description": "Return only items that are not filtered-out by the parent filters.",
|
|
1893
1935
|
"items": {
|
|
1894
1936
|
"oneOf": [
|
|
1895
1937
|
{
|
|
@@ -1903,7 +1945,7 @@
|
|
|
1903
1945
|
},
|
|
1904
1946
|
"validateBy": {
|
|
1905
1947
|
"type": "array",
|
|
1906
|
-
"description": "Return only items
|
|
1948
|
+
"description": "Return only items that are computable on metric.",
|
|
1907
1949
|
"items": {
|
|
1908
1950
|
"$ref": "#/components/schemas/ValidateByItem"
|
|
1909
1951
|
}
|
|
@@ -2659,6 +2701,7 @@
|
|
|
2659
2701
|
"type": "object",
|
|
2660
2702
|
"properties": {
|
|
2661
2703
|
"question": {
|
|
2704
|
+
"maxLength": 1000,
|
|
2662
2705
|
"type": "string",
|
|
2663
2706
|
"description": "Keyword/sentence is input for search."
|
|
2664
2707
|
},
|
|
@@ -2842,6 +2885,44 @@
|
|
|
2842
2885
|
}
|
|
2843
2886
|
}
|
|
2844
2887
|
},
|
|
2888
|
+
"RouteRequest": {
|
|
2889
|
+
"required": ["question"],
|
|
2890
|
+
"type": "object",
|
|
2891
|
+
"properties": {
|
|
2892
|
+
"question": {
|
|
2893
|
+
"maxLength": 1000,
|
|
2894
|
+
"type": "string",
|
|
2895
|
+
"description": "Route to supported use cases based on this input query."
|
|
2896
|
+
}
|
|
2897
|
+
}
|
|
2898
|
+
},
|
|
2899
|
+
"RouteResult": {
|
|
2900
|
+
"required": ["results"],
|
|
2901
|
+
"type": "object",
|
|
2902
|
+
"properties": {
|
|
2903
|
+
"results": {
|
|
2904
|
+
"type": "array",
|
|
2905
|
+
"items": {
|
|
2906
|
+
"$ref": "#/components/schemas/RouteResultObject"
|
|
2907
|
+
}
|
|
2908
|
+
}
|
|
2909
|
+
}
|
|
2910
|
+
},
|
|
2911
|
+
"RouteResultObject": {
|
|
2912
|
+
"required": ["score", "useCase"],
|
|
2913
|
+
"type": "object",
|
|
2914
|
+
"properties": {
|
|
2915
|
+
"useCase": {
|
|
2916
|
+
"type": "string",
|
|
2917
|
+
"description": "Use case where to route, e.g. 'list dashboards' or 'create visualization'."
|
|
2918
|
+
},
|
|
2919
|
+
"score": {
|
|
2920
|
+
"type": "number",
|
|
2921
|
+
"description": "Similarity score between input query and use case.",
|
|
2922
|
+
"format": "float"
|
|
2923
|
+
}
|
|
2924
|
+
}
|
|
2925
|
+
},
|
|
2845
2926
|
"ForecastResult": {
|
|
2846
2927
|
"required": ["attribute", "lowerBound", "origin", "prediction", "upperBound"],
|
|
2847
2928
|
"type": "object",
|
|
@@ -2916,13 +2997,13 @@
|
|
|
2916
2997
|
"nullable": true
|
|
2917
2998
|
}
|
|
2918
2999
|
},
|
|
2919
|
-
"
|
|
3000
|
+
"ycoord": {
|
|
2920
3001
|
"type": "array",
|
|
2921
3002
|
"items": {
|
|
2922
3003
|
"type": "number"
|
|
2923
3004
|
}
|
|
2924
3005
|
},
|
|
2925
|
-
"
|
|
3006
|
+
"xcoord": {
|
|
2926
3007
|
"type": "array",
|
|
2927
3008
|
"items": {
|
|
2928
3009
|
"type": "number"
|