@gooddata/api-client-tiger 11.68.0-alpha.8 → 11.68.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/NOTICE +7 -7
- package/esm/__version.d.ts +1 -1
- package/esm/__version.d.ts.map +1 -1
- package/esm/__version.js +1 -1
- package/esm/api-client-tiger.d.ts +453 -795
- package/esm/axios.d.ts.map +1 -1
- package/esm/axios.js +2 -3
- package/esm/endpoints/actions/index.d.ts +1 -1
- package/esm/endpoints/actions/index.d.ts.map +1 -1
- package/esm/endpoints/actions/index.js +2 -2
- package/esm/generated/ai-json-api/api.d.ts +221 -651
- package/esm/generated/ai-json-api/api.d.ts.map +1 -1
- package/esm/generated/ai-json-api/api.js +46 -377
- package/esm/generated/automation-json-api/api.d.ts +2 -2
- package/esm/generated/automation-json-api/api.d.ts.map +1 -1
- package/esm/generated/export-json-api/api.d.ts +34 -34
- package/esm/generated/export-json-api/api.d.ts.map +1 -1
- package/esm/generated/export-json-api/api.js +24 -24
- package/esm/generated/metadata-json-api/api.d.ts +405 -13
- package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.js +394 -0
- package/esm/index.d.ts +1 -1
- package/esm/index.d.ts.map +1 -1
- package/esm/metadataUtilities.d.ts.map +1 -1
- package/esm/metadataUtilities.js +4 -4
- package/esm/organizationUtilities.d.ts.map +1 -1
- package/esm/organizationUtilities.js +3 -3
- package/package.json +5 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// (C) 2019-2026 GoodData Corporation
|
|
2
|
-
import {
|
|
2
|
+
import { _merge, _uniqBy } from "@gooddata/util";
|
|
3
3
|
const DefaultPageSize = 250;
|
|
4
4
|
/**
|
|
5
5
|
* Tiger organization utility functions
|
|
@@ -20,7 +20,7 @@ export class OrganizationUtilities {
|
|
|
20
20
|
let reachedEnd = false;
|
|
21
21
|
let nextPage = 0;
|
|
22
22
|
while (!reachedEnd) {
|
|
23
|
-
const result = await entitiesGet(client.axios, "", { ...params, page: nextPage, size: pageSize },
|
|
23
|
+
const result = await entitiesGet(client.axios, "", { ...params, page: nextPage, size: pageSize }, _merge({}, options));
|
|
24
24
|
results.push(result.data);
|
|
25
25
|
if (result.data.data.length < pageSize) {
|
|
26
26
|
reachedEnd = true;
|
|
@@ -44,7 +44,7 @@ export class OrganizationUtilities {
|
|
|
44
44
|
static mergeEntitiesResults(pages) {
|
|
45
45
|
return {
|
|
46
46
|
data: pages.flatMap((page) => page.data),
|
|
47
|
-
included:
|
|
47
|
+
included: _uniqBy(pages.flatMap((page) => OrganizationUtilities.supportsIncluded(page) ? (page.included ?? []) : []), (item) => `${item.id}_${item.type}`),
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
50
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/api-client-tiger",
|
|
3
|
-
"version": "11.68.0
|
|
3
|
+
"version": "11.68.0",
|
|
4
4
|
"description": "API Client for GoodData Cloud and GoodData.CN",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"axios-cache-interceptor": "1.12.3",
|
|
47
47
|
"lodash-es": "^4.17.23",
|
|
48
48
|
"tslib": "2.8.1",
|
|
49
|
-
"@gooddata/
|
|
50
|
-
"@gooddata/
|
|
49
|
+
"@gooddata/util": "11.68.0",
|
|
50
|
+
"@gooddata/sdk-model": "11.68.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@microsoft/api-documenter": "7.30.20",
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
"oxlint-tsgolint": "7.0.2001",
|
|
76
76
|
"typescript": "7.0.2",
|
|
77
77
|
"vitest": "5.0.4",
|
|
78
|
-
"@gooddata/
|
|
79
|
-
"@gooddata/
|
|
78
|
+
"@gooddata/oxlint-config": "11.68.0",
|
|
79
|
+
"@gooddata/eslint-config": "11.68.0"
|
|
80
80
|
},
|
|
81
81
|
"scripts": {
|
|
82
82
|
"_phase:build": "npm run build",
|