@gooddata/api-client-tiger 10.27.0-alpha.9 → 10.27.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 +4347 -1738
- package/esm/automation.d.ts +2 -3
- package/esm/automation.d.ts.map +1 -1
- package/esm/automation.js +2 -2
- package/esm/automation.js.map +1 -1
- package/esm/client.d.ts +2 -2
- package/esm/client.d.ts.map +1 -1
- package/esm/client.js +1 -1
- package/esm/client.js.map +1 -1
- package/esm/generated/afm-rest-api/api.d.ts +60 -8
- package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/api.js +4 -4
- package/esm/generated/afm-rest-api/api.js.map +1 -1
- package/esm/generated/afm-rest-api/openapi-spec.json +51 -10
- package/esm/generated/automation-json-api/api.d.ts +1984 -705
- package/esm/generated/automation-json-api/api.d.ts.map +1 -1
- package/esm/generated/automation-json-api/api.js +275 -169
- package/esm/generated/automation-json-api/api.js.map +1 -1
- package/esm/generated/automation-json-api/openapi-spec.json +1046 -7
- package/esm/generated/export-json-api/api.d.ts +591 -4
- package/esm/generated/export-json-api/api.d.ts.map +1 -1
- package/esm/generated/export-json-api/api.js +522 -10
- package/esm/generated/export-json-api/api.js.map +1 -1
- package/esm/generated/export-json-api/openapi-spec.json +417 -1
- package/esm/generated/metadata-json-api/api.d.ts +1209 -1183
- package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.js +76 -57
- package/esm/generated/metadata-json-api/api.js.map +1 -1
- package/esm/generated/metadata-json-api/openapi-spec.json +7953 -7935
- package/esm/generated/result-json-api/base.d.ts.map +1 -1
- package/esm/generated/result-json-api/base.js +1 -13
- package/esm/generated/result-json-api/base.js.map +1 -1
- package/esm/generated/scan-json-api/api.d.ts +2 -1
- package/esm/generated/scan-json-api/api.d.ts.map +1 -1
- package/esm/generated/scan-json-api/api.js +2 -1
- package/esm/generated/scan-json-api/api.js.map +1 -1
- package/esm/generated/scan-json-api/openapi-spec.json +3 -2
- package/esm/index.d.ts +5 -2
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -0
- package/esm/index.js.map +1 -1
- package/package.json +4 -4
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
},
|
|
134
134
|
"responses": {
|
|
135
135
|
"201": {
|
|
136
|
-
"description": "
|
|
136
|
+
"description": "Slides export request created successfully.",
|
|
137
137
|
"content": {
|
|
138
138
|
"application/json": {
|
|
139
139
|
"schema": {
|
|
@@ -193,6 +193,50 @@
|
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
},
|
|
196
|
+
"/api/v1/actions/workspaces/{workspaceId}/export/image": {
|
|
197
|
+
"post": {
|
|
198
|
+
"tags": ["Image export", "actions"],
|
|
199
|
+
"summary": "(EXPERIMENTAL) Create image export request",
|
|
200
|
+
"description": "Note: This API is an experimental and is going to change. Please, use it accordingly. An image export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.",
|
|
201
|
+
"operationId": "createImageExport",
|
|
202
|
+
"parameters": [
|
|
203
|
+
{
|
|
204
|
+
"name": "workspaceId",
|
|
205
|
+
"in": "path",
|
|
206
|
+
"required": true,
|
|
207
|
+
"schema": {
|
|
208
|
+
"type": "string"
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
],
|
|
212
|
+
"requestBody": {
|
|
213
|
+
"content": {
|
|
214
|
+
"application/json": {
|
|
215
|
+
"schema": {
|
|
216
|
+
"$ref": "#/components/schemas/ImageExportRequest"
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"required": true
|
|
221
|
+
},
|
|
222
|
+
"responses": {
|
|
223
|
+
"201": {
|
|
224
|
+
"description": "Image export request created successfully.",
|
|
225
|
+
"content": {
|
|
226
|
+
"application/json": {
|
|
227
|
+
"schema": {
|
|
228
|
+
"$ref": "#/components/schemas/ExportResponse"
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
"x-gdc-security-info": {
|
|
235
|
+
"permissions": ["EXPORT_PDF"],
|
|
236
|
+
"description": "Permissions required to execute image export."
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
},
|
|
196
240
|
"/api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/export/tabular": {
|
|
197
241
|
"post": {
|
|
198
242
|
"tags": ["Tabular export", "actions"],
|
|
@@ -217,6 +261,16 @@
|
|
|
217
261
|
}
|
|
218
262
|
}
|
|
219
263
|
],
|
|
264
|
+
"requestBody": {
|
|
265
|
+
"content": {
|
|
266
|
+
"application/json": {
|
|
267
|
+
"schema": {
|
|
268
|
+
"$ref": "#/components/schemas/DashboardTabularExportRequest"
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
"required": true
|
|
273
|
+
},
|
|
220
274
|
"responses": {
|
|
221
275
|
"201": {
|
|
222
276
|
"description": "Tabular export request created successfully.",
|
|
@@ -654,6 +708,136 @@
|
|
|
654
708
|
"description": "Minimal permission required to use this endpoint."
|
|
655
709
|
}
|
|
656
710
|
}
|
|
711
|
+
},
|
|
712
|
+
"/api/v1/actions/workspaces/{workspaceId}/export/image/{exportId}/metadata": {
|
|
713
|
+
"get": {
|
|
714
|
+
"tags": ["Image export", "actions"],
|
|
715
|
+
"summary": "(EXPERIMENTAL) Retrieve metadata context",
|
|
716
|
+
"description": "Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/image endpoint. The metadata structure is not verified.",
|
|
717
|
+
"operationId": "getImageExportMetadata",
|
|
718
|
+
"parameters": [
|
|
719
|
+
{
|
|
720
|
+
"name": "workspaceId",
|
|
721
|
+
"in": "path",
|
|
722
|
+
"required": true,
|
|
723
|
+
"schema": {
|
|
724
|
+
"type": "string"
|
|
725
|
+
}
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
"name": "exportId",
|
|
729
|
+
"in": "path",
|
|
730
|
+
"required": true,
|
|
731
|
+
"schema": {
|
|
732
|
+
"type": "string"
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
],
|
|
736
|
+
"responses": {
|
|
737
|
+
"200": {
|
|
738
|
+
"description": "Json metadata representation",
|
|
739
|
+
"content": {
|
|
740
|
+
"application/json": {}
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
},
|
|
744
|
+
"x-gdc-security-info": {
|
|
745
|
+
"permissions": ["EXPORT_PDF"],
|
|
746
|
+
"description": "Minimal permission required to use this endpoint."
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
},
|
|
750
|
+
"/api/v1/actions/workspaces/{workspaceId}/export/image/{exportId}": {
|
|
751
|
+
"get": {
|
|
752
|
+
"tags": ["Image export", "actions"],
|
|
753
|
+
"summary": "(EXPERIMENTAL) Retrieve exported files",
|
|
754
|
+
"description": "Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn't ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.",
|
|
755
|
+
"operationId": "getImageExport",
|
|
756
|
+
"parameters": [
|
|
757
|
+
{
|
|
758
|
+
"name": "workspaceId",
|
|
759
|
+
"in": "path",
|
|
760
|
+
"required": true,
|
|
761
|
+
"schema": {
|
|
762
|
+
"type": "string"
|
|
763
|
+
}
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
"name": "exportId",
|
|
767
|
+
"in": "path",
|
|
768
|
+
"required": true,
|
|
769
|
+
"schema": {
|
|
770
|
+
"type": "string"
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
],
|
|
774
|
+
"responses": {
|
|
775
|
+
"200": {
|
|
776
|
+
"description": "Binary export result.",
|
|
777
|
+
"headers": {
|
|
778
|
+
"Content-Disposition": {
|
|
779
|
+
"style": "simple",
|
|
780
|
+
"schema": {
|
|
781
|
+
"pattern": "attachment; filename='[^']+'",
|
|
782
|
+
"type": "string",
|
|
783
|
+
"example": "attachment; filename='result.png'"
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
},
|
|
787
|
+
"content": {
|
|
788
|
+
"image/png": {}
|
|
789
|
+
}
|
|
790
|
+
},
|
|
791
|
+
"202": {
|
|
792
|
+
"description": "Request is accepted, provided exportId exists, but export is not yet ready.",
|
|
793
|
+
"content": {
|
|
794
|
+
"image/png": {
|
|
795
|
+
"schema": {
|
|
796
|
+
"type": "array",
|
|
797
|
+
"items": {
|
|
798
|
+
"type": "object",
|
|
799
|
+
"properties": {
|
|
800
|
+
"short": {
|
|
801
|
+
"type": "integer",
|
|
802
|
+
"format": "int32"
|
|
803
|
+
},
|
|
804
|
+
"char": {
|
|
805
|
+
"type": "string"
|
|
806
|
+
},
|
|
807
|
+
"int": {
|
|
808
|
+
"type": "integer",
|
|
809
|
+
"format": "int32"
|
|
810
|
+
},
|
|
811
|
+
"long": {
|
|
812
|
+
"type": "integer",
|
|
813
|
+
"format": "int64"
|
|
814
|
+
},
|
|
815
|
+
"float": {
|
|
816
|
+
"type": "number",
|
|
817
|
+
"format": "float"
|
|
818
|
+
},
|
|
819
|
+
"double": {
|
|
820
|
+
"type": "number",
|
|
821
|
+
"format": "double"
|
|
822
|
+
},
|
|
823
|
+
"direct": {
|
|
824
|
+
"type": "boolean"
|
|
825
|
+
},
|
|
826
|
+
"readOnly": {
|
|
827
|
+
"type": "boolean"
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
}
|
|
834
|
+
}
|
|
835
|
+
},
|
|
836
|
+
"x-gdc-security-info": {
|
|
837
|
+
"permissions": ["EXPORT_PDF"],
|
|
838
|
+
"description": "Minimal permission required to use this endpoint."
|
|
839
|
+
}
|
|
840
|
+
}
|
|
657
841
|
}
|
|
658
842
|
},
|
|
659
843
|
"components": {
|
|
@@ -1843,6 +2027,238 @@
|
|
|
1843
2027
|
}
|
|
1844
2028
|
},
|
|
1845
2029
|
"description": "Metric defined by referencing a MAQL metric or an LDM fact object with aggregation."
|
|
2030
|
+
},
|
|
2031
|
+
"ImageExportRequest": {
|
|
2032
|
+
"required": ["dashboardId", "fileName", "format"],
|
|
2033
|
+
"type": "object",
|
|
2034
|
+
"properties": {
|
|
2035
|
+
"format": {
|
|
2036
|
+
"type": "string",
|
|
2037
|
+
"description": "Requested resulting file type.",
|
|
2038
|
+
"example": "PNG",
|
|
2039
|
+
"enum": ["PNG"]
|
|
2040
|
+
},
|
|
2041
|
+
"fileName": {
|
|
2042
|
+
"type": "string",
|
|
2043
|
+
"description": "File name to be used for retrieving the image document.",
|
|
2044
|
+
"example": "filename"
|
|
2045
|
+
},
|
|
2046
|
+
"dashboardId": {
|
|
2047
|
+
"type": "string",
|
|
2048
|
+
"description": "Dashboard identifier",
|
|
2049
|
+
"example": "761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0"
|
|
2050
|
+
},
|
|
2051
|
+
"widgetIds": {
|
|
2052
|
+
"maxItems": 1,
|
|
2053
|
+
"uniqueItems": true,
|
|
2054
|
+
"type": "array",
|
|
2055
|
+
"description": "List of widget identifiers to be exported. Note that only one widget is currently supported.",
|
|
2056
|
+
"items": {
|
|
2057
|
+
"type": "string"
|
|
2058
|
+
}
|
|
2059
|
+
},
|
|
2060
|
+
"metadata": {
|
|
2061
|
+
"$ref": "#/components/schemas/JsonNode"
|
|
2062
|
+
}
|
|
2063
|
+
},
|
|
2064
|
+
"description": "Export request object describing the export properties and metadata for image exports."
|
|
2065
|
+
},
|
|
2066
|
+
"AttributeElements": {
|
|
2067
|
+
"type": "object"
|
|
2068
|
+
},
|
|
2069
|
+
"AttributeFilterByDate": {
|
|
2070
|
+
"required": ["filterLocalIdentifier", "isCommonDate"],
|
|
2071
|
+
"type": "object",
|
|
2072
|
+
"properties": {
|
|
2073
|
+
"filterLocalIdentifier": {
|
|
2074
|
+
"type": "string"
|
|
2075
|
+
},
|
|
2076
|
+
"isCommonDate": {
|
|
2077
|
+
"type": "boolean"
|
|
2078
|
+
}
|
|
2079
|
+
}
|
|
2080
|
+
},
|
|
2081
|
+
"AttributeFilterParent": {
|
|
2082
|
+
"required": ["filterLocalIdentifier", "over"],
|
|
2083
|
+
"type": "object",
|
|
2084
|
+
"properties": {
|
|
2085
|
+
"filterLocalIdentifier": {
|
|
2086
|
+
"type": "string"
|
|
2087
|
+
},
|
|
2088
|
+
"over": {
|
|
2089
|
+
"$ref": "#/components/schemas/Over"
|
|
2090
|
+
}
|
|
2091
|
+
}
|
|
2092
|
+
},
|
|
2093
|
+
"DashboardAttributeFilter": {
|
|
2094
|
+
"required": ["attributeFilter"],
|
|
2095
|
+
"type": "object",
|
|
2096
|
+
"properties": {
|
|
2097
|
+
"attributeFilter": {
|
|
2098
|
+
"required": ["attributeElements", "displayForm", "negativeSelection"],
|
|
2099
|
+
"type": "object",
|
|
2100
|
+
"allOf": [
|
|
2101
|
+
{
|
|
2102
|
+
"$ref": "#/components/schemas/DashboardFilter"
|
|
2103
|
+
},
|
|
2104
|
+
{
|
|
2105
|
+
"type": "object",
|
|
2106
|
+
"properties": {
|
|
2107
|
+
"displayForm": {
|
|
2108
|
+
"type": "string"
|
|
2109
|
+
},
|
|
2110
|
+
"negativeSelection": {
|
|
2111
|
+
"type": "boolean"
|
|
2112
|
+
},
|
|
2113
|
+
"attributeElements": {
|
|
2114
|
+
"$ref": "#/components/schemas/AttributeElements"
|
|
2115
|
+
},
|
|
2116
|
+
"filterElementsBy": {
|
|
2117
|
+
"type": "array",
|
|
2118
|
+
"items": {
|
|
2119
|
+
"$ref": "#/components/schemas/AttributeFilterParent"
|
|
2120
|
+
}
|
|
2121
|
+
},
|
|
2122
|
+
"filterElementsByDate": {
|
|
2123
|
+
"type": "array",
|
|
2124
|
+
"items": {
|
|
2125
|
+
"$ref": "#/components/schemas/AttributeFilterByDate"
|
|
2126
|
+
}
|
|
2127
|
+
},
|
|
2128
|
+
"validateElementsBy": {
|
|
2129
|
+
"type": "array",
|
|
2130
|
+
"items": {
|
|
2131
|
+
"type": "string"
|
|
2132
|
+
}
|
|
2133
|
+
},
|
|
2134
|
+
"title": {
|
|
2135
|
+
"type": "string"
|
|
2136
|
+
},
|
|
2137
|
+
"selectionMode": {
|
|
2138
|
+
"type": "string",
|
|
2139
|
+
"enum": ["single", "multi"]
|
|
2140
|
+
}
|
|
2141
|
+
}
|
|
2142
|
+
}
|
|
2143
|
+
]
|
|
2144
|
+
}
|
|
2145
|
+
}
|
|
2146
|
+
},
|
|
2147
|
+
"DashboardDateFilter": {
|
|
2148
|
+
"required": ["dateFilter"],
|
|
2149
|
+
"type": "object",
|
|
2150
|
+
"properties": {
|
|
2151
|
+
"dateFilter": {
|
|
2152
|
+
"required": ["granularity", "type"],
|
|
2153
|
+
"type": "object",
|
|
2154
|
+
"allOf": [
|
|
2155
|
+
{
|
|
2156
|
+
"$ref": "#/components/schemas/DashboardFilter"
|
|
2157
|
+
},
|
|
2158
|
+
{
|
|
2159
|
+
"type": "object",
|
|
2160
|
+
"properties": {
|
|
2161
|
+
"type": {
|
|
2162
|
+
"type": "string",
|
|
2163
|
+
"enum": ["relative", "absolute"]
|
|
2164
|
+
},
|
|
2165
|
+
"granularity": {
|
|
2166
|
+
"type": "string",
|
|
2167
|
+
"enum": [
|
|
2168
|
+
"ALL_TIME_GRANULARITY",
|
|
2169
|
+
"GDC.time.year",
|
|
2170
|
+
"GDC.time.week_us",
|
|
2171
|
+
"GDC.time.week_in_year",
|
|
2172
|
+
"GDC.time.week_in_quarter",
|
|
2173
|
+
"GDC.time.week",
|
|
2174
|
+
"GDC.time.euweek_in_year",
|
|
2175
|
+
"GDC.time.euweek_in_quarter",
|
|
2176
|
+
"GDC.time.quarter",
|
|
2177
|
+
"GDC.time.quarter_in_year",
|
|
2178
|
+
"GDC.time.month",
|
|
2179
|
+
"GDC.time.month_in_quarter",
|
|
2180
|
+
"GDC.time.month_in_year",
|
|
2181
|
+
"GDC.time.day_in_year",
|
|
2182
|
+
"GDC.time.day_in_quarter",
|
|
2183
|
+
"GDC.time.day_in_month",
|
|
2184
|
+
"GDC.time.day_in_week",
|
|
2185
|
+
"GDC.time.day_in_euweek",
|
|
2186
|
+
"GDC.time.date",
|
|
2187
|
+
"GDC.time.hour",
|
|
2188
|
+
"GDC.time.hour_in_day",
|
|
2189
|
+
"GDC.time.minute",
|
|
2190
|
+
"GDC.time.minute_in_hour"
|
|
2191
|
+
]
|
|
2192
|
+
},
|
|
2193
|
+
"from": {
|
|
2194
|
+
"type": "string"
|
|
2195
|
+
},
|
|
2196
|
+
"to": {
|
|
2197
|
+
"type": "string"
|
|
2198
|
+
},
|
|
2199
|
+
"dataSet": {
|
|
2200
|
+
"type": "string"
|
|
2201
|
+
},
|
|
2202
|
+
"attribute": {
|
|
2203
|
+
"type": "string"
|
|
2204
|
+
}
|
|
2205
|
+
}
|
|
2206
|
+
}
|
|
2207
|
+
]
|
|
2208
|
+
}
|
|
2209
|
+
}
|
|
2210
|
+
},
|
|
2211
|
+
"DashboardFilter": {
|
|
2212
|
+
"type": "object",
|
|
2213
|
+
"properties": {
|
|
2214
|
+
"localIdentifier": {
|
|
2215
|
+
"type": "string"
|
|
2216
|
+
}
|
|
2217
|
+
}
|
|
2218
|
+
},
|
|
2219
|
+
"DashboardTabularExportRequest": {
|
|
2220
|
+
"required": ["fileName", "format"],
|
|
2221
|
+
"type": "object",
|
|
2222
|
+
"properties": {
|
|
2223
|
+
"format": {
|
|
2224
|
+
"type": "string",
|
|
2225
|
+
"description": "Requested tabular export type.",
|
|
2226
|
+
"example": "XLSX",
|
|
2227
|
+
"enum": ["XLSX"]
|
|
2228
|
+
},
|
|
2229
|
+
"fileName": {
|
|
2230
|
+
"type": "string",
|
|
2231
|
+
"description": "Filename of downloaded file without extension.",
|
|
2232
|
+
"example": "result"
|
|
2233
|
+
},
|
|
2234
|
+
"dashboardFiltersOverride": {
|
|
2235
|
+
"type": "array",
|
|
2236
|
+
"description": "List of filters that will be used instead of the default dashboard filters.",
|
|
2237
|
+
"items": {
|
|
2238
|
+
"oneOf": [
|
|
2239
|
+
{
|
|
2240
|
+
"$ref": "#/components/schemas/DashboardAttributeFilter"
|
|
2241
|
+
},
|
|
2242
|
+
{
|
|
2243
|
+
"$ref": "#/components/schemas/DashboardDateFilter"
|
|
2244
|
+
}
|
|
2245
|
+
]
|
|
2246
|
+
}
|
|
2247
|
+
}
|
|
2248
|
+
},
|
|
2249
|
+
"description": "Export request object describing the export properties for dashboard tabular exports."
|
|
2250
|
+
},
|
|
2251
|
+
"Over": {
|
|
2252
|
+
"required": ["attributes"],
|
|
2253
|
+
"type": "object",
|
|
2254
|
+
"properties": {
|
|
2255
|
+
"attributes": {
|
|
2256
|
+
"type": "array",
|
|
2257
|
+
"items": {
|
|
2258
|
+
"type": "string"
|
|
2259
|
+
}
|
|
2260
|
+
}
|
|
2261
|
+
}
|
|
1846
2262
|
}
|
|
1847
2263
|
}
|
|
1848
2264
|
}
|