@gooddata/api-client-tiger 10.9.0-alpha.6 → 10.9.0-alpha.7

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.
@@ -232,6 +232,7 @@ export const DeclarativeSettingTypeEnum = {
232
232
  TIMEZONE_VALIDATION_ENABLED: "TIMEZONE_VALIDATION_ENABLED",
233
233
  OPENAI_CONFIG: "OPENAI_CONFIG",
234
234
  ENABLE_FILE_ANALYTICS: "ENABLE_FILE_ANALYTICS",
235
+ ALERT: "ALERT",
235
236
  };
236
237
  export const DeclarativeSingleWorkspacePermissionNameEnum = {
237
238
  MANAGE: "MANAGE",
@@ -889,6 +890,7 @@ export const JsonApiOrganizationSettingInAttributesTypeEnum = {
889
890
  TIMEZONE_VALIDATION_ENABLED: "TIMEZONE_VALIDATION_ENABLED",
890
891
  OPENAI_CONFIG: "OPENAI_CONFIG",
891
892
  ENABLE_FILE_ANALYTICS: "ENABLE_FILE_ANALYTICS",
893
+ ALERT: "ALERT",
892
894
  };
893
895
  export const JsonApiOrganizationSettingOutTypeEnum = {
894
896
  ORGANIZATION_SETTING: "organizationSetting",
@@ -1141,6 +1143,7 @@ export const ResolvedSettingTypeEnum = {
1141
1143
  TIMEZONE_VALIDATION_ENABLED: "TIMEZONE_VALIDATION_ENABLED",
1142
1144
  OPENAI_CONFIG: "OPENAI_CONFIG",
1143
1145
  ENABLE_FILE_ANALYTICS: "ENABLE_FILE_ANALYTICS",
1146
+ ALERT: "ALERT",
1144
1147
  };
1145
1148
  export const RsaSpecificationKtyEnum = {
1146
1149
  RSA: "RSA",
@@ -29259,6 +29262,35 @@ export const LayoutApiAxiosParamCreator = function (configuration) {
29259
29262
  options: localVarRequestOptions,
29260
29263
  };
29261
29264
  },
29265
+ /**
29266
+ * Gets complete layout of notification channels.
29267
+ * @summary Get all notification channels layout
29268
+ * @param {*} [options] Override http request option.
29269
+ * @throws {RequiredError}
29270
+ */
29271
+ getNotificationChannelsLayout: async (options = {}) => {
29272
+ const localVarPath = `/api/v1/layout/notificationChannels`;
29273
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29274
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29275
+ let baseOptions;
29276
+ if (configuration) {
29277
+ baseOptions = configuration.baseOptions;
29278
+ }
29279
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
29280
+ const localVarHeaderParameter = {};
29281
+ const localVarQueryParameter = {};
29282
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29283
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29284
+ localVarRequestOptions.headers = {
29285
+ ...localVarHeaderParameter,
29286
+ ...headersFromBaseOptions,
29287
+ ...options.headers,
29288
+ };
29289
+ return {
29290
+ url: toPathString(localVarUrlObj),
29291
+ options: localVarRequestOptions,
29292
+ };
29293
+ },
29262
29294
  /**
29263
29295
  * Retrieve complete layout of organization, workspaces, user-groups, etc.
29264
29296
  * @summary Get organization layout
@@ -29950,6 +29982,44 @@ export const LayoutApiAxiosParamCreator = function (configuration) {
29950
29982
  options: localVarRequestOptions,
29951
29983
  };
29952
29984
  },
29985
+ /**
29986
+ * Sets notification channels in organization.
29987
+ * @summary Set all notification channels
29988
+ * @param {DeclarativeNotificationChannels} declarativeNotificationChannels
29989
+ * @param {*} [options] Override http request option.
29990
+ * @throws {RequiredError}
29991
+ */
29992
+ setNotificationChannels: async (declarativeNotificationChannels, options = {}) => {
29993
+ // verify required parameter 'declarativeNotificationChannels' is not null or undefined
29994
+ assertParamExists("setNotificationChannels", "declarativeNotificationChannels", declarativeNotificationChannels);
29995
+ const localVarPath = `/api/v1/layout/notificationChannels`;
29996
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29997
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29998
+ let baseOptions;
29999
+ if (configuration) {
30000
+ baseOptions = configuration.baseOptions;
30001
+ }
30002
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
30003
+ const localVarHeaderParameter = {};
30004
+ const localVarQueryParameter = {};
30005
+ localVarHeaderParameter["Content-Type"] = "application/json";
30006
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
30007
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30008
+ localVarRequestOptions.headers = {
30009
+ ...localVarHeaderParameter,
30010
+ ...headersFromBaseOptions,
30011
+ ...options.headers,
30012
+ };
30013
+ const needsSerialization = typeof declarativeNotificationChannels !== "string" ||
30014
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
30015
+ localVarRequestOptions.data = needsSerialization
30016
+ ? JSON.stringify(declarativeNotificationChannels !== undefined ? declarativeNotificationChannels : {})
30017
+ : declarativeNotificationChannels || "";
30018
+ return {
30019
+ url: toPathString(localVarUrlObj),
30020
+ options: localVarRequestOptions,
30021
+ };
30022
+ },
29953
30023
  /**
29954
30024
  * Sets complete layout of organization, like workspaces, user-groups, etc.
29955
30025
  * @summary Set organization layout
@@ -30322,6 +30392,16 @@ export const LayoutApiFp = function (configuration) {
30322
30392
  const localVarAxiosArgs = await localVarAxiosParamCreator.getLogicalModel(workspaceId, includeParents, options);
30323
30393
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
30324
30394
  },
30395
+ /**
30396
+ * Gets complete layout of notification channels.
30397
+ * @summary Get all notification channels layout
30398
+ * @param {*} [options] Override http request option.
30399
+ * @throws {RequiredError}
30400
+ */
30401
+ async getNotificationChannelsLayout(options) {
30402
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getNotificationChannelsLayout(options);
30403
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
30404
+ },
30325
30405
  /**
30326
30406
  * Retrieve complete layout of organization, workspaces, user-groups, etc.
30327
30407
  * @summary Get organization layout
@@ -30542,6 +30622,17 @@ export const LayoutApiFp = function (configuration) {
30542
30622
  const localVarAxiosArgs = await localVarAxiosParamCreator.setLogicalModel(workspaceId, declarativeModel, options);
30543
30623
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
30544
30624
  },
30625
+ /**
30626
+ * Sets notification channels in organization.
30627
+ * @summary Set all notification channels
30628
+ * @param {DeclarativeNotificationChannels} declarativeNotificationChannels
30629
+ * @param {*} [options] Override http request option.
30630
+ * @throws {RequiredError}
30631
+ */
30632
+ async setNotificationChannels(declarativeNotificationChannels, options) {
30633
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setNotificationChannels(declarativeNotificationChannels, options);
30634
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
30635
+ },
30545
30636
  /**
30546
30637
  * Sets complete layout of organization, like workspaces, user-groups, etc.
30547
30638
  * @summary Set organization layout
@@ -30688,6 +30779,17 @@ export const LayoutApiFactory = function (configuration, basePath, axios) {
30688
30779
  .getLogicalModel(requestParameters.workspaceId, requestParameters.includeParents, options)
30689
30780
  .then((request) => request(axios, basePath));
30690
30781
  },
30782
+ /**
30783
+ * Gets complete layout of notification channels.
30784
+ * @summary Get all notification channels layout
30785
+ * @param {*} [options] Override http request option.
30786
+ * @throws {RequiredError}
30787
+ */
30788
+ getNotificationChannelsLayout(options) {
30789
+ return localVarFp
30790
+ .getNotificationChannelsLayout(options)
30791
+ .then((request) => request(axios, basePath));
30792
+ },
30691
30793
  /**
30692
30794
  * Retrieve complete layout of organization, workspaces, user-groups, etc.
30693
30795
  * @summary Get organization layout
@@ -30915,6 +31017,18 @@ export const LayoutApiFactory = function (configuration, basePath, axios) {
30915
31017
  .setLogicalModel(requestParameters.workspaceId, requestParameters.declarativeModel, options)
30916
31018
  .then((request) => request(axios, basePath));
30917
31019
  },
31020
+ /**
31021
+ * Sets notification channels in organization.
31022
+ * @summary Set all notification channels
31023
+ * @param {LayoutApiSetNotificationChannelsRequest} requestParameters Request parameters.
31024
+ * @param {*} [options] Override http request option.
31025
+ * @throws {RequiredError}
31026
+ */
31027
+ setNotificationChannels(requestParameters, options) {
31028
+ return localVarFp
31029
+ .setNotificationChannels(requestParameters.declarativeNotificationChannels, options)
31030
+ .then((request) => request(axios, basePath));
31031
+ },
30918
31032
  /**
30919
31033
  * Sets complete layout of organization, like workspaces, user-groups, etc.
30920
31034
  * @summary Set organization layout
@@ -31071,6 +31185,18 @@ export class LayoutApi extends BaseAPI {
31071
31185
  .getLogicalModel(requestParameters.workspaceId, requestParameters.includeParents, options)
31072
31186
  .then((request) => request(this.axios, this.basePath));
31073
31187
  }
31188
+ /**
31189
+ * Gets complete layout of notification channels.
31190
+ * @summary Get all notification channels layout
31191
+ * @param {*} [options] Override http request option.
31192
+ * @throws {RequiredError}
31193
+ * @memberof LayoutApi
31194
+ */
31195
+ getNotificationChannelsLayout(options) {
31196
+ return LayoutApiFp(this.configuration)
31197
+ .getNotificationChannelsLayout(options)
31198
+ .then((request) => request(this.axios, this.basePath));
31199
+ }
31074
31200
  /**
31075
31201
  * Retrieve complete layout of organization, workspaces, user-groups, etc.
31076
31202
  * @summary Get organization layout
@@ -31326,6 +31452,19 @@ export class LayoutApi extends BaseAPI {
31326
31452
  .setLogicalModel(requestParameters.workspaceId, requestParameters.declarativeModel, options)
31327
31453
  .then((request) => request(this.axios, this.basePath));
31328
31454
  }
31455
+ /**
31456
+ * Sets notification channels in organization.
31457
+ * @summary Set all notification channels
31458
+ * @param {LayoutApiSetNotificationChannelsRequest} requestParameters Request parameters.
31459
+ * @param {*} [options] Override http request option.
31460
+ * @throws {RequiredError}
31461
+ * @memberof LayoutApi
31462
+ */
31463
+ setNotificationChannels(requestParameters, options) {
31464
+ return LayoutApiFp(this.configuration)
31465
+ .setNotificationChannels(requestParameters.declarativeNotificationChannels, options)
31466
+ .then((request) => request(this.axios, this.basePath));
31467
+ }
31329
31468
  /**
31330
31469
  * Sets complete layout of organization, like workspaces, user-groups, etc.
31331
31470
  * @summary Set organization layout