@gooddata/api-client-tiger 10.13.0-alpha.9 → 10.13.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 +1190 -812
- package/esm/genAI.d.ts +1 -1
- package/esm/genAI.d.ts.map +1 -1
- package/esm/genAI.js.map +1 -1
- package/esm/generated/afm-rest-api/api.d.ts +261 -220
- package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/api.js +169 -23
- package/esm/generated/afm-rest-api/api.js.map +1 -1
- package/esm/generated/afm-rest-api/openapi-spec.json +208 -215
- package/esm/generated/metadata-json-api/api.d.ts +952 -618
- package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.js +320 -16
- package/esm/generated/metadata-json-api/api.js.map +1 -1
- package/esm/generated/metadata-json-api/openapi-spec.json +2928 -2806
- package/esm/index.d.ts +1 -1
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js.map +1 -1
- package/esm/profile.d.ts +1 -0
- package/esm/profile.d.ts.map +1 -1
- package/esm/profile.js.map +1 -1
- package/package.json +3 -3
|
@@ -54,6 +54,8 @@ export const ApiEntitlementNameEnum = {
|
|
|
54
54
|
UNLIMITED_AUTOMATION_RECIPIENTS: "UnlimitedAutomationRecipients",
|
|
55
55
|
DAILY_SCHEDULED_ACTION_COUNT: "DailyScheduledActionCount",
|
|
56
56
|
UNLIMITED_DAILY_SCHEDULED_ACTIONS: "UnlimitedDailyScheduledActions",
|
|
57
|
+
DAILY_ALERT_ACTION_COUNT: "DailyAlertActionCount",
|
|
58
|
+
UNLIMITED_DAILY_ALERT_ACTIONS: "UnlimitedDailyAlertActions",
|
|
57
59
|
SCHEDULED_ACTION_MINIMUM_RECURRENCE_MINUTES: "ScheduledActionMinimumRecurrenceMinutes",
|
|
58
60
|
FEDERATED_IDENTITY_MANAGEMENT: "FederatedIdentityManagement",
|
|
59
61
|
};
|
|
@@ -75,6 +77,9 @@ export const AssigneeIdentifierTypeEnum = {
|
|
|
75
77
|
export const AssigneeRuleTypeEnum = {
|
|
76
78
|
ALL_WORKSPACE_USERS: "allWorkspaceUsers",
|
|
77
79
|
};
|
|
80
|
+
export const ColumnOverrideLdmTypeOverrideEnum = {
|
|
81
|
+
FACT: "FACT",
|
|
82
|
+
};
|
|
78
83
|
export const ComparisonOperatorEnum = {
|
|
79
84
|
GREATER_THAN: "GREATER_THAN",
|
|
80
85
|
GREATER_THAN_OR_EQUAL_TO: "GREATER_THAN_OR_EQUAL_TO",
|
|
@@ -108,6 +113,9 @@ export const DatasetReferenceIdentifierTypeEnum = {
|
|
|
108
113
|
export const DatasetWorkspaceDataFilterIdentifierTypeEnum = {
|
|
109
114
|
WORKSPACE_DATA_FILTER: "workspaceDataFilter",
|
|
110
115
|
};
|
|
116
|
+
export const DeclarativeAnalyticalDashboardIdentifierTypeEnum = {
|
|
117
|
+
ANALYTICAL_DASHBOARD: "analyticalDashboard",
|
|
118
|
+
};
|
|
111
119
|
export const DeclarativeAnalyticalDashboardPermissionAssignmentNameEnum = {
|
|
112
120
|
EDIT: "EDIT",
|
|
113
121
|
SHARE: "SHARE",
|
|
@@ -377,6 +385,8 @@ export const EntitlementsRequestEntitlementsNameEnum = {
|
|
|
377
385
|
UNLIMITED_AUTOMATION_RECIPIENTS: "UnlimitedAutomationRecipients",
|
|
378
386
|
DAILY_SCHEDULED_ACTION_COUNT: "DailyScheduledActionCount",
|
|
379
387
|
UNLIMITED_DAILY_SCHEDULED_ACTIONS: "UnlimitedDailyScheduledActions",
|
|
388
|
+
DAILY_ALERT_ACTION_COUNT: "DailyAlertActionCount",
|
|
389
|
+
UNLIMITED_DAILY_ALERT_ACTIONS: "UnlimitedDailyAlertActions",
|
|
380
390
|
SCHEDULED_ACTION_MINIMUM_RECURRENCE_MINUTES: "ScheduledActionMinimumRecurrenceMinutes",
|
|
381
391
|
FEDERATED_IDENTITY_MANAGEMENT: "FederatedIdentityManagement",
|
|
382
392
|
};
|
|
@@ -632,10 +642,6 @@ export const JsonApiDataSourceIdentifierOutAttributesTypeEnum = {
|
|
|
632
642
|
MOTHERDUCK: "MOTHERDUCK",
|
|
633
643
|
FLIGHTRPC: "FLIGHTRPC",
|
|
634
644
|
};
|
|
635
|
-
export const JsonApiDataSourceIdentifierOutMetaPermissionsEnum = {
|
|
636
|
-
MANAGE: "MANAGE",
|
|
637
|
-
USE: "USE",
|
|
638
|
-
};
|
|
639
645
|
export const JsonApiDataSourceIdentifierOutWithLinksTypeEnum = {
|
|
640
646
|
DATA_SOURCE_IDENTIFIER: "dataSourceIdentifier",
|
|
641
647
|
};
|
|
@@ -708,6 +714,10 @@ export const JsonApiDataSourceOutAttributesAuthenticationTypeEnum = {
|
|
|
708
714
|
TOKEN: "TOKEN",
|
|
709
715
|
KEY_PAIR: "KEY_PAIR",
|
|
710
716
|
};
|
|
717
|
+
export const JsonApiDataSourceOutMetaPermissionsEnum = {
|
|
718
|
+
MANAGE: "MANAGE",
|
|
719
|
+
USE: "USE",
|
|
720
|
+
};
|
|
711
721
|
export const JsonApiDataSourceOutWithLinksTypeEnum = {
|
|
712
722
|
DATA_SOURCE: "dataSource",
|
|
713
723
|
};
|
|
@@ -862,13 +872,13 @@ export const JsonApiFilterViewPatchTypeEnum = {
|
|
|
862
872
|
export const JsonApiIdentityProviderInTypeEnum = {
|
|
863
873
|
IDENTITY_PROVIDER: "identityProvider",
|
|
864
874
|
};
|
|
865
|
-
export const
|
|
866
|
-
IDENTITY_PROVIDER: "identityProvider",
|
|
867
|
-
};
|
|
868
|
-
export const JsonApiIdentityProviderOutAttributesTypeEnum = {
|
|
875
|
+
export const JsonApiIdentityProviderInAttributesTypeEnum = {
|
|
869
876
|
SAML: "SAML",
|
|
870
877
|
OIDC: "OIDC",
|
|
871
878
|
};
|
|
879
|
+
export const JsonApiIdentityProviderOutTypeEnum = {
|
|
880
|
+
IDENTITY_PROVIDER: "identityProvider",
|
|
881
|
+
};
|
|
872
882
|
export const JsonApiIdentityProviderOutWithLinksTypeEnum = {
|
|
873
883
|
IDENTITY_PROVIDER: "identityProvider",
|
|
874
884
|
};
|
|
@@ -974,10 +984,6 @@ export const JsonApiNotificationChannelOutAttributesAllowedRecipientsEnum = {
|
|
|
974
984
|
CREATOR: "CREATOR",
|
|
975
985
|
INTERNAL: "INTERNAL",
|
|
976
986
|
};
|
|
977
|
-
export const JsonApiNotificationChannelOutAttributesTriggersTypeEnum = {
|
|
978
|
-
SCHEDULE: "SCHEDULE",
|
|
979
|
-
ALERT: "ALERT",
|
|
980
|
-
};
|
|
981
987
|
export const JsonApiNotificationChannelOutWithLinksTypeEnum = {
|
|
982
988
|
NOTIFICATION_CHANNEL: "notificationChannel",
|
|
983
989
|
};
|
|
@@ -1225,10 +1231,6 @@ export const NoteAppliesToEnum = {
|
|
|
1225
1231
|
SOURCE: "SOURCE",
|
|
1226
1232
|
TARGET: "TARGET",
|
|
1227
1233
|
};
|
|
1228
|
-
export const NotificationTriggerTypeEnum = {
|
|
1229
|
-
SCHEDULE: "SCHEDULE",
|
|
1230
|
-
ALERT: "ALERT",
|
|
1231
|
-
};
|
|
1232
1234
|
export const OrganizationPermissionAssignmentPermissionsEnum = {
|
|
1233
1235
|
MANAGE: "MANAGE",
|
|
1234
1236
|
SELF_CREATE_TOKEN: "SELF_CREATE_TOKEN",
|
|
@@ -30039,6 +30041,42 @@ export const FilterViewsApiAxiosParamCreator = function (configuration) {
|
|
|
30039
30041
|
options: localVarRequestOptions,
|
|
30040
30042
|
};
|
|
30041
30043
|
},
|
|
30044
|
+
/**
|
|
30045
|
+
* Retrieve filter views for the specific workspace
|
|
30046
|
+
* @summary Get filter views
|
|
30047
|
+
* @param {string} workspaceId
|
|
30048
|
+
* @param {Array<'ACTIVITY_INFO'>} [exclude]
|
|
30049
|
+
* @param {*} [options] Override http request option.
|
|
30050
|
+
* @throws {RequiredError}
|
|
30051
|
+
*/
|
|
30052
|
+
getFilterViews: async (workspaceId, exclude, options = {}) => {
|
|
30053
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
30054
|
+
assertParamExists("getFilterViews", "workspaceId", workspaceId);
|
|
30055
|
+
const localVarPath = `/api/v1/layout/workspaces/{workspaceId}/filterViews`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
30056
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30057
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30058
|
+
let baseOptions;
|
|
30059
|
+
if (configuration) {
|
|
30060
|
+
baseOptions = configuration.baseOptions;
|
|
30061
|
+
}
|
|
30062
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
30063
|
+
const localVarHeaderParameter = {};
|
|
30064
|
+
const localVarQueryParameter = {};
|
|
30065
|
+
if (exclude) {
|
|
30066
|
+
localVarQueryParameter["exclude"] = exclude;
|
|
30067
|
+
}
|
|
30068
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30069
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30070
|
+
localVarRequestOptions.headers = {
|
|
30071
|
+
...localVarHeaderParameter,
|
|
30072
|
+
...headersFromBaseOptions,
|
|
30073
|
+
...options.headers,
|
|
30074
|
+
};
|
|
30075
|
+
return {
|
|
30076
|
+
url: toPathString(localVarUrlObj),
|
|
30077
|
+
options: localVarRequestOptions,
|
|
30078
|
+
};
|
|
30079
|
+
},
|
|
30042
30080
|
/**
|
|
30043
30081
|
*
|
|
30044
30082
|
* @summary Patch Filter view
|
|
@@ -30093,6 +30131,47 @@ export const FilterViewsApiAxiosParamCreator = function (configuration) {
|
|
|
30093
30131
|
options: localVarRequestOptions,
|
|
30094
30132
|
};
|
|
30095
30133
|
},
|
|
30134
|
+
/**
|
|
30135
|
+
* Set filter views for the specific workspace.
|
|
30136
|
+
* @summary Set filter views
|
|
30137
|
+
* @param {string} workspaceId
|
|
30138
|
+
* @param {Array<DeclarativeFilterView>} declarativeFilterView
|
|
30139
|
+
* @param {*} [options] Override http request option.
|
|
30140
|
+
* @throws {RequiredError}
|
|
30141
|
+
*/
|
|
30142
|
+
setFilterViews: async (workspaceId, declarativeFilterView, options = {}) => {
|
|
30143
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
30144
|
+
assertParamExists("setFilterViews", "workspaceId", workspaceId);
|
|
30145
|
+
// verify required parameter 'declarativeFilterView' is not null or undefined
|
|
30146
|
+
assertParamExists("setFilterViews", "declarativeFilterView", declarativeFilterView);
|
|
30147
|
+
const localVarPath = `/api/v1/layout/workspaces/{workspaceId}/filterViews`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
30148
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30149
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30150
|
+
let baseOptions;
|
|
30151
|
+
if (configuration) {
|
|
30152
|
+
baseOptions = configuration.baseOptions;
|
|
30153
|
+
}
|
|
30154
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
30155
|
+
const localVarHeaderParameter = {};
|
|
30156
|
+
const localVarQueryParameter = {};
|
|
30157
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
30158
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30159
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30160
|
+
localVarRequestOptions.headers = {
|
|
30161
|
+
...localVarHeaderParameter,
|
|
30162
|
+
...headersFromBaseOptions,
|
|
30163
|
+
...options.headers,
|
|
30164
|
+
};
|
|
30165
|
+
const needsSerialization = typeof declarativeFilterView !== "string" ||
|
|
30166
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
30167
|
+
localVarRequestOptions.data = needsSerialization
|
|
30168
|
+
? JSON.stringify(declarativeFilterView !== undefined ? declarativeFilterView : {})
|
|
30169
|
+
: declarativeFilterView || "";
|
|
30170
|
+
return {
|
|
30171
|
+
url: toPathString(localVarUrlObj),
|
|
30172
|
+
options: localVarRequestOptions,
|
|
30173
|
+
};
|
|
30174
|
+
},
|
|
30096
30175
|
/**
|
|
30097
30176
|
*
|
|
30098
30177
|
* @summary Put Filter views
|
|
@@ -30216,6 +30295,18 @@ export const FilterViewsApiFp = function (configuration) {
|
|
|
30216
30295
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getEntityFilterViews(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, options);
|
|
30217
30296
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30218
30297
|
},
|
|
30298
|
+
/**
|
|
30299
|
+
* Retrieve filter views for the specific workspace
|
|
30300
|
+
* @summary Get filter views
|
|
30301
|
+
* @param {string} workspaceId
|
|
30302
|
+
* @param {Array<'ACTIVITY_INFO'>} [exclude]
|
|
30303
|
+
* @param {*} [options] Override http request option.
|
|
30304
|
+
* @throws {RequiredError}
|
|
30305
|
+
*/
|
|
30306
|
+
async getFilterViews(workspaceId, exclude, options) {
|
|
30307
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getFilterViews(workspaceId, exclude, options);
|
|
30308
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30309
|
+
},
|
|
30219
30310
|
/**
|
|
30220
30311
|
*
|
|
30221
30312
|
* @summary Patch Filter view
|
|
@@ -30231,6 +30322,18 @@ export const FilterViewsApiFp = function (configuration) {
|
|
|
30231
30322
|
const localVarAxiosArgs = await localVarAxiosParamCreator.patchEntityFilterViews(workspaceId, objectId, jsonApiFilterViewPatchDocument, filter, include, options);
|
|
30232
30323
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30233
30324
|
},
|
|
30325
|
+
/**
|
|
30326
|
+
* Set filter views for the specific workspace.
|
|
30327
|
+
* @summary Set filter views
|
|
30328
|
+
* @param {string} workspaceId
|
|
30329
|
+
* @param {Array<DeclarativeFilterView>} declarativeFilterView
|
|
30330
|
+
* @param {*} [options] Override http request option.
|
|
30331
|
+
* @throws {RequiredError}
|
|
30332
|
+
*/
|
|
30333
|
+
async setFilterViews(workspaceId, declarativeFilterView, options) {
|
|
30334
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setFilterViews(workspaceId, declarativeFilterView, options);
|
|
30335
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30336
|
+
},
|
|
30234
30337
|
/**
|
|
30235
30338
|
*
|
|
30236
30339
|
* @summary Put Filter views
|
|
@@ -30303,6 +30406,18 @@ export const FilterViewsApiFactory = function (configuration, basePath, axios) {
|
|
|
30303
30406
|
.getEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, options)
|
|
30304
30407
|
.then((request) => request(axios, basePath));
|
|
30305
30408
|
},
|
|
30409
|
+
/**
|
|
30410
|
+
* Retrieve filter views for the specific workspace
|
|
30411
|
+
* @summary Get filter views
|
|
30412
|
+
* @param {FilterViewsApiGetFilterViewsRequest} requestParameters Request parameters.
|
|
30413
|
+
* @param {*} [options] Override http request option.
|
|
30414
|
+
* @throws {RequiredError}
|
|
30415
|
+
*/
|
|
30416
|
+
getFilterViews(requestParameters, options) {
|
|
30417
|
+
return localVarFp
|
|
30418
|
+
.getFilterViews(requestParameters.workspaceId, requestParameters.exclude, options)
|
|
30419
|
+
.then((request) => request(axios, basePath));
|
|
30420
|
+
},
|
|
30306
30421
|
/**
|
|
30307
30422
|
*
|
|
30308
30423
|
* @summary Patch Filter view
|
|
@@ -30315,6 +30430,18 @@ export const FilterViewsApiFactory = function (configuration, basePath, axios) {
|
|
|
30315
30430
|
.patchEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewPatchDocument, requestParameters.filter, requestParameters.include, options)
|
|
30316
30431
|
.then((request) => request(axios, basePath));
|
|
30317
30432
|
},
|
|
30433
|
+
/**
|
|
30434
|
+
* Set filter views for the specific workspace.
|
|
30435
|
+
* @summary Set filter views
|
|
30436
|
+
* @param {FilterViewsApiSetFilterViewsRequest} requestParameters Request parameters.
|
|
30437
|
+
* @param {*} [options] Override http request option.
|
|
30438
|
+
* @throws {RequiredError}
|
|
30439
|
+
*/
|
|
30440
|
+
setFilterViews(requestParameters, options) {
|
|
30441
|
+
return localVarFp
|
|
30442
|
+
.setFilterViews(requestParameters.workspaceId, requestParameters.declarativeFilterView, options)
|
|
30443
|
+
.then((request) => request(axios, basePath));
|
|
30444
|
+
},
|
|
30318
30445
|
/**
|
|
30319
30446
|
*
|
|
30320
30447
|
* @summary Put Filter views
|
|
@@ -30388,6 +30515,19 @@ export class FilterViewsApi extends BaseAPI {
|
|
|
30388
30515
|
.getEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, options)
|
|
30389
30516
|
.then((request) => request(this.axios, this.basePath));
|
|
30390
30517
|
}
|
|
30518
|
+
/**
|
|
30519
|
+
* Retrieve filter views for the specific workspace
|
|
30520
|
+
* @summary Get filter views
|
|
30521
|
+
* @param {FilterViewsApiGetFilterViewsRequest} requestParameters Request parameters.
|
|
30522
|
+
* @param {*} [options] Override http request option.
|
|
30523
|
+
* @throws {RequiredError}
|
|
30524
|
+
* @memberof FilterViewsApi
|
|
30525
|
+
*/
|
|
30526
|
+
getFilterViews(requestParameters, options) {
|
|
30527
|
+
return FilterViewsApiFp(this.configuration)
|
|
30528
|
+
.getFilterViews(requestParameters.workspaceId, requestParameters.exclude, options)
|
|
30529
|
+
.then((request) => request(this.axios, this.basePath));
|
|
30530
|
+
}
|
|
30391
30531
|
/**
|
|
30392
30532
|
*
|
|
30393
30533
|
* @summary Patch Filter view
|
|
@@ -30401,6 +30541,19 @@ export class FilterViewsApi extends BaseAPI {
|
|
|
30401
30541
|
.patchEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewPatchDocument, requestParameters.filter, requestParameters.include, options)
|
|
30402
30542
|
.then((request) => request(this.axios, this.basePath));
|
|
30403
30543
|
}
|
|
30544
|
+
/**
|
|
30545
|
+
* Set filter views for the specific workspace.
|
|
30546
|
+
* @summary Set filter views
|
|
30547
|
+
* @param {FilterViewsApiSetFilterViewsRequest} requestParameters Request parameters.
|
|
30548
|
+
* @param {*} [options] Override http request option.
|
|
30549
|
+
* @throws {RequiredError}
|
|
30550
|
+
* @memberof FilterViewsApi
|
|
30551
|
+
*/
|
|
30552
|
+
setFilterViews(requestParameters, options) {
|
|
30553
|
+
return FilterViewsApiFp(this.configuration)
|
|
30554
|
+
.setFilterViews(requestParameters.workspaceId, requestParameters.declarativeFilterView, options)
|
|
30555
|
+
.then((request) => request(this.axios, this.basePath));
|
|
30556
|
+
}
|
|
30404
30557
|
/**
|
|
30405
30558
|
*
|
|
30406
30559
|
* @summary Put Filter views
|
|
@@ -33034,6 +33187,42 @@ export const LayoutApiAxiosParamCreator = function (configuration) {
|
|
|
33034
33187
|
options: localVarRequestOptions,
|
|
33035
33188
|
};
|
|
33036
33189
|
},
|
|
33190
|
+
/**
|
|
33191
|
+
* Retrieve filter views for the specific workspace
|
|
33192
|
+
* @summary Get filter views
|
|
33193
|
+
* @param {string} workspaceId
|
|
33194
|
+
* @param {Array<'ACTIVITY_INFO'>} [exclude]
|
|
33195
|
+
* @param {*} [options] Override http request option.
|
|
33196
|
+
* @throws {RequiredError}
|
|
33197
|
+
*/
|
|
33198
|
+
getFilterViews: async (workspaceId, exclude, options = {}) => {
|
|
33199
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
33200
|
+
assertParamExists("getFilterViews", "workspaceId", workspaceId);
|
|
33201
|
+
const localVarPath = `/api/v1/layout/workspaces/{workspaceId}/filterViews`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
33202
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33203
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33204
|
+
let baseOptions;
|
|
33205
|
+
if (configuration) {
|
|
33206
|
+
baseOptions = configuration.baseOptions;
|
|
33207
|
+
}
|
|
33208
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
33209
|
+
const localVarHeaderParameter = {};
|
|
33210
|
+
const localVarQueryParameter = {};
|
|
33211
|
+
if (exclude) {
|
|
33212
|
+
localVarQueryParameter["exclude"] = exclude;
|
|
33213
|
+
}
|
|
33214
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33215
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33216
|
+
localVarRequestOptions.headers = {
|
|
33217
|
+
...localVarHeaderParameter,
|
|
33218
|
+
...headersFromBaseOptions,
|
|
33219
|
+
...options.headers,
|
|
33220
|
+
};
|
|
33221
|
+
return {
|
|
33222
|
+
url: toPathString(localVarUrlObj),
|
|
33223
|
+
options: localVarRequestOptions,
|
|
33224
|
+
};
|
|
33225
|
+
},
|
|
33037
33226
|
/**
|
|
33038
33227
|
* Retrieve current logical model of the workspace in declarative form.
|
|
33039
33228
|
* @summary Get logical model
|
|
@@ -33790,6 +33979,47 @@ export const LayoutApiAxiosParamCreator = function (configuration) {
|
|
|
33790
33979
|
options: localVarRequestOptions,
|
|
33791
33980
|
};
|
|
33792
33981
|
},
|
|
33982
|
+
/**
|
|
33983
|
+
* Set filter views for the specific workspace.
|
|
33984
|
+
* @summary Set filter views
|
|
33985
|
+
* @param {string} workspaceId
|
|
33986
|
+
* @param {Array<DeclarativeFilterView>} declarativeFilterView
|
|
33987
|
+
* @param {*} [options] Override http request option.
|
|
33988
|
+
* @throws {RequiredError}
|
|
33989
|
+
*/
|
|
33990
|
+
setFilterViews: async (workspaceId, declarativeFilterView, options = {}) => {
|
|
33991
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
33992
|
+
assertParamExists("setFilterViews", "workspaceId", workspaceId);
|
|
33993
|
+
// verify required parameter 'declarativeFilterView' is not null or undefined
|
|
33994
|
+
assertParamExists("setFilterViews", "declarativeFilterView", declarativeFilterView);
|
|
33995
|
+
const localVarPath = `/api/v1/layout/workspaces/{workspaceId}/filterViews`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
33996
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33997
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33998
|
+
let baseOptions;
|
|
33999
|
+
if (configuration) {
|
|
34000
|
+
baseOptions = configuration.baseOptions;
|
|
34001
|
+
}
|
|
34002
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
34003
|
+
const localVarHeaderParameter = {};
|
|
34004
|
+
const localVarQueryParameter = {};
|
|
34005
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
34006
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34007
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34008
|
+
localVarRequestOptions.headers = {
|
|
34009
|
+
...localVarHeaderParameter,
|
|
34010
|
+
...headersFromBaseOptions,
|
|
34011
|
+
...options.headers,
|
|
34012
|
+
};
|
|
34013
|
+
const needsSerialization = typeof declarativeFilterView !== "string" ||
|
|
34014
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
34015
|
+
localVarRequestOptions.data = needsSerialization
|
|
34016
|
+
? JSON.stringify(declarativeFilterView !== undefined ? declarativeFilterView : {})
|
|
34017
|
+
: declarativeFilterView || "";
|
|
34018
|
+
return {
|
|
34019
|
+
url: toPathString(localVarUrlObj),
|
|
34020
|
+
options: localVarRequestOptions,
|
|
34021
|
+
};
|
|
34022
|
+
},
|
|
33793
34023
|
/**
|
|
33794
34024
|
* Set effective logical model of the workspace.
|
|
33795
34025
|
* @summary Set logical model
|
|
@@ -34241,6 +34471,18 @@ export const LayoutApiFp = function (configuration) {
|
|
|
34241
34471
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getDataSourcesLayout(options);
|
|
34242
34472
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34243
34473
|
},
|
|
34474
|
+
/**
|
|
34475
|
+
* Retrieve filter views for the specific workspace
|
|
34476
|
+
* @summary Get filter views
|
|
34477
|
+
* @param {string} workspaceId
|
|
34478
|
+
* @param {Array<'ACTIVITY_INFO'>} [exclude]
|
|
34479
|
+
* @param {*} [options] Override http request option.
|
|
34480
|
+
* @throws {RequiredError}
|
|
34481
|
+
*/
|
|
34482
|
+
async getFilterViews(workspaceId, exclude, options) {
|
|
34483
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getFilterViews(workspaceId, exclude, options);
|
|
34484
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34485
|
+
},
|
|
34244
34486
|
/**
|
|
34245
34487
|
* Retrieve current logical model of the workspace in declarative form.
|
|
34246
34488
|
* @summary Get logical model
|
|
@@ -34483,6 +34725,18 @@ export const LayoutApiFp = function (configuration) {
|
|
|
34483
34725
|
const localVarAxiosArgs = await localVarAxiosParamCreator.setDataSourcePermissions(dataSourceId, declarativeDataSourcePermissions, options);
|
|
34484
34726
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34485
34727
|
},
|
|
34728
|
+
/**
|
|
34729
|
+
* Set filter views for the specific workspace.
|
|
34730
|
+
* @summary Set filter views
|
|
34731
|
+
* @param {string} workspaceId
|
|
34732
|
+
* @param {Array<DeclarativeFilterView>} declarativeFilterView
|
|
34733
|
+
* @param {*} [options] Override http request option.
|
|
34734
|
+
* @throws {RequiredError}
|
|
34735
|
+
*/
|
|
34736
|
+
async setFilterViews(workspaceId, declarativeFilterView, options) {
|
|
34737
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setFilterViews(workspaceId, declarativeFilterView, options);
|
|
34738
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34739
|
+
},
|
|
34486
34740
|
/**
|
|
34487
34741
|
* Set effective logical model of the workspace.
|
|
34488
34742
|
* @summary Set logical model
|
|
@@ -34652,6 +34906,18 @@ export const LayoutApiFactory = function (configuration, basePath, axios) {
|
|
|
34652
34906
|
getDataSourcesLayout(options) {
|
|
34653
34907
|
return localVarFp.getDataSourcesLayout(options).then((request) => request(axios, basePath));
|
|
34654
34908
|
},
|
|
34909
|
+
/**
|
|
34910
|
+
* Retrieve filter views for the specific workspace
|
|
34911
|
+
* @summary Get filter views
|
|
34912
|
+
* @param {LayoutApiGetFilterViewsRequest} requestParameters Request parameters.
|
|
34913
|
+
* @param {*} [options] Override http request option.
|
|
34914
|
+
* @throws {RequiredError}
|
|
34915
|
+
*/
|
|
34916
|
+
getFilterViews(requestParameters, options) {
|
|
34917
|
+
return localVarFp
|
|
34918
|
+
.getFilterViews(requestParameters.workspaceId, requestParameters.exclude, options)
|
|
34919
|
+
.then((request) => request(axios, basePath));
|
|
34920
|
+
},
|
|
34655
34921
|
/**
|
|
34656
34922
|
* Retrieve current logical model of the workspace in declarative form.
|
|
34657
34923
|
* @summary Get logical model
|
|
@@ -34902,6 +35168,18 @@ export const LayoutApiFactory = function (configuration, basePath, axios) {
|
|
|
34902
35168
|
.setDataSourcePermissions(requestParameters.dataSourceId, requestParameters.declarativeDataSourcePermissions, options)
|
|
34903
35169
|
.then((request) => request(axios, basePath));
|
|
34904
35170
|
},
|
|
35171
|
+
/**
|
|
35172
|
+
* Set filter views for the specific workspace.
|
|
35173
|
+
* @summary Set filter views
|
|
35174
|
+
* @param {LayoutApiSetFilterViewsRequest} requestParameters Request parameters.
|
|
35175
|
+
* @param {*} [options] Override http request option.
|
|
35176
|
+
* @throws {RequiredError}
|
|
35177
|
+
*/
|
|
35178
|
+
setFilterViews(requestParameters, options) {
|
|
35179
|
+
return localVarFp
|
|
35180
|
+
.setFilterViews(requestParameters.workspaceId, requestParameters.declarativeFilterView, options)
|
|
35181
|
+
.then((request) => request(axios, basePath));
|
|
35182
|
+
},
|
|
34905
35183
|
/**
|
|
34906
35184
|
* Set effective logical model of the workspace.
|
|
34907
35185
|
* @summary Set logical model
|
|
@@ -35082,6 +35360,19 @@ export class LayoutApi extends BaseAPI {
|
|
|
35082
35360
|
.getDataSourcesLayout(options)
|
|
35083
35361
|
.then((request) => request(this.axios, this.basePath));
|
|
35084
35362
|
}
|
|
35363
|
+
/**
|
|
35364
|
+
* Retrieve filter views for the specific workspace
|
|
35365
|
+
* @summary Get filter views
|
|
35366
|
+
* @param {LayoutApiGetFilterViewsRequest} requestParameters Request parameters.
|
|
35367
|
+
* @param {*} [options] Override http request option.
|
|
35368
|
+
* @throws {RequiredError}
|
|
35369
|
+
* @memberof LayoutApi
|
|
35370
|
+
*/
|
|
35371
|
+
getFilterViews(requestParameters, options) {
|
|
35372
|
+
return LayoutApiFp(this.configuration)
|
|
35373
|
+
.getFilterViews(requestParameters.workspaceId, requestParameters.exclude, options)
|
|
35374
|
+
.then((request) => request(this.axios, this.basePath));
|
|
35375
|
+
}
|
|
35085
35376
|
/**
|
|
35086
35377
|
* Retrieve current logical model of the workspace in declarative form.
|
|
35087
35378
|
* @summary Get logical model
|
|
@@ -35362,6 +35653,19 @@ export class LayoutApi extends BaseAPI {
|
|
|
35362
35653
|
.setDataSourcePermissions(requestParameters.dataSourceId, requestParameters.declarativeDataSourcePermissions, options)
|
|
35363
35654
|
.then((request) => request(this.axios, this.basePath));
|
|
35364
35655
|
}
|
|
35656
|
+
/**
|
|
35657
|
+
* Set filter views for the specific workspace.
|
|
35658
|
+
* @summary Set filter views
|
|
35659
|
+
* @param {LayoutApiSetFilterViewsRequest} requestParameters Request parameters.
|
|
35660
|
+
* @param {*} [options] Override http request option.
|
|
35661
|
+
* @throws {RequiredError}
|
|
35662
|
+
* @memberof LayoutApi
|
|
35663
|
+
*/
|
|
35664
|
+
setFilterViews(requestParameters, options) {
|
|
35665
|
+
return LayoutApiFp(this.configuration)
|
|
35666
|
+
.setFilterViews(requestParameters.workspaceId, requestParameters.declarativeFilterView, options)
|
|
35667
|
+
.then((request) => request(this.axios, this.basePath));
|
|
35668
|
+
}
|
|
35365
35669
|
/**
|
|
35366
35670
|
* Set effective logical model of the workspace.
|
|
35367
35671
|
* @summary Set logical model
|