@gooddata/api-client-tiger 10.15.0-alpha.15 → 10.15.0-alpha.16

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.
@@ -256,6 +256,7 @@ export const DeclarativeNotificationChannelDestinationTypeEnum = {
256
256
  WEBHOOK: "WEBHOOK",
257
257
  SMTP: "SMTP",
258
258
  DEFAULT_SMTP: "DEFAULT_SMTP",
259
+ IN_PLATFORM: "IN_PLATFORM",
259
260
  };
260
261
  export const DeclarativeNotificationChannelAllowedRecipientsEnum = {
261
262
  CREATOR: "CREATOR",
@@ -456,6 +457,12 @@ export const IdentifierDuplicationsTypeEnum = {
456
457
  WORKSPACE_DATA_FILTER: "workspaceDataFilter",
457
458
  WORKSPACE_DATA_FILTER_SETTINGS: "workspaceDataFilterSettings",
458
459
  };
460
+ export const InPlatformTypeEnum = {
461
+ IN_PLATFORM: "IN_PLATFORM",
462
+ };
463
+ export const InPlatformAllOfTypeEnum = {
464
+ IN_PLATFORM: "IN_PLATFORM",
465
+ };
459
466
  export const JsonApiAnalyticalDashboardInTypeEnum = {
460
467
  ANALYTICAL_DASHBOARD: "analyticalDashboard",
461
468
  };
@@ -663,10 +670,6 @@ export const JsonApiDataSourceIdentifierOutAttributesTypeEnum = {
663
670
  MOTHERDUCK: "MOTHERDUCK",
664
671
  FLIGHTRPC: "FLIGHTRPC",
665
672
  };
666
- export const JsonApiDataSourceIdentifierOutMetaPermissionsEnum = {
667
- MANAGE: "MANAGE",
668
- USE: "USE",
669
- };
670
673
  export const JsonApiDataSourceIdentifierOutWithLinksTypeEnum = {
671
674
  DATA_SOURCE_IDENTIFIER: "dataSourceIdentifier",
672
675
  };
@@ -739,6 +742,10 @@ export const JsonApiDataSourceOutAttributesAuthenticationTypeEnum = {
739
742
  TOKEN: "TOKEN",
740
743
  KEY_PAIR: "KEY_PAIR",
741
744
  };
745
+ export const JsonApiDataSourceOutMetaPermissionsEnum = {
746
+ MANAGE: "MANAGE",
747
+ USE: "USE",
748
+ };
742
749
  export const JsonApiDataSourceOutWithLinksTypeEnum = {
743
750
  DATA_SOURCE: "dataSource",
744
751
  };
@@ -896,20 +903,12 @@ export const JsonApiIdentityProviderInTypeEnum = {
896
903
  export const JsonApiIdentityProviderOutTypeEnum = {
897
904
  IDENTITY_PROVIDER: "identityProvider",
898
905
  };
899
- export const JsonApiIdentityProviderOutAttributesTypeEnum = {
900
- SAML: "SAML",
901
- OIDC: "OIDC",
902
- };
903
906
  export const JsonApiIdentityProviderOutWithLinksTypeEnum = {
904
907
  IDENTITY_PROVIDER: "identityProvider",
905
908
  };
906
909
  export const JsonApiIdentityProviderPatchTypeEnum = {
907
910
  IDENTITY_PROVIDER: "identityProvider",
908
911
  };
909
- export const JsonApiIdentityProviderPatchAttributesTypeEnum = {
910
- SAML: "SAML",
911
- OIDC: "OIDC",
912
- };
913
912
  export const JsonApiJwkInTypeEnum = {
914
913
  JWK: "jwk",
915
914
  };
@@ -1000,6 +999,7 @@ export const JsonApiNotificationChannelOutAttributesDestinationTypeEnum = {
1000
999
  WEBHOOK: "WEBHOOK",
1001
1000
  SMTP: "SMTP",
1002
1001
  DEFAULT_SMTP: "DEFAULT_SMTP",
1002
+ IN_PLATFORM: "IN_PLATFORM",
1003
1003
  };
1004
1004
  export const JsonApiNotificationChannelOutAttributesAllowedRecipientsEnum = {
1005
1005
  CREATOR: "CREATOR",
@@ -1037,24 +1037,6 @@ export const JsonApiOrganizationSettingInTypeEnum = {
1037
1037
  export const JsonApiOrganizationSettingOutTypeEnum = {
1038
1038
  ORGANIZATION_SETTING: "organizationSetting",
1039
1039
  };
1040
- export const JsonApiOrganizationSettingOutAttributesTypeEnum = {
1041
- TIMEZONE: "TIMEZONE",
1042
- ACTIVE_THEME: "ACTIVE_THEME",
1043
- ACTIVE_COLOR_PALETTE: "ACTIVE_COLOR_PALETTE",
1044
- WHITE_LABELING: "WHITE_LABELING",
1045
- LOCALE: "LOCALE",
1046
- METADATA_LOCALE: "METADATA_LOCALE",
1047
- FORMAT_LOCALE: "FORMAT_LOCALE",
1048
- MAPBOX_TOKEN: "MAPBOX_TOKEN",
1049
- WEEK_START: "WEEK_START",
1050
- SHOW_HIDDEN_CATALOG_ITEMS: "SHOW_HIDDEN_CATALOG_ITEMS",
1051
- OPERATOR_OVERRIDES: "OPERATOR_OVERRIDES",
1052
- TIMEZONE_VALIDATION_ENABLED: "TIMEZONE_VALIDATION_ENABLED",
1053
- OPENAI_CONFIG: "OPENAI_CONFIG",
1054
- ENABLE_FILE_ANALYTICS: "ENABLE_FILE_ANALYTICS",
1055
- ALERT: "ALERT",
1056
- SEPARATORS: "SEPARATORS",
1057
- };
1058
1040
  export const JsonApiOrganizationSettingOutWithLinksTypeEnum = {
1059
1041
  ORGANIZATION_SETTING: "organizationSetting",
1060
1042
  };
@@ -1219,6 +1201,24 @@ export const JsonApiWorkspaceSettingInTypeEnum = {
1219
1201
  export const JsonApiWorkspaceSettingOutTypeEnum = {
1220
1202
  WORKSPACE_SETTING: "workspaceSetting",
1221
1203
  };
1204
+ export const JsonApiWorkspaceSettingOutAttributesTypeEnum = {
1205
+ TIMEZONE: "TIMEZONE",
1206
+ ACTIVE_THEME: "ACTIVE_THEME",
1207
+ ACTIVE_COLOR_PALETTE: "ACTIVE_COLOR_PALETTE",
1208
+ WHITE_LABELING: "WHITE_LABELING",
1209
+ LOCALE: "LOCALE",
1210
+ METADATA_LOCALE: "METADATA_LOCALE",
1211
+ FORMAT_LOCALE: "FORMAT_LOCALE",
1212
+ MAPBOX_TOKEN: "MAPBOX_TOKEN",
1213
+ WEEK_START: "WEEK_START",
1214
+ SHOW_HIDDEN_CATALOG_ITEMS: "SHOW_HIDDEN_CATALOG_ITEMS",
1215
+ OPERATOR_OVERRIDES: "OPERATOR_OVERRIDES",
1216
+ TIMEZONE_VALIDATION_ENABLED: "TIMEZONE_VALIDATION_ENABLED",
1217
+ OPENAI_CONFIG: "OPENAI_CONFIG",
1218
+ ENABLE_FILE_ANALYTICS: "ENABLE_FILE_ANALYTICS",
1219
+ ALERT: "ALERT",
1220
+ SEPARATORS: "SEPARATORS",
1221
+ };
1222
1222
  export const JsonApiWorkspaceSettingOutWithLinksTypeEnum = {
1223
1223
  WORKSPACE_SETTING: "workspaceSetting",
1224
1224
  };
@@ -31186,6 +31186,35 @@ export const IdentityProvidersApiAxiosParamCreator = function (configuration) {
31186
31186
  options: localVarRequestOptions,
31187
31187
  };
31188
31188
  },
31189
+ /**
31190
+ * Gets complete layout of identity providers.
31191
+ * @summary Get all identity providers layout
31192
+ * @param {*} [options] Override http request option.
31193
+ * @throws {RequiredError}
31194
+ */
31195
+ getIdentityProvidersLayout: async (options = {}) => {
31196
+ const localVarPath = `/api/v1/layout/identityProviders`;
31197
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
31198
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31199
+ let baseOptions;
31200
+ if (configuration) {
31201
+ baseOptions = configuration.baseOptions;
31202
+ }
31203
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
31204
+ const localVarHeaderParameter = {};
31205
+ const localVarQueryParameter = {};
31206
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
31207
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31208
+ localVarRequestOptions.headers = {
31209
+ ...localVarHeaderParameter,
31210
+ ...headersFromBaseOptions,
31211
+ ...options.headers,
31212
+ };
31213
+ return {
31214
+ url: toPathString(localVarUrlObj),
31215
+ options: localVarRequestOptions,
31216
+ };
31217
+ },
31189
31218
  /**
31190
31219
  *
31191
31220
  * @summary Patch Identity Provider
@@ -31233,6 +31262,44 @@ export const IdentityProvidersApiAxiosParamCreator = function (configuration) {
31233
31262
  options: localVarRequestOptions,
31234
31263
  };
31235
31264
  },
31265
+ /**
31266
+ * Sets identity providers in organization.
31267
+ * @summary Set all identity providers
31268
+ * @param {Array<DeclarativeIdentityProvider>} declarativeIdentityProvider
31269
+ * @param {*} [options] Override http request option.
31270
+ * @throws {RequiredError}
31271
+ */
31272
+ setIdentityProviders: async (declarativeIdentityProvider, options = {}) => {
31273
+ // verify required parameter 'declarativeIdentityProvider' is not null or undefined
31274
+ assertParamExists("setIdentityProviders", "declarativeIdentityProvider", declarativeIdentityProvider);
31275
+ const localVarPath = `/api/v1/layout/identityProviders`;
31276
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
31277
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31278
+ let baseOptions;
31279
+ if (configuration) {
31280
+ baseOptions = configuration.baseOptions;
31281
+ }
31282
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
31283
+ const localVarHeaderParameter = {};
31284
+ const localVarQueryParameter = {};
31285
+ localVarHeaderParameter["Content-Type"] = "application/json";
31286
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
31287
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31288
+ localVarRequestOptions.headers = {
31289
+ ...localVarHeaderParameter,
31290
+ ...headersFromBaseOptions,
31291
+ ...options.headers,
31292
+ };
31293
+ const needsSerialization = typeof declarativeIdentityProvider !== "string" ||
31294
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
31295
+ localVarRequestOptions.data = needsSerialization
31296
+ ? JSON.stringify(declarativeIdentityProvider !== undefined ? declarativeIdentityProvider : {})
31297
+ : declarativeIdentityProvider || "";
31298
+ return {
31299
+ url: toPathString(localVarUrlObj),
31300
+ options: localVarRequestOptions,
31301
+ };
31302
+ },
31236
31303
  /**
31237
31304
  *
31238
31305
  * @summary Put Identity Provider
@@ -31339,6 +31406,16 @@ export const IdentityProvidersApiFp = function (configuration) {
31339
31406
  const localVarAxiosArgs = await localVarAxiosParamCreator.getEntityIdentityProviders(id, filter, options);
31340
31407
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
31341
31408
  },
31409
+ /**
31410
+ * Gets complete layout of identity providers.
31411
+ * @summary Get all identity providers layout
31412
+ * @param {*} [options] Override http request option.
31413
+ * @throws {RequiredError}
31414
+ */
31415
+ async getIdentityProvidersLayout(options) {
31416
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getIdentityProvidersLayout(options);
31417
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
31418
+ },
31342
31419
  /**
31343
31420
  *
31344
31421
  * @summary Patch Identity Provider
@@ -31352,6 +31429,17 @@ export const IdentityProvidersApiFp = function (configuration) {
31352
31429
  const localVarAxiosArgs = await localVarAxiosParamCreator.patchEntityIdentityProviders(id, jsonApiIdentityProviderPatchDocument, filter, options);
31353
31430
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
31354
31431
  },
31432
+ /**
31433
+ * Sets identity providers in organization.
31434
+ * @summary Set all identity providers
31435
+ * @param {Array<DeclarativeIdentityProvider>} declarativeIdentityProvider
31436
+ * @param {*} [options] Override http request option.
31437
+ * @throws {RequiredError}
31438
+ */
31439
+ async setIdentityProviders(declarativeIdentityProvider, options) {
31440
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setIdentityProviders(declarativeIdentityProvider, options);
31441
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
31442
+ },
31355
31443
  /**
31356
31444
  *
31357
31445
  * @summary Put Identity Provider
@@ -31422,6 +31510,15 @@ export const IdentityProvidersApiFactory = function (configuration, basePath, ax
31422
31510
  .getEntityIdentityProviders(requestParameters.id, requestParameters.filter, options)
31423
31511
  .then((request) => request(axios, basePath));
31424
31512
  },
31513
+ /**
31514
+ * Gets complete layout of identity providers.
31515
+ * @summary Get all identity providers layout
31516
+ * @param {*} [options] Override http request option.
31517
+ * @throws {RequiredError}
31518
+ */
31519
+ getIdentityProvidersLayout(options) {
31520
+ return localVarFp.getIdentityProvidersLayout(options).then((request) => request(axios, basePath));
31521
+ },
31425
31522
  /**
31426
31523
  *
31427
31524
  * @summary Patch Identity Provider
@@ -31434,6 +31531,18 @@ export const IdentityProvidersApiFactory = function (configuration, basePath, ax
31434
31531
  .patchEntityIdentityProviders(requestParameters.id, requestParameters.jsonApiIdentityProviderPatchDocument, requestParameters.filter, options)
31435
31532
  .then((request) => request(axios, basePath));
31436
31533
  },
31534
+ /**
31535
+ * Sets identity providers in organization.
31536
+ * @summary Set all identity providers
31537
+ * @param {IdentityProvidersApiSetIdentityProvidersRequest} requestParameters Request parameters.
31538
+ * @param {*} [options] Override http request option.
31539
+ * @throws {RequiredError}
31540
+ */
31541
+ setIdentityProviders(requestParameters, options) {
31542
+ return localVarFp
31543
+ .setIdentityProviders(requestParameters.declarativeIdentityProvider, options)
31544
+ .then((request) => request(axios, basePath));
31545
+ },
31437
31546
  /**
31438
31547
  *
31439
31548
  * @summary Put Identity Provider
@@ -31507,6 +31616,18 @@ export class IdentityProvidersApi extends BaseAPI {
31507
31616
  .getEntityIdentityProviders(requestParameters.id, requestParameters.filter, options)
31508
31617
  .then((request) => request(this.axios, this.basePath));
31509
31618
  }
31619
+ /**
31620
+ * Gets complete layout of identity providers.
31621
+ * @summary Get all identity providers layout
31622
+ * @param {*} [options] Override http request option.
31623
+ * @throws {RequiredError}
31624
+ * @memberof IdentityProvidersApi
31625
+ */
31626
+ getIdentityProvidersLayout(options) {
31627
+ return IdentityProvidersApiFp(this.configuration)
31628
+ .getIdentityProvidersLayout(options)
31629
+ .then((request) => request(this.axios, this.basePath));
31630
+ }
31510
31631
  /**
31511
31632
  *
31512
31633
  * @summary Patch Identity Provider
@@ -31520,6 +31641,19 @@ export class IdentityProvidersApi extends BaseAPI {
31520
31641
  .patchEntityIdentityProviders(requestParameters.id, requestParameters.jsonApiIdentityProviderPatchDocument, requestParameters.filter, options)
31521
31642
  .then((request) => request(this.axios, this.basePath));
31522
31643
  }
31644
+ /**
31645
+ * Sets identity providers in organization.
31646
+ * @summary Set all identity providers
31647
+ * @param {IdentityProvidersApiSetIdentityProvidersRequest} requestParameters Request parameters.
31648
+ * @param {*} [options] Override http request option.
31649
+ * @throws {RequiredError}
31650
+ * @memberof IdentityProvidersApi
31651
+ */
31652
+ setIdentityProviders(requestParameters, options) {
31653
+ return IdentityProvidersApiFp(this.configuration)
31654
+ .setIdentityProviders(requestParameters.declarativeIdentityProvider, options)
31655
+ .then((request) => request(this.axios, this.basePath));
31656
+ }
31523
31657
  /**
31524
31658
  *
31525
31659
  * @summary Put Identity Provider
@@ -33247,111 +33381,13 @@ export const LayoutApiAxiosParamCreator = function (configuration) {
33247
33381
  };
33248
33382
  },
33249
33383
  /**
33250
- * Retrieve current logical model of the workspace in declarative form.
33251
- * @summary Get logical model
33252
- * @param {string} workspaceId
33253
- * @param {boolean} [includeParents]
33254
- * @param {*} [options] Override http request option.
33255
- * @throws {RequiredError}
33256
- */
33257
- getLogicalModel: async (workspaceId, includeParents, options = {}) => {
33258
- // verify required parameter 'workspaceId' is not null or undefined
33259
- assertParamExists("getLogicalModel", "workspaceId", workspaceId);
33260
- const localVarPath = `/api/v1/layout/workspaces/{workspaceId}/logicalModel`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
33261
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
33262
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33263
- let baseOptions;
33264
- if (configuration) {
33265
- baseOptions = configuration.baseOptions;
33266
- }
33267
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
33268
- const localVarHeaderParameter = {};
33269
- const localVarQueryParameter = {};
33270
- if (includeParents !== undefined) {
33271
- localVarQueryParameter["includeParents"] = includeParents;
33272
- }
33273
- setSearchParams(localVarUrlObj, localVarQueryParameter);
33274
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33275
- localVarRequestOptions.headers = {
33276
- ...localVarHeaderParameter,
33277
- ...headersFromBaseOptions,
33278
- ...options.headers,
33279
- };
33280
- return {
33281
- url: toPathString(localVarUrlObj),
33282
- options: localVarRequestOptions,
33283
- };
33284
- },
33285
- /**
33286
- * Gets complete layout of notification channels.
33287
- * @summary Get all notification channels layout
33288
- * @param {*} [options] Override http request option.
33289
- * @throws {RequiredError}
33290
- */
33291
- getNotificationChannelsLayout: async (options = {}) => {
33292
- const localVarPath = `/api/v1/layout/notificationChannels`;
33293
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
33294
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33295
- let baseOptions;
33296
- if (configuration) {
33297
- baseOptions = configuration.baseOptions;
33298
- }
33299
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
33300
- const localVarHeaderParameter = {};
33301
- const localVarQueryParameter = {};
33302
- setSearchParams(localVarUrlObj, localVarQueryParameter);
33303
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33304
- localVarRequestOptions.headers = {
33305
- ...localVarHeaderParameter,
33306
- ...headersFromBaseOptions,
33307
- ...options.headers,
33308
- };
33309
- return {
33310
- url: toPathString(localVarUrlObj),
33311
- options: localVarRequestOptions,
33312
- };
33313
- },
33314
- /**
33315
- * Retrieve complete layout of organization, workspaces, user-groups, etc.
33316
- * @summary Get organization layout
33317
- * @param {Array<'ACTIVITY_INFO'>} [exclude]
33318
- * @param {*} [options] Override http request option.
33319
- * @throws {RequiredError}
33320
- */
33321
- getOrganizationLayout: async (exclude, options = {}) => {
33322
- const localVarPath = `/api/v1/layout/organization`;
33323
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
33324
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33325
- let baseOptions;
33326
- if (configuration) {
33327
- baseOptions = configuration.baseOptions;
33328
- }
33329
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
33330
- const localVarHeaderParameter = {};
33331
- const localVarQueryParameter = {};
33332
- if (exclude) {
33333
- localVarQueryParameter["exclude"] = exclude;
33334
- }
33335
- setSearchParams(localVarUrlObj, localVarQueryParameter);
33336
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33337
- localVarRequestOptions.headers = {
33338
- ...localVarHeaderParameter,
33339
- ...headersFromBaseOptions,
33340
- ...options.headers,
33341
- };
33342
- return {
33343
- url: toPathString(localVarUrlObj),
33344
- options: localVarRequestOptions,
33345
- };
33346
- },
33347
- /**
33348
- * Retrieve organization permissions
33349
- * @summary Get organization permissions
33384
+ * Gets complete layout of identity providers.
33385
+ * @summary Get all identity providers layout
33350
33386
  * @param {*} [options] Override http request option.
33351
33387
  * @throws {RequiredError}
33352
33388
  */
33353
- getOrganizationPermissions: async (options = {}) => {
33354
- const localVarPath = `/api/v1/layout/organization/permissions`;
33389
+ getIdentityProvidersLayout: async (options = {}) => {
33390
+ const localVarPath = `/api/v1/layout/identityProviders`;
33355
33391
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
33356
33392
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33357
33393
  let baseOptions;
@@ -33374,16 +33410,17 @@ export const LayoutApiAxiosParamCreator = function (configuration) {
33374
33410
  };
33375
33411
  },
33376
33412
  /**
33377
- * Retrieve current user data filters assigned to the workspace.
33378
- * @summary Get user data filters
33413
+ * Retrieve current logical model of the workspace in declarative form.
33414
+ * @summary Get logical model
33379
33415
  * @param {string} workspaceId
33416
+ * @param {boolean} [includeParents]
33380
33417
  * @param {*} [options] Override http request option.
33381
33418
  * @throws {RequiredError}
33382
33419
  */
33383
- getUserDataFilters: async (workspaceId, options = {}) => {
33420
+ getLogicalModel: async (workspaceId, includeParents, options = {}) => {
33384
33421
  // verify required parameter 'workspaceId' is not null or undefined
33385
- assertParamExists("getUserDataFilters", "workspaceId", workspaceId);
33386
- const localVarPath = `/api/v1/layout/workspaces/{workspaceId}/userDataFilters`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
33422
+ assertParamExists("getLogicalModel", "workspaceId", workspaceId);
33423
+ const localVarPath = `/api/v1/layout/workspaces/{workspaceId}/logicalModel`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
33387
33424
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
33388
33425
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33389
33426
  let baseOptions;
@@ -33393,6 +33430,9 @@ export const LayoutApiAxiosParamCreator = function (configuration) {
33393
33430
  const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
33394
33431
  const localVarHeaderParameter = {};
33395
33432
  const localVarQueryParameter = {};
33433
+ if (includeParents !== undefined) {
33434
+ localVarQueryParameter["includeParents"] = includeParents;
33435
+ }
33396
33436
  setSearchParams(localVarUrlObj, localVarQueryParameter);
33397
33437
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33398
33438
  localVarRequestOptions.headers = {
@@ -33406,16 +33446,139 @@ export const LayoutApiAxiosParamCreator = function (configuration) {
33406
33446
  };
33407
33447
  },
33408
33448
  /**
33409
- * Retrieve current set of permissions of the user-group in a declarative form.
33410
- * @summary Get permissions for the user-group
33411
- * @param {string} userGroupId
33449
+ * Gets complete layout of notification channels.
33450
+ * @summary Get all notification channels layout
33412
33451
  * @param {*} [options] Override http request option.
33413
33452
  * @throws {RequiredError}
33414
33453
  */
33415
- getUserGroupPermissions: async (userGroupId, options = {}) => {
33416
- // verify required parameter 'userGroupId' is not null or undefined
33417
- assertParamExists("getUserGroupPermissions", "userGroupId", userGroupId);
33418
- const localVarPath = `/api/v1/layout/userGroups/{userGroupId}/permissions`.replace(`{${"userGroupId"}}`, encodeURIComponent(String(userGroupId)));
33454
+ getNotificationChannelsLayout: async (options = {}) => {
33455
+ const localVarPath = `/api/v1/layout/notificationChannels`;
33456
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33457
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33458
+ let baseOptions;
33459
+ if (configuration) {
33460
+ baseOptions = configuration.baseOptions;
33461
+ }
33462
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
33463
+ const localVarHeaderParameter = {};
33464
+ const localVarQueryParameter = {};
33465
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33466
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33467
+ localVarRequestOptions.headers = {
33468
+ ...localVarHeaderParameter,
33469
+ ...headersFromBaseOptions,
33470
+ ...options.headers,
33471
+ };
33472
+ return {
33473
+ url: toPathString(localVarUrlObj),
33474
+ options: localVarRequestOptions,
33475
+ };
33476
+ },
33477
+ /**
33478
+ * Retrieve complete layout of organization, workspaces, user-groups, etc.
33479
+ * @summary Get organization layout
33480
+ * @param {Array<'ACTIVITY_INFO'>} [exclude]
33481
+ * @param {*} [options] Override http request option.
33482
+ * @throws {RequiredError}
33483
+ */
33484
+ getOrganizationLayout: async (exclude, options = {}) => {
33485
+ const localVarPath = `/api/v1/layout/organization`;
33486
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33487
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33488
+ let baseOptions;
33489
+ if (configuration) {
33490
+ baseOptions = configuration.baseOptions;
33491
+ }
33492
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
33493
+ const localVarHeaderParameter = {};
33494
+ const localVarQueryParameter = {};
33495
+ if (exclude) {
33496
+ localVarQueryParameter["exclude"] = exclude;
33497
+ }
33498
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33499
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33500
+ localVarRequestOptions.headers = {
33501
+ ...localVarHeaderParameter,
33502
+ ...headersFromBaseOptions,
33503
+ ...options.headers,
33504
+ };
33505
+ return {
33506
+ url: toPathString(localVarUrlObj),
33507
+ options: localVarRequestOptions,
33508
+ };
33509
+ },
33510
+ /**
33511
+ * Retrieve organization permissions
33512
+ * @summary Get organization permissions
33513
+ * @param {*} [options] Override http request option.
33514
+ * @throws {RequiredError}
33515
+ */
33516
+ getOrganizationPermissions: async (options = {}) => {
33517
+ const localVarPath = `/api/v1/layout/organization/permissions`;
33518
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33519
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33520
+ let baseOptions;
33521
+ if (configuration) {
33522
+ baseOptions = configuration.baseOptions;
33523
+ }
33524
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
33525
+ const localVarHeaderParameter = {};
33526
+ const localVarQueryParameter = {};
33527
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33528
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33529
+ localVarRequestOptions.headers = {
33530
+ ...localVarHeaderParameter,
33531
+ ...headersFromBaseOptions,
33532
+ ...options.headers,
33533
+ };
33534
+ return {
33535
+ url: toPathString(localVarUrlObj),
33536
+ options: localVarRequestOptions,
33537
+ };
33538
+ },
33539
+ /**
33540
+ * Retrieve current user data filters assigned to the workspace.
33541
+ * @summary Get user data filters
33542
+ * @param {string} workspaceId
33543
+ * @param {*} [options] Override http request option.
33544
+ * @throws {RequiredError}
33545
+ */
33546
+ getUserDataFilters: async (workspaceId, options = {}) => {
33547
+ // verify required parameter 'workspaceId' is not null or undefined
33548
+ assertParamExists("getUserDataFilters", "workspaceId", workspaceId);
33549
+ const localVarPath = `/api/v1/layout/workspaces/{workspaceId}/userDataFilters`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
33550
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33551
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33552
+ let baseOptions;
33553
+ if (configuration) {
33554
+ baseOptions = configuration.baseOptions;
33555
+ }
33556
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
33557
+ const localVarHeaderParameter = {};
33558
+ const localVarQueryParameter = {};
33559
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33560
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33561
+ localVarRequestOptions.headers = {
33562
+ ...localVarHeaderParameter,
33563
+ ...headersFromBaseOptions,
33564
+ ...options.headers,
33565
+ };
33566
+ return {
33567
+ url: toPathString(localVarUrlObj),
33568
+ options: localVarRequestOptions,
33569
+ };
33570
+ },
33571
+ /**
33572
+ * Retrieve current set of permissions of the user-group in a declarative form.
33573
+ * @summary Get permissions for the user-group
33574
+ * @param {string} userGroupId
33575
+ * @param {*} [options] Override http request option.
33576
+ * @throws {RequiredError}
33577
+ */
33578
+ getUserGroupPermissions: async (userGroupId, options = {}) => {
33579
+ // verify required parameter 'userGroupId' is not null or undefined
33580
+ assertParamExists("getUserGroupPermissions", "userGroupId", userGroupId);
33581
+ const localVarPath = `/api/v1/layout/userGroups/{userGroupId}/permissions`.replace(`{${"userGroupId"}}`, encodeURIComponent(String(userGroupId)));
33419
33582
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
33420
33583
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33421
33584
  let baseOptions;
@@ -33962,7 +34125,7 @@ export const LayoutApiAxiosParamCreator = function (configuration) {
33962
34125
  };
33963
34126
  },
33964
34127
  /**
33965
- * et data source permissions.
34128
+ * set data source permissions.
33966
34129
  * @summary Set data source permissions.
33967
34130
  * @param {string} dataSourceId
33968
34131
  * @param {DeclarativeDataSourcePermissions} declarativeDataSourcePermissions
@@ -34043,6 +34206,44 @@ export const LayoutApiAxiosParamCreator = function (configuration) {
34043
34206
  options: localVarRequestOptions,
34044
34207
  };
34045
34208
  },
34209
+ /**
34210
+ * Sets identity providers in organization.
34211
+ * @summary Set all identity providers
34212
+ * @param {Array<DeclarativeIdentityProvider>} declarativeIdentityProvider
34213
+ * @param {*} [options] Override http request option.
34214
+ * @throws {RequiredError}
34215
+ */
34216
+ setIdentityProviders: async (declarativeIdentityProvider, options = {}) => {
34217
+ // verify required parameter 'declarativeIdentityProvider' is not null or undefined
34218
+ assertParamExists("setIdentityProviders", "declarativeIdentityProvider", declarativeIdentityProvider);
34219
+ const localVarPath = `/api/v1/layout/identityProviders`;
34220
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
34221
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
34222
+ let baseOptions;
34223
+ if (configuration) {
34224
+ baseOptions = configuration.baseOptions;
34225
+ }
34226
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
34227
+ const localVarHeaderParameter = {};
34228
+ const localVarQueryParameter = {};
34229
+ localVarHeaderParameter["Content-Type"] = "application/json";
34230
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
34231
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
34232
+ localVarRequestOptions.headers = {
34233
+ ...localVarHeaderParameter,
34234
+ ...headersFromBaseOptions,
34235
+ ...options.headers,
34236
+ };
34237
+ const needsSerialization = typeof declarativeIdentityProvider !== "string" ||
34238
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
34239
+ localVarRequestOptions.data = needsSerialization
34240
+ ? JSON.stringify(declarativeIdentityProvider !== undefined ? declarativeIdentityProvider : {})
34241
+ : declarativeIdentityProvider || "";
34242
+ return {
34243
+ url: toPathString(localVarUrlObj),
34244
+ options: localVarRequestOptions,
34245
+ };
34246
+ },
34046
34247
  /**
34047
34248
  * Set effective logical model of the workspace.
34048
34249
  * @summary Set logical model
@@ -34506,6 +34707,16 @@ export const LayoutApiFp = function (configuration) {
34506
34707
  const localVarAxiosArgs = await localVarAxiosParamCreator.getFilterViews(workspaceId, exclude, options);
34507
34708
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34508
34709
  },
34710
+ /**
34711
+ * Gets complete layout of identity providers.
34712
+ * @summary Get all identity providers layout
34713
+ * @param {*} [options] Override http request option.
34714
+ * @throws {RequiredError}
34715
+ */
34716
+ async getIdentityProvidersLayout(options) {
34717
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getIdentityProvidersLayout(options);
34718
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34719
+ },
34509
34720
  /**
34510
34721
  * Retrieve current logical model of the workspace in declarative form.
34511
34722
  * @summary Get logical model
@@ -34737,7 +34948,7 @@ export const LayoutApiFp = function (configuration) {
34737
34948
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34738
34949
  },
34739
34950
  /**
34740
- * et data source permissions.
34951
+ * set data source permissions.
34741
34952
  * @summary Set data source permissions.
34742
34953
  * @param {string} dataSourceId
34743
34954
  * @param {DeclarativeDataSourcePermissions} declarativeDataSourcePermissions
@@ -34760,6 +34971,17 @@ export const LayoutApiFp = function (configuration) {
34760
34971
  const localVarAxiosArgs = await localVarAxiosParamCreator.setFilterViews(workspaceId, declarativeFilterView, options);
34761
34972
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34762
34973
  },
34974
+ /**
34975
+ * Sets identity providers in organization.
34976
+ * @summary Set all identity providers
34977
+ * @param {Array<DeclarativeIdentityProvider>} declarativeIdentityProvider
34978
+ * @param {*} [options] Override http request option.
34979
+ * @throws {RequiredError}
34980
+ */
34981
+ async setIdentityProviders(declarativeIdentityProvider, options) {
34982
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setIdentityProviders(declarativeIdentityProvider, options);
34983
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34984
+ },
34763
34985
  /**
34764
34986
  * Set effective logical model of the workspace.
34765
34987
  * @summary Set logical model
@@ -34941,6 +35163,15 @@ export const LayoutApiFactory = function (configuration, basePath, axios) {
34941
35163
  .getFilterViews(requestParameters.workspaceId, requestParameters.exclude, options)
34942
35164
  .then((request) => request(axios, basePath));
34943
35165
  },
35166
+ /**
35167
+ * Gets complete layout of identity providers.
35168
+ * @summary Get all identity providers layout
35169
+ * @param {*} [options] Override http request option.
35170
+ * @throws {RequiredError}
35171
+ */
35172
+ getIdentityProvidersLayout(options) {
35173
+ return localVarFp.getIdentityProvidersLayout(options).then((request) => request(axios, basePath));
35174
+ },
34944
35175
  /**
34945
35176
  * Retrieve current logical model of the workspace in declarative form.
34946
35177
  * @summary Get logical model
@@ -35180,7 +35411,7 @@ export const LayoutApiFactory = function (configuration, basePath, axios) {
35180
35411
  .then((request) => request(axios, basePath));
35181
35412
  },
35182
35413
  /**
35183
- * et data source permissions.
35414
+ * set data source permissions.
35184
35415
  * @summary Set data source permissions.
35185
35416
  * @param {LayoutApiSetDataSourcePermissionsRequest} requestParameters Request parameters.
35186
35417
  * @param {*} [options] Override http request option.
@@ -35203,6 +35434,18 @@ export const LayoutApiFactory = function (configuration, basePath, axios) {
35203
35434
  .setFilterViews(requestParameters.workspaceId, requestParameters.declarativeFilterView, options)
35204
35435
  .then((request) => request(axios, basePath));
35205
35436
  },
35437
+ /**
35438
+ * Sets identity providers in organization.
35439
+ * @summary Set all identity providers
35440
+ * @param {LayoutApiSetIdentityProvidersRequest} requestParameters Request parameters.
35441
+ * @param {*} [options] Override http request option.
35442
+ * @throws {RequiredError}
35443
+ */
35444
+ setIdentityProviders(requestParameters, options) {
35445
+ return localVarFp
35446
+ .setIdentityProviders(requestParameters.declarativeIdentityProvider, options)
35447
+ .then((request) => request(axios, basePath));
35448
+ },
35206
35449
  /**
35207
35450
  * Set effective logical model of the workspace.
35208
35451
  * @summary Set logical model
@@ -35396,6 +35639,18 @@ export class LayoutApi extends BaseAPI {
35396
35639
  .getFilterViews(requestParameters.workspaceId, requestParameters.exclude, options)
35397
35640
  .then((request) => request(this.axios, this.basePath));
35398
35641
  }
35642
+ /**
35643
+ * Gets complete layout of identity providers.
35644
+ * @summary Get all identity providers layout
35645
+ * @param {*} [options] Override http request option.
35646
+ * @throws {RequiredError}
35647
+ * @memberof LayoutApi
35648
+ */
35649
+ getIdentityProvidersLayout(options) {
35650
+ return LayoutApiFp(this.configuration)
35651
+ .getIdentityProvidersLayout(options)
35652
+ .then((request) => request(this.axios, this.basePath));
35653
+ }
35399
35654
  /**
35400
35655
  * Retrieve current logical model of the workspace in declarative form.
35401
35656
  * @summary Get logical model
@@ -35664,7 +35919,7 @@ export class LayoutApi extends BaseAPI {
35664
35919
  .then((request) => request(this.axios, this.basePath));
35665
35920
  }
35666
35921
  /**
35667
- * et data source permissions.
35922
+ * set data source permissions.
35668
35923
  * @summary Set data source permissions.
35669
35924
  * @param {LayoutApiSetDataSourcePermissionsRequest} requestParameters Request parameters.
35670
35925
  * @param {*} [options] Override http request option.
@@ -35689,6 +35944,19 @@ export class LayoutApi extends BaseAPI {
35689
35944
  .setFilterViews(requestParameters.workspaceId, requestParameters.declarativeFilterView, options)
35690
35945
  .then((request) => request(this.axios, this.basePath));
35691
35946
  }
35947
+ /**
35948
+ * Sets identity providers in organization.
35949
+ * @summary Set all identity providers
35950
+ * @param {LayoutApiSetIdentityProvidersRequest} requestParameters Request parameters.
35951
+ * @param {*} [options] Override http request option.
35952
+ * @throws {RequiredError}
35953
+ * @memberof LayoutApi
35954
+ */
35955
+ setIdentityProviders(requestParameters, options) {
35956
+ return LayoutApiFp(this.configuration)
35957
+ .setIdentityProviders(requestParameters.declarativeIdentityProvider, options)
35958
+ .then((request) => request(this.axios, this.basePath));
35959
+ }
35692
35960
  /**
35693
35961
  * Set effective logical model of the workspace.
35694
35962
  * @summary Set logical model
@@ -35820,6 +36088,264 @@ export class LayoutApi extends BaseAPI {
35820
36088
  .then((request) => request(this.axios, this.basePath));
35821
36089
  }
35822
36090
  }
36091
+ /**
36092
+ * ManagePermissionsApi - axios parameter creator
36093
+ * @export
36094
+ */
36095
+ export const ManagePermissionsApiAxiosParamCreator = function (configuration) {
36096
+ return {
36097
+ /**
36098
+ * Retrieve current set of permissions of the data source in a declarative form.
36099
+ * @summary Get permissions for the data source
36100
+ * @param {string} dataSourceId
36101
+ * @param {*} [options] Override http request option.
36102
+ * @throws {RequiredError}
36103
+ */
36104
+ getDataSourcePermissions: async (dataSourceId, options = {}) => {
36105
+ // verify required parameter 'dataSourceId' is not null or undefined
36106
+ assertParamExists("getDataSourcePermissions", "dataSourceId", dataSourceId);
36107
+ const localVarPath = `/api/v1/layout/dataSources/{dataSourceId}/permissions`.replace(`{${"dataSourceId"}}`, encodeURIComponent(String(dataSourceId)));
36108
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36109
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36110
+ let baseOptions;
36111
+ if (configuration) {
36112
+ baseOptions = configuration.baseOptions;
36113
+ }
36114
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
36115
+ const localVarHeaderParameter = {};
36116
+ const localVarQueryParameter = {};
36117
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36118
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36119
+ localVarRequestOptions.headers = {
36120
+ ...localVarHeaderParameter,
36121
+ ...headersFromBaseOptions,
36122
+ ...options.headers,
36123
+ };
36124
+ return {
36125
+ url: toPathString(localVarUrlObj),
36126
+ options: localVarRequestOptions,
36127
+ };
36128
+ },
36129
+ /**
36130
+ * Manage Permissions for a Data Source
36131
+ * @summary Manage Permissions for a Data Source
36132
+ * @param {string} dataSourceId
36133
+ * @param {Array<DataSourcePermissionAssignment>} dataSourcePermissionAssignment
36134
+ * @param {*} [options] Override http request option.
36135
+ * @throws {RequiredError}
36136
+ */
36137
+ manageDataSourcePermissions: async (dataSourceId, dataSourcePermissionAssignment, options = {}) => {
36138
+ // verify required parameter 'dataSourceId' is not null or undefined
36139
+ assertParamExists("manageDataSourcePermissions", "dataSourceId", dataSourceId);
36140
+ // verify required parameter 'dataSourcePermissionAssignment' is not null or undefined
36141
+ assertParamExists("manageDataSourcePermissions", "dataSourcePermissionAssignment", dataSourcePermissionAssignment);
36142
+ const localVarPath = `/api/v1/actions/dataSources/{dataSourceId}/managePermissions`.replace(`{${"dataSourceId"}}`, encodeURIComponent(String(dataSourceId)));
36143
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36144
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36145
+ let baseOptions;
36146
+ if (configuration) {
36147
+ baseOptions = configuration.baseOptions;
36148
+ }
36149
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
36150
+ const localVarHeaderParameter = {};
36151
+ const localVarQueryParameter = {};
36152
+ localVarHeaderParameter["Content-Type"] = "application/json";
36153
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36154
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36155
+ localVarRequestOptions.headers = {
36156
+ ...localVarHeaderParameter,
36157
+ ...headersFromBaseOptions,
36158
+ ...options.headers,
36159
+ };
36160
+ const needsSerialization = typeof dataSourcePermissionAssignment !== "string" ||
36161
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
36162
+ localVarRequestOptions.data = needsSerialization
36163
+ ? JSON.stringify(dataSourcePermissionAssignment !== undefined ? dataSourcePermissionAssignment : {})
36164
+ : dataSourcePermissionAssignment || "";
36165
+ return {
36166
+ url: toPathString(localVarUrlObj),
36167
+ options: localVarRequestOptions,
36168
+ };
36169
+ },
36170
+ /**
36171
+ * set data source permissions.
36172
+ * @summary Set data source permissions.
36173
+ * @param {string} dataSourceId
36174
+ * @param {DeclarativeDataSourcePermissions} declarativeDataSourcePermissions
36175
+ * @param {*} [options] Override http request option.
36176
+ * @throws {RequiredError}
36177
+ */
36178
+ setDataSourcePermissions: async (dataSourceId, declarativeDataSourcePermissions, options = {}) => {
36179
+ // verify required parameter 'dataSourceId' is not null or undefined
36180
+ assertParamExists("setDataSourcePermissions", "dataSourceId", dataSourceId);
36181
+ // verify required parameter 'declarativeDataSourcePermissions' is not null or undefined
36182
+ assertParamExists("setDataSourcePermissions", "declarativeDataSourcePermissions", declarativeDataSourcePermissions);
36183
+ const localVarPath = `/api/v1/layout/dataSources/{dataSourceId}/permissions`.replace(`{${"dataSourceId"}}`, encodeURIComponent(String(dataSourceId)));
36184
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36185
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36186
+ let baseOptions;
36187
+ if (configuration) {
36188
+ baseOptions = configuration.baseOptions;
36189
+ }
36190
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
36191
+ const localVarHeaderParameter = {};
36192
+ const localVarQueryParameter = {};
36193
+ localVarHeaderParameter["Content-Type"] = "application/json";
36194
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36195
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36196
+ localVarRequestOptions.headers = {
36197
+ ...localVarHeaderParameter,
36198
+ ...headersFromBaseOptions,
36199
+ ...options.headers,
36200
+ };
36201
+ const needsSerialization = typeof declarativeDataSourcePermissions !== "string" ||
36202
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
36203
+ localVarRequestOptions.data = needsSerialization
36204
+ ? JSON.stringify(declarativeDataSourcePermissions !== undefined ? declarativeDataSourcePermissions : {})
36205
+ : declarativeDataSourcePermissions || "";
36206
+ return {
36207
+ url: toPathString(localVarUrlObj),
36208
+ options: localVarRequestOptions,
36209
+ };
36210
+ },
36211
+ };
36212
+ };
36213
+ /**
36214
+ * ManagePermissionsApi - functional programming interface
36215
+ * @export
36216
+ */
36217
+ export const ManagePermissionsApiFp = function (configuration) {
36218
+ const localVarAxiosParamCreator = ManagePermissionsApiAxiosParamCreator(configuration);
36219
+ return {
36220
+ /**
36221
+ * Retrieve current set of permissions of the data source in a declarative form.
36222
+ * @summary Get permissions for the data source
36223
+ * @param {string} dataSourceId
36224
+ * @param {*} [options] Override http request option.
36225
+ * @throws {RequiredError}
36226
+ */
36227
+ async getDataSourcePermissions(dataSourceId, options) {
36228
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDataSourcePermissions(dataSourceId, options);
36229
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36230
+ },
36231
+ /**
36232
+ * Manage Permissions for a Data Source
36233
+ * @summary Manage Permissions for a Data Source
36234
+ * @param {string} dataSourceId
36235
+ * @param {Array<DataSourcePermissionAssignment>} dataSourcePermissionAssignment
36236
+ * @param {*} [options] Override http request option.
36237
+ * @throws {RequiredError}
36238
+ */
36239
+ async manageDataSourcePermissions(dataSourceId, dataSourcePermissionAssignment, options) {
36240
+ const localVarAxiosArgs = await localVarAxiosParamCreator.manageDataSourcePermissions(dataSourceId, dataSourcePermissionAssignment, options);
36241
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36242
+ },
36243
+ /**
36244
+ * set data source permissions.
36245
+ * @summary Set data source permissions.
36246
+ * @param {string} dataSourceId
36247
+ * @param {DeclarativeDataSourcePermissions} declarativeDataSourcePermissions
36248
+ * @param {*} [options] Override http request option.
36249
+ * @throws {RequiredError}
36250
+ */
36251
+ async setDataSourcePermissions(dataSourceId, declarativeDataSourcePermissions, options) {
36252
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setDataSourcePermissions(dataSourceId, declarativeDataSourcePermissions, options);
36253
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36254
+ },
36255
+ };
36256
+ };
36257
+ /**
36258
+ * ManagePermissionsApi - factory interface
36259
+ * @export
36260
+ */
36261
+ export const ManagePermissionsApiFactory = function (configuration, basePath, axios) {
36262
+ const localVarFp = ManagePermissionsApiFp(configuration);
36263
+ return {
36264
+ /**
36265
+ * Retrieve current set of permissions of the data source in a declarative form.
36266
+ * @summary Get permissions for the data source
36267
+ * @param {ManagePermissionsApiGetDataSourcePermissionsRequest} requestParameters Request parameters.
36268
+ * @param {*} [options] Override http request option.
36269
+ * @throws {RequiredError}
36270
+ */
36271
+ getDataSourcePermissions(requestParameters, options) {
36272
+ return localVarFp
36273
+ .getDataSourcePermissions(requestParameters.dataSourceId, options)
36274
+ .then((request) => request(axios, basePath));
36275
+ },
36276
+ /**
36277
+ * Manage Permissions for a Data Source
36278
+ * @summary Manage Permissions for a Data Source
36279
+ * @param {ManagePermissionsApiManageDataSourcePermissionsRequest} requestParameters Request parameters.
36280
+ * @param {*} [options] Override http request option.
36281
+ * @throws {RequiredError}
36282
+ */
36283
+ manageDataSourcePermissions(requestParameters, options) {
36284
+ return localVarFp
36285
+ .manageDataSourcePermissions(requestParameters.dataSourceId, requestParameters.dataSourcePermissionAssignment, options)
36286
+ .then((request) => request(axios, basePath));
36287
+ },
36288
+ /**
36289
+ * set data source permissions.
36290
+ * @summary Set data source permissions.
36291
+ * @param {ManagePermissionsApiSetDataSourcePermissionsRequest} requestParameters Request parameters.
36292
+ * @param {*} [options] Override http request option.
36293
+ * @throws {RequiredError}
36294
+ */
36295
+ setDataSourcePermissions(requestParameters, options) {
36296
+ return localVarFp
36297
+ .setDataSourcePermissions(requestParameters.dataSourceId, requestParameters.declarativeDataSourcePermissions, options)
36298
+ .then((request) => request(axios, basePath));
36299
+ },
36300
+ };
36301
+ };
36302
+ /**
36303
+ * ManagePermissionsApi - object-oriented interface
36304
+ * @export
36305
+ * @class ManagePermissionsApi
36306
+ * @extends {BaseAPI}
36307
+ */
36308
+ export class ManagePermissionsApi extends BaseAPI {
36309
+ /**
36310
+ * Retrieve current set of permissions of the data source in a declarative form.
36311
+ * @summary Get permissions for the data source
36312
+ * @param {ManagePermissionsApiGetDataSourcePermissionsRequest} requestParameters Request parameters.
36313
+ * @param {*} [options] Override http request option.
36314
+ * @throws {RequiredError}
36315
+ * @memberof ManagePermissionsApi
36316
+ */
36317
+ getDataSourcePermissions(requestParameters, options) {
36318
+ return ManagePermissionsApiFp(this.configuration)
36319
+ .getDataSourcePermissions(requestParameters.dataSourceId, options)
36320
+ .then((request) => request(this.axios, this.basePath));
36321
+ }
36322
+ /**
36323
+ * Manage Permissions for a Data Source
36324
+ * @summary Manage Permissions for a Data Source
36325
+ * @param {ManagePermissionsApiManageDataSourcePermissionsRequest} requestParameters Request parameters.
36326
+ * @param {*} [options] Override http request option.
36327
+ * @throws {RequiredError}
36328
+ * @memberof ManagePermissionsApi
36329
+ */
36330
+ manageDataSourcePermissions(requestParameters, options) {
36331
+ return ManagePermissionsApiFp(this.configuration)
36332
+ .manageDataSourcePermissions(requestParameters.dataSourceId, requestParameters.dataSourcePermissionAssignment, options)
36333
+ .then((request) => request(this.axios, this.basePath));
36334
+ }
36335
+ /**
36336
+ * set data source permissions.
36337
+ * @summary Set data source permissions.
36338
+ * @param {ManagePermissionsApiSetDataSourcePermissionsRequest} requestParameters Request parameters.
36339
+ * @param {*} [options] Override http request option.
36340
+ * @throws {RequiredError}
36341
+ * @memberof ManagePermissionsApi
36342
+ */
36343
+ setDataSourcePermissions(requestParameters, options) {
36344
+ return ManagePermissionsApiFp(this.configuration)
36345
+ .setDataSourcePermissions(requestParameters.dataSourceId, requestParameters.declarativeDataSourcePermissions, options)
36346
+ .then((request) => request(this.axios, this.basePath));
36347
+ }
36348
+ }
35823
36349
  /**
35824
36350
  * MetadataSyncApi - axios parameter creator
35825
36351
  * @export
@@ -36742,6 +37268,35 @@ export const NotificationChannelsApiAxiosParamCreator = function (configuration)
36742
37268
  options: localVarRequestOptions,
36743
37269
  };
36744
37270
  },
37271
+ /**
37272
+ * Gets complete layout of notification channels.
37273
+ * @summary Get all notification channels layout
37274
+ * @param {*} [options] Override http request option.
37275
+ * @throws {RequiredError}
37276
+ */
37277
+ getNotificationChannelsLayout: async (options = {}) => {
37278
+ const localVarPath = `/api/v1/layout/notificationChannels`;
37279
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
37280
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
37281
+ let baseOptions;
37282
+ if (configuration) {
37283
+ baseOptions = configuration.baseOptions;
37284
+ }
37285
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
37286
+ const localVarHeaderParameter = {};
37287
+ const localVarQueryParameter = {};
37288
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
37289
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37290
+ localVarRequestOptions.headers = {
37291
+ ...localVarHeaderParameter,
37292
+ ...headersFromBaseOptions,
37293
+ ...options.headers,
37294
+ };
37295
+ return {
37296
+ url: toPathString(localVarUrlObj),
37297
+ options: localVarRequestOptions,
37298
+ };
37299
+ },
36745
37300
  /**
36746
37301
  *
36747
37302
  * @summary Patch Notification Channel entity
@@ -36789,6 +37344,44 @@ export const NotificationChannelsApiAxiosParamCreator = function (configuration)
36789
37344
  options: localVarRequestOptions,
36790
37345
  };
36791
37346
  },
37347
+ /**
37348
+ * Sets notification channels in organization.
37349
+ * @summary Set all notification channels
37350
+ * @param {DeclarativeNotificationChannels} declarativeNotificationChannels
37351
+ * @param {*} [options] Override http request option.
37352
+ * @throws {RequiredError}
37353
+ */
37354
+ setNotificationChannels: async (declarativeNotificationChannels, options = {}) => {
37355
+ // verify required parameter 'declarativeNotificationChannels' is not null or undefined
37356
+ assertParamExists("setNotificationChannels", "declarativeNotificationChannels", declarativeNotificationChannels);
37357
+ const localVarPath = `/api/v1/layout/notificationChannels`;
37358
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
37359
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
37360
+ let baseOptions;
37361
+ if (configuration) {
37362
+ baseOptions = configuration.baseOptions;
37363
+ }
37364
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
37365
+ const localVarHeaderParameter = {};
37366
+ const localVarQueryParameter = {};
37367
+ localVarHeaderParameter["Content-Type"] = "application/json";
37368
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
37369
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37370
+ localVarRequestOptions.headers = {
37371
+ ...localVarHeaderParameter,
37372
+ ...headersFromBaseOptions,
37373
+ ...options.headers,
37374
+ };
37375
+ const needsSerialization = typeof declarativeNotificationChannels !== "string" ||
37376
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
37377
+ localVarRequestOptions.data = needsSerialization
37378
+ ? JSON.stringify(declarativeNotificationChannels !== undefined ? declarativeNotificationChannels : {})
37379
+ : declarativeNotificationChannels || "";
37380
+ return {
37381
+ url: toPathString(localVarUrlObj),
37382
+ options: localVarRequestOptions,
37383
+ };
37384
+ },
36792
37385
  /**
36793
37386
  *
36794
37387
  * @summary Put Notification Channel entity
@@ -36895,6 +37488,16 @@ export const NotificationChannelsApiFp = function (configuration) {
36895
37488
  const localVarAxiosArgs = await localVarAxiosParamCreator.getEntityNotificationChannels(id, filter, options);
36896
37489
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36897
37490
  },
37491
+ /**
37492
+ * Gets complete layout of notification channels.
37493
+ * @summary Get all notification channels layout
37494
+ * @param {*} [options] Override http request option.
37495
+ * @throws {RequiredError}
37496
+ */
37497
+ async getNotificationChannelsLayout(options) {
37498
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getNotificationChannelsLayout(options);
37499
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
37500
+ },
36898
37501
  /**
36899
37502
  *
36900
37503
  * @summary Patch Notification Channel entity
@@ -36908,6 +37511,17 @@ export const NotificationChannelsApiFp = function (configuration) {
36908
37511
  const localVarAxiosArgs = await localVarAxiosParamCreator.patchEntityNotificationChannels(id, jsonApiNotificationChannelPatchDocument, filter, options);
36909
37512
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36910
37513
  },
37514
+ /**
37515
+ * Sets notification channels in organization.
37516
+ * @summary Set all notification channels
37517
+ * @param {DeclarativeNotificationChannels} declarativeNotificationChannels
37518
+ * @param {*} [options] Override http request option.
37519
+ * @throws {RequiredError}
37520
+ */
37521
+ async setNotificationChannels(declarativeNotificationChannels, options) {
37522
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setNotificationChannels(declarativeNotificationChannels, options);
37523
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
37524
+ },
36911
37525
  /**
36912
37526
  *
36913
37527
  * @summary Put Notification Channel entity
@@ -36978,6 +37592,17 @@ export const NotificationChannelsApiFactory = function (configuration, basePath,
36978
37592
  .getEntityNotificationChannels(requestParameters.id, requestParameters.filter, options)
36979
37593
  .then((request) => request(axios, basePath));
36980
37594
  },
37595
+ /**
37596
+ * Gets complete layout of notification channels.
37597
+ * @summary Get all notification channels layout
37598
+ * @param {*} [options] Override http request option.
37599
+ * @throws {RequiredError}
37600
+ */
37601
+ getNotificationChannelsLayout(options) {
37602
+ return localVarFp
37603
+ .getNotificationChannelsLayout(options)
37604
+ .then((request) => request(axios, basePath));
37605
+ },
36981
37606
  /**
36982
37607
  *
36983
37608
  * @summary Patch Notification Channel entity
@@ -36990,6 +37615,18 @@ export const NotificationChannelsApiFactory = function (configuration, basePath,
36990
37615
  .patchEntityNotificationChannels(requestParameters.id, requestParameters.jsonApiNotificationChannelPatchDocument, requestParameters.filter, options)
36991
37616
  .then((request) => request(axios, basePath));
36992
37617
  },
37618
+ /**
37619
+ * Sets notification channels in organization.
37620
+ * @summary Set all notification channels
37621
+ * @param {NotificationChannelsApiSetNotificationChannelsRequest} requestParameters Request parameters.
37622
+ * @param {*} [options] Override http request option.
37623
+ * @throws {RequiredError}
37624
+ */
37625
+ setNotificationChannels(requestParameters, options) {
37626
+ return localVarFp
37627
+ .setNotificationChannels(requestParameters.declarativeNotificationChannels, options)
37628
+ .then((request) => request(axios, basePath));
37629
+ },
36993
37630
  /**
36994
37631
  *
36995
37632
  * @summary Put Notification Channel entity
@@ -37063,6 +37700,18 @@ export class NotificationChannelsApi extends BaseAPI {
37063
37700
  .getEntityNotificationChannels(requestParameters.id, requestParameters.filter, options)
37064
37701
  .then((request) => request(this.axios, this.basePath));
37065
37702
  }
37703
+ /**
37704
+ * Gets complete layout of notification channels.
37705
+ * @summary Get all notification channels layout
37706
+ * @param {*} [options] Override http request option.
37707
+ * @throws {RequiredError}
37708
+ * @memberof NotificationChannelsApi
37709
+ */
37710
+ getNotificationChannelsLayout(options) {
37711
+ return NotificationChannelsApiFp(this.configuration)
37712
+ .getNotificationChannelsLayout(options)
37713
+ .then((request) => request(this.axios, this.basePath));
37714
+ }
37066
37715
  /**
37067
37716
  *
37068
37717
  * @summary Patch Notification Channel entity
@@ -37076,6 +37725,19 @@ export class NotificationChannelsApi extends BaseAPI {
37076
37725
  .patchEntityNotificationChannels(requestParameters.id, requestParameters.jsonApiNotificationChannelPatchDocument, requestParameters.filter, options)
37077
37726
  .then((request) => request(this.axios, this.basePath));
37078
37727
  }
37728
+ /**
37729
+ * Sets notification channels in organization.
37730
+ * @summary Set all notification channels
37731
+ * @param {NotificationChannelsApiSetNotificationChannelsRequest} requestParameters Request parameters.
37732
+ * @param {*} [options] Override http request option.
37733
+ * @throws {RequiredError}
37734
+ * @memberof NotificationChannelsApi
37735
+ */
37736
+ setNotificationChannels(requestParameters, options) {
37737
+ return NotificationChannelsApiFp(this.configuration)
37738
+ .setNotificationChannels(requestParameters.declarativeNotificationChannels, options)
37739
+ .then((request) => request(this.axios, this.basePath));
37740
+ }
37079
37741
  /**
37080
37742
  *
37081
37743
  * @summary Put Notification Channel entity