@gooddata/api-client-tiger 10.9.0-alpha.9 → 10.9.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.
- package/esm/__version.d.ts +1 -1
- package/esm/__version.d.ts.map +1 -1
- package/esm/__version.js +1 -1
- package/esm/__version.js.map +1 -1
- package/esm/api-client-tiger.d.ts +3899 -1373
- package/esm/generated/afm-rest-api/api.d.ts +181 -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 +91 -5
- package/esm/generated/metadata-json-api/api.d.ts +3624 -1310
- package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.js +1111 -66
- package/esm/generated/metadata-json-api/api.js.map +1 -1
- package/esm/generated/metadata-json-api/openapi-spec.json +6965 -5543
- 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
|
},
|
|
@@ -2773,7 +2816,8 @@
|
|
|
2773
2816
|
"scoreExactMatch",
|
|
2774
2817
|
"scoreTitle",
|
|
2775
2818
|
"title",
|
|
2776
|
-
"type"
|
|
2819
|
+
"type",
|
|
2820
|
+
"workspaceId"
|
|
2777
2821
|
],
|
|
2778
2822
|
"type": "object",
|
|
2779
2823
|
"properties": {
|
|
@@ -2785,6 +2829,10 @@
|
|
|
2785
2829
|
"type": "string",
|
|
2786
2830
|
"description": "Object type, e.g. dashboard."
|
|
2787
2831
|
},
|
|
2832
|
+
"workspaceId": {
|
|
2833
|
+
"type": "string",
|
|
2834
|
+
"description": "Workspace ID."
|
|
2835
|
+
},
|
|
2788
2836
|
"title": {
|
|
2789
2837
|
"type": "string",
|
|
2790
2838
|
"description": "Object title."
|
|
@@ -2837,6 +2885,44 @@
|
|
|
2837
2885
|
}
|
|
2838
2886
|
}
|
|
2839
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
|
+
},
|
|
2840
2926
|
"ForecastResult": {
|
|
2841
2927
|
"required": ["attribute", "lowerBound", "origin", "prediction", "upperBound"],
|
|
2842
2928
|
"type": "object",
|
|
@@ -2911,13 +2997,13 @@
|
|
|
2911
2997
|
"nullable": true
|
|
2912
2998
|
}
|
|
2913
2999
|
},
|
|
2914
|
-
"
|
|
3000
|
+
"ycoord": {
|
|
2915
3001
|
"type": "array",
|
|
2916
3002
|
"items": {
|
|
2917
3003
|
"type": "number"
|
|
2918
3004
|
}
|
|
2919
3005
|
},
|
|
2920
|
-
"
|
|
3006
|
+
"xcoord": {
|
|
2921
3007
|
"type": "array",
|
|
2922
3008
|
"items": {
|
|
2923
3009
|
"type": "number"
|