@gooddata/api-client-tiger 10.9.0-alpha.2 → 10.9.0-alpha.21

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.
@@ -180,6 +180,7 @@ export const DeclarativeLabelValueTypeEnum = {
180
180
  };
181
181
  export const DeclarativeNotificationChannelDestinationTypeEnum = {
182
182
  WEBHOOK: "WEBHOOK",
183
+ SMTP: "SMTP",
183
184
  };
184
185
  export const DeclarativeNotificationChannelIdentifierTypeEnum = {
185
186
  NOTIFICATION_CHANNEL: "notificationChannel",
@@ -232,6 +233,7 @@ export const DeclarativeSettingTypeEnum = {
232
233
  TIMEZONE_VALIDATION_ENABLED: "TIMEZONE_VALIDATION_ENABLED",
233
234
  OPENAI_CONFIG: "OPENAI_CONFIG",
234
235
  ENABLE_FILE_ANALYTICS: "ENABLE_FILE_ANALYTICS",
236
+ ALERT: "ALERT",
235
237
  };
236
238
  export const DeclarativeSingleWorkspacePermissionNameEnum = {
237
239
  MANAGE: "MANAGE",
@@ -834,6 +836,7 @@ export const JsonApiNotificationChannelInTypeEnum = {
834
836
  };
835
837
  export const JsonApiNotificationChannelInAttributesDestinationTypeEnum = {
836
838
  WEBHOOK: "WEBHOOK",
839
+ SMTP: "SMTP",
837
840
  };
838
841
  export const JsonApiNotificationChannelInAttributesTriggersTypeEnum = {
839
842
  SCHEDULE: "SCHEDULE",
@@ -874,22 +877,6 @@ export const JsonApiOrganizationPatchTypeEnum = {
874
877
  export const JsonApiOrganizationSettingInTypeEnum = {
875
878
  ORGANIZATION_SETTING: "organizationSetting",
876
879
  };
877
- export const JsonApiOrganizationSettingInAttributesTypeEnum = {
878
- TIMEZONE: "TIMEZONE",
879
- ACTIVE_THEME: "ACTIVE_THEME",
880
- ACTIVE_COLOR_PALETTE: "ACTIVE_COLOR_PALETTE",
881
- WHITE_LABELING: "WHITE_LABELING",
882
- LOCALE: "LOCALE",
883
- METADATA_LOCALE: "METADATA_LOCALE",
884
- FORMAT_LOCALE: "FORMAT_LOCALE",
885
- MAPBOX_TOKEN: "MAPBOX_TOKEN",
886
- WEEK_START: "WEEK_START",
887
- SHOW_HIDDEN_CATALOG_ITEMS: "SHOW_HIDDEN_CATALOG_ITEMS",
888
- OPERATOR_OVERRIDES: "OPERATOR_OVERRIDES",
889
- TIMEZONE_VALIDATION_ENABLED: "TIMEZONE_VALIDATION_ENABLED",
890
- OPENAI_CONFIG: "OPENAI_CONFIG",
891
- ENABLE_FILE_ANALYTICS: "ENABLE_FILE_ANALYTICS",
892
- };
893
880
  export const JsonApiOrganizationSettingOutTypeEnum = {
894
881
  ORGANIZATION_SETTING: "organizationSetting",
895
882
  };
@@ -1051,6 +1038,23 @@ export const JsonApiWorkspaceSettingInTypeEnum = {
1051
1038
  export const JsonApiWorkspaceSettingOutTypeEnum = {
1052
1039
  WORKSPACE_SETTING: "workspaceSetting",
1053
1040
  };
1041
+ export const JsonApiWorkspaceSettingOutAttributesTypeEnum = {
1042
+ TIMEZONE: "TIMEZONE",
1043
+ ACTIVE_THEME: "ACTIVE_THEME",
1044
+ ACTIVE_COLOR_PALETTE: "ACTIVE_COLOR_PALETTE",
1045
+ WHITE_LABELING: "WHITE_LABELING",
1046
+ LOCALE: "LOCALE",
1047
+ METADATA_LOCALE: "METADATA_LOCALE",
1048
+ FORMAT_LOCALE: "FORMAT_LOCALE",
1049
+ MAPBOX_TOKEN: "MAPBOX_TOKEN",
1050
+ WEEK_START: "WEEK_START",
1051
+ SHOW_HIDDEN_CATALOG_ITEMS: "SHOW_HIDDEN_CATALOG_ITEMS",
1052
+ OPERATOR_OVERRIDES: "OPERATOR_OVERRIDES",
1053
+ TIMEZONE_VALIDATION_ENABLED: "TIMEZONE_VALIDATION_ENABLED",
1054
+ OPENAI_CONFIG: "OPENAI_CONFIG",
1055
+ ENABLE_FILE_ANALYTICS: "ENABLE_FILE_ANALYTICS",
1056
+ ALERT: "ALERT",
1057
+ };
1054
1058
  export const JsonApiWorkspaceSettingOutWithLinksTypeEnum = {
1055
1059
  WORKSPACE_SETTING: "workspaceSetting",
1056
1060
  };
@@ -1085,9 +1089,6 @@ export const NoteAppliesToEnum = {
1085
1089
  SOURCE: "SOURCE",
1086
1090
  TARGET: "TARGET",
1087
1091
  };
1088
- export const NotificationChannelDestinationTypeEnum = {
1089
- WEBHOOK: "WEBHOOK",
1090
- };
1091
1092
  export const NotificationTriggerTypeEnum = {
1092
1093
  SCHEDULE: "SCHEDULE",
1093
1094
  ALERT: "ALERT",
@@ -1141,6 +1142,7 @@ export const ResolvedSettingTypeEnum = {
1141
1142
  TIMEZONE_VALIDATION_ENABLED: "TIMEZONE_VALIDATION_ENABLED",
1142
1143
  OPENAI_CONFIG: "OPENAI_CONFIG",
1143
1144
  ENABLE_FILE_ANALYTICS: "ENABLE_FILE_ANALYTICS",
1145
+ ALERT: "ALERT",
1144
1146
  };
1145
1147
  export const RsaSpecificationKtyEnum = {
1146
1148
  RSA: "RSA",
@@ -1153,6 +1155,24 @@ export const RsaSpecificationAlgEnum = {
1153
1155
  export const RsaSpecificationUseEnum = {
1154
1156
  SIG: "sig",
1155
1157
  };
1158
+ export const SmtpPortEnum = {
1159
+ NUMBER_25: 25,
1160
+ NUMBER_465: 465,
1161
+ NUMBER_587: 587,
1162
+ NUMBER_2525: 2525,
1163
+ };
1164
+ export const SmtpTypeEnum = {
1165
+ SMTP: "SMTP",
1166
+ };
1167
+ export const SmtpAllOfPortEnum = {
1168
+ NUMBER_25: 25,
1169
+ NUMBER_465: 465,
1170
+ NUMBER_587: 587,
1171
+ NUMBER_2525: 2525,
1172
+ };
1173
+ export const SmtpAllOfTypeEnum = {
1174
+ SMTP: "SMTP",
1175
+ };
1156
1176
  export const SqlColumnDataTypeEnum = {
1157
1177
  INT: "INT",
1158
1178
  STRING: "STRING",
@@ -29259,6 +29279,35 @@ export const LayoutApiAxiosParamCreator = function (configuration) {
29259
29279
  options: localVarRequestOptions,
29260
29280
  };
29261
29281
  },
29282
+ /**
29283
+ * Gets complete layout of notification channels.
29284
+ * @summary Get all notification channels layout
29285
+ * @param {*} [options] Override http request option.
29286
+ * @throws {RequiredError}
29287
+ */
29288
+ getNotificationChannelsLayout: async (options = {}) => {
29289
+ const localVarPath = `/api/v1/layout/notificationChannels`;
29290
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29291
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29292
+ let baseOptions;
29293
+ if (configuration) {
29294
+ baseOptions = configuration.baseOptions;
29295
+ }
29296
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
29297
+ const localVarHeaderParameter = {};
29298
+ const localVarQueryParameter = {};
29299
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29300
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29301
+ localVarRequestOptions.headers = {
29302
+ ...localVarHeaderParameter,
29303
+ ...headersFromBaseOptions,
29304
+ ...options.headers,
29305
+ };
29306
+ return {
29307
+ url: toPathString(localVarUrlObj),
29308
+ options: localVarRequestOptions,
29309
+ };
29310
+ },
29262
29311
  /**
29263
29312
  * Retrieve complete layout of organization, workspaces, user-groups, etc.
29264
29313
  * @summary Get organization layout
@@ -29950,6 +29999,44 @@ export const LayoutApiAxiosParamCreator = function (configuration) {
29950
29999
  options: localVarRequestOptions,
29951
30000
  };
29952
30001
  },
30002
+ /**
30003
+ * Sets notification channels in organization.
30004
+ * @summary Set all notification channels
30005
+ * @param {DeclarativeNotificationChannels} declarativeNotificationChannels
30006
+ * @param {*} [options] Override http request option.
30007
+ * @throws {RequiredError}
30008
+ */
30009
+ setNotificationChannels: async (declarativeNotificationChannels, options = {}) => {
30010
+ // verify required parameter 'declarativeNotificationChannels' is not null or undefined
30011
+ assertParamExists("setNotificationChannels", "declarativeNotificationChannels", declarativeNotificationChannels);
30012
+ const localVarPath = `/api/v1/layout/notificationChannels`;
30013
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30014
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30015
+ let baseOptions;
30016
+ if (configuration) {
30017
+ baseOptions = configuration.baseOptions;
30018
+ }
30019
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
30020
+ const localVarHeaderParameter = {};
30021
+ const localVarQueryParameter = {};
30022
+ localVarHeaderParameter["Content-Type"] = "application/json";
30023
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
30024
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30025
+ localVarRequestOptions.headers = {
30026
+ ...localVarHeaderParameter,
30027
+ ...headersFromBaseOptions,
30028
+ ...options.headers,
30029
+ };
30030
+ const needsSerialization = typeof declarativeNotificationChannels !== "string" ||
30031
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
30032
+ localVarRequestOptions.data = needsSerialization
30033
+ ? JSON.stringify(declarativeNotificationChannels !== undefined ? declarativeNotificationChannels : {})
30034
+ : declarativeNotificationChannels || "";
30035
+ return {
30036
+ url: toPathString(localVarUrlObj),
30037
+ options: localVarRequestOptions,
30038
+ };
30039
+ },
29953
30040
  /**
29954
30041
  * Sets complete layout of organization, like workspaces, user-groups, etc.
29955
30042
  * @summary Set organization layout
@@ -30322,6 +30409,16 @@ export const LayoutApiFp = function (configuration) {
30322
30409
  const localVarAxiosArgs = await localVarAxiosParamCreator.getLogicalModel(workspaceId, includeParents, options);
30323
30410
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
30324
30411
  },
30412
+ /**
30413
+ * Gets complete layout of notification channels.
30414
+ * @summary Get all notification channels layout
30415
+ * @param {*} [options] Override http request option.
30416
+ * @throws {RequiredError}
30417
+ */
30418
+ async getNotificationChannelsLayout(options) {
30419
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getNotificationChannelsLayout(options);
30420
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
30421
+ },
30325
30422
  /**
30326
30423
  * Retrieve complete layout of organization, workspaces, user-groups, etc.
30327
30424
  * @summary Get organization layout
@@ -30542,6 +30639,17 @@ export const LayoutApiFp = function (configuration) {
30542
30639
  const localVarAxiosArgs = await localVarAxiosParamCreator.setLogicalModel(workspaceId, declarativeModel, options);
30543
30640
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
30544
30641
  },
30642
+ /**
30643
+ * Sets notification channels in organization.
30644
+ * @summary Set all notification channels
30645
+ * @param {DeclarativeNotificationChannels} declarativeNotificationChannels
30646
+ * @param {*} [options] Override http request option.
30647
+ * @throws {RequiredError}
30648
+ */
30649
+ async setNotificationChannels(declarativeNotificationChannels, options) {
30650
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setNotificationChannels(declarativeNotificationChannels, options);
30651
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
30652
+ },
30545
30653
  /**
30546
30654
  * Sets complete layout of organization, like workspaces, user-groups, etc.
30547
30655
  * @summary Set organization layout
@@ -30688,6 +30796,17 @@ export const LayoutApiFactory = function (configuration, basePath, axios) {
30688
30796
  .getLogicalModel(requestParameters.workspaceId, requestParameters.includeParents, options)
30689
30797
  .then((request) => request(axios, basePath));
30690
30798
  },
30799
+ /**
30800
+ * Gets complete layout of notification channels.
30801
+ * @summary Get all notification channels layout
30802
+ * @param {*} [options] Override http request option.
30803
+ * @throws {RequiredError}
30804
+ */
30805
+ getNotificationChannelsLayout(options) {
30806
+ return localVarFp
30807
+ .getNotificationChannelsLayout(options)
30808
+ .then((request) => request(axios, basePath));
30809
+ },
30691
30810
  /**
30692
30811
  * Retrieve complete layout of organization, workspaces, user-groups, etc.
30693
30812
  * @summary Get organization layout
@@ -30915,6 +31034,18 @@ export const LayoutApiFactory = function (configuration, basePath, axios) {
30915
31034
  .setLogicalModel(requestParameters.workspaceId, requestParameters.declarativeModel, options)
30916
31035
  .then((request) => request(axios, basePath));
30917
31036
  },
31037
+ /**
31038
+ * Sets notification channels in organization.
31039
+ * @summary Set all notification channels
31040
+ * @param {LayoutApiSetNotificationChannelsRequest} requestParameters Request parameters.
31041
+ * @param {*} [options] Override http request option.
31042
+ * @throws {RequiredError}
31043
+ */
31044
+ setNotificationChannels(requestParameters, options) {
31045
+ return localVarFp
31046
+ .setNotificationChannels(requestParameters.declarativeNotificationChannels, options)
31047
+ .then((request) => request(axios, basePath));
31048
+ },
30918
31049
  /**
30919
31050
  * Sets complete layout of organization, like workspaces, user-groups, etc.
30920
31051
  * @summary Set organization layout
@@ -31071,6 +31202,18 @@ export class LayoutApi extends BaseAPI {
31071
31202
  .getLogicalModel(requestParameters.workspaceId, requestParameters.includeParents, options)
31072
31203
  .then((request) => request(this.axios, this.basePath));
31073
31204
  }
31205
+ /**
31206
+ * Gets complete layout of notification channels.
31207
+ * @summary Get all notification channels layout
31208
+ * @param {*} [options] Override http request option.
31209
+ * @throws {RequiredError}
31210
+ * @memberof LayoutApi
31211
+ */
31212
+ getNotificationChannelsLayout(options) {
31213
+ return LayoutApiFp(this.configuration)
31214
+ .getNotificationChannelsLayout(options)
31215
+ .then((request) => request(this.axios, this.basePath));
31216
+ }
31074
31217
  /**
31075
31218
  * Retrieve complete layout of organization, workspaces, user-groups, etc.
31076
31219
  * @summary Get organization layout
@@ -31326,6 +31469,19 @@ export class LayoutApi extends BaseAPI {
31326
31469
  .setLogicalModel(requestParameters.workspaceId, requestParameters.declarativeModel, options)
31327
31470
  .then((request) => request(this.axios, this.basePath));
31328
31471
  }
31472
+ /**
31473
+ * Sets notification channels in organization.
31474
+ * @summary Set all notification channels
31475
+ * @param {LayoutApiSetNotificationChannelsRequest} requestParameters Request parameters.
31476
+ * @param {*} [options] Override http request option.
31477
+ * @throws {RequiredError}
31478
+ * @memberof LayoutApi
31479
+ */
31480
+ setNotificationChannels(requestParameters, options) {
31481
+ return LayoutApiFp(this.configuration)
31482
+ .setNotificationChannels(requestParameters.declarativeNotificationChannels, options)
31483
+ .then((request) => request(this.axios, this.basePath));
31484
+ }
31329
31485
  /**
31330
31486
  * Sets complete layout of organization, like workspaces, user-groups, etc.
31331
31487
  * @summary Set organization layout