@gooddata/api-client-tiger 11.53.0-alpha.3 → 11.53.0-alpha.5
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.
- package/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/api-client-tiger.d.ts +1448 -152
- package/esm/generated/ai-json-api/api.d.ts +17 -1
- package/esm/generated/ai-json-api/api.d.ts.map +1 -1
- package/esm/generated/ai-json-api/api.js +8 -0
- package/esm/generated/automation-json-api/api.d.ts +1 -1
- package/esm/generated/automation-json-api/api.d.ts.map +1 -1
- package/esm/generated/export-json-api/api.d.ts +1 -1
- package/esm/generated/export-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.d.ts +2623 -147
- package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.js +2063 -289
- package/esm/generated/scan-json-api/api.d.ts +1 -1
- package/esm/generated/scan-json-api/api.d.ts.map +1 -1
- package/esm/index.d.ts +1 -1
- package/esm/index.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -15428,6 +15428,1194 @@ export class ColorPaletteControllerApi extends BaseAPI {
|
|
|
15428
15428
|
return ColorPaletteControllerApi_UpdateEntityColorPalettes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
15429
15429
|
}
|
|
15430
15430
|
}
|
|
15431
|
+
// ComputedAttributeControllerApi FP - ComputedAttributeControllerApiAxiosParamCreator
|
|
15432
|
+
/**
|
|
15433
|
+
*
|
|
15434
|
+
* @summary Post Computed Attributes
|
|
15435
|
+
* @param {string} workspaceId
|
|
15436
|
+
* @param {JsonApiComputedAttributePostOptionalIdDocument} jsonApiComputedAttributePostOptionalIdDocument
|
|
15437
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
15438
|
+
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
15439
|
+
* @param {*} [options] Override http request option.
|
|
15440
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
15441
|
+
* @throws {RequiredError}
|
|
15442
|
+
*/
|
|
15443
|
+
export async function ComputedAttributeControllerApiAxiosParamCreator_CreateEntityComputedAttributes(workspaceId, jsonApiComputedAttributePostOptionalIdDocument, include, metaInclude, options = {}, configuration) {
|
|
15444
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
15445
|
+
assertParamExists('createEntityComputedAttributes', 'workspaceId', workspaceId);
|
|
15446
|
+
// verify required parameter 'jsonApiComputedAttributePostOptionalIdDocument' is not null or undefined
|
|
15447
|
+
assertParamExists('createEntityComputedAttributes', 'jsonApiComputedAttributePostOptionalIdDocument', jsonApiComputedAttributePostOptionalIdDocument);
|
|
15448
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/computedAttributes`
|
|
15449
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
15450
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15451
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15452
|
+
let baseOptions;
|
|
15453
|
+
if (configuration) {
|
|
15454
|
+
baseOptions = configuration.baseOptions;
|
|
15455
|
+
}
|
|
15456
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
15457
|
+
const localVarHeaderParameter = {};
|
|
15458
|
+
const localVarQueryParameter = {};
|
|
15459
|
+
if (include) {
|
|
15460
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
15461
|
+
}
|
|
15462
|
+
if (metaInclude) {
|
|
15463
|
+
localVarQueryParameter['metaInclude'] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
15464
|
+
}
|
|
15465
|
+
const consumes = [
|
|
15466
|
+
'application/vnd.gooddata.api+json',
|
|
15467
|
+
'application/json'
|
|
15468
|
+
];
|
|
15469
|
+
// use application/json if present, otherwise fallback to the first one
|
|
15470
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
15471
|
+
? 'application/json'
|
|
15472
|
+
: consumes[0];
|
|
15473
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15474
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
15475
|
+
localVarRequestOptions.headers = {
|
|
15476
|
+
...localVarHeaderParameter,
|
|
15477
|
+
...headersFromBaseOptions,
|
|
15478
|
+
...options.headers,
|
|
15479
|
+
};
|
|
15480
|
+
const needsSerialization = typeof jsonApiComputedAttributePostOptionalIdDocument !== "string" ||
|
|
15481
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
15482
|
+
localVarRequestOptions.data = needsSerialization
|
|
15483
|
+
? JSON.stringify(jsonApiComputedAttributePostOptionalIdDocument !== undefined ? jsonApiComputedAttributePostOptionalIdDocument : {})
|
|
15484
|
+
: jsonApiComputedAttributePostOptionalIdDocument || "";
|
|
15485
|
+
return {
|
|
15486
|
+
url: toPathString(localVarUrlObj),
|
|
15487
|
+
options: localVarRequestOptions,
|
|
15488
|
+
};
|
|
15489
|
+
}
|
|
15490
|
+
// ComputedAttributeControllerApi FP - ComputedAttributeControllerApiAxiosParamCreator
|
|
15491
|
+
/**
|
|
15492
|
+
*
|
|
15493
|
+
* @summary Delete a Computed Attribute
|
|
15494
|
+
* @param {string} workspaceId
|
|
15495
|
+
* @param {string} objectId
|
|
15496
|
+
* @param {*} [options] Override http request option.
|
|
15497
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
15498
|
+
* @throws {RequiredError}
|
|
15499
|
+
*/
|
|
15500
|
+
export async function ComputedAttributeControllerApiAxiosParamCreator_DeleteEntityComputedAttributes(workspaceId, objectId, options = {}, configuration) {
|
|
15501
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
15502
|
+
assertParamExists('deleteEntityComputedAttributes', 'workspaceId', workspaceId);
|
|
15503
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
15504
|
+
assertParamExists('deleteEntityComputedAttributes', 'objectId', objectId);
|
|
15505
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/computedAttributes/{objectId}`
|
|
15506
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
15507
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
15508
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15509
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15510
|
+
let baseOptions;
|
|
15511
|
+
if (configuration) {
|
|
15512
|
+
baseOptions = configuration.baseOptions;
|
|
15513
|
+
}
|
|
15514
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
15515
|
+
const localVarHeaderParameter = {};
|
|
15516
|
+
const localVarQueryParameter = {};
|
|
15517
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15518
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
15519
|
+
localVarRequestOptions.headers = {
|
|
15520
|
+
...localVarHeaderParameter,
|
|
15521
|
+
...headersFromBaseOptions,
|
|
15522
|
+
...options.headers,
|
|
15523
|
+
};
|
|
15524
|
+
return {
|
|
15525
|
+
url: toPathString(localVarUrlObj),
|
|
15526
|
+
options: localVarRequestOptions,
|
|
15527
|
+
};
|
|
15528
|
+
}
|
|
15529
|
+
// ComputedAttributeControllerApi FP - ComputedAttributeControllerApiAxiosParamCreator
|
|
15530
|
+
/**
|
|
15531
|
+
*
|
|
15532
|
+
* @summary Get all Computed Attributes
|
|
15533
|
+
* @param {string} workspaceId
|
|
15534
|
+
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
15535
|
+
* @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\').
|
|
15536
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
15537
|
+
* @param {number} [page] Zero-based page index (0..N)
|
|
15538
|
+
* @param {number} [size] The size of the page to be returned
|
|
15539
|
+
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
15540
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
15541
|
+
* @param {Array<'origin' | 'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
15542
|
+
* @param {*} [options] Override http request option.
|
|
15543
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
15544
|
+
* @throws {RequiredError}
|
|
15545
|
+
*/
|
|
15546
|
+
export async function ComputedAttributeControllerApiAxiosParamCreator_GetAllEntitiesComputedAttributes(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options = {}, configuration) {
|
|
15547
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
15548
|
+
assertParamExists('getAllEntitiesComputedAttributes', 'workspaceId', workspaceId);
|
|
15549
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/computedAttributes`
|
|
15550
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
15551
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15552
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15553
|
+
let baseOptions;
|
|
15554
|
+
if (configuration) {
|
|
15555
|
+
baseOptions = configuration.baseOptions;
|
|
15556
|
+
}
|
|
15557
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
15558
|
+
const localVarHeaderParameter = {};
|
|
15559
|
+
const localVarQueryParameter = {};
|
|
15560
|
+
if (origin !== undefined) {
|
|
15561
|
+
localVarQueryParameter['origin'] = origin;
|
|
15562
|
+
}
|
|
15563
|
+
if (filter !== undefined) {
|
|
15564
|
+
localVarQueryParameter['filter'] = filter;
|
|
15565
|
+
}
|
|
15566
|
+
if (include) {
|
|
15567
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
15568
|
+
}
|
|
15569
|
+
if (page !== undefined) {
|
|
15570
|
+
localVarQueryParameter['page'] = page;
|
|
15571
|
+
}
|
|
15572
|
+
if (size !== undefined) {
|
|
15573
|
+
localVarQueryParameter['size'] = size;
|
|
15574
|
+
}
|
|
15575
|
+
if (sort) {
|
|
15576
|
+
localVarQueryParameter['sort'] = sort;
|
|
15577
|
+
}
|
|
15578
|
+
if (metaInclude) {
|
|
15579
|
+
localVarQueryParameter['metaInclude'] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
15580
|
+
}
|
|
15581
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
15582
|
+
localVarHeaderParameter['X-GDC-VALIDATE-RELATIONS'] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
15583
|
+
}
|
|
15584
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15585
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
15586
|
+
localVarRequestOptions.headers = {
|
|
15587
|
+
...localVarHeaderParameter,
|
|
15588
|
+
...headersFromBaseOptions,
|
|
15589
|
+
...options.headers,
|
|
15590
|
+
};
|
|
15591
|
+
return {
|
|
15592
|
+
url: toPathString(localVarUrlObj),
|
|
15593
|
+
options: localVarRequestOptions,
|
|
15594
|
+
};
|
|
15595
|
+
}
|
|
15596
|
+
// ComputedAttributeControllerApi FP - ComputedAttributeControllerApiAxiosParamCreator
|
|
15597
|
+
/**
|
|
15598
|
+
*
|
|
15599
|
+
* @summary Get a Computed Attribute
|
|
15600
|
+
* @param {string} workspaceId
|
|
15601
|
+
* @param {string} objectId
|
|
15602
|
+
* @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\').
|
|
15603
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
15604
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
15605
|
+
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
15606
|
+
* @param {*} [options] Override http request option.
|
|
15607
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
15608
|
+
* @throws {RequiredError}
|
|
15609
|
+
*/
|
|
15610
|
+
export async function ComputedAttributeControllerApiAxiosParamCreator_GetEntityComputedAttributes(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, metaInclude, options = {}, configuration) {
|
|
15611
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
15612
|
+
assertParamExists('getEntityComputedAttributes', 'workspaceId', workspaceId);
|
|
15613
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
15614
|
+
assertParamExists('getEntityComputedAttributes', 'objectId', objectId);
|
|
15615
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/computedAttributes/{objectId}`
|
|
15616
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
15617
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
15618
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15619
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15620
|
+
let baseOptions;
|
|
15621
|
+
if (configuration) {
|
|
15622
|
+
baseOptions = configuration.baseOptions;
|
|
15623
|
+
}
|
|
15624
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
15625
|
+
const localVarHeaderParameter = {};
|
|
15626
|
+
const localVarQueryParameter = {};
|
|
15627
|
+
if (filter !== undefined) {
|
|
15628
|
+
localVarQueryParameter['filter'] = filter;
|
|
15629
|
+
}
|
|
15630
|
+
if (include) {
|
|
15631
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
15632
|
+
}
|
|
15633
|
+
if (metaInclude) {
|
|
15634
|
+
localVarQueryParameter['metaInclude'] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
15635
|
+
}
|
|
15636
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
15637
|
+
localVarHeaderParameter['X-GDC-VALIDATE-RELATIONS'] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
15638
|
+
}
|
|
15639
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15640
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
15641
|
+
localVarRequestOptions.headers = {
|
|
15642
|
+
...localVarHeaderParameter,
|
|
15643
|
+
...headersFromBaseOptions,
|
|
15644
|
+
...options.headers,
|
|
15645
|
+
};
|
|
15646
|
+
return {
|
|
15647
|
+
url: toPathString(localVarUrlObj),
|
|
15648
|
+
options: localVarRequestOptions,
|
|
15649
|
+
};
|
|
15650
|
+
}
|
|
15651
|
+
// ComputedAttributeControllerApi FP - ComputedAttributeControllerApiAxiosParamCreator
|
|
15652
|
+
/**
|
|
15653
|
+
*
|
|
15654
|
+
* @summary Patch a Computed Attribute
|
|
15655
|
+
* @param {string} workspaceId
|
|
15656
|
+
* @param {string} objectId
|
|
15657
|
+
* @param {JsonApiComputedAttributePatchDocument} jsonApiComputedAttributePatchDocument
|
|
15658
|
+
* @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\').
|
|
15659
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
15660
|
+
* @param {*} [options] Override http request option.
|
|
15661
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
15662
|
+
* @throws {RequiredError}
|
|
15663
|
+
*/
|
|
15664
|
+
export async function ComputedAttributeControllerApiAxiosParamCreator_PatchEntityComputedAttributes(workspaceId, objectId, jsonApiComputedAttributePatchDocument, filter, include, options = {}, configuration) {
|
|
15665
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
15666
|
+
assertParamExists('patchEntityComputedAttributes', 'workspaceId', workspaceId);
|
|
15667
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
15668
|
+
assertParamExists('patchEntityComputedAttributes', 'objectId', objectId);
|
|
15669
|
+
// verify required parameter 'jsonApiComputedAttributePatchDocument' is not null or undefined
|
|
15670
|
+
assertParamExists('patchEntityComputedAttributes', 'jsonApiComputedAttributePatchDocument', jsonApiComputedAttributePatchDocument);
|
|
15671
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/computedAttributes/{objectId}`
|
|
15672
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
15673
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
15674
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15675
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15676
|
+
let baseOptions;
|
|
15677
|
+
if (configuration) {
|
|
15678
|
+
baseOptions = configuration.baseOptions;
|
|
15679
|
+
}
|
|
15680
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
15681
|
+
const localVarHeaderParameter = {};
|
|
15682
|
+
const localVarQueryParameter = {};
|
|
15683
|
+
if (filter !== undefined) {
|
|
15684
|
+
localVarQueryParameter['filter'] = filter;
|
|
15685
|
+
}
|
|
15686
|
+
if (include) {
|
|
15687
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
15688
|
+
}
|
|
15689
|
+
const consumes = [
|
|
15690
|
+
'application/vnd.gooddata.api+json',
|
|
15691
|
+
'application/json'
|
|
15692
|
+
];
|
|
15693
|
+
// use application/json if present, otherwise fallback to the first one
|
|
15694
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
15695
|
+
? 'application/json'
|
|
15696
|
+
: consumes[0];
|
|
15697
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15698
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
15699
|
+
localVarRequestOptions.headers = {
|
|
15700
|
+
...localVarHeaderParameter,
|
|
15701
|
+
...headersFromBaseOptions,
|
|
15702
|
+
...options.headers,
|
|
15703
|
+
};
|
|
15704
|
+
const needsSerialization = typeof jsonApiComputedAttributePatchDocument !== "string" ||
|
|
15705
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
15706
|
+
localVarRequestOptions.data = needsSerialization
|
|
15707
|
+
? JSON.stringify(jsonApiComputedAttributePatchDocument !== undefined ? jsonApiComputedAttributePatchDocument : {})
|
|
15708
|
+
: jsonApiComputedAttributePatchDocument || "";
|
|
15709
|
+
return {
|
|
15710
|
+
url: toPathString(localVarUrlObj),
|
|
15711
|
+
options: localVarRequestOptions,
|
|
15712
|
+
};
|
|
15713
|
+
}
|
|
15714
|
+
// ComputedAttributeControllerApi FP - ComputedAttributeControllerApiAxiosParamCreator
|
|
15715
|
+
/**
|
|
15716
|
+
*
|
|
15717
|
+
* @summary The search endpoint (beta)
|
|
15718
|
+
* @param {string} workspaceId
|
|
15719
|
+
* @param {EntitySearchBody} entitySearchBody Search request body with filter, pagination, and sorting options
|
|
15720
|
+
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
15721
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
15722
|
+
* @param {*} [options] Override http request option.
|
|
15723
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
15724
|
+
* @throws {RequiredError}
|
|
15725
|
+
*/
|
|
15726
|
+
export async function ComputedAttributeControllerApiAxiosParamCreator_SearchEntitiesComputedAttributes(workspaceId, entitySearchBody, origin, xGDCVALIDATERELATIONS, options = {}, configuration) {
|
|
15727
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
15728
|
+
assertParamExists('searchEntitiesComputedAttributes', 'workspaceId', workspaceId);
|
|
15729
|
+
// verify required parameter 'entitySearchBody' is not null or undefined
|
|
15730
|
+
assertParamExists('searchEntitiesComputedAttributes', 'entitySearchBody', entitySearchBody);
|
|
15731
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/computedAttributes/search`
|
|
15732
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
15733
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15734
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15735
|
+
let baseOptions;
|
|
15736
|
+
if (configuration) {
|
|
15737
|
+
baseOptions = configuration.baseOptions;
|
|
15738
|
+
}
|
|
15739
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
15740
|
+
const localVarHeaderParameter = {};
|
|
15741
|
+
const localVarQueryParameter = {};
|
|
15742
|
+
if (origin !== undefined) {
|
|
15743
|
+
localVarQueryParameter['origin'] = origin;
|
|
15744
|
+
}
|
|
15745
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
15746
|
+
localVarHeaderParameter['X-GDC-VALIDATE-RELATIONS'] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
15747
|
+
}
|
|
15748
|
+
const consumes = [
|
|
15749
|
+
'application/json'
|
|
15750
|
+
];
|
|
15751
|
+
// use application/json if present, otherwise fallback to the first one
|
|
15752
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
15753
|
+
? 'application/json'
|
|
15754
|
+
: consumes[0];
|
|
15755
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15756
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
15757
|
+
localVarRequestOptions.headers = {
|
|
15758
|
+
...localVarHeaderParameter,
|
|
15759
|
+
...headersFromBaseOptions,
|
|
15760
|
+
...options.headers,
|
|
15761
|
+
};
|
|
15762
|
+
const needsSerialization = typeof entitySearchBody !== "string" ||
|
|
15763
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
15764
|
+
localVarRequestOptions.data = needsSerialization
|
|
15765
|
+
? JSON.stringify(entitySearchBody !== undefined ? entitySearchBody : {})
|
|
15766
|
+
: entitySearchBody || "";
|
|
15767
|
+
return {
|
|
15768
|
+
url: toPathString(localVarUrlObj),
|
|
15769
|
+
options: localVarRequestOptions,
|
|
15770
|
+
};
|
|
15771
|
+
}
|
|
15772
|
+
// ComputedAttributeControllerApi FP - ComputedAttributeControllerApiAxiosParamCreator
|
|
15773
|
+
/**
|
|
15774
|
+
*
|
|
15775
|
+
* @summary Put a Computed Attribute
|
|
15776
|
+
* @param {string} workspaceId
|
|
15777
|
+
* @param {string} objectId
|
|
15778
|
+
* @param {JsonApiComputedAttributeInDocument} jsonApiComputedAttributeInDocument
|
|
15779
|
+
* @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\').
|
|
15780
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
15781
|
+
* @param {*} [options] Override http request option.
|
|
15782
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
15783
|
+
* @throws {RequiredError}
|
|
15784
|
+
*/
|
|
15785
|
+
export async function ComputedAttributeControllerApiAxiosParamCreator_UpdateEntityComputedAttributes(workspaceId, objectId, jsonApiComputedAttributeInDocument, filter, include, options = {}, configuration) {
|
|
15786
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
15787
|
+
assertParamExists('updateEntityComputedAttributes', 'workspaceId', workspaceId);
|
|
15788
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
15789
|
+
assertParamExists('updateEntityComputedAttributes', 'objectId', objectId);
|
|
15790
|
+
// verify required parameter 'jsonApiComputedAttributeInDocument' is not null or undefined
|
|
15791
|
+
assertParamExists('updateEntityComputedAttributes', 'jsonApiComputedAttributeInDocument', jsonApiComputedAttributeInDocument);
|
|
15792
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/computedAttributes/{objectId}`
|
|
15793
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
15794
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
15795
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15796
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15797
|
+
let baseOptions;
|
|
15798
|
+
if (configuration) {
|
|
15799
|
+
baseOptions = configuration.baseOptions;
|
|
15800
|
+
}
|
|
15801
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
15802
|
+
const localVarHeaderParameter = {};
|
|
15803
|
+
const localVarQueryParameter = {};
|
|
15804
|
+
if (filter !== undefined) {
|
|
15805
|
+
localVarQueryParameter['filter'] = filter;
|
|
15806
|
+
}
|
|
15807
|
+
if (include) {
|
|
15808
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
15809
|
+
}
|
|
15810
|
+
const consumes = [
|
|
15811
|
+
'application/vnd.gooddata.api+json',
|
|
15812
|
+
'application/json'
|
|
15813
|
+
];
|
|
15814
|
+
// use application/json if present, otherwise fallback to the first one
|
|
15815
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
15816
|
+
? 'application/json'
|
|
15817
|
+
: consumes[0];
|
|
15818
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15819
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
15820
|
+
localVarRequestOptions.headers = {
|
|
15821
|
+
...localVarHeaderParameter,
|
|
15822
|
+
...headersFromBaseOptions,
|
|
15823
|
+
...options.headers,
|
|
15824
|
+
};
|
|
15825
|
+
const needsSerialization = typeof jsonApiComputedAttributeInDocument !== "string" ||
|
|
15826
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
15827
|
+
localVarRequestOptions.data = needsSerialization
|
|
15828
|
+
? JSON.stringify(jsonApiComputedAttributeInDocument !== undefined ? jsonApiComputedAttributeInDocument : {})
|
|
15829
|
+
: jsonApiComputedAttributeInDocument || "";
|
|
15830
|
+
return {
|
|
15831
|
+
url: toPathString(localVarUrlObj),
|
|
15832
|
+
options: localVarRequestOptions,
|
|
15833
|
+
};
|
|
15834
|
+
}
|
|
15835
|
+
// ComputedAttributeControllerApi Api FP
|
|
15836
|
+
/**
|
|
15837
|
+
*
|
|
15838
|
+
* @summary Post Computed Attributes
|
|
15839
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
15840
|
+
* @param {string} basePath Base path.
|
|
15841
|
+
* @param {ComputedAttributeControllerApiCreateEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
15842
|
+
* @param {*} [options] Override http request option.
|
|
15843
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
15844
|
+
* @throws {RequiredError}
|
|
15845
|
+
*/
|
|
15846
|
+
export async function ComputedAttributeControllerApi_CreateEntityComputedAttributes(axios, basePath, requestParameters, options, configuration) {
|
|
15847
|
+
const localVarAxiosArgs = await ComputedAttributeControllerApiAxiosParamCreator_CreateEntityComputedAttributes(requestParameters.workspaceId, requestParameters.jsonApiComputedAttributePostOptionalIdDocument, requestParameters.include, requestParameters.metaInclude, options || {}, configuration);
|
|
15848
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
15849
|
+
}
|
|
15850
|
+
// ComputedAttributeControllerApi Api FP
|
|
15851
|
+
/**
|
|
15852
|
+
*
|
|
15853
|
+
* @summary Delete a Computed Attribute
|
|
15854
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
15855
|
+
* @param {string} basePath Base path.
|
|
15856
|
+
* @param {ComputedAttributeControllerApiDeleteEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
15857
|
+
* @param {*} [options] Override http request option.
|
|
15858
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
15859
|
+
* @throws {RequiredError}
|
|
15860
|
+
*/
|
|
15861
|
+
export async function ComputedAttributeControllerApi_DeleteEntityComputedAttributes(axios, basePath, requestParameters, options, configuration) {
|
|
15862
|
+
const localVarAxiosArgs = await ComputedAttributeControllerApiAxiosParamCreator_DeleteEntityComputedAttributes(requestParameters.workspaceId, requestParameters.objectId, options || {}, configuration);
|
|
15863
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
15864
|
+
}
|
|
15865
|
+
// ComputedAttributeControllerApi Api FP
|
|
15866
|
+
/**
|
|
15867
|
+
*
|
|
15868
|
+
* @summary Get all Computed Attributes
|
|
15869
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
15870
|
+
* @param {string} basePath Base path.
|
|
15871
|
+
* @param {ComputedAttributeControllerApiGetAllEntitiesComputedAttributesRequest} requestParameters Request parameters.
|
|
15872
|
+
* @param {*} [options] Override http request option.
|
|
15873
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
15874
|
+
* @throws {RequiredError}
|
|
15875
|
+
*/
|
|
15876
|
+
export async function ComputedAttributeControllerApi_GetAllEntitiesComputedAttributes(axios, basePath, requestParameters, options, configuration) {
|
|
15877
|
+
const localVarAxiosArgs = await ComputedAttributeControllerApiAxiosParamCreator_GetAllEntitiesComputedAttributes(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options || {}, configuration);
|
|
15878
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
15879
|
+
}
|
|
15880
|
+
// ComputedAttributeControllerApi Api FP
|
|
15881
|
+
/**
|
|
15882
|
+
*
|
|
15883
|
+
* @summary Get a Computed Attribute
|
|
15884
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
15885
|
+
* @param {string} basePath Base path.
|
|
15886
|
+
* @param {ComputedAttributeControllerApiGetEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
15887
|
+
* @param {*} [options] Override http request option.
|
|
15888
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
15889
|
+
* @throws {RequiredError}
|
|
15890
|
+
*/
|
|
15891
|
+
export async function ComputedAttributeControllerApi_GetEntityComputedAttributes(axios, basePath, requestParameters, options, configuration) {
|
|
15892
|
+
const localVarAxiosArgs = await ComputedAttributeControllerApiAxiosParamCreator_GetEntityComputedAttributes(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options || {}, configuration);
|
|
15893
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
15894
|
+
}
|
|
15895
|
+
// ComputedAttributeControllerApi Api FP
|
|
15896
|
+
/**
|
|
15897
|
+
*
|
|
15898
|
+
* @summary Patch a Computed Attribute
|
|
15899
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
15900
|
+
* @param {string} basePath Base path.
|
|
15901
|
+
* @param {ComputedAttributeControllerApiPatchEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
15902
|
+
* @param {*} [options] Override http request option.
|
|
15903
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
15904
|
+
* @throws {RequiredError}
|
|
15905
|
+
*/
|
|
15906
|
+
export async function ComputedAttributeControllerApi_PatchEntityComputedAttributes(axios, basePath, requestParameters, options, configuration) {
|
|
15907
|
+
const localVarAxiosArgs = await ComputedAttributeControllerApiAxiosParamCreator_PatchEntityComputedAttributes(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiComputedAttributePatchDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
|
|
15908
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
15909
|
+
}
|
|
15910
|
+
// ComputedAttributeControllerApi Api FP
|
|
15911
|
+
/**
|
|
15912
|
+
*
|
|
15913
|
+
* @summary The search endpoint (beta)
|
|
15914
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
15915
|
+
* @param {string} basePath Base path.
|
|
15916
|
+
* @param {ComputedAttributeControllerApiSearchEntitiesComputedAttributesRequest} requestParameters Request parameters.
|
|
15917
|
+
* @param {*} [options] Override http request option.
|
|
15918
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
15919
|
+
* @throws {RequiredError}
|
|
15920
|
+
*/
|
|
15921
|
+
export async function ComputedAttributeControllerApi_SearchEntitiesComputedAttributes(axios, basePath, requestParameters, options, configuration) {
|
|
15922
|
+
const localVarAxiosArgs = await ComputedAttributeControllerApiAxiosParamCreator_SearchEntitiesComputedAttributes(requestParameters.workspaceId, requestParameters.entitySearchBody, requestParameters.origin, requestParameters.xGDCVALIDATERELATIONS, options || {}, configuration);
|
|
15923
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
15924
|
+
}
|
|
15925
|
+
// ComputedAttributeControllerApi Api FP
|
|
15926
|
+
/**
|
|
15927
|
+
*
|
|
15928
|
+
* @summary Put a Computed Attribute
|
|
15929
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
15930
|
+
* @param {string} basePath Base path.
|
|
15931
|
+
* @param {ComputedAttributeControllerApiUpdateEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
15932
|
+
* @param {*} [options] Override http request option.
|
|
15933
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
15934
|
+
* @throws {RequiredError}
|
|
15935
|
+
*/
|
|
15936
|
+
export async function ComputedAttributeControllerApi_UpdateEntityComputedAttributes(axios, basePath, requestParameters, options, configuration) {
|
|
15937
|
+
const localVarAxiosArgs = await ComputedAttributeControllerApiAxiosParamCreator_UpdateEntityComputedAttributes(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiComputedAttributeInDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
|
|
15938
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
15939
|
+
}
|
|
15940
|
+
/**
|
|
15941
|
+
* ComputedAttributeControllerApi - object-oriented interface
|
|
15942
|
+
* @export
|
|
15943
|
+
* @class ComputedAttributeControllerApi
|
|
15944
|
+
* @extends {BaseAPI}
|
|
15945
|
+
*/
|
|
15946
|
+
export class ComputedAttributeControllerApi extends BaseAPI {
|
|
15947
|
+
/**
|
|
15948
|
+
*
|
|
15949
|
+
* @summary Post Computed Attributes
|
|
15950
|
+
* @param {ComputedAttributeControllerApiCreateEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
15951
|
+
* @param {*} [options] Override http request option.
|
|
15952
|
+
* @throws {RequiredError}
|
|
15953
|
+
* @memberof ComputedAttributeControllerApi
|
|
15954
|
+
*/
|
|
15955
|
+
createEntityComputedAttributes(requestParameters, options) {
|
|
15956
|
+
return ComputedAttributeControllerApi_CreateEntityComputedAttributes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
15957
|
+
}
|
|
15958
|
+
/**
|
|
15959
|
+
*
|
|
15960
|
+
* @summary Delete a Computed Attribute
|
|
15961
|
+
* @param {ComputedAttributeControllerApiDeleteEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
15962
|
+
* @param {*} [options] Override http request option.
|
|
15963
|
+
* @throws {RequiredError}
|
|
15964
|
+
* @memberof ComputedAttributeControllerApi
|
|
15965
|
+
*/
|
|
15966
|
+
deleteEntityComputedAttributes(requestParameters, options) {
|
|
15967
|
+
return ComputedAttributeControllerApi_DeleteEntityComputedAttributes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
15968
|
+
}
|
|
15969
|
+
/**
|
|
15970
|
+
*
|
|
15971
|
+
* @summary Get all Computed Attributes
|
|
15972
|
+
* @param {ComputedAttributeControllerApiGetAllEntitiesComputedAttributesRequest} requestParameters Request parameters.
|
|
15973
|
+
* @param {*} [options] Override http request option.
|
|
15974
|
+
* @throws {RequiredError}
|
|
15975
|
+
* @memberof ComputedAttributeControllerApi
|
|
15976
|
+
*/
|
|
15977
|
+
getAllEntitiesComputedAttributes(requestParameters, options) {
|
|
15978
|
+
return ComputedAttributeControllerApi_GetAllEntitiesComputedAttributes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
15979
|
+
}
|
|
15980
|
+
/**
|
|
15981
|
+
*
|
|
15982
|
+
* @summary Get a Computed Attribute
|
|
15983
|
+
* @param {ComputedAttributeControllerApiGetEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
15984
|
+
* @param {*} [options] Override http request option.
|
|
15985
|
+
* @throws {RequiredError}
|
|
15986
|
+
* @memberof ComputedAttributeControllerApi
|
|
15987
|
+
*/
|
|
15988
|
+
getEntityComputedAttributes(requestParameters, options) {
|
|
15989
|
+
return ComputedAttributeControllerApi_GetEntityComputedAttributes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
15990
|
+
}
|
|
15991
|
+
/**
|
|
15992
|
+
*
|
|
15993
|
+
* @summary Patch a Computed Attribute
|
|
15994
|
+
* @param {ComputedAttributeControllerApiPatchEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
15995
|
+
* @param {*} [options] Override http request option.
|
|
15996
|
+
* @throws {RequiredError}
|
|
15997
|
+
* @memberof ComputedAttributeControllerApi
|
|
15998
|
+
*/
|
|
15999
|
+
patchEntityComputedAttributes(requestParameters, options) {
|
|
16000
|
+
return ComputedAttributeControllerApi_PatchEntityComputedAttributes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
16001
|
+
}
|
|
16002
|
+
/**
|
|
16003
|
+
*
|
|
16004
|
+
* @summary The search endpoint (beta)
|
|
16005
|
+
* @param {ComputedAttributeControllerApiSearchEntitiesComputedAttributesRequest} requestParameters Request parameters.
|
|
16006
|
+
* @param {*} [options] Override http request option.
|
|
16007
|
+
* @throws {RequiredError}
|
|
16008
|
+
* @memberof ComputedAttributeControllerApi
|
|
16009
|
+
*/
|
|
16010
|
+
searchEntitiesComputedAttributes(requestParameters, options) {
|
|
16011
|
+
return ComputedAttributeControllerApi_SearchEntitiesComputedAttributes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
16012
|
+
}
|
|
16013
|
+
/**
|
|
16014
|
+
*
|
|
16015
|
+
* @summary Put a Computed Attribute
|
|
16016
|
+
* @param {ComputedAttributeControllerApiUpdateEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
16017
|
+
* @param {*} [options] Override http request option.
|
|
16018
|
+
* @throws {RequiredError}
|
|
16019
|
+
* @memberof ComputedAttributeControllerApi
|
|
16020
|
+
*/
|
|
16021
|
+
updateEntityComputedAttributes(requestParameters, options) {
|
|
16022
|
+
return ComputedAttributeControllerApi_UpdateEntityComputedAttributes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
16023
|
+
}
|
|
16024
|
+
}
|
|
16025
|
+
// ComputedAttributesApi FP - ComputedAttributesApiAxiosParamCreator
|
|
16026
|
+
/**
|
|
16027
|
+
*
|
|
16028
|
+
* @summary Post Computed Attributes
|
|
16029
|
+
* @param {string} workspaceId
|
|
16030
|
+
* @param {JsonApiComputedAttributePostOptionalIdDocument} jsonApiComputedAttributePostOptionalIdDocument
|
|
16031
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
16032
|
+
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
16033
|
+
* @param {*} [options] Override http request option.
|
|
16034
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
16035
|
+
* @throws {RequiredError}
|
|
16036
|
+
*/
|
|
16037
|
+
export async function ComputedAttributesApiAxiosParamCreator_CreateEntityComputedAttributes(workspaceId, jsonApiComputedAttributePostOptionalIdDocument, include, metaInclude, options = {}, configuration) {
|
|
16038
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
16039
|
+
assertParamExists('createEntityComputedAttributes', 'workspaceId', workspaceId);
|
|
16040
|
+
// verify required parameter 'jsonApiComputedAttributePostOptionalIdDocument' is not null or undefined
|
|
16041
|
+
assertParamExists('createEntityComputedAttributes', 'jsonApiComputedAttributePostOptionalIdDocument', jsonApiComputedAttributePostOptionalIdDocument);
|
|
16042
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/computedAttributes`
|
|
16043
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
16044
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16045
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16046
|
+
let baseOptions;
|
|
16047
|
+
if (configuration) {
|
|
16048
|
+
baseOptions = configuration.baseOptions;
|
|
16049
|
+
}
|
|
16050
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
16051
|
+
const localVarHeaderParameter = {};
|
|
16052
|
+
const localVarQueryParameter = {};
|
|
16053
|
+
if (include) {
|
|
16054
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
16055
|
+
}
|
|
16056
|
+
if (metaInclude) {
|
|
16057
|
+
localVarQueryParameter['metaInclude'] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
16058
|
+
}
|
|
16059
|
+
const consumes = [
|
|
16060
|
+
'application/vnd.gooddata.api+json',
|
|
16061
|
+
'application/json'
|
|
16062
|
+
];
|
|
16063
|
+
// use application/json if present, otherwise fallback to the first one
|
|
16064
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
16065
|
+
? 'application/json'
|
|
16066
|
+
: consumes[0];
|
|
16067
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16068
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
16069
|
+
localVarRequestOptions.headers = {
|
|
16070
|
+
...localVarHeaderParameter,
|
|
16071
|
+
...headersFromBaseOptions,
|
|
16072
|
+
...options.headers,
|
|
16073
|
+
};
|
|
16074
|
+
const needsSerialization = typeof jsonApiComputedAttributePostOptionalIdDocument !== "string" ||
|
|
16075
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
16076
|
+
localVarRequestOptions.data = needsSerialization
|
|
16077
|
+
? JSON.stringify(jsonApiComputedAttributePostOptionalIdDocument !== undefined ? jsonApiComputedAttributePostOptionalIdDocument : {})
|
|
16078
|
+
: jsonApiComputedAttributePostOptionalIdDocument || "";
|
|
16079
|
+
return {
|
|
16080
|
+
url: toPathString(localVarUrlObj),
|
|
16081
|
+
options: localVarRequestOptions,
|
|
16082
|
+
};
|
|
16083
|
+
}
|
|
16084
|
+
// ComputedAttributesApi FP - ComputedAttributesApiAxiosParamCreator
|
|
16085
|
+
/**
|
|
16086
|
+
*
|
|
16087
|
+
* @summary Delete a Computed Attribute
|
|
16088
|
+
* @param {string} workspaceId
|
|
16089
|
+
* @param {string} objectId
|
|
16090
|
+
* @param {*} [options] Override http request option.
|
|
16091
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
16092
|
+
* @throws {RequiredError}
|
|
16093
|
+
*/
|
|
16094
|
+
export async function ComputedAttributesApiAxiosParamCreator_DeleteEntityComputedAttributes(workspaceId, objectId, options = {}, configuration) {
|
|
16095
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
16096
|
+
assertParamExists('deleteEntityComputedAttributes', 'workspaceId', workspaceId);
|
|
16097
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
16098
|
+
assertParamExists('deleteEntityComputedAttributes', 'objectId', objectId);
|
|
16099
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/computedAttributes/{objectId}`
|
|
16100
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
16101
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
16102
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16103
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16104
|
+
let baseOptions;
|
|
16105
|
+
if (configuration) {
|
|
16106
|
+
baseOptions = configuration.baseOptions;
|
|
16107
|
+
}
|
|
16108
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
16109
|
+
const localVarHeaderParameter = {};
|
|
16110
|
+
const localVarQueryParameter = {};
|
|
16111
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16112
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
16113
|
+
localVarRequestOptions.headers = {
|
|
16114
|
+
...localVarHeaderParameter,
|
|
16115
|
+
...headersFromBaseOptions,
|
|
16116
|
+
...options.headers,
|
|
16117
|
+
};
|
|
16118
|
+
return {
|
|
16119
|
+
url: toPathString(localVarUrlObj),
|
|
16120
|
+
options: localVarRequestOptions,
|
|
16121
|
+
};
|
|
16122
|
+
}
|
|
16123
|
+
// ComputedAttributesApi FP - ComputedAttributesApiAxiosParamCreator
|
|
16124
|
+
/**
|
|
16125
|
+
*
|
|
16126
|
+
* @summary Get all Computed Attributes
|
|
16127
|
+
* @param {string} workspaceId
|
|
16128
|
+
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
16129
|
+
* @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\').
|
|
16130
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
16131
|
+
* @param {number} [page] Zero-based page index (0..N)
|
|
16132
|
+
* @param {number} [size] The size of the page to be returned
|
|
16133
|
+
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
16134
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
16135
|
+
* @param {Array<'origin' | 'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
16136
|
+
* @param {*} [options] Override http request option.
|
|
16137
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
16138
|
+
* @throws {RequiredError}
|
|
16139
|
+
*/
|
|
16140
|
+
export async function ComputedAttributesApiAxiosParamCreator_GetAllEntitiesComputedAttributes(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options = {}, configuration) {
|
|
16141
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
16142
|
+
assertParamExists('getAllEntitiesComputedAttributes', 'workspaceId', workspaceId);
|
|
16143
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/computedAttributes`
|
|
16144
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
16145
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16146
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16147
|
+
let baseOptions;
|
|
16148
|
+
if (configuration) {
|
|
16149
|
+
baseOptions = configuration.baseOptions;
|
|
16150
|
+
}
|
|
16151
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
16152
|
+
const localVarHeaderParameter = {};
|
|
16153
|
+
const localVarQueryParameter = {};
|
|
16154
|
+
if (origin !== undefined) {
|
|
16155
|
+
localVarQueryParameter['origin'] = origin;
|
|
16156
|
+
}
|
|
16157
|
+
if (filter !== undefined) {
|
|
16158
|
+
localVarQueryParameter['filter'] = filter;
|
|
16159
|
+
}
|
|
16160
|
+
if (include) {
|
|
16161
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
16162
|
+
}
|
|
16163
|
+
if (page !== undefined) {
|
|
16164
|
+
localVarQueryParameter['page'] = page;
|
|
16165
|
+
}
|
|
16166
|
+
if (size !== undefined) {
|
|
16167
|
+
localVarQueryParameter['size'] = size;
|
|
16168
|
+
}
|
|
16169
|
+
if (sort) {
|
|
16170
|
+
localVarQueryParameter['sort'] = sort;
|
|
16171
|
+
}
|
|
16172
|
+
if (metaInclude) {
|
|
16173
|
+
localVarQueryParameter['metaInclude'] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
16174
|
+
}
|
|
16175
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
16176
|
+
localVarHeaderParameter['X-GDC-VALIDATE-RELATIONS'] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
16177
|
+
}
|
|
16178
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16179
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
16180
|
+
localVarRequestOptions.headers = {
|
|
16181
|
+
...localVarHeaderParameter,
|
|
16182
|
+
...headersFromBaseOptions,
|
|
16183
|
+
...options.headers,
|
|
16184
|
+
};
|
|
16185
|
+
return {
|
|
16186
|
+
url: toPathString(localVarUrlObj),
|
|
16187
|
+
options: localVarRequestOptions,
|
|
16188
|
+
};
|
|
16189
|
+
}
|
|
16190
|
+
// ComputedAttributesApi FP - ComputedAttributesApiAxiosParamCreator
|
|
16191
|
+
/**
|
|
16192
|
+
*
|
|
16193
|
+
* @summary Get a Computed Attribute
|
|
16194
|
+
* @param {string} workspaceId
|
|
16195
|
+
* @param {string} objectId
|
|
16196
|
+
* @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\').
|
|
16197
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
16198
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
16199
|
+
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
16200
|
+
* @param {*} [options] Override http request option.
|
|
16201
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
16202
|
+
* @throws {RequiredError}
|
|
16203
|
+
*/
|
|
16204
|
+
export async function ComputedAttributesApiAxiosParamCreator_GetEntityComputedAttributes(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, metaInclude, options = {}, configuration) {
|
|
16205
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
16206
|
+
assertParamExists('getEntityComputedAttributes', 'workspaceId', workspaceId);
|
|
16207
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
16208
|
+
assertParamExists('getEntityComputedAttributes', 'objectId', objectId);
|
|
16209
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/computedAttributes/{objectId}`
|
|
16210
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
16211
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
16212
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16213
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16214
|
+
let baseOptions;
|
|
16215
|
+
if (configuration) {
|
|
16216
|
+
baseOptions = configuration.baseOptions;
|
|
16217
|
+
}
|
|
16218
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
16219
|
+
const localVarHeaderParameter = {};
|
|
16220
|
+
const localVarQueryParameter = {};
|
|
16221
|
+
if (filter !== undefined) {
|
|
16222
|
+
localVarQueryParameter['filter'] = filter;
|
|
16223
|
+
}
|
|
16224
|
+
if (include) {
|
|
16225
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
16226
|
+
}
|
|
16227
|
+
if (metaInclude) {
|
|
16228
|
+
localVarQueryParameter['metaInclude'] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
16229
|
+
}
|
|
16230
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
16231
|
+
localVarHeaderParameter['X-GDC-VALIDATE-RELATIONS'] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
16232
|
+
}
|
|
16233
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16234
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
16235
|
+
localVarRequestOptions.headers = {
|
|
16236
|
+
...localVarHeaderParameter,
|
|
16237
|
+
...headersFromBaseOptions,
|
|
16238
|
+
...options.headers,
|
|
16239
|
+
};
|
|
16240
|
+
return {
|
|
16241
|
+
url: toPathString(localVarUrlObj),
|
|
16242
|
+
options: localVarRequestOptions,
|
|
16243
|
+
};
|
|
16244
|
+
}
|
|
16245
|
+
// ComputedAttributesApi FP - ComputedAttributesApiAxiosParamCreator
|
|
16246
|
+
/**
|
|
16247
|
+
*
|
|
16248
|
+
* @summary Patch a Computed Attribute
|
|
16249
|
+
* @param {string} workspaceId
|
|
16250
|
+
* @param {string} objectId
|
|
16251
|
+
* @param {JsonApiComputedAttributePatchDocument} jsonApiComputedAttributePatchDocument
|
|
16252
|
+
* @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\').
|
|
16253
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
16254
|
+
* @param {*} [options] Override http request option.
|
|
16255
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
16256
|
+
* @throws {RequiredError}
|
|
16257
|
+
*/
|
|
16258
|
+
export async function ComputedAttributesApiAxiosParamCreator_PatchEntityComputedAttributes(workspaceId, objectId, jsonApiComputedAttributePatchDocument, filter, include, options = {}, configuration) {
|
|
16259
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
16260
|
+
assertParamExists('patchEntityComputedAttributes', 'workspaceId', workspaceId);
|
|
16261
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
16262
|
+
assertParamExists('patchEntityComputedAttributes', 'objectId', objectId);
|
|
16263
|
+
// verify required parameter 'jsonApiComputedAttributePatchDocument' is not null or undefined
|
|
16264
|
+
assertParamExists('patchEntityComputedAttributes', 'jsonApiComputedAttributePatchDocument', jsonApiComputedAttributePatchDocument);
|
|
16265
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/computedAttributes/{objectId}`
|
|
16266
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
16267
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
16268
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16269
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16270
|
+
let baseOptions;
|
|
16271
|
+
if (configuration) {
|
|
16272
|
+
baseOptions = configuration.baseOptions;
|
|
16273
|
+
}
|
|
16274
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
16275
|
+
const localVarHeaderParameter = {};
|
|
16276
|
+
const localVarQueryParameter = {};
|
|
16277
|
+
if (filter !== undefined) {
|
|
16278
|
+
localVarQueryParameter['filter'] = filter;
|
|
16279
|
+
}
|
|
16280
|
+
if (include) {
|
|
16281
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
16282
|
+
}
|
|
16283
|
+
const consumes = [
|
|
16284
|
+
'application/vnd.gooddata.api+json',
|
|
16285
|
+
'application/json'
|
|
16286
|
+
];
|
|
16287
|
+
// use application/json if present, otherwise fallback to the first one
|
|
16288
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
16289
|
+
? 'application/json'
|
|
16290
|
+
: consumes[0];
|
|
16291
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16292
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
16293
|
+
localVarRequestOptions.headers = {
|
|
16294
|
+
...localVarHeaderParameter,
|
|
16295
|
+
...headersFromBaseOptions,
|
|
16296
|
+
...options.headers,
|
|
16297
|
+
};
|
|
16298
|
+
const needsSerialization = typeof jsonApiComputedAttributePatchDocument !== "string" ||
|
|
16299
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
16300
|
+
localVarRequestOptions.data = needsSerialization
|
|
16301
|
+
? JSON.stringify(jsonApiComputedAttributePatchDocument !== undefined ? jsonApiComputedAttributePatchDocument : {})
|
|
16302
|
+
: jsonApiComputedAttributePatchDocument || "";
|
|
16303
|
+
return {
|
|
16304
|
+
url: toPathString(localVarUrlObj),
|
|
16305
|
+
options: localVarRequestOptions,
|
|
16306
|
+
};
|
|
16307
|
+
}
|
|
16308
|
+
// ComputedAttributesApi FP - ComputedAttributesApiAxiosParamCreator
|
|
16309
|
+
/**
|
|
16310
|
+
*
|
|
16311
|
+
* @summary The search endpoint (beta)
|
|
16312
|
+
* @param {string} workspaceId
|
|
16313
|
+
* @param {EntitySearchBody} entitySearchBody Search request body with filter, pagination, and sorting options
|
|
16314
|
+
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
16315
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
16316
|
+
* @param {*} [options] Override http request option.
|
|
16317
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
16318
|
+
* @throws {RequiredError}
|
|
16319
|
+
*/
|
|
16320
|
+
export async function ComputedAttributesApiAxiosParamCreator_SearchEntitiesComputedAttributes(workspaceId, entitySearchBody, origin, xGDCVALIDATERELATIONS, options = {}, configuration) {
|
|
16321
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
16322
|
+
assertParamExists('searchEntitiesComputedAttributes', 'workspaceId', workspaceId);
|
|
16323
|
+
// verify required parameter 'entitySearchBody' is not null or undefined
|
|
16324
|
+
assertParamExists('searchEntitiesComputedAttributes', 'entitySearchBody', entitySearchBody);
|
|
16325
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/computedAttributes/search`
|
|
16326
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
16327
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16328
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16329
|
+
let baseOptions;
|
|
16330
|
+
if (configuration) {
|
|
16331
|
+
baseOptions = configuration.baseOptions;
|
|
16332
|
+
}
|
|
16333
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
16334
|
+
const localVarHeaderParameter = {};
|
|
16335
|
+
const localVarQueryParameter = {};
|
|
16336
|
+
if (origin !== undefined) {
|
|
16337
|
+
localVarQueryParameter['origin'] = origin;
|
|
16338
|
+
}
|
|
16339
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
16340
|
+
localVarHeaderParameter['X-GDC-VALIDATE-RELATIONS'] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
16341
|
+
}
|
|
16342
|
+
const consumes = [
|
|
16343
|
+
'application/json'
|
|
16344
|
+
];
|
|
16345
|
+
// use application/json if present, otherwise fallback to the first one
|
|
16346
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
16347
|
+
? 'application/json'
|
|
16348
|
+
: consumes[0];
|
|
16349
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16350
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
16351
|
+
localVarRequestOptions.headers = {
|
|
16352
|
+
...localVarHeaderParameter,
|
|
16353
|
+
...headersFromBaseOptions,
|
|
16354
|
+
...options.headers,
|
|
16355
|
+
};
|
|
16356
|
+
const needsSerialization = typeof entitySearchBody !== "string" ||
|
|
16357
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
16358
|
+
localVarRequestOptions.data = needsSerialization
|
|
16359
|
+
? JSON.stringify(entitySearchBody !== undefined ? entitySearchBody : {})
|
|
16360
|
+
: entitySearchBody || "";
|
|
16361
|
+
return {
|
|
16362
|
+
url: toPathString(localVarUrlObj),
|
|
16363
|
+
options: localVarRequestOptions,
|
|
16364
|
+
};
|
|
16365
|
+
}
|
|
16366
|
+
// ComputedAttributesApi FP - ComputedAttributesApiAxiosParamCreator
|
|
16367
|
+
/**
|
|
16368
|
+
*
|
|
16369
|
+
* @summary Put a Computed Attribute
|
|
16370
|
+
* @param {string} workspaceId
|
|
16371
|
+
* @param {string} objectId
|
|
16372
|
+
* @param {JsonApiComputedAttributeInDocument} jsonApiComputedAttributeInDocument
|
|
16373
|
+
* @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\').
|
|
16374
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
16375
|
+
* @param {*} [options] Override http request option.
|
|
16376
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
16377
|
+
* @throws {RequiredError}
|
|
16378
|
+
*/
|
|
16379
|
+
export async function ComputedAttributesApiAxiosParamCreator_UpdateEntityComputedAttributes(workspaceId, objectId, jsonApiComputedAttributeInDocument, filter, include, options = {}, configuration) {
|
|
16380
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
16381
|
+
assertParamExists('updateEntityComputedAttributes', 'workspaceId', workspaceId);
|
|
16382
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
16383
|
+
assertParamExists('updateEntityComputedAttributes', 'objectId', objectId);
|
|
16384
|
+
// verify required parameter 'jsonApiComputedAttributeInDocument' is not null or undefined
|
|
16385
|
+
assertParamExists('updateEntityComputedAttributes', 'jsonApiComputedAttributeInDocument', jsonApiComputedAttributeInDocument);
|
|
16386
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/computedAttributes/{objectId}`
|
|
16387
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
16388
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
16389
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16390
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16391
|
+
let baseOptions;
|
|
16392
|
+
if (configuration) {
|
|
16393
|
+
baseOptions = configuration.baseOptions;
|
|
16394
|
+
}
|
|
16395
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
16396
|
+
const localVarHeaderParameter = {};
|
|
16397
|
+
const localVarQueryParameter = {};
|
|
16398
|
+
if (filter !== undefined) {
|
|
16399
|
+
localVarQueryParameter['filter'] = filter;
|
|
16400
|
+
}
|
|
16401
|
+
if (include) {
|
|
16402
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
16403
|
+
}
|
|
16404
|
+
const consumes = [
|
|
16405
|
+
'application/vnd.gooddata.api+json',
|
|
16406
|
+
'application/json'
|
|
16407
|
+
];
|
|
16408
|
+
// use application/json if present, otherwise fallback to the first one
|
|
16409
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
16410
|
+
? 'application/json'
|
|
16411
|
+
: consumes[0];
|
|
16412
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16413
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
16414
|
+
localVarRequestOptions.headers = {
|
|
16415
|
+
...localVarHeaderParameter,
|
|
16416
|
+
...headersFromBaseOptions,
|
|
16417
|
+
...options.headers,
|
|
16418
|
+
};
|
|
16419
|
+
const needsSerialization = typeof jsonApiComputedAttributeInDocument !== "string" ||
|
|
16420
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
16421
|
+
localVarRequestOptions.data = needsSerialization
|
|
16422
|
+
? JSON.stringify(jsonApiComputedAttributeInDocument !== undefined ? jsonApiComputedAttributeInDocument : {})
|
|
16423
|
+
: jsonApiComputedAttributeInDocument || "";
|
|
16424
|
+
return {
|
|
16425
|
+
url: toPathString(localVarUrlObj),
|
|
16426
|
+
options: localVarRequestOptions,
|
|
16427
|
+
};
|
|
16428
|
+
}
|
|
16429
|
+
// ComputedAttributesApi Api FP
|
|
16430
|
+
/**
|
|
16431
|
+
*
|
|
16432
|
+
* @summary Post Computed Attributes
|
|
16433
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
16434
|
+
* @param {string} basePath Base path.
|
|
16435
|
+
* @param {ComputedAttributesApiCreateEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
16436
|
+
* @param {*} [options] Override http request option.
|
|
16437
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
16438
|
+
* @throws {RequiredError}
|
|
16439
|
+
*/
|
|
16440
|
+
export async function ComputedAttributesApi_CreateEntityComputedAttributes(axios, basePath, requestParameters, options, configuration) {
|
|
16441
|
+
const localVarAxiosArgs = await ComputedAttributesApiAxiosParamCreator_CreateEntityComputedAttributes(requestParameters.workspaceId, requestParameters.jsonApiComputedAttributePostOptionalIdDocument, requestParameters.include, requestParameters.metaInclude, options || {}, configuration);
|
|
16442
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
16443
|
+
}
|
|
16444
|
+
// ComputedAttributesApi Api FP
|
|
16445
|
+
/**
|
|
16446
|
+
*
|
|
16447
|
+
* @summary Delete a Computed Attribute
|
|
16448
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
16449
|
+
* @param {string} basePath Base path.
|
|
16450
|
+
* @param {ComputedAttributesApiDeleteEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
16451
|
+
* @param {*} [options] Override http request option.
|
|
16452
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
16453
|
+
* @throws {RequiredError}
|
|
16454
|
+
*/
|
|
16455
|
+
export async function ComputedAttributesApi_DeleteEntityComputedAttributes(axios, basePath, requestParameters, options, configuration) {
|
|
16456
|
+
const localVarAxiosArgs = await ComputedAttributesApiAxiosParamCreator_DeleteEntityComputedAttributes(requestParameters.workspaceId, requestParameters.objectId, options || {}, configuration);
|
|
16457
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
16458
|
+
}
|
|
16459
|
+
// ComputedAttributesApi Api FP
|
|
16460
|
+
/**
|
|
16461
|
+
*
|
|
16462
|
+
* @summary Get all Computed Attributes
|
|
16463
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
16464
|
+
* @param {string} basePath Base path.
|
|
16465
|
+
* @param {ComputedAttributesApiGetAllEntitiesComputedAttributesRequest} requestParameters Request parameters.
|
|
16466
|
+
* @param {*} [options] Override http request option.
|
|
16467
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
16468
|
+
* @throws {RequiredError}
|
|
16469
|
+
*/
|
|
16470
|
+
export async function ComputedAttributesApi_GetAllEntitiesComputedAttributes(axios, basePath, requestParameters, options, configuration) {
|
|
16471
|
+
const localVarAxiosArgs = await ComputedAttributesApiAxiosParamCreator_GetAllEntitiesComputedAttributes(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options || {}, configuration);
|
|
16472
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
16473
|
+
}
|
|
16474
|
+
// ComputedAttributesApi Api FP
|
|
16475
|
+
/**
|
|
16476
|
+
*
|
|
16477
|
+
* @summary Get a Computed Attribute
|
|
16478
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
16479
|
+
* @param {string} basePath Base path.
|
|
16480
|
+
* @param {ComputedAttributesApiGetEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
16481
|
+
* @param {*} [options] Override http request option.
|
|
16482
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
16483
|
+
* @throws {RequiredError}
|
|
16484
|
+
*/
|
|
16485
|
+
export async function ComputedAttributesApi_GetEntityComputedAttributes(axios, basePath, requestParameters, options, configuration) {
|
|
16486
|
+
const localVarAxiosArgs = await ComputedAttributesApiAxiosParamCreator_GetEntityComputedAttributes(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options || {}, configuration);
|
|
16487
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
16488
|
+
}
|
|
16489
|
+
// ComputedAttributesApi Api FP
|
|
16490
|
+
/**
|
|
16491
|
+
*
|
|
16492
|
+
* @summary Patch a Computed Attribute
|
|
16493
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
16494
|
+
* @param {string} basePath Base path.
|
|
16495
|
+
* @param {ComputedAttributesApiPatchEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
16496
|
+
* @param {*} [options] Override http request option.
|
|
16497
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
16498
|
+
* @throws {RequiredError}
|
|
16499
|
+
*/
|
|
16500
|
+
export async function ComputedAttributesApi_PatchEntityComputedAttributes(axios, basePath, requestParameters, options, configuration) {
|
|
16501
|
+
const localVarAxiosArgs = await ComputedAttributesApiAxiosParamCreator_PatchEntityComputedAttributes(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiComputedAttributePatchDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
|
|
16502
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
16503
|
+
}
|
|
16504
|
+
// ComputedAttributesApi Api FP
|
|
16505
|
+
/**
|
|
16506
|
+
*
|
|
16507
|
+
* @summary The search endpoint (beta)
|
|
16508
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
16509
|
+
* @param {string} basePath Base path.
|
|
16510
|
+
* @param {ComputedAttributesApiSearchEntitiesComputedAttributesRequest} requestParameters Request parameters.
|
|
16511
|
+
* @param {*} [options] Override http request option.
|
|
16512
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
16513
|
+
* @throws {RequiredError}
|
|
16514
|
+
*/
|
|
16515
|
+
export async function ComputedAttributesApi_SearchEntitiesComputedAttributes(axios, basePath, requestParameters, options, configuration) {
|
|
16516
|
+
const localVarAxiosArgs = await ComputedAttributesApiAxiosParamCreator_SearchEntitiesComputedAttributes(requestParameters.workspaceId, requestParameters.entitySearchBody, requestParameters.origin, requestParameters.xGDCVALIDATERELATIONS, options || {}, configuration);
|
|
16517
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
16518
|
+
}
|
|
16519
|
+
// ComputedAttributesApi Api FP
|
|
16520
|
+
/**
|
|
16521
|
+
*
|
|
16522
|
+
* @summary Put a Computed Attribute
|
|
16523
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
16524
|
+
* @param {string} basePath Base path.
|
|
16525
|
+
* @param {ComputedAttributesApiUpdateEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
16526
|
+
* @param {*} [options] Override http request option.
|
|
16527
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
16528
|
+
* @throws {RequiredError}
|
|
16529
|
+
*/
|
|
16530
|
+
export async function ComputedAttributesApi_UpdateEntityComputedAttributes(axios, basePath, requestParameters, options, configuration) {
|
|
16531
|
+
const localVarAxiosArgs = await ComputedAttributesApiAxiosParamCreator_UpdateEntityComputedAttributes(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiComputedAttributeInDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
|
|
16532
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
16533
|
+
}
|
|
16534
|
+
/**
|
|
16535
|
+
* ComputedAttributesApi - object-oriented interface
|
|
16536
|
+
* @export
|
|
16537
|
+
* @class ComputedAttributesApi
|
|
16538
|
+
* @extends {BaseAPI}
|
|
16539
|
+
*/
|
|
16540
|
+
export class ComputedAttributesApi extends BaseAPI {
|
|
16541
|
+
/**
|
|
16542
|
+
*
|
|
16543
|
+
* @summary Post Computed Attributes
|
|
16544
|
+
* @param {ComputedAttributesApiCreateEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
16545
|
+
* @param {*} [options] Override http request option.
|
|
16546
|
+
* @throws {RequiredError}
|
|
16547
|
+
* @memberof ComputedAttributesApi
|
|
16548
|
+
*/
|
|
16549
|
+
createEntityComputedAttributes(requestParameters, options) {
|
|
16550
|
+
return ComputedAttributesApi_CreateEntityComputedAttributes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
16551
|
+
}
|
|
16552
|
+
/**
|
|
16553
|
+
*
|
|
16554
|
+
* @summary Delete a Computed Attribute
|
|
16555
|
+
* @param {ComputedAttributesApiDeleteEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
16556
|
+
* @param {*} [options] Override http request option.
|
|
16557
|
+
* @throws {RequiredError}
|
|
16558
|
+
* @memberof ComputedAttributesApi
|
|
16559
|
+
*/
|
|
16560
|
+
deleteEntityComputedAttributes(requestParameters, options) {
|
|
16561
|
+
return ComputedAttributesApi_DeleteEntityComputedAttributes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
16562
|
+
}
|
|
16563
|
+
/**
|
|
16564
|
+
*
|
|
16565
|
+
* @summary Get all Computed Attributes
|
|
16566
|
+
* @param {ComputedAttributesApiGetAllEntitiesComputedAttributesRequest} requestParameters Request parameters.
|
|
16567
|
+
* @param {*} [options] Override http request option.
|
|
16568
|
+
* @throws {RequiredError}
|
|
16569
|
+
* @memberof ComputedAttributesApi
|
|
16570
|
+
*/
|
|
16571
|
+
getAllEntitiesComputedAttributes(requestParameters, options) {
|
|
16572
|
+
return ComputedAttributesApi_GetAllEntitiesComputedAttributes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
16573
|
+
}
|
|
16574
|
+
/**
|
|
16575
|
+
*
|
|
16576
|
+
* @summary Get a Computed Attribute
|
|
16577
|
+
* @param {ComputedAttributesApiGetEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
16578
|
+
* @param {*} [options] Override http request option.
|
|
16579
|
+
* @throws {RequiredError}
|
|
16580
|
+
* @memberof ComputedAttributesApi
|
|
16581
|
+
*/
|
|
16582
|
+
getEntityComputedAttributes(requestParameters, options) {
|
|
16583
|
+
return ComputedAttributesApi_GetEntityComputedAttributes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
16584
|
+
}
|
|
16585
|
+
/**
|
|
16586
|
+
*
|
|
16587
|
+
* @summary Patch a Computed Attribute
|
|
16588
|
+
* @param {ComputedAttributesApiPatchEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
16589
|
+
* @param {*} [options] Override http request option.
|
|
16590
|
+
* @throws {RequiredError}
|
|
16591
|
+
* @memberof ComputedAttributesApi
|
|
16592
|
+
*/
|
|
16593
|
+
patchEntityComputedAttributes(requestParameters, options) {
|
|
16594
|
+
return ComputedAttributesApi_PatchEntityComputedAttributes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
16595
|
+
}
|
|
16596
|
+
/**
|
|
16597
|
+
*
|
|
16598
|
+
* @summary The search endpoint (beta)
|
|
16599
|
+
* @param {ComputedAttributesApiSearchEntitiesComputedAttributesRequest} requestParameters Request parameters.
|
|
16600
|
+
* @param {*} [options] Override http request option.
|
|
16601
|
+
* @throws {RequiredError}
|
|
16602
|
+
* @memberof ComputedAttributesApi
|
|
16603
|
+
*/
|
|
16604
|
+
searchEntitiesComputedAttributes(requestParameters, options) {
|
|
16605
|
+
return ComputedAttributesApi_SearchEntitiesComputedAttributes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
16606
|
+
}
|
|
16607
|
+
/**
|
|
16608
|
+
*
|
|
16609
|
+
* @summary Put a Computed Attribute
|
|
16610
|
+
* @param {ComputedAttributesApiUpdateEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
16611
|
+
* @param {*} [options] Override http request option.
|
|
16612
|
+
* @throws {RequiredError}
|
|
16613
|
+
* @memberof ComputedAttributesApi
|
|
16614
|
+
*/
|
|
16615
|
+
updateEntityComputedAttributes(requestParameters, options) {
|
|
16616
|
+
return ComputedAttributesApi_UpdateEntityComputedAttributes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
16617
|
+
}
|
|
16618
|
+
}
|
|
15431
16619
|
// CookieSecurityConfigurationApi FP - CookieSecurityConfigurationApiAxiosParamCreator
|
|
15432
16620
|
/**
|
|
15433
16621
|
*
|
|
@@ -18943,7 +20131,7 @@ export class DashboardsApi extends BaseAPI {
|
|
|
18943
20131
|
* @summary Post User Data Filters
|
|
18944
20132
|
* @param {string} workspaceId
|
|
18945
20133
|
* @param {JsonApiUserDataFilterPostOptionalIdDocument} jsonApiUserDataFilterPostOptionalIdDocument
|
|
18946
|
-
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
20134
|
+
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
18947
20135
|
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
18948
20136
|
* @param {*} [options] Override http request option.
|
|
18949
20137
|
* @param {Configuration} [configuration] Optional configuration.
|
|
@@ -19238,7 +20426,7 @@ export async function DataFiltersApiAxiosParamCreator_DeleteEntityWorkspaceDataF
|
|
|
19238
20426
|
* @param {string} workspaceId
|
|
19239
20427
|
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
19240
20428
|
* @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\').
|
|
19241
|
-
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
20429
|
+
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
19242
20430
|
* @param {number} [page] Zero-based page index (0..N)
|
|
19243
20431
|
* @param {number} [size] The size of the page to be returned
|
|
19244
20432
|
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
@@ -19439,7 +20627,7 @@ export async function DataFiltersApiAxiosParamCreator_GetAllEntitiesWorkspaceDat
|
|
|
19439
20627
|
* @param {string} workspaceId
|
|
19440
20628
|
* @param {string} objectId
|
|
19441
20629
|
* @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\').
|
|
19442
|
-
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
20630
|
+
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
19443
20631
|
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
19444
20632
|
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
19445
20633
|
* @param {*} [options] Override http request option.
|
|
@@ -19636,7 +20824,7 @@ export async function DataFiltersApiAxiosParamCreator_GetWorkspaceDataFiltersLay
|
|
|
19636
20824
|
* @param {string} objectId
|
|
19637
20825
|
* @param {JsonApiUserDataFilterPatchDocument} jsonApiUserDataFilterPatchDocument
|
|
19638
20826
|
* @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\').
|
|
19639
|
-
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
20827
|
+
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
19640
20828
|
* @param {*} [options] Override http request option.
|
|
19641
20829
|
* @param {Configuration} [configuration] Optional configuration.
|
|
19642
20830
|
* @throws {RequiredError}
|
|
@@ -20045,7 +21233,7 @@ export async function DataFiltersApiAxiosParamCreator_SetWorkspaceDataFiltersLay
|
|
|
20045
21233
|
* @param {string} objectId
|
|
20046
21234
|
* @param {JsonApiUserDataFilterInDocument} jsonApiUserDataFilterInDocument
|
|
20047
21235
|
* @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\').
|
|
20048
|
-
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
21236
|
+
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
20049
21237
|
* @param {*} [options] Override http request option.
|
|
20050
21238
|
* @param {Configuration} [configuration] Optional configuration.
|
|
20051
21239
|
* @throws {RequiredError}
|
|
@@ -23600,6 +24788,65 @@ export async function EntitiesApiAxiosParamCreator_CreateEntityColorPalettes(jso
|
|
|
23600
24788
|
};
|
|
23601
24789
|
}
|
|
23602
24790
|
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
24791
|
+
/**
|
|
24792
|
+
*
|
|
24793
|
+
* @summary Post Computed Attributes
|
|
24794
|
+
* @param {string} workspaceId
|
|
24795
|
+
* @param {JsonApiComputedAttributePostOptionalIdDocument} jsonApiComputedAttributePostOptionalIdDocument
|
|
24796
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
24797
|
+
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
24798
|
+
* @param {*} [options] Override http request option.
|
|
24799
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
24800
|
+
* @throws {RequiredError}
|
|
24801
|
+
*/
|
|
24802
|
+
export async function EntitiesApiAxiosParamCreator_CreateEntityComputedAttributes(workspaceId, jsonApiComputedAttributePostOptionalIdDocument, include, metaInclude, options = {}, configuration) {
|
|
24803
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
24804
|
+
assertParamExists('createEntityComputedAttributes', 'workspaceId', workspaceId);
|
|
24805
|
+
// verify required parameter 'jsonApiComputedAttributePostOptionalIdDocument' is not null or undefined
|
|
24806
|
+
assertParamExists('createEntityComputedAttributes', 'jsonApiComputedAttributePostOptionalIdDocument', jsonApiComputedAttributePostOptionalIdDocument);
|
|
24807
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/computedAttributes`
|
|
24808
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
24809
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24810
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24811
|
+
let baseOptions;
|
|
24812
|
+
if (configuration) {
|
|
24813
|
+
baseOptions = configuration.baseOptions;
|
|
24814
|
+
}
|
|
24815
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
24816
|
+
const localVarHeaderParameter = {};
|
|
24817
|
+
const localVarQueryParameter = {};
|
|
24818
|
+
if (include) {
|
|
24819
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
24820
|
+
}
|
|
24821
|
+
if (metaInclude) {
|
|
24822
|
+
localVarQueryParameter['metaInclude'] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
24823
|
+
}
|
|
24824
|
+
const consumes = [
|
|
24825
|
+
'application/vnd.gooddata.api+json',
|
|
24826
|
+
'application/json'
|
|
24827
|
+
];
|
|
24828
|
+
// use application/json if present, otherwise fallback to the first one
|
|
24829
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
24830
|
+
? 'application/json'
|
|
24831
|
+
: consumes[0];
|
|
24832
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24833
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
24834
|
+
localVarRequestOptions.headers = {
|
|
24835
|
+
...localVarHeaderParameter,
|
|
24836
|
+
...headersFromBaseOptions,
|
|
24837
|
+
...options.headers,
|
|
24838
|
+
};
|
|
24839
|
+
const needsSerialization = typeof jsonApiComputedAttributePostOptionalIdDocument !== "string" ||
|
|
24840
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
24841
|
+
localVarRequestOptions.data = needsSerialization
|
|
24842
|
+
? JSON.stringify(jsonApiComputedAttributePostOptionalIdDocument !== undefined ? jsonApiComputedAttributePostOptionalIdDocument : {})
|
|
24843
|
+
: jsonApiComputedAttributePostOptionalIdDocument || "";
|
|
24844
|
+
return {
|
|
24845
|
+
url: toPathString(localVarUrlObj),
|
|
24846
|
+
options: localVarRequestOptions,
|
|
24847
|
+
};
|
|
24848
|
+
}
|
|
24849
|
+
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
23603
24850
|
/**
|
|
23604
24851
|
* Context Security Police Directive
|
|
23605
24852
|
* @summary Post CSP Directives
|
|
@@ -24445,7 +25692,7 @@ export async function EntitiesApiAxiosParamCreator_CreateEntityMemoryItems(works
|
|
|
24445
25692
|
* @summary Post Metrics
|
|
24446
25693
|
* @param {string} workspaceId
|
|
24447
25694
|
* @param {JsonApiMetricPostOptionalIdDocument} jsonApiMetricPostOptionalIdDocument
|
|
24448
|
-
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
25695
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
24449
25696
|
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
24450
25697
|
* @param {*} [options] Override http request option.
|
|
24451
25698
|
* @param {Configuration} [configuration] Optional configuration.
|
|
@@ -24755,7 +26002,7 @@ export async function EntitiesApiAxiosParamCreator_CreateEntityThemes(jsonApiThe
|
|
|
24755
26002
|
* @summary Post User Data Filters
|
|
24756
26003
|
* @param {string} workspaceId
|
|
24757
26004
|
* @param {JsonApiUserDataFilterPostOptionalIdDocument} jsonApiUserDataFilterPostOptionalIdDocument
|
|
24758
|
-
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
26005
|
+
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
24759
26006
|
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
24760
26007
|
* @param {*} [options] Override http request option.
|
|
24761
26008
|
* @param {Configuration} [configuration] Optional configuration.
|
|
@@ -25675,6 +26922,45 @@ export async function EntitiesApiAxiosParamCreator_DeleteEntityColorPalettes(id,
|
|
|
25675
26922
|
};
|
|
25676
26923
|
}
|
|
25677
26924
|
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
26925
|
+
/**
|
|
26926
|
+
*
|
|
26927
|
+
* @summary Delete a Computed Attribute
|
|
26928
|
+
* @param {string} workspaceId
|
|
26929
|
+
* @param {string} objectId
|
|
26930
|
+
* @param {*} [options] Override http request option.
|
|
26931
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
26932
|
+
* @throws {RequiredError}
|
|
26933
|
+
*/
|
|
26934
|
+
export async function EntitiesApiAxiosParamCreator_DeleteEntityComputedAttributes(workspaceId, objectId, options = {}, configuration) {
|
|
26935
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
26936
|
+
assertParamExists('deleteEntityComputedAttributes', 'workspaceId', workspaceId);
|
|
26937
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
26938
|
+
assertParamExists('deleteEntityComputedAttributes', 'objectId', objectId);
|
|
26939
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/computedAttributes/{objectId}`
|
|
26940
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
26941
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
26942
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26943
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26944
|
+
let baseOptions;
|
|
26945
|
+
if (configuration) {
|
|
26946
|
+
baseOptions = configuration.baseOptions;
|
|
26947
|
+
}
|
|
26948
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
26949
|
+
const localVarHeaderParameter = {};
|
|
26950
|
+
const localVarQueryParameter = {};
|
|
26951
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26952
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
26953
|
+
localVarRequestOptions.headers = {
|
|
26954
|
+
...localVarHeaderParameter,
|
|
26955
|
+
...headersFromBaseOptions,
|
|
26956
|
+
...options.headers,
|
|
26957
|
+
};
|
|
26958
|
+
return {
|
|
26959
|
+
url: toPathString(localVarUrlObj),
|
|
26960
|
+
options: localVarRequestOptions,
|
|
26961
|
+
};
|
|
26962
|
+
}
|
|
26963
|
+
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
25678
26964
|
/**
|
|
25679
26965
|
* Context Security Police Directive
|
|
25680
26966
|
* @summary Delete CSP Directives
|
|
@@ -27523,6 +28809,73 @@ export async function EntitiesApiAxiosParamCreator_GetAllEntitiesColorPalettes(f
|
|
|
27523
28809
|
};
|
|
27524
28810
|
}
|
|
27525
28811
|
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
28812
|
+
/**
|
|
28813
|
+
*
|
|
28814
|
+
* @summary Get all Computed Attributes
|
|
28815
|
+
* @param {string} workspaceId
|
|
28816
|
+
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
28817
|
+
* @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\').
|
|
28818
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
28819
|
+
* @param {number} [page] Zero-based page index (0..N)
|
|
28820
|
+
* @param {number} [size] The size of the page to be returned
|
|
28821
|
+
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
28822
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
28823
|
+
* @param {Array<'origin' | 'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
28824
|
+
* @param {*} [options] Override http request option.
|
|
28825
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
28826
|
+
* @throws {RequiredError}
|
|
28827
|
+
*/
|
|
28828
|
+
export async function EntitiesApiAxiosParamCreator_GetAllEntitiesComputedAttributes(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options = {}, configuration) {
|
|
28829
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
28830
|
+
assertParamExists('getAllEntitiesComputedAttributes', 'workspaceId', workspaceId);
|
|
28831
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/computedAttributes`
|
|
28832
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
28833
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28834
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28835
|
+
let baseOptions;
|
|
28836
|
+
if (configuration) {
|
|
28837
|
+
baseOptions = configuration.baseOptions;
|
|
28838
|
+
}
|
|
28839
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
28840
|
+
const localVarHeaderParameter = {};
|
|
28841
|
+
const localVarQueryParameter = {};
|
|
28842
|
+
if (origin !== undefined) {
|
|
28843
|
+
localVarQueryParameter['origin'] = origin;
|
|
28844
|
+
}
|
|
28845
|
+
if (filter !== undefined) {
|
|
28846
|
+
localVarQueryParameter['filter'] = filter;
|
|
28847
|
+
}
|
|
28848
|
+
if (include) {
|
|
28849
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
28850
|
+
}
|
|
28851
|
+
if (page !== undefined) {
|
|
28852
|
+
localVarQueryParameter['page'] = page;
|
|
28853
|
+
}
|
|
28854
|
+
if (size !== undefined) {
|
|
28855
|
+
localVarQueryParameter['size'] = size;
|
|
28856
|
+
}
|
|
28857
|
+
if (sort) {
|
|
28858
|
+
localVarQueryParameter['sort'] = sort;
|
|
28859
|
+
}
|
|
28860
|
+
if (metaInclude) {
|
|
28861
|
+
localVarQueryParameter['metaInclude'] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
28862
|
+
}
|
|
28863
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
28864
|
+
localVarHeaderParameter['X-GDC-VALIDATE-RELATIONS'] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
28865
|
+
}
|
|
28866
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28867
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
28868
|
+
localVarRequestOptions.headers = {
|
|
28869
|
+
...localVarHeaderParameter,
|
|
28870
|
+
...headersFromBaseOptions,
|
|
28871
|
+
...options.headers,
|
|
28872
|
+
};
|
|
28873
|
+
return {
|
|
28874
|
+
url: toPathString(localVarUrlObj),
|
|
28875
|
+
options: localVarRequestOptions,
|
|
28876
|
+
};
|
|
28877
|
+
}
|
|
28878
|
+
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
27526
28879
|
/**
|
|
27527
28880
|
* Context Security Police Directive
|
|
27528
28881
|
* @summary Get CSP Directives
|
|
@@ -28827,7 +30180,7 @@ export async function EntitiesApiAxiosParamCreator_GetAllEntitiesMemoryItems(wor
|
|
|
28827
30180
|
* @param {string} workspaceId
|
|
28828
30181
|
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
28829
30182
|
* @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\').
|
|
28830
|
-
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
30183
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
28831
30184
|
* @param {number} [page] Zero-based page index (0..N)
|
|
28832
30185
|
* @param {number} [size] The size of the page to be returned
|
|
28833
30186
|
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
@@ -29220,7 +30573,7 @@ export async function EntitiesApiAxiosParamCreator_GetAllEntitiesThemes(filter,
|
|
|
29220
30573
|
* @param {string} workspaceId
|
|
29221
30574
|
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
29222
30575
|
* @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\').
|
|
29223
|
-
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
30576
|
+
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
29224
30577
|
* @param {number} [page] Zero-based page index (0..N)
|
|
29225
30578
|
* @param {number} [size] The size of the page to be returned
|
|
29226
30579
|
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
@@ -30502,6 +31855,61 @@ export async function EntitiesApiAxiosParamCreator_GetEntityColorPalettes(id, fi
|
|
|
30502
31855
|
};
|
|
30503
31856
|
}
|
|
30504
31857
|
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
31858
|
+
/**
|
|
31859
|
+
*
|
|
31860
|
+
* @summary Get a Computed Attribute
|
|
31861
|
+
* @param {string} workspaceId
|
|
31862
|
+
* @param {string} objectId
|
|
31863
|
+
* @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\').
|
|
31864
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
31865
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
31866
|
+
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
31867
|
+
* @param {*} [options] Override http request option.
|
|
31868
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
31869
|
+
* @throws {RequiredError}
|
|
31870
|
+
*/
|
|
31871
|
+
export async function EntitiesApiAxiosParamCreator_GetEntityComputedAttributes(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, metaInclude, options = {}, configuration) {
|
|
31872
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
31873
|
+
assertParamExists('getEntityComputedAttributes', 'workspaceId', workspaceId);
|
|
31874
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
31875
|
+
assertParamExists('getEntityComputedAttributes', 'objectId', objectId);
|
|
31876
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/computedAttributes/{objectId}`
|
|
31877
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
31878
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
31879
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31880
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31881
|
+
let baseOptions;
|
|
31882
|
+
if (configuration) {
|
|
31883
|
+
baseOptions = configuration.baseOptions;
|
|
31884
|
+
}
|
|
31885
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
31886
|
+
const localVarHeaderParameter = {};
|
|
31887
|
+
const localVarQueryParameter = {};
|
|
31888
|
+
if (filter !== undefined) {
|
|
31889
|
+
localVarQueryParameter['filter'] = filter;
|
|
31890
|
+
}
|
|
31891
|
+
if (include) {
|
|
31892
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
31893
|
+
}
|
|
31894
|
+
if (metaInclude) {
|
|
31895
|
+
localVarQueryParameter['metaInclude'] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
31896
|
+
}
|
|
31897
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
31898
|
+
localVarHeaderParameter['X-GDC-VALIDATE-RELATIONS'] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
31899
|
+
}
|
|
31900
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31901
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
31902
|
+
localVarRequestOptions.headers = {
|
|
31903
|
+
...localVarHeaderParameter,
|
|
31904
|
+
...headersFromBaseOptions,
|
|
31905
|
+
...options.headers,
|
|
31906
|
+
};
|
|
31907
|
+
return {
|
|
31908
|
+
url: toPathString(localVarUrlObj),
|
|
31909
|
+
options: localVarRequestOptions,
|
|
31910
|
+
};
|
|
31911
|
+
}
|
|
31912
|
+
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
30505
31913
|
/**
|
|
30506
31914
|
*
|
|
30507
31915
|
* @summary Get CookieSecurityConfiguration
|
|
@@ -31581,7 +32989,7 @@ export async function EntitiesApiAxiosParamCreator_GetEntityMemoryItems(workspac
|
|
|
31581
32989
|
* @param {string} workspaceId
|
|
31582
32990
|
* @param {string} objectId
|
|
31583
32991
|
* @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\').
|
|
31584
|
-
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
32992
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
31585
32993
|
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
31586
32994
|
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
31587
32995
|
* @param {*} [options] Override http request option.
|
|
@@ -31937,7 +33345,7 @@ export async function EntitiesApiAxiosParamCreator_GetEntityThemes(id, filter, o
|
|
|
31937
33345
|
* @param {string} workspaceId
|
|
31938
33346
|
* @param {string} objectId
|
|
31939
33347
|
* @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\').
|
|
31940
|
-
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
33348
|
+
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
31941
33349
|
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
31942
33350
|
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
31943
33351
|
* @param {*} [options] Override http request option.
|
|
@@ -33006,6 +34414,69 @@ export async function EntitiesApiAxiosParamCreator_PatchEntityColorPalettes(id,
|
|
|
33006
34414
|
};
|
|
33007
34415
|
}
|
|
33008
34416
|
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
34417
|
+
/**
|
|
34418
|
+
*
|
|
34419
|
+
* @summary Patch a Computed Attribute
|
|
34420
|
+
* @param {string} workspaceId
|
|
34421
|
+
* @param {string} objectId
|
|
34422
|
+
* @param {JsonApiComputedAttributePatchDocument} jsonApiComputedAttributePatchDocument
|
|
34423
|
+
* @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\').
|
|
34424
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
34425
|
+
* @param {*} [options] Override http request option.
|
|
34426
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
34427
|
+
* @throws {RequiredError}
|
|
34428
|
+
*/
|
|
34429
|
+
export async function EntitiesApiAxiosParamCreator_PatchEntityComputedAttributes(workspaceId, objectId, jsonApiComputedAttributePatchDocument, filter, include, options = {}, configuration) {
|
|
34430
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
34431
|
+
assertParamExists('patchEntityComputedAttributes', 'workspaceId', workspaceId);
|
|
34432
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
34433
|
+
assertParamExists('patchEntityComputedAttributes', 'objectId', objectId);
|
|
34434
|
+
// verify required parameter 'jsonApiComputedAttributePatchDocument' is not null or undefined
|
|
34435
|
+
assertParamExists('patchEntityComputedAttributes', 'jsonApiComputedAttributePatchDocument', jsonApiComputedAttributePatchDocument);
|
|
34436
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/computedAttributes/{objectId}`
|
|
34437
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
34438
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
34439
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34440
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34441
|
+
let baseOptions;
|
|
34442
|
+
if (configuration) {
|
|
34443
|
+
baseOptions = configuration.baseOptions;
|
|
34444
|
+
}
|
|
34445
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
34446
|
+
const localVarHeaderParameter = {};
|
|
34447
|
+
const localVarQueryParameter = {};
|
|
34448
|
+
if (filter !== undefined) {
|
|
34449
|
+
localVarQueryParameter['filter'] = filter;
|
|
34450
|
+
}
|
|
34451
|
+
if (include) {
|
|
34452
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
34453
|
+
}
|
|
34454
|
+
const consumes = [
|
|
34455
|
+
'application/vnd.gooddata.api+json',
|
|
34456
|
+
'application/json'
|
|
34457
|
+
];
|
|
34458
|
+
// use application/json if present, otherwise fallback to the first one
|
|
34459
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
34460
|
+
? 'application/json'
|
|
34461
|
+
: consumes[0];
|
|
34462
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34463
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
34464
|
+
localVarRequestOptions.headers = {
|
|
34465
|
+
...localVarHeaderParameter,
|
|
34466
|
+
...headersFromBaseOptions,
|
|
34467
|
+
...options.headers,
|
|
34468
|
+
};
|
|
34469
|
+
const needsSerialization = typeof jsonApiComputedAttributePatchDocument !== "string" ||
|
|
34470
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
34471
|
+
localVarRequestOptions.data = needsSerialization
|
|
34472
|
+
? JSON.stringify(jsonApiComputedAttributePatchDocument !== undefined ? jsonApiComputedAttributePatchDocument : {})
|
|
34473
|
+
: jsonApiComputedAttributePatchDocument || "";
|
|
34474
|
+
return {
|
|
34475
|
+
url: toPathString(localVarUrlObj),
|
|
34476
|
+
options: localVarRequestOptions,
|
|
34477
|
+
};
|
|
34478
|
+
}
|
|
34479
|
+
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
33009
34480
|
/**
|
|
33010
34481
|
*
|
|
33011
34482
|
* @summary Patch CookieSecurityConfiguration
|
|
@@ -34079,7 +35550,7 @@ export async function EntitiesApiAxiosParamCreator_PatchEntityMemoryItems(worksp
|
|
|
34079
35550
|
* @param {string} objectId
|
|
34080
35551
|
* @param {JsonApiMetricPatchDocument} jsonApiMetricPatchDocument
|
|
34081
35552
|
* @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\').
|
|
34082
|
-
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
35553
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
34083
35554
|
* @param {*} [options] Override http request option.
|
|
34084
35555
|
* @param {Configuration} [configuration] Optional configuration.
|
|
34085
35556
|
* @throws {RequiredError}
|
|
@@ -34488,7 +35959,7 @@ export async function EntitiesApiAxiosParamCreator_PatchEntityThemes(id, jsonApi
|
|
|
34488
35959
|
* @param {string} objectId
|
|
34489
35960
|
* @param {JsonApiUserDataFilterPatchDocument} jsonApiUserDataFilterPatchDocument
|
|
34490
35961
|
* @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\').
|
|
34491
|
-
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
35962
|
+
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
34492
35963
|
* @param {*} [options] Override http request option.
|
|
34493
35964
|
* @param {Configuration} [configuration] Optional configuration.
|
|
34494
35965
|
* @throws {RequiredError}
|
|
@@ -35494,6 +36965,64 @@ export async function EntitiesApiAxiosParamCreator_SearchEntitiesAutomations(wor
|
|
|
35494
36965
|
};
|
|
35495
36966
|
}
|
|
35496
36967
|
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
36968
|
+
/**
|
|
36969
|
+
*
|
|
36970
|
+
* @summary The search endpoint (beta)
|
|
36971
|
+
* @param {string} workspaceId
|
|
36972
|
+
* @param {EntitySearchBody} entitySearchBody Search request body with filter, pagination, and sorting options
|
|
36973
|
+
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
36974
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
36975
|
+
* @param {*} [options] Override http request option.
|
|
36976
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
36977
|
+
* @throws {RequiredError}
|
|
36978
|
+
*/
|
|
36979
|
+
export async function EntitiesApiAxiosParamCreator_SearchEntitiesComputedAttributes(workspaceId, entitySearchBody, origin, xGDCVALIDATERELATIONS, options = {}, configuration) {
|
|
36980
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
36981
|
+
assertParamExists('searchEntitiesComputedAttributes', 'workspaceId', workspaceId);
|
|
36982
|
+
// verify required parameter 'entitySearchBody' is not null or undefined
|
|
36983
|
+
assertParamExists('searchEntitiesComputedAttributes', 'entitySearchBody', entitySearchBody);
|
|
36984
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/computedAttributes/search`
|
|
36985
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
36986
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36987
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36988
|
+
let baseOptions;
|
|
36989
|
+
if (configuration) {
|
|
36990
|
+
baseOptions = configuration.baseOptions;
|
|
36991
|
+
}
|
|
36992
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
36993
|
+
const localVarHeaderParameter = {};
|
|
36994
|
+
const localVarQueryParameter = {};
|
|
36995
|
+
if (origin !== undefined) {
|
|
36996
|
+
localVarQueryParameter['origin'] = origin;
|
|
36997
|
+
}
|
|
36998
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
36999
|
+
localVarHeaderParameter['X-GDC-VALIDATE-RELATIONS'] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
37000
|
+
}
|
|
37001
|
+
const consumes = [
|
|
37002
|
+
'application/json'
|
|
37003
|
+
];
|
|
37004
|
+
// use application/json if present, otherwise fallback to the first one
|
|
37005
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
37006
|
+
? 'application/json'
|
|
37007
|
+
: consumes[0];
|
|
37008
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37009
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
37010
|
+
localVarRequestOptions.headers = {
|
|
37011
|
+
...localVarHeaderParameter,
|
|
37012
|
+
...headersFromBaseOptions,
|
|
37013
|
+
...options.headers,
|
|
37014
|
+
};
|
|
37015
|
+
const needsSerialization = typeof entitySearchBody !== "string" ||
|
|
37016
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
37017
|
+
localVarRequestOptions.data = needsSerialization
|
|
37018
|
+
? JSON.stringify(entitySearchBody !== undefined ? entitySearchBody : {})
|
|
37019
|
+
: entitySearchBody || "";
|
|
37020
|
+
return {
|
|
37021
|
+
url: toPathString(localVarUrlObj),
|
|
37022
|
+
options: localVarRequestOptions,
|
|
37023
|
+
};
|
|
37024
|
+
}
|
|
37025
|
+
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
35497
37026
|
/**
|
|
35498
37027
|
*
|
|
35499
37028
|
* @summary The search endpoint (beta)
|
|
@@ -35737,12 +37266,186 @@ export async function EntitiesApiAxiosParamCreator_SearchEntitiesExportDefinitio
|
|
|
35737
37266
|
* @param {Configuration} [configuration] Optional configuration.
|
|
35738
37267
|
* @throws {RequiredError}
|
|
35739
37268
|
*/
|
|
35740
|
-
export async function EntitiesApiAxiosParamCreator_SearchEntitiesFacts(workspaceId, entitySearchBody, origin, xGDCVALIDATERELATIONS, options = {}, configuration) {
|
|
37269
|
+
export async function EntitiesApiAxiosParamCreator_SearchEntitiesFacts(workspaceId, entitySearchBody, origin, xGDCVALIDATERELATIONS, options = {}, configuration) {
|
|
37270
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
37271
|
+
assertParamExists('searchEntitiesFacts', 'workspaceId', workspaceId);
|
|
37272
|
+
// verify required parameter 'entitySearchBody' is not null or undefined
|
|
37273
|
+
assertParamExists('searchEntitiesFacts', 'entitySearchBody', entitySearchBody);
|
|
37274
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/facts/search`
|
|
37275
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
37276
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37277
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
37278
|
+
let baseOptions;
|
|
37279
|
+
if (configuration) {
|
|
37280
|
+
baseOptions = configuration.baseOptions;
|
|
37281
|
+
}
|
|
37282
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
37283
|
+
const localVarHeaderParameter = {};
|
|
37284
|
+
const localVarQueryParameter = {};
|
|
37285
|
+
if (origin !== undefined) {
|
|
37286
|
+
localVarQueryParameter['origin'] = origin;
|
|
37287
|
+
}
|
|
37288
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
37289
|
+
localVarHeaderParameter['X-GDC-VALIDATE-RELATIONS'] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
37290
|
+
}
|
|
37291
|
+
const consumes = [
|
|
37292
|
+
'application/json'
|
|
37293
|
+
];
|
|
37294
|
+
// use application/json if present, otherwise fallback to the first one
|
|
37295
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
37296
|
+
? 'application/json'
|
|
37297
|
+
: consumes[0];
|
|
37298
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37299
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
37300
|
+
localVarRequestOptions.headers = {
|
|
37301
|
+
...localVarHeaderParameter,
|
|
37302
|
+
...headersFromBaseOptions,
|
|
37303
|
+
...options.headers,
|
|
37304
|
+
};
|
|
37305
|
+
const needsSerialization = typeof entitySearchBody !== "string" ||
|
|
37306
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
37307
|
+
localVarRequestOptions.data = needsSerialization
|
|
37308
|
+
? JSON.stringify(entitySearchBody !== undefined ? entitySearchBody : {})
|
|
37309
|
+
: entitySearchBody || "";
|
|
37310
|
+
return {
|
|
37311
|
+
url: toPathString(localVarUrlObj),
|
|
37312
|
+
options: localVarRequestOptions,
|
|
37313
|
+
};
|
|
37314
|
+
}
|
|
37315
|
+
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
37316
|
+
/**
|
|
37317
|
+
*
|
|
37318
|
+
* @summary The search endpoint (beta)
|
|
37319
|
+
* @param {string} workspaceId
|
|
37320
|
+
* @param {EntitySearchBody} entitySearchBody Search request body with filter, pagination, and sorting options
|
|
37321
|
+
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
37322
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
37323
|
+
* @param {*} [options] Override http request option.
|
|
37324
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
37325
|
+
* @throws {RequiredError}
|
|
37326
|
+
*/
|
|
37327
|
+
export async function EntitiesApiAxiosParamCreator_SearchEntitiesFilterContexts(workspaceId, entitySearchBody, origin, xGDCVALIDATERELATIONS, options = {}, configuration) {
|
|
37328
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
37329
|
+
assertParamExists('searchEntitiesFilterContexts', 'workspaceId', workspaceId);
|
|
37330
|
+
// verify required parameter 'entitySearchBody' is not null or undefined
|
|
37331
|
+
assertParamExists('searchEntitiesFilterContexts', 'entitySearchBody', entitySearchBody);
|
|
37332
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterContexts/search`
|
|
37333
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
37334
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37335
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
37336
|
+
let baseOptions;
|
|
37337
|
+
if (configuration) {
|
|
37338
|
+
baseOptions = configuration.baseOptions;
|
|
37339
|
+
}
|
|
37340
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
37341
|
+
const localVarHeaderParameter = {};
|
|
37342
|
+
const localVarQueryParameter = {};
|
|
37343
|
+
if (origin !== undefined) {
|
|
37344
|
+
localVarQueryParameter['origin'] = origin;
|
|
37345
|
+
}
|
|
37346
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
37347
|
+
localVarHeaderParameter['X-GDC-VALIDATE-RELATIONS'] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
37348
|
+
}
|
|
37349
|
+
const consumes = [
|
|
37350
|
+
'application/json'
|
|
37351
|
+
];
|
|
37352
|
+
// use application/json if present, otherwise fallback to the first one
|
|
37353
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
37354
|
+
? 'application/json'
|
|
37355
|
+
: consumes[0];
|
|
37356
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37357
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
37358
|
+
localVarRequestOptions.headers = {
|
|
37359
|
+
...localVarHeaderParameter,
|
|
37360
|
+
...headersFromBaseOptions,
|
|
37361
|
+
...options.headers,
|
|
37362
|
+
};
|
|
37363
|
+
const needsSerialization = typeof entitySearchBody !== "string" ||
|
|
37364
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
37365
|
+
localVarRequestOptions.data = needsSerialization
|
|
37366
|
+
? JSON.stringify(entitySearchBody !== undefined ? entitySearchBody : {})
|
|
37367
|
+
: entitySearchBody || "";
|
|
37368
|
+
return {
|
|
37369
|
+
url: toPathString(localVarUrlObj),
|
|
37370
|
+
options: localVarRequestOptions,
|
|
37371
|
+
};
|
|
37372
|
+
}
|
|
37373
|
+
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
37374
|
+
/**
|
|
37375
|
+
*
|
|
37376
|
+
* @summary The search endpoint (beta)
|
|
37377
|
+
* @param {string} workspaceId
|
|
37378
|
+
* @param {EntitySearchBody} entitySearchBody Search request body with filter, pagination, and sorting options
|
|
37379
|
+
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
37380
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
37381
|
+
* @param {*} [options] Override http request option.
|
|
37382
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
37383
|
+
* @throws {RequiredError}
|
|
37384
|
+
*/
|
|
37385
|
+
export async function EntitiesApiAxiosParamCreator_SearchEntitiesFilterViews(workspaceId, entitySearchBody, origin, xGDCVALIDATERELATIONS, options = {}, configuration) {
|
|
37386
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
37387
|
+
assertParamExists('searchEntitiesFilterViews', 'workspaceId', workspaceId);
|
|
37388
|
+
// verify required parameter 'entitySearchBody' is not null or undefined
|
|
37389
|
+
assertParamExists('searchEntitiesFilterViews', 'entitySearchBody', entitySearchBody);
|
|
37390
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/search`
|
|
37391
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
37392
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37393
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
37394
|
+
let baseOptions;
|
|
37395
|
+
if (configuration) {
|
|
37396
|
+
baseOptions = configuration.baseOptions;
|
|
37397
|
+
}
|
|
37398
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
37399
|
+
const localVarHeaderParameter = {};
|
|
37400
|
+
const localVarQueryParameter = {};
|
|
37401
|
+
if (origin !== undefined) {
|
|
37402
|
+
localVarQueryParameter['origin'] = origin;
|
|
37403
|
+
}
|
|
37404
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
37405
|
+
localVarHeaderParameter['X-GDC-VALIDATE-RELATIONS'] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
37406
|
+
}
|
|
37407
|
+
const consumes = [
|
|
37408
|
+
'application/json'
|
|
37409
|
+
];
|
|
37410
|
+
// use application/json if present, otherwise fallback to the first one
|
|
37411
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
37412
|
+
? 'application/json'
|
|
37413
|
+
: consumes[0];
|
|
37414
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37415
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
37416
|
+
localVarRequestOptions.headers = {
|
|
37417
|
+
...localVarHeaderParameter,
|
|
37418
|
+
...headersFromBaseOptions,
|
|
37419
|
+
...options.headers,
|
|
37420
|
+
};
|
|
37421
|
+
const needsSerialization = typeof entitySearchBody !== "string" ||
|
|
37422
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
37423
|
+
localVarRequestOptions.data = needsSerialization
|
|
37424
|
+
? JSON.stringify(entitySearchBody !== undefined ? entitySearchBody : {})
|
|
37425
|
+
: entitySearchBody || "";
|
|
37426
|
+
return {
|
|
37427
|
+
url: toPathString(localVarUrlObj),
|
|
37428
|
+
options: localVarRequestOptions,
|
|
37429
|
+
};
|
|
37430
|
+
}
|
|
37431
|
+
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
37432
|
+
/**
|
|
37433
|
+
*
|
|
37434
|
+
* @summary The search endpoint (beta)
|
|
37435
|
+
* @param {string} workspaceId
|
|
37436
|
+
* @param {EntitySearchBody} entitySearchBody Search request body with filter, pagination, and sorting options
|
|
37437
|
+
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
37438
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
37439
|
+
* @param {*} [options] Override http request option.
|
|
37440
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
37441
|
+
* @throws {RequiredError}
|
|
37442
|
+
*/
|
|
37443
|
+
export async function EntitiesApiAxiosParamCreator_SearchEntitiesKnowledgeRecommendations(workspaceId, entitySearchBody, origin, xGDCVALIDATERELATIONS, options = {}, configuration) {
|
|
35741
37444
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
35742
|
-
assertParamExists('
|
|
37445
|
+
assertParamExists('searchEntitiesKnowledgeRecommendations', 'workspaceId', workspaceId);
|
|
35743
37446
|
// verify required parameter 'entitySearchBody' is not null or undefined
|
|
35744
|
-
assertParamExists('
|
|
35745
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
37447
|
+
assertParamExists('searchEntitiesKnowledgeRecommendations', 'entitySearchBody', entitySearchBody);
|
|
37448
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/search`
|
|
35746
37449
|
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
35747
37450
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35748
37451
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -35795,12 +37498,12 @@ export async function EntitiesApiAxiosParamCreator_SearchEntitiesFacts(workspace
|
|
|
35795
37498
|
* @param {Configuration} [configuration] Optional configuration.
|
|
35796
37499
|
* @throws {RequiredError}
|
|
35797
37500
|
*/
|
|
35798
|
-
export async function
|
|
37501
|
+
export async function EntitiesApiAxiosParamCreator_SearchEntitiesLabels(workspaceId, entitySearchBody, origin, xGDCVALIDATERELATIONS, options = {}, configuration) {
|
|
35799
37502
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
35800
|
-
assertParamExists('
|
|
37503
|
+
assertParamExists('searchEntitiesLabels', 'workspaceId', workspaceId);
|
|
35801
37504
|
// verify required parameter 'entitySearchBody' is not null or undefined
|
|
35802
|
-
assertParamExists('
|
|
35803
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
37505
|
+
assertParamExists('searchEntitiesLabels', 'entitySearchBody', entitySearchBody);
|
|
37506
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/labels/search`
|
|
35804
37507
|
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
35805
37508
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35806
37509
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -35853,12 +37556,12 @@ export async function EntitiesApiAxiosParamCreator_SearchEntitiesFilterContexts(
|
|
|
35853
37556
|
* @param {Configuration} [configuration] Optional configuration.
|
|
35854
37557
|
* @throws {RequiredError}
|
|
35855
37558
|
*/
|
|
35856
|
-
export async function
|
|
37559
|
+
export async function EntitiesApiAxiosParamCreator_SearchEntitiesMemoryItems(workspaceId, entitySearchBody, origin, xGDCVALIDATERELATIONS, options = {}, configuration) {
|
|
35857
37560
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
35858
|
-
assertParamExists('
|
|
37561
|
+
assertParamExists('searchEntitiesMemoryItems', 'workspaceId', workspaceId);
|
|
35859
37562
|
// verify required parameter 'entitySearchBody' is not null or undefined
|
|
35860
|
-
assertParamExists('
|
|
35861
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
37563
|
+
assertParamExists('searchEntitiesMemoryItems', 'entitySearchBody', entitySearchBody);
|
|
37564
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/memoryItems/search`
|
|
35862
37565
|
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
35863
37566
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35864
37567
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -35911,12 +37614,12 @@ export async function EntitiesApiAxiosParamCreator_SearchEntitiesFilterViews(wor
|
|
|
35911
37614
|
* @param {Configuration} [configuration] Optional configuration.
|
|
35912
37615
|
* @throws {RequiredError}
|
|
35913
37616
|
*/
|
|
35914
|
-
export async function
|
|
37617
|
+
export async function EntitiesApiAxiosParamCreator_SearchEntitiesMetrics(workspaceId, entitySearchBody, origin, xGDCVALIDATERELATIONS, options = {}, configuration) {
|
|
35915
37618
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
35916
|
-
assertParamExists('
|
|
37619
|
+
assertParamExists('searchEntitiesMetrics', 'workspaceId', workspaceId);
|
|
35917
37620
|
// verify required parameter 'entitySearchBody' is not null or undefined
|
|
35918
|
-
assertParamExists('
|
|
35919
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
37621
|
+
assertParamExists('searchEntitiesMetrics', 'entitySearchBody', entitySearchBody);
|
|
37622
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/metrics/search`
|
|
35920
37623
|
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
35921
37624
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35922
37625
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -35969,12 +37672,12 @@ export async function EntitiesApiAxiosParamCreator_SearchEntitiesKnowledgeRecomm
|
|
|
35969
37672
|
* @param {Configuration} [configuration] Optional configuration.
|
|
35970
37673
|
* @throws {RequiredError}
|
|
35971
37674
|
*/
|
|
35972
|
-
export async function
|
|
37675
|
+
export async function EntitiesApiAxiosParamCreator_SearchEntitiesParameters(workspaceId, entitySearchBody, origin, xGDCVALIDATERELATIONS, options = {}, configuration) {
|
|
35973
37676
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
35974
|
-
assertParamExists('
|
|
37677
|
+
assertParamExists('searchEntitiesParameters', 'workspaceId', workspaceId);
|
|
35975
37678
|
// verify required parameter 'entitySearchBody' is not null or undefined
|
|
35976
|
-
assertParamExists('
|
|
35977
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
37679
|
+
assertParamExists('searchEntitiesParameters', 'entitySearchBody', entitySearchBody);
|
|
37680
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/parameters/search`
|
|
35978
37681
|
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
35979
37682
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35980
37683
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -36027,12 +37730,12 @@ export async function EntitiesApiAxiosParamCreator_SearchEntitiesLabels(workspac
|
|
|
36027
37730
|
* @param {Configuration} [configuration] Optional configuration.
|
|
36028
37731
|
* @throws {RequiredError}
|
|
36029
37732
|
*/
|
|
36030
|
-
export async function
|
|
37733
|
+
export async function EntitiesApiAxiosParamCreator_SearchEntitiesUserDataFilters(workspaceId, entitySearchBody, origin, xGDCVALIDATERELATIONS, options = {}, configuration) {
|
|
36031
37734
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
36032
|
-
assertParamExists('
|
|
37735
|
+
assertParamExists('searchEntitiesUserDataFilters', 'workspaceId', workspaceId);
|
|
36033
37736
|
// verify required parameter 'entitySearchBody' is not null or undefined
|
|
36034
|
-
assertParamExists('
|
|
36035
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
37737
|
+
assertParamExists('searchEntitiesUserDataFilters', 'entitySearchBody', entitySearchBody);
|
|
37738
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/userDataFilters/search`
|
|
36036
37739
|
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
36037
37740
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36038
37741
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -36085,12 +37788,12 @@ export async function EntitiesApiAxiosParamCreator_SearchEntitiesMemoryItems(wor
|
|
|
36085
37788
|
* @param {Configuration} [configuration] Optional configuration.
|
|
36086
37789
|
* @throws {RequiredError}
|
|
36087
37790
|
*/
|
|
36088
|
-
export async function
|
|
37791
|
+
export async function EntitiesApiAxiosParamCreator_SearchEntitiesVisualizationObjects(workspaceId, entitySearchBody, origin, xGDCVALIDATERELATIONS, options = {}, configuration) {
|
|
36089
37792
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
36090
|
-
assertParamExists('
|
|
37793
|
+
assertParamExists('searchEntitiesVisualizationObjects', 'workspaceId', workspaceId);
|
|
36091
37794
|
// verify required parameter 'entitySearchBody' is not null or undefined
|
|
36092
|
-
assertParamExists('
|
|
36093
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
37795
|
+
assertParamExists('searchEntitiesVisualizationObjects', 'entitySearchBody', entitySearchBody);
|
|
37796
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/visualizationObjects/search`
|
|
36094
37797
|
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
36095
37798
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36096
37799
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -36143,12 +37846,12 @@ export async function EntitiesApiAxiosParamCreator_SearchEntitiesMetrics(workspa
|
|
|
36143
37846
|
* @param {Configuration} [configuration] Optional configuration.
|
|
36144
37847
|
* @throws {RequiredError}
|
|
36145
37848
|
*/
|
|
36146
|
-
export async function
|
|
37849
|
+
export async function EntitiesApiAxiosParamCreator_SearchEntitiesWorkspaceDataFilterSettings(workspaceId, entitySearchBody, origin, xGDCVALIDATERELATIONS, options = {}, configuration) {
|
|
36147
37850
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
36148
|
-
assertParamExists('
|
|
37851
|
+
assertParamExists('searchEntitiesWorkspaceDataFilterSettings', 'workspaceId', workspaceId);
|
|
36149
37852
|
// verify required parameter 'entitySearchBody' is not null or undefined
|
|
36150
|
-
assertParamExists('
|
|
36151
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
37853
|
+
assertParamExists('searchEntitiesWorkspaceDataFilterSettings', 'entitySearchBody', entitySearchBody);
|
|
37854
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/search`
|
|
36152
37855
|
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
36153
37856
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36154
37857
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -36201,12 +37904,12 @@ export async function EntitiesApiAxiosParamCreator_SearchEntitiesParameters(work
|
|
|
36201
37904
|
* @param {Configuration} [configuration] Optional configuration.
|
|
36202
37905
|
* @throws {RequiredError}
|
|
36203
37906
|
*/
|
|
36204
|
-
export async function
|
|
37907
|
+
export async function EntitiesApiAxiosParamCreator_SearchEntitiesWorkspaceDataFilters(workspaceId, entitySearchBody, origin, xGDCVALIDATERELATIONS, options = {}, configuration) {
|
|
36205
37908
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
36206
|
-
assertParamExists('
|
|
37909
|
+
assertParamExists('searchEntitiesWorkspaceDataFilters', 'workspaceId', workspaceId);
|
|
36207
37910
|
// verify required parameter 'entitySearchBody' is not null or undefined
|
|
36208
|
-
assertParamExists('
|
|
36209
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
37911
|
+
assertParamExists('searchEntitiesWorkspaceDataFilters', 'entitySearchBody', entitySearchBody);
|
|
37912
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/search`
|
|
36210
37913
|
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
36211
37914
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36212
37915
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -36259,12 +37962,12 @@ export async function EntitiesApiAxiosParamCreator_SearchEntitiesUserDataFilters
|
|
|
36259
37962
|
* @param {Configuration} [configuration] Optional configuration.
|
|
36260
37963
|
* @throws {RequiredError}
|
|
36261
37964
|
*/
|
|
36262
|
-
export async function
|
|
37965
|
+
export async function EntitiesApiAxiosParamCreator_SearchEntitiesWorkspaceSettings(workspaceId, entitySearchBody, origin, xGDCVALIDATERELATIONS, options = {}, configuration) {
|
|
36263
37966
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
36264
|
-
assertParamExists('
|
|
37967
|
+
assertParamExists('searchEntitiesWorkspaceSettings', 'workspaceId', workspaceId);
|
|
36265
37968
|
// verify required parameter 'entitySearchBody' is not null or undefined
|
|
36266
|
-
assertParamExists('
|
|
36267
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
37969
|
+
assertParamExists('searchEntitiesWorkspaceSettings', 'entitySearchBody', entitySearchBody);
|
|
37970
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/workspaceSettings/search`
|
|
36268
37971
|
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
36269
37972
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36270
37973
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -36307,45 +38010,27 @@ export async function EntitiesApiAxiosParamCreator_SearchEntitiesVisualizationOb
|
|
|
36307
38010
|
}
|
|
36308
38011
|
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
36309
38012
|
/**
|
|
36310
|
-
*
|
|
36311
|
-
* @summary
|
|
36312
|
-
* @param {string}
|
|
36313
|
-
* @param {EntitySearchBody} entitySearchBody Search request body with filter, pagination, and sorting options
|
|
36314
|
-
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
36315
|
-
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
38013
|
+
* Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone.
|
|
38014
|
+
* @summary PUT LLM endpoint entity (Removed)
|
|
38015
|
+
* @param {string} id
|
|
36316
38016
|
* @param {*} [options] Override http request option.
|
|
36317
38017
|
* @param {Configuration} [configuration] Optional configuration.
|
|
36318
38018
|
* @throws {RequiredError}
|
|
36319
38019
|
*/
|
|
36320
|
-
export async function
|
|
36321
|
-
// verify required parameter '
|
|
36322
|
-
assertParamExists('
|
|
36323
|
-
|
|
36324
|
-
|
|
36325
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/search`
|
|
36326
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
38020
|
+
export async function EntitiesApiAxiosParamCreator_UpdateEntity(id, options = {}, configuration) {
|
|
38021
|
+
// verify required parameter 'id' is not null or undefined
|
|
38022
|
+
assertParamExists('updateEntity', 'id', id);
|
|
38023
|
+
const localVarPath = `/api/v1/entities/llmEndpoints/{id}`
|
|
38024
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
36327
38025
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36328
38026
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36329
38027
|
let baseOptions;
|
|
36330
38028
|
if (configuration) {
|
|
36331
38029
|
baseOptions = configuration.baseOptions;
|
|
36332
38030
|
}
|
|
36333
|
-
const localVarRequestOptions = { method: '
|
|
38031
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
36334
38032
|
const localVarHeaderParameter = {};
|
|
36335
38033
|
const localVarQueryParameter = {};
|
|
36336
|
-
if (origin !== undefined) {
|
|
36337
|
-
localVarQueryParameter['origin'] = origin;
|
|
36338
|
-
}
|
|
36339
|
-
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
36340
|
-
localVarHeaderParameter['X-GDC-VALIDATE-RELATIONS'] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
36341
|
-
}
|
|
36342
|
-
const consumes = [
|
|
36343
|
-
'application/json'
|
|
36344
|
-
];
|
|
36345
|
-
// use application/json if present, otherwise fallback to the first one
|
|
36346
|
-
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
36347
|
-
? 'application/json'
|
|
36348
|
-
: consumes[0];
|
|
36349
38034
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36350
38035
|
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
36351
38036
|
localVarRequestOptions.headers = {
|
|
@@ -36353,11 +38038,6 @@ export async function EntitiesApiAxiosParamCreator_SearchEntitiesWorkspaceDataFi
|
|
|
36353
38038
|
...headersFromBaseOptions,
|
|
36354
38039
|
...options.headers,
|
|
36355
38040
|
};
|
|
36356
|
-
const needsSerialization = typeof entitySearchBody !== "string" ||
|
|
36357
|
-
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
36358
|
-
localVarRequestOptions.data = needsSerialization
|
|
36359
|
-
? JSON.stringify(entitySearchBody !== undefined ? entitySearchBody : {})
|
|
36360
|
-
: entitySearchBody || "";
|
|
36361
38041
|
return {
|
|
36362
38042
|
url: toPathString(localVarUrlObj),
|
|
36363
38043
|
options: localVarRequestOptions,
|
|
@@ -36366,38 +38046,39 @@ export async function EntitiesApiAxiosParamCreator_SearchEntitiesWorkspaceDataFi
|
|
|
36366
38046
|
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
36367
38047
|
/**
|
|
36368
38048
|
*
|
|
36369
|
-
* @summary
|
|
36370
|
-
* @param {string}
|
|
36371
|
-
* @param {
|
|
36372
|
-
* @param {
|
|
36373
|
-
* @param {
|
|
38049
|
+
* @summary Put Agent entity
|
|
38050
|
+
* @param {string} id
|
|
38051
|
+
* @param {JsonApiAgentInDocument} jsonApiAgentInDocument
|
|
38052
|
+
* @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\').
|
|
38053
|
+
* @param {Array<'userIdentifiers' | 'userGroups' | 'createdBy' | 'modifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
36374
38054
|
* @param {*} [options] Override http request option.
|
|
36375
38055
|
* @param {Configuration} [configuration] Optional configuration.
|
|
36376
38056
|
* @throws {RequiredError}
|
|
36377
38057
|
*/
|
|
36378
|
-
export async function
|
|
36379
|
-
// verify required parameter '
|
|
36380
|
-
assertParamExists('
|
|
36381
|
-
// verify required parameter '
|
|
36382
|
-
assertParamExists('
|
|
36383
|
-
const localVarPath = `/api/v1/entities/
|
|
36384
|
-
.replace(`{${"
|
|
38058
|
+
export async function EntitiesApiAxiosParamCreator_UpdateEntityAgents(id, jsonApiAgentInDocument, filter, include, options = {}, configuration) {
|
|
38059
|
+
// verify required parameter 'id' is not null or undefined
|
|
38060
|
+
assertParamExists('updateEntityAgents', 'id', id);
|
|
38061
|
+
// verify required parameter 'jsonApiAgentInDocument' is not null or undefined
|
|
38062
|
+
assertParamExists('updateEntityAgents', 'jsonApiAgentInDocument', jsonApiAgentInDocument);
|
|
38063
|
+
const localVarPath = `/api/v1/entities/agents/{id}`
|
|
38064
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
36385
38065
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36386
38066
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36387
38067
|
let baseOptions;
|
|
36388
38068
|
if (configuration) {
|
|
36389
38069
|
baseOptions = configuration.baseOptions;
|
|
36390
38070
|
}
|
|
36391
|
-
const localVarRequestOptions = { method: '
|
|
38071
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
36392
38072
|
const localVarHeaderParameter = {};
|
|
36393
38073
|
const localVarQueryParameter = {};
|
|
36394
|
-
if (
|
|
36395
|
-
localVarQueryParameter['
|
|
38074
|
+
if (filter !== undefined) {
|
|
38075
|
+
localVarQueryParameter['filter'] = filter;
|
|
36396
38076
|
}
|
|
36397
|
-
if (
|
|
36398
|
-
|
|
38077
|
+
if (include) {
|
|
38078
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
36399
38079
|
}
|
|
36400
38080
|
const consumes = [
|
|
38081
|
+
'application/vnd.gooddata.api+json',
|
|
36401
38082
|
'application/json'
|
|
36402
38083
|
];
|
|
36403
38084
|
// use application/json if present, otherwise fallback to the first one
|
|
@@ -36411,11 +38092,11 @@ export async function EntitiesApiAxiosParamCreator_SearchEntitiesWorkspaceDataFi
|
|
|
36411
38092
|
...headersFromBaseOptions,
|
|
36412
38093
|
...options.headers,
|
|
36413
38094
|
};
|
|
36414
|
-
const needsSerialization = typeof
|
|
38095
|
+
const needsSerialization = typeof jsonApiAgentInDocument !== "string" ||
|
|
36415
38096
|
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
36416
38097
|
localVarRequestOptions.data = needsSerialization
|
|
36417
|
-
? JSON.stringify(
|
|
36418
|
-
:
|
|
38098
|
+
? JSON.stringify(jsonApiAgentInDocument !== undefined ? jsonApiAgentInDocument : {})
|
|
38099
|
+
: jsonApiAgentInDocument || "";
|
|
36419
38100
|
return {
|
|
36420
38101
|
url: toPathString(localVarUrlObj),
|
|
36421
38102
|
options: localVarRequestOptions,
|
|
@@ -36424,38 +38105,43 @@ export async function EntitiesApiAxiosParamCreator_SearchEntitiesWorkspaceDataFi
|
|
|
36424
38105
|
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
36425
38106
|
/**
|
|
36426
38107
|
*
|
|
36427
|
-
* @summary
|
|
38108
|
+
* @summary Put Dashboards
|
|
36428
38109
|
* @param {string} workspaceId
|
|
36429
|
-
* @param {
|
|
36430
|
-
* @param {
|
|
36431
|
-
* @param {
|
|
38110
|
+
* @param {string} objectId
|
|
38111
|
+
* @param {JsonApiAnalyticalDashboardInDocument} jsonApiAnalyticalDashboardInDocument
|
|
38112
|
+
* @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\').
|
|
38113
|
+
* @param {Array<'userIdentifiers' | 'visualizationObjects' | 'analyticalDashboards' | 'labels' | 'metrics' | 'parameters' | 'datasets' | 'filterContexts' | 'dashboardPlugins' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
36432
38114
|
* @param {*} [options] Override http request option.
|
|
36433
38115
|
* @param {Configuration} [configuration] Optional configuration.
|
|
36434
38116
|
* @throws {RequiredError}
|
|
36435
38117
|
*/
|
|
36436
|
-
export async function
|
|
38118
|
+
export async function EntitiesApiAxiosParamCreator_UpdateEntityAnalyticalDashboards(workspaceId, objectId, jsonApiAnalyticalDashboardInDocument, filter, include, options = {}, configuration) {
|
|
36437
38119
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
36438
|
-
assertParamExists('
|
|
36439
|
-
// verify required parameter '
|
|
36440
|
-
assertParamExists('
|
|
36441
|
-
|
|
36442
|
-
|
|
38120
|
+
assertParamExists('updateEntityAnalyticalDashboards', 'workspaceId', workspaceId);
|
|
38121
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
38122
|
+
assertParamExists('updateEntityAnalyticalDashboards', 'objectId', objectId);
|
|
38123
|
+
// verify required parameter 'jsonApiAnalyticalDashboardInDocument' is not null or undefined
|
|
38124
|
+
assertParamExists('updateEntityAnalyticalDashboards', 'jsonApiAnalyticalDashboardInDocument', jsonApiAnalyticalDashboardInDocument);
|
|
38125
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId}`
|
|
38126
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
38127
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
36443
38128
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36444
38129
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36445
38130
|
let baseOptions;
|
|
36446
38131
|
if (configuration) {
|
|
36447
38132
|
baseOptions = configuration.baseOptions;
|
|
36448
38133
|
}
|
|
36449
|
-
const localVarRequestOptions = { method: '
|
|
38134
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
36450
38135
|
const localVarHeaderParameter = {};
|
|
36451
38136
|
const localVarQueryParameter = {};
|
|
36452
|
-
if (
|
|
36453
|
-
localVarQueryParameter['
|
|
38137
|
+
if (filter !== undefined) {
|
|
38138
|
+
localVarQueryParameter['filter'] = filter;
|
|
36454
38139
|
}
|
|
36455
|
-
if (
|
|
36456
|
-
|
|
38140
|
+
if (include) {
|
|
38141
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
36457
38142
|
}
|
|
36458
38143
|
const consumes = [
|
|
38144
|
+
'application/vnd.gooddata.api+json',
|
|
36459
38145
|
'application/json'
|
|
36460
38146
|
];
|
|
36461
38147
|
// use application/json if present, otherwise fallback to the first one
|
|
@@ -36469,46 +38155,11 @@ export async function EntitiesApiAxiosParamCreator_SearchEntitiesWorkspaceSettin
|
|
|
36469
38155
|
...headersFromBaseOptions,
|
|
36470
38156
|
...options.headers,
|
|
36471
38157
|
};
|
|
36472
|
-
const needsSerialization = typeof
|
|
38158
|
+
const needsSerialization = typeof jsonApiAnalyticalDashboardInDocument !== "string" ||
|
|
36473
38159
|
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
36474
38160
|
localVarRequestOptions.data = needsSerialization
|
|
36475
|
-
? JSON.stringify(
|
|
36476
|
-
:
|
|
36477
|
-
return {
|
|
36478
|
-
url: toPathString(localVarUrlObj),
|
|
36479
|
-
options: localVarRequestOptions,
|
|
36480
|
-
};
|
|
36481
|
-
}
|
|
36482
|
-
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
36483
|
-
/**
|
|
36484
|
-
* Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone.
|
|
36485
|
-
* @summary PUT LLM endpoint entity (Removed)
|
|
36486
|
-
* @param {string} id
|
|
36487
|
-
* @param {*} [options] Override http request option.
|
|
36488
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
36489
|
-
* @throws {RequiredError}
|
|
36490
|
-
*/
|
|
36491
|
-
export async function EntitiesApiAxiosParamCreator_UpdateEntity(id, options = {}, configuration) {
|
|
36492
|
-
// verify required parameter 'id' is not null or undefined
|
|
36493
|
-
assertParamExists('updateEntity', 'id', id);
|
|
36494
|
-
const localVarPath = `/api/v1/entities/llmEndpoints/{id}`
|
|
36495
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
36496
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36497
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36498
|
-
let baseOptions;
|
|
36499
|
-
if (configuration) {
|
|
36500
|
-
baseOptions = configuration.baseOptions;
|
|
36501
|
-
}
|
|
36502
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
36503
|
-
const localVarHeaderParameter = {};
|
|
36504
|
-
const localVarQueryParameter = {};
|
|
36505
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36506
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
36507
|
-
localVarRequestOptions.headers = {
|
|
36508
|
-
...localVarHeaderParameter,
|
|
36509
|
-
...headersFromBaseOptions,
|
|
36510
|
-
...options.headers,
|
|
36511
|
-
};
|
|
38161
|
+
? JSON.stringify(jsonApiAnalyticalDashboardInDocument !== undefined ? jsonApiAnalyticalDashboardInDocument : {})
|
|
38162
|
+
: jsonApiAnalyticalDashboardInDocument || "";
|
|
36512
38163
|
return {
|
|
36513
38164
|
url: toPathString(localVarUrlObj),
|
|
36514
38165
|
options: localVarRequestOptions,
|
|
@@ -36517,22 +38168,26 @@ export async function EntitiesApiAxiosParamCreator_UpdateEntity(id, options = {}
|
|
|
36517
38168
|
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
36518
38169
|
/**
|
|
36519
38170
|
*
|
|
36520
|
-
* @summary Put
|
|
36521
|
-
* @param {string}
|
|
36522
|
-
* @param {
|
|
38171
|
+
* @summary Put an Attribute Hierarchy
|
|
38172
|
+
* @param {string} workspaceId
|
|
38173
|
+
* @param {string} objectId
|
|
38174
|
+
* @param {JsonApiAttributeHierarchyInDocument} jsonApiAttributeHierarchyInDocument
|
|
36523
38175
|
* @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\').
|
|
36524
|
-
* @param {Array<'userIdentifiers' | '
|
|
38176
|
+
* @param {Array<'userIdentifiers' | 'attributes' | 'createdBy' | 'modifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
36525
38177
|
* @param {*} [options] Override http request option.
|
|
36526
38178
|
* @param {Configuration} [configuration] Optional configuration.
|
|
36527
38179
|
* @throws {RequiredError}
|
|
36528
38180
|
*/
|
|
36529
|
-
export async function
|
|
36530
|
-
// verify required parameter '
|
|
36531
|
-
assertParamExists('
|
|
36532
|
-
// verify required parameter '
|
|
36533
|
-
assertParamExists('
|
|
36534
|
-
|
|
36535
|
-
|
|
38181
|
+
export async function EntitiesApiAxiosParamCreator_UpdateEntityAttributeHierarchies(workspaceId, objectId, jsonApiAttributeHierarchyInDocument, filter, include, options = {}, configuration) {
|
|
38182
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
38183
|
+
assertParamExists('updateEntityAttributeHierarchies', 'workspaceId', workspaceId);
|
|
38184
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
38185
|
+
assertParamExists('updateEntityAttributeHierarchies', 'objectId', objectId);
|
|
38186
|
+
// verify required parameter 'jsonApiAttributeHierarchyInDocument' is not null or undefined
|
|
38187
|
+
assertParamExists('updateEntityAttributeHierarchies', 'jsonApiAttributeHierarchyInDocument', jsonApiAttributeHierarchyInDocument);
|
|
38188
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId}`
|
|
38189
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
38190
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
36536
38191
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36537
38192
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36538
38193
|
let baseOptions;
|
|
@@ -36563,11 +38218,11 @@ export async function EntitiesApiAxiosParamCreator_UpdateEntityAgents(id, jsonAp
|
|
|
36563
38218
|
...headersFromBaseOptions,
|
|
36564
38219
|
...options.headers,
|
|
36565
38220
|
};
|
|
36566
|
-
const needsSerialization = typeof
|
|
38221
|
+
const needsSerialization = typeof jsonApiAttributeHierarchyInDocument !== "string" ||
|
|
36567
38222
|
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
36568
38223
|
localVarRequestOptions.data = needsSerialization
|
|
36569
|
-
? JSON.stringify(
|
|
36570
|
-
:
|
|
38224
|
+
? JSON.stringify(jsonApiAttributeHierarchyInDocument !== undefined ? jsonApiAttributeHierarchyInDocument : {})
|
|
38225
|
+
: jsonApiAttributeHierarchyInDocument || "";
|
|
36571
38226
|
return {
|
|
36572
38227
|
url: toPathString(localVarUrlObj),
|
|
36573
38228
|
options: localVarRequestOptions,
|
|
@@ -36576,24 +38231,24 @@ export async function EntitiesApiAxiosParamCreator_UpdateEntityAgents(id, jsonAp
|
|
|
36576
38231
|
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
36577
38232
|
/**
|
|
36578
38233
|
*
|
|
36579
|
-
* @summary Put
|
|
38234
|
+
* @summary Put an Automation
|
|
36580
38235
|
* @param {string} workspaceId
|
|
36581
38236
|
* @param {string} objectId
|
|
36582
|
-
* @param {
|
|
38237
|
+
* @param {JsonApiAutomationInDocument} jsonApiAutomationInDocument
|
|
36583
38238
|
* @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\').
|
|
36584
|
-
* @param {Array<'
|
|
38239
|
+
* @param {Array<'notificationChannels' | 'analyticalDashboards' | 'userIdentifiers' | 'exportDefinitions' | 'users' | 'automationResults' | 'notificationChannel' | 'analyticalDashboard' | 'createdBy' | 'modifiedBy' | 'recipients' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
36585
38240
|
* @param {*} [options] Override http request option.
|
|
36586
38241
|
* @param {Configuration} [configuration] Optional configuration.
|
|
36587
38242
|
* @throws {RequiredError}
|
|
36588
38243
|
*/
|
|
36589
|
-
export async function
|
|
38244
|
+
export async function EntitiesApiAxiosParamCreator_UpdateEntityAutomations(workspaceId, objectId, jsonApiAutomationInDocument, filter, include, options = {}, configuration) {
|
|
36590
38245
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
36591
|
-
assertParamExists('
|
|
38246
|
+
assertParamExists('updateEntityAutomations', 'workspaceId', workspaceId);
|
|
36592
38247
|
// verify required parameter 'objectId' is not null or undefined
|
|
36593
|
-
assertParamExists('
|
|
36594
|
-
// verify required parameter '
|
|
36595
|
-
assertParamExists('
|
|
36596
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
38248
|
+
assertParamExists('updateEntityAutomations', 'objectId', objectId);
|
|
38249
|
+
// verify required parameter 'jsonApiAutomationInDocument' is not null or undefined
|
|
38250
|
+
assertParamExists('updateEntityAutomations', 'jsonApiAutomationInDocument', jsonApiAutomationInDocument);
|
|
38251
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/automations/{objectId}`
|
|
36597
38252
|
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
36598
38253
|
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
36599
38254
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -36626,11 +38281,11 @@ export async function EntitiesApiAxiosParamCreator_UpdateEntityAnalyticalDashboa
|
|
|
36626
38281
|
...headersFromBaseOptions,
|
|
36627
38282
|
...options.headers,
|
|
36628
38283
|
};
|
|
36629
|
-
const needsSerialization = typeof
|
|
38284
|
+
const needsSerialization = typeof jsonApiAutomationInDocument !== "string" ||
|
|
36630
38285
|
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
36631
38286
|
localVarRequestOptions.data = needsSerialization
|
|
36632
|
-
? JSON.stringify(
|
|
36633
|
-
:
|
|
38287
|
+
? JSON.stringify(jsonApiAutomationInDocument !== undefined ? jsonApiAutomationInDocument : {})
|
|
38288
|
+
: jsonApiAutomationInDocument || "";
|
|
36634
38289
|
return {
|
|
36635
38290
|
url: toPathString(localVarUrlObj),
|
|
36636
38291
|
options: localVarRequestOptions,
|
|
@@ -36639,26 +38294,21 @@ export async function EntitiesApiAxiosParamCreator_UpdateEntityAnalyticalDashboa
|
|
|
36639
38294
|
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
36640
38295
|
/**
|
|
36641
38296
|
*
|
|
36642
|
-
* @summary Put
|
|
36643
|
-
* @param {string}
|
|
36644
|
-
* @param {
|
|
36645
|
-
* @param {JsonApiAttributeHierarchyInDocument} jsonApiAttributeHierarchyInDocument
|
|
38297
|
+
* @summary Put Color Pallette
|
|
38298
|
+
* @param {string} id
|
|
38299
|
+
* @param {JsonApiColorPaletteInDocument} jsonApiColorPaletteInDocument
|
|
36646
38300
|
* @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\').
|
|
36647
|
-
* @param {Array<'userIdentifiers' | 'attributes' | 'createdBy' | 'modifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
36648
38301
|
* @param {*} [options] Override http request option.
|
|
36649
38302
|
* @param {Configuration} [configuration] Optional configuration.
|
|
36650
38303
|
* @throws {RequiredError}
|
|
36651
38304
|
*/
|
|
36652
|
-
export async function
|
|
36653
|
-
// verify required parameter '
|
|
36654
|
-
assertParamExists('
|
|
36655
|
-
// verify required parameter '
|
|
36656
|
-
assertParamExists('
|
|
36657
|
-
|
|
36658
|
-
|
|
36659
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId}`
|
|
36660
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
36661
|
-
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
38305
|
+
export async function EntitiesApiAxiosParamCreator_UpdateEntityColorPalettes(id, jsonApiColorPaletteInDocument, filter, options = {}, configuration) {
|
|
38306
|
+
// verify required parameter 'id' is not null or undefined
|
|
38307
|
+
assertParamExists('updateEntityColorPalettes', 'id', id);
|
|
38308
|
+
// verify required parameter 'jsonApiColorPaletteInDocument' is not null or undefined
|
|
38309
|
+
assertParamExists('updateEntityColorPalettes', 'jsonApiColorPaletteInDocument', jsonApiColorPaletteInDocument);
|
|
38310
|
+
const localVarPath = `/api/v1/entities/colorPalettes/{id}`
|
|
38311
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
36662
38312
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36663
38313
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36664
38314
|
let baseOptions;
|
|
@@ -36671,9 +38321,6 @@ export async function EntitiesApiAxiosParamCreator_UpdateEntityAttributeHierarch
|
|
|
36671
38321
|
if (filter !== undefined) {
|
|
36672
38322
|
localVarQueryParameter['filter'] = filter;
|
|
36673
38323
|
}
|
|
36674
|
-
if (include) {
|
|
36675
|
-
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
36676
|
-
}
|
|
36677
38324
|
const consumes = [
|
|
36678
38325
|
'application/vnd.gooddata.api+json',
|
|
36679
38326
|
'application/json'
|
|
@@ -36689,11 +38336,11 @@ export async function EntitiesApiAxiosParamCreator_UpdateEntityAttributeHierarch
|
|
|
36689
38336
|
...headersFromBaseOptions,
|
|
36690
38337
|
...options.headers,
|
|
36691
38338
|
};
|
|
36692
|
-
const needsSerialization = typeof
|
|
38339
|
+
const needsSerialization = typeof jsonApiColorPaletteInDocument !== "string" ||
|
|
36693
38340
|
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
36694
38341
|
localVarRequestOptions.data = needsSerialization
|
|
36695
|
-
? JSON.stringify(
|
|
36696
|
-
:
|
|
38342
|
+
? JSON.stringify(jsonApiColorPaletteInDocument !== undefined ? jsonApiColorPaletteInDocument : {})
|
|
38343
|
+
: jsonApiColorPaletteInDocument || "";
|
|
36697
38344
|
return {
|
|
36698
38345
|
url: toPathString(localVarUrlObj),
|
|
36699
38346
|
options: localVarRequestOptions,
|
|
@@ -36702,24 +38349,24 @@ export async function EntitiesApiAxiosParamCreator_UpdateEntityAttributeHierarch
|
|
|
36702
38349
|
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
36703
38350
|
/**
|
|
36704
38351
|
*
|
|
36705
|
-
* @summary Put
|
|
38352
|
+
* @summary Put a Computed Attribute
|
|
36706
38353
|
* @param {string} workspaceId
|
|
36707
38354
|
* @param {string} objectId
|
|
36708
|
-
* @param {
|
|
38355
|
+
* @param {JsonApiComputedAttributeInDocument} jsonApiComputedAttributeInDocument
|
|
36709
38356
|
* @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\').
|
|
36710
|
-
* @param {Array<'
|
|
38357
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
36711
38358
|
* @param {*} [options] Override http request option.
|
|
36712
38359
|
* @param {Configuration} [configuration] Optional configuration.
|
|
36713
38360
|
* @throws {RequiredError}
|
|
36714
38361
|
*/
|
|
36715
|
-
export async function
|
|
38362
|
+
export async function EntitiesApiAxiosParamCreator_UpdateEntityComputedAttributes(workspaceId, objectId, jsonApiComputedAttributeInDocument, filter, include, options = {}, configuration) {
|
|
36716
38363
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
36717
|
-
assertParamExists('
|
|
38364
|
+
assertParamExists('updateEntityComputedAttributes', 'workspaceId', workspaceId);
|
|
36718
38365
|
// verify required parameter 'objectId' is not null or undefined
|
|
36719
|
-
assertParamExists('
|
|
36720
|
-
// verify required parameter '
|
|
36721
|
-
assertParamExists('
|
|
36722
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
38366
|
+
assertParamExists('updateEntityComputedAttributes', 'objectId', objectId);
|
|
38367
|
+
// verify required parameter 'jsonApiComputedAttributeInDocument' is not null or undefined
|
|
38368
|
+
assertParamExists('updateEntityComputedAttributes', 'jsonApiComputedAttributeInDocument', jsonApiComputedAttributeInDocument);
|
|
38369
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/computedAttributes/{objectId}`
|
|
36723
38370
|
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
36724
38371
|
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
36725
38372
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -36752,66 +38399,11 @@ export async function EntitiesApiAxiosParamCreator_UpdateEntityAutomations(works
|
|
|
36752
38399
|
...headersFromBaseOptions,
|
|
36753
38400
|
...options.headers,
|
|
36754
38401
|
};
|
|
36755
|
-
const needsSerialization = typeof
|
|
38402
|
+
const needsSerialization = typeof jsonApiComputedAttributeInDocument !== "string" ||
|
|
36756
38403
|
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
36757
38404
|
localVarRequestOptions.data = needsSerialization
|
|
36758
|
-
? JSON.stringify(
|
|
36759
|
-
:
|
|
36760
|
-
return {
|
|
36761
|
-
url: toPathString(localVarUrlObj),
|
|
36762
|
-
options: localVarRequestOptions,
|
|
36763
|
-
};
|
|
36764
|
-
}
|
|
36765
|
-
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
36766
|
-
/**
|
|
36767
|
-
*
|
|
36768
|
-
* @summary Put Color Pallette
|
|
36769
|
-
* @param {string} id
|
|
36770
|
-
* @param {JsonApiColorPaletteInDocument} jsonApiColorPaletteInDocument
|
|
36771
|
-
* @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\').
|
|
36772
|
-
* @param {*} [options] Override http request option.
|
|
36773
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
36774
|
-
* @throws {RequiredError}
|
|
36775
|
-
*/
|
|
36776
|
-
export async function EntitiesApiAxiosParamCreator_UpdateEntityColorPalettes(id, jsonApiColorPaletteInDocument, filter, options = {}, configuration) {
|
|
36777
|
-
// verify required parameter 'id' is not null or undefined
|
|
36778
|
-
assertParamExists('updateEntityColorPalettes', 'id', id);
|
|
36779
|
-
// verify required parameter 'jsonApiColorPaletteInDocument' is not null or undefined
|
|
36780
|
-
assertParamExists('updateEntityColorPalettes', 'jsonApiColorPaletteInDocument', jsonApiColorPaletteInDocument);
|
|
36781
|
-
const localVarPath = `/api/v1/entities/colorPalettes/{id}`
|
|
36782
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
36783
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36784
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36785
|
-
let baseOptions;
|
|
36786
|
-
if (configuration) {
|
|
36787
|
-
baseOptions = configuration.baseOptions;
|
|
36788
|
-
}
|
|
36789
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
36790
|
-
const localVarHeaderParameter = {};
|
|
36791
|
-
const localVarQueryParameter = {};
|
|
36792
|
-
if (filter !== undefined) {
|
|
36793
|
-
localVarQueryParameter['filter'] = filter;
|
|
36794
|
-
}
|
|
36795
|
-
const consumes = [
|
|
36796
|
-
'application/vnd.gooddata.api+json',
|
|
36797
|
-
'application/json'
|
|
36798
|
-
];
|
|
36799
|
-
// use application/json if present, otherwise fallback to the first one
|
|
36800
|
-
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
36801
|
-
? 'application/json'
|
|
36802
|
-
: consumes[0];
|
|
36803
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36804
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
36805
|
-
localVarRequestOptions.headers = {
|
|
36806
|
-
...localVarHeaderParameter,
|
|
36807
|
-
...headersFromBaseOptions,
|
|
36808
|
-
...options.headers,
|
|
36809
|
-
};
|
|
36810
|
-
const needsSerialization = typeof jsonApiColorPaletteInDocument !== "string" ||
|
|
36811
|
-
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
36812
|
-
localVarRequestOptions.data = needsSerialization
|
|
36813
|
-
? JSON.stringify(jsonApiColorPaletteInDocument !== undefined ? jsonApiColorPaletteInDocument : {})
|
|
36814
|
-
: jsonApiColorPaletteInDocument || "";
|
|
38405
|
+
? JSON.stringify(jsonApiComputedAttributeInDocument !== undefined ? jsonApiComputedAttributeInDocument : {})
|
|
38406
|
+
: jsonApiComputedAttributeInDocument || "";
|
|
36815
38407
|
return {
|
|
36816
38408
|
url: toPathString(localVarUrlObj),
|
|
36817
38409
|
options: localVarRequestOptions,
|
|
@@ -37820,7 +39412,7 @@ export async function EntitiesApiAxiosParamCreator_UpdateEntityMemoryItems(works
|
|
|
37820
39412
|
* @param {string} objectId
|
|
37821
39413
|
* @param {JsonApiMetricInDocument} jsonApiMetricInDocument
|
|
37822
39414
|
* @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\').
|
|
37823
|
-
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
39415
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
37824
39416
|
* @param {*} [options] Override http request option.
|
|
37825
39417
|
* @param {Configuration} [configuration] Optional configuration.
|
|
37826
39418
|
* @throws {RequiredError}
|
|
@@ -38229,7 +39821,7 @@ export async function EntitiesApiAxiosParamCreator_UpdateEntityThemes(id, jsonAp
|
|
|
38229
39821
|
* @param {string} objectId
|
|
38230
39822
|
* @param {JsonApiUserDataFilterInDocument} jsonApiUserDataFilterInDocument
|
|
38231
39823
|
* @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\').
|
|
38232
|
-
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
39824
|
+
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
38233
39825
|
* @param {*} [options] Override http request option.
|
|
38234
39826
|
* @param {Configuration} [configuration] Optional configuration.
|
|
38235
39827
|
* @throws {RequiredError}
|
|
@@ -39050,6 +40642,21 @@ export async function EntitiesApi_CreateEntityColorPalettes(axios, basePath, req
|
|
|
39050
40642
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
39051
40643
|
}
|
|
39052
40644
|
// EntitiesApi Api FP
|
|
40645
|
+
/**
|
|
40646
|
+
*
|
|
40647
|
+
* @summary Post Computed Attributes
|
|
40648
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
40649
|
+
* @param {string} basePath Base path.
|
|
40650
|
+
* @param {EntitiesApiCreateEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
40651
|
+
* @param {*} [options] Override http request option.
|
|
40652
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
40653
|
+
* @throws {RequiredError}
|
|
40654
|
+
*/
|
|
40655
|
+
export async function EntitiesApi_CreateEntityComputedAttributes(axios, basePath, requestParameters, options, configuration) {
|
|
40656
|
+
const localVarAxiosArgs = await EntitiesApiAxiosParamCreator_CreateEntityComputedAttributes(requestParameters.workspaceId, requestParameters.jsonApiComputedAttributePostOptionalIdDocument, requestParameters.include, requestParameters.metaInclude, options || {}, configuration);
|
|
40657
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
40658
|
+
}
|
|
40659
|
+
// EntitiesApi Api FP
|
|
39053
40660
|
/**
|
|
39054
40661
|
* Context Security Police Directive
|
|
39055
40662
|
* @summary Post CSP Directives
|
|
@@ -39665,6 +41272,21 @@ export async function EntitiesApi_DeleteEntityColorPalettes(axios, basePath, req
|
|
|
39665
41272
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
39666
41273
|
}
|
|
39667
41274
|
// EntitiesApi Api FP
|
|
41275
|
+
/**
|
|
41276
|
+
*
|
|
41277
|
+
* @summary Delete a Computed Attribute
|
|
41278
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
41279
|
+
* @param {string} basePath Base path.
|
|
41280
|
+
* @param {EntitiesApiDeleteEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
41281
|
+
* @param {*} [options] Override http request option.
|
|
41282
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
41283
|
+
* @throws {RequiredError}
|
|
41284
|
+
*/
|
|
41285
|
+
export async function EntitiesApi_DeleteEntityComputedAttributes(axios, basePath, requestParameters, options, configuration) {
|
|
41286
|
+
const localVarAxiosArgs = await EntitiesApiAxiosParamCreator_DeleteEntityComputedAttributes(requestParameters.workspaceId, requestParameters.objectId, options || {}, configuration);
|
|
41287
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
41288
|
+
}
|
|
41289
|
+
// EntitiesApi Api FP
|
|
39668
41290
|
/**
|
|
39669
41291
|
* Context Security Police Directive
|
|
39670
41292
|
* @summary Delete CSP Directives
|
|
@@ -40324,6 +41946,21 @@ export async function EntitiesApi_GetAllEntitiesColorPalettes(axios, basePath, r
|
|
|
40324
41946
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
40325
41947
|
}
|
|
40326
41948
|
// EntitiesApi Api FP
|
|
41949
|
+
/**
|
|
41950
|
+
*
|
|
41951
|
+
* @summary Get all Computed Attributes
|
|
41952
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
41953
|
+
* @param {string} basePath Base path.
|
|
41954
|
+
* @param {EntitiesApiGetAllEntitiesComputedAttributesRequest} requestParameters Request parameters.
|
|
41955
|
+
* @param {*} [options] Override http request option.
|
|
41956
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
41957
|
+
* @throws {RequiredError}
|
|
41958
|
+
*/
|
|
41959
|
+
export async function EntitiesApi_GetAllEntitiesComputedAttributes(axios, basePath, requestParameters, options, configuration) {
|
|
41960
|
+
const localVarAxiosArgs = await EntitiesApiAxiosParamCreator_GetAllEntitiesComputedAttributes(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options || {}, configuration);
|
|
41961
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
41962
|
+
}
|
|
41963
|
+
// EntitiesApi Api FP
|
|
40327
41964
|
/**
|
|
40328
41965
|
* Context Security Police Directive
|
|
40329
41966
|
* @summary Get CSP Directives
|
|
@@ -41117,6 +42754,21 @@ export async function EntitiesApi_GetEntityColorPalettes(axios, basePath, reques
|
|
|
41117
42754
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
41118
42755
|
}
|
|
41119
42756
|
// EntitiesApi Api FP
|
|
42757
|
+
/**
|
|
42758
|
+
*
|
|
42759
|
+
* @summary Get a Computed Attribute
|
|
42760
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
42761
|
+
* @param {string} basePath Base path.
|
|
42762
|
+
* @param {EntitiesApiGetEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
42763
|
+
* @param {*} [options] Override http request option.
|
|
42764
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
42765
|
+
* @throws {RequiredError}
|
|
42766
|
+
*/
|
|
42767
|
+
export async function EntitiesApi_GetEntityComputedAttributes(axios, basePath, requestParameters, options, configuration) {
|
|
42768
|
+
const localVarAxiosArgs = await EntitiesApiAxiosParamCreator_GetEntityComputedAttributes(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options || {}, configuration);
|
|
42769
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
42770
|
+
}
|
|
42771
|
+
// EntitiesApi Api FP
|
|
41120
42772
|
/**
|
|
41121
42773
|
*
|
|
41122
42774
|
* @summary Get CookieSecurityConfiguration
|
|
@@ -41897,6 +43549,21 @@ export async function EntitiesApi_PatchEntityColorPalettes(axios, basePath, requ
|
|
|
41897
43549
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
41898
43550
|
}
|
|
41899
43551
|
// EntitiesApi Api FP
|
|
43552
|
+
/**
|
|
43553
|
+
*
|
|
43554
|
+
* @summary Patch a Computed Attribute
|
|
43555
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
43556
|
+
* @param {string} basePath Base path.
|
|
43557
|
+
* @param {EntitiesApiPatchEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
43558
|
+
* @param {*} [options] Override http request option.
|
|
43559
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
43560
|
+
* @throws {RequiredError}
|
|
43561
|
+
*/
|
|
43562
|
+
export async function EntitiesApi_PatchEntityComputedAttributes(axios, basePath, requestParameters, options, configuration) {
|
|
43563
|
+
const localVarAxiosArgs = await EntitiesApiAxiosParamCreator_PatchEntityComputedAttributes(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiComputedAttributePatchDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
|
|
43564
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
43565
|
+
}
|
|
43566
|
+
// EntitiesApi Api FP
|
|
41900
43567
|
/**
|
|
41901
43568
|
*
|
|
41902
43569
|
* @summary Patch CookieSecurityConfiguration
|
|
@@ -42527,6 +44194,21 @@ export async function EntitiesApi_SearchEntitiesAutomations(axios, basePath, req
|
|
|
42527
44194
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
42528
44195
|
}
|
|
42529
44196
|
// EntitiesApi Api FP
|
|
44197
|
+
/**
|
|
44198
|
+
*
|
|
44199
|
+
* @summary The search endpoint (beta)
|
|
44200
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
44201
|
+
* @param {string} basePath Base path.
|
|
44202
|
+
* @param {EntitiesApiSearchEntitiesComputedAttributesRequest} requestParameters Request parameters.
|
|
44203
|
+
* @param {*} [options] Override http request option.
|
|
44204
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
44205
|
+
* @throws {RequiredError}
|
|
44206
|
+
*/
|
|
44207
|
+
export async function EntitiesApi_SearchEntitiesComputedAttributes(axios, basePath, requestParameters, options, configuration) {
|
|
44208
|
+
const localVarAxiosArgs = await EntitiesApiAxiosParamCreator_SearchEntitiesComputedAttributes(requestParameters.workspaceId, requestParameters.entitySearchBody, requestParameters.origin, requestParameters.xGDCVALIDATERELATIONS, options || {}, configuration);
|
|
44209
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
44210
|
+
}
|
|
44211
|
+
// EntitiesApi Api FP
|
|
42530
44212
|
/**
|
|
42531
44213
|
*
|
|
42532
44214
|
* @summary The search endpoint (beta)
|
|
@@ -42872,6 +44554,21 @@ export async function EntitiesApi_UpdateEntityColorPalettes(axios, basePath, req
|
|
|
42872
44554
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
42873
44555
|
}
|
|
42874
44556
|
// EntitiesApi Api FP
|
|
44557
|
+
/**
|
|
44558
|
+
*
|
|
44559
|
+
* @summary Put a Computed Attribute
|
|
44560
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
44561
|
+
* @param {string} basePath Base path.
|
|
44562
|
+
* @param {EntitiesApiUpdateEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
44563
|
+
* @param {*} [options] Override http request option.
|
|
44564
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
44565
|
+
* @throws {RequiredError}
|
|
44566
|
+
*/
|
|
44567
|
+
export async function EntitiesApi_UpdateEntityComputedAttributes(axios, basePath, requestParameters, options, configuration) {
|
|
44568
|
+
const localVarAxiosArgs = await EntitiesApiAxiosParamCreator_UpdateEntityComputedAttributes(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiComputedAttributeInDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
|
|
44569
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
44570
|
+
}
|
|
44571
|
+
// EntitiesApi Api FP
|
|
42875
44572
|
/**
|
|
42876
44573
|
*
|
|
42877
44574
|
* @summary Put CookieSecurityConfiguration
|
|
@@ -43495,6 +45192,17 @@ export class EntitiesApi extends BaseAPI {
|
|
|
43495
45192
|
createEntityColorPalettes(requestParameters, options) {
|
|
43496
45193
|
return EntitiesApi_CreateEntityColorPalettes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
43497
45194
|
}
|
|
45195
|
+
/**
|
|
45196
|
+
*
|
|
45197
|
+
* @summary Post Computed Attributes
|
|
45198
|
+
* @param {EntitiesApiCreateEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
45199
|
+
* @param {*} [options] Override http request option.
|
|
45200
|
+
* @throws {RequiredError}
|
|
45201
|
+
* @memberof EntitiesApi
|
|
45202
|
+
*/
|
|
45203
|
+
createEntityComputedAttributes(requestParameters, options) {
|
|
45204
|
+
return EntitiesApi_CreateEntityComputedAttributes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
45205
|
+
}
|
|
43498
45206
|
/**
|
|
43499
45207
|
* Context Security Police Directive
|
|
43500
45208
|
* @summary Post CSP Directives
|
|
@@ -43947,6 +45655,17 @@ export class EntitiesApi extends BaseAPI {
|
|
|
43947
45655
|
deleteEntityColorPalettes(requestParameters, options) {
|
|
43948
45656
|
return EntitiesApi_DeleteEntityColorPalettes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
43949
45657
|
}
|
|
45658
|
+
/**
|
|
45659
|
+
*
|
|
45660
|
+
* @summary Delete a Computed Attribute
|
|
45661
|
+
* @param {EntitiesApiDeleteEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
45662
|
+
* @param {*} [options] Override http request option.
|
|
45663
|
+
* @throws {RequiredError}
|
|
45664
|
+
* @memberof EntitiesApi
|
|
45665
|
+
*/
|
|
45666
|
+
deleteEntityComputedAttributes(requestParameters, options) {
|
|
45667
|
+
return EntitiesApi_DeleteEntityComputedAttributes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
45668
|
+
}
|
|
43950
45669
|
/**
|
|
43951
45670
|
* Context Security Police Directive
|
|
43952
45671
|
* @summary Delete CSP Directives
|
|
@@ -44431,6 +46150,17 @@ export class EntitiesApi extends BaseAPI {
|
|
|
44431
46150
|
getAllEntitiesColorPalettes(requestParameters = {}, options) {
|
|
44432
46151
|
return EntitiesApi_GetAllEntitiesColorPalettes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
44433
46152
|
}
|
|
46153
|
+
/**
|
|
46154
|
+
*
|
|
46155
|
+
* @summary Get all Computed Attributes
|
|
46156
|
+
* @param {EntitiesApiGetAllEntitiesComputedAttributesRequest} requestParameters Request parameters.
|
|
46157
|
+
* @param {*} [options] Override http request option.
|
|
46158
|
+
* @throws {RequiredError}
|
|
46159
|
+
* @memberof EntitiesApi
|
|
46160
|
+
*/
|
|
46161
|
+
getAllEntitiesComputedAttributes(requestParameters, options) {
|
|
46162
|
+
return EntitiesApi_GetAllEntitiesComputedAttributes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
46163
|
+
}
|
|
44434
46164
|
/**
|
|
44435
46165
|
* Context Security Police Directive
|
|
44436
46166
|
* @summary Get CSP Directives
|
|
@@ -45013,6 +46743,17 @@ export class EntitiesApi extends BaseAPI {
|
|
|
45013
46743
|
getEntityColorPalettes(requestParameters, options) {
|
|
45014
46744
|
return EntitiesApi_GetEntityColorPalettes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
45015
46745
|
}
|
|
46746
|
+
/**
|
|
46747
|
+
*
|
|
46748
|
+
* @summary Get a Computed Attribute
|
|
46749
|
+
* @param {EntitiesApiGetEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
46750
|
+
* @param {*} [options] Override http request option.
|
|
46751
|
+
* @throws {RequiredError}
|
|
46752
|
+
* @memberof EntitiesApi
|
|
46753
|
+
*/
|
|
46754
|
+
getEntityComputedAttributes(requestParameters, options) {
|
|
46755
|
+
return EntitiesApi_GetEntityComputedAttributes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
46756
|
+
}
|
|
45016
46757
|
/**
|
|
45017
46758
|
*
|
|
45018
46759
|
* @summary Get CookieSecurityConfiguration
|
|
@@ -45586,6 +47327,17 @@ export class EntitiesApi extends BaseAPI {
|
|
|
45586
47327
|
patchEntityColorPalettes(requestParameters, options) {
|
|
45587
47328
|
return EntitiesApi_PatchEntityColorPalettes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
45588
47329
|
}
|
|
47330
|
+
/**
|
|
47331
|
+
*
|
|
47332
|
+
* @summary Patch a Computed Attribute
|
|
47333
|
+
* @param {EntitiesApiPatchEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
47334
|
+
* @param {*} [options] Override http request option.
|
|
47335
|
+
* @throws {RequiredError}
|
|
47336
|
+
* @memberof EntitiesApi
|
|
47337
|
+
*/
|
|
47338
|
+
patchEntityComputedAttributes(requestParameters, options) {
|
|
47339
|
+
return EntitiesApi_PatchEntityComputedAttributes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
47340
|
+
}
|
|
45589
47341
|
/**
|
|
45590
47342
|
*
|
|
45591
47343
|
* @summary Patch CookieSecurityConfiguration
|
|
@@ -46048,6 +47800,17 @@ export class EntitiesApi extends BaseAPI {
|
|
|
46048
47800
|
searchEntitiesAutomations(requestParameters, options) {
|
|
46049
47801
|
return EntitiesApi_SearchEntitiesAutomations(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
46050
47802
|
}
|
|
47803
|
+
/**
|
|
47804
|
+
*
|
|
47805
|
+
* @summary The search endpoint (beta)
|
|
47806
|
+
* @param {EntitiesApiSearchEntitiesComputedAttributesRequest} requestParameters Request parameters.
|
|
47807
|
+
* @param {*} [options] Override http request option.
|
|
47808
|
+
* @throws {RequiredError}
|
|
47809
|
+
* @memberof EntitiesApi
|
|
47810
|
+
*/
|
|
47811
|
+
searchEntitiesComputedAttributes(requestParameters, options) {
|
|
47812
|
+
return EntitiesApi_SearchEntitiesComputedAttributes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
47813
|
+
}
|
|
46051
47814
|
/**
|
|
46052
47815
|
*
|
|
46053
47816
|
* @summary The search endpoint (beta)
|
|
@@ -46302,6 +48065,17 @@ export class EntitiesApi extends BaseAPI {
|
|
|
46302
48065
|
updateEntityColorPalettes(requestParameters, options) {
|
|
46303
48066
|
return EntitiesApi_UpdateEntityColorPalettes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
46304
48067
|
}
|
|
48068
|
+
/**
|
|
48069
|
+
*
|
|
48070
|
+
* @summary Put a Computed Attribute
|
|
48071
|
+
* @param {EntitiesApiUpdateEntityComputedAttributesRequest} requestParameters Request parameters.
|
|
48072
|
+
* @param {*} [options] Override http request option.
|
|
48073
|
+
* @throws {RequiredError}
|
|
48074
|
+
* @memberof EntitiesApi
|
|
48075
|
+
*/
|
|
48076
|
+
updateEntityComputedAttributes(requestParameters, options) {
|
|
48077
|
+
return EntitiesApi_UpdateEntityComputedAttributes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
48078
|
+
}
|
|
46305
48079
|
/**
|
|
46306
48080
|
*
|
|
46307
48081
|
* @summary Put CookieSecurityConfiguration
|
|
@@ -63652,7 +65426,7 @@ export class MetadataSynchronizationApi extends BaseAPI {
|
|
|
63652
65426
|
* @summary Post Metrics
|
|
63653
65427
|
* @param {string} workspaceId
|
|
63654
65428
|
* @param {JsonApiMetricPostOptionalIdDocument} jsonApiMetricPostOptionalIdDocument
|
|
63655
|
-
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
65429
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
63656
65430
|
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
63657
65431
|
* @param {*} [options] Override http request option.
|
|
63658
65432
|
* @param {Configuration} [configuration] Optional configuration.
|
|
@@ -63751,7 +65525,7 @@ export async function MetricControllerApiAxiosParamCreator_DeleteEntityMetrics(w
|
|
|
63751
65525
|
* @param {string} workspaceId
|
|
63752
65526
|
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
63753
65527
|
* @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\').
|
|
63754
|
-
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
65528
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
63755
65529
|
* @param {number} [page] Zero-based page index (0..N)
|
|
63756
65530
|
* @param {number} [size] The size of the page to be returned
|
|
63757
65531
|
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
@@ -63818,7 +65592,7 @@ export async function MetricControllerApiAxiosParamCreator_GetAllEntitiesMetrics
|
|
|
63818
65592
|
* @param {string} workspaceId
|
|
63819
65593
|
* @param {string} objectId
|
|
63820
65594
|
* @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\').
|
|
63821
|
-
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
65595
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
63822
65596
|
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
63823
65597
|
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
63824
65598
|
* @param {*} [options] Override http request option.
|
|
@@ -63874,7 +65648,7 @@ export async function MetricControllerApiAxiosParamCreator_GetEntityMetrics(work
|
|
|
63874
65648
|
* @param {string} objectId
|
|
63875
65649
|
* @param {JsonApiMetricPatchDocument} jsonApiMetricPatchDocument
|
|
63876
65650
|
* @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\').
|
|
63877
|
-
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
65651
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
63878
65652
|
* @param {*} [options] Override http request option.
|
|
63879
65653
|
* @param {Configuration} [configuration] Optional configuration.
|
|
63880
65654
|
* @throws {RequiredError}
|
|
@@ -63995,7 +65769,7 @@ export async function MetricControllerApiAxiosParamCreator_SearchEntitiesMetrics
|
|
|
63995
65769
|
* @param {string} objectId
|
|
63996
65770
|
* @param {JsonApiMetricInDocument} jsonApiMetricInDocument
|
|
63997
65771
|
* @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\').
|
|
63998
|
-
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
65772
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
63999
65773
|
* @param {*} [options] Override http request option.
|
|
64000
65774
|
* @param {Configuration} [configuration] Optional configuration.
|
|
64001
65775
|
* @throws {RequiredError}
|
|
@@ -64246,7 +66020,7 @@ export class MetricControllerApi extends BaseAPI {
|
|
|
64246
66020
|
* @summary Post Metrics
|
|
64247
66021
|
* @param {string} workspaceId
|
|
64248
66022
|
* @param {JsonApiMetricPostOptionalIdDocument} jsonApiMetricPostOptionalIdDocument
|
|
64249
|
-
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
66023
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
64250
66024
|
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
64251
66025
|
* @param {*} [options] Override http request option.
|
|
64252
66026
|
* @param {Configuration} [configuration] Optional configuration.
|
|
@@ -64345,7 +66119,7 @@ export async function MetricsApiAxiosParamCreator_DeleteEntityMetrics(workspaceI
|
|
|
64345
66119
|
* @param {string} workspaceId
|
|
64346
66120
|
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
64347
66121
|
* @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\').
|
|
64348
|
-
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
66122
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
64349
66123
|
* @param {number} [page] Zero-based page index (0..N)
|
|
64350
66124
|
* @param {number} [size] The size of the page to be returned
|
|
64351
66125
|
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
@@ -64412,7 +66186,7 @@ export async function MetricsApiAxiosParamCreator_GetAllEntitiesMetrics(workspac
|
|
|
64412
66186
|
* @param {string} workspaceId
|
|
64413
66187
|
* @param {string} objectId
|
|
64414
66188
|
* @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\').
|
|
64415
|
-
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
66189
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
64416
66190
|
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
64417
66191
|
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
64418
66192
|
* @param {*} [options] Override http request option.
|
|
@@ -64468,7 +66242,7 @@ export async function MetricsApiAxiosParamCreator_GetEntityMetrics(workspaceId,
|
|
|
64468
66242
|
* @param {string} objectId
|
|
64469
66243
|
* @param {JsonApiMetricPatchDocument} jsonApiMetricPatchDocument
|
|
64470
66244
|
* @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\').
|
|
64471
|
-
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
66245
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
64472
66246
|
* @param {*} [options] Override http request option.
|
|
64473
66247
|
* @param {Configuration} [configuration] Optional configuration.
|
|
64474
66248
|
* @throws {RequiredError}
|
|
@@ -64589,7 +66363,7 @@ export async function MetricsApiAxiosParamCreator_SearchEntitiesMetrics(workspac
|
|
|
64589
66363
|
* @param {string} objectId
|
|
64590
66364
|
* @param {JsonApiMetricInDocument} jsonApiMetricInDocument
|
|
64591
66365
|
* @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\').
|
|
64592
|
-
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
66366
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
64593
66367
|
* @param {*} [options] Override http request option.
|
|
64594
66368
|
* @param {Configuration} [configuration] Optional configuration.
|
|
64595
66369
|
* @throws {RequiredError}
|
|
@@ -74198,7 +75972,7 @@ export class UserControllerApi extends BaseAPI {
|
|
|
74198
75972
|
* @summary Post User Data Filters
|
|
74199
75973
|
* @param {string} workspaceId
|
|
74200
75974
|
* @param {JsonApiUserDataFilterPostOptionalIdDocument} jsonApiUserDataFilterPostOptionalIdDocument
|
|
74201
|
-
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
75975
|
+
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
74202
75976
|
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
74203
75977
|
* @param {*} [options] Override http request option.
|
|
74204
75978
|
* @param {Configuration} [configuration] Optional configuration.
|
|
@@ -74297,7 +76071,7 @@ export async function UserDataFilterControllerApiAxiosParamCreator_DeleteEntityU
|
|
|
74297
76071
|
* @param {string} workspaceId
|
|
74298
76072
|
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
74299
76073
|
* @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\').
|
|
74300
|
-
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
76074
|
+
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
74301
76075
|
* @param {number} [page] Zero-based page index (0..N)
|
|
74302
76076
|
* @param {number} [size] The size of the page to be returned
|
|
74303
76077
|
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
@@ -74364,7 +76138,7 @@ export async function UserDataFilterControllerApiAxiosParamCreator_GetAllEntitie
|
|
|
74364
76138
|
* @param {string} workspaceId
|
|
74365
76139
|
* @param {string} objectId
|
|
74366
76140
|
* @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\').
|
|
74367
|
-
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
76141
|
+
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
74368
76142
|
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
74369
76143
|
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
74370
76144
|
* @param {*} [options] Override http request option.
|
|
@@ -74420,7 +76194,7 @@ export async function UserDataFilterControllerApiAxiosParamCreator_GetEntityUser
|
|
|
74420
76194
|
* @param {string} objectId
|
|
74421
76195
|
* @param {JsonApiUserDataFilterPatchDocument} jsonApiUserDataFilterPatchDocument
|
|
74422
76196
|
* @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\').
|
|
74423
|
-
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
76197
|
+
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
74424
76198
|
* @param {*} [options] Override http request option.
|
|
74425
76199
|
* @param {Configuration} [configuration] Optional configuration.
|
|
74426
76200
|
* @throws {RequiredError}
|
|
@@ -74541,7 +76315,7 @@ export async function UserDataFilterControllerApiAxiosParamCreator_SearchEntitie
|
|
|
74541
76315
|
* @param {string} objectId
|
|
74542
76316
|
* @param {JsonApiUserDataFilterInDocument} jsonApiUserDataFilterInDocument
|
|
74543
76317
|
* @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\').
|
|
74544
|
-
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
76318
|
+
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=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 \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
74545
76319
|
* @param {*} [options] Override http request option.
|
|
74546
76320
|
* @param {Configuration} [configuration] Optional configuration.
|
|
74547
76321
|
* @throws {RequiredError}
|