@gooddata/api-client-tiger 11.11.0-alpha.5 → 11.11.0-alpha.6

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.
@@ -4761,6 +4761,62 @@ export async function AttributesApiAxiosParamCreator_GetEntityAttributes(workspa
4761
4761
  options: localVarRequestOptions,
4762
4762
  };
4763
4763
  }
4764
+ // AttributesApi FP - AttributesApiAxiosParamCreator
4765
+ /**
4766
+ *
4767
+ * @summary Patch an Attribute (beta)
4768
+ * @param {string} workspaceId
4769
+ * @param {string} objectId
4770
+ * @param {JsonApiAttributePatchDocument} jsonApiAttributePatchDocument
4771
+ * @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==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
4772
+ * @param {Array<'datasets' | 'labels' | 'attributeHierarchies' | 'dataset' | 'defaultView' | '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.
4773
+ * @param {*} [options] Override http request option.
4774
+ * @param {Configuration} [configuration] Optional configuration.
4775
+ * @throws {RequiredError}
4776
+ */
4777
+ export async function AttributesApiAxiosParamCreator_PatchEntityAttributes(workspaceId, objectId, jsonApiAttributePatchDocument, filter, include, options = {}, configuration) {
4778
+ // verify required parameter 'workspaceId' is not null or undefined
4779
+ assertParamExists("patchEntityAttributes", "workspaceId", workspaceId);
4780
+ // verify required parameter 'objectId' is not null or undefined
4781
+ assertParamExists("patchEntityAttributes", "objectId", objectId);
4782
+ // verify required parameter 'jsonApiAttributePatchDocument' is not null or undefined
4783
+ assertParamExists("patchEntityAttributes", "jsonApiAttributePatchDocument", jsonApiAttributePatchDocument);
4784
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/attributes/{objectId}`
4785
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
4786
+ .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
4787
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4788
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4789
+ let baseOptions;
4790
+ if (configuration) {
4791
+ baseOptions = configuration.baseOptions;
4792
+ }
4793
+ const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
4794
+ const localVarHeaderParameter = {};
4795
+ const localVarQueryParameter = {};
4796
+ if (filter !== undefined) {
4797
+ localVarQueryParameter["filter"] = filter;
4798
+ }
4799
+ if (include) {
4800
+ localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
4801
+ }
4802
+ localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
4803
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4804
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
4805
+ localVarRequestOptions.headers = {
4806
+ ...localVarHeaderParameter,
4807
+ ...headersFromBaseOptions,
4808
+ ...options.headers,
4809
+ };
4810
+ const needsSerialization = typeof jsonApiAttributePatchDocument !== "string" ||
4811
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
4812
+ localVarRequestOptions.data = needsSerialization
4813
+ ? JSON.stringify(jsonApiAttributePatchDocument !== undefined ? jsonApiAttributePatchDocument : {})
4814
+ : jsonApiAttributePatchDocument || "";
4815
+ return {
4816
+ url: toPathString(localVarUrlObj),
4817
+ options: localVarRequestOptions,
4818
+ };
4819
+ }
4764
4820
  // AttributesApi Api FP
4765
4821
  /**
4766
4822
  *
@@ -4791,6 +4847,21 @@ export async function AttributesApi_GetEntityAttributes(axios, basePath, request
4791
4847
  const localVarAxiosArgs = await AttributesApiAxiosParamCreator_GetEntityAttributes(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options || {}, configuration);
4792
4848
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
4793
4849
  }
4850
+ // AttributesApi Api FP
4851
+ /**
4852
+ *
4853
+ * @summary Patch an Attribute (beta)
4854
+ * @param {AxiosInstance} axios Axios instance.
4855
+ * @param {string} basePath Base path.
4856
+ * @param {AttributesApiPatchEntityAttributesRequest} requestParameters Request parameters.
4857
+ * @param {*} [options] Override http request option.
4858
+ * @param {Configuration} [configuration] Optional configuration.
4859
+ * @throws {RequiredError}
4860
+ */
4861
+ export async function AttributesApi_PatchEntityAttributes(axios, basePath, requestParameters, options, configuration) {
4862
+ const localVarAxiosArgs = await AttributesApiAxiosParamCreator_PatchEntityAttributes(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiAttributePatchDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
4863
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
4864
+ }
4794
4865
  /**
4795
4866
  * AttributesApi - object-oriented interface
4796
4867
  * @export
@@ -4820,6 +4891,17 @@ export class AttributesApi extends BaseAPI {
4820
4891
  getEntityAttributes(requestParameters, options) {
4821
4892
  return AttributesApi_GetEntityAttributes(this.axios, this.basePath, requestParameters, options, this.configuration);
4822
4893
  }
4894
+ /**
4895
+ *
4896
+ * @summary Patch an Attribute (beta)
4897
+ * @param {AttributesApiPatchEntityAttributesRequest} requestParameters Request parameters.
4898
+ * @param {*} [options] Override http request option.
4899
+ * @throws {RequiredError}
4900
+ * @memberof AttributesApi
4901
+ */
4902
+ patchEntityAttributes(requestParameters, options) {
4903
+ return AttributesApi_PatchEntityAttributes(this.axios, this.basePath, requestParameters, options, this.configuration);
4904
+ }
4823
4905
  }
4824
4906
  // AutomationOrganizationViewControllerApi FP - AutomationOrganizationViewControllerApiAxiosParamCreator
4825
4907
  /**
@@ -10465,6 +10547,62 @@ export async function DatasetsApiAxiosParamCreator_GetEntityDatasets(workspaceId
10465
10547
  options: localVarRequestOptions,
10466
10548
  };
10467
10549
  }
10550
+ // DatasetsApi FP - DatasetsApiAxiosParamCreator
10551
+ /**
10552
+ *
10553
+ * @summary Patch a Dataset (beta)
10554
+ * @param {string} workspaceId
10555
+ * @param {string} objectId
10556
+ * @param {JsonApiDatasetPatchDocument} jsonApiDatasetPatchDocument
10557
+ * @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;).
10558
+ * @param {Array<'attributes' | 'facts' | 'aggregatedFacts' | 'datasets' | 'workspaceDataFilters' | 'references' | '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.
10559
+ * @param {*} [options] Override http request option.
10560
+ * @param {Configuration} [configuration] Optional configuration.
10561
+ * @throws {RequiredError}
10562
+ */
10563
+ export async function DatasetsApiAxiosParamCreator_PatchEntityDatasets(workspaceId, objectId, jsonApiDatasetPatchDocument, filter, include, options = {}, configuration) {
10564
+ // verify required parameter 'workspaceId' is not null or undefined
10565
+ assertParamExists("patchEntityDatasets", "workspaceId", workspaceId);
10566
+ // verify required parameter 'objectId' is not null or undefined
10567
+ assertParamExists("patchEntityDatasets", "objectId", objectId);
10568
+ // verify required parameter 'jsonApiDatasetPatchDocument' is not null or undefined
10569
+ assertParamExists("patchEntityDatasets", "jsonApiDatasetPatchDocument", jsonApiDatasetPatchDocument);
10570
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/datasets/{objectId}`
10571
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
10572
+ .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
10573
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10574
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10575
+ let baseOptions;
10576
+ if (configuration) {
10577
+ baseOptions = configuration.baseOptions;
10578
+ }
10579
+ const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
10580
+ const localVarHeaderParameter = {};
10581
+ const localVarQueryParameter = {};
10582
+ if (filter !== undefined) {
10583
+ localVarQueryParameter["filter"] = filter;
10584
+ }
10585
+ if (include) {
10586
+ localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
10587
+ }
10588
+ localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
10589
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10590
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
10591
+ localVarRequestOptions.headers = {
10592
+ ...localVarHeaderParameter,
10593
+ ...headersFromBaseOptions,
10594
+ ...options.headers,
10595
+ };
10596
+ const needsSerialization = typeof jsonApiDatasetPatchDocument !== "string" ||
10597
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
10598
+ localVarRequestOptions.data = needsSerialization
10599
+ ? JSON.stringify(jsonApiDatasetPatchDocument !== undefined ? jsonApiDatasetPatchDocument : {})
10600
+ : jsonApiDatasetPatchDocument || "";
10601
+ return {
10602
+ url: toPathString(localVarUrlObj),
10603
+ options: localVarRequestOptions,
10604
+ };
10605
+ }
10468
10606
  // DatasetsApi Api FP
10469
10607
  /**
10470
10608
  *
@@ -10495,6 +10633,21 @@ export async function DatasetsApi_GetEntityDatasets(axios, basePath, requestPara
10495
10633
  const localVarAxiosArgs = await DatasetsApiAxiosParamCreator_GetEntityDatasets(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options || {}, configuration);
10496
10634
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
10497
10635
  }
10636
+ // DatasetsApi Api FP
10637
+ /**
10638
+ *
10639
+ * @summary Patch a Dataset (beta)
10640
+ * @param {AxiosInstance} axios Axios instance.
10641
+ * @param {string} basePath Base path.
10642
+ * @param {DatasetsApiPatchEntityDatasetsRequest} requestParameters Request parameters.
10643
+ * @param {*} [options] Override http request option.
10644
+ * @param {Configuration} [configuration] Optional configuration.
10645
+ * @throws {RequiredError}
10646
+ */
10647
+ export async function DatasetsApi_PatchEntityDatasets(axios, basePath, requestParameters, options, configuration) {
10648
+ const localVarAxiosArgs = await DatasetsApiAxiosParamCreator_PatchEntityDatasets(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiDatasetPatchDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
10649
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
10650
+ }
10498
10651
  /**
10499
10652
  * DatasetsApi - object-oriented interface
10500
10653
  * @export
@@ -10524,6 +10677,17 @@ export class DatasetsApi extends BaseAPI {
10524
10677
  getEntityDatasets(requestParameters, options) {
10525
10678
  return DatasetsApi_GetEntityDatasets(this.axios, this.basePath, requestParameters, options, this.configuration);
10526
10679
  }
10680
+ /**
10681
+ *
10682
+ * @summary Patch a Dataset (beta)
10683
+ * @param {DatasetsApiPatchEntityDatasetsRequest} requestParameters Request parameters.
10684
+ * @param {*} [options] Override http request option.
10685
+ * @throws {RequiredError}
10686
+ * @memberof DatasetsApi
10687
+ */
10688
+ patchEntityDatasets(requestParameters, options) {
10689
+ return DatasetsApi_PatchEntityDatasets(this.axios, this.basePath, requestParameters, options, this.configuration);
10690
+ }
10527
10691
  }
10528
10692
  // DependencyGraphApi FP - DependencyGraphApiAxiosParamCreator
10529
10693
  /**
@@ -17777,6 +17941,62 @@ export async function EntitiesApiAxiosParamCreator_PatchEntityAttributeHierarchi
17777
17941
  };
17778
17942
  }
17779
17943
  // EntitiesApi FP - EntitiesApiAxiosParamCreator
17944
+ /**
17945
+ *
17946
+ * @summary Patch an Attribute (beta)
17947
+ * @param {string} workspaceId
17948
+ * @param {string} objectId
17949
+ * @param {JsonApiAttributePatchDocument} jsonApiAttributePatchDocument
17950
+ * @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;).
17951
+ * @param {Array<'datasets' | 'labels' | 'attributeHierarchies' | 'dataset' | 'defaultView' | '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.
17952
+ * @param {*} [options] Override http request option.
17953
+ * @param {Configuration} [configuration] Optional configuration.
17954
+ * @throws {RequiredError}
17955
+ */
17956
+ export async function EntitiesApiAxiosParamCreator_PatchEntityAttributes(workspaceId, objectId, jsonApiAttributePatchDocument, filter, include, options = {}, configuration) {
17957
+ // verify required parameter 'workspaceId' is not null or undefined
17958
+ assertParamExists("patchEntityAttributes", "workspaceId", workspaceId);
17959
+ // verify required parameter 'objectId' is not null or undefined
17960
+ assertParamExists("patchEntityAttributes", "objectId", objectId);
17961
+ // verify required parameter 'jsonApiAttributePatchDocument' is not null or undefined
17962
+ assertParamExists("patchEntityAttributes", "jsonApiAttributePatchDocument", jsonApiAttributePatchDocument);
17963
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/attributes/{objectId}`
17964
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
17965
+ .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
17966
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17967
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17968
+ let baseOptions;
17969
+ if (configuration) {
17970
+ baseOptions = configuration.baseOptions;
17971
+ }
17972
+ const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
17973
+ const localVarHeaderParameter = {};
17974
+ const localVarQueryParameter = {};
17975
+ if (filter !== undefined) {
17976
+ localVarQueryParameter["filter"] = filter;
17977
+ }
17978
+ if (include) {
17979
+ localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
17980
+ }
17981
+ localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
17982
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17983
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
17984
+ localVarRequestOptions.headers = {
17985
+ ...localVarHeaderParameter,
17986
+ ...headersFromBaseOptions,
17987
+ ...options.headers,
17988
+ };
17989
+ const needsSerialization = typeof jsonApiAttributePatchDocument !== "string" ||
17990
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
17991
+ localVarRequestOptions.data = needsSerialization
17992
+ ? JSON.stringify(jsonApiAttributePatchDocument !== undefined ? jsonApiAttributePatchDocument : {})
17993
+ : jsonApiAttributePatchDocument || "";
17994
+ return {
17995
+ url: toPathString(localVarUrlObj),
17996
+ options: localVarRequestOptions,
17997
+ };
17998
+ }
17999
+ // EntitiesApi FP - EntitiesApiAxiosParamCreator
17780
18000
  /**
17781
18001
  *
17782
18002
  * @summary Patch an Automation
@@ -18133,6 +18353,62 @@ export async function EntitiesApiAxiosParamCreator_PatchEntityDataSources(id, js
18133
18353
  };
18134
18354
  }
18135
18355
  // EntitiesApi FP - EntitiesApiAxiosParamCreator
18356
+ /**
18357
+ *
18358
+ * @summary Patch a Dataset (beta)
18359
+ * @param {string} workspaceId
18360
+ * @param {string} objectId
18361
+ * @param {JsonApiDatasetPatchDocument} jsonApiDatasetPatchDocument
18362
+ * @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;).
18363
+ * @param {Array<'attributes' | 'facts' | 'aggregatedFacts' | 'datasets' | 'workspaceDataFilters' | 'references' | '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.
18364
+ * @param {*} [options] Override http request option.
18365
+ * @param {Configuration} [configuration] Optional configuration.
18366
+ * @throws {RequiredError}
18367
+ */
18368
+ export async function EntitiesApiAxiosParamCreator_PatchEntityDatasets(workspaceId, objectId, jsonApiDatasetPatchDocument, filter, include, options = {}, configuration) {
18369
+ // verify required parameter 'workspaceId' is not null or undefined
18370
+ assertParamExists("patchEntityDatasets", "workspaceId", workspaceId);
18371
+ // verify required parameter 'objectId' is not null or undefined
18372
+ assertParamExists("patchEntityDatasets", "objectId", objectId);
18373
+ // verify required parameter 'jsonApiDatasetPatchDocument' is not null or undefined
18374
+ assertParamExists("patchEntityDatasets", "jsonApiDatasetPatchDocument", jsonApiDatasetPatchDocument);
18375
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/datasets/{objectId}`
18376
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
18377
+ .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
18378
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18379
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18380
+ let baseOptions;
18381
+ if (configuration) {
18382
+ baseOptions = configuration.baseOptions;
18383
+ }
18384
+ const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
18385
+ const localVarHeaderParameter = {};
18386
+ const localVarQueryParameter = {};
18387
+ if (filter !== undefined) {
18388
+ localVarQueryParameter["filter"] = filter;
18389
+ }
18390
+ if (include) {
18391
+ localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
18392
+ }
18393
+ localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
18394
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18395
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
18396
+ localVarRequestOptions.headers = {
18397
+ ...localVarHeaderParameter,
18398
+ ...headersFromBaseOptions,
18399
+ ...options.headers,
18400
+ };
18401
+ const needsSerialization = typeof jsonApiDatasetPatchDocument !== "string" ||
18402
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
18403
+ localVarRequestOptions.data = needsSerialization
18404
+ ? JSON.stringify(jsonApiDatasetPatchDocument !== undefined ? jsonApiDatasetPatchDocument : {})
18405
+ : jsonApiDatasetPatchDocument || "";
18406
+ return {
18407
+ url: toPathString(localVarUrlObj),
18408
+ options: localVarRequestOptions,
18409
+ };
18410
+ }
18411
+ // EntitiesApi FP - EntitiesApiAxiosParamCreator
18136
18412
  /**
18137
18413
  *
18138
18414
  * @summary Patch an Export Definition
@@ -18236,6 +18512,62 @@ export async function EntitiesApiAxiosParamCreator_PatchEntityExportTemplates(id
18236
18512
  };
18237
18513
  }
18238
18514
  // EntitiesApi FP - EntitiesApiAxiosParamCreator
18515
+ /**
18516
+ *
18517
+ * @summary Patch a Fact (beta)
18518
+ * @param {string} workspaceId
18519
+ * @param {string} objectId
18520
+ * @param {JsonApiFactPatchDocument} jsonApiFactPatchDocument
18521
+ * @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;).
18522
+ * @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.
18523
+ * @param {*} [options] Override http request option.
18524
+ * @param {Configuration} [configuration] Optional configuration.
18525
+ * @throws {RequiredError}
18526
+ */
18527
+ export async function EntitiesApiAxiosParamCreator_PatchEntityFacts(workspaceId, objectId, jsonApiFactPatchDocument, filter, include, options = {}, configuration) {
18528
+ // verify required parameter 'workspaceId' is not null or undefined
18529
+ assertParamExists("patchEntityFacts", "workspaceId", workspaceId);
18530
+ // verify required parameter 'objectId' is not null or undefined
18531
+ assertParamExists("patchEntityFacts", "objectId", objectId);
18532
+ // verify required parameter 'jsonApiFactPatchDocument' is not null or undefined
18533
+ assertParamExists("patchEntityFacts", "jsonApiFactPatchDocument", jsonApiFactPatchDocument);
18534
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/facts/{objectId}`
18535
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
18536
+ .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
18537
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18538
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18539
+ let baseOptions;
18540
+ if (configuration) {
18541
+ baseOptions = configuration.baseOptions;
18542
+ }
18543
+ const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
18544
+ const localVarHeaderParameter = {};
18545
+ const localVarQueryParameter = {};
18546
+ if (filter !== undefined) {
18547
+ localVarQueryParameter["filter"] = filter;
18548
+ }
18549
+ if (include) {
18550
+ localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
18551
+ }
18552
+ localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
18553
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18554
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
18555
+ localVarRequestOptions.headers = {
18556
+ ...localVarHeaderParameter,
18557
+ ...headersFromBaseOptions,
18558
+ ...options.headers,
18559
+ };
18560
+ const needsSerialization = typeof jsonApiFactPatchDocument !== "string" ||
18561
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
18562
+ localVarRequestOptions.data = needsSerialization
18563
+ ? JSON.stringify(jsonApiFactPatchDocument !== undefined ? jsonApiFactPatchDocument : {})
18564
+ : jsonApiFactPatchDocument || "";
18565
+ return {
18566
+ url: toPathString(localVarUrlObj),
18567
+ options: localVarRequestOptions,
18568
+ };
18569
+ }
18570
+ // EntitiesApi FP - EntitiesApiAxiosParamCreator
18239
18571
  /**
18240
18572
  *
18241
18573
  * @summary Patch a Context Filter
@@ -18442,6 +18774,62 @@ export async function EntitiesApiAxiosParamCreator_PatchEntityJwks(id, jsonApiJw
18442
18774
  };
18443
18775
  }
18444
18776
  // EntitiesApi FP - EntitiesApiAxiosParamCreator
18777
+ /**
18778
+ *
18779
+ * @summary Patch a Label (beta)
18780
+ * @param {string} workspaceId
18781
+ * @param {string} objectId
18782
+ * @param {JsonApiLabelPatchDocument} jsonApiLabelPatchDocument
18783
+ * @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;).
18784
+ * @param {Array<'attributes' | 'attribute' | '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.
18785
+ * @param {*} [options] Override http request option.
18786
+ * @param {Configuration} [configuration] Optional configuration.
18787
+ * @throws {RequiredError}
18788
+ */
18789
+ export async function EntitiesApiAxiosParamCreator_PatchEntityLabels(workspaceId, objectId, jsonApiLabelPatchDocument, filter, include, options = {}, configuration) {
18790
+ // verify required parameter 'workspaceId' is not null or undefined
18791
+ assertParamExists("patchEntityLabels", "workspaceId", workspaceId);
18792
+ // verify required parameter 'objectId' is not null or undefined
18793
+ assertParamExists("patchEntityLabels", "objectId", objectId);
18794
+ // verify required parameter 'jsonApiLabelPatchDocument' is not null or undefined
18795
+ assertParamExists("patchEntityLabels", "jsonApiLabelPatchDocument", jsonApiLabelPatchDocument);
18796
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/labels/{objectId}`
18797
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
18798
+ .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
18799
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18800
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18801
+ let baseOptions;
18802
+ if (configuration) {
18803
+ baseOptions = configuration.baseOptions;
18804
+ }
18805
+ const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
18806
+ const localVarHeaderParameter = {};
18807
+ const localVarQueryParameter = {};
18808
+ if (filter !== undefined) {
18809
+ localVarQueryParameter["filter"] = filter;
18810
+ }
18811
+ if (include) {
18812
+ localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
18813
+ }
18814
+ localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
18815
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18816
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
18817
+ localVarRequestOptions.headers = {
18818
+ ...localVarHeaderParameter,
18819
+ ...headersFromBaseOptions,
18820
+ ...options.headers,
18821
+ };
18822
+ const needsSerialization = typeof jsonApiLabelPatchDocument !== "string" ||
18823
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
18824
+ localVarRequestOptions.data = needsSerialization
18825
+ ? JSON.stringify(jsonApiLabelPatchDocument !== undefined ? jsonApiLabelPatchDocument : {})
18826
+ : jsonApiLabelPatchDocument || "";
18827
+ return {
18828
+ url: toPathString(localVarUrlObj),
18829
+ options: localVarRequestOptions,
18830
+ };
18831
+ }
18832
+ // EntitiesApi FP - EntitiesApiAxiosParamCreator
18445
18833
  /**
18446
18834
  *
18447
18835
  * @summary Patch LLM endpoint entity
@@ -24090,6 +24478,21 @@ export async function EntitiesApi_PatchEntityAttributeHierarchies(axios, basePat
24090
24478
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
24091
24479
  }
24092
24480
  // EntitiesApi Api FP
24481
+ /**
24482
+ *
24483
+ * @summary Patch an Attribute (beta)
24484
+ * @param {AxiosInstance} axios Axios instance.
24485
+ * @param {string} basePath Base path.
24486
+ * @param {EntitiesApiPatchEntityAttributesRequest} requestParameters Request parameters.
24487
+ * @param {*} [options] Override http request option.
24488
+ * @param {Configuration} [configuration] Optional configuration.
24489
+ * @throws {RequiredError}
24490
+ */
24491
+ export async function EntitiesApi_PatchEntityAttributes(axios, basePath, requestParameters, options, configuration) {
24492
+ const localVarAxiosArgs = await EntitiesApiAxiosParamCreator_PatchEntityAttributes(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiAttributePatchDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
24493
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
24494
+ }
24495
+ // EntitiesApi Api FP
24093
24496
  /**
24094
24497
  *
24095
24498
  * @summary Patch an Automation
@@ -24195,6 +24598,21 @@ export async function EntitiesApi_PatchEntityDataSources(axios, basePath, reques
24195
24598
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
24196
24599
  }
24197
24600
  // EntitiesApi Api FP
24601
+ /**
24602
+ *
24603
+ * @summary Patch a Dataset (beta)
24604
+ * @param {AxiosInstance} axios Axios instance.
24605
+ * @param {string} basePath Base path.
24606
+ * @param {EntitiesApiPatchEntityDatasetsRequest} requestParameters Request parameters.
24607
+ * @param {*} [options] Override http request option.
24608
+ * @param {Configuration} [configuration] Optional configuration.
24609
+ * @throws {RequiredError}
24610
+ */
24611
+ export async function EntitiesApi_PatchEntityDatasets(axios, basePath, requestParameters, options, configuration) {
24612
+ const localVarAxiosArgs = await EntitiesApiAxiosParamCreator_PatchEntityDatasets(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiDatasetPatchDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
24613
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
24614
+ }
24615
+ // EntitiesApi Api FP
24198
24616
  /**
24199
24617
  *
24200
24618
  * @summary Patch an Export Definition
@@ -24225,6 +24643,21 @@ export async function EntitiesApi_PatchEntityExportTemplates(axios, basePath, re
24225
24643
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
24226
24644
  }
24227
24645
  // EntitiesApi Api FP
24646
+ /**
24647
+ *
24648
+ * @summary Patch a Fact (beta)
24649
+ * @param {AxiosInstance} axios Axios instance.
24650
+ * @param {string} basePath Base path.
24651
+ * @param {EntitiesApiPatchEntityFactsRequest} requestParameters Request parameters.
24652
+ * @param {*} [options] Override http request option.
24653
+ * @param {Configuration} [configuration] Optional configuration.
24654
+ * @throws {RequiredError}
24655
+ */
24656
+ export async function EntitiesApi_PatchEntityFacts(axios, basePath, requestParameters, options, configuration) {
24657
+ const localVarAxiosArgs = await EntitiesApiAxiosParamCreator_PatchEntityFacts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFactPatchDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
24658
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
24659
+ }
24660
+ // EntitiesApi Api FP
24228
24661
  /**
24229
24662
  *
24230
24663
  * @summary Patch a Context Filter
@@ -24285,6 +24718,21 @@ export async function EntitiesApi_PatchEntityJwks(axios, basePath, requestParame
24285
24718
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
24286
24719
  }
24287
24720
  // EntitiesApi Api FP
24721
+ /**
24722
+ *
24723
+ * @summary Patch a Label (beta)
24724
+ * @param {AxiosInstance} axios Axios instance.
24725
+ * @param {string} basePath Base path.
24726
+ * @param {EntitiesApiPatchEntityLabelsRequest} requestParameters Request parameters.
24727
+ * @param {*} [options] Override http request option.
24728
+ * @param {Configuration} [configuration] Optional configuration.
24729
+ * @throws {RequiredError}
24730
+ */
24731
+ export async function EntitiesApi_PatchEntityLabels(axios, basePath, requestParameters, options, configuration) {
24732
+ const localVarAxiosArgs = await EntitiesApiAxiosParamCreator_PatchEntityLabels(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiLabelPatchDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
24733
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
24734
+ }
24735
+ // EntitiesApi Api FP
24288
24736
  /**
24289
24737
  *
24290
24738
  * @summary Patch LLM endpoint entity
@@ -26888,6 +27336,17 @@ export class EntitiesApi extends BaseAPI {
26888
27336
  patchEntityAttributeHierarchies(requestParameters, options) {
26889
27337
  return EntitiesApi_PatchEntityAttributeHierarchies(this.axios, this.basePath, requestParameters, options, this.configuration);
26890
27338
  }
27339
+ /**
27340
+ *
27341
+ * @summary Patch an Attribute (beta)
27342
+ * @param {EntitiesApiPatchEntityAttributesRequest} requestParameters Request parameters.
27343
+ * @param {*} [options] Override http request option.
27344
+ * @throws {RequiredError}
27345
+ * @memberof EntitiesApi
27346
+ */
27347
+ patchEntityAttributes(requestParameters, options) {
27348
+ return EntitiesApi_PatchEntityAttributes(this.axios, this.basePath, requestParameters, options, this.configuration);
27349
+ }
26891
27350
  /**
26892
27351
  *
26893
27352
  * @summary Patch an Automation
@@ -26965,6 +27424,17 @@ export class EntitiesApi extends BaseAPI {
26965
27424
  patchEntityDataSources(requestParameters, options) {
26966
27425
  return EntitiesApi_PatchEntityDataSources(this.axios, this.basePath, requestParameters, options, this.configuration);
26967
27426
  }
27427
+ /**
27428
+ *
27429
+ * @summary Patch a Dataset (beta)
27430
+ * @param {EntitiesApiPatchEntityDatasetsRequest} requestParameters Request parameters.
27431
+ * @param {*} [options] Override http request option.
27432
+ * @throws {RequiredError}
27433
+ * @memberof EntitiesApi
27434
+ */
27435
+ patchEntityDatasets(requestParameters, options) {
27436
+ return EntitiesApi_PatchEntityDatasets(this.axios, this.basePath, requestParameters, options, this.configuration);
27437
+ }
26968
27438
  /**
26969
27439
  *
26970
27440
  * @summary Patch an Export Definition
@@ -26987,6 +27457,17 @@ export class EntitiesApi extends BaseAPI {
26987
27457
  patchEntityExportTemplates(requestParameters, options) {
26988
27458
  return EntitiesApi_PatchEntityExportTemplates(this.axios, this.basePath, requestParameters, options, this.configuration);
26989
27459
  }
27460
+ /**
27461
+ *
27462
+ * @summary Patch a Fact (beta)
27463
+ * @param {EntitiesApiPatchEntityFactsRequest} requestParameters Request parameters.
27464
+ * @param {*} [options] Override http request option.
27465
+ * @throws {RequiredError}
27466
+ * @memberof EntitiesApi
27467
+ */
27468
+ patchEntityFacts(requestParameters, options) {
27469
+ return EntitiesApi_PatchEntityFacts(this.axios, this.basePath, requestParameters, options, this.configuration);
27470
+ }
26990
27471
  /**
26991
27472
  *
26992
27473
  * @summary Patch a Context Filter
@@ -27031,6 +27512,17 @@ export class EntitiesApi extends BaseAPI {
27031
27512
  patchEntityJwks(requestParameters, options) {
27032
27513
  return EntitiesApi_PatchEntityJwks(this.axios, this.basePath, requestParameters, options, this.configuration);
27033
27514
  }
27515
+ /**
27516
+ *
27517
+ * @summary Patch a Label (beta)
27518
+ * @param {EntitiesApiPatchEntityLabelsRequest} requestParameters Request parameters.
27519
+ * @param {*} [options] Override http request option.
27520
+ * @throws {RequiredError}
27521
+ * @memberof EntitiesApi
27522
+ */
27523
+ patchEntityLabels(requestParameters, options) {
27524
+ return EntitiesApi_PatchEntityLabels(this.axios, this.basePath, requestParameters, options, this.configuration);
27525
+ }
27034
27526
  /**
27035
27527
  *
27036
27528
  * @summary Patch LLM endpoint entity
@@ -29077,6 +29569,62 @@ export async function FactsApiAxiosParamCreator_GetEntityFacts(workspaceId, obje
29077
29569
  options: localVarRequestOptions,
29078
29570
  };
29079
29571
  }
29572
+ // FactsApi FP - FactsApiAxiosParamCreator
29573
+ /**
29574
+ *
29575
+ * @summary Patch a Fact (beta)
29576
+ * @param {string} workspaceId
29577
+ * @param {string} objectId
29578
+ * @param {JsonApiFactPatchDocument} jsonApiFactPatchDocument
29579
+ * @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;).
29580
+ * @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.
29581
+ * @param {*} [options] Override http request option.
29582
+ * @param {Configuration} [configuration] Optional configuration.
29583
+ * @throws {RequiredError}
29584
+ */
29585
+ export async function FactsApiAxiosParamCreator_PatchEntityFacts(workspaceId, objectId, jsonApiFactPatchDocument, filter, include, options = {}, configuration) {
29586
+ // verify required parameter 'workspaceId' is not null or undefined
29587
+ assertParamExists("patchEntityFacts", "workspaceId", workspaceId);
29588
+ // verify required parameter 'objectId' is not null or undefined
29589
+ assertParamExists("patchEntityFacts", "objectId", objectId);
29590
+ // verify required parameter 'jsonApiFactPatchDocument' is not null or undefined
29591
+ assertParamExists("patchEntityFacts", "jsonApiFactPatchDocument", jsonApiFactPatchDocument);
29592
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/facts/{objectId}`
29593
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
29594
+ .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
29595
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29596
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29597
+ let baseOptions;
29598
+ if (configuration) {
29599
+ baseOptions = configuration.baseOptions;
29600
+ }
29601
+ const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
29602
+ const localVarHeaderParameter = {};
29603
+ const localVarQueryParameter = {};
29604
+ if (filter !== undefined) {
29605
+ localVarQueryParameter["filter"] = filter;
29606
+ }
29607
+ if (include) {
29608
+ localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
29609
+ }
29610
+ localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
29611
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29612
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
29613
+ localVarRequestOptions.headers = {
29614
+ ...localVarHeaderParameter,
29615
+ ...headersFromBaseOptions,
29616
+ ...options.headers,
29617
+ };
29618
+ const needsSerialization = typeof jsonApiFactPatchDocument !== "string" ||
29619
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
29620
+ localVarRequestOptions.data = needsSerialization
29621
+ ? JSON.stringify(jsonApiFactPatchDocument !== undefined ? jsonApiFactPatchDocument : {})
29622
+ : jsonApiFactPatchDocument || "";
29623
+ return {
29624
+ url: toPathString(localVarUrlObj),
29625
+ options: localVarRequestOptions,
29626
+ };
29627
+ }
29080
29628
  // FactsApi Api FP
29081
29629
  /**
29082
29630
  *
@@ -29107,6 +29655,21 @@ export async function FactsApi_GetEntityFacts(axios, basePath, requestParameters
29107
29655
  const localVarAxiosArgs = await FactsApiAxiosParamCreator_GetEntityFacts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options || {}, configuration);
29108
29656
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
29109
29657
  }
29658
+ // FactsApi Api FP
29659
+ /**
29660
+ *
29661
+ * @summary Patch a Fact (beta)
29662
+ * @param {AxiosInstance} axios Axios instance.
29663
+ * @param {string} basePath Base path.
29664
+ * @param {FactsApiPatchEntityFactsRequest} requestParameters Request parameters.
29665
+ * @param {*} [options] Override http request option.
29666
+ * @param {Configuration} [configuration] Optional configuration.
29667
+ * @throws {RequiredError}
29668
+ */
29669
+ export async function FactsApi_PatchEntityFacts(axios, basePath, requestParameters, options, configuration) {
29670
+ const localVarAxiosArgs = await FactsApiAxiosParamCreator_PatchEntityFacts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFactPatchDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
29671
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
29672
+ }
29110
29673
  /**
29111
29674
  * FactsApi - object-oriented interface
29112
29675
  * @export
@@ -29136,6 +29699,17 @@ export class FactsApi extends BaseAPI {
29136
29699
  getEntityFacts(requestParameters, options) {
29137
29700
  return FactsApi_GetEntityFacts(this.axios, this.basePath, requestParameters, options, this.configuration);
29138
29701
  }
29702
+ /**
29703
+ *
29704
+ * @summary Patch a Fact (beta)
29705
+ * @param {FactsApiPatchEntityFactsRequest} requestParameters Request parameters.
29706
+ * @param {*} [options] Override http request option.
29707
+ * @throws {RequiredError}
29708
+ * @memberof FactsApi
29709
+ */
29710
+ patchEntityFacts(requestParameters, options) {
29711
+ return FactsApi_PatchEntityFacts(this.axios, this.basePath, requestParameters, options, this.configuration);
29712
+ }
29139
29713
  }
29140
29714
  // FilterViewsApi FP - FilterViewsApiAxiosParamCreator
29141
29715
  /**
@@ -31810,6 +32384,62 @@ export async function LabelsApiAxiosParamCreator_GetEntityLabels(workspaceId, ob
31810
32384
  options: localVarRequestOptions,
31811
32385
  };
31812
32386
  }
32387
+ // LabelsApi FP - LabelsApiAxiosParamCreator
32388
+ /**
32389
+ *
32390
+ * @summary Patch a Label (beta)
32391
+ * @param {string} workspaceId
32392
+ * @param {string} objectId
32393
+ * @param {JsonApiLabelPatchDocument} jsonApiLabelPatchDocument
32394
+ * @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;).
32395
+ * @param {Array<'attributes' | 'attribute' | '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.
32396
+ * @param {*} [options] Override http request option.
32397
+ * @param {Configuration} [configuration] Optional configuration.
32398
+ * @throws {RequiredError}
32399
+ */
32400
+ export async function LabelsApiAxiosParamCreator_PatchEntityLabels(workspaceId, objectId, jsonApiLabelPatchDocument, filter, include, options = {}, configuration) {
32401
+ // verify required parameter 'workspaceId' is not null or undefined
32402
+ assertParamExists("patchEntityLabels", "workspaceId", workspaceId);
32403
+ // verify required parameter 'objectId' is not null or undefined
32404
+ assertParamExists("patchEntityLabels", "objectId", objectId);
32405
+ // verify required parameter 'jsonApiLabelPatchDocument' is not null or undefined
32406
+ assertParamExists("patchEntityLabels", "jsonApiLabelPatchDocument", jsonApiLabelPatchDocument);
32407
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/labels/{objectId}`
32408
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
32409
+ .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
32410
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32411
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32412
+ let baseOptions;
32413
+ if (configuration) {
32414
+ baseOptions = configuration.baseOptions;
32415
+ }
32416
+ const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
32417
+ const localVarHeaderParameter = {};
32418
+ const localVarQueryParameter = {};
32419
+ if (filter !== undefined) {
32420
+ localVarQueryParameter["filter"] = filter;
32421
+ }
32422
+ if (include) {
32423
+ localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
32424
+ }
32425
+ localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
32426
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32427
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
32428
+ localVarRequestOptions.headers = {
32429
+ ...localVarHeaderParameter,
32430
+ ...headersFromBaseOptions,
32431
+ ...options.headers,
32432
+ };
32433
+ const needsSerialization = typeof jsonApiLabelPatchDocument !== "string" ||
32434
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
32435
+ localVarRequestOptions.data = needsSerialization
32436
+ ? JSON.stringify(jsonApiLabelPatchDocument !== undefined ? jsonApiLabelPatchDocument : {})
32437
+ : jsonApiLabelPatchDocument || "";
32438
+ return {
32439
+ url: toPathString(localVarUrlObj),
32440
+ options: localVarRequestOptions,
32441
+ };
32442
+ }
31813
32443
  // LabelsApi Api FP
31814
32444
  /**
31815
32445
  *
@@ -31840,6 +32470,21 @@ export async function LabelsApi_GetEntityLabels(axios, basePath, requestParamete
31840
32470
  const localVarAxiosArgs = await LabelsApiAxiosParamCreator_GetEntityLabels(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options || {}, configuration);
31841
32471
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
31842
32472
  }
32473
+ // LabelsApi Api FP
32474
+ /**
32475
+ *
32476
+ * @summary Patch a Label (beta)
32477
+ * @param {AxiosInstance} axios Axios instance.
32478
+ * @param {string} basePath Base path.
32479
+ * @param {LabelsApiPatchEntityLabelsRequest} requestParameters Request parameters.
32480
+ * @param {*} [options] Override http request option.
32481
+ * @param {Configuration} [configuration] Optional configuration.
32482
+ * @throws {RequiredError}
32483
+ */
32484
+ export async function LabelsApi_PatchEntityLabels(axios, basePath, requestParameters, options, configuration) {
32485
+ const localVarAxiosArgs = await LabelsApiAxiosParamCreator_PatchEntityLabels(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiLabelPatchDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
32486
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
32487
+ }
31843
32488
  /**
31844
32489
  * LabelsApi - object-oriented interface
31845
32490
  * @export
@@ -31869,6 +32514,17 @@ export class LabelsApi extends BaseAPI {
31869
32514
  getEntityLabels(requestParameters, options) {
31870
32515
  return LabelsApi_GetEntityLabels(this.axios, this.basePath, requestParameters, options, this.configuration);
31871
32516
  }
32517
+ /**
32518
+ *
32519
+ * @summary Patch a Label (beta)
32520
+ * @param {LabelsApiPatchEntityLabelsRequest} requestParameters Request parameters.
32521
+ * @param {*} [options] Override http request option.
32522
+ * @throws {RequiredError}
32523
+ * @memberof LabelsApi
32524
+ */
32525
+ patchEntityLabels(requestParameters, options) {
32526
+ return LabelsApi_PatchEntityLabels(this.axios, this.basePath, requestParameters, options, this.configuration);
32527
+ }
31872
32528
  }
31873
32529
  // LayoutApi FP - LayoutApiAxiosParamCreator
31874
32530
  /**
@@ -53410,6 +54066,62 @@ export async function WorkspaceObjectControllerApiAxiosParamCreator_PatchEntityA
53410
54066
  };
53411
54067
  }
53412
54068
  // WorkspaceObjectControllerApi FP - WorkspaceObjectControllerApiAxiosParamCreator
54069
+ /**
54070
+ *
54071
+ * @summary Patch an Attribute (beta)
54072
+ * @param {string} workspaceId
54073
+ * @param {string} objectId
54074
+ * @param {JsonApiAttributePatchDocument} jsonApiAttributePatchDocument
54075
+ * @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;).
54076
+ * @param {Array<'datasets' | 'labels' | 'attributeHierarchies' | 'dataset' | 'defaultView' | '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.
54077
+ * @param {*} [options] Override http request option.
54078
+ * @param {Configuration} [configuration] Optional configuration.
54079
+ * @throws {RequiredError}
54080
+ */
54081
+ export async function WorkspaceObjectControllerApiAxiosParamCreator_PatchEntityAttributes(workspaceId, objectId, jsonApiAttributePatchDocument, filter, include, options = {}, configuration) {
54082
+ // verify required parameter 'workspaceId' is not null or undefined
54083
+ assertParamExists("patchEntityAttributes", "workspaceId", workspaceId);
54084
+ // verify required parameter 'objectId' is not null or undefined
54085
+ assertParamExists("patchEntityAttributes", "objectId", objectId);
54086
+ // verify required parameter 'jsonApiAttributePatchDocument' is not null or undefined
54087
+ assertParamExists("patchEntityAttributes", "jsonApiAttributePatchDocument", jsonApiAttributePatchDocument);
54088
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/attributes/{objectId}`
54089
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
54090
+ .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
54091
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
54092
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
54093
+ let baseOptions;
54094
+ if (configuration) {
54095
+ baseOptions = configuration.baseOptions;
54096
+ }
54097
+ const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
54098
+ const localVarHeaderParameter = {};
54099
+ const localVarQueryParameter = {};
54100
+ if (filter !== undefined) {
54101
+ localVarQueryParameter["filter"] = filter;
54102
+ }
54103
+ if (include) {
54104
+ localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
54105
+ }
54106
+ localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
54107
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
54108
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
54109
+ localVarRequestOptions.headers = {
54110
+ ...localVarHeaderParameter,
54111
+ ...headersFromBaseOptions,
54112
+ ...options.headers,
54113
+ };
54114
+ const needsSerialization = typeof jsonApiAttributePatchDocument !== "string" ||
54115
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
54116
+ localVarRequestOptions.data = needsSerialization
54117
+ ? JSON.stringify(jsonApiAttributePatchDocument !== undefined ? jsonApiAttributePatchDocument : {})
54118
+ : jsonApiAttributePatchDocument || "";
54119
+ return {
54120
+ url: toPathString(localVarUrlObj),
54121
+ options: localVarRequestOptions,
54122
+ };
54123
+ }
54124
+ // WorkspaceObjectControllerApi FP - WorkspaceObjectControllerApiAxiosParamCreator
53413
54125
  /**
53414
54126
  *
53415
54127
  * @summary Patch an Automation
@@ -53576,6 +54288,62 @@ export async function WorkspaceObjectControllerApiAxiosParamCreator_PatchEntityD
53576
54288
  };
53577
54289
  }
53578
54290
  // WorkspaceObjectControllerApi FP - WorkspaceObjectControllerApiAxiosParamCreator
54291
+ /**
54292
+ *
54293
+ * @summary Patch a Dataset (beta)
54294
+ * @param {string} workspaceId
54295
+ * @param {string} objectId
54296
+ * @param {JsonApiDatasetPatchDocument} jsonApiDatasetPatchDocument
54297
+ * @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;).
54298
+ * @param {Array<'attributes' | 'facts' | 'aggregatedFacts' | 'datasets' | 'workspaceDataFilters' | 'references' | '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.
54299
+ * @param {*} [options] Override http request option.
54300
+ * @param {Configuration} [configuration] Optional configuration.
54301
+ * @throws {RequiredError}
54302
+ */
54303
+ export async function WorkspaceObjectControllerApiAxiosParamCreator_PatchEntityDatasets(workspaceId, objectId, jsonApiDatasetPatchDocument, filter, include, options = {}, configuration) {
54304
+ // verify required parameter 'workspaceId' is not null or undefined
54305
+ assertParamExists("patchEntityDatasets", "workspaceId", workspaceId);
54306
+ // verify required parameter 'objectId' is not null or undefined
54307
+ assertParamExists("patchEntityDatasets", "objectId", objectId);
54308
+ // verify required parameter 'jsonApiDatasetPatchDocument' is not null or undefined
54309
+ assertParamExists("patchEntityDatasets", "jsonApiDatasetPatchDocument", jsonApiDatasetPatchDocument);
54310
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/datasets/{objectId}`
54311
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
54312
+ .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
54313
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
54314
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
54315
+ let baseOptions;
54316
+ if (configuration) {
54317
+ baseOptions = configuration.baseOptions;
54318
+ }
54319
+ const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
54320
+ const localVarHeaderParameter = {};
54321
+ const localVarQueryParameter = {};
54322
+ if (filter !== undefined) {
54323
+ localVarQueryParameter["filter"] = filter;
54324
+ }
54325
+ if (include) {
54326
+ localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
54327
+ }
54328
+ localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
54329
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
54330
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
54331
+ localVarRequestOptions.headers = {
54332
+ ...localVarHeaderParameter,
54333
+ ...headersFromBaseOptions,
54334
+ ...options.headers,
54335
+ };
54336
+ const needsSerialization = typeof jsonApiDatasetPatchDocument !== "string" ||
54337
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
54338
+ localVarRequestOptions.data = needsSerialization
54339
+ ? JSON.stringify(jsonApiDatasetPatchDocument !== undefined ? jsonApiDatasetPatchDocument : {})
54340
+ : jsonApiDatasetPatchDocument || "";
54341
+ return {
54342
+ url: toPathString(localVarUrlObj),
54343
+ options: localVarRequestOptions,
54344
+ };
54345
+ }
54346
+ // WorkspaceObjectControllerApi FP - WorkspaceObjectControllerApiAxiosParamCreator
53579
54347
  /**
53580
54348
  *
53581
54349
  * @summary Patch an Export Definition
@@ -53632,6 +54400,62 @@ export async function WorkspaceObjectControllerApiAxiosParamCreator_PatchEntityE
53632
54400
  };
53633
54401
  }
53634
54402
  // WorkspaceObjectControllerApi FP - WorkspaceObjectControllerApiAxiosParamCreator
54403
+ /**
54404
+ *
54405
+ * @summary Patch a Fact (beta)
54406
+ * @param {string} workspaceId
54407
+ * @param {string} objectId
54408
+ * @param {JsonApiFactPatchDocument} jsonApiFactPatchDocument
54409
+ * @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;).
54410
+ * @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.
54411
+ * @param {*} [options] Override http request option.
54412
+ * @param {Configuration} [configuration] Optional configuration.
54413
+ * @throws {RequiredError}
54414
+ */
54415
+ export async function WorkspaceObjectControllerApiAxiosParamCreator_PatchEntityFacts(workspaceId, objectId, jsonApiFactPatchDocument, filter, include, options = {}, configuration) {
54416
+ // verify required parameter 'workspaceId' is not null or undefined
54417
+ assertParamExists("patchEntityFacts", "workspaceId", workspaceId);
54418
+ // verify required parameter 'objectId' is not null or undefined
54419
+ assertParamExists("patchEntityFacts", "objectId", objectId);
54420
+ // verify required parameter 'jsonApiFactPatchDocument' is not null or undefined
54421
+ assertParamExists("patchEntityFacts", "jsonApiFactPatchDocument", jsonApiFactPatchDocument);
54422
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/facts/{objectId}`
54423
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
54424
+ .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
54425
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
54426
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
54427
+ let baseOptions;
54428
+ if (configuration) {
54429
+ baseOptions = configuration.baseOptions;
54430
+ }
54431
+ const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
54432
+ const localVarHeaderParameter = {};
54433
+ const localVarQueryParameter = {};
54434
+ if (filter !== undefined) {
54435
+ localVarQueryParameter["filter"] = filter;
54436
+ }
54437
+ if (include) {
54438
+ localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
54439
+ }
54440
+ localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
54441
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
54442
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
54443
+ localVarRequestOptions.headers = {
54444
+ ...localVarHeaderParameter,
54445
+ ...headersFromBaseOptions,
54446
+ ...options.headers,
54447
+ };
54448
+ const needsSerialization = typeof jsonApiFactPatchDocument !== "string" ||
54449
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
54450
+ localVarRequestOptions.data = needsSerialization
54451
+ ? JSON.stringify(jsonApiFactPatchDocument !== undefined ? jsonApiFactPatchDocument : {})
54452
+ : jsonApiFactPatchDocument || "";
54453
+ return {
54454
+ url: toPathString(localVarUrlObj),
54455
+ options: localVarRequestOptions,
54456
+ };
54457
+ }
54458
+ // WorkspaceObjectControllerApi FP - WorkspaceObjectControllerApiAxiosParamCreator
53635
54459
  /**
53636
54460
  *
53637
54461
  * @summary Patch a Context Filter
@@ -53744,6 +54568,62 @@ export async function WorkspaceObjectControllerApiAxiosParamCreator_PatchEntityF
53744
54568
  };
53745
54569
  }
53746
54570
  // WorkspaceObjectControllerApi FP - WorkspaceObjectControllerApiAxiosParamCreator
54571
+ /**
54572
+ *
54573
+ * @summary Patch a Label (beta)
54574
+ * @param {string} workspaceId
54575
+ * @param {string} objectId
54576
+ * @param {JsonApiLabelPatchDocument} jsonApiLabelPatchDocument
54577
+ * @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;).
54578
+ * @param {Array<'attributes' | 'attribute' | '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.
54579
+ * @param {*} [options] Override http request option.
54580
+ * @param {Configuration} [configuration] Optional configuration.
54581
+ * @throws {RequiredError}
54582
+ */
54583
+ export async function WorkspaceObjectControllerApiAxiosParamCreator_PatchEntityLabels(workspaceId, objectId, jsonApiLabelPatchDocument, filter, include, options = {}, configuration) {
54584
+ // verify required parameter 'workspaceId' is not null or undefined
54585
+ assertParamExists("patchEntityLabels", "workspaceId", workspaceId);
54586
+ // verify required parameter 'objectId' is not null or undefined
54587
+ assertParamExists("patchEntityLabels", "objectId", objectId);
54588
+ // verify required parameter 'jsonApiLabelPatchDocument' is not null or undefined
54589
+ assertParamExists("patchEntityLabels", "jsonApiLabelPatchDocument", jsonApiLabelPatchDocument);
54590
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/labels/{objectId}`
54591
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
54592
+ .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
54593
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
54594
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
54595
+ let baseOptions;
54596
+ if (configuration) {
54597
+ baseOptions = configuration.baseOptions;
54598
+ }
54599
+ const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
54600
+ const localVarHeaderParameter = {};
54601
+ const localVarQueryParameter = {};
54602
+ if (filter !== undefined) {
54603
+ localVarQueryParameter["filter"] = filter;
54604
+ }
54605
+ if (include) {
54606
+ localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
54607
+ }
54608
+ localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
54609
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
54610
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
54611
+ localVarRequestOptions.headers = {
54612
+ ...localVarHeaderParameter,
54613
+ ...headersFromBaseOptions,
54614
+ ...options.headers,
54615
+ };
54616
+ const needsSerialization = typeof jsonApiLabelPatchDocument !== "string" ||
54617
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
54618
+ localVarRequestOptions.data = needsSerialization
54619
+ ? JSON.stringify(jsonApiLabelPatchDocument !== undefined ? jsonApiLabelPatchDocument : {})
54620
+ : jsonApiLabelPatchDocument || "";
54621
+ return {
54622
+ url: toPathString(localVarUrlObj),
54623
+ options: localVarRequestOptions,
54624
+ };
54625
+ }
54626
+ // WorkspaceObjectControllerApi FP - WorkspaceObjectControllerApiAxiosParamCreator
53747
54627
  /**
53748
54628
  *
53749
54629
  * @param {string} workspaceId
@@ -57116,6 +57996,21 @@ export async function WorkspaceObjectControllerApi_PatchEntityAttributeHierarchi
57116
57996
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
57117
57997
  }
57118
57998
  // WorkspaceObjectControllerApi Api FP
57999
+ /**
58000
+ *
58001
+ * @summary Patch an Attribute (beta)
58002
+ * @param {AxiosInstance} axios Axios instance.
58003
+ * @param {string} basePath Base path.
58004
+ * @param {WorkspaceObjectControllerApiPatchEntityAttributesRequest} requestParameters Request parameters.
58005
+ * @param {*} [options] Override http request option.
58006
+ * @param {Configuration} [configuration] Optional configuration.
58007
+ * @throws {RequiredError}
58008
+ */
58009
+ export async function WorkspaceObjectControllerApi_PatchEntityAttributes(axios, basePath, requestParameters, options, configuration) {
58010
+ const localVarAxiosArgs = await WorkspaceObjectControllerApiAxiosParamCreator_PatchEntityAttributes(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiAttributePatchDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
58011
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
58012
+ }
58013
+ // WorkspaceObjectControllerApi Api FP
57119
58014
  /**
57120
58015
  *
57121
58016
  * @summary Patch an Automation
@@ -57161,6 +58056,21 @@ export async function WorkspaceObjectControllerApi_PatchEntityDashboardPlugins(a
57161
58056
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
57162
58057
  }
57163
58058
  // WorkspaceObjectControllerApi Api FP
58059
+ /**
58060
+ *
58061
+ * @summary Patch a Dataset (beta)
58062
+ * @param {AxiosInstance} axios Axios instance.
58063
+ * @param {string} basePath Base path.
58064
+ * @param {WorkspaceObjectControllerApiPatchEntityDatasetsRequest} requestParameters Request parameters.
58065
+ * @param {*} [options] Override http request option.
58066
+ * @param {Configuration} [configuration] Optional configuration.
58067
+ * @throws {RequiredError}
58068
+ */
58069
+ export async function WorkspaceObjectControllerApi_PatchEntityDatasets(axios, basePath, requestParameters, options, configuration) {
58070
+ const localVarAxiosArgs = await WorkspaceObjectControllerApiAxiosParamCreator_PatchEntityDatasets(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiDatasetPatchDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
58071
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
58072
+ }
58073
+ // WorkspaceObjectControllerApi Api FP
57164
58074
  /**
57165
58075
  *
57166
58076
  * @summary Patch an Export Definition
@@ -57176,6 +58086,21 @@ export async function WorkspaceObjectControllerApi_PatchEntityExportDefinitions(
57176
58086
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
57177
58087
  }
57178
58088
  // WorkspaceObjectControllerApi Api FP
58089
+ /**
58090
+ *
58091
+ * @summary Patch a Fact (beta)
58092
+ * @param {AxiosInstance} axios Axios instance.
58093
+ * @param {string} basePath Base path.
58094
+ * @param {WorkspaceObjectControllerApiPatchEntityFactsRequest} requestParameters Request parameters.
58095
+ * @param {*} [options] Override http request option.
58096
+ * @param {Configuration} [configuration] Optional configuration.
58097
+ * @throws {RequiredError}
58098
+ */
58099
+ export async function WorkspaceObjectControllerApi_PatchEntityFacts(axios, basePath, requestParameters, options, configuration) {
58100
+ const localVarAxiosArgs = await WorkspaceObjectControllerApiAxiosParamCreator_PatchEntityFacts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFactPatchDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
58101
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
58102
+ }
58103
+ // WorkspaceObjectControllerApi Api FP
57179
58104
  /**
57180
58105
  *
57181
58106
  * @summary Patch a Context Filter
@@ -57206,6 +58131,21 @@ export async function WorkspaceObjectControllerApi_PatchEntityFilterViews(axios,
57206
58131
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
57207
58132
  }
57208
58133
  // WorkspaceObjectControllerApi Api FP
58134
+ /**
58135
+ *
58136
+ * @summary Patch a Label (beta)
58137
+ * @param {AxiosInstance} axios Axios instance.
58138
+ * @param {string} basePath Base path.
58139
+ * @param {WorkspaceObjectControllerApiPatchEntityLabelsRequest} requestParameters Request parameters.
58140
+ * @param {*} [options] Override http request option.
58141
+ * @param {Configuration} [configuration] Optional configuration.
58142
+ * @throws {RequiredError}
58143
+ */
58144
+ export async function WorkspaceObjectControllerApi_PatchEntityLabels(axios, basePath, requestParameters, options, configuration) {
58145
+ const localVarAxiosArgs = await WorkspaceObjectControllerApiAxiosParamCreator_PatchEntityLabels(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiLabelPatchDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
58146
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
58147
+ }
58148
+ // WorkspaceObjectControllerApi Api FP
57209
58149
  /**
57210
58150
  *
57211
58151
  * @param {AxiosInstance} axios Axios instance.
@@ -58640,6 +59580,17 @@ export class WorkspaceObjectControllerApi extends BaseAPI {
58640
59580
  patchEntityAttributeHierarchies(requestParameters, options) {
58641
59581
  return WorkspaceObjectControllerApi_PatchEntityAttributeHierarchies(this.axios, this.basePath, requestParameters, options, this.configuration);
58642
59582
  }
59583
+ /**
59584
+ *
59585
+ * @summary Patch an Attribute (beta)
59586
+ * @param {WorkspaceObjectControllerApiPatchEntityAttributesRequest} requestParameters Request parameters.
59587
+ * @param {*} [options] Override http request option.
59588
+ * @throws {RequiredError}
59589
+ * @memberof WorkspaceObjectControllerApi
59590
+ */
59591
+ patchEntityAttributes(requestParameters, options) {
59592
+ return WorkspaceObjectControllerApi_PatchEntityAttributes(this.axios, this.basePath, requestParameters, options, this.configuration);
59593
+ }
58643
59594
  /**
58644
59595
  *
58645
59596
  * @summary Patch an Automation
@@ -58673,6 +59624,17 @@ export class WorkspaceObjectControllerApi extends BaseAPI {
58673
59624
  patchEntityDashboardPlugins(requestParameters, options) {
58674
59625
  return WorkspaceObjectControllerApi_PatchEntityDashboardPlugins(this.axios, this.basePath, requestParameters, options, this.configuration);
58675
59626
  }
59627
+ /**
59628
+ *
59629
+ * @summary Patch a Dataset (beta)
59630
+ * @param {WorkspaceObjectControllerApiPatchEntityDatasetsRequest} requestParameters Request parameters.
59631
+ * @param {*} [options] Override http request option.
59632
+ * @throws {RequiredError}
59633
+ * @memberof WorkspaceObjectControllerApi
59634
+ */
59635
+ patchEntityDatasets(requestParameters, options) {
59636
+ return WorkspaceObjectControllerApi_PatchEntityDatasets(this.axios, this.basePath, requestParameters, options, this.configuration);
59637
+ }
58676
59638
  /**
58677
59639
  *
58678
59640
  * @summary Patch an Export Definition
@@ -58684,6 +59646,17 @@ export class WorkspaceObjectControllerApi extends BaseAPI {
58684
59646
  patchEntityExportDefinitions(requestParameters, options) {
58685
59647
  return WorkspaceObjectControllerApi_PatchEntityExportDefinitions(this.axios, this.basePath, requestParameters, options, this.configuration);
58686
59648
  }
59649
+ /**
59650
+ *
59651
+ * @summary Patch a Fact (beta)
59652
+ * @param {WorkspaceObjectControllerApiPatchEntityFactsRequest} requestParameters Request parameters.
59653
+ * @param {*} [options] Override http request option.
59654
+ * @throws {RequiredError}
59655
+ * @memberof WorkspaceObjectControllerApi
59656
+ */
59657
+ patchEntityFacts(requestParameters, options) {
59658
+ return WorkspaceObjectControllerApi_PatchEntityFacts(this.axios, this.basePath, requestParameters, options, this.configuration);
59659
+ }
58687
59660
  /**
58688
59661
  *
58689
59662
  * @summary Patch a Context Filter
@@ -58706,6 +59679,17 @@ export class WorkspaceObjectControllerApi extends BaseAPI {
58706
59679
  patchEntityFilterViews(requestParameters, options) {
58707
59680
  return WorkspaceObjectControllerApi_PatchEntityFilterViews(this.axios, this.basePath, requestParameters, options, this.configuration);
58708
59681
  }
59682
+ /**
59683
+ *
59684
+ * @summary Patch a Label (beta)
59685
+ * @param {WorkspaceObjectControllerApiPatchEntityLabelsRequest} requestParameters Request parameters.
59686
+ * @param {*} [options] Override http request option.
59687
+ * @throws {RequiredError}
59688
+ * @memberof WorkspaceObjectControllerApi
59689
+ */
59690
+ patchEntityLabels(requestParameters, options) {
59691
+ return WorkspaceObjectControllerApi_PatchEntityLabels(this.axios, this.basePath, requestParameters, options, this.configuration);
59692
+ }
58709
59693
  /**
58710
59694
  *
58711
59695
  * @param {WorkspaceObjectControllerApiPatchEntityMemoryItemsRequest} requestParameters Request parameters.