@gooddata/api-client-tiger 10.7.0-alpha.0 → 10.7.0-alpha.2
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 +1488 -1183
- package/esm/execution.d.ts +1 -1
- package/esm/execution.d.ts.map +1 -1
- package/esm/execution.js.map +1 -1
- package/esm/generated/afm-rest-api/api.d.ts +206 -0
- package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/api.js +166 -0
- package/esm/generated/afm-rest-api/api.js.map +1 -1
- package/esm/generated/afm-rest-api/openapi-spec.json +105 -0
- package/esm/generated/metadata-json-api/api.d.ts +1324 -1176
- package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.js +199 -24
- package/esm/generated/metadata-json-api/api.js.map +1 -1
- package/esm/generated/metadata-json-api/openapi-spec.json +4470 -4442
- package/esm/generated/scan-json-api/api.d.ts +1 -0
- package/esm/generated/scan-json-api/api.d.ts.map +1 -1
- package/esm/generated/scan-json-api/api.js +2 -12
- package/esm/generated/scan-json-api/api.js.map +1 -1
- package/esm/generated/scan-json-api/openapi-spec.json +2 -1
- 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
|
@@ -567,6 +567,48 @@
|
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
569
|
},
|
|
570
|
+
"/api/v1/actions/workspaces/{workspaceId}/ai/search": {
|
|
571
|
+
"post": {
|
|
572
|
+
"tags": ["Smart Functions", "actions"],
|
|
573
|
+
"summary": "(BETA) Semantic Search in Metadata",
|
|
574
|
+
"description": "(BETA) Uses similarity (e.g. cosine distance) search to find top X most similar metadata objects.",
|
|
575
|
+
"operationId": "aiSearch",
|
|
576
|
+
"parameters": [
|
|
577
|
+
{
|
|
578
|
+
"name": "workspaceId",
|
|
579
|
+
"in": "path",
|
|
580
|
+
"description": "Workspace identifier",
|
|
581
|
+
"required": true,
|
|
582
|
+
"schema": {
|
|
583
|
+
"pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$",
|
|
584
|
+
"type": "string"
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
],
|
|
588
|
+
"requestBody": {
|
|
589
|
+
"content": {
|
|
590
|
+
"application/json": {
|
|
591
|
+
"schema": {
|
|
592
|
+
"$ref": "#/components/schemas/SearchRequest"
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
},
|
|
596
|
+
"required": true
|
|
597
|
+
},
|
|
598
|
+
"responses": {
|
|
599
|
+
"200": {
|
|
600
|
+
"description": "OK",
|
|
601
|
+
"content": {
|
|
602
|
+
"application/json": {
|
|
603
|
+
"schema": {
|
|
604
|
+
"$ref": "#/components/schemas/SearchResult"
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
},
|
|
570
612
|
"/api/v1/actions/workspaces/{workspaceId}/execution/functions/forecast/result/{resultId}": {
|
|
571
613
|
"get": {
|
|
572
614
|
"tags": ["Smart Functions", "actions"],
|
|
@@ -2612,6 +2654,69 @@
|
|
|
2612
2654
|
},
|
|
2613
2655
|
"description": "Entity describing the valid descendants response."
|
|
2614
2656
|
},
|
|
2657
|
+
"SearchRequest": {
|
|
2658
|
+
"required": ["question"],
|
|
2659
|
+
"type": "object",
|
|
2660
|
+
"properties": {
|
|
2661
|
+
"question": {
|
|
2662
|
+
"type": "string",
|
|
2663
|
+
"description": "Keyword/sentence is input for search."
|
|
2664
|
+
},
|
|
2665
|
+
"objectTypes": {
|
|
2666
|
+
"type": "array",
|
|
2667
|
+
"description": "List of object types to search for.",
|
|
2668
|
+
"items": {
|
|
2669
|
+
"type": "string",
|
|
2670
|
+
"description": "Object type to search for.",
|
|
2671
|
+
"enum": [
|
|
2672
|
+
"attribute",
|
|
2673
|
+
"metric",
|
|
2674
|
+
"fact",
|
|
2675
|
+
"label",
|
|
2676
|
+
"date",
|
|
2677
|
+
"dataset",
|
|
2678
|
+
"visualization",
|
|
2679
|
+
"dashboard"
|
|
2680
|
+
]
|
|
2681
|
+
}
|
|
2682
|
+
},
|
|
2683
|
+
"deepSearch": {
|
|
2684
|
+
"type": "boolean",
|
|
2685
|
+
"description": "Turn on deep search. If true, content of complex objects will be searched as well, e.g. metrics in visualizations.",
|
|
2686
|
+
"default": false
|
|
2687
|
+
}
|
|
2688
|
+
}
|
|
2689
|
+
},
|
|
2690
|
+
"SearchResult": {
|
|
2691
|
+
"required": ["results"],
|
|
2692
|
+
"type": "object",
|
|
2693
|
+
"properties": {
|
|
2694
|
+
"results": {
|
|
2695
|
+
"type": "array",
|
|
2696
|
+
"items": {
|
|
2697
|
+
"$ref": "#/components/schemas/SearchResultObject"
|
|
2698
|
+
}
|
|
2699
|
+
}
|
|
2700
|
+
}
|
|
2701
|
+
},
|
|
2702
|
+
"SearchResultObject": {
|
|
2703
|
+
"required": ["description", "id", "title", "type"],
|
|
2704
|
+
"type": "object",
|
|
2705
|
+
"properties": {
|
|
2706
|
+
"id": {
|
|
2707
|
+
"type": "string"
|
|
2708
|
+
},
|
|
2709
|
+
"type": {
|
|
2710
|
+
"type": "string"
|
|
2711
|
+
},
|
|
2712
|
+
"title": {
|
|
2713
|
+
"type": "string"
|
|
2714
|
+
},
|
|
2715
|
+
"description": {
|
|
2716
|
+
"type": "string"
|
|
2717
|
+
}
|
|
2718
|
+
}
|
|
2719
|
+
},
|
|
2615
2720
|
"ForecastResult": {
|
|
2616
2721
|
"required": ["attribute", "lowerBound", "origin", "prediction", "upperBound"],
|
|
2617
2722
|
"type": "object",
|