@gooddata/api-client-tiger 10.11.0-alpha.13 → 10.11.0-alpha.15

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.
@@ -297,6 +297,7 @@ export const DeclarativeSingleWorkspacePermissionNameEnum = {
297
297
  EXPORT: "EXPORT",
298
298
  EXPORT_TABULAR: "EXPORT_TABULAR",
299
299
  EXPORT_PDF: "EXPORT_PDF",
300
+ CREATE_FILTER_VIEW: "CREATE_FILTER_VIEW",
300
301
  VIEW: "VIEW",
301
302
  };
302
303
  export const DeclarativeUserGroupIdentifierTypeEnum = {
@@ -336,6 +337,7 @@ export const DeclarativeWorkspaceHierarchyPermissionNameEnum = {
336
337
  EXPORT_TABULAR: "EXPORT_TABULAR",
337
338
  EXPORT_PDF: "EXPORT_PDF",
338
339
  VIEW: "VIEW",
340
+ CREATE_FILTER_VIEW: "CREATE_FILTER_VIEW",
339
341
  };
340
342
  export const DefaultSmtpTypeEnum = {
341
343
  DEFAULT_SMTP: "DEFAULT_SMTP",
@@ -519,14 +521,6 @@ export const JsonApiAttributeOutWithLinksTypeEnum = {
519
521
  export const JsonApiAutomationInTypeEnum = {
520
522
  AUTOMATION: "automation",
521
523
  };
522
- export const JsonApiAutomationInAttributesStateEnum = {
523
- ACTIVE: "ACTIVE",
524
- PAUSED: "PAUSED",
525
- };
526
- export const JsonApiAutomationInAttributesAlertTriggerEnum = {
527
- ALWAYS: "ALWAYS",
528
- ONCE: "ONCE",
529
- };
530
524
  export const JsonApiAutomationOutTypeEnum = {
531
525
  AUTOMATION: "automation",
532
526
  };
@@ -534,12 +528,20 @@ export const JsonApiAutomationOutAttributesStateEnum = {
534
528
  ACTIVE: "ACTIVE",
535
529
  PAUSED: "PAUSED",
536
530
  };
531
+ export const JsonApiAutomationOutAttributesAlertTriggerEnum = {
532
+ ALWAYS: "ALWAYS",
533
+ ONCE: "ONCE",
534
+ };
537
535
  export const JsonApiAutomationOutWithLinksTypeEnum = {
538
536
  AUTOMATION: "automation",
539
537
  };
540
538
  export const JsonApiAutomationPatchTypeEnum = {
541
539
  AUTOMATION: "automation",
542
540
  };
541
+ export const JsonApiAutomationPatchAttributesStateEnum = {
542
+ ACTIVE: "ACTIVE",
543
+ PAUSED: "PAUSED",
544
+ };
543
545
  export const JsonApiColorPaletteInTypeEnum = {
544
546
  COLOR_PALETTE: "colorPalette",
545
547
  };
@@ -634,10 +636,6 @@ export const JsonApiDataSourceIdentifierOutAttributesTypeEnum = {
634
636
  MOTHERDUCK: "MOTHERDUCK",
635
637
  FLIGHTRPC: "FLIGHTRPC",
636
638
  };
637
- export const JsonApiDataSourceIdentifierOutMetaPermissionsEnum = {
638
- MANAGE: "MANAGE",
639
- USE: "USE",
640
- };
641
639
  export const JsonApiDataSourceIdentifierOutWithLinksTypeEnum = {
642
640
  DATA_SOURCE_IDENTIFIER: "dataSourceIdentifier",
643
641
  };
@@ -710,6 +708,10 @@ export const JsonApiDataSourceOutAttributesAuthenticationTypeEnum = {
710
708
  TOKEN: "TOKEN",
711
709
  KEY_PAIR: "KEY_PAIR",
712
710
  };
711
+ export const JsonApiDataSourceOutMetaPermissionsEnum = {
712
+ MANAGE: "MANAGE",
713
+ USE: "USE",
714
+ };
713
715
  export const JsonApiDataSourceOutWithLinksTypeEnum = {
714
716
  DATA_SOURCE: "dataSource",
715
717
  };
@@ -849,6 +851,18 @@ export const JsonApiFilterContextPatchTypeEnum = {
849
851
  export const JsonApiFilterContextPostOptionalIdTypeEnum = {
850
852
  FILTER_CONTEXT: "filterContext",
851
853
  };
854
+ export const JsonApiFilterViewInTypeEnum = {
855
+ FILTER_VIEW: "filterView",
856
+ };
857
+ export const JsonApiFilterViewOutTypeEnum = {
858
+ FILTER_VIEW: "filterView",
859
+ };
860
+ export const JsonApiFilterViewOutWithLinksTypeEnum = {
861
+ FILTER_VIEW: "filterView",
862
+ };
863
+ export const JsonApiFilterViewPatchTypeEnum = {
864
+ FILTER_VIEW: "filterView",
865
+ };
852
866
  export const JsonApiIdentityProviderInTypeEnum = {
853
867
  IDENTITY_PROVIDER: "identityProvider",
854
868
  };
@@ -955,21 +969,21 @@ export const JsonApiNotificationChannelLinkageTypeEnum = {
955
969
  export const JsonApiNotificationChannelOutTypeEnum = {
956
970
  NOTIFICATION_CHANNEL: "notificationChannel",
957
971
  };
958
- export const JsonApiNotificationChannelOutAttributesDestinationTypeEnum = {
972
+ export const JsonApiNotificationChannelOutWithLinksTypeEnum = {
973
+ NOTIFICATION_CHANNEL: "notificationChannel",
974
+ };
975
+ export const JsonApiNotificationChannelPatchTypeEnum = {
976
+ NOTIFICATION_CHANNEL: "notificationChannel",
977
+ };
978
+ export const JsonApiNotificationChannelPatchAttributesDestinationTypeEnum = {
959
979
  WEBHOOK: "WEBHOOK",
960
980
  SMTP: "SMTP",
961
981
  DEFAULT_SMTP: "DEFAULT_SMTP",
962
982
  };
963
- export const JsonApiNotificationChannelOutAttributesTriggersTypeEnum = {
983
+ export const JsonApiNotificationChannelPatchAttributesTriggersTypeEnum = {
964
984
  SCHEDULE: "SCHEDULE",
965
985
  ALERT: "ALERT",
966
986
  };
967
- export const JsonApiNotificationChannelOutWithLinksTypeEnum = {
968
- NOTIFICATION_CHANNEL: "notificationChannel",
969
- };
970
- export const JsonApiNotificationChannelPatchTypeEnum = {
971
- NOTIFICATION_CHANNEL: "notificationChannel",
972
- };
973
987
  export const JsonApiNotificationChannelPostOptionalIdTypeEnum = {
974
988
  NOTIFICATION_CHANNEL: "notificationChannel",
975
989
  };
@@ -1071,6 +1085,23 @@ export const JsonApiUserPatchTypeEnum = {
1071
1085
  export const JsonApiUserSettingInTypeEnum = {
1072
1086
  USER_SETTING: "userSetting",
1073
1087
  };
1088
+ export const JsonApiUserSettingInAttributesTypeEnum = {
1089
+ TIMEZONE: "TIMEZONE",
1090
+ ACTIVE_THEME: "ACTIVE_THEME",
1091
+ ACTIVE_COLOR_PALETTE: "ACTIVE_COLOR_PALETTE",
1092
+ WHITE_LABELING: "WHITE_LABELING",
1093
+ LOCALE: "LOCALE",
1094
+ METADATA_LOCALE: "METADATA_LOCALE",
1095
+ FORMAT_LOCALE: "FORMAT_LOCALE",
1096
+ MAPBOX_TOKEN: "MAPBOX_TOKEN",
1097
+ WEEK_START: "WEEK_START",
1098
+ SHOW_HIDDEN_CATALOG_ITEMS: "SHOW_HIDDEN_CATALOG_ITEMS",
1099
+ OPERATOR_OVERRIDES: "OPERATOR_OVERRIDES",
1100
+ TIMEZONE_VALIDATION_ENABLED: "TIMEZONE_VALIDATION_ENABLED",
1101
+ OPENAI_CONFIG: "OPENAI_CONFIG",
1102
+ ENABLE_FILE_ANALYTICS: "ENABLE_FILE_ANALYTICS",
1103
+ ALERT: "ALERT",
1104
+ };
1074
1105
  export const JsonApiUserSettingOutTypeEnum = {
1075
1106
  USER_SETTING: "userSetting",
1076
1107
  };
@@ -1140,6 +1171,7 @@ export const JsonApiWorkspaceOutMetaPermissionsEnum = {
1140
1171
  EXPORT: "EXPORT",
1141
1172
  EXPORT_TABULAR: "EXPORT_TABULAR",
1142
1173
  EXPORT_PDF: "EXPORT_PDF",
1174
+ CREATE_FILTER_VIEW: "CREATE_FILTER_VIEW",
1143
1175
  VIEW: "VIEW",
1144
1176
  };
1145
1177
  export const JsonApiWorkspaceOutWithLinksTypeEnum = {
@@ -1151,23 +1183,6 @@ export const JsonApiWorkspacePatchTypeEnum = {
1151
1183
  export const JsonApiWorkspaceSettingInTypeEnum = {
1152
1184
  WORKSPACE_SETTING: "workspaceSetting",
1153
1185
  };
1154
- export const JsonApiWorkspaceSettingInAttributesTypeEnum = {
1155
- TIMEZONE: "TIMEZONE",
1156
- ACTIVE_THEME: "ACTIVE_THEME",
1157
- ACTIVE_COLOR_PALETTE: "ACTIVE_COLOR_PALETTE",
1158
- WHITE_LABELING: "WHITE_LABELING",
1159
- LOCALE: "LOCALE",
1160
- METADATA_LOCALE: "METADATA_LOCALE",
1161
- FORMAT_LOCALE: "FORMAT_LOCALE",
1162
- MAPBOX_TOKEN: "MAPBOX_TOKEN",
1163
- WEEK_START: "WEEK_START",
1164
- SHOW_HIDDEN_CATALOG_ITEMS: "SHOW_HIDDEN_CATALOG_ITEMS",
1165
- OPERATOR_OVERRIDES: "OPERATOR_OVERRIDES",
1166
- TIMEZONE_VALIDATION_ENABLED: "TIMEZONE_VALIDATION_ENABLED",
1167
- OPENAI_CONFIG: "OPENAI_CONFIG",
1168
- ENABLE_FILE_ANALYTICS: "ENABLE_FILE_ANALYTICS",
1169
- ALERT: "ALERT",
1170
- };
1171
1186
  export const JsonApiWorkspaceSettingOutTypeEnum = {
1172
1187
  WORKSPACE_SETTING: "workspaceSetting",
1173
1188
  };
@@ -1358,6 +1373,7 @@ export const UserManagementWorkspacePermissionAssignmentPermissionsEnum = {
1358
1373
  EXPORT: "EXPORT",
1359
1374
  EXPORT_TABULAR: "EXPORT_TABULAR",
1360
1375
  EXPORT_PDF: "EXPORT_PDF",
1376
+ CREATE_FILTER_VIEW: "CREATE_FILTER_VIEW",
1361
1377
  VIEW: "VIEW",
1362
1378
  };
1363
1379
  export const UserManagementWorkspacePermissionAssignmentHierarchyPermissionsEnum = {
@@ -1367,6 +1383,7 @@ export const UserManagementWorkspacePermissionAssignmentHierarchyPermissionsEnum
1367
1383
  EXPORT_TABULAR: "EXPORT_TABULAR",
1368
1384
  EXPORT_PDF: "EXPORT_PDF",
1369
1385
  VIEW: "VIEW",
1386
+ CREATE_FILTER_VIEW: "CREATE_FILTER_VIEW",
1370
1387
  };
1371
1388
  export const WebhookTypeEnum = {
1372
1389
  WEBHOOK: "WEBHOOK",
@@ -1383,6 +1400,7 @@ export const WorkspacePermissionAssignmentPermissionsEnum = {
1383
1400
  EXPORT: "EXPORT",
1384
1401
  EXPORT_TABULAR: "EXPORT_TABULAR",
1385
1402
  EXPORT_PDF: "EXPORT_PDF",
1403
+ CREATE_FILTER_VIEW: "CREATE_FILTER_VIEW",
1386
1404
  VIEW: "VIEW",
1387
1405
  };
1388
1406
  export const WorkspacePermissionAssignmentHierarchyPermissionsEnum = {
@@ -1392,6 +1410,7 @@ export const WorkspacePermissionAssignmentHierarchyPermissionsEnum = {
1392
1410
  EXPORT_TABULAR: "EXPORT_TABULAR",
1393
1411
  EXPORT_PDF: "EXPORT_PDF",
1394
1412
  VIEW: "VIEW",
1413
+ CREATE_FILTER_VIEW: "CREATE_FILTER_VIEW",
1395
1414
  };
1396
1415
  /**
1397
1416
  * AIApi - axios parameter creator
@@ -6290,6 +6309,42 @@ export const AutomationsApiAxiosParamCreator = function (configuration) {
6290
6309
  options: localVarRequestOptions,
6291
6310
  };
6292
6311
  },
6312
+ /**
6313
+ * Retrieve automations for the specific workspace
6314
+ * @summary Get automations
6315
+ * @param {string} workspaceId
6316
+ * @param {Array<'ACTIVITY_INFO'>} [exclude]
6317
+ * @param {*} [options] Override http request option.
6318
+ * @throws {RequiredError}
6319
+ */
6320
+ getAutomations: async (workspaceId, exclude, options = {}) => {
6321
+ // verify required parameter 'workspaceId' is not null or undefined
6322
+ assertParamExists("getAutomations", "workspaceId", workspaceId);
6323
+ const localVarPath = `/api/v1/layout/workspaces/{workspaceId}/automations`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
6324
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6325
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6326
+ let baseOptions;
6327
+ if (configuration) {
6328
+ baseOptions = configuration.baseOptions;
6329
+ }
6330
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
6331
+ const localVarHeaderParameter = {};
6332
+ const localVarQueryParameter = {};
6333
+ if (exclude) {
6334
+ localVarQueryParameter["exclude"] = exclude;
6335
+ }
6336
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6337
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6338
+ localVarRequestOptions.headers = {
6339
+ ...localVarHeaderParameter,
6340
+ ...headersFromBaseOptions,
6341
+ ...options.headers,
6342
+ };
6343
+ return {
6344
+ url: toPathString(localVarUrlObj),
6345
+ options: localVarRequestOptions,
6346
+ };
6347
+ },
6293
6348
  /**
6294
6349
  *
6295
6350
  * @summary Get an Automation
@@ -6397,6 +6452,47 @@ export const AutomationsApiAxiosParamCreator = function (configuration) {
6397
6452
  options: localVarRequestOptions,
6398
6453
  };
6399
6454
  },
6455
+ /**
6456
+ * Set automations for the specific workspace.
6457
+ * @summary Set automations
6458
+ * @param {string} workspaceId
6459
+ * @param {Array<DeclarativeAutomation>} declarativeAutomation
6460
+ * @param {*} [options] Override http request option.
6461
+ * @throws {RequiredError}
6462
+ */
6463
+ setAutomations: async (workspaceId, declarativeAutomation, options = {}) => {
6464
+ // verify required parameter 'workspaceId' is not null or undefined
6465
+ assertParamExists("setAutomations", "workspaceId", workspaceId);
6466
+ // verify required parameter 'declarativeAutomation' is not null or undefined
6467
+ assertParamExists("setAutomations", "declarativeAutomation", declarativeAutomation);
6468
+ const localVarPath = `/api/v1/layout/workspaces/{workspaceId}/automations`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
6469
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6470
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6471
+ let baseOptions;
6472
+ if (configuration) {
6473
+ baseOptions = configuration.baseOptions;
6474
+ }
6475
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
6476
+ const localVarHeaderParameter = {};
6477
+ const localVarQueryParameter = {};
6478
+ localVarHeaderParameter["Content-Type"] = "application/json";
6479
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6480
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6481
+ localVarRequestOptions.headers = {
6482
+ ...localVarHeaderParameter,
6483
+ ...headersFromBaseOptions,
6484
+ ...options.headers,
6485
+ };
6486
+ const needsSerialization = typeof declarativeAutomation !== "string" ||
6487
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
6488
+ localVarRequestOptions.data = needsSerialization
6489
+ ? JSON.stringify(declarativeAutomation !== undefined ? declarativeAutomation : {})
6490
+ : declarativeAutomation || "";
6491
+ return {
6492
+ url: toPathString(localVarUrlObj),
6493
+ options: localVarRequestOptions,
6494
+ };
6495
+ },
6400
6496
  /**
6401
6497
  *
6402
6498
  * @summary Put an Automation
@@ -6506,6 +6602,18 @@ export const AutomationsApiFp = function (configuration) {
6506
6602
  const localVarAxiosArgs = await localVarAxiosParamCreator.getAllEntitiesAutomations(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options);
6507
6603
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6508
6604
  },
6605
+ /**
6606
+ * Retrieve automations for the specific workspace
6607
+ * @summary Get automations
6608
+ * @param {string} workspaceId
6609
+ * @param {Array<'ACTIVITY_INFO'>} [exclude]
6610
+ * @param {*} [options] Override http request option.
6611
+ * @throws {RequiredError}
6612
+ */
6613
+ async getAutomations(workspaceId, exclude, options) {
6614
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAutomations(workspaceId, exclude, options);
6615
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6616
+ },
6509
6617
  /**
6510
6618
  *
6511
6619
  * @summary Get an Automation
@@ -6537,6 +6645,18 @@ export const AutomationsApiFp = function (configuration) {
6537
6645
  const localVarAxiosArgs = await localVarAxiosParamCreator.patchEntityAutomations(workspaceId, objectId, jsonApiAutomationPatchDocument, filter, include, options);
6538
6646
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6539
6647
  },
6648
+ /**
6649
+ * Set automations for the specific workspace.
6650
+ * @summary Set automations
6651
+ * @param {string} workspaceId
6652
+ * @param {Array<DeclarativeAutomation>} declarativeAutomation
6653
+ * @param {*} [options] Override http request option.
6654
+ * @throws {RequiredError}
6655
+ */
6656
+ async setAutomations(workspaceId, declarativeAutomation, options) {
6657
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setAutomations(workspaceId, declarativeAutomation, options);
6658
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6659
+ },
6540
6660
  /**
6541
6661
  *
6542
6662
  * @summary Put an Automation
@@ -6597,6 +6717,18 @@ export const AutomationsApiFactory = function (configuration, basePath, axios) {
6597
6717
  .getAllEntitiesAutomations(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
6598
6718
  .then((request) => request(axios, basePath));
6599
6719
  },
6720
+ /**
6721
+ * Retrieve automations for the specific workspace
6722
+ * @summary Get automations
6723
+ * @param {AutomationsApiGetAutomationsRequest} requestParameters Request parameters.
6724
+ * @param {*} [options] Override http request option.
6725
+ * @throws {RequiredError}
6726
+ */
6727
+ getAutomations(requestParameters, options) {
6728
+ return localVarFp
6729
+ .getAutomations(requestParameters.workspaceId, requestParameters.exclude, options)
6730
+ .then((request) => request(axios, basePath));
6731
+ },
6600
6732
  /**
6601
6733
  *
6602
6734
  * @summary Get an Automation
@@ -6621,6 +6753,18 @@ export const AutomationsApiFactory = function (configuration, basePath, axios) {
6621
6753
  .patchEntityAutomations(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiAutomationPatchDocument, requestParameters.filter, requestParameters.include, options)
6622
6754
  .then((request) => request(axios, basePath));
6623
6755
  },
6756
+ /**
6757
+ * Set automations for the specific workspace.
6758
+ * @summary Set automations
6759
+ * @param {AutomationsApiSetAutomationsRequest} requestParameters Request parameters.
6760
+ * @param {*} [options] Override http request option.
6761
+ * @throws {RequiredError}
6762
+ */
6763
+ setAutomations(requestParameters, options) {
6764
+ return localVarFp
6765
+ .setAutomations(requestParameters.workspaceId, requestParameters.declarativeAutomation, options)
6766
+ .then((request) => request(axios, basePath));
6767
+ },
6624
6768
  /**
6625
6769
  *
6626
6770
  * @summary Put an Automation
@@ -6681,6 +6825,19 @@ export class AutomationsApi extends BaseAPI {
6681
6825
  .getAllEntitiesAutomations(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
6682
6826
  .then((request) => request(this.axios, this.basePath));
6683
6827
  }
6828
+ /**
6829
+ * Retrieve automations for the specific workspace
6830
+ * @summary Get automations
6831
+ * @param {AutomationsApiGetAutomationsRequest} requestParameters Request parameters.
6832
+ * @param {*} [options] Override http request option.
6833
+ * @throws {RequiredError}
6834
+ * @memberof AutomationsApi
6835
+ */
6836
+ getAutomations(requestParameters, options) {
6837
+ return AutomationsApiFp(this.configuration)
6838
+ .getAutomations(requestParameters.workspaceId, requestParameters.exclude, options)
6839
+ .then((request) => request(this.axios, this.basePath));
6840
+ }
6684
6841
  /**
6685
6842
  *
6686
6843
  * @summary Get an Automation
@@ -6707,6 +6864,19 @@ export class AutomationsApi extends BaseAPI {
6707
6864
  .patchEntityAutomations(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiAutomationPatchDocument, requestParameters.filter, requestParameters.include, options)
6708
6865
  .then((request) => request(this.axios, this.basePath));
6709
6866
  }
6867
+ /**
6868
+ * Set automations for the specific workspace.
6869
+ * @summary Set automations
6870
+ * @param {AutomationsApiSetAutomationsRequest} requestParameters Request parameters.
6871
+ * @param {*} [options] Override http request option.
6872
+ * @throws {RequiredError}
6873
+ * @memberof AutomationsApi
6874
+ */
6875
+ setAutomations(requestParameters, options) {
6876
+ return AutomationsApiFp(this.configuration)
6877
+ .setAutomations(requestParameters.workspaceId, requestParameters.declarativeAutomation, options)
6878
+ .then((request) => request(this.axios, this.basePath));
6879
+ }
6710
6880
  /**
6711
6881
  *
6712
6882
  * @summary Put an Automation
@@ -12436,6 +12606,51 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
12436
12606
  options: localVarRequestOptions,
12437
12607
  };
12438
12608
  },
12609
+ /**
12610
+ *
12611
+ * @summary Post Filter views
12612
+ * @param {string} workspaceId
12613
+ * @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
12614
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
12615
+ * @param {*} [options] Override http request option.
12616
+ * @throws {RequiredError}
12617
+ */
12618
+ createEntityFilterViews: async (workspaceId, jsonApiFilterViewInDocument, include, options = {}) => {
12619
+ // verify required parameter 'workspaceId' is not null or undefined
12620
+ assertParamExists("createEntityFilterViews", "workspaceId", workspaceId);
12621
+ // verify required parameter 'jsonApiFilterViewInDocument' is not null or undefined
12622
+ assertParamExists("createEntityFilterViews", "jsonApiFilterViewInDocument", jsonApiFilterViewInDocument);
12623
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
12624
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12625
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12626
+ let baseOptions;
12627
+ if (configuration) {
12628
+ baseOptions = configuration.baseOptions;
12629
+ }
12630
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
12631
+ const localVarHeaderParameter = {};
12632
+ const localVarQueryParameter = {};
12633
+ if (include) {
12634
+ localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
12635
+ }
12636
+ localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
12637
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12638
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12639
+ localVarRequestOptions.headers = {
12640
+ ...localVarHeaderParameter,
12641
+ ...headersFromBaseOptions,
12642
+ ...options.headers,
12643
+ };
12644
+ const needsSerialization = typeof jsonApiFilterViewInDocument !== "string" ||
12645
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
12646
+ localVarRequestOptions.data = needsSerialization
12647
+ ? JSON.stringify(jsonApiFilterViewInDocument !== undefined ? jsonApiFilterViewInDocument : {})
12648
+ : jsonApiFilterViewInDocument || "";
12649
+ return {
12650
+ url: toPathString(localVarUrlObj),
12651
+ options: localVarRequestOptions,
12652
+ };
12653
+ },
12439
12654
  /**
12440
12655
  *
12441
12656
  * @summary Post Identity Providers
@@ -13581,52 +13796,21 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
13581
13796
  },
13582
13797
  /**
13583
13798
  *
13584
- * @summary Delete Identity Provider
13585
- * @param {string} id
13586
- * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
13587
- * @param {*} [options] Override http request option.
13588
- * @throws {RequiredError}
13589
- */
13590
- deleteEntityIdentityProviders: async (id, filter, options = {}) => {
13591
- // verify required parameter 'id' is not null or undefined
13592
- assertParamExists("deleteEntityIdentityProviders", "id", id);
13593
- const localVarPath = `/api/v1/entities/identityProviders/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
13594
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
13595
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13596
- let baseOptions;
13597
- if (configuration) {
13598
- baseOptions = configuration.baseOptions;
13599
- }
13600
- const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
13601
- const localVarHeaderParameter = {};
13602
- const localVarQueryParameter = {};
13603
- if (filter !== undefined) {
13604
- localVarQueryParameter["filter"] = filter;
13605
- }
13606
- setSearchParams(localVarUrlObj, localVarQueryParameter);
13607
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13608
- localVarRequestOptions.headers = {
13609
- ...localVarHeaderParameter,
13610
- ...headersFromBaseOptions,
13611
- ...options.headers,
13612
- };
13613
- return {
13614
- url: toPathString(localVarUrlObj),
13615
- options: localVarRequestOptions,
13616
- };
13617
- },
13618
- /**
13619
- * Deletes JSON web key - used to verify JSON web tokens (Jwts)
13620
- * @summary Delete Jwk
13621
- * @param {string} id
13799
+ * @summary Delete Filter view
13800
+ * @param {string} workspaceId
13801
+ * @param {string} objectId
13622
13802
  * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
13623
13803
  * @param {*} [options] Override http request option.
13624
13804
  * @throws {RequiredError}
13625
13805
  */
13626
- deleteEntityJwks: async (id, filter, options = {}) => {
13627
- // verify required parameter 'id' is not null or undefined
13628
- assertParamExists("deleteEntityJwks", "id", id);
13629
- const localVarPath = `/api/v1/entities/jwks/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
13806
+ deleteEntityFilterViews: async (workspaceId, objectId, filter, options = {}) => {
13807
+ // verify required parameter 'workspaceId' is not null or undefined
13808
+ assertParamExists("deleteEntityFilterViews", "workspaceId", workspaceId);
13809
+ // verify required parameter 'objectId' is not null or undefined
13810
+ assertParamExists("deleteEntityFilterViews", "objectId", objectId);
13811
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
13812
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
13813
+ .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
13630
13814
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
13631
13815
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13632
13816
  let baseOptions;
@@ -13653,15 +13837,87 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
13653
13837
  },
13654
13838
  /**
13655
13839
  *
13840
+ * @summary Delete Identity Provider
13656
13841
  * @param {string} id
13657
13842
  * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
13658
13843
  * @param {*} [options] Override http request option.
13659
13844
  * @throws {RequiredError}
13660
13845
  */
13661
- deleteEntityLlmEndpoints: async (id, filter, options = {}) => {
13846
+ deleteEntityIdentityProviders: async (id, filter, options = {}) => {
13662
13847
  // verify required parameter 'id' is not null or undefined
13663
- assertParamExists("deleteEntityLlmEndpoints", "id", id);
13664
- const localVarPath = `/api/v1/entities/llmEndpoints/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
13848
+ assertParamExists("deleteEntityIdentityProviders", "id", id);
13849
+ const localVarPath = `/api/v1/entities/identityProviders/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
13850
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13851
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13852
+ let baseOptions;
13853
+ if (configuration) {
13854
+ baseOptions = configuration.baseOptions;
13855
+ }
13856
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
13857
+ const localVarHeaderParameter = {};
13858
+ const localVarQueryParameter = {};
13859
+ if (filter !== undefined) {
13860
+ localVarQueryParameter["filter"] = filter;
13861
+ }
13862
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13863
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13864
+ localVarRequestOptions.headers = {
13865
+ ...localVarHeaderParameter,
13866
+ ...headersFromBaseOptions,
13867
+ ...options.headers,
13868
+ };
13869
+ return {
13870
+ url: toPathString(localVarUrlObj),
13871
+ options: localVarRequestOptions,
13872
+ };
13873
+ },
13874
+ /**
13875
+ * Deletes JSON web key - used to verify JSON web tokens (Jwts)
13876
+ * @summary Delete Jwk
13877
+ * @param {string} id
13878
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
13879
+ * @param {*} [options] Override http request option.
13880
+ * @throws {RequiredError}
13881
+ */
13882
+ deleteEntityJwks: async (id, filter, options = {}) => {
13883
+ // verify required parameter 'id' is not null or undefined
13884
+ assertParamExists("deleteEntityJwks", "id", id);
13885
+ const localVarPath = `/api/v1/entities/jwks/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
13886
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13887
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13888
+ let baseOptions;
13889
+ if (configuration) {
13890
+ baseOptions = configuration.baseOptions;
13891
+ }
13892
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
13893
+ const localVarHeaderParameter = {};
13894
+ const localVarQueryParameter = {};
13895
+ if (filter !== undefined) {
13896
+ localVarQueryParameter["filter"] = filter;
13897
+ }
13898
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13899
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13900
+ localVarRequestOptions.headers = {
13901
+ ...localVarHeaderParameter,
13902
+ ...headersFromBaseOptions,
13903
+ ...options.headers,
13904
+ };
13905
+ return {
13906
+ url: toPathString(localVarUrlObj),
13907
+ options: localVarRequestOptions,
13908
+ };
13909
+ },
13910
+ /**
13911
+ *
13912
+ * @param {string} id
13913
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
13914
+ * @param {*} [options] Override http request option.
13915
+ * @throws {RequiredError}
13916
+ */
13917
+ deleteEntityLlmEndpoints: async (id, filter, options = {}) => {
13918
+ // verify required parameter 'id' is not null or undefined
13919
+ assertParamExists("deleteEntityLlmEndpoints", "id", id);
13920
+ const localVarPath = `/api/v1/entities/llmEndpoints/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
13665
13921
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
13666
13922
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13667
13923
  let baseOptions;
@@ -15122,6 +15378,70 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
15122
15378
  options: localVarRequestOptions,
15123
15379
  };
15124
15380
  },
15381
+ /**
15382
+ *
15383
+ * @summary Get all Filter views
15384
+ * @param {string} workspaceId
15385
+ * @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
15386
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
15387
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
15388
+ * @param {number} [page] Zero-based page index (0..N)
15389
+ * @param {number} [size] The size of the page to be returned
15390
+ * @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
15391
+ * @param {boolean} [xGDCVALIDATERELATIONS]
15392
+ * @param {Array<'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
15393
+ * @param {*} [options] Override http request option.
15394
+ * @throws {RequiredError}
15395
+ */
15396
+ getAllEntitiesFilterViews: async (workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options = {}) => {
15397
+ // verify required parameter 'workspaceId' is not null or undefined
15398
+ assertParamExists("getAllEntitiesFilterViews", "workspaceId", workspaceId);
15399
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
15400
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15401
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15402
+ let baseOptions;
15403
+ if (configuration) {
15404
+ baseOptions = configuration.baseOptions;
15405
+ }
15406
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
15407
+ const localVarHeaderParameter = {};
15408
+ const localVarQueryParameter = {};
15409
+ if (origin !== undefined) {
15410
+ localVarQueryParameter["origin"] = origin;
15411
+ }
15412
+ if (filter !== undefined) {
15413
+ localVarQueryParameter["filter"] = filter;
15414
+ }
15415
+ if (include) {
15416
+ localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
15417
+ }
15418
+ if (page !== undefined) {
15419
+ localVarQueryParameter["page"] = page;
15420
+ }
15421
+ if (size !== undefined) {
15422
+ localVarQueryParameter["size"] = size;
15423
+ }
15424
+ if (sort) {
15425
+ localVarQueryParameter["sort"] = sort;
15426
+ }
15427
+ if (metaInclude) {
15428
+ localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
15429
+ }
15430
+ if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
15431
+ localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
15432
+ }
15433
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15434
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15435
+ localVarRequestOptions.headers = {
15436
+ ...localVarHeaderParameter,
15437
+ ...headersFromBaseOptions,
15438
+ ...options.headers,
15439
+ };
15440
+ return {
15441
+ url: toPathString(localVarUrlObj),
15442
+ options: localVarRequestOptions,
15443
+ };
15444
+ },
15125
15445
  /**
15126
15446
  *
15127
15447
  * @summary Get all Identity Providers
@@ -16969,6 +17289,55 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
16969
17289
  options: localVarRequestOptions,
16970
17290
  };
16971
17291
  },
17292
+ /**
17293
+ *
17294
+ * @summary Get Filter view
17295
+ * @param {string} workspaceId
17296
+ * @param {string} objectId
17297
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
17298
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
17299
+ * @param {boolean} [xGDCVALIDATERELATIONS]
17300
+ * @param {*} [options] Override http request option.
17301
+ * @throws {RequiredError}
17302
+ */
17303
+ getEntityFilterViews: async (workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, options = {}) => {
17304
+ // verify required parameter 'workspaceId' is not null or undefined
17305
+ assertParamExists("getEntityFilterViews", "workspaceId", workspaceId);
17306
+ // verify required parameter 'objectId' is not null or undefined
17307
+ assertParamExists("getEntityFilterViews", "objectId", objectId);
17308
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
17309
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
17310
+ .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
17311
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17312
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17313
+ let baseOptions;
17314
+ if (configuration) {
17315
+ baseOptions = configuration.baseOptions;
17316
+ }
17317
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
17318
+ const localVarHeaderParameter = {};
17319
+ const localVarQueryParameter = {};
17320
+ if (filter !== undefined) {
17321
+ localVarQueryParameter["filter"] = filter;
17322
+ }
17323
+ if (include) {
17324
+ localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
17325
+ }
17326
+ if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
17327
+ localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
17328
+ }
17329
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17330
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17331
+ localVarRequestOptions.headers = {
17332
+ ...localVarHeaderParameter,
17333
+ ...headersFromBaseOptions,
17334
+ ...options.headers,
17335
+ };
17336
+ return {
17337
+ url: toPathString(localVarUrlObj),
17338
+ options: localVarRequestOptions,
17339
+ };
17340
+ },
16972
17341
  /**
16973
17342
  *
16974
17343
  * @summary Get Identity Provider
@@ -18398,6 +18767,60 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
18398
18767
  options: localVarRequestOptions,
18399
18768
  };
18400
18769
  },
18770
+ /**
18771
+ *
18772
+ * @summary Patch Filter view
18773
+ * @param {string} workspaceId
18774
+ * @param {string} objectId
18775
+ * @param {JsonApiFilterViewPatchDocument} jsonApiFilterViewPatchDocument
18776
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
18777
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
18778
+ * @param {*} [options] Override http request option.
18779
+ * @throws {RequiredError}
18780
+ */
18781
+ patchEntityFilterViews: async (workspaceId, objectId, jsonApiFilterViewPatchDocument, filter, include, options = {}) => {
18782
+ // verify required parameter 'workspaceId' is not null or undefined
18783
+ assertParamExists("patchEntityFilterViews", "workspaceId", workspaceId);
18784
+ // verify required parameter 'objectId' is not null or undefined
18785
+ assertParamExists("patchEntityFilterViews", "objectId", objectId);
18786
+ // verify required parameter 'jsonApiFilterViewPatchDocument' is not null or undefined
18787
+ assertParamExists("patchEntityFilterViews", "jsonApiFilterViewPatchDocument", jsonApiFilterViewPatchDocument);
18788
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
18789
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
18790
+ .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
18791
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18792
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18793
+ let baseOptions;
18794
+ if (configuration) {
18795
+ baseOptions = configuration.baseOptions;
18796
+ }
18797
+ const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
18798
+ const localVarHeaderParameter = {};
18799
+ const localVarQueryParameter = {};
18800
+ if (filter !== undefined) {
18801
+ localVarQueryParameter["filter"] = filter;
18802
+ }
18803
+ if (include) {
18804
+ localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
18805
+ }
18806
+ localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
18807
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18808
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18809
+ localVarRequestOptions.headers = {
18810
+ ...localVarHeaderParameter,
18811
+ ...headersFromBaseOptions,
18812
+ ...options.headers,
18813
+ };
18814
+ const needsSerialization = typeof jsonApiFilterViewPatchDocument !== "string" ||
18815
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
18816
+ localVarRequestOptions.data = needsSerialization
18817
+ ? JSON.stringify(jsonApiFilterViewPatchDocument !== undefined ? jsonApiFilterViewPatchDocument : {})
18818
+ : jsonApiFilterViewPatchDocument || "";
18819
+ return {
18820
+ url: toPathString(localVarUrlObj),
18821
+ options: localVarRequestOptions,
18822
+ };
18823
+ },
18401
18824
  /**
18402
18825
  *
18403
18826
  * @summary Patch Identity Provider
@@ -19764,6 +20187,60 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
19764
20187
  options: localVarRequestOptions,
19765
20188
  };
19766
20189
  },
20190
+ /**
20191
+ *
20192
+ * @summary Put Filter views
20193
+ * @param {string} workspaceId
20194
+ * @param {string} objectId
20195
+ * @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
20196
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
20197
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
20198
+ * @param {*} [options] Override http request option.
20199
+ * @throws {RequiredError}
20200
+ */
20201
+ updateEntityFilterViews: async (workspaceId, objectId, jsonApiFilterViewInDocument, filter, include, options = {}) => {
20202
+ // verify required parameter 'workspaceId' is not null or undefined
20203
+ assertParamExists("updateEntityFilterViews", "workspaceId", workspaceId);
20204
+ // verify required parameter 'objectId' is not null or undefined
20205
+ assertParamExists("updateEntityFilterViews", "objectId", objectId);
20206
+ // verify required parameter 'jsonApiFilterViewInDocument' is not null or undefined
20207
+ assertParamExists("updateEntityFilterViews", "jsonApiFilterViewInDocument", jsonApiFilterViewInDocument);
20208
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
20209
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
20210
+ .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
20211
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20212
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20213
+ let baseOptions;
20214
+ if (configuration) {
20215
+ baseOptions = configuration.baseOptions;
20216
+ }
20217
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
20218
+ const localVarHeaderParameter = {};
20219
+ const localVarQueryParameter = {};
20220
+ if (filter !== undefined) {
20221
+ localVarQueryParameter["filter"] = filter;
20222
+ }
20223
+ if (include) {
20224
+ localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
20225
+ }
20226
+ localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
20227
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20228
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20229
+ localVarRequestOptions.headers = {
20230
+ ...localVarHeaderParameter,
20231
+ ...headersFromBaseOptions,
20232
+ ...options.headers,
20233
+ };
20234
+ const needsSerialization = typeof jsonApiFilterViewInDocument !== "string" ||
20235
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
20236
+ localVarRequestOptions.data = needsSerialization
20237
+ ? JSON.stringify(jsonApiFilterViewInDocument !== undefined ? jsonApiFilterViewInDocument : {})
20238
+ : jsonApiFilterViewInDocument || "";
20239
+ return {
20240
+ url: toPathString(localVarUrlObj),
20241
+ options: localVarRequestOptions,
20242
+ };
20243
+ },
19767
20244
  /**
19768
20245
  *
19769
20246
  * @summary Put Identity Provider
@@ -20766,6 +21243,19 @@ export const EntitiesApiFp = function (configuration) {
20766
21243
  const localVarAxiosArgs = await localVarAxiosParamCreator.createEntityFilterContexts(workspaceId, jsonApiFilterContextPostOptionalIdDocument, include, metaInclude, options);
20767
21244
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
20768
21245
  },
21246
+ /**
21247
+ *
21248
+ * @summary Post Filter views
21249
+ * @param {string} workspaceId
21250
+ * @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
21251
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
21252
+ * @param {*} [options] Override http request option.
21253
+ * @throws {RequiredError}
21254
+ */
21255
+ async createEntityFilterViews(workspaceId, jsonApiFilterViewInDocument, include, options) {
21256
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createEntityFilterViews(workspaceId, jsonApiFilterViewInDocument, include, options);
21257
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
21258
+ },
20769
21259
  /**
20770
21260
  *
20771
21261
  * @summary Post Identity Providers
@@ -21104,6 +21594,19 @@ export const EntitiesApiFp = function (configuration) {
21104
21594
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEntityFilterContexts(workspaceId, objectId, filter, options);
21105
21595
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
21106
21596
  },
21597
+ /**
21598
+ *
21599
+ * @summary Delete Filter view
21600
+ * @param {string} workspaceId
21601
+ * @param {string} objectId
21602
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
21603
+ * @param {*} [options] Override http request option.
21604
+ * @throws {RequiredError}
21605
+ */
21606
+ async deleteEntityFilterViews(workspaceId, objectId, filter, options) {
21607
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEntityFilterViews(workspaceId, objectId, filter, options);
21608
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
21609
+ },
21107
21610
  /**
21108
21611
  *
21109
21612
  * @summary Delete Identity Provider
@@ -21582,6 +22085,25 @@ export const EntitiesApiFp = function (configuration) {
21582
22085
  const localVarAxiosArgs = await localVarAxiosParamCreator.getAllEntitiesFilterContexts(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options);
21583
22086
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
21584
22087
  },
22088
+ /**
22089
+ *
22090
+ * @summary Get all Filter views
22091
+ * @param {string} workspaceId
22092
+ * @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
22093
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
22094
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
22095
+ * @param {number} [page] Zero-based page index (0..N)
22096
+ * @param {number} [size] The size of the page to be returned
22097
+ * @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
22098
+ * @param {boolean} [xGDCVALIDATERELATIONS]
22099
+ * @param {Array<'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
22100
+ * @param {*} [options] Override http request option.
22101
+ * @throws {RequiredError}
22102
+ */
22103
+ async getAllEntitiesFilterViews(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options) {
22104
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAllEntitiesFilterViews(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options);
22105
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22106
+ },
21585
22107
  /**
21586
22108
  *
21587
22109
  * @summary Get all Identity Providers
@@ -22149,6 +22671,21 @@ export const EntitiesApiFp = function (configuration) {
22149
22671
  const localVarAxiosArgs = await localVarAxiosParamCreator.getEntityFilterContexts(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, metaInclude, options);
22150
22672
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22151
22673
  },
22674
+ /**
22675
+ *
22676
+ * @summary Get Filter view
22677
+ * @param {string} workspaceId
22678
+ * @param {string} objectId
22679
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
22680
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
22681
+ * @param {boolean} [xGDCVALIDATERELATIONS]
22682
+ * @param {*} [options] Override http request option.
22683
+ * @throws {RequiredError}
22684
+ */
22685
+ async getEntityFilterViews(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, options) {
22686
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEntityFilterViews(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, options);
22687
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22688
+ },
22152
22689
  /**
22153
22690
  *
22154
22691
  * @summary Get Identity Provider
@@ -22578,6 +23115,21 @@ export const EntitiesApiFp = function (configuration) {
22578
23115
  const localVarAxiosArgs = await localVarAxiosParamCreator.patchEntityFilterContexts(workspaceId, objectId, jsonApiFilterContextPatchDocument, filter, include, options);
22579
23116
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22580
23117
  },
23118
+ /**
23119
+ *
23120
+ * @summary Patch Filter view
23121
+ * @param {string} workspaceId
23122
+ * @param {string} objectId
23123
+ * @param {JsonApiFilterViewPatchDocument} jsonApiFilterViewPatchDocument
23124
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
23125
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
23126
+ * @param {*} [options] Override http request option.
23127
+ * @throws {RequiredError}
23128
+ */
23129
+ async patchEntityFilterViews(workspaceId, objectId, jsonApiFilterViewPatchDocument, filter, include, options) {
23130
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchEntityFilterViews(workspaceId, objectId, jsonApiFilterViewPatchDocument, filter, include, options);
23131
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23132
+ },
22581
23133
  /**
22582
23134
  *
22583
23135
  * @summary Patch Identity Provider
@@ -22957,6 +23509,21 @@ export const EntitiesApiFp = function (configuration) {
22957
23509
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateEntityFilterContexts(workspaceId, objectId, jsonApiFilterContextInDocument, filter, include, options);
22958
23510
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22959
23511
  },
23512
+ /**
23513
+ *
23514
+ * @summary Put Filter views
23515
+ * @param {string} workspaceId
23516
+ * @param {string} objectId
23517
+ * @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
23518
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
23519
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
23520
+ * @param {*} [options] Override http request option.
23521
+ * @throws {RequiredError}
23522
+ */
23523
+ async updateEntityFilterViews(workspaceId, objectId, jsonApiFilterViewInDocument, filter, include, options) {
23524
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateEntityFilterViews(workspaceId, objectId, jsonApiFilterViewInDocument, filter, include, options);
23525
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23526
+ },
22960
23527
  /**
22961
23528
  *
22962
23529
  * @summary Put Identity Provider
@@ -23335,6 +23902,18 @@ export const EntitiesApiFactory = function (configuration, basePath, axios) {
23335
23902
  .createEntityFilterContexts(requestParameters.workspaceId, requestParameters.jsonApiFilterContextPostOptionalIdDocument, requestParameters.include, requestParameters.metaInclude, options)
23336
23903
  .then((request) => request(axios, basePath));
23337
23904
  },
23905
+ /**
23906
+ *
23907
+ * @summary Post Filter views
23908
+ * @param {EntitiesApiCreateEntityFilterViewsRequest} requestParameters Request parameters.
23909
+ * @param {*} [options] Override http request option.
23910
+ * @throws {RequiredError}
23911
+ */
23912
+ createEntityFilterViews(requestParameters, options) {
23913
+ return localVarFp
23914
+ .createEntityFilterViews(requestParameters.workspaceId, requestParameters.jsonApiFilterViewInDocument, requestParameters.include, options)
23915
+ .then((request) => request(axios, basePath));
23916
+ },
23338
23917
  /**
23339
23918
  *
23340
23919
  * @summary Post Identity Providers
@@ -23659,6 +24238,18 @@ export const EntitiesApiFactory = function (configuration, basePath, axios) {
23659
24238
  .deleteEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
23660
24239
  .then((request) => request(axios, basePath));
23661
24240
  },
24241
+ /**
24242
+ *
24243
+ * @summary Delete Filter view
24244
+ * @param {EntitiesApiDeleteEntityFilterViewsRequest} requestParameters Request parameters.
24245
+ * @param {*} [options] Override http request option.
24246
+ * @throws {RequiredError}
24247
+ */
24248
+ deleteEntityFilterViews(requestParameters, options) {
24249
+ return localVarFp
24250
+ .deleteEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
24251
+ .then((request) => request(axios, basePath));
24252
+ },
23662
24253
  /**
23663
24254
  *
23664
24255
  * @summary Delete Identity Provider
@@ -24042,6 +24633,18 @@ export const EntitiesApiFactory = function (configuration, basePath, axios) {
24042
24633
  .getAllEntitiesFilterContexts(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
24043
24634
  .then((request) => request(axios, basePath));
24044
24635
  },
24636
+ /**
24637
+ *
24638
+ * @summary Get all Filter views
24639
+ * @param {EntitiesApiGetAllEntitiesFilterViewsRequest} requestParameters Request parameters.
24640
+ * @param {*} [options] Override http request option.
24641
+ * @throws {RequiredError}
24642
+ */
24643
+ getAllEntitiesFilterViews(requestParameters, options) {
24644
+ return localVarFp
24645
+ .getAllEntitiesFilterViews(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
24646
+ .then((request) => request(axios, basePath));
24647
+ },
24045
24648
  /**
24046
24649
  *
24047
24650
  * @summary Get all Identity Providers
@@ -24480,6 +25083,18 @@ export const EntitiesApiFactory = function (configuration, basePath, axios) {
24480
25083
  .getEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
24481
25084
  .then((request) => request(axios, basePath));
24482
25085
  },
25086
+ /**
25087
+ *
25088
+ * @summary Get Filter view
25089
+ * @param {EntitiesApiGetEntityFilterViewsRequest} requestParameters Request parameters.
25090
+ * @param {*} [options] Override http request option.
25091
+ * @throws {RequiredError}
25092
+ */
25093
+ getEntityFilterViews(requestParameters, options) {
25094
+ return localVarFp
25095
+ .getEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, options)
25096
+ .then((request) => request(axios, basePath));
25097
+ },
24483
25098
  /**
24484
25099
  *
24485
25100
  * @summary Get Identity Provider
@@ -24852,6 +25467,18 @@ export const EntitiesApiFactory = function (configuration, basePath, axios) {
24852
25467
  .patchEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterContextPatchDocument, requestParameters.filter, requestParameters.include, options)
24853
25468
  .then((request) => request(axios, basePath));
24854
25469
  },
25470
+ /**
25471
+ *
25472
+ * @summary Patch Filter view
25473
+ * @param {EntitiesApiPatchEntityFilterViewsRequest} requestParameters Request parameters.
25474
+ * @param {*} [options] Override http request option.
25475
+ * @throws {RequiredError}
25476
+ */
25477
+ patchEntityFilterViews(requestParameters, options) {
25478
+ return localVarFp
25479
+ .patchEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewPatchDocument, requestParameters.filter, requestParameters.include, options)
25480
+ .then((request) => request(axios, basePath));
25481
+ },
24855
25482
  /**
24856
25483
  *
24857
25484
  * @summary Patch Identity Provider
@@ -25176,6 +25803,18 @@ export const EntitiesApiFactory = function (configuration, basePath, axios) {
25176
25803
  .updateEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterContextInDocument, requestParameters.filter, requestParameters.include, options)
25177
25804
  .then((request) => request(axios, basePath));
25178
25805
  },
25806
+ /**
25807
+ *
25808
+ * @summary Put Filter views
25809
+ * @param {EntitiesApiUpdateEntityFilterViewsRequest} requestParameters Request parameters.
25810
+ * @param {*} [options] Override http request option.
25811
+ * @throws {RequiredError}
25812
+ */
25813
+ updateEntityFilterViews(requestParameters, options) {
25814
+ return localVarFp
25815
+ .updateEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewInDocument, requestParameters.filter, requestParameters.include, options)
25816
+ .then((request) => request(axios, basePath));
25817
+ },
25179
25818
  /**
25180
25819
  *
25181
25820
  * @summary Put Identity Provider
@@ -25532,6 +26171,19 @@ export class EntitiesApi extends BaseAPI {
25532
26171
  .createEntityFilterContexts(requestParameters.workspaceId, requestParameters.jsonApiFilterContextPostOptionalIdDocument, requestParameters.include, requestParameters.metaInclude, options)
25533
26172
  .then((request) => request(this.axios, this.basePath));
25534
26173
  }
26174
+ /**
26175
+ *
26176
+ * @summary Post Filter views
26177
+ * @param {EntitiesApiCreateEntityFilterViewsRequest} requestParameters Request parameters.
26178
+ * @param {*} [options] Override http request option.
26179
+ * @throws {RequiredError}
26180
+ * @memberof EntitiesApi
26181
+ */
26182
+ createEntityFilterViews(requestParameters, options) {
26183
+ return EntitiesApiFp(this.configuration)
26184
+ .createEntityFilterViews(requestParameters.workspaceId, requestParameters.jsonApiFilterViewInDocument, requestParameters.include, options)
26185
+ .then((request) => request(this.axios, this.basePath));
26186
+ }
25535
26187
  /**
25536
26188
  *
25537
26189
  * @summary Post Identity Providers
@@ -25883,6 +26535,19 @@ export class EntitiesApi extends BaseAPI {
25883
26535
  .deleteEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
25884
26536
  .then((request) => request(this.axios, this.basePath));
25885
26537
  }
26538
+ /**
26539
+ *
26540
+ * @summary Delete Filter view
26541
+ * @param {EntitiesApiDeleteEntityFilterViewsRequest} requestParameters Request parameters.
26542
+ * @param {*} [options] Override http request option.
26543
+ * @throws {RequiredError}
26544
+ * @memberof EntitiesApi
26545
+ */
26546
+ deleteEntityFilterViews(requestParameters, options) {
26547
+ return EntitiesApiFp(this.configuration)
26548
+ .deleteEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
26549
+ .then((request) => request(this.axios, this.basePath));
26550
+ }
25886
26551
  /**
25887
26552
  *
25888
26553
  * @summary Delete Identity Provider
@@ -26298,6 +26963,19 @@ export class EntitiesApi extends BaseAPI {
26298
26963
  .getAllEntitiesFilterContexts(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
26299
26964
  .then((request) => request(this.axios, this.basePath));
26300
26965
  }
26966
+ /**
26967
+ *
26968
+ * @summary Get all Filter views
26969
+ * @param {EntitiesApiGetAllEntitiesFilterViewsRequest} requestParameters Request parameters.
26970
+ * @param {*} [options] Override http request option.
26971
+ * @throws {RequiredError}
26972
+ * @memberof EntitiesApi
26973
+ */
26974
+ getAllEntitiesFilterViews(requestParameters, options) {
26975
+ return EntitiesApiFp(this.configuration)
26976
+ .getAllEntitiesFilterViews(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
26977
+ .then((request) => request(this.axios, this.basePath));
26978
+ }
26301
26979
  /**
26302
26980
  *
26303
26981
  * @summary Get all Identity Providers
@@ -26777,6 +27455,19 @@ export class EntitiesApi extends BaseAPI {
26777
27455
  .getEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
26778
27456
  .then((request) => request(this.axios, this.basePath));
26779
27457
  }
27458
+ /**
27459
+ *
27460
+ * @summary Get Filter view
27461
+ * @param {EntitiesApiGetEntityFilterViewsRequest} requestParameters Request parameters.
27462
+ * @param {*} [options] Override http request option.
27463
+ * @throws {RequiredError}
27464
+ * @memberof EntitiesApi
27465
+ */
27466
+ getEntityFilterViews(requestParameters, options) {
27467
+ return EntitiesApiFp(this.configuration)
27468
+ .getEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, options)
27469
+ .then((request) => request(this.axios, this.basePath));
27470
+ }
26780
27471
  /**
26781
27472
  *
26782
27473
  * @summary Get Identity Provider
@@ -27180,6 +27871,19 @@ export class EntitiesApi extends BaseAPI {
27180
27871
  .patchEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterContextPatchDocument, requestParameters.filter, requestParameters.include, options)
27181
27872
  .then((request) => request(this.axios, this.basePath));
27182
27873
  }
27874
+ /**
27875
+ *
27876
+ * @summary Patch Filter view
27877
+ * @param {EntitiesApiPatchEntityFilterViewsRequest} requestParameters Request parameters.
27878
+ * @param {*} [options] Override http request option.
27879
+ * @throws {RequiredError}
27880
+ * @memberof EntitiesApi
27881
+ */
27882
+ patchEntityFilterViews(requestParameters, options) {
27883
+ return EntitiesApiFp(this.configuration)
27884
+ .patchEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewPatchDocument, requestParameters.filter, requestParameters.include, options)
27885
+ .then((request) => request(this.axios, this.basePath));
27886
+ }
27183
27887
  /**
27184
27888
  *
27185
27889
  * @summary Patch Identity Provider
@@ -27531,6 +28235,19 @@ export class EntitiesApi extends BaseAPI {
27531
28235
  .updateEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterContextInDocument, requestParameters.filter, requestParameters.include, options)
27532
28236
  .then((request) => request(this.axios, this.basePath));
27533
28237
  }
28238
+ /**
28239
+ *
28240
+ * @summary Put Filter views
28241
+ * @param {EntitiesApiUpdateEntityFilterViewsRequest} requestParameters Request parameters.
28242
+ * @param {*} [options] Override http request option.
28243
+ * @throws {RequiredError}
28244
+ * @memberof EntitiesApi
28245
+ */
28246
+ updateEntityFilterViews(requestParameters, options) {
28247
+ return EntitiesApiFp(this.configuration)
28248
+ .updateEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewInDocument, requestParameters.filter, requestParameters.include, options)
28249
+ .then((request) => request(this.axios, this.basePath));
28250
+ }
27534
28251
  /**
27535
28252
  *
27536
28253
  * @summary Put Identity Provider
@@ -28752,22 +29469,343 @@ export const FactsApiAxiosParamCreator = function (configuration) {
28752
29469
  },
28753
29470
  /**
28754
29471
  *
28755
- * @summary Get a Fact
29472
+ * @summary Get a Fact
29473
+ * @param {string} workspaceId
29474
+ * @param {string} objectId
29475
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
29476
+ * @param {Array<'datasets' | 'dataset' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
29477
+ * @param {boolean} [xGDCVALIDATERELATIONS]
29478
+ * @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
29479
+ * @param {*} [options] Override http request option.
29480
+ * @throws {RequiredError}
29481
+ */
29482
+ getEntityFacts: async (workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, metaInclude, options = {}) => {
29483
+ // verify required parameter 'workspaceId' is not null or undefined
29484
+ assertParamExists("getEntityFacts", "workspaceId", workspaceId);
29485
+ // verify required parameter 'objectId' is not null or undefined
29486
+ assertParamExists("getEntityFacts", "objectId", objectId);
29487
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/facts/{objectId}`
29488
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
29489
+ .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
29490
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29491
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29492
+ let baseOptions;
29493
+ if (configuration) {
29494
+ baseOptions = configuration.baseOptions;
29495
+ }
29496
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
29497
+ const localVarHeaderParameter = {};
29498
+ const localVarQueryParameter = {};
29499
+ if (filter !== undefined) {
29500
+ localVarQueryParameter["filter"] = filter;
29501
+ }
29502
+ if (include) {
29503
+ localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
29504
+ }
29505
+ if (metaInclude) {
29506
+ localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
29507
+ }
29508
+ if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
29509
+ localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
29510
+ }
29511
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29512
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29513
+ localVarRequestOptions.headers = {
29514
+ ...localVarHeaderParameter,
29515
+ ...headersFromBaseOptions,
29516
+ ...options.headers,
29517
+ };
29518
+ return {
29519
+ url: toPathString(localVarUrlObj),
29520
+ options: localVarRequestOptions,
29521
+ };
29522
+ },
29523
+ };
29524
+ };
29525
+ /**
29526
+ * FactsApi - functional programming interface
29527
+ * @export
29528
+ */
29529
+ export const FactsApiFp = function (configuration) {
29530
+ const localVarAxiosParamCreator = FactsApiAxiosParamCreator(configuration);
29531
+ return {
29532
+ /**
29533
+ *
29534
+ * @summary Get all Facts
29535
+ * @param {string} workspaceId
29536
+ * @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
29537
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
29538
+ * @param {Array<'datasets' | 'dataset' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
29539
+ * @param {number} [page] Zero-based page index (0..N)
29540
+ * @param {number} [size] The size of the page to be returned
29541
+ * @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
29542
+ * @param {boolean} [xGDCVALIDATERELATIONS]
29543
+ * @param {Array<'origin' | 'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
29544
+ * @param {*} [options] Override http request option.
29545
+ * @throws {RequiredError}
29546
+ */
29547
+ async getAllEntitiesFacts(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options) {
29548
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAllEntitiesFacts(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options);
29549
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29550
+ },
29551
+ /**
29552
+ *
29553
+ * @summary Get a Fact
29554
+ * @param {string} workspaceId
29555
+ * @param {string} objectId
29556
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
29557
+ * @param {Array<'datasets' | 'dataset' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
29558
+ * @param {boolean} [xGDCVALIDATERELATIONS]
29559
+ * @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
29560
+ * @param {*} [options] Override http request option.
29561
+ * @throws {RequiredError}
29562
+ */
29563
+ async getEntityFacts(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, metaInclude, options) {
29564
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEntityFacts(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, metaInclude, options);
29565
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29566
+ },
29567
+ };
29568
+ };
29569
+ /**
29570
+ * FactsApi - factory interface
29571
+ * @export
29572
+ */
29573
+ export const FactsApiFactory = function (configuration, basePath, axios) {
29574
+ const localVarFp = FactsApiFp(configuration);
29575
+ return {
29576
+ /**
29577
+ *
29578
+ * @summary Get all Facts
29579
+ * @param {FactsApiGetAllEntitiesFactsRequest} requestParameters Request parameters.
29580
+ * @param {*} [options] Override http request option.
29581
+ * @throws {RequiredError}
29582
+ */
29583
+ getAllEntitiesFacts(requestParameters, options) {
29584
+ return localVarFp
29585
+ .getAllEntitiesFacts(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
29586
+ .then((request) => request(axios, basePath));
29587
+ },
29588
+ /**
29589
+ *
29590
+ * @summary Get a Fact
29591
+ * @param {FactsApiGetEntityFactsRequest} requestParameters Request parameters.
29592
+ * @param {*} [options] Override http request option.
29593
+ * @throws {RequiredError}
29594
+ */
29595
+ getEntityFacts(requestParameters, options) {
29596
+ return localVarFp
29597
+ .getEntityFacts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
29598
+ .then((request) => request(axios, basePath));
29599
+ },
29600
+ };
29601
+ };
29602
+ /**
29603
+ * FactsApi - object-oriented interface
29604
+ * @export
29605
+ * @class FactsApi
29606
+ * @extends {BaseAPI}
29607
+ */
29608
+ export class FactsApi extends BaseAPI {
29609
+ /**
29610
+ *
29611
+ * @summary Get all Facts
29612
+ * @param {FactsApiGetAllEntitiesFactsRequest} requestParameters Request parameters.
29613
+ * @param {*} [options] Override http request option.
29614
+ * @throws {RequiredError}
29615
+ * @memberof FactsApi
29616
+ */
29617
+ getAllEntitiesFacts(requestParameters, options) {
29618
+ return FactsApiFp(this.configuration)
29619
+ .getAllEntitiesFacts(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
29620
+ .then((request) => request(this.axios, this.basePath));
29621
+ }
29622
+ /**
29623
+ *
29624
+ * @summary Get a Fact
29625
+ * @param {FactsApiGetEntityFactsRequest} requestParameters Request parameters.
29626
+ * @param {*} [options] Override http request option.
29627
+ * @throws {RequiredError}
29628
+ * @memberof FactsApi
29629
+ */
29630
+ getEntityFacts(requestParameters, options) {
29631
+ return FactsApiFp(this.configuration)
29632
+ .getEntityFacts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
29633
+ .then((request) => request(this.axios, this.basePath));
29634
+ }
29635
+ }
29636
+ /**
29637
+ * FilterViewsApi - axios parameter creator
29638
+ * @export
29639
+ */
29640
+ export const FilterViewsApiAxiosParamCreator = function (configuration) {
29641
+ return {
29642
+ /**
29643
+ *
29644
+ * @summary Post Filter views
29645
+ * @param {string} workspaceId
29646
+ * @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
29647
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
29648
+ * @param {*} [options] Override http request option.
29649
+ * @throws {RequiredError}
29650
+ */
29651
+ createEntityFilterViews: async (workspaceId, jsonApiFilterViewInDocument, include, options = {}) => {
29652
+ // verify required parameter 'workspaceId' is not null or undefined
29653
+ assertParamExists("createEntityFilterViews", "workspaceId", workspaceId);
29654
+ // verify required parameter 'jsonApiFilterViewInDocument' is not null or undefined
29655
+ assertParamExists("createEntityFilterViews", "jsonApiFilterViewInDocument", jsonApiFilterViewInDocument);
29656
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
29657
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29658
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29659
+ let baseOptions;
29660
+ if (configuration) {
29661
+ baseOptions = configuration.baseOptions;
29662
+ }
29663
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
29664
+ const localVarHeaderParameter = {};
29665
+ const localVarQueryParameter = {};
29666
+ if (include) {
29667
+ localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
29668
+ }
29669
+ localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
29670
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29671
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29672
+ localVarRequestOptions.headers = {
29673
+ ...localVarHeaderParameter,
29674
+ ...headersFromBaseOptions,
29675
+ ...options.headers,
29676
+ };
29677
+ const needsSerialization = typeof jsonApiFilterViewInDocument !== "string" ||
29678
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
29679
+ localVarRequestOptions.data = needsSerialization
29680
+ ? JSON.stringify(jsonApiFilterViewInDocument !== undefined ? jsonApiFilterViewInDocument : {})
29681
+ : jsonApiFilterViewInDocument || "";
29682
+ return {
29683
+ url: toPathString(localVarUrlObj),
29684
+ options: localVarRequestOptions,
29685
+ };
29686
+ },
29687
+ /**
29688
+ *
29689
+ * @summary Delete Filter view
29690
+ * @param {string} workspaceId
29691
+ * @param {string} objectId
29692
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
29693
+ * @param {*} [options] Override http request option.
29694
+ * @throws {RequiredError}
29695
+ */
29696
+ deleteEntityFilterViews: async (workspaceId, objectId, filter, options = {}) => {
29697
+ // verify required parameter 'workspaceId' is not null or undefined
29698
+ assertParamExists("deleteEntityFilterViews", "workspaceId", workspaceId);
29699
+ // verify required parameter 'objectId' is not null or undefined
29700
+ assertParamExists("deleteEntityFilterViews", "objectId", objectId);
29701
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
29702
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
29703
+ .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
29704
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29705
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29706
+ let baseOptions;
29707
+ if (configuration) {
29708
+ baseOptions = configuration.baseOptions;
29709
+ }
29710
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
29711
+ const localVarHeaderParameter = {};
29712
+ const localVarQueryParameter = {};
29713
+ if (filter !== undefined) {
29714
+ localVarQueryParameter["filter"] = filter;
29715
+ }
29716
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29717
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29718
+ localVarRequestOptions.headers = {
29719
+ ...localVarHeaderParameter,
29720
+ ...headersFromBaseOptions,
29721
+ ...options.headers,
29722
+ };
29723
+ return {
29724
+ url: toPathString(localVarUrlObj),
29725
+ options: localVarRequestOptions,
29726
+ };
29727
+ },
29728
+ /**
29729
+ *
29730
+ * @summary Get all Filter views
29731
+ * @param {string} workspaceId
29732
+ * @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
29733
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
29734
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
29735
+ * @param {number} [page] Zero-based page index (0..N)
29736
+ * @param {number} [size] The size of the page to be returned
29737
+ * @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
29738
+ * @param {boolean} [xGDCVALIDATERELATIONS]
29739
+ * @param {Array<'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
29740
+ * @param {*} [options] Override http request option.
29741
+ * @throws {RequiredError}
29742
+ */
29743
+ getAllEntitiesFilterViews: async (workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options = {}) => {
29744
+ // verify required parameter 'workspaceId' is not null or undefined
29745
+ assertParamExists("getAllEntitiesFilterViews", "workspaceId", workspaceId);
29746
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
29747
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29748
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29749
+ let baseOptions;
29750
+ if (configuration) {
29751
+ baseOptions = configuration.baseOptions;
29752
+ }
29753
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
29754
+ const localVarHeaderParameter = {};
29755
+ const localVarQueryParameter = {};
29756
+ if (origin !== undefined) {
29757
+ localVarQueryParameter["origin"] = origin;
29758
+ }
29759
+ if (filter !== undefined) {
29760
+ localVarQueryParameter["filter"] = filter;
29761
+ }
29762
+ if (include) {
29763
+ localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
29764
+ }
29765
+ if (page !== undefined) {
29766
+ localVarQueryParameter["page"] = page;
29767
+ }
29768
+ if (size !== undefined) {
29769
+ localVarQueryParameter["size"] = size;
29770
+ }
29771
+ if (sort) {
29772
+ localVarQueryParameter["sort"] = sort;
29773
+ }
29774
+ if (metaInclude) {
29775
+ localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
29776
+ }
29777
+ if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
29778
+ localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
29779
+ }
29780
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29781
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29782
+ localVarRequestOptions.headers = {
29783
+ ...localVarHeaderParameter,
29784
+ ...headersFromBaseOptions,
29785
+ ...options.headers,
29786
+ };
29787
+ return {
29788
+ url: toPathString(localVarUrlObj),
29789
+ options: localVarRequestOptions,
29790
+ };
29791
+ },
29792
+ /**
29793
+ *
29794
+ * @summary Get Filter view
28756
29795
  * @param {string} workspaceId
28757
29796
  * @param {string} objectId
28758
29797
  * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
28759
- * @param {Array<'datasets' | 'dataset' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
29798
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
28760
29799
  * @param {boolean} [xGDCVALIDATERELATIONS]
28761
- * @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
28762
29800
  * @param {*} [options] Override http request option.
28763
29801
  * @throws {RequiredError}
28764
29802
  */
28765
- getEntityFacts: async (workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, metaInclude, options = {}) => {
29803
+ getEntityFilterViews: async (workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, options = {}) => {
28766
29804
  // verify required parameter 'workspaceId' is not null or undefined
28767
- assertParamExists("getEntityFacts", "workspaceId", workspaceId);
29805
+ assertParamExists("getEntityFilterViews", "workspaceId", workspaceId);
28768
29806
  // verify required parameter 'objectId' is not null or undefined
28769
- assertParamExists("getEntityFacts", "objectId", objectId);
28770
- const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/facts/{objectId}`
29807
+ assertParamExists("getEntityFilterViews", "objectId", objectId);
29808
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
28771
29809
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
28772
29810
  .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
28773
29811
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -28785,9 +29823,6 @@ export const FactsApiAxiosParamCreator = function (configuration) {
28785
29823
  if (include) {
28786
29824
  localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
28787
29825
  }
28788
- if (metaInclude) {
28789
- localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
28790
- }
28791
29826
  if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
28792
29827
  localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
28793
29828
  }
@@ -28803,116 +29838,379 @@ export const FactsApiAxiosParamCreator = function (configuration) {
28803
29838
  options: localVarRequestOptions,
28804
29839
  };
28805
29840
  },
29841
+ /**
29842
+ *
29843
+ * @summary Patch Filter view
29844
+ * @param {string} workspaceId
29845
+ * @param {string} objectId
29846
+ * @param {JsonApiFilterViewPatchDocument} jsonApiFilterViewPatchDocument
29847
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
29848
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
29849
+ * @param {*} [options] Override http request option.
29850
+ * @throws {RequiredError}
29851
+ */
29852
+ patchEntityFilterViews: async (workspaceId, objectId, jsonApiFilterViewPatchDocument, filter, include, options = {}) => {
29853
+ // verify required parameter 'workspaceId' is not null or undefined
29854
+ assertParamExists("patchEntityFilterViews", "workspaceId", workspaceId);
29855
+ // verify required parameter 'objectId' is not null or undefined
29856
+ assertParamExists("patchEntityFilterViews", "objectId", objectId);
29857
+ // verify required parameter 'jsonApiFilterViewPatchDocument' is not null or undefined
29858
+ assertParamExists("patchEntityFilterViews", "jsonApiFilterViewPatchDocument", jsonApiFilterViewPatchDocument);
29859
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
29860
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
29861
+ .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
29862
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29863
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29864
+ let baseOptions;
29865
+ if (configuration) {
29866
+ baseOptions = configuration.baseOptions;
29867
+ }
29868
+ const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
29869
+ const localVarHeaderParameter = {};
29870
+ const localVarQueryParameter = {};
29871
+ if (filter !== undefined) {
29872
+ localVarQueryParameter["filter"] = filter;
29873
+ }
29874
+ if (include) {
29875
+ localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
29876
+ }
29877
+ localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
29878
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29879
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29880
+ localVarRequestOptions.headers = {
29881
+ ...localVarHeaderParameter,
29882
+ ...headersFromBaseOptions,
29883
+ ...options.headers,
29884
+ };
29885
+ const needsSerialization = typeof jsonApiFilterViewPatchDocument !== "string" ||
29886
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
29887
+ localVarRequestOptions.data = needsSerialization
29888
+ ? JSON.stringify(jsonApiFilterViewPatchDocument !== undefined ? jsonApiFilterViewPatchDocument : {})
29889
+ : jsonApiFilterViewPatchDocument || "";
29890
+ return {
29891
+ url: toPathString(localVarUrlObj),
29892
+ options: localVarRequestOptions,
29893
+ };
29894
+ },
29895
+ /**
29896
+ *
29897
+ * @summary Put Filter views
29898
+ * @param {string} workspaceId
29899
+ * @param {string} objectId
29900
+ * @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
29901
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
29902
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
29903
+ * @param {*} [options] Override http request option.
29904
+ * @throws {RequiredError}
29905
+ */
29906
+ updateEntityFilterViews: async (workspaceId, objectId, jsonApiFilterViewInDocument, filter, include, options = {}) => {
29907
+ // verify required parameter 'workspaceId' is not null or undefined
29908
+ assertParamExists("updateEntityFilterViews", "workspaceId", workspaceId);
29909
+ // verify required parameter 'objectId' is not null or undefined
29910
+ assertParamExists("updateEntityFilterViews", "objectId", objectId);
29911
+ // verify required parameter 'jsonApiFilterViewInDocument' is not null or undefined
29912
+ assertParamExists("updateEntityFilterViews", "jsonApiFilterViewInDocument", jsonApiFilterViewInDocument);
29913
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
29914
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
29915
+ .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
29916
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29917
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29918
+ let baseOptions;
29919
+ if (configuration) {
29920
+ baseOptions = configuration.baseOptions;
29921
+ }
29922
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
29923
+ const localVarHeaderParameter = {};
29924
+ const localVarQueryParameter = {};
29925
+ if (filter !== undefined) {
29926
+ localVarQueryParameter["filter"] = filter;
29927
+ }
29928
+ if (include) {
29929
+ localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
29930
+ }
29931
+ localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
29932
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29933
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29934
+ localVarRequestOptions.headers = {
29935
+ ...localVarHeaderParameter,
29936
+ ...headersFromBaseOptions,
29937
+ ...options.headers,
29938
+ };
29939
+ const needsSerialization = typeof jsonApiFilterViewInDocument !== "string" ||
29940
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
29941
+ localVarRequestOptions.data = needsSerialization
29942
+ ? JSON.stringify(jsonApiFilterViewInDocument !== undefined ? jsonApiFilterViewInDocument : {})
29943
+ : jsonApiFilterViewInDocument || "";
29944
+ return {
29945
+ url: toPathString(localVarUrlObj),
29946
+ options: localVarRequestOptions,
29947
+ };
29948
+ },
28806
29949
  };
28807
29950
  };
28808
29951
  /**
28809
- * FactsApi - functional programming interface
29952
+ * FilterViewsApi - functional programming interface
28810
29953
  * @export
28811
29954
  */
28812
- export const FactsApiFp = function (configuration) {
28813
- const localVarAxiosParamCreator = FactsApiAxiosParamCreator(configuration);
29955
+ export const FilterViewsApiFp = function (configuration) {
29956
+ const localVarAxiosParamCreator = FilterViewsApiAxiosParamCreator(configuration);
28814
29957
  return {
28815
29958
  /**
28816
29959
  *
28817
- * @summary Get all Facts
29960
+ * @summary Post Filter views
29961
+ * @param {string} workspaceId
29962
+ * @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
29963
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
29964
+ * @param {*} [options] Override http request option.
29965
+ * @throws {RequiredError}
29966
+ */
29967
+ async createEntityFilterViews(workspaceId, jsonApiFilterViewInDocument, include, options) {
29968
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createEntityFilterViews(workspaceId, jsonApiFilterViewInDocument, include, options);
29969
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29970
+ },
29971
+ /**
29972
+ *
29973
+ * @summary Delete Filter view
29974
+ * @param {string} workspaceId
29975
+ * @param {string} objectId
29976
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
29977
+ * @param {*} [options] Override http request option.
29978
+ * @throws {RequiredError}
29979
+ */
29980
+ async deleteEntityFilterViews(workspaceId, objectId, filter, options) {
29981
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEntityFilterViews(workspaceId, objectId, filter, options);
29982
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29983
+ },
29984
+ /**
29985
+ *
29986
+ * @summary Get all Filter views
28818
29987
  * @param {string} workspaceId
28819
29988
  * @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
28820
29989
  * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
28821
- * @param {Array<'datasets' | 'dataset' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
29990
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
28822
29991
  * @param {number} [page] Zero-based page index (0..N)
28823
29992
  * @param {number} [size] The size of the page to be returned
28824
29993
  * @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
28825
29994
  * @param {boolean} [xGDCVALIDATERELATIONS]
28826
- * @param {Array<'origin' | 'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
29995
+ * @param {Array<'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
28827
29996
  * @param {*} [options] Override http request option.
28828
29997
  * @throws {RequiredError}
28829
29998
  */
28830
- async getAllEntitiesFacts(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options) {
28831
- const localVarAxiosArgs = await localVarAxiosParamCreator.getAllEntitiesFacts(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options);
29999
+ async getAllEntitiesFilterViews(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options) {
30000
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAllEntitiesFilterViews(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options);
28832
30001
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28833
30002
  },
28834
30003
  /**
28835
30004
  *
28836
- * @summary Get a Fact
30005
+ * @summary Get Filter view
28837
30006
  * @param {string} workspaceId
28838
30007
  * @param {string} objectId
28839
30008
  * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
28840
- * @param {Array<'datasets' | 'dataset' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
30009
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
28841
30010
  * @param {boolean} [xGDCVALIDATERELATIONS]
28842
- * @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
28843
30011
  * @param {*} [options] Override http request option.
28844
30012
  * @throws {RequiredError}
28845
30013
  */
28846
- async getEntityFacts(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, metaInclude, options) {
28847
- const localVarAxiosArgs = await localVarAxiosParamCreator.getEntityFacts(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, metaInclude, options);
30014
+ async getEntityFilterViews(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, options) {
30015
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEntityFilterViews(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, options);
30016
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
30017
+ },
30018
+ /**
30019
+ *
30020
+ * @summary Patch Filter view
30021
+ * @param {string} workspaceId
30022
+ * @param {string} objectId
30023
+ * @param {JsonApiFilterViewPatchDocument} jsonApiFilterViewPatchDocument
30024
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
30025
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
30026
+ * @param {*} [options] Override http request option.
30027
+ * @throws {RequiredError}
30028
+ */
30029
+ async patchEntityFilterViews(workspaceId, objectId, jsonApiFilterViewPatchDocument, filter, include, options) {
30030
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchEntityFilterViews(workspaceId, objectId, jsonApiFilterViewPatchDocument, filter, include, options);
30031
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
30032
+ },
30033
+ /**
30034
+ *
30035
+ * @summary Put Filter views
30036
+ * @param {string} workspaceId
30037
+ * @param {string} objectId
30038
+ * @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
30039
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
30040
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
30041
+ * @param {*} [options] Override http request option.
30042
+ * @throws {RequiredError}
30043
+ */
30044
+ async updateEntityFilterViews(workspaceId, objectId, jsonApiFilterViewInDocument, filter, include, options) {
30045
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateEntityFilterViews(workspaceId, objectId, jsonApiFilterViewInDocument, filter, include, options);
28848
30046
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28849
30047
  },
28850
30048
  };
28851
30049
  };
28852
30050
  /**
28853
- * FactsApi - factory interface
30051
+ * FilterViewsApi - factory interface
28854
30052
  * @export
28855
30053
  */
28856
- export const FactsApiFactory = function (configuration, basePath, axios) {
28857
- const localVarFp = FactsApiFp(configuration);
30054
+ export const FilterViewsApiFactory = function (configuration, basePath, axios) {
30055
+ const localVarFp = FilterViewsApiFp(configuration);
28858
30056
  return {
28859
30057
  /**
28860
30058
  *
28861
- * @summary Get all Facts
28862
- * @param {FactsApiGetAllEntitiesFactsRequest} requestParameters Request parameters.
30059
+ * @summary Post Filter views
30060
+ * @param {FilterViewsApiCreateEntityFilterViewsRequest} requestParameters Request parameters.
28863
30061
  * @param {*} [options] Override http request option.
28864
30062
  * @throws {RequiredError}
28865
30063
  */
28866
- getAllEntitiesFacts(requestParameters, options) {
30064
+ createEntityFilterViews(requestParameters, options) {
28867
30065
  return localVarFp
28868
- .getAllEntitiesFacts(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
30066
+ .createEntityFilterViews(requestParameters.workspaceId, requestParameters.jsonApiFilterViewInDocument, requestParameters.include, options)
28869
30067
  .then((request) => request(axios, basePath));
28870
30068
  },
28871
30069
  /**
28872
30070
  *
28873
- * @summary Get a Fact
28874
- * @param {FactsApiGetEntityFactsRequest} requestParameters Request parameters.
30071
+ * @summary Delete Filter view
30072
+ * @param {FilterViewsApiDeleteEntityFilterViewsRequest} requestParameters Request parameters.
28875
30073
  * @param {*} [options] Override http request option.
28876
30074
  * @throws {RequiredError}
28877
30075
  */
28878
- getEntityFacts(requestParameters, options) {
30076
+ deleteEntityFilterViews(requestParameters, options) {
28879
30077
  return localVarFp
28880
- .getEntityFacts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
30078
+ .deleteEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
30079
+ .then((request) => request(axios, basePath));
30080
+ },
30081
+ /**
30082
+ *
30083
+ * @summary Get all Filter views
30084
+ * @param {FilterViewsApiGetAllEntitiesFilterViewsRequest} requestParameters Request parameters.
30085
+ * @param {*} [options] Override http request option.
30086
+ * @throws {RequiredError}
30087
+ */
30088
+ getAllEntitiesFilterViews(requestParameters, options) {
30089
+ return localVarFp
30090
+ .getAllEntitiesFilterViews(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
30091
+ .then((request) => request(axios, basePath));
30092
+ },
30093
+ /**
30094
+ *
30095
+ * @summary Get Filter view
30096
+ * @param {FilterViewsApiGetEntityFilterViewsRequest} requestParameters Request parameters.
30097
+ * @param {*} [options] Override http request option.
30098
+ * @throws {RequiredError}
30099
+ */
30100
+ getEntityFilterViews(requestParameters, options) {
30101
+ return localVarFp
30102
+ .getEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, options)
30103
+ .then((request) => request(axios, basePath));
30104
+ },
30105
+ /**
30106
+ *
30107
+ * @summary Patch Filter view
30108
+ * @param {FilterViewsApiPatchEntityFilterViewsRequest} requestParameters Request parameters.
30109
+ * @param {*} [options] Override http request option.
30110
+ * @throws {RequiredError}
30111
+ */
30112
+ patchEntityFilterViews(requestParameters, options) {
30113
+ return localVarFp
30114
+ .patchEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewPatchDocument, requestParameters.filter, requestParameters.include, options)
30115
+ .then((request) => request(axios, basePath));
30116
+ },
30117
+ /**
30118
+ *
30119
+ * @summary Put Filter views
30120
+ * @param {FilterViewsApiUpdateEntityFilterViewsRequest} requestParameters Request parameters.
30121
+ * @param {*} [options] Override http request option.
30122
+ * @throws {RequiredError}
30123
+ */
30124
+ updateEntityFilterViews(requestParameters, options) {
30125
+ return localVarFp
30126
+ .updateEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewInDocument, requestParameters.filter, requestParameters.include, options)
28881
30127
  .then((request) => request(axios, basePath));
28882
30128
  },
28883
30129
  };
28884
30130
  };
28885
30131
  /**
28886
- * FactsApi - object-oriented interface
30132
+ * FilterViewsApi - object-oriented interface
28887
30133
  * @export
28888
- * @class FactsApi
30134
+ * @class FilterViewsApi
28889
30135
  * @extends {BaseAPI}
28890
30136
  */
28891
- export class FactsApi extends BaseAPI {
30137
+ export class FilterViewsApi extends BaseAPI {
28892
30138
  /**
28893
30139
  *
28894
- * @summary Get all Facts
28895
- * @param {FactsApiGetAllEntitiesFactsRequest} requestParameters Request parameters.
30140
+ * @summary Post Filter views
30141
+ * @param {FilterViewsApiCreateEntityFilterViewsRequest} requestParameters Request parameters.
28896
30142
  * @param {*} [options] Override http request option.
28897
30143
  * @throws {RequiredError}
28898
- * @memberof FactsApi
30144
+ * @memberof FilterViewsApi
28899
30145
  */
28900
- getAllEntitiesFacts(requestParameters, options) {
28901
- return FactsApiFp(this.configuration)
28902
- .getAllEntitiesFacts(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
30146
+ createEntityFilterViews(requestParameters, options) {
30147
+ return FilterViewsApiFp(this.configuration)
30148
+ .createEntityFilterViews(requestParameters.workspaceId, requestParameters.jsonApiFilterViewInDocument, requestParameters.include, options)
28903
30149
  .then((request) => request(this.axios, this.basePath));
28904
30150
  }
28905
30151
  /**
28906
30152
  *
28907
- * @summary Get a Fact
28908
- * @param {FactsApiGetEntityFactsRequest} requestParameters Request parameters.
30153
+ * @summary Delete Filter view
30154
+ * @param {FilterViewsApiDeleteEntityFilterViewsRequest} requestParameters Request parameters.
28909
30155
  * @param {*} [options] Override http request option.
28910
30156
  * @throws {RequiredError}
28911
- * @memberof FactsApi
30157
+ * @memberof FilterViewsApi
28912
30158
  */
28913
- getEntityFacts(requestParameters, options) {
28914
- return FactsApiFp(this.configuration)
28915
- .getEntityFacts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
30159
+ deleteEntityFilterViews(requestParameters, options) {
30160
+ return FilterViewsApiFp(this.configuration)
30161
+ .deleteEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
30162
+ .then((request) => request(this.axios, this.basePath));
30163
+ }
30164
+ /**
30165
+ *
30166
+ * @summary Get all Filter views
30167
+ * @param {FilterViewsApiGetAllEntitiesFilterViewsRequest} requestParameters Request parameters.
30168
+ * @param {*} [options] Override http request option.
30169
+ * @throws {RequiredError}
30170
+ * @memberof FilterViewsApi
30171
+ */
30172
+ getAllEntitiesFilterViews(requestParameters, options) {
30173
+ return FilterViewsApiFp(this.configuration)
30174
+ .getAllEntitiesFilterViews(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
30175
+ .then((request) => request(this.axios, this.basePath));
30176
+ }
30177
+ /**
30178
+ *
30179
+ * @summary Get Filter view
30180
+ * @param {FilterViewsApiGetEntityFilterViewsRequest} requestParameters Request parameters.
30181
+ * @param {*} [options] Override http request option.
30182
+ * @throws {RequiredError}
30183
+ * @memberof FilterViewsApi
30184
+ */
30185
+ getEntityFilterViews(requestParameters, options) {
30186
+ return FilterViewsApiFp(this.configuration)
30187
+ .getEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, options)
30188
+ .then((request) => request(this.axios, this.basePath));
30189
+ }
30190
+ /**
30191
+ *
30192
+ * @summary Patch Filter view
30193
+ * @param {FilterViewsApiPatchEntityFilterViewsRequest} requestParameters Request parameters.
30194
+ * @param {*} [options] Override http request option.
30195
+ * @throws {RequiredError}
30196
+ * @memberof FilterViewsApi
30197
+ */
30198
+ patchEntityFilterViews(requestParameters, options) {
30199
+ return FilterViewsApiFp(this.configuration)
30200
+ .patchEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewPatchDocument, requestParameters.filter, requestParameters.include, options)
30201
+ .then((request) => request(this.axios, this.basePath));
30202
+ }
30203
+ /**
30204
+ *
30205
+ * @summary Put Filter views
30206
+ * @param {FilterViewsApiUpdateEntityFilterViewsRequest} requestParameters Request parameters.
30207
+ * @param {*} [options] Override http request option.
30208
+ * @throws {RequiredError}
30209
+ * @memberof FilterViewsApi
30210
+ */
30211
+ updateEntityFilterViews(requestParameters, options) {
30212
+ return FilterViewsApiFp(this.configuration)
30213
+ .updateEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewInDocument, requestParameters.filter, requestParameters.include, options)
28916
30214
  .then((request) => request(this.axios, this.basePath));
28917
30215
  }
28918
30216
  }
@@ -31438,6 +32736,42 @@ export const LayoutApiAxiosParamCreator = function (configuration) {
31438
32736
  options: localVarRequestOptions,
31439
32737
  };
31440
32738
  },
32739
+ /**
32740
+ * Retrieve automations for the specific workspace
32741
+ * @summary Get automations
32742
+ * @param {string} workspaceId
32743
+ * @param {Array<'ACTIVITY_INFO'>} [exclude]
32744
+ * @param {*} [options] Override http request option.
32745
+ * @throws {RequiredError}
32746
+ */
32747
+ getAutomations: async (workspaceId, exclude, options = {}) => {
32748
+ // verify required parameter 'workspaceId' is not null or undefined
32749
+ assertParamExists("getAutomations", "workspaceId", workspaceId);
32750
+ const localVarPath = `/api/v1/layout/workspaces/{workspaceId}/automations`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
32751
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32752
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32753
+ let baseOptions;
32754
+ if (configuration) {
32755
+ baseOptions = configuration.baseOptions;
32756
+ }
32757
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
32758
+ const localVarHeaderParameter = {};
32759
+ const localVarQueryParameter = {};
32760
+ if (exclude) {
32761
+ localVarQueryParameter["exclude"] = exclude;
32762
+ }
32763
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32764
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32765
+ localVarRequestOptions.headers = {
32766
+ ...localVarHeaderParameter,
32767
+ ...headersFromBaseOptions,
32768
+ ...options.headers,
32769
+ };
32770
+ return {
32771
+ url: toPathString(localVarUrlObj),
32772
+ options: localVarRequestOptions,
32773
+ };
32774
+ },
31441
32775
  /**
31442
32776
  * Retrieve current set of permissions of the data source in a declarative form.
31443
32777
  * @summary Get permissions for the data source
@@ -32173,6 +33507,47 @@ export const LayoutApiAxiosParamCreator = function (configuration) {
32173
33507
  options: localVarRequestOptions,
32174
33508
  };
32175
33509
  },
33510
+ /**
33511
+ * Set automations for the specific workspace.
33512
+ * @summary Set automations
33513
+ * @param {string} workspaceId
33514
+ * @param {Array<DeclarativeAutomation>} declarativeAutomation
33515
+ * @param {*} [options] Override http request option.
33516
+ * @throws {RequiredError}
33517
+ */
33518
+ setAutomations: async (workspaceId, declarativeAutomation, options = {}) => {
33519
+ // verify required parameter 'workspaceId' is not null or undefined
33520
+ assertParamExists("setAutomations", "workspaceId", workspaceId);
33521
+ // verify required parameter 'declarativeAutomation' is not null or undefined
33522
+ assertParamExists("setAutomations", "declarativeAutomation", declarativeAutomation);
33523
+ const localVarPath = `/api/v1/layout/workspaces/{workspaceId}/automations`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
33524
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33525
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33526
+ let baseOptions;
33527
+ if (configuration) {
33528
+ baseOptions = configuration.baseOptions;
33529
+ }
33530
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
33531
+ const localVarHeaderParameter = {};
33532
+ const localVarQueryParameter = {};
33533
+ localVarHeaderParameter["Content-Type"] = "application/json";
33534
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33535
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33536
+ localVarRequestOptions.headers = {
33537
+ ...localVarHeaderParameter,
33538
+ ...headersFromBaseOptions,
33539
+ ...options.headers,
33540
+ };
33541
+ const needsSerialization = typeof declarativeAutomation !== "string" ||
33542
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
33543
+ localVarRequestOptions.data = needsSerialization
33544
+ ? JSON.stringify(declarativeAutomation !== undefined ? declarativeAutomation : {})
33545
+ : declarativeAutomation || "";
33546
+ return {
33547
+ url: toPathString(localVarUrlObj),
33548
+ options: localVarRequestOptions,
33549
+ };
33550
+ },
32176
33551
  /**
32177
33552
  * et data source permissions.
32178
33553
  * @summary Set data source permissions.
@@ -32632,6 +34007,18 @@ export const LayoutApiFp = function (configuration) {
32632
34007
  const localVarAxiosArgs = await localVarAxiosParamCreator.getAnalyticsModel(workspaceId, exclude, options);
32633
34008
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
32634
34009
  },
34010
+ /**
34011
+ * Retrieve automations for the specific workspace
34012
+ * @summary Get automations
34013
+ * @param {string} workspaceId
34014
+ * @param {Array<'ACTIVITY_INFO'>} [exclude]
34015
+ * @param {*} [options] Override http request option.
34016
+ * @throws {RequiredError}
34017
+ */
34018
+ async getAutomations(workspaceId, exclude, options) {
34019
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAutomations(workspaceId, exclude, options);
34020
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34021
+ },
32635
34022
  /**
32636
34023
  * Retrieve current set of permissions of the data source in a declarative form.
32637
34024
  * @summary Get permissions for the data source
@@ -32871,6 +34258,18 @@ export const LayoutApiFp = function (configuration) {
32871
34258
  const localVarAxiosArgs = await localVarAxiosParamCreator.setAnalyticsModel(workspaceId, declarativeAnalytics, options);
32872
34259
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
32873
34260
  },
34261
+ /**
34262
+ * Set automations for the specific workspace.
34263
+ * @summary Set automations
34264
+ * @param {string} workspaceId
34265
+ * @param {Array<DeclarativeAutomation>} declarativeAutomation
34266
+ * @param {*} [options] Override http request option.
34267
+ * @throws {RequiredError}
34268
+ */
34269
+ async setAutomations(workspaceId, declarativeAutomation, options) {
34270
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setAutomations(workspaceId, declarativeAutomation, options);
34271
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34272
+ },
32874
34273
  /**
32875
34274
  * et data source permissions.
32876
34275
  * @summary Set data source permissions.
@@ -33019,6 +34418,18 @@ export const LayoutApiFactory = function (configuration, basePath, axios) {
33019
34418
  .getAnalyticsModel(requestParameters.workspaceId, requestParameters.exclude, options)
33020
34419
  .then((request) => request(axios, basePath));
33021
34420
  },
34421
+ /**
34422
+ * Retrieve automations for the specific workspace
34423
+ * @summary Get automations
34424
+ * @param {LayoutApiGetAutomationsRequest} requestParameters Request parameters.
34425
+ * @param {*} [options] Override http request option.
34426
+ * @throws {RequiredError}
34427
+ */
34428
+ getAutomations(requestParameters, options) {
34429
+ return localVarFp
34430
+ .getAutomations(requestParameters.workspaceId, requestParameters.exclude, options)
34431
+ .then((request) => request(axios, basePath));
34432
+ },
33022
34433
  /**
33023
34434
  * Retrieve current set of permissions of the data source in a declarative form.
33024
34435
  * @summary Get permissions for the data source
@@ -33266,6 +34677,18 @@ export const LayoutApiFactory = function (configuration, basePath, axios) {
33266
34677
  .setAnalyticsModel(requestParameters.workspaceId, requestParameters.declarativeAnalytics, options)
33267
34678
  .then((request) => request(axios, basePath));
33268
34679
  },
34680
+ /**
34681
+ * Set automations for the specific workspace.
34682
+ * @summary Set automations
34683
+ * @param {LayoutApiSetAutomationsRequest} requestParameters Request parameters.
34684
+ * @param {*} [options] Override http request option.
34685
+ * @throws {RequiredError}
34686
+ */
34687
+ setAutomations(requestParameters, options) {
34688
+ return localVarFp
34689
+ .setAutomations(requestParameters.workspaceId, requestParameters.declarativeAutomation, options)
34690
+ .then((request) => request(axios, basePath));
34691
+ },
33269
34692
  /**
33270
34693
  * et data source permissions.
33271
34694
  * @summary Set data source permissions.
@@ -33420,6 +34843,19 @@ export class LayoutApi extends BaseAPI {
33420
34843
  .getAnalyticsModel(requestParameters.workspaceId, requestParameters.exclude, options)
33421
34844
  .then((request) => request(this.axios, this.basePath));
33422
34845
  }
34846
+ /**
34847
+ * Retrieve automations for the specific workspace
34848
+ * @summary Get automations
34849
+ * @param {LayoutApiGetAutomationsRequest} requestParameters Request parameters.
34850
+ * @param {*} [options] Override http request option.
34851
+ * @throws {RequiredError}
34852
+ * @memberof LayoutApi
34853
+ */
34854
+ getAutomations(requestParameters, options) {
34855
+ return LayoutApiFp(this.configuration)
34856
+ .getAutomations(requestParameters.workspaceId, requestParameters.exclude, options)
34857
+ .then((request) => request(this.axios, this.basePath));
34858
+ }
33423
34859
  /**
33424
34860
  * Retrieve current set of permissions of the data source in a declarative form.
33425
34861
  * @summary Get permissions for the data source
@@ -33699,6 +35135,19 @@ export class LayoutApi extends BaseAPI {
33699
35135
  .setAnalyticsModel(requestParameters.workspaceId, requestParameters.declarativeAnalytics, options)
33700
35136
  .then((request) => request(this.axios, this.basePath));
33701
35137
  }
35138
+ /**
35139
+ * Set automations for the specific workspace.
35140
+ * @summary Set automations
35141
+ * @param {LayoutApiSetAutomationsRequest} requestParameters Request parameters.
35142
+ * @param {*} [options] Override http request option.
35143
+ * @throws {RequiredError}
35144
+ * @memberof LayoutApi
35145
+ */
35146
+ setAutomations(requestParameters, options) {
35147
+ return LayoutApiFp(this.configuration)
35148
+ .setAutomations(requestParameters.workspaceId, requestParameters.declarativeAutomation, options)
35149
+ .then((request) => request(this.axios, this.basePath));
35150
+ }
33702
35151
  /**
33703
35152
  * et data source permissions.
33704
35153
  * @summary Set data source permissions.
@@ -50450,6 +51899,51 @@ export const WorkspaceObjectControllerApiAxiosParamCreator = function (configura
50450
51899
  options: localVarRequestOptions,
50451
51900
  };
50452
51901
  },
51902
+ /**
51903
+ *
51904
+ * @summary Post Filter views
51905
+ * @param {string} workspaceId
51906
+ * @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
51907
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
51908
+ * @param {*} [options] Override http request option.
51909
+ * @throws {RequiredError}
51910
+ */
51911
+ createEntityFilterViews: async (workspaceId, jsonApiFilterViewInDocument, include, options = {}) => {
51912
+ // verify required parameter 'workspaceId' is not null or undefined
51913
+ assertParamExists("createEntityFilterViews", "workspaceId", workspaceId);
51914
+ // verify required parameter 'jsonApiFilterViewInDocument' is not null or undefined
51915
+ assertParamExists("createEntityFilterViews", "jsonApiFilterViewInDocument", jsonApiFilterViewInDocument);
51916
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
51917
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
51918
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
51919
+ let baseOptions;
51920
+ if (configuration) {
51921
+ baseOptions = configuration.baseOptions;
51922
+ }
51923
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
51924
+ const localVarHeaderParameter = {};
51925
+ const localVarQueryParameter = {};
51926
+ if (include) {
51927
+ localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
51928
+ }
51929
+ localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
51930
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
51931
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
51932
+ localVarRequestOptions.headers = {
51933
+ ...localVarHeaderParameter,
51934
+ ...headersFromBaseOptions,
51935
+ ...options.headers,
51936
+ };
51937
+ const needsSerialization = typeof jsonApiFilterViewInDocument !== "string" ||
51938
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
51939
+ localVarRequestOptions.data = needsSerialization
51940
+ ? JSON.stringify(jsonApiFilterViewInDocument !== undefined ? jsonApiFilterViewInDocument : {})
51941
+ : jsonApiFilterViewInDocument || "";
51942
+ return {
51943
+ url: toPathString(localVarUrlObj),
51944
+ options: localVarRequestOptions,
51945
+ };
51946
+ },
50453
51947
  /**
50454
51948
  *
50455
51949
  * @summary Post Metrics
@@ -51039,6 +52533,47 @@ export const WorkspaceObjectControllerApiAxiosParamCreator = function (configura
51039
52533
  options: localVarRequestOptions,
51040
52534
  };
51041
52535
  },
52536
+ /**
52537
+ *
52538
+ * @summary Delete Filter view
52539
+ * @param {string} workspaceId
52540
+ * @param {string} objectId
52541
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
52542
+ * @param {*} [options] Override http request option.
52543
+ * @throws {RequiredError}
52544
+ */
52545
+ deleteEntityFilterViews: async (workspaceId, objectId, filter, options = {}) => {
52546
+ // verify required parameter 'workspaceId' is not null or undefined
52547
+ assertParamExists("deleteEntityFilterViews", "workspaceId", workspaceId);
52548
+ // verify required parameter 'objectId' is not null or undefined
52549
+ assertParamExists("deleteEntityFilterViews", "objectId", objectId);
52550
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
52551
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
52552
+ .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
52553
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
52554
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
52555
+ let baseOptions;
52556
+ if (configuration) {
52557
+ baseOptions = configuration.baseOptions;
52558
+ }
52559
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
52560
+ const localVarHeaderParameter = {};
52561
+ const localVarQueryParameter = {};
52562
+ if (filter !== undefined) {
52563
+ localVarQueryParameter["filter"] = filter;
52564
+ }
52565
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
52566
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
52567
+ localVarRequestOptions.headers = {
52568
+ ...localVarHeaderParameter,
52569
+ ...headersFromBaseOptions,
52570
+ ...options.headers,
52571
+ };
52572
+ return {
52573
+ url: toPathString(localVarUrlObj),
52574
+ options: localVarRequestOptions,
52575
+ };
52576
+ },
51042
52577
  /**
51043
52578
  *
51044
52579
  * @summary Delete a Metric
@@ -51921,6 +53456,70 @@ export const WorkspaceObjectControllerApiAxiosParamCreator = function (configura
51921
53456
  options: localVarRequestOptions,
51922
53457
  };
51923
53458
  },
53459
+ /**
53460
+ *
53461
+ * @summary Get all Filter views
53462
+ * @param {string} workspaceId
53463
+ * @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
53464
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
53465
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
53466
+ * @param {number} [page] Zero-based page index (0..N)
53467
+ * @param {number} [size] The size of the page to be returned
53468
+ * @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
53469
+ * @param {boolean} [xGDCVALIDATERELATIONS]
53470
+ * @param {Array<'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
53471
+ * @param {*} [options] Override http request option.
53472
+ * @throws {RequiredError}
53473
+ */
53474
+ getAllEntitiesFilterViews: async (workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options = {}) => {
53475
+ // verify required parameter 'workspaceId' is not null or undefined
53476
+ assertParamExists("getAllEntitiesFilterViews", "workspaceId", workspaceId);
53477
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
53478
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
53479
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
53480
+ let baseOptions;
53481
+ if (configuration) {
53482
+ baseOptions = configuration.baseOptions;
53483
+ }
53484
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
53485
+ const localVarHeaderParameter = {};
53486
+ const localVarQueryParameter = {};
53487
+ if (origin !== undefined) {
53488
+ localVarQueryParameter["origin"] = origin;
53489
+ }
53490
+ if (filter !== undefined) {
53491
+ localVarQueryParameter["filter"] = filter;
53492
+ }
53493
+ if (include) {
53494
+ localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
53495
+ }
53496
+ if (page !== undefined) {
53497
+ localVarQueryParameter["page"] = page;
53498
+ }
53499
+ if (size !== undefined) {
53500
+ localVarQueryParameter["size"] = size;
53501
+ }
53502
+ if (sort) {
53503
+ localVarQueryParameter["sort"] = sort;
53504
+ }
53505
+ if (metaInclude) {
53506
+ localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
53507
+ }
53508
+ if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
53509
+ localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
53510
+ }
53511
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
53512
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
53513
+ localVarRequestOptions.headers = {
53514
+ ...localVarHeaderParameter,
53515
+ ...headersFromBaseOptions,
53516
+ ...options.headers,
53517
+ };
53518
+ return {
53519
+ url: toPathString(localVarUrlObj),
53520
+ options: localVarRequestOptions,
53521
+ };
53522
+ },
51924
53523
  /**
51925
53524
  *
51926
53525
  * @summary Get all Labels
@@ -52840,22 +54439,74 @@ export const WorkspaceObjectControllerApiAxiosParamCreator = function (configura
52840
54439
  },
52841
54440
  /**
52842
54441
  *
52843
- * @summary Get a Context Filter
54442
+ * @summary Get a Context Filter
54443
+ * @param {string} workspaceId
54444
+ * @param {string} objectId
54445
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
54446
+ * @param {Array<'attributes' | 'datasets' | 'labels' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
54447
+ * @param {boolean} [xGDCVALIDATERELATIONS]
54448
+ * @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
54449
+ * @param {*} [options] Override http request option.
54450
+ * @throws {RequiredError}
54451
+ */
54452
+ getEntityFilterContexts: async (workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, metaInclude, options = {}) => {
54453
+ // verify required parameter 'workspaceId' is not null or undefined
54454
+ assertParamExists("getEntityFilterContexts", "workspaceId", workspaceId);
54455
+ // verify required parameter 'objectId' is not null or undefined
54456
+ assertParamExists("getEntityFilterContexts", "objectId", objectId);
54457
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId}`
54458
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
54459
+ .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
54460
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
54461
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
54462
+ let baseOptions;
54463
+ if (configuration) {
54464
+ baseOptions = configuration.baseOptions;
54465
+ }
54466
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
54467
+ const localVarHeaderParameter = {};
54468
+ const localVarQueryParameter = {};
54469
+ if (filter !== undefined) {
54470
+ localVarQueryParameter["filter"] = filter;
54471
+ }
54472
+ if (include) {
54473
+ localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
54474
+ }
54475
+ if (metaInclude) {
54476
+ localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
54477
+ }
54478
+ if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
54479
+ localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
54480
+ }
54481
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
54482
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
54483
+ localVarRequestOptions.headers = {
54484
+ ...localVarHeaderParameter,
54485
+ ...headersFromBaseOptions,
54486
+ ...options.headers,
54487
+ };
54488
+ return {
54489
+ url: toPathString(localVarUrlObj),
54490
+ options: localVarRequestOptions,
54491
+ };
54492
+ },
54493
+ /**
54494
+ *
54495
+ * @summary Get Filter view
52844
54496
  * @param {string} workspaceId
52845
54497
  * @param {string} objectId
52846
54498
  * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
52847
- * @param {Array<'attributes' | 'datasets' | 'labels' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
54499
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
52848
54500
  * @param {boolean} [xGDCVALIDATERELATIONS]
52849
- * @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
52850
54501
  * @param {*} [options] Override http request option.
52851
54502
  * @throws {RequiredError}
52852
54503
  */
52853
- getEntityFilterContexts: async (workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, metaInclude, options = {}) => {
54504
+ getEntityFilterViews: async (workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, options = {}) => {
52854
54505
  // verify required parameter 'workspaceId' is not null or undefined
52855
- assertParamExists("getEntityFilterContexts", "workspaceId", workspaceId);
54506
+ assertParamExists("getEntityFilterViews", "workspaceId", workspaceId);
52856
54507
  // verify required parameter 'objectId' is not null or undefined
52857
- assertParamExists("getEntityFilterContexts", "objectId", objectId);
52858
- const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId}`
54508
+ assertParamExists("getEntityFilterViews", "objectId", objectId);
54509
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
52859
54510
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
52860
54511
  .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
52861
54512
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -52873,9 +54524,6 @@ export const WorkspaceObjectControllerApiAxiosParamCreator = function (configura
52873
54524
  if (include) {
52874
54525
  localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
52875
54526
  }
52876
- if (metaInclude) {
52877
- localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
52878
- }
52879
54527
  if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
52880
54528
  localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
52881
54529
  }
@@ -53644,6 +55292,60 @@ export const WorkspaceObjectControllerApiAxiosParamCreator = function (configura
53644
55292
  options: localVarRequestOptions,
53645
55293
  };
53646
55294
  },
55295
+ /**
55296
+ *
55297
+ * @summary Patch Filter view
55298
+ * @param {string} workspaceId
55299
+ * @param {string} objectId
55300
+ * @param {JsonApiFilterViewPatchDocument} jsonApiFilterViewPatchDocument
55301
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
55302
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
55303
+ * @param {*} [options] Override http request option.
55304
+ * @throws {RequiredError}
55305
+ */
55306
+ patchEntityFilterViews: async (workspaceId, objectId, jsonApiFilterViewPatchDocument, filter, include, options = {}) => {
55307
+ // verify required parameter 'workspaceId' is not null or undefined
55308
+ assertParamExists("patchEntityFilterViews", "workspaceId", workspaceId);
55309
+ // verify required parameter 'objectId' is not null or undefined
55310
+ assertParamExists("patchEntityFilterViews", "objectId", objectId);
55311
+ // verify required parameter 'jsonApiFilterViewPatchDocument' is not null or undefined
55312
+ assertParamExists("patchEntityFilterViews", "jsonApiFilterViewPatchDocument", jsonApiFilterViewPatchDocument);
55313
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
55314
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
55315
+ .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
55316
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
55317
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
55318
+ let baseOptions;
55319
+ if (configuration) {
55320
+ baseOptions = configuration.baseOptions;
55321
+ }
55322
+ const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
55323
+ const localVarHeaderParameter = {};
55324
+ const localVarQueryParameter = {};
55325
+ if (filter !== undefined) {
55326
+ localVarQueryParameter["filter"] = filter;
55327
+ }
55328
+ if (include) {
55329
+ localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
55330
+ }
55331
+ localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
55332
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
55333
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
55334
+ localVarRequestOptions.headers = {
55335
+ ...localVarHeaderParameter,
55336
+ ...headersFromBaseOptions,
55337
+ ...options.headers,
55338
+ };
55339
+ const needsSerialization = typeof jsonApiFilterViewPatchDocument !== "string" ||
55340
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
55341
+ localVarRequestOptions.data = needsSerialization
55342
+ ? JSON.stringify(jsonApiFilterViewPatchDocument !== undefined ? jsonApiFilterViewPatchDocument : {})
55343
+ : jsonApiFilterViewPatchDocument || "";
55344
+ return {
55345
+ url: toPathString(localVarUrlObj),
55346
+ options: localVarRequestOptions,
55347
+ };
55348
+ },
53647
55349
  /**
53648
55350
  *
53649
55351
  * @summary Patch a Metric
@@ -54356,6 +56058,60 @@ export const WorkspaceObjectControllerApiAxiosParamCreator = function (configura
54356
56058
  options: localVarRequestOptions,
54357
56059
  };
54358
56060
  },
56061
+ /**
56062
+ *
56063
+ * @summary Put Filter views
56064
+ * @param {string} workspaceId
56065
+ * @param {string} objectId
56066
+ * @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
56067
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
56068
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
56069
+ * @param {*} [options] Override http request option.
56070
+ * @throws {RequiredError}
56071
+ */
56072
+ updateEntityFilterViews: async (workspaceId, objectId, jsonApiFilterViewInDocument, filter, include, options = {}) => {
56073
+ // verify required parameter 'workspaceId' is not null or undefined
56074
+ assertParamExists("updateEntityFilterViews", "workspaceId", workspaceId);
56075
+ // verify required parameter 'objectId' is not null or undefined
56076
+ assertParamExists("updateEntityFilterViews", "objectId", objectId);
56077
+ // verify required parameter 'jsonApiFilterViewInDocument' is not null or undefined
56078
+ assertParamExists("updateEntityFilterViews", "jsonApiFilterViewInDocument", jsonApiFilterViewInDocument);
56079
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
56080
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
56081
+ .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
56082
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
56083
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
56084
+ let baseOptions;
56085
+ if (configuration) {
56086
+ baseOptions = configuration.baseOptions;
56087
+ }
56088
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
56089
+ const localVarHeaderParameter = {};
56090
+ const localVarQueryParameter = {};
56091
+ if (filter !== undefined) {
56092
+ localVarQueryParameter["filter"] = filter;
56093
+ }
56094
+ if (include) {
56095
+ localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
56096
+ }
56097
+ localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
56098
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
56099
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
56100
+ localVarRequestOptions.headers = {
56101
+ ...localVarHeaderParameter,
56102
+ ...headersFromBaseOptions,
56103
+ ...options.headers,
56104
+ };
56105
+ const needsSerialization = typeof jsonApiFilterViewInDocument !== "string" ||
56106
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
56107
+ localVarRequestOptions.data = needsSerialization
56108
+ ? JSON.stringify(jsonApiFilterViewInDocument !== undefined ? jsonApiFilterViewInDocument : {})
56109
+ : jsonApiFilterViewInDocument || "";
56110
+ return {
56111
+ url: toPathString(localVarUrlObj),
56112
+ options: localVarRequestOptions,
56113
+ };
56114
+ },
54359
56115
  /**
54360
56116
  *
54361
56117
  * @summary Put a Metric
@@ -54790,6 +56546,19 @@ export const WorkspaceObjectControllerApiFp = function (configuration) {
54790
56546
  const localVarAxiosArgs = await localVarAxiosParamCreator.createEntityFilterContexts(workspaceId, jsonApiFilterContextPostOptionalIdDocument, include, metaInclude, options);
54791
56547
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
54792
56548
  },
56549
+ /**
56550
+ *
56551
+ * @summary Post Filter views
56552
+ * @param {string} workspaceId
56553
+ * @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
56554
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
56555
+ * @param {*} [options] Override http request option.
56556
+ * @throws {RequiredError}
56557
+ */
56558
+ async createEntityFilterViews(workspaceId, jsonApiFilterViewInDocument, include, options) {
56559
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createEntityFilterViews(workspaceId, jsonApiFilterViewInDocument, include, options);
56560
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
56561
+ },
54793
56562
  /**
54794
56563
  *
54795
56564
  * @summary Post Metrics
@@ -54964,6 +56733,19 @@ export const WorkspaceObjectControllerApiFp = function (configuration) {
54964
56733
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEntityFilterContexts(workspaceId, objectId, filter, options);
54965
56734
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
54966
56735
  },
56736
+ /**
56737
+ *
56738
+ * @summary Delete Filter view
56739
+ * @param {string} workspaceId
56740
+ * @param {string} objectId
56741
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
56742
+ * @param {*} [options] Override http request option.
56743
+ * @throws {RequiredError}
56744
+ */
56745
+ async deleteEntityFilterViews(workspaceId, objectId, filter, options) {
56746
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEntityFilterViews(workspaceId, objectId, filter, options);
56747
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
56748
+ },
54967
56749
  /**
54968
56750
  *
54969
56751
  * @summary Delete a Metric
@@ -55231,6 +57013,25 @@ export const WorkspaceObjectControllerApiFp = function (configuration) {
55231
57013
  const localVarAxiosArgs = await localVarAxiosParamCreator.getAllEntitiesFilterContexts(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options);
55232
57014
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
55233
57015
  },
57016
+ /**
57017
+ *
57018
+ * @summary Get all Filter views
57019
+ * @param {string} workspaceId
57020
+ * @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
57021
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
57022
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
57023
+ * @param {number} [page] Zero-based page index (0..N)
57024
+ * @param {number} [size] The size of the page to be returned
57025
+ * @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
57026
+ * @param {boolean} [xGDCVALIDATERELATIONS]
57027
+ * @param {Array<'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
57028
+ * @param {*} [options] Override http request option.
57029
+ * @throws {RequiredError}
57030
+ */
57031
+ async getAllEntitiesFilterViews(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options) {
57032
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAllEntitiesFilterViews(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options);
57033
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
57034
+ },
55234
57035
  /**
55235
57036
  *
55236
57037
  * @summary Get all Labels
@@ -55522,6 +57323,21 @@ export const WorkspaceObjectControllerApiFp = function (configuration) {
55522
57323
  const localVarAxiosArgs = await localVarAxiosParamCreator.getEntityFilterContexts(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, metaInclude, options);
55523
57324
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
55524
57325
  },
57326
+ /**
57327
+ *
57328
+ * @summary Get Filter view
57329
+ * @param {string} workspaceId
57330
+ * @param {string} objectId
57331
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
57332
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
57333
+ * @param {boolean} [xGDCVALIDATERELATIONS]
57334
+ * @param {*} [options] Override http request option.
57335
+ * @throws {RequiredError}
57336
+ */
57337
+ async getEntityFilterViews(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, options) {
57338
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEntityFilterViews(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, options);
57339
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
57340
+ },
55525
57341
  /**
55526
57342
  *
55527
57343
  * @summary Get a Label
@@ -55737,6 +57553,21 @@ export const WorkspaceObjectControllerApiFp = function (configuration) {
55737
57553
  const localVarAxiosArgs = await localVarAxiosParamCreator.patchEntityFilterContexts(workspaceId, objectId, jsonApiFilterContextPatchDocument, filter, include, options);
55738
57554
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
55739
57555
  },
57556
+ /**
57557
+ *
57558
+ * @summary Patch Filter view
57559
+ * @param {string} workspaceId
57560
+ * @param {string} objectId
57561
+ * @param {JsonApiFilterViewPatchDocument} jsonApiFilterViewPatchDocument
57562
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
57563
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
57564
+ * @param {*} [options] Override http request option.
57565
+ * @throws {RequiredError}
57566
+ */
57567
+ async patchEntityFilterViews(workspaceId, objectId, jsonApiFilterViewPatchDocument, filter, include, options) {
57568
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchEntityFilterViews(workspaceId, objectId, jsonApiFilterViewPatchDocument, filter, include, options);
57569
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
57570
+ },
55740
57571
  /**
55741
57572
  *
55742
57573
  * @summary Patch a Metric
@@ -55930,6 +57761,21 @@ export const WorkspaceObjectControllerApiFp = function (configuration) {
55930
57761
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateEntityFilterContexts(workspaceId, objectId, jsonApiFilterContextInDocument, filter, include, options);
55931
57762
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
55932
57763
  },
57764
+ /**
57765
+ *
57766
+ * @summary Put Filter views
57767
+ * @param {string} workspaceId
57768
+ * @param {string} objectId
57769
+ * @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
57770
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
57771
+ * @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
57772
+ * @param {*} [options] Override http request option.
57773
+ * @throws {RequiredError}
57774
+ */
57775
+ async updateEntityFilterViews(workspaceId, objectId, jsonApiFilterViewInDocument, filter, include, options) {
57776
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateEntityFilterViews(workspaceId, objectId, jsonApiFilterViewInDocument, filter, include, options);
57777
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
57778
+ },
55933
57779
  /**
55934
57780
  *
55935
57781
  * @summary Put a Metric
@@ -56112,6 +57958,18 @@ export const WorkspaceObjectControllerApiFactory = function (configuration, base
56112
57958
  .createEntityFilterContexts(requestParameters.workspaceId, requestParameters.jsonApiFilterContextPostOptionalIdDocument, requestParameters.include, requestParameters.metaInclude, options)
56113
57959
  .then((request) => request(axios, basePath));
56114
57960
  },
57961
+ /**
57962
+ *
57963
+ * @summary Post Filter views
57964
+ * @param {WorkspaceObjectControllerApiCreateEntityFilterViewsRequest} requestParameters Request parameters.
57965
+ * @param {*} [options] Override http request option.
57966
+ * @throws {RequiredError}
57967
+ */
57968
+ createEntityFilterViews(requestParameters, options) {
57969
+ return localVarFp
57970
+ .createEntityFilterViews(requestParameters.workspaceId, requestParameters.jsonApiFilterViewInDocument, requestParameters.include, options)
57971
+ .then((request) => request(axios, basePath));
57972
+ },
56115
57973
  /**
56116
57974
  *
56117
57975
  * @summary Post Metrics
@@ -56268,6 +58126,18 @@ export const WorkspaceObjectControllerApiFactory = function (configuration, base
56268
58126
  .deleteEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
56269
58127
  .then((request) => request(axios, basePath));
56270
58128
  },
58129
+ /**
58130
+ *
58131
+ * @summary Delete Filter view
58132
+ * @param {WorkspaceObjectControllerApiDeleteEntityFilterViewsRequest} requestParameters Request parameters.
58133
+ * @param {*} [options] Override http request option.
58134
+ * @throws {RequiredError}
58135
+ */
58136
+ deleteEntityFilterViews(requestParameters, options) {
58137
+ return localVarFp
58138
+ .deleteEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
58139
+ .then((request) => request(axios, basePath));
58140
+ },
56271
58141
  /**
56272
58142
  *
56273
58143
  * @summary Delete a Metric
@@ -56460,6 +58330,18 @@ export const WorkspaceObjectControllerApiFactory = function (configuration, base
56460
58330
  .getAllEntitiesFilterContexts(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
56461
58331
  .then((request) => request(axios, basePath));
56462
58332
  },
58333
+ /**
58334
+ *
58335
+ * @summary Get all Filter views
58336
+ * @param {WorkspaceObjectControllerApiGetAllEntitiesFilterViewsRequest} requestParameters Request parameters.
58337
+ * @param {*} [options] Override http request option.
58338
+ * @throws {RequiredError}
58339
+ */
58340
+ getAllEntitiesFilterViews(requestParameters, options) {
58341
+ return localVarFp
58342
+ .getAllEntitiesFilterViews(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
58343
+ .then((request) => request(axios, basePath));
58344
+ },
56463
58345
  /**
56464
58346
  *
56465
58347
  * @summary Get all Labels
@@ -56664,6 +58546,18 @@ export const WorkspaceObjectControllerApiFactory = function (configuration, base
56664
58546
  .getEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
56665
58547
  .then((request) => request(axios, basePath));
56666
58548
  },
58549
+ /**
58550
+ *
58551
+ * @summary Get Filter view
58552
+ * @param {WorkspaceObjectControllerApiGetEntityFilterViewsRequest} requestParameters Request parameters.
58553
+ * @param {*} [options] Override http request option.
58554
+ * @throws {RequiredError}
58555
+ */
58556
+ getEntityFilterViews(requestParameters, options) {
58557
+ return localVarFp
58558
+ .getEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, options)
58559
+ .then((request) => request(axios, basePath));
58560
+ },
56667
58561
  /**
56668
58562
  *
56669
58563
  * @summary Get a Label
@@ -56832,6 +58726,18 @@ export const WorkspaceObjectControllerApiFactory = function (configuration, base
56832
58726
  .patchEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterContextPatchDocument, requestParameters.filter, requestParameters.include, options)
56833
58727
  .then((request) => request(axios, basePath));
56834
58728
  },
58729
+ /**
58730
+ *
58731
+ * @summary Patch Filter view
58732
+ * @param {WorkspaceObjectControllerApiPatchEntityFilterViewsRequest} requestParameters Request parameters.
58733
+ * @param {*} [options] Override http request option.
58734
+ * @throws {RequiredError}
58735
+ */
58736
+ patchEntityFilterViews(requestParameters, options) {
58737
+ return localVarFp
58738
+ .patchEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewPatchDocument, requestParameters.filter, requestParameters.include, options)
58739
+ .then((request) => request(axios, basePath));
58740
+ },
56835
58741
  /**
56836
58742
  *
56837
58743
  * @summary Patch a Metric
@@ -56988,6 +58894,18 @@ export const WorkspaceObjectControllerApiFactory = function (configuration, base
56988
58894
  .updateEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterContextInDocument, requestParameters.filter, requestParameters.include, options)
56989
58895
  .then((request) => request(axios, basePath));
56990
58896
  },
58897
+ /**
58898
+ *
58899
+ * @summary Put Filter views
58900
+ * @param {WorkspaceObjectControllerApiUpdateEntityFilterViewsRequest} requestParameters Request parameters.
58901
+ * @param {*} [options] Override http request option.
58902
+ * @throws {RequiredError}
58903
+ */
58904
+ updateEntityFilterViews(requestParameters, options) {
58905
+ return localVarFp
58906
+ .updateEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewInDocument, requestParameters.filter, requestParameters.include, options)
58907
+ .then((request) => request(axios, basePath));
58908
+ },
56991
58909
  /**
56992
58910
  *
56993
58911
  * @summary Put a Metric
@@ -57160,6 +59078,19 @@ export class WorkspaceObjectControllerApi extends BaseAPI {
57160
59078
  .createEntityFilterContexts(requestParameters.workspaceId, requestParameters.jsonApiFilterContextPostOptionalIdDocument, requestParameters.include, requestParameters.metaInclude, options)
57161
59079
  .then((request) => request(this.axios, this.basePath));
57162
59080
  }
59081
+ /**
59082
+ *
59083
+ * @summary Post Filter views
59084
+ * @param {WorkspaceObjectControllerApiCreateEntityFilterViewsRequest} requestParameters Request parameters.
59085
+ * @param {*} [options] Override http request option.
59086
+ * @throws {RequiredError}
59087
+ * @memberof WorkspaceObjectControllerApi
59088
+ */
59089
+ createEntityFilterViews(requestParameters, options) {
59090
+ return WorkspaceObjectControllerApiFp(this.configuration)
59091
+ .createEntityFilterViews(requestParameters.workspaceId, requestParameters.jsonApiFilterViewInDocument, requestParameters.include, options)
59092
+ .then((request) => request(this.axios, this.basePath));
59093
+ }
57163
59094
  /**
57164
59095
  *
57165
59096
  * @summary Post Metrics
@@ -57329,6 +59260,19 @@ export class WorkspaceObjectControllerApi extends BaseAPI {
57329
59260
  .deleteEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
57330
59261
  .then((request) => request(this.axios, this.basePath));
57331
59262
  }
59263
+ /**
59264
+ *
59265
+ * @summary Delete Filter view
59266
+ * @param {WorkspaceObjectControllerApiDeleteEntityFilterViewsRequest} requestParameters Request parameters.
59267
+ * @param {*} [options] Override http request option.
59268
+ * @throws {RequiredError}
59269
+ * @memberof WorkspaceObjectControllerApi
59270
+ */
59271
+ deleteEntityFilterViews(requestParameters, options) {
59272
+ return WorkspaceObjectControllerApiFp(this.configuration)
59273
+ .deleteEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
59274
+ .then((request) => request(this.axios, this.basePath));
59275
+ }
57332
59276
  /**
57333
59277
  *
57334
59278
  * @summary Delete a Metric
@@ -57537,6 +59481,19 @@ export class WorkspaceObjectControllerApi extends BaseAPI {
57537
59481
  .getAllEntitiesFilterContexts(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
57538
59482
  .then((request) => request(this.axios, this.basePath));
57539
59483
  }
59484
+ /**
59485
+ *
59486
+ * @summary Get all Filter views
59487
+ * @param {WorkspaceObjectControllerApiGetAllEntitiesFilterViewsRequest} requestParameters Request parameters.
59488
+ * @param {*} [options] Override http request option.
59489
+ * @throws {RequiredError}
59490
+ * @memberof WorkspaceObjectControllerApi
59491
+ */
59492
+ getAllEntitiesFilterViews(requestParameters, options) {
59493
+ return WorkspaceObjectControllerApiFp(this.configuration)
59494
+ .getAllEntitiesFilterViews(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
59495
+ .then((request) => request(this.axios, this.basePath));
59496
+ }
57540
59497
  /**
57541
59498
  *
57542
59499
  * @summary Get all Labels
@@ -57758,6 +59715,19 @@ export class WorkspaceObjectControllerApi extends BaseAPI {
57758
59715
  .getEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
57759
59716
  .then((request) => request(this.axios, this.basePath));
57760
59717
  }
59718
+ /**
59719
+ *
59720
+ * @summary Get Filter view
59721
+ * @param {WorkspaceObjectControllerApiGetEntityFilterViewsRequest} requestParameters Request parameters.
59722
+ * @param {*} [options] Override http request option.
59723
+ * @throws {RequiredError}
59724
+ * @memberof WorkspaceObjectControllerApi
59725
+ */
59726
+ getEntityFilterViews(requestParameters, options) {
59727
+ return WorkspaceObjectControllerApiFp(this.configuration)
59728
+ .getEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, options)
59729
+ .then((request) => request(this.axios, this.basePath));
59730
+ }
57761
59731
  /**
57762
59732
  *
57763
59733
  * @summary Get a Label
@@ -57940,6 +59910,19 @@ export class WorkspaceObjectControllerApi extends BaseAPI {
57940
59910
  .patchEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterContextPatchDocument, requestParameters.filter, requestParameters.include, options)
57941
59911
  .then((request) => request(this.axios, this.basePath));
57942
59912
  }
59913
+ /**
59914
+ *
59915
+ * @summary Patch Filter view
59916
+ * @param {WorkspaceObjectControllerApiPatchEntityFilterViewsRequest} requestParameters Request parameters.
59917
+ * @param {*} [options] Override http request option.
59918
+ * @throws {RequiredError}
59919
+ * @memberof WorkspaceObjectControllerApi
59920
+ */
59921
+ patchEntityFilterViews(requestParameters, options) {
59922
+ return WorkspaceObjectControllerApiFp(this.configuration)
59923
+ .patchEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewPatchDocument, requestParameters.filter, requestParameters.include, options)
59924
+ .then((request) => request(this.axios, this.basePath));
59925
+ }
57943
59926
  /**
57944
59927
  *
57945
59928
  * @summary Patch a Metric
@@ -58109,6 +60092,19 @@ export class WorkspaceObjectControllerApi extends BaseAPI {
58109
60092
  .updateEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterContextInDocument, requestParameters.filter, requestParameters.include, options)
58110
60093
  .then((request) => request(this.axios, this.basePath));
58111
60094
  }
60095
+ /**
60096
+ *
60097
+ * @summary Put Filter views
60098
+ * @param {WorkspaceObjectControllerApiUpdateEntityFilterViewsRequest} requestParameters Request parameters.
60099
+ * @param {*} [options] Override http request option.
60100
+ * @throws {RequiredError}
60101
+ * @memberof WorkspaceObjectControllerApi
60102
+ */
60103
+ updateEntityFilterViews(requestParameters, options) {
60104
+ return WorkspaceObjectControllerApiFp(this.configuration)
60105
+ .updateEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewInDocument, requestParameters.filter, requestParameters.include, options)
60106
+ .then((request) => request(this.axios, this.basePath));
60107
+ }
58112
60108
  /**
58113
60109
  *
58114
60110
  * @summary Put a Metric