@gooddata/api-client-tiger 10.15.0-alpha.9 → 10.15.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 +2086 -1091
- 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 +411 -1
- package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/api.js +190 -0
- package/esm/generated/afm-rest-api/api.js.map +1 -1
- package/esm/generated/afm-rest-api/openapi-spec.json +299 -85
- package/esm/generated/auth-json-api/api.d.ts +18 -0
- package/esm/generated/auth-json-api/api.d.ts.map +1 -1
- package/esm/generated/auth-json-api/api.js.map +1 -1
- package/esm/generated/auth-json-api/openapi-spec.json +9 -0
- package/esm/generated/metadata-json-api/api.d.ts +1756 -1041
- package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.js +840 -156
- package/esm/generated/metadata-json-api/api.js.map +1 -1
- package/esm/generated/metadata-json-api/openapi-spec.json +7867 -7615
- 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 +1 -0
- 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 +2 -2
- 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
|
@@ -80,8 +80,21 @@ export const AssigneeIdentifierTypeEnum = {
|
|
|
80
80
|
export const AssigneeRuleTypeEnum = {
|
|
81
81
|
ALL_WORKSPACE_USERS: "allWorkspaceUsers",
|
|
82
82
|
};
|
|
83
|
+
export const AutomationAlertTriggerEnum = {
|
|
84
|
+
ALWAYS: "ALWAYS",
|
|
85
|
+
ONCE: "ONCE",
|
|
86
|
+
};
|
|
83
87
|
export const ColumnOverrideLdmTypeOverrideEnum = {
|
|
84
88
|
FACT: "FACT",
|
|
89
|
+
LABEL: "LABEL",
|
|
90
|
+
};
|
|
91
|
+
export const ColumnOverrideLabelTypeEnum = {
|
|
92
|
+
TEXT: "TEXT",
|
|
93
|
+
HYPERLINK: "HYPERLINK",
|
|
94
|
+
GEO: "GEO",
|
|
95
|
+
GEO_LONGITUDE: "GEO_LONGITUDE",
|
|
96
|
+
GEO_LATITUDE: "GEO_LATITUDE",
|
|
97
|
+
IMAGE: "IMAGE",
|
|
85
98
|
};
|
|
86
99
|
export const ComparisonOperatorEnum = {
|
|
87
100
|
GREATER_THAN: "GREATER_THAN",
|
|
@@ -184,6 +197,7 @@ export const DeclarativeDataSourceTypeEnum = {
|
|
|
184
197
|
SINGLESTORE: "SINGLESTORE",
|
|
185
198
|
MOTHERDUCK: "MOTHERDUCK",
|
|
186
199
|
FLIGHTRPC: "FLIGHTRPC",
|
|
200
|
+
FLEXCONNECT: "FLEXCONNECT",
|
|
187
201
|
};
|
|
188
202
|
export const DeclarativeDataSourceCacheStrategyEnum = {
|
|
189
203
|
ALWAYS: "ALWAYS",
|
|
@@ -243,6 +257,11 @@ export const DeclarativeNotificationChannelDestinationTypeEnum = {
|
|
|
243
257
|
WEBHOOK: "WEBHOOK",
|
|
244
258
|
SMTP: "SMTP",
|
|
245
259
|
DEFAULT_SMTP: "DEFAULT_SMTP",
|
|
260
|
+
IN_PLATFORM: "IN_PLATFORM",
|
|
261
|
+
};
|
|
262
|
+
export const DeclarativeNotificationChannelAllowedRecipientsEnum = {
|
|
263
|
+
CREATOR: "CREATOR",
|
|
264
|
+
INTERNAL: "INTERNAL",
|
|
246
265
|
};
|
|
247
266
|
export const DeclarativeNotificationChannelIdentifierTypeEnum = {
|
|
248
267
|
NOTIFICATION_CHANNEL: "notificationChannel",
|
|
@@ -439,6 +458,12 @@ export const IdentifierDuplicationsTypeEnum = {
|
|
|
439
458
|
WORKSPACE_DATA_FILTER: "workspaceDataFilter",
|
|
440
459
|
WORKSPACE_DATA_FILTER_SETTINGS: "workspaceDataFilterSettings",
|
|
441
460
|
};
|
|
461
|
+
export const InPlatformTypeEnum = {
|
|
462
|
+
IN_PLATFORM: "IN_PLATFORM",
|
|
463
|
+
};
|
|
464
|
+
export const InPlatformAllOfTypeEnum = {
|
|
465
|
+
IN_PLATFORM: "IN_PLATFORM",
|
|
466
|
+
};
|
|
442
467
|
export const JsonApiAnalyticalDashboardInTypeEnum = {
|
|
443
468
|
ANALYTICAL_DASHBOARD: "analyticalDashboard",
|
|
444
469
|
};
|
|
@@ -532,10 +557,6 @@ export const JsonApiAutomationInAttributesStateEnum = {
|
|
|
532
557
|
ACTIVE: "ACTIVE",
|
|
533
558
|
PAUSED: "PAUSED",
|
|
534
559
|
};
|
|
535
|
-
export const JsonApiAutomationInAttributesAlertTriggerEnum = {
|
|
536
|
-
ALWAYS: "ALWAYS",
|
|
537
|
-
ONCE: "ONCE",
|
|
538
|
-
};
|
|
539
560
|
export const JsonApiAutomationLinkageTypeEnum = {
|
|
540
561
|
AUTOMATION: "automation",
|
|
541
562
|
};
|
|
@@ -546,6 +567,10 @@ export const JsonApiAutomationOutAttributesStateEnum = {
|
|
|
546
567
|
ACTIVE: "ACTIVE",
|
|
547
568
|
PAUSED: "PAUSED",
|
|
548
569
|
};
|
|
570
|
+
export const JsonApiAutomationOutAttributesAlertTriggerEnum = {
|
|
571
|
+
ALWAYS: "ALWAYS",
|
|
572
|
+
ONCE: "ONCE",
|
|
573
|
+
};
|
|
549
574
|
export const JsonApiAutomationOutWithLinksTypeEnum = {
|
|
550
575
|
AUTOMATION: "automation",
|
|
551
576
|
};
|
|
@@ -645,6 +670,7 @@ export const JsonApiDataSourceIdentifierOutAttributesTypeEnum = {
|
|
|
645
670
|
SINGLESTORE: "SINGLESTORE",
|
|
646
671
|
MOTHERDUCK: "MOTHERDUCK",
|
|
647
672
|
FLIGHTRPC: "FLIGHTRPC",
|
|
673
|
+
FLEXCONNECT: "FLEXCONNECT",
|
|
648
674
|
};
|
|
649
675
|
export const JsonApiDataSourceIdentifierOutWithLinksTypeEnum = {
|
|
650
676
|
DATA_SOURCE_IDENTIFIER: "dataSourceIdentifier",
|
|
@@ -676,6 +702,7 @@ export const JsonApiDataSourceInAttributesTypeEnum = {
|
|
|
676
702
|
SINGLESTORE: "SINGLESTORE",
|
|
677
703
|
MOTHERDUCK: "MOTHERDUCK",
|
|
678
704
|
FLIGHTRPC: "FLIGHTRPC",
|
|
705
|
+
FLEXCONNECT: "FLEXCONNECT",
|
|
679
706
|
};
|
|
680
707
|
export const JsonApiDataSourceInAttributesCacheStrategyEnum = {
|
|
681
708
|
ALWAYS: "ALWAYS",
|
|
@@ -708,6 +735,7 @@ export const JsonApiDataSourceOutAttributesTypeEnum = {
|
|
|
708
735
|
SINGLESTORE: "SINGLESTORE",
|
|
709
736
|
MOTHERDUCK: "MOTHERDUCK",
|
|
710
737
|
FLIGHTRPC: "FLIGHTRPC",
|
|
738
|
+
FLEXCONNECT: "FLEXCONNECT",
|
|
711
739
|
};
|
|
712
740
|
export const JsonApiDataSourceOutAttributesCacheStrategyEnum = {
|
|
713
741
|
ALWAYS: "ALWAYS",
|
|
@@ -752,6 +780,7 @@ export const JsonApiDataSourcePatchAttributesTypeEnum = {
|
|
|
752
780
|
SINGLESTORE: "SINGLESTORE",
|
|
753
781
|
MOTHERDUCK: "MOTHERDUCK",
|
|
754
782
|
FLIGHTRPC: "FLIGHTRPC",
|
|
783
|
+
FLEXCONNECT: "FLEXCONNECT",
|
|
755
784
|
};
|
|
756
785
|
export const JsonApiDataSourcePatchAttributesCacheStrategyEnum = {
|
|
757
786
|
ALWAYS: "ALWAYS",
|
|
@@ -879,20 +908,12 @@ export const JsonApiIdentityProviderInTypeEnum = {
|
|
|
879
908
|
export const JsonApiIdentityProviderOutTypeEnum = {
|
|
880
909
|
IDENTITY_PROVIDER: "identityProvider",
|
|
881
910
|
};
|
|
882
|
-
export const JsonApiIdentityProviderOutAttributesTypeEnum = {
|
|
883
|
-
SAML: "SAML",
|
|
884
|
-
OIDC: "OIDC",
|
|
885
|
-
};
|
|
886
911
|
export const JsonApiIdentityProviderOutWithLinksTypeEnum = {
|
|
887
912
|
IDENTITY_PROVIDER: "identityProvider",
|
|
888
913
|
};
|
|
889
914
|
export const JsonApiIdentityProviderPatchTypeEnum = {
|
|
890
915
|
IDENTITY_PROVIDER: "identityProvider",
|
|
891
916
|
};
|
|
892
|
-
export const JsonApiIdentityProviderPatchAttributesTypeEnum = {
|
|
893
|
-
SAML: "SAML",
|
|
894
|
-
OIDC: "OIDC",
|
|
895
|
-
};
|
|
896
917
|
export const JsonApiJwkInTypeEnum = {
|
|
897
918
|
JWK: "jwk",
|
|
898
919
|
};
|
|
@@ -973,21 +994,22 @@ export const JsonApiMetricPostOptionalIdTypeEnum = {
|
|
|
973
994
|
export const JsonApiNotificationChannelInTypeEnum = {
|
|
974
995
|
NOTIFICATION_CHANNEL: "notificationChannel",
|
|
975
996
|
};
|
|
976
|
-
export const
|
|
977
|
-
NOTIFICATION_CHANNEL: "notificationChannel",
|
|
978
|
-
};
|
|
979
|
-
export const JsonApiNotificationChannelOutTypeEnum = {
|
|
980
|
-
NOTIFICATION_CHANNEL: "notificationChannel",
|
|
981
|
-
};
|
|
982
|
-
export const JsonApiNotificationChannelOutAttributesDestinationTypeEnum = {
|
|
997
|
+
export const JsonApiNotificationChannelInAttributesDestinationTypeEnum = {
|
|
983
998
|
WEBHOOK: "WEBHOOK",
|
|
984
999
|
SMTP: "SMTP",
|
|
985
1000
|
DEFAULT_SMTP: "DEFAULT_SMTP",
|
|
1001
|
+
IN_PLATFORM: "IN_PLATFORM",
|
|
986
1002
|
};
|
|
987
|
-
export const
|
|
1003
|
+
export const JsonApiNotificationChannelInAttributesAllowedRecipientsEnum = {
|
|
988
1004
|
CREATOR: "CREATOR",
|
|
989
1005
|
INTERNAL: "INTERNAL",
|
|
990
1006
|
};
|
|
1007
|
+
export const JsonApiNotificationChannelLinkageTypeEnum = {
|
|
1008
|
+
NOTIFICATION_CHANNEL: "notificationChannel",
|
|
1009
|
+
};
|
|
1010
|
+
export const JsonApiNotificationChannelOutTypeEnum = {
|
|
1011
|
+
NOTIFICATION_CHANNEL: "notificationChannel",
|
|
1012
|
+
};
|
|
991
1013
|
export const JsonApiNotificationChannelOutWithLinksTypeEnum = {
|
|
992
1014
|
NOTIFICATION_CHANNEL: "notificationChannel",
|
|
993
1015
|
};
|
|
@@ -1017,6 +1039,24 @@ export const JsonApiOrganizationPatchTypeEnum = {
|
|
|
1017
1039
|
export const JsonApiOrganizationSettingInTypeEnum = {
|
|
1018
1040
|
ORGANIZATION_SETTING: "organizationSetting",
|
|
1019
1041
|
};
|
|
1042
|
+
export const JsonApiOrganizationSettingInAttributesTypeEnum = {
|
|
1043
|
+
TIMEZONE: "TIMEZONE",
|
|
1044
|
+
ACTIVE_THEME: "ACTIVE_THEME",
|
|
1045
|
+
ACTIVE_COLOR_PALETTE: "ACTIVE_COLOR_PALETTE",
|
|
1046
|
+
WHITE_LABELING: "WHITE_LABELING",
|
|
1047
|
+
LOCALE: "LOCALE",
|
|
1048
|
+
METADATA_LOCALE: "METADATA_LOCALE",
|
|
1049
|
+
FORMAT_LOCALE: "FORMAT_LOCALE",
|
|
1050
|
+
MAPBOX_TOKEN: "MAPBOX_TOKEN",
|
|
1051
|
+
WEEK_START: "WEEK_START",
|
|
1052
|
+
SHOW_HIDDEN_CATALOG_ITEMS: "SHOW_HIDDEN_CATALOG_ITEMS",
|
|
1053
|
+
OPERATOR_OVERRIDES: "OPERATOR_OVERRIDES",
|
|
1054
|
+
TIMEZONE_VALIDATION_ENABLED: "TIMEZONE_VALIDATION_ENABLED",
|
|
1055
|
+
OPENAI_CONFIG: "OPENAI_CONFIG",
|
|
1056
|
+
ENABLE_FILE_ANALYTICS: "ENABLE_FILE_ANALYTICS",
|
|
1057
|
+
ALERT: "ALERT",
|
|
1058
|
+
SEPARATORS: "SEPARATORS",
|
|
1059
|
+
};
|
|
1020
1060
|
export const JsonApiOrganizationSettingOutTypeEnum = {
|
|
1021
1061
|
ORGANIZATION_SETTING: "organizationSetting",
|
|
1022
1062
|
};
|
|
@@ -1098,24 +1138,6 @@ export const JsonApiUserSettingInTypeEnum = {
|
|
|
1098
1138
|
export const JsonApiUserSettingOutTypeEnum = {
|
|
1099
1139
|
USER_SETTING: "userSetting",
|
|
1100
1140
|
};
|
|
1101
|
-
export const JsonApiUserSettingOutAttributesTypeEnum = {
|
|
1102
|
-
TIMEZONE: "TIMEZONE",
|
|
1103
|
-
ACTIVE_THEME: "ACTIVE_THEME",
|
|
1104
|
-
ACTIVE_COLOR_PALETTE: "ACTIVE_COLOR_PALETTE",
|
|
1105
|
-
WHITE_LABELING: "WHITE_LABELING",
|
|
1106
|
-
LOCALE: "LOCALE",
|
|
1107
|
-
METADATA_LOCALE: "METADATA_LOCALE",
|
|
1108
|
-
FORMAT_LOCALE: "FORMAT_LOCALE",
|
|
1109
|
-
MAPBOX_TOKEN: "MAPBOX_TOKEN",
|
|
1110
|
-
WEEK_START: "WEEK_START",
|
|
1111
|
-
SHOW_HIDDEN_CATALOG_ITEMS: "SHOW_HIDDEN_CATALOG_ITEMS",
|
|
1112
|
-
OPERATOR_OVERRIDES: "OPERATOR_OVERRIDES",
|
|
1113
|
-
TIMEZONE_VALIDATION_ENABLED: "TIMEZONE_VALIDATION_ENABLED",
|
|
1114
|
-
OPENAI_CONFIG: "OPENAI_CONFIG",
|
|
1115
|
-
ENABLE_FILE_ANALYTICS: "ENABLE_FILE_ANALYTICS",
|
|
1116
|
-
ALERT: "ALERT",
|
|
1117
|
-
SEPARATORS: "SEPARATORS",
|
|
1118
|
-
};
|
|
1119
1141
|
export const JsonApiUserSettingOutWithLinksTypeEnum = {
|
|
1120
1142
|
USER_SETTING: "userSetting",
|
|
1121
1143
|
};
|
|
@@ -31169,6 +31191,35 @@ export const IdentityProvidersApiAxiosParamCreator = function (configuration) {
|
|
|
31169
31191
|
options: localVarRequestOptions,
|
|
31170
31192
|
};
|
|
31171
31193
|
},
|
|
31194
|
+
/**
|
|
31195
|
+
* Gets complete layout of identity providers.
|
|
31196
|
+
* @summary Get all identity providers layout
|
|
31197
|
+
* @param {*} [options] Override http request option.
|
|
31198
|
+
* @throws {RequiredError}
|
|
31199
|
+
*/
|
|
31200
|
+
getIdentityProvidersLayout: async (options = {}) => {
|
|
31201
|
+
const localVarPath = `/api/v1/layout/identityProviders`;
|
|
31202
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31203
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31204
|
+
let baseOptions;
|
|
31205
|
+
if (configuration) {
|
|
31206
|
+
baseOptions = configuration.baseOptions;
|
|
31207
|
+
}
|
|
31208
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
31209
|
+
const localVarHeaderParameter = {};
|
|
31210
|
+
const localVarQueryParameter = {};
|
|
31211
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31212
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31213
|
+
localVarRequestOptions.headers = {
|
|
31214
|
+
...localVarHeaderParameter,
|
|
31215
|
+
...headersFromBaseOptions,
|
|
31216
|
+
...options.headers,
|
|
31217
|
+
};
|
|
31218
|
+
return {
|
|
31219
|
+
url: toPathString(localVarUrlObj),
|
|
31220
|
+
options: localVarRequestOptions,
|
|
31221
|
+
};
|
|
31222
|
+
},
|
|
31172
31223
|
/**
|
|
31173
31224
|
*
|
|
31174
31225
|
* @summary Patch Identity Provider
|
|
@@ -31216,6 +31267,44 @@ export const IdentityProvidersApiAxiosParamCreator = function (configuration) {
|
|
|
31216
31267
|
options: localVarRequestOptions,
|
|
31217
31268
|
};
|
|
31218
31269
|
},
|
|
31270
|
+
/**
|
|
31271
|
+
* Sets identity providers in organization.
|
|
31272
|
+
* @summary Set all identity providers
|
|
31273
|
+
* @param {Array<DeclarativeIdentityProvider>} declarativeIdentityProvider
|
|
31274
|
+
* @param {*} [options] Override http request option.
|
|
31275
|
+
* @throws {RequiredError}
|
|
31276
|
+
*/
|
|
31277
|
+
setIdentityProviders: async (declarativeIdentityProvider, options = {}) => {
|
|
31278
|
+
// verify required parameter 'declarativeIdentityProvider' is not null or undefined
|
|
31279
|
+
assertParamExists("setIdentityProviders", "declarativeIdentityProvider", declarativeIdentityProvider);
|
|
31280
|
+
const localVarPath = `/api/v1/layout/identityProviders`;
|
|
31281
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31282
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31283
|
+
let baseOptions;
|
|
31284
|
+
if (configuration) {
|
|
31285
|
+
baseOptions = configuration.baseOptions;
|
|
31286
|
+
}
|
|
31287
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
31288
|
+
const localVarHeaderParameter = {};
|
|
31289
|
+
const localVarQueryParameter = {};
|
|
31290
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
31291
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31292
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31293
|
+
localVarRequestOptions.headers = {
|
|
31294
|
+
...localVarHeaderParameter,
|
|
31295
|
+
...headersFromBaseOptions,
|
|
31296
|
+
...options.headers,
|
|
31297
|
+
};
|
|
31298
|
+
const needsSerialization = typeof declarativeIdentityProvider !== "string" ||
|
|
31299
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
31300
|
+
localVarRequestOptions.data = needsSerialization
|
|
31301
|
+
? JSON.stringify(declarativeIdentityProvider !== undefined ? declarativeIdentityProvider : {})
|
|
31302
|
+
: declarativeIdentityProvider || "";
|
|
31303
|
+
return {
|
|
31304
|
+
url: toPathString(localVarUrlObj),
|
|
31305
|
+
options: localVarRequestOptions,
|
|
31306
|
+
};
|
|
31307
|
+
},
|
|
31219
31308
|
/**
|
|
31220
31309
|
*
|
|
31221
31310
|
* @summary Put Identity Provider
|
|
@@ -31322,6 +31411,16 @@ export const IdentityProvidersApiFp = function (configuration) {
|
|
|
31322
31411
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getEntityIdentityProviders(id, filter, options);
|
|
31323
31412
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31324
31413
|
},
|
|
31414
|
+
/**
|
|
31415
|
+
* Gets complete layout of identity providers.
|
|
31416
|
+
* @summary Get all identity providers layout
|
|
31417
|
+
* @param {*} [options] Override http request option.
|
|
31418
|
+
* @throws {RequiredError}
|
|
31419
|
+
*/
|
|
31420
|
+
async getIdentityProvidersLayout(options) {
|
|
31421
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getIdentityProvidersLayout(options);
|
|
31422
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31423
|
+
},
|
|
31325
31424
|
/**
|
|
31326
31425
|
*
|
|
31327
31426
|
* @summary Patch Identity Provider
|
|
@@ -31335,6 +31434,17 @@ export const IdentityProvidersApiFp = function (configuration) {
|
|
|
31335
31434
|
const localVarAxiosArgs = await localVarAxiosParamCreator.patchEntityIdentityProviders(id, jsonApiIdentityProviderPatchDocument, filter, options);
|
|
31336
31435
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31337
31436
|
},
|
|
31437
|
+
/**
|
|
31438
|
+
* Sets identity providers in organization.
|
|
31439
|
+
* @summary Set all identity providers
|
|
31440
|
+
* @param {Array<DeclarativeIdentityProvider>} declarativeIdentityProvider
|
|
31441
|
+
* @param {*} [options] Override http request option.
|
|
31442
|
+
* @throws {RequiredError}
|
|
31443
|
+
*/
|
|
31444
|
+
async setIdentityProviders(declarativeIdentityProvider, options) {
|
|
31445
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setIdentityProviders(declarativeIdentityProvider, options);
|
|
31446
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31447
|
+
},
|
|
31338
31448
|
/**
|
|
31339
31449
|
*
|
|
31340
31450
|
* @summary Put Identity Provider
|
|
@@ -31405,6 +31515,15 @@ export const IdentityProvidersApiFactory = function (configuration, basePath, ax
|
|
|
31405
31515
|
.getEntityIdentityProviders(requestParameters.id, requestParameters.filter, options)
|
|
31406
31516
|
.then((request) => request(axios, basePath));
|
|
31407
31517
|
},
|
|
31518
|
+
/**
|
|
31519
|
+
* Gets complete layout of identity providers.
|
|
31520
|
+
* @summary Get all identity providers layout
|
|
31521
|
+
* @param {*} [options] Override http request option.
|
|
31522
|
+
* @throws {RequiredError}
|
|
31523
|
+
*/
|
|
31524
|
+
getIdentityProvidersLayout(options) {
|
|
31525
|
+
return localVarFp.getIdentityProvidersLayout(options).then((request) => request(axios, basePath));
|
|
31526
|
+
},
|
|
31408
31527
|
/**
|
|
31409
31528
|
*
|
|
31410
31529
|
* @summary Patch Identity Provider
|
|
@@ -31417,6 +31536,18 @@ export const IdentityProvidersApiFactory = function (configuration, basePath, ax
|
|
|
31417
31536
|
.patchEntityIdentityProviders(requestParameters.id, requestParameters.jsonApiIdentityProviderPatchDocument, requestParameters.filter, options)
|
|
31418
31537
|
.then((request) => request(axios, basePath));
|
|
31419
31538
|
},
|
|
31539
|
+
/**
|
|
31540
|
+
* Sets identity providers in organization.
|
|
31541
|
+
* @summary Set all identity providers
|
|
31542
|
+
* @param {IdentityProvidersApiSetIdentityProvidersRequest} requestParameters Request parameters.
|
|
31543
|
+
* @param {*} [options] Override http request option.
|
|
31544
|
+
* @throws {RequiredError}
|
|
31545
|
+
*/
|
|
31546
|
+
setIdentityProviders(requestParameters, options) {
|
|
31547
|
+
return localVarFp
|
|
31548
|
+
.setIdentityProviders(requestParameters.declarativeIdentityProvider, options)
|
|
31549
|
+
.then((request) => request(axios, basePath));
|
|
31550
|
+
},
|
|
31420
31551
|
/**
|
|
31421
31552
|
*
|
|
31422
31553
|
* @summary Put Identity Provider
|
|
@@ -31490,6 +31621,18 @@ export class IdentityProvidersApi extends BaseAPI {
|
|
|
31490
31621
|
.getEntityIdentityProviders(requestParameters.id, requestParameters.filter, options)
|
|
31491
31622
|
.then((request) => request(this.axios, this.basePath));
|
|
31492
31623
|
}
|
|
31624
|
+
/**
|
|
31625
|
+
* Gets complete layout of identity providers.
|
|
31626
|
+
* @summary Get all identity providers layout
|
|
31627
|
+
* @param {*} [options] Override http request option.
|
|
31628
|
+
* @throws {RequiredError}
|
|
31629
|
+
* @memberof IdentityProvidersApi
|
|
31630
|
+
*/
|
|
31631
|
+
getIdentityProvidersLayout(options) {
|
|
31632
|
+
return IdentityProvidersApiFp(this.configuration)
|
|
31633
|
+
.getIdentityProvidersLayout(options)
|
|
31634
|
+
.then((request) => request(this.axios, this.basePath));
|
|
31635
|
+
}
|
|
31493
31636
|
/**
|
|
31494
31637
|
*
|
|
31495
31638
|
* @summary Patch Identity Provider
|
|
@@ -31503,6 +31646,19 @@ export class IdentityProvidersApi extends BaseAPI {
|
|
|
31503
31646
|
.patchEntityIdentityProviders(requestParameters.id, requestParameters.jsonApiIdentityProviderPatchDocument, requestParameters.filter, options)
|
|
31504
31647
|
.then((request) => request(this.axios, this.basePath));
|
|
31505
31648
|
}
|
|
31649
|
+
/**
|
|
31650
|
+
* Sets identity providers in organization.
|
|
31651
|
+
* @summary Set all identity providers
|
|
31652
|
+
* @param {IdentityProvidersApiSetIdentityProvidersRequest} requestParameters Request parameters.
|
|
31653
|
+
* @param {*} [options] Override http request option.
|
|
31654
|
+
* @throws {RequiredError}
|
|
31655
|
+
* @memberof IdentityProvidersApi
|
|
31656
|
+
*/
|
|
31657
|
+
setIdentityProviders(requestParameters, options) {
|
|
31658
|
+
return IdentityProvidersApiFp(this.configuration)
|
|
31659
|
+
.setIdentityProviders(requestParameters.declarativeIdentityProvider, options)
|
|
31660
|
+
.then((request) => request(this.axios, this.basePath));
|
|
31661
|
+
}
|
|
31506
31662
|
/**
|
|
31507
31663
|
*
|
|
31508
31664
|
* @summary Put Identity Provider
|
|
@@ -33230,111 +33386,13 @@ export const LayoutApiAxiosParamCreator = function (configuration) {
|
|
|
33230
33386
|
};
|
|
33231
33387
|
},
|
|
33232
33388
|
/**
|
|
33233
|
-
*
|
|
33234
|
-
* @summary Get
|
|
33235
|
-
* @param {string} workspaceId
|
|
33236
|
-
* @param {boolean} [includeParents]
|
|
33237
|
-
* @param {*} [options] Override http request option.
|
|
33238
|
-
* @throws {RequiredError}
|
|
33239
|
-
*/
|
|
33240
|
-
getLogicalModel: async (workspaceId, includeParents, options = {}) => {
|
|
33241
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
33242
|
-
assertParamExists("getLogicalModel", "workspaceId", workspaceId);
|
|
33243
|
-
const localVarPath = `/api/v1/layout/workspaces/{workspaceId}/logicalModel`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
33244
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33245
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33246
|
-
let baseOptions;
|
|
33247
|
-
if (configuration) {
|
|
33248
|
-
baseOptions = configuration.baseOptions;
|
|
33249
|
-
}
|
|
33250
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
33251
|
-
const localVarHeaderParameter = {};
|
|
33252
|
-
const localVarQueryParameter = {};
|
|
33253
|
-
if (includeParents !== undefined) {
|
|
33254
|
-
localVarQueryParameter["includeParents"] = includeParents;
|
|
33255
|
-
}
|
|
33256
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33257
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33258
|
-
localVarRequestOptions.headers = {
|
|
33259
|
-
...localVarHeaderParameter,
|
|
33260
|
-
...headersFromBaseOptions,
|
|
33261
|
-
...options.headers,
|
|
33262
|
-
};
|
|
33263
|
-
return {
|
|
33264
|
-
url: toPathString(localVarUrlObj),
|
|
33265
|
-
options: localVarRequestOptions,
|
|
33266
|
-
};
|
|
33267
|
-
},
|
|
33268
|
-
/**
|
|
33269
|
-
* Gets complete layout of notification channels.
|
|
33270
|
-
* @summary Get all notification channels layout
|
|
33271
|
-
* @param {*} [options] Override http request option.
|
|
33272
|
-
* @throws {RequiredError}
|
|
33273
|
-
*/
|
|
33274
|
-
getNotificationChannelsLayout: async (options = {}) => {
|
|
33275
|
-
const localVarPath = `/api/v1/layout/notificationChannels`;
|
|
33276
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33277
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33278
|
-
let baseOptions;
|
|
33279
|
-
if (configuration) {
|
|
33280
|
-
baseOptions = configuration.baseOptions;
|
|
33281
|
-
}
|
|
33282
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
33283
|
-
const localVarHeaderParameter = {};
|
|
33284
|
-
const localVarQueryParameter = {};
|
|
33285
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33286
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33287
|
-
localVarRequestOptions.headers = {
|
|
33288
|
-
...localVarHeaderParameter,
|
|
33289
|
-
...headersFromBaseOptions,
|
|
33290
|
-
...options.headers,
|
|
33291
|
-
};
|
|
33292
|
-
return {
|
|
33293
|
-
url: toPathString(localVarUrlObj),
|
|
33294
|
-
options: localVarRequestOptions,
|
|
33295
|
-
};
|
|
33296
|
-
},
|
|
33297
|
-
/**
|
|
33298
|
-
* Retrieve complete layout of organization, workspaces, user-groups, etc.
|
|
33299
|
-
* @summary Get organization layout
|
|
33300
|
-
* @param {Array<'ACTIVITY_INFO'>} [exclude]
|
|
33301
|
-
* @param {*} [options] Override http request option.
|
|
33302
|
-
* @throws {RequiredError}
|
|
33303
|
-
*/
|
|
33304
|
-
getOrganizationLayout: async (exclude, options = {}) => {
|
|
33305
|
-
const localVarPath = `/api/v1/layout/organization`;
|
|
33306
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33307
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33308
|
-
let baseOptions;
|
|
33309
|
-
if (configuration) {
|
|
33310
|
-
baseOptions = configuration.baseOptions;
|
|
33311
|
-
}
|
|
33312
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
33313
|
-
const localVarHeaderParameter = {};
|
|
33314
|
-
const localVarQueryParameter = {};
|
|
33315
|
-
if (exclude) {
|
|
33316
|
-
localVarQueryParameter["exclude"] = exclude;
|
|
33317
|
-
}
|
|
33318
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33319
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33320
|
-
localVarRequestOptions.headers = {
|
|
33321
|
-
...localVarHeaderParameter,
|
|
33322
|
-
...headersFromBaseOptions,
|
|
33323
|
-
...options.headers,
|
|
33324
|
-
};
|
|
33325
|
-
return {
|
|
33326
|
-
url: toPathString(localVarUrlObj),
|
|
33327
|
-
options: localVarRequestOptions,
|
|
33328
|
-
};
|
|
33329
|
-
},
|
|
33330
|
-
/**
|
|
33331
|
-
* Retrieve organization permissions
|
|
33332
|
-
* @summary Get organization permissions
|
|
33389
|
+
* Gets complete layout of identity providers.
|
|
33390
|
+
* @summary Get all identity providers layout
|
|
33333
33391
|
* @param {*} [options] Override http request option.
|
|
33334
33392
|
* @throws {RequiredError}
|
|
33335
33393
|
*/
|
|
33336
|
-
|
|
33337
|
-
const localVarPath = `/api/v1/layout/
|
|
33394
|
+
getIdentityProvidersLayout: async (options = {}) => {
|
|
33395
|
+
const localVarPath = `/api/v1/layout/identityProviders`;
|
|
33338
33396
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33339
33397
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33340
33398
|
let baseOptions;
|
|
@@ -33357,16 +33415,17 @@ export const LayoutApiAxiosParamCreator = function (configuration) {
|
|
|
33357
33415
|
};
|
|
33358
33416
|
},
|
|
33359
33417
|
/**
|
|
33360
|
-
* Retrieve current
|
|
33361
|
-
* @summary Get
|
|
33418
|
+
* Retrieve current logical model of the workspace in declarative form.
|
|
33419
|
+
* @summary Get logical model
|
|
33362
33420
|
* @param {string} workspaceId
|
|
33421
|
+
* @param {boolean} [includeParents]
|
|
33363
33422
|
* @param {*} [options] Override http request option.
|
|
33364
33423
|
* @throws {RequiredError}
|
|
33365
33424
|
*/
|
|
33366
|
-
|
|
33425
|
+
getLogicalModel: async (workspaceId, includeParents, options = {}) => {
|
|
33367
33426
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
33368
|
-
assertParamExists("
|
|
33369
|
-
const localVarPath = `/api/v1/layout/workspaces/{workspaceId}/
|
|
33427
|
+
assertParamExists("getLogicalModel", "workspaceId", workspaceId);
|
|
33428
|
+
const localVarPath = `/api/v1/layout/workspaces/{workspaceId}/logicalModel`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
33370
33429
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33371
33430
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33372
33431
|
let baseOptions;
|
|
@@ -33376,6 +33435,9 @@ export const LayoutApiAxiosParamCreator = function (configuration) {
|
|
|
33376
33435
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
33377
33436
|
const localVarHeaderParameter = {};
|
|
33378
33437
|
const localVarQueryParameter = {};
|
|
33438
|
+
if (includeParents !== undefined) {
|
|
33439
|
+
localVarQueryParameter["includeParents"] = includeParents;
|
|
33440
|
+
}
|
|
33379
33441
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33380
33442
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33381
33443
|
localVarRequestOptions.headers = {
|
|
@@ -33389,16 +33451,139 @@ export const LayoutApiAxiosParamCreator = function (configuration) {
|
|
|
33389
33451
|
};
|
|
33390
33452
|
},
|
|
33391
33453
|
/**
|
|
33392
|
-
*
|
|
33393
|
-
* @summary Get
|
|
33394
|
-
* @param {string} userGroupId
|
|
33454
|
+
* Gets complete layout of notification channels.
|
|
33455
|
+
* @summary Get all notification channels layout
|
|
33395
33456
|
* @param {*} [options] Override http request option.
|
|
33396
33457
|
* @throws {RequiredError}
|
|
33397
33458
|
*/
|
|
33398
|
-
|
|
33399
|
-
|
|
33400
|
-
|
|
33401
|
-
const
|
|
33459
|
+
getNotificationChannelsLayout: async (options = {}) => {
|
|
33460
|
+
const localVarPath = `/api/v1/layout/notificationChannels`;
|
|
33461
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33462
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33463
|
+
let baseOptions;
|
|
33464
|
+
if (configuration) {
|
|
33465
|
+
baseOptions = configuration.baseOptions;
|
|
33466
|
+
}
|
|
33467
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
33468
|
+
const localVarHeaderParameter = {};
|
|
33469
|
+
const localVarQueryParameter = {};
|
|
33470
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33471
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33472
|
+
localVarRequestOptions.headers = {
|
|
33473
|
+
...localVarHeaderParameter,
|
|
33474
|
+
...headersFromBaseOptions,
|
|
33475
|
+
...options.headers,
|
|
33476
|
+
};
|
|
33477
|
+
return {
|
|
33478
|
+
url: toPathString(localVarUrlObj),
|
|
33479
|
+
options: localVarRequestOptions,
|
|
33480
|
+
};
|
|
33481
|
+
},
|
|
33482
|
+
/**
|
|
33483
|
+
* Retrieve complete layout of organization, workspaces, user-groups, etc.
|
|
33484
|
+
* @summary Get organization layout
|
|
33485
|
+
* @param {Array<'ACTIVITY_INFO'>} [exclude]
|
|
33486
|
+
* @param {*} [options] Override http request option.
|
|
33487
|
+
* @throws {RequiredError}
|
|
33488
|
+
*/
|
|
33489
|
+
getOrganizationLayout: async (exclude, options = {}) => {
|
|
33490
|
+
const localVarPath = `/api/v1/layout/organization`;
|
|
33491
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33492
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33493
|
+
let baseOptions;
|
|
33494
|
+
if (configuration) {
|
|
33495
|
+
baseOptions = configuration.baseOptions;
|
|
33496
|
+
}
|
|
33497
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
33498
|
+
const localVarHeaderParameter = {};
|
|
33499
|
+
const localVarQueryParameter = {};
|
|
33500
|
+
if (exclude) {
|
|
33501
|
+
localVarQueryParameter["exclude"] = exclude;
|
|
33502
|
+
}
|
|
33503
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33504
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33505
|
+
localVarRequestOptions.headers = {
|
|
33506
|
+
...localVarHeaderParameter,
|
|
33507
|
+
...headersFromBaseOptions,
|
|
33508
|
+
...options.headers,
|
|
33509
|
+
};
|
|
33510
|
+
return {
|
|
33511
|
+
url: toPathString(localVarUrlObj),
|
|
33512
|
+
options: localVarRequestOptions,
|
|
33513
|
+
};
|
|
33514
|
+
},
|
|
33515
|
+
/**
|
|
33516
|
+
* Retrieve organization permissions
|
|
33517
|
+
* @summary Get organization permissions
|
|
33518
|
+
* @param {*} [options] Override http request option.
|
|
33519
|
+
* @throws {RequiredError}
|
|
33520
|
+
*/
|
|
33521
|
+
getOrganizationPermissions: async (options = {}) => {
|
|
33522
|
+
const localVarPath = `/api/v1/layout/organization/permissions`;
|
|
33523
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33524
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33525
|
+
let baseOptions;
|
|
33526
|
+
if (configuration) {
|
|
33527
|
+
baseOptions = configuration.baseOptions;
|
|
33528
|
+
}
|
|
33529
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
33530
|
+
const localVarHeaderParameter = {};
|
|
33531
|
+
const localVarQueryParameter = {};
|
|
33532
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33533
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33534
|
+
localVarRequestOptions.headers = {
|
|
33535
|
+
...localVarHeaderParameter,
|
|
33536
|
+
...headersFromBaseOptions,
|
|
33537
|
+
...options.headers,
|
|
33538
|
+
};
|
|
33539
|
+
return {
|
|
33540
|
+
url: toPathString(localVarUrlObj),
|
|
33541
|
+
options: localVarRequestOptions,
|
|
33542
|
+
};
|
|
33543
|
+
},
|
|
33544
|
+
/**
|
|
33545
|
+
* Retrieve current user data filters assigned to the workspace.
|
|
33546
|
+
* @summary Get user data filters
|
|
33547
|
+
* @param {string} workspaceId
|
|
33548
|
+
* @param {*} [options] Override http request option.
|
|
33549
|
+
* @throws {RequiredError}
|
|
33550
|
+
*/
|
|
33551
|
+
getUserDataFilters: async (workspaceId, options = {}) => {
|
|
33552
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
33553
|
+
assertParamExists("getUserDataFilters", "workspaceId", workspaceId);
|
|
33554
|
+
const localVarPath = `/api/v1/layout/workspaces/{workspaceId}/userDataFilters`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
33555
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33556
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33557
|
+
let baseOptions;
|
|
33558
|
+
if (configuration) {
|
|
33559
|
+
baseOptions = configuration.baseOptions;
|
|
33560
|
+
}
|
|
33561
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
33562
|
+
const localVarHeaderParameter = {};
|
|
33563
|
+
const localVarQueryParameter = {};
|
|
33564
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33565
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33566
|
+
localVarRequestOptions.headers = {
|
|
33567
|
+
...localVarHeaderParameter,
|
|
33568
|
+
...headersFromBaseOptions,
|
|
33569
|
+
...options.headers,
|
|
33570
|
+
};
|
|
33571
|
+
return {
|
|
33572
|
+
url: toPathString(localVarUrlObj),
|
|
33573
|
+
options: localVarRequestOptions,
|
|
33574
|
+
};
|
|
33575
|
+
},
|
|
33576
|
+
/**
|
|
33577
|
+
* Retrieve current set of permissions of the user-group in a declarative form.
|
|
33578
|
+
* @summary Get permissions for the user-group
|
|
33579
|
+
* @param {string} userGroupId
|
|
33580
|
+
* @param {*} [options] Override http request option.
|
|
33581
|
+
* @throws {RequiredError}
|
|
33582
|
+
*/
|
|
33583
|
+
getUserGroupPermissions: async (userGroupId, options = {}) => {
|
|
33584
|
+
// verify required parameter 'userGroupId' is not null or undefined
|
|
33585
|
+
assertParamExists("getUserGroupPermissions", "userGroupId", userGroupId);
|
|
33586
|
+
const localVarPath = `/api/v1/layout/userGroups/{userGroupId}/permissions`.replace(`{${"userGroupId"}}`, encodeURIComponent(String(userGroupId)));
|
|
33402
33587
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33403
33588
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33404
33589
|
let baseOptions;
|
|
@@ -33945,7 +34130,7 @@ export const LayoutApiAxiosParamCreator = function (configuration) {
|
|
|
33945
34130
|
};
|
|
33946
34131
|
},
|
|
33947
34132
|
/**
|
|
33948
|
-
*
|
|
34133
|
+
* set data source permissions.
|
|
33949
34134
|
* @summary Set data source permissions.
|
|
33950
34135
|
* @param {string} dataSourceId
|
|
33951
34136
|
* @param {DeclarativeDataSourcePermissions} declarativeDataSourcePermissions
|
|
@@ -34026,6 +34211,44 @@ export const LayoutApiAxiosParamCreator = function (configuration) {
|
|
|
34026
34211
|
options: localVarRequestOptions,
|
|
34027
34212
|
};
|
|
34028
34213
|
},
|
|
34214
|
+
/**
|
|
34215
|
+
* Sets identity providers in organization.
|
|
34216
|
+
* @summary Set all identity providers
|
|
34217
|
+
* @param {Array<DeclarativeIdentityProvider>} declarativeIdentityProvider
|
|
34218
|
+
* @param {*} [options] Override http request option.
|
|
34219
|
+
* @throws {RequiredError}
|
|
34220
|
+
*/
|
|
34221
|
+
setIdentityProviders: async (declarativeIdentityProvider, options = {}) => {
|
|
34222
|
+
// verify required parameter 'declarativeIdentityProvider' is not null or undefined
|
|
34223
|
+
assertParamExists("setIdentityProviders", "declarativeIdentityProvider", declarativeIdentityProvider);
|
|
34224
|
+
const localVarPath = `/api/v1/layout/identityProviders`;
|
|
34225
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34226
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34227
|
+
let baseOptions;
|
|
34228
|
+
if (configuration) {
|
|
34229
|
+
baseOptions = configuration.baseOptions;
|
|
34230
|
+
}
|
|
34231
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
34232
|
+
const localVarHeaderParameter = {};
|
|
34233
|
+
const localVarQueryParameter = {};
|
|
34234
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
34235
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34236
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34237
|
+
localVarRequestOptions.headers = {
|
|
34238
|
+
...localVarHeaderParameter,
|
|
34239
|
+
...headersFromBaseOptions,
|
|
34240
|
+
...options.headers,
|
|
34241
|
+
};
|
|
34242
|
+
const needsSerialization = typeof declarativeIdentityProvider !== "string" ||
|
|
34243
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
34244
|
+
localVarRequestOptions.data = needsSerialization
|
|
34245
|
+
? JSON.stringify(declarativeIdentityProvider !== undefined ? declarativeIdentityProvider : {})
|
|
34246
|
+
: declarativeIdentityProvider || "";
|
|
34247
|
+
return {
|
|
34248
|
+
url: toPathString(localVarUrlObj),
|
|
34249
|
+
options: localVarRequestOptions,
|
|
34250
|
+
};
|
|
34251
|
+
},
|
|
34029
34252
|
/**
|
|
34030
34253
|
* Set effective logical model of the workspace.
|
|
34031
34254
|
* @summary Set logical model
|
|
@@ -34489,6 +34712,16 @@ export const LayoutApiFp = function (configuration) {
|
|
|
34489
34712
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getFilterViews(workspaceId, exclude, options);
|
|
34490
34713
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34491
34714
|
},
|
|
34715
|
+
/**
|
|
34716
|
+
* Gets complete layout of identity providers.
|
|
34717
|
+
* @summary Get all identity providers layout
|
|
34718
|
+
* @param {*} [options] Override http request option.
|
|
34719
|
+
* @throws {RequiredError}
|
|
34720
|
+
*/
|
|
34721
|
+
async getIdentityProvidersLayout(options) {
|
|
34722
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getIdentityProvidersLayout(options);
|
|
34723
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34724
|
+
},
|
|
34492
34725
|
/**
|
|
34493
34726
|
* Retrieve current logical model of the workspace in declarative form.
|
|
34494
34727
|
* @summary Get logical model
|
|
@@ -34720,7 +34953,7 @@ export const LayoutApiFp = function (configuration) {
|
|
|
34720
34953
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34721
34954
|
},
|
|
34722
34955
|
/**
|
|
34723
|
-
*
|
|
34956
|
+
* set data source permissions.
|
|
34724
34957
|
* @summary Set data source permissions.
|
|
34725
34958
|
* @param {string} dataSourceId
|
|
34726
34959
|
* @param {DeclarativeDataSourcePermissions} declarativeDataSourcePermissions
|
|
@@ -34743,6 +34976,17 @@ export const LayoutApiFp = function (configuration) {
|
|
|
34743
34976
|
const localVarAxiosArgs = await localVarAxiosParamCreator.setFilterViews(workspaceId, declarativeFilterView, options);
|
|
34744
34977
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34745
34978
|
},
|
|
34979
|
+
/**
|
|
34980
|
+
* Sets identity providers in organization.
|
|
34981
|
+
* @summary Set all identity providers
|
|
34982
|
+
* @param {Array<DeclarativeIdentityProvider>} declarativeIdentityProvider
|
|
34983
|
+
* @param {*} [options] Override http request option.
|
|
34984
|
+
* @throws {RequiredError}
|
|
34985
|
+
*/
|
|
34986
|
+
async setIdentityProviders(declarativeIdentityProvider, options) {
|
|
34987
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setIdentityProviders(declarativeIdentityProvider, options);
|
|
34988
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34989
|
+
},
|
|
34746
34990
|
/**
|
|
34747
34991
|
* Set effective logical model of the workspace.
|
|
34748
34992
|
* @summary Set logical model
|
|
@@ -34924,6 +35168,15 @@ export const LayoutApiFactory = function (configuration, basePath, axios) {
|
|
|
34924
35168
|
.getFilterViews(requestParameters.workspaceId, requestParameters.exclude, options)
|
|
34925
35169
|
.then((request) => request(axios, basePath));
|
|
34926
35170
|
},
|
|
35171
|
+
/**
|
|
35172
|
+
* Gets complete layout of identity providers.
|
|
35173
|
+
* @summary Get all identity providers layout
|
|
35174
|
+
* @param {*} [options] Override http request option.
|
|
35175
|
+
* @throws {RequiredError}
|
|
35176
|
+
*/
|
|
35177
|
+
getIdentityProvidersLayout(options) {
|
|
35178
|
+
return localVarFp.getIdentityProvidersLayout(options).then((request) => request(axios, basePath));
|
|
35179
|
+
},
|
|
34927
35180
|
/**
|
|
34928
35181
|
* Retrieve current logical model of the workspace in declarative form.
|
|
34929
35182
|
* @summary Get logical model
|
|
@@ -35163,7 +35416,7 @@ export const LayoutApiFactory = function (configuration, basePath, axios) {
|
|
|
35163
35416
|
.then((request) => request(axios, basePath));
|
|
35164
35417
|
},
|
|
35165
35418
|
/**
|
|
35166
|
-
*
|
|
35419
|
+
* set data source permissions.
|
|
35167
35420
|
* @summary Set data source permissions.
|
|
35168
35421
|
* @param {LayoutApiSetDataSourcePermissionsRequest} requestParameters Request parameters.
|
|
35169
35422
|
* @param {*} [options] Override http request option.
|
|
@@ -35186,6 +35439,18 @@ export const LayoutApiFactory = function (configuration, basePath, axios) {
|
|
|
35186
35439
|
.setFilterViews(requestParameters.workspaceId, requestParameters.declarativeFilterView, options)
|
|
35187
35440
|
.then((request) => request(axios, basePath));
|
|
35188
35441
|
},
|
|
35442
|
+
/**
|
|
35443
|
+
* Sets identity providers in organization.
|
|
35444
|
+
* @summary Set all identity providers
|
|
35445
|
+
* @param {LayoutApiSetIdentityProvidersRequest} requestParameters Request parameters.
|
|
35446
|
+
* @param {*} [options] Override http request option.
|
|
35447
|
+
* @throws {RequiredError}
|
|
35448
|
+
*/
|
|
35449
|
+
setIdentityProviders(requestParameters, options) {
|
|
35450
|
+
return localVarFp
|
|
35451
|
+
.setIdentityProviders(requestParameters.declarativeIdentityProvider, options)
|
|
35452
|
+
.then((request) => request(axios, basePath));
|
|
35453
|
+
},
|
|
35189
35454
|
/**
|
|
35190
35455
|
* Set effective logical model of the workspace.
|
|
35191
35456
|
* @summary Set logical model
|
|
@@ -35379,6 +35644,18 @@ export class LayoutApi extends BaseAPI {
|
|
|
35379
35644
|
.getFilterViews(requestParameters.workspaceId, requestParameters.exclude, options)
|
|
35380
35645
|
.then((request) => request(this.axios, this.basePath));
|
|
35381
35646
|
}
|
|
35647
|
+
/**
|
|
35648
|
+
* Gets complete layout of identity providers.
|
|
35649
|
+
* @summary Get all identity providers layout
|
|
35650
|
+
* @param {*} [options] Override http request option.
|
|
35651
|
+
* @throws {RequiredError}
|
|
35652
|
+
* @memberof LayoutApi
|
|
35653
|
+
*/
|
|
35654
|
+
getIdentityProvidersLayout(options) {
|
|
35655
|
+
return LayoutApiFp(this.configuration)
|
|
35656
|
+
.getIdentityProvidersLayout(options)
|
|
35657
|
+
.then((request) => request(this.axios, this.basePath));
|
|
35658
|
+
}
|
|
35382
35659
|
/**
|
|
35383
35660
|
* Retrieve current logical model of the workspace in declarative form.
|
|
35384
35661
|
* @summary Get logical model
|
|
@@ -35647,7 +35924,7 @@ export class LayoutApi extends BaseAPI {
|
|
|
35647
35924
|
.then((request) => request(this.axios, this.basePath));
|
|
35648
35925
|
}
|
|
35649
35926
|
/**
|
|
35650
|
-
*
|
|
35927
|
+
* set data source permissions.
|
|
35651
35928
|
* @summary Set data source permissions.
|
|
35652
35929
|
* @param {LayoutApiSetDataSourcePermissionsRequest} requestParameters Request parameters.
|
|
35653
35930
|
* @param {*} [options] Override http request option.
|
|
@@ -35672,6 +35949,19 @@ export class LayoutApi extends BaseAPI {
|
|
|
35672
35949
|
.setFilterViews(requestParameters.workspaceId, requestParameters.declarativeFilterView, options)
|
|
35673
35950
|
.then((request) => request(this.axios, this.basePath));
|
|
35674
35951
|
}
|
|
35952
|
+
/**
|
|
35953
|
+
* Sets identity providers in organization.
|
|
35954
|
+
* @summary Set all identity providers
|
|
35955
|
+
* @param {LayoutApiSetIdentityProvidersRequest} requestParameters Request parameters.
|
|
35956
|
+
* @param {*} [options] Override http request option.
|
|
35957
|
+
* @throws {RequiredError}
|
|
35958
|
+
* @memberof LayoutApi
|
|
35959
|
+
*/
|
|
35960
|
+
setIdentityProviders(requestParameters, options) {
|
|
35961
|
+
return LayoutApiFp(this.configuration)
|
|
35962
|
+
.setIdentityProviders(requestParameters.declarativeIdentityProvider, options)
|
|
35963
|
+
.then((request) => request(this.axios, this.basePath));
|
|
35964
|
+
}
|
|
35675
35965
|
/**
|
|
35676
35966
|
* Set effective logical model of the workspace.
|
|
35677
35967
|
* @summary Set logical model
|
|
@@ -35803,6 +36093,264 @@ export class LayoutApi extends BaseAPI {
|
|
|
35803
36093
|
.then((request) => request(this.axios, this.basePath));
|
|
35804
36094
|
}
|
|
35805
36095
|
}
|
|
36096
|
+
/**
|
|
36097
|
+
* ManagePermissionsApi - axios parameter creator
|
|
36098
|
+
* @export
|
|
36099
|
+
*/
|
|
36100
|
+
export const ManagePermissionsApiAxiosParamCreator = function (configuration) {
|
|
36101
|
+
return {
|
|
36102
|
+
/**
|
|
36103
|
+
* Retrieve current set of permissions of the data source in a declarative form.
|
|
36104
|
+
* @summary Get permissions for the data source
|
|
36105
|
+
* @param {string} dataSourceId
|
|
36106
|
+
* @param {*} [options] Override http request option.
|
|
36107
|
+
* @throws {RequiredError}
|
|
36108
|
+
*/
|
|
36109
|
+
getDataSourcePermissions: async (dataSourceId, options = {}) => {
|
|
36110
|
+
// verify required parameter 'dataSourceId' is not null or undefined
|
|
36111
|
+
assertParamExists("getDataSourcePermissions", "dataSourceId", dataSourceId);
|
|
36112
|
+
const localVarPath = `/api/v1/layout/dataSources/{dataSourceId}/permissions`.replace(`{${"dataSourceId"}}`, encodeURIComponent(String(dataSourceId)));
|
|
36113
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36114
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36115
|
+
let baseOptions;
|
|
36116
|
+
if (configuration) {
|
|
36117
|
+
baseOptions = configuration.baseOptions;
|
|
36118
|
+
}
|
|
36119
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
36120
|
+
const localVarHeaderParameter = {};
|
|
36121
|
+
const localVarQueryParameter = {};
|
|
36122
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36123
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36124
|
+
localVarRequestOptions.headers = {
|
|
36125
|
+
...localVarHeaderParameter,
|
|
36126
|
+
...headersFromBaseOptions,
|
|
36127
|
+
...options.headers,
|
|
36128
|
+
};
|
|
36129
|
+
return {
|
|
36130
|
+
url: toPathString(localVarUrlObj),
|
|
36131
|
+
options: localVarRequestOptions,
|
|
36132
|
+
};
|
|
36133
|
+
},
|
|
36134
|
+
/**
|
|
36135
|
+
* Manage Permissions for a Data Source
|
|
36136
|
+
* @summary Manage Permissions for a Data Source
|
|
36137
|
+
* @param {string} dataSourceId
|
|
36138
|
+
* @param {Array<DataSourcePermissionAssignment>} dataSourcePermissionAssignment
|
|
36139
|
+
* @param {*} [options] Override http request option.
|
|
36140
|
+
* @throws {RequiredError}
|
|
36141
|
+
*/
|
|
36142
|
+
manageDataSourcePermissions: async (dataSourceId, dataSourcePermissionAssignment, options = {}) => {
|
|
36143
|
+
// verify required parameter 'dataSourceId' is not null or undefined
|
|
36144
|
+
assertParamExists("manageDataSourcePermissions", "dataSourceId", dataSourceId);
|
|
36145
|
+
// verify required parameter 'dataSourcePermissionAssignment' is not null or undefined
|
|
36146
|
+
assertParamExists("manageDataSourcePermissions", "dataSourcePermissionAssignment", dataSourcePermissionAssignment);
|
|
36147
|
+
const localVarPath = `/api/v1/actions/dataSources/{dataSourceId}/managePermissions`.replace(`{${"dataSourceId"}}`, encodeURIComponent(String(dataSourceId)));
|
|
36148
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36149
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36150
|
+
let baseOptions;
|
|
36151
|
+
if (configuration) {
|
|
36152
|
+
baseOptions = configuration.baseOptions;
|
|
36153
|
+
}
|
|
36154
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
36155
|
+
const localVarHeaderParameter = {};
|
|
36156
|
+
const localVarQueryParameter = {};
|
|
36157
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
36158
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36159
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36160
|
+
localVarRequestOptions.headers = {
|
|
36161
|
+
...localVarHeaderParameter,
|
|
36162
|
+
...headersFromBaseOptions,
|
|
36163
|
+
...options.headers,
|
|
36164
|
+
};
|
|
36165
|
+
const needsSerialization = typeof dataSourcePermissionAssignment !== "string" ||
|
|
36166
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
36167
|
+
localVarRequestOptions.data = needsSerialization
|
|
36168
|
+
? JSON.stringify(dataSourcePermissionAssignment !== undefined ? dataSourcePermissionAssignment : {})
|
|
36169
|
+
: dataSourcePermissionAssignment || "";
|
|
36170
|
+
return {
|
|
36171
|
+
url: toPathString(localVarUrlObj),
|
|
36172
|
+
options: localVarRequestOptions,
|
|
36173
|
+
};
|
|
36174
|
+
},
|
|
36175
|
+
/**
|
|
36176
|
+
* set data source permissions.
|
|
36177
|
+
* @summary Set data source permissions.
|
|
36178
|
+
* @param {string} dataSourceId
|
|
36179
|
+
* @param {DeclarativeDataSourcePermissions} declarativeDataSourcePermissions
|
|
36180
|
+
* @param {*} [options] Override http request option.
|
|
36181
|
+
* @throws {RequiredError}
|
|
36182
|
+
*/
|
|
36183
|
+
setDataSourcePermissions: async (dataSourceId, declarativeDataSourcePermissions, options = {}) => {
|
|
36184
|
+
// verify required parameter 'dataSourceId' is not null or undefined
|
|
36185
|
+
assertParamExists("setDataSourcePermissions", "dataSourceId", dataSourceId);
|
|
36186
|
+
// verify required parameter 'declarativeDataSourcePermissions' is not null or undefined
|
|
36187
|
+
assertParamExists("setDataSourcePermissions", "declarativeDataSourcePermissions", declarativeDataSourcePermissions);
|
|
36188
|
+
const localVarPath = `/api/v1/layout/dataSources/{dataSourceId}/permissions`.replace(`{${"dataSourceId"}}`, encodeURIComponent(String(dataSourceId)));
|
|
36189
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36190
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36191
|
+
let baseOptions;
|
|
36192
|
+
if (configuration) {
|
|
36193
|
+
baseOptions = configuration.baseOptions;
|
|
36194
|
+
}
|
|
36195
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
36196
|
+
const localVarHeaderParameter = {};
|
|
36197
|
+
const localVarQueryParameter = {};
|
|
36198
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
36199
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36200
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36201
|
+
localVarRequestOptions.headers = {
|
|
36202
|
+
...localVarHeaderParameter,
|
|
36203
|
+
...headersFromBaseOptions,
|
|
36204
|
+
...options.headers,
|
|
36205
|
+
};
|
|
36206
|
+
const needsSerialization = typeof declarativeDataSourcePermissions !== "string" ||
|
|
36207
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
36208
|
+
localVarRequestOptions.data = needsSerialization
|
|
36209
|
+
? JSON.stringify(declarativeDataSourcePermissions !== undefined ? declarativeDataSourcePermissions : {})
|
|
36210
|
+
: declarativeDataSourcePermissions || "";
|
|
36211
|
+
return {
|
|
36212
|
+
url: toPathString(localVarUrlObj),
|
|
36213
|
+
options: localVarRequestOptions,
|
|
36214
|
+
};
|
|
36215
|
+
},
|
|
36216
|
+
};
|
|
36217
|
+
};
|
|
36218
|
+
/**
|
|
36219
|
+
* ManagePermissionsApi - functional programming interface
|
|
36220
|
+
* @export
|
|
36221
|
+
*/
|
|
36222
|
+
export const ManagePermissionsApiFp = function (configuration) {
|
|
36223
|
+
const localVarAxiosParamCreator = ManagePermissionsApiAxiosParamCreator(configuration);
|
|
36224
|
+
return {
|
|
36225
|
+
/**
|
|
36226
|
+
* Retrieve current set of permissions of the data source in a declarative form.
|
|
36227
|
+
* @summary Get permissions for the data source
|
|
36228
|
+
* @param {string} dataSourceId
|
|
36229
|
+
* @param {*} [options] Override http request option.
|
|
36230
|
+
* @throws {RequiredError}
|
|
36231
|
+
*/
|
|
36232
|
+
async getDataSourcePermissions(dataSourceId, options) {
|
|
36233
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDataSourcePermissions(dataSourceId, options);
|
|
36234
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36235
|
+
},
|
|
36236
|
+
/**
|
|
36237
|
+
* Manage Permissions for a Data Source
|
|
36238
|
+
* @summary Manage Permissions for a Data Source
|
|
36239
|
+
* @param {string} dataSourceId
|
|
36240
|
+
* @param {Array<DataSourcePermissionAssignment>} dataSourcePermissionAssignment
|
|
36241
|
+
* @param {*} [options] Override http request option.
|
|
36242
|
+
* @throws {RequiredError}
|
|
36243
|
+
*/
|
|
36244
|
+
async manageDataSourcePermissions(dataSourceId, dataSourcePermissionAssignment, options) {
|
|
36245
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.manageDataSourcePermissions(dataSourceId, dataSourcePermissionAssignment, options);
|
|
36246
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36247
|
+
},
|
|
36248
|
+
/**
|
|
36249
|
+
* set data source permissions.
|
|
36250
|
+
* @summary Set data source permissions.
|
|
36251
|
+
* @param {string} dataSourceId
|
|
36252
|
+
* @param {DeclarativeDataSourcePermissions} declarativeDataSourcePermissions
|
|
36253
|
+
* @param {*} [options] Override http request option.
|
|
36254
|
+
* @throws {RequiredError}
|
|
36255
|
+
*/
|
|
36256
|
+
async setDataSourcePermissions(dataSourceId, declarativeDataSourcePermissions, options) {
|
|
36257
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setDataSourcePermissions(dataSourceId, declarativeDataSourcePermissions, options);
|
|
36258
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36259
|
+
},
|
|
36260
|
+
};
|
|
36261
|
+
};
|
|
36262
|
+
/**
|
|
36263
|
+
* ManagePermissionsApi - factory interface
|
|
36264
|
+
* @export
|
|
36265
|
+
*/
|
|
36266
|
+
export const ManagePermissionsApiFactory = function (configuration, basePath, axios) {
|
|
36267
|
+
const localVarFp = ManagePermissionsApiFp(configuration);
|
|
36268
|
+
return {
|
|
36269
|
+
/**
|
|
36270
|
+
* Retrieve current set of permissions of the data source in a declarative form.
|
|
36271
|
+
* @summary Get permissions for the data source
|
|
36272
|
+
* @param {ManagePermissionsApiGetDataSourcePermissionsRequest} requestParameters Request parameters.
|
|
36273
|
+
* @param {*} [options] Override http request option.
|
|
36274
|
+
* @throws {RequiredError}
|
|
36275
|
+
*/
|
|
36276
|
+
getDataSourcePermissions(requestParameters, options) {
|
|
36277
|
+
return localVarFp
|
|
36278
|
+
.getDataSourcePermissions(requestParameters.dataSourceId, options)
|
|
36279
|
+
.then((request) => request(axios, basePath));
|
|
36280
|
+
},
|
|
36281
|
+
/**
|
|
36282
|
+
* Manage Permissions for a Data Source
|
|
36283
|
+
* @summary Manage Permissions for a Data Source
|
|
36284
|
+
* @param {ManagePermissionsApiManageDataSourcePermissionsRequest} requestParameters Request parameters.
|
|
36285
|
+
* @param {*} [options] Override http request option.
|
|
36286
|
+
* @throws {RequiredError}
|
|
36287
|
+
*/
|
|
36288
|
+
manageDataSourcePermissions(requestParameters, options) {
|
|
36289
|
+
return localVarFp
|
|
36290
|
+
.manageDataSourcePermissions(requestParameters.dataSourceId, requestParameters.dataSourcePermissionAssignment, options)
|
|
36291
|
+
.then((request) => request(axios, basePath));
|
|
36292
|
+
},
|
|
36293
|
+
/**
|
|
36294
|
+
* set data source permissions.
|
|
36295
|
+
* @summary Set data source permissions.
|
|
36296
|
+
* @param {ManagePermissionsApiSetDataSourcePermissionsRequest} requestParameters Request parameters.
|
|
36297
|
+
* @param {*} [options] Override http request option.
|
|
36298
|
+
* @throws {RequiredError}
|
|
36299
|
+
*/
|
|
36300
|
+
setDataSourcePermissions(requestParameters, options) {
|
|
36301
|
+
return localVarFp
|
|
36302
|
+
.setDataSourcePermissions(requestParameters.dataSourceId, requestParameters.declarativeDataSourcePermissions, options)
|
|
36303
|
+
.then((request) => request(axios, basePath));
|
|
36304
|
+
},
|
|
36305
|
+
};
|
|
36306
|
+
};
|
|
36307
|
+
/**
|
|
36308
|
+
* ManagePermissionsApi - object-oriented interface
|
|
36309
|
+
* @export
|
|
36310
|
+
* @class ManagePermissionsApi
|
|
36311
|
+
* @extends {BaseAPI}
|
|
36312
|
+
*/
|
|
36313
|
+
export class ManagePermissionsApi extends BaseAPI {
|
|
36314
|
+
/**
|
|
36315
|
+
* Retrieve current set of permissions of the data source in a declarative form.
|
|
36316
|
+
* @summary Get permissions for the data source
|
|
36317
|
+
* @param {ManagePermissionsApiGetDataSourcePermissionsRequest} requestParameters Request parameters.
|
|
36318
|
+
* @param {*} [options] Override http request option.
|
|
36319
|
+
* @throws {RequiredError}
|
|
36320
|
+
* @memberof ManagePermissionsApi
|
|
36321
|
+
*/
|
|
36322
|
+
getDataSourcePermissions(requestParameters, options) {
|
|
36323
|
+
return ManagePermissionsApiFp(this.configuration)
|
|
36324
|
+
.getDataSourcePermissions(requestParameters.dataSourceId, options)
|
|
36325
|
+
.then((request) => request(this.axios, this.basePath));
|
|
36326
|
+
}
|
|
36327
|
+
/**
|
|
36328
|
+
* Manage Permissions for a Data Source
|
|
36329
|
+
* @summary Manage Permissions for a Data Source
|
|
36330
|
+
* @param {ManagePermissionsApiManageDataSourcePermissionsRequest} requestParameters Request parameters.
|
|
36331
|
+
* @param {*} [options] Override http request option.
|
|
36332
|
+
* @throws {RequiredError}
|
|
36333
|
+
* @memberof ManagePermissionsApi
|
|
36334
|
+
*/
|
|
36335
|
+
manageDataSourcePermissions(requestParameters, options) {
|
|
36336
|
+
return ManagePermissionsApiFp(this.configuration)
|
|
36337
|
+
.manageDataSourcePermissions(requestParameters.dataSourceId, requestParameters.dataSourcePermissionAssignment, options)
|
|
36338
|
+
.then((request) => request(this.axios, this.basePath));
|
|
36339
|
+
}
|
|
36340
|
+
/**
|
|
36341
|
+
* set data source permissions.
|
|
36342
|
+
* @summary Set data source permissions.
|
|
36343
|
+
* @param {ManagePermissionsApiSetDataSourcePermissionsRequest} requestParameters Request parameters.
|
|
36344
|
+
* @param {*} [options] Override http request option.
|
|
36345
|
+
* @throws {RequiredError}
|
|
36346
|
+
* @memberof ManagePermissionsApi
|
|
36347
|
+
*/
|
|
36348
|
+
setDataSourcePermissions(requestParameters, options) {
|
|
36349
|
+
return ManagePermissionsApiFp(this.configuration)
|
|
36350
|
+
.setDataSourcePermissions(requestParameters.dataSourceId, requestParameters.declarativeDataSourcePermissions, options)
|
|
36351
|
+
.then((request) => request(this.axios, this.basePath));
|
|
36352
|
+
}
|
|
36353
|
+
}
|
|
35806
36354
|
/**
|
|
35807
36355
|
* MetadataSyncApi - axios parameter creator
|
|
35808
36356
|
* @export
|
|
@@ -36725,6 +37273,35 @@ export const NotificationChannelsApiAxiosParamCreator = function (configuration)
|
|
|
36725
37273
|
options: localVarRequestOptions,
|
|
36726
37274
|
};
|
|
36727
37275
|
},
|
|
37276
|
+
/**
|
|
37277
|
+
* Gets complete layout of notification channels.
|
|
37278
|
+
* @summary Get all notification channels layout
|
|
37279
|
+
* @param {*} [options] Override http request option.
|
|
37280
|
+
* @throws {RequiredError}
|
|
37281
|
+
*/
|
|
37282
|
+
getNotificationChannelsLayout: async (options = {}) => {
|
|
37283
|
+
const localVarPath = `/api/v1/layout/notificationChannels`;
|
|
37284
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37285
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
37286
|
+
let baseOptions;
|
|
37287
|
+
if (configuration) {
|
|
37288
|
+
baseOptions = configuration.baseOptions;
|
|
37289
|
+
}
|
|
37290
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
37291
|
+
const localVarHeaderParameter = {};
|
|
37292
|
+
const localVarQueryParameter = {};
|
|
37293
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37294
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37295
|
+
localVarRequestOptions.headers = {
|
|
37296
|
+
...localVarHeaderParameter,
|
|
37297
|
+
...headersFromBaseOptions,
|
|
37298
|
+
...options.headers,
|
|
37299
|
+
};
|
|
37300
|
+
return {
|
|
37301
|
+
url: toPathString(localVarUrlObj),
|
|
37302
|
+
options: localVarRequestOptions,
|
|
37303
|
+
};
|
|
37304
|
+
},
|
|
36728
37305
|
/**
|
|
36729
37306
|
*
|
|
36730
37307
|
* @summary Patch Notification Channel entity
|
|
@@ -36772,6 +37349,44 @@ export const NotificationChannelsApiAxiosParamCreator = function (configuration)
|
|
|
36772
37349
|
options: localVarRequestOptions,
|
|
36773
37350
|
};
|
|
36774
37351
|
},
|
|
37352
|
+
/**
|
|
37353
|
+
* Sets notification channels in organization.
|
|
37354
|
+
* @summary Set all notification channels
|
|
37355
|
+
* @param {DeclarativeNotificationChannels} declarativeNotificationChannels
|
|
37356
|
+
* @param {*} [options] Override http request option.
|
|
37357
|
+
* @throws {RequiredError}
|
|
37358
|
+
*/
|
|
37359
|
+
setNotificationChannels: async (declarativeNotificationChannels, options = {}) => {
|
|
37360
|
+
// verify required parameter 'declarativeNotificationChannels' is not null or undefined
|
|
37361
|
+
assertParamExists("setNotificationChannels", "declarativeNotificationChannels", declarativeNotificationChannels);
|
|
37362
|
+
const localVarPath = `/api/v1/layout/notificationChannels`;
|
|
37363
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37364
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
37365
|
+
let baseOptions;
|
|
37366
|
+
if (configuration) {
|
|
37367
|
+
baseOptions = configuration.baseOptions;
|
|
37368
|
+
}
|
|
37369
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
37370
|
+
const localVarHeaderParameter = {};
|
|
37371
|
+
const localVarQueryParameter = {};
|
|
37372
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
37373
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37374
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37375
|
+
localVarRequestOptions.headers = {
|
|
37376
|
+
...localVarHeaderParameter,
|
|
37377
|
+
...headersFromBaseOptions,
|
|
37378
|
+
...options.headers,
|
|
37379
|
+
};
|
|
37380
|
+
const needsSerialization = typeof declarativeNotificationChannels !== "string" ||
|
|
37381
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
37382
|
+
localVarRequestOptions.data = needsSerialization
|
|
37383
|
+
? JSON.stringify(declarativeNotificationChannels !== undefined ? declarativeNotificationChannels : {})
|
|
37384
|
+
: declarativeNotificationChannels || "";
|
|
37385
|
+
return {
|
|
37386
|
+
url: toPathString(localVarUrlObj),
|
|
37387
|
+
options: localVarRequestOptions,
|
|
37388
|
+
};
|
|
37389
|
+
},
|
|
36775
37390
|
/**
|
|
36776
37391
|
*
|
|
36777
37392
|
* @summary Put Notification Channel entity
|
|
@@ -36878,6 +37493,16 @@ export const NotificationChannelsApiFp = function (configuration) {
|
|
|
36878
37493
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getEntityNotificationChannels(id, filter, options);
|
|
36879
37494
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36880
37495
|
},
|
|
37496
|
+
/**
|
|
37497
|
+
* Gets complete layout of notification channels.
|
|
37498
|
+
* @summary Get all notification channels layout
|
|
37499
|
+
* @param {*} [options] Override http request option.
|
|
37500
|
+
* @throws {RequiredError}
|
|
37501
|
+
*/
|
|
37502
|
+
async getNotificationChannelsLayout(options) {
|
|
37503
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getNotificationChannelsLayout(options);
|
|
37504
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37505
|
+
},
|
|
36881
37506
|
/**
|
|
36882
37507
|
*
|
|
36883
37508
|
* @summary Patch Notification Channel entity
|
|
@@ -36891,6 +37516,17 @@ export const NotificationChannelsApiFp = function (configuration) {
|
|
|
36891
37516
|
const localVarAxiosArgs = await localVarAxiosParamCreator.patchEntityNotificationChannels(id, jsonApiNotificationChannelPatchDocument, filter, options);
|
|
36892
37517
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36893
37518
|
},
|
|
37519
|
+
/**
|
|
37520
|
+
* Sets notification channels in organization.
|
|
37521
|
+
* @summary Set all notification channels
|
|
37522
|
+
* @param {DeclarativeNotificationChannels} declarativeNotificationChannels
|
|
37523
|
+
* @param {*} [options] Override http request option.
|
|
37524
|
+
* @throws {RequiredError}
|
|
37525
|
+
*/
|
|
37526
|
+
async setNotificationChannels(declarativeNotificationChannels, options) {
|
|
37527
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setNotificationChannels(declarativeNotificationChannels, options);
|
|
37528
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37529
|
+
},
|
|
36894
37530
|
/**
|
|
36895
37531
|
*
|
|
36896
37532
|
* @summary Put Notification Channel entity
|
|
@@ -36961,6 +37597,17 @@ export const NotificationChannelsApiFactory = function (configuration, basePath,
|
|
|
36961
37597
|
.getEntityNotificationChannels(requestParameters.id, requestParameters.filter, options)
|
|
36962
37598
|
.then((request) => request(axios, basePath));
|
|
36963
37599
|
},
|
|
37600
|
+
/**
|
|
37601
|
+
* Gets complete layout of notification channels.
|
|
37602
|
+
* @summary Get all notification channels layout
|
|
37603
|
+
* @param {*} [options] Override http request option.
|
|
37604
|
+
* @throws {RequiredError}
|
|
37605
|
+
*/
|
|
37606
|
+
getNotificationChannelsLayout(options) {
|
|
37607
|
+
return localVarFp
|
|
37608
|
+
.getNotificationChannelsLayout(options)
|
|
37609
|
+
.then((request) => request(axios, basePath));
|
|
37610
|
+
},
|
|
36964
37611
|
/**
|
|
36965
37612
|
*
|
|
36966
37613
|
* @summary Patch Notification Channel entity
|
|
@@ -36973,6 +37620,18 @@ export const NotificationChannelsApiFactory = function (configuration, basePath,
|
|
|
36973
37620
|
.patchEntityNotificationChannels(requestParameters.id, requestParameters.jsonApiNotificationChannelPatchDocument, requestParameters.filter, options)
|
|
36974
37621
|
.then((request) => request(axios, basePath));
|
|
36975
37622
|
},
|
|
37623
|
+
/**
|
|
37624
|
+
* Sets notification channels in organization.
|
|
37625
|
+
* @summary Set all notification channels
|
|
37626
|
+
* @param {NotificationChannelsApiSetNotificationChannelsRequest} requestParameters Request parameters.
|
|
37627
|
+
* @param {*} [options] Override http request option.
|
|
37628
|
+
* @throws {RequiredError}
|
|
37629
|
+
*/
|
|
37630
|
+
setNotificationChannels(requestParameters, options) {
|
|
37631
|
+
return localVarFp
|
|
37632
|
+
.setNotificationChannels(requestParameters.declarativeNotificationChannels, options)
|
|
37633
|
+
.then((request) => request(axios, basePath));
|
|
37634
|
+
},
|
|
36976
37635
|
/**
|
|
36977
37636
|
*
|
|
36978
37637
|
* @summary Put Notification Channel entity
|
|
@@ -37046,6 +37705,18 @@ export class NotificationChannelsApi extends BaseAPI {
|
|
|
37046
37705
|
.getEntityNotificationChannels(requestParameters.id, requestParameters.filter, options)
|
|
37047
37706
|
.then((request) => request(this.axios, this.basePath));
|
|
37048
37707
|
}
|
|
37708
|
+
/**
|
|
37709
|
+
* Gets complete layout of notification channels.
|
|
37710
|
+
* @summary Get all notification channels layout
|
|
37711
|
+
* @param {*} [options] Override http request option.
|
|
37712
|
+
* @throws {RequiredError}
|
|
37713
|
+
* @memberof NotificationChannelsApi
|
|
37714
|
+
*/
|
|
37715
|
+
getNotificationChannelsLayout(options) {
|
|
37716
|
+
return NotificationChannelsApiFp(this.configuration)
|
|
37717
|
+
.getNotificationChannelsLayout(options)
|
|
37718
|
+
.then((request) => request(this.axios, this.basePath));
|
|
37719
|
+
}
|
|
37049
37720
|
/**
|
|
37050
37721
|
*
|
|
37051
37722
|
* @summary Patch Notification Channel entity
|
|
@@ -37059,6 +37730,19 @@ export class NotificationChannelsApi extends BaseAPI {
|
|
|
37059
37730
|
.patchEntityNotificationChannels(requestParameters.id, requestParameters.jsonApiNotificationChannelPatchDocument, requestParameters.filter, options)
|
|
37060
37731
|
.then((request) => request(this.axios, this.basePath));
|
|
37061
37732
|
}
|
|
37733
|
+
/**
|
|
37734
|
+
* Sets notification channels in organization.
|
|
37735
|
+
* @summary Set all notification channels
|
|
37736
|
+
* @param {NotificationChannelsApiSetNotificationChannelsRequest} requestParameters Request parameters.
|
|
37737
|
+
* @param {*} [options] Override http request option.
|
|
37738
|
+
* @throws {RequiredError}
|
|
37739
|
+
* @memberof NotificationChannelsApi
|
|
37740
|
+
*/
|
|
37741
|
+
setNotificationChannels(requestParameters, options) {
|
|
37742
|
+
return NotificationChannelsApiFp(this.configuration)
|
|
37743
|
+
.setNotificationChannels(requestParameters.declarativeNotificationChannels, options)
|
|
37744
|
+
.then((request) => request(this.axios, this.basePath));
|
|
37745
|
+
}
|
|
37062
37746
|
/**
|
|
37063
37747
|
*
|
|
37064
37748
|
* @summary Put Notification Channel entity
|