@gooddata/api-client-tiger 11.42.0-alpha.3 → 11.42.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 +409 -0
- package/esm/endpoints/entitiesObjects/index.d.ts +1 -1
- package/esm/endpoints/entitiesObjects/index.d.ts.map +1 -1
- package/esm/endpoints/entitiesObjects/index.js +2 -0
- package/esm/generated/afm-rest-api/api.d.ts +4 -0
- package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
- package/esm/generated/ai-json-api/api.d.ts +197 -0
- package/esm/generated/ai-json-api/api.d.ts.map +1 -1
- package/esm/generated/automation-json-api/api.d.ts +4 -0
- package/esm/generated/automation-json-api/api.d.ts.map +1 -1
- package/esm/generated/export-json-api/api.d.ts +4 -0
- package/esm/generated/export-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.d.ts +697 -0
- package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.js +876 -0
- package/esm/index.d.ts +1 -1
- package/esm/index.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -79413,3 +79413,879 @@ export class WorkspacesSettingsApi extends BaseAPI {
|
|
|
79413
79413
|
return WorkspacesSettingsApi_WorkspaceResolveSettings(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
79414
79414
|
}
|
|
79415
79415
|
}
|
|
79416
|
+
export async function AIApiAxiosParamCreator_CreateEntityOrgMemoryItems(jsonApiOrgMemoryItemInDocument, include, options = {}, configuration) {
|
|
79417
|
+
// verify required parameter 'jsonApiOrgMemoryItemInDocument' is not null or undefined
|
|
79418
|
+
assertParamExists('createEntityOrgMemoryItems', 'jsonApiOrgMemoryItemInDocument', jsonApiOrgMemoryItemInDocument);
|
|
79419
|
+
const localVarPath = `/api/v1/entities/orgMemoryItems`;
|
|
79420
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
79421
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
79422
|
+
let baseOptions;
|
|
79423
|
+
if (configuration) {
|
|
79424
|
+
baseOptions = configuration.baseOptions;
|
|
79425
|
+
}
|
|
79426
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
79427
|
+
const localVarHeaderParameter = {};
|
|
79428
|
+
const localVarQueryParameter = {};
|
|
79429
|
+
if (include) {
|
|
79430
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
79431
|
+
}
|
|
79432
|
+
const consumes = [
|
|
79433
|
+
'application/vnd.gooddata.api+json',
|
|
79434
|
+
'application/json'
|
|
79435
|
+
];
|
|
79436
|
+
// use application/json if present, otherwise fallback to the first one
|
|
79437
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
79438
|
+
? 'application/json'
|
|
79439
|
+
: consumes[0];
|
|
79440
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
79441
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
79442
|
+
localVarRequestOptions.headers = {
|
|
79443
|
+
...localVarHeaderParameter,
|
|
79444
|
+
...headersFromBaseOptions,
|
|
79445
|
+
...options.headers,
|
|
79446
|
+
};
|
|
79447
|
+
const needsSerialization = typeof jsonApiOrgMemoryItemInDocument !== "string" ||
|
|
79448
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
79449
|
+
localVarRequestOptions.data = needsSerialization
|
|
79450
|
+
? JSON.stringify(jsonApiOrgMemoryItemInDocument !== undefined ? jsonApiOrgMemoryItemInDocument : {})
|
|
79451
|
+
: jsonApiOrgMemoryItemInDocument || "";
|
|
79452
|
+
return {
|
|
79453
|
+
url: toPathString(localVarUrlObj),
|
|
79454
|
+
options: localVarRequestOptions,
|
|
79455
|
+
};
|
|
79456
|
+
}
|
|
79457
|
+
// AIApi FP - AIApiAxiosParamCreator
|
|
79458
|
+
export async function AIApiAxiosParamCreator_DeleteEntityOrgMemoryItems(id, options = {}, configuration) {
|
|
79459
|
+
// verify required parameter 'id' is not null or undefined
|
|
79460
|
+
assertParamExists('deleteEntityOrgMemoryItems', 'id', id);
|
|
79461
|
+
const localVarPath = `/api/v1/entities/orgMemoryItems/{id}`
|
|
79462
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
79463
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
79464
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
79465
|
+
let baseOptions;
|
|
79466
|
+
if (configuration) {
|
|
79467
|
+
baseOptions = configuration.baseOptions;
|
|
79468
|
+
}
|
|
79469
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
79470
|
+
const localVarHeaderParameter = {};
|
|
79471
|
+
const localVarQueryParameter = {};
|
|
79472
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
79473
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
79474
|
+
localVarRequestOptions.headers = {
|
|
79475
|
+
...localVarHeaderParameter,
|
|
79476
|
+
...headersFromBaseOptions,
|
|
79477
|
+
...options.headers,
|
|
79478
|
+
};
|
|
79479
|
+
return {
|
|
79480
|
+
url: toPathString(localVarUrlObj),
|
|
79481
|
+
options: localVarRequestOptions,
|
|
79482
|
+
};
|
|
79483
|
+
}
|
|
79484
|
+
// AIApi FP - AIApiAxiosParamCreator
|
|
79485
|
+
export async function AIApiAxiosParamCreator_GetAllEntitiesOrgMemoryItems(filter, include, page, size, sort, metaInclude, options = {}, configuration) {
|
|
79486
|
+
const localVarPath = `/api/v1/entities/orgMemoryItems`;
|
|
79487
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
79488
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
79489
|
+
let baseOptions;
|
|
79490
|
+
if (configuration) {
|
|
79491
|
+
baseOptions = configuration.baseOptions;
|
|
79492
|
+
}
|
|
79493
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
79494
|
+
const localVarHeaderParameter = {};
|
|
79495
|
+
const localVarQueryParameter = {};
|
|
79496
|
+
if (filter !== undefined) {
|
|
79497
|
+
localVarQueryParameter['filter'] = filter;
|
|
79498
|
+
}
|
|
79499
|
+
if (include) {
|
|
79500
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
79501
|
+
}
|
|
79502
|
+
if (page !== undefined) {
|
|
79503
|
+
localVarQueryParameter['page'] = page;
|
|
79504
|
+
}
|
|
79505
|
+
if (size !== undefined) {
|
|
79506
|
+
localVarQueryParameter['size'] = size;
|
|
79507
|
+
}
|
|
79508
|
+
if (sort) {
|
|
79509
|
+
localVarQueryParameter['sort'] = sort;
|
|
79510
|
+
}
|
|
79511
|
+
if (metaInclude) {
|
|
79512
|
+
localVarQueryParameter['metaInclude'] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
79513
|
+
}
|
|
79514
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
79515
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
79516
|
+
localVarRequestOptions.headers = {
|
|
79517
|
+
...localVarHeaderParameter,
|
|
79518
|
+
...headersFromBaseOptions,
|
|
79519
|
+
...options.headers,
|
|
79520
|
+
};
|
|
79521
|
+
return {
|
|
79522
|
+
url: toPathString(localVarUrlObj),
|
|
79523
|
+
options: localVarRequestOptions,
|
|
79524
|
+
};
|
|
79525
|
+
}
|
|
79526
|
+
// AIApi FP - AIApiAxiosParamCreator
|
|
79527
|
+
export async function AIApiAxiosParamCreator_GetEntityOrgMemoryItems(id, filter, include, options = {}, configuration) {
|
|
79528
|
+
// verify required parameter 'id' is not null or undefined
|
|
79529
|
+
assertParamExists('getEntityOrgMemoryItems', 'id', id);
|
|
79530
|
+
const localVarPath = `/api/v1/entities/orgMemoryItems/{id}`
|
|
79531
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
79532
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
79533
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
79534
|
+
let baseOptions;
|
|
79535
|
+
if (configuration) {
|
|
79536
|
+
baseOptions = configuration.baseOptions;
|
|
79537
|
+
}
|
|
79538
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
79539
|
+
const localVarHeaderParameter = {};
|
|
79540
|
+
const localVarQueryParameter = {};
|
|
79541
|
+
if (filter !== undefined) {
|
|
79542
|
+
localVarQueryParameter['filter'] = filter;
|
|
79543
|
+
}
|
|
79544
|
+
if (include) {
|
|
79545
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
79546
|
+
}
|
|
79547
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
79548
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
79549
|
+
localVarRequestOptions.headers = {
|
|
79550
|
+
...localVarHeaderParameter,
|
|
79551
|
+
...headersFromBaseOptions,
|
|
79552
|
+
...options.headers,
|
|
79553
|
+
};
|
|
79554
|
+
return {
|
|
79555
|
+
url: toPathString(localVarUrlObj),
|
|
79556
|
+
options: localVarRequestOptions,
|
|
79557
|
+
};
|
|
79558
|
+
}
|
|
79559
|
+
// AIApi FP - AIApiAxiosParamCreator
|
|
79560
|
+
export async function AIApiAxiosParamCreator_PatchEntityOrgMemoryItems(id, jsonApiOrgMemoryItemPatchDocument, filter, include, options = {}, configuration) {
|
|
79561
|
+
// verify required parameter 'id' is not null or undefined
|
|
79562
|
+
assertParamExists('patchEntityOrgMemoryItems', 'id', id);
|
|
79563
|
+
// verify required parameter 'jsonApiOrgMemoryItemPatchDocument' is not null or undefined
|
|
79564
|
+
assertParamExists('patchEntityOrgMemoryItems', 'jsonApiOrgMemoryItemPatchDocument', jsonApiOrgMemoryItemPatchDocument);
|
|
79565
|
+
const localVarPath = `/api/v1/entities/orgMemoryItems/{id}`
|
|
79566
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
79567
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
79568
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
79569
|
+
let baseOptions;
|
|
79570
|
+
if (configuration) {
|
|
79571
|
+
baseOptions = configuration.baseOptions;
|
|
79572
|
+
}
|
|
79573
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
79574
|
+
const localVarHeaderParameter = {};
|
|
79575
|
+
const localVarQueryParameter = {};
|
|
79576
|
+
if (filter !== undefined) {
|
|
79577
|
+
localVarQueryParameter['filter'] = filter;
|
|
79578
|
+
}
|
|
79579
|
+
if (include) {
|
|
79580
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
79581
|
+
}
|
|
79582
|
+
const consumes = [
|
|
79583
|
+
'application/vnd.gooddata.api+json',
|
|
79584
|
+
'application/json'
|
|
79585
|
+
];
|
|
79586
|
+
// use application/json if present, otherwise fallback to the first one
|
|
79587
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
79588
|
+
? 'application/json'
|
|
79589
|
+
: consumes[0];
|
|
79590
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
79591
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
79592
|
+
localVarRequestOptions.headers = {
|
|
79593
|
+
...localVarHeaderParameter,
|
|
79594
|
+
...headersFromBaseOptions,
|
|
79595
|
+
...options.headers,
|
|
79596
|
+
};
|
|
79597
|
+
const needsSerialization = typeof jsonApiOrgMemoryItemPatchDocument !== "string" ||
|
|
79598
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
79599
|
+
localVarRequestOptions.data = needsSerialization
|
|
79600
|
+
? JSON.stringify(jsonApiOrgMemoryItemPatchDocument !== undefined ? jsonApiOrgMemoryItemPatchDocument : {})
|
|
79601
|
+
: jsonApiOrgMemoryItemPatchDocument || "";
|
|
79602
|
+
return {
|
|
79603
|
+
url: toPathString(localVarUrlObj),
|
|
79604
|
+
options: localVarRequestOptions,
|
|
79605
|
+
};
|
|
79606
|
+
}
|
|
79607
|
+
// AIApi FP - AIApiAxiosParamCreator
|
|
79608
|
+
export async function AIApiAxiosParamCreator_UpdateEntityOrgMemoryItems(id, jsonApiOrgMemoryItemInDocument, filter, include, options = {}, configuration) {
|
|
79609
|
+
// verify required parameter 'id' is not null or undefined
|
|
79610
|
+
assertParamExists('updateEntityOrgMemoryItems', 'id', id);
|
|
79611
|
+
// verify required parameter 'jsonApiOrgMemoryItemInDocument' is not null or undefined
|
|
79612
|
+
assertParamExists('updateEntityOrgMemoryItems', 'jsonApiOrgMemoryItemInDocument', jsonApiOrgMemoryItemInDocument);
|
|
79613
|
+
const localVarPath = `/api/v1/entities/orgMemoryItems/{id}`
|
|
79614
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
79615
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
79616
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
79617
|
+
let baseOptions;
|
|
79618
|
+
if (configuration) {
|
|
79619
|
+
baseOptions = configuration.baseOptions;
|
|
79620
|
+
}
|
|
79621
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
79622
|
+
const localVarHeaderParameter = {};
|
|
79623
|
+
const localVarQueryParameter = {};
|
|
79624
|
+
if (filter !== undefined) {
|
|
79625
|
+
localVarQueryParameter['filter'] = filter;
|
|
79626
|
+
}
|
|
79627
|
+
if (include) {
|
|
79628
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
79629
|
+
}
|
|
79630
|
+
const consumes = [
|
|
79631
|
+
'application/vnd.gooddata.api+json',
|
|
79632
|
+
'application/json'
|
|
79633
|
+
];
|
|
79634
|
+
// use application/json if present, otherwise fallback to the first one
|
|
79635
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
79636
|
+
? 'application/json'
|
|
79637
|
+
: consumes[0];
|
|
79638
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
79639
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
79640
|
+
localVarRequestOptions.headers = {
|
|
79641
|
+
...localVarHeaderParameter,
|
|
79642
|
+
...headersFromBaseOptions,
|
|
79643
|
+
...options.headers,
|
|
79644
|
+
};
|
|
79645
|
+
const needsSerialization = typeof jsonApiOrgMemoryItemInDocument !== "string" ||
|
|
79646
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
79647
|
+
localVarRequestOptions.data = needsSerialization
|
|
79648
|
+
? JSON.stringify(jsonApiOrgMemoryItemInDocument !== undefined ? jsonApiOrgMemoryItemInDocument : {})
|
|
79649
|
+
: jsonApiOrgMemoryItemInDocument || "";
|
|
79650
|
+
return {
|
|
79651
|
+
url: toPathString(localVarUrlObj),
|
|
79652
|
+
options: localVarRequestOptions,
|
|
79653
|
+
};
|
|
79654
|
+
}
|
|
79655
|
+
// AIApi Api FP
|
|
79656
|
+
export async function AIApi_CreateEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
|
|
79657
|
+
const localVarAxiosArgs = await AIApiAxiosParamCreator_CreateEntityOrgMemoryItems(requestParameters.jsonApiOrgMemoryItemInDocument, requestParameters.include, options || {}, configuration);
|
|
79658
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
79659
|
+
}
|
|
79660
|
+
// AIApi Api FP
|
|
79661
|
+
export async function AIApi_DeleteEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
|
|
79662
|
+
const localVarAxiosArgs = await AIApiAxiosParamCreator_DeleteEntityOrgMemoryItems(requestParameters.id, options || {}, configuration);
|
|
79663
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
79664
|
+
}
|
|
79665
|
+
// AIApi Api FP
|
|
79666
|
+
export async function AIApi_GetAllEntitiesOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
|
|
79667
|
+
const localVarAxiosArgs = await AIApiAxiosParamCreator_GetAllEntitiesOrgMemoryItems(requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.metaInclude, options || {}, configuration);
|
|
79668
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
79669
|
+
}
|
|
79670
|
+
// AIApi Api FP
|
|
79671
|
+
export async function AIApi_GetEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
|
|
79672
|
+
const localVarAxiosArgs = await AIApiAxiosParamCreator_GetEntityOrgMemoryItems(requestParameters.id, requestParameters.filter, requestParameters.include, options || {}, configuration);
|
|
79673
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
79674
|
+
}
|
|
79675
|
+
// AIApi Api FP
|
|
79676
|
+
export async function AIApi_PatchEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
|
|
79677
|
+
const localVarAxiosArgs = await AIApiAxiosParamCreator_PatchEntityOrgMemoryItems(requestParameters.id, requestParameters.jsonApiOrgMemoryItemPatchDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
|
|
79678
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
79679
|
+
}
|
|
79680
|
+
// AIApi Api FP
|
|
79681
|
+
export async function AIApi_UpdateEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
|
|
79682
|
+
const localVarAxiosArgs = await AIApiAxiosParamCreator_UpdateEntityOrgMemoryItems(requestParameters.id, requestParameters.jsonApiOrgMemoryItemInDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
|
|
79683
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
79684
|
+
}
|
|
79685
|
+
export async function EntitiesApiAxiosParamCreator_CreateEntityOrgMemoryItems(jsonApiOrgMemoryItemInDocument, include, options = {}, configuration) {
|
|
79686
|
+
// verify required parameter 'jsonApiOrgMemoryItemInDocument' is not null or undefined
|
|
79687
|
+
assertParamExists('createEntityOrgMemoryItems', 'jsonApiOrgMemoryItemInDocument', jsonApiOrgMemoryItemInDocument);
|
|
79688
|
+
const localVarPath = `/api/v1/entities/orgMemoryItems`;
|
|
79689
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
79690
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
79691
|
+
let baseOptions;
|
|
79692
|
+
if (configuration) {
|
|
79693
|
+
baseOptions = configuration.baseOptions;
|
|
79694
|
+
}
|
|
79695
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
79696
|
+
const localVarHeaderParameter = {};
|
|
79697
|
+
const localVarQueryParameter = {};
|
|
79698
|
+
if (include) {
|
|
79699
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
79700
|
+
}
|
|
79701
|
+
const consumes = [
|
|
79702
|
+
'application/vnd.gooddata.api+json',
|
|
79703
|
+
'application/json'
|
|
79704
|
+
];
|
|
79705
|
+
// use application/json if present, otherwise fallback to the first one
|
|
79706
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
79707
|
+
? 'application/json'
|
|
79708
|
+
: consumes[0];
|
|
79709
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
79710
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
79711
|
+
localVarRequestOptions.headers = {
|
|
79712
|
+
...localVarHeaderParameter,
|
|
79713
|
+
...headersFromBaseOptions,
|
|
79714
|
+
...options.headers,
|
|
79715
|
+
};
|
|
79716
|
+
const needsSerialization = typeof jsonApiOrgMemoryItemInDocument !== "string" ||
|
|
79717
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
79718
|
+
localVarRequestOptions.data = needsSerialization
|
|
79719
|
+
? JSON.stringify(jsonApiOrgMemoryItemInDocument !== undefined ? jsonApiOrgMemoryItemInDocument : {})
|
|
79720
|
+
: jsonApiOrgMemoryItemInDocument || "";
|
|
79721
|
+
return {
|
|
79722
|
+
url: toPathString(localVarUrlObj),
|
|
79723
|
+
options: localVarRequestOptions,
|
|
79724
|
+
};
|
|
79725
|
+
}
|
|
79726
|
+
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
79727
|
+
export async function EntitiesApiAxiosParamCreator_DeleteEntityOrgMemoryItems(id, options = {}, configuration) {
|
|
79728
|
+
// verify required parameter 'id' is not null or undefined
|
|
79729
|
+
assertParamExists('deleteEntityOrgMemoryItems', 'id', id);
|
|
79730
|
+
const localVarPath = `/api/v1/entities/orgMemoryItems/{id}`
|
|
79731
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
79732
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
79733
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
79734
|
+
let baseOptions;
|
|
79735
|
+
if (configuration) {
|
|
79736
|
+
baseOptions = configuration.baseOptions;
|
|
79737
|
+
}
|
|
79738
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
79739
|
+
const localVarHeaderParameter = {};
|
|
79740
|
+
const localVarQueryParameter = {};
|
|
79741
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
79742
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
79743
|
+
localVarRequestOptions.headers = {
|
|
79744
|
+
...localVarHeaderParameter,
|
|
79745
|
+
...headersFromBaseOptions,
|
|
79746
|
+
...options.headers,
|
|
79747
|
+
};
|
|
79748
|
+
return {
|
|
79749
|
+
url: toPathString(localVarUrlObj),
|
|
79750
|
+
options: localVarRequestOptions,
|
|
79751
|
+
};
|
|
79752
|
+
}
|
|
79753
|
+
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
79754
|
+
export async function EntitiesApiAxiosParamCreator_GetAllEntitiesOrgMemoryItems(filter, include, page, size, sort, metaInclude, options = {}, configuration) {
|
|
79755
|
+
const localVarPath = `/api/v1/entities/orgMemoryItems`;
|
|
79756
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
79757
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
79758
|
+
let baseOptions;
|
|
79759
|
+
if (configuration) {
|
|
79760
|
+
baseOptions = configuration.baseOptions;
|
|
79761
|
+
}
|
|
79762
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
79763
|
+
const localVarHeaderParameter = {};
|
|
79764
|
+
const localVarQueryParameter = {};
|
|
79765
|
+
if (filter !== undefined) {
|
|
79766
|
+
localVarQueryParameter['filter'] = filter;
|
|
79767
|
+
}
|
|
79768
|
+
if (include) {
|
|
79769
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
79770
|
+
}
|
|
79771
|
+
if (page !== undefined) {
|
|
79772
|
+
localVarQueryParameter['page'] = page;
|
|
79773
|
+
}
|
|
79774
|
+
if (size !== undefined) {
|
|
79775
|
+
localVarQueryParameter['size'] = size;
|
|
79776
|
+
}
|
|
79777
|
+
if (sort) {
|
|
79778
|
+
localVarQueryParameter['sort'] = sort;
|
|
79779
|
+
}
|
|
79780
|
+
if (metaInclude) {
|
|
79781
|
+
localVarQueryParameter['metaInclude'] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
79782
|
+
}
|
|
79783
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
79784
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
79785
|
+
localVarRequestOptions.headers = {
|
|
79786
|
+
...localVarHeaderParameter,
|
|
79787
|
+
...headersFromBaseOptions,
|
|
79788
|
+
...options.headers,
|
|
79789
|
+
};
|
|
79790
|
+
return {
|
|
79791
|
+
url: toPathString(localVarUrlObj),
|
|
79792
|
+
options: localVarRequestOptions,
|
|
79793
|
+
};
|
|
79794
|
+
}
|
|
79795
|
+
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
79796
|
+
export async function EntitiesApiAxiosParamCreator_GetEntityOrgMemoryItems(id, filter, include, options = {}, configuration) {
|
|
79797
|
+
// verify required parameter 'id' is not null or undefined
|
|
79798
|
+
assertParamExists('getEntityOrgMemoryItems', 'id', id);
|
|
79799
|
+
const localVarPath = `/api/v1/entities/orgMemoryItems/{id}`
|
|
79800
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
79801
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
79802
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
79803
|
+
let baseOptions;
|
|
79804
|
+
if (configuration) {
|
|
79805
|
+
baseOptions = configuration.baseOptions;
|
|
79806
|
+
}
|
|
79807
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
79808
|
+
const localVarHeaderParameter = {};
|
|
79809
|
+
const localVarQueryParameter = {};
|
|
79810
|
+
if (filter !== undefined) {
|
|
79811
|
+
localVarQueryParameter['filter'] = filter;
|
|
79812
|
+
}
|
|
79813
|
+
if (include) {
|
|
79814
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
79815
|
+
}
|
|
79816
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
79817
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
79818
|
+
localVarRequestOptions.headers = {
|
|
79819
|
+
...localVarHeaderParameter,
|
|
79820
|
+
...headersFromBaseOptions,
|
|
79821
|
+
...options.headers,
|
|
79822
|
+
};
|
|
79823
|
+
return {
|
|
79824
|
+
url: toPathString(localVarUrlObj),
|
|
79825
|
+
options: localVarRequestOptions,
|
|
79826
|
+
};
|
|
79827
|
+
}
|
|
79828
|
+
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
79829
|
+
export async function EntitiesApiAxiosParamCreator_PatchEntityOrgMemoryItems(id, jsonApiOrgMemoryItemPatchDocument, filter, include, options = {}, configuration) {
|
|
79830
|
+
// verify required parameter 'id' is not null or undefined
|
|
79831
|
+
assertParamExists('patchEntityOrgMemoryItems', 'id', id);
|
|
79832
|
+
// verify required parameter 'jsonApiOrgMemoryItemPatchDocument' is not null or undefined
|
|
79833
|
+
assertParamExists('patchEntityOrgMemoryItems', 'jsonApiOrgMemoryItemPatchDocument', jsonApiOrgMemoryItemPatchDocument);
|
|
79834
|
+
const localVarPath = `/api/v1/entities/orgMemoryItems/{id}`
|
|
79835
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
79836
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
79837
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
79838
|
+
let baseOptions;
|
|
79839
|
+
if (configuration) {
|
|
79840
|
+
baseOptions = configuration.baseOptions;
|
|
79841
|
+
}
|
|
79842
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
79843
|
+
const localVarHeaderParameter = {};
|
|
79844
|
+
const localVarQueryParameter = {};
|
|
79845
|
+
if (filter !== undefined) {
|
|
79846
|
+
localVarQueryParameter['filter'] = filter;
|
|
79847
|
+
}
|
|
79848
|
+
if (include) {
|
|
79849
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
79850
|
+
}
|
|
79851
|
+
const consumes = [
|
|
79852
|
+
'application/vnd.gooddata.api+json',
|
|
79853
|
+
'application/json'
|
|
79854
|
+
];
|
|
79855
|
+
// use application/json if present, otherwise fallback to the first one
|
|
79856
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
79857
|
+
? 'application/json'
|
|
79858
|
+
: consumes[0];
|
|
79859
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
79860
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
79861
|
+
localVarRequestOptions.headers = {
|
|
79862
|
+
...localVarHeaderParameter,
|
|
79863
|
+
...headersFromBaseOptions,
|
|
79864
|
+
...options.headers,
|
|
79865
|
+
};
|
|
79866
|
+
const needsSerialization = typeof jsonApiOrgMemoryItemPatchDocument !== "string" ||
|
|
79867
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
79868
|
+
localVarRequestOptions.data = needsSerialization
|
|
79869
|
+
? JSON.stringify(jsonApiOrgMemoryItemPatchDocument !== undefined ? jsonApiOrgMemoryItemPatchDocument : {})
|
|
79870
|
+
: jsonApiOrgMemoryItemPatchDocument || "";
|
|
79871
|
+
return {
|
|
79872
|
+
url: toPathString(localVarUrlObj),
|
|
79873
|
+
options: localVarRequestOptions,
|
|
79874
|
+
};
|
|
79875
|
+
}
|
|
79876
|
+
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
79877
|
+
export async function EntitiesApiAxiosParamCreator_UpdateEntityOrgMemoryItems(id, jsonApiOrgMemoryItemInDocument, filter, include, options = {}, configuration) {
|
|
79878
|
+
// verify required parameter 'id' is not null or undefined
|
|
79879
|
+
assertParamExists('updateEntityOrgMemoryItems', 'id', id);
|
|
79880
|
+
// verify required parameter 'jsonApiOrgMemoryItemInDocument' is not null or undefined
|
|
79881
|
+
assertParamExists('updateEntityOrgMemoryItems', 'jsonApiOrgMemoryItemInDocument', jsonApiOrgMemoryItemInDocument);
|
|
79882
|
+
const localVarPath = `/api/v1/entities/orgMemoryItems/{id}`
|
|
79883
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
79884
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
79885
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
79886
|
+
let baseOptions;
|
|
79887
|
+
if (configuration) {
|
|
79888
|
+
baseOptions = configuration.baseOptions;
|
|
79889
|
+
}
|
|
79890
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
79891
|
+
const localVarHeaderParameter = {};
|
|
79892
|
+
const localVarQueryParameter = {};
|
|
79893
|
+
if (filter !== undefined) {
|
|
79894
|
+
localVarQueryParameter['filter'] = filter;
|
|
79895
|
+
}
|
|
79896
|
+
if (include) {
|
|
79897
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
79898
|
+
}
|
|
79899
|
+
const consumes = [
|
|
79900
|
+
'application/vnd.gooddata.api+json',
|
|
79901
|
+
'application/json'
|
|
79902
|
+
];
|
|
79903
|
+
// use application/json if present, otherwise fallback to the first one
|
|
79904
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
79905
|
+
? 'application/json'
|
|
79906
|
+
: consumes[0];
|
|
79907
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
79908
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
79909
|
+
localVarRequestOptions.headers = {
|
|
79910
|
+
...localVarHeaderParameter,
|
|
79911
|
+
...headersFromBaseOptions,
|
|
79912
|
+
...options.headers,
|
|
79913
|
+
};
|
|
79914
|
+
const needsSerialization = typeof jsonApiOrgMemoryItemInDocument !== "string" ||
|
|
79915
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
79916
|
+
localVarRequestOptions.data = needsSerialization
|
|
79917
|
+
? JSON.stringify(jsonApiOrgMemoryItemInDocument !== undefined ? jsonApiOrgMemoryItemInDocument : {})
|
|
79918
|
+
: jsonApiOrgMemoryItemInDocument || "";
|
|
79919
|
+
return {
|
|
79920
|
+
url: toPathString(localVarUrlObj),
|
|
79921
|
+
options: localVarRequestOptions,
|
|
79922
|
+
};
|
|
79923
|
+
}
|
|
79924
|
+
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
79925
|
+
export async function EntitiesApi_CreateEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
|
|
79926
|
+
const localVarAxiosArgs = await EntitiesApiAxiosParamCreator_CreateEntityOrgMemoryItems(requestParameters.jsonApiOrgMemoryItemInDocument, requestParameters.include, options || {}, configuration);
|
|
79927
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
79928
|
+
}
|
|
79929
|
+
// EntitiesApi Api FP
|
|
79930
|
+
export async function EntitiesApi_DeleteEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
|
|
79931
|
+
const localVarAxiosArgs = await EntitiesApiAxiosParamCreator_DeleteEntityOrgMemoryItems(requestParameters.id, options || {}, configuration);
|
|
79932
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
79933
|
+
}
|
|
79934
|
+
// EntitiesApi Api FP
|
|
79935
|
+
export async function EntitiesApi_GetAllEntitiesOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
|
|
79936
|
+
const localVarAxiosArgs = await EntitiesApiAxiosParamCreator_GetAllEntitiesOrgMemoryItems(requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.metaInclude, options || {}, configuration);
|
|
79937
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
79938
|
+
}
|
|
79939
|
+
// EntitiesApi Api FP
|
|
79940
|
+
export async function EntitiesApi_GetEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
|
|
79941
|
+
const localVarAxiosArgs = await EntitiesApiAxiosParamCreator_GetEntityOrgMemoryItems(requestParameters.id, requestParameters.filter, requestParameters.include, options || {}, configuration);
|
|
79942
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
79943
|
+
}
|
|
79944
|
+
// EntitiesApi Api FP
|
|
79945
|
+
export async function EntitiesApi_PatchEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
|
|
79946
|
+
const localVarAxiosArgs = await EntitiesApiAxiosParamCreator_PatchEntityOrgMemoryItems(requestParameters.id, requestParameters.jsonApiOrgMemoryItemPatchDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
|
|
79947
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
79948
|
+
}
|
|
79949
|
+
// EntitiesApi Api FP
|
|
79950
|
+
export async function EntitiesApi_UpdateEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
|
|
79951
|
+
const localVarAxiosArgs = await EntitiesApiAxiosParamCreator_UpdateEntityOrgMemoryItems(requestParameters.id, requestParameters.jsonApiOrgMemoryItemInDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
|
|
79952
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
79953
|
+
}
|
|
79954
|
+
export async function OrgMemoryItemControllerApiAxiosParamCreator_CreateEntityOrgMemoryItems(jsonApiOrgMemoryItemInDocument, include, options = {}, configuration) {
|
|
79955
|
+
// verify required parameter 'jsonApiOrgMemoryItemInDocument' is not null or undefined
|
|
79956
|
+
assertParamExists('createEntityOrgMemoryItems', 'jsonApiOrgMemoryItemInDocument', jsonApiOrgMemoryItemInDocument);
|
|
79957
|
+
const localVarPath = `/api/v1/entities/orgMemoryItems`;
|
|
79958
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
79959
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
79960
|
+
let baseOptions;
|
|
79961
|
+
if (configuration) {
|
|
79962
|
+
baseOptions = configuration.baseOptions;
|
|
79963
|
+
}
|
|
79964
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
79965
|
+
const localVarHeaderParameter = {};
|
|
79966
|
+
const localVarQueryParameter = {};
|
|
79967
|
+
if (include) {
|
|
79968
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
79969
|
+
}
|
|
79970
|
+
const consumes = [
|
|
79971
|
+
'application/vnd.gooddata.api+json',
|
|
79972
|
+
'application/json'
|
|
79973
|
+
];
|
|
79974
|
+
// use application/json if present, otherwise fallback to the first one
|
|
79975
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
79976
|
+
? 'application/json'
|
|
79977
|
+
: consumes[0];
|
|
79978
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
79979
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
79980
|
+
localVarRequestOptions.headers = {
|
|
79981
|
+
...localVarHeaderParameter,
|
|
79982
|
+
...headersFromBaseOptions,
|
|
79983
|
+
...options.headers,
|
|
79984
|
+
};
|
|
79985
|
+
const needsSerialization = typeof jsonApiOrgMemoryItemInDocument !== "string" ||
|
|
79986
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
79987
|
+
localVarRequestOptions.data = needsSerialization
|
|
79988
|
+
? JSON.stringify(jsonApiOrgMemoryItemInDocument !== undefined ? jsonApiOrgMemoryItemInDocument : {})
|
|
79989
|
+
: jsonApiOrgMemoryItemInDocument || "";
|
|
79990
|
+
return {
|
|
79991
|
+
url: toPathString(localVarUrlObj),
|
|
79992
|
+
options: localVarRequestOptions,
|
|
79993
|
+
};
|
|
79994
|
+
}
|
|
79995
|
+
// OrgMemoryItemControllerApi FP - OrgMemoryItemControllerApiAxiosParamCreator
|
|
79996
|
+
export async function OrgMemoryItemControllerApiAxiosParamCreator_DeleteEntityOrgMemoryItems(id, options = {}, configuration) {
|
|
79997
|
+
// verify required parameter 'id' is not null or undefined
|
|
79998
|
+
assertParamExists('deleteEntityOrgMemoryItems', 'id', id);
|
|
79999
|
+
const localVarPath = `/api/v1/entities/orgMemoryItems/{id}`
|
|
80000
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
80001
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
80002
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
80003
|
+
let baseOptions;
|
|
80004
|
+
if (configuration) {
|
|
80005
|
+
baseOptions = configuration.baseOptions;
|
|
80006
|
+
}
|
|
80007
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
80008
|
+
const localVarHeaderParameter = {};
|
|
80009
|
+
const localVarQueryParameter = {};
|
|
80010
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
80011
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
80012
|
+
localVarRequestOptions.headers = {
|
|
80013
|
+
...localVarHeaderParameter,
|
|
80014
|
+
...headersFromBaseOptions,
|
|
80015
|
+
...options.headers,
|
|
80016
|
+
};
|
|
80017
|
+
return {
|
|
80018
|
+
url: toPathString(localVarUrlObj),
|
|
80019
|
+
options: localVarRequestOptions,
|
|
80020
|
+
};
|
|
80021
|
+
}
|
|
80022
|
+
// OrgMemoryItemControllerApi FP - OrgMemoryItemControllerApiAxiosParamCreator
|
|
80023
|
+
export async function OrgMemoryItemControllerApiAxiosParamCreator_GetAllEntitiesOrgMemoryItems(filter, include, page, size, sort, metaInclude, options = {}, configuration) {
|
|
80024
|
+
const localVarPath = `/api/v1/entities/orgMemoryItems`;
|
|
80025
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
80026
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
80027
|
+
let baseOptions;
|
|
80028
|
+
if (configuration) {
|
|
80029
|
+
baseOptions = configuration.baseOptions;
|
|
80030
|
+
}
|
|
80031
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
80032
|
+
const localVarHeaderParameter = {};
|
|
80033
|
+
const localVarQueryParameter = {};
|
|
80034
|
+
if (filter !== undefined) {
|
|
80035
|
+
localVarQueryParameter['filter'] = filter;
|
|
80036
|
+
}
|
|
80037
|
+
if (include) {
|
|
80038
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
80039
|
+
}
|
|
80040
|
+
if (page !== undefined) {
|
|
80041
|
+
localVarQueryParameter['page'] = page;
|
|
80042
|
+
}
|
|
80043
|
+
if (size !== undefined) {
|
|
80044
|
+
localVarQueryParameter['size'] = size;
|
|
80045
|
+
}
|
|
80046
|
+
if (sort) {
|
|
80047
|
+
localVarQueryParameter['sort'] = sort;
|
|
80048
|
+
}
|
|
80049
|
+
if (metaInclude) {
|
|
80050
|
+
localVarQueryParameter['metaInclude'] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
80051
|
+
}
|
|
80052
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
80053
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
80054
|
+
localVarRequestOptions.headers = {
|
|
80055
|
+
...localVarHeaderParameter,
|
|
80056
|
+
...headersFromBaseOptions,
|
|
80057
|
+
...options.headers,
|
|
80058
|
+
};
|
|
80059
|
+
return {
|
|
80060
|
+
url: toPathString(localVarUrlObj),
|
|
80061
|
+
options: localVarRequestOptions,
|
|
80062
|
+
};
|
|
80063
|
+
}
|
|
80064
|
+
// OrgMemoryItemControllerApi FP - OrgMemoryItemControllerApiAxiosParamCreator
|
|
80065
|
+
export async function OrgMemoryItemControllerApiAxiosParamCreator_GetEntityOrgMemoryItems(id, filter, include, options = {}, configuration) {
|
|
80066
|
+
// verify required parameter 'id' is not null or undefined
|
|
80067
|
+
assertParamExists('getEntityOrgMemoryItems', 'id', id);
|
|
80068
|
+
const localVarPath = `/api/v1/entities/orgMemoryItems/{id}`
|
|
80069
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
80070
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
80071
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
80072
|
+
let baseOptions;
|
|
80073
|
+
if (configuration) {
|
|
80074
|
+
baseOptions = configuration.baseOptions;
|
|
80075
|
+
}
|
|
80076
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
80077
|
+
const localVarHeaderParameter = {};
|
|
80078
|
+
const localVarQueryParameter = {};
|
|
80079
|
+
if (filter !== undefined) {
|
|
80080
|
+
localVarQueryParameter['filter'] = filter;
|
|
80081
|
+
}
|
|
80082
|
+
if (include) {
|
|
80083
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
80084
|
+
}
|
|
80085
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
80086
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
80087
|
+
localVarRequestOptions.headers = {
|
|
80088
|
+
...localVarHeaderParameter,
|
|
80089
|
+
...headersFromBaseOptions,
|
|
80090
|
+
...options.headers,
|
|
80091
|
+
};
|
|
80092
|
+
return {
|
|
80093
|
+
url: toPathString(localVarUrlObj),
|
|
80094
|
+
options: localVarRequestOptions,
|
|
80095
|
+
};
|
|
80096
|
+
}
|
|
80097
|
+
// OrgMemoryItemControllerApi FP - OrgMemoryItemControllerApiAxiosParamCreator
|
|
80098
|
+
export async function OrgMemoryItemControllerApiAxiosParamCreator_PatchEntityOrgMemoryItems(id, jsonApiOrgMemoryItemPatchDocument, filter, include, options = {}, configuration) {
|
|
80099
|
+
// verify required parameter 'id' is not null or undefined
|
|
80100
|
+
assertParamExists('patchEntityOrgMemoryItems', 'id', id);
|
|
80101
|
+
// verify required parameter 'jsonApiOrgMemoryItemPatchDocument' is not null or undefined
|
|
80102
|
+
assertParamExists('patchEntityOrgMemoryItems', 'jsonApiOrgMemoryItemPatchDocument', jsonApiOrgMemoryItemPatchDocument);
|
|
80103
|
+
const localVarPath = `/api/v1/entities/orgMemoryItems/{id}`
|
|
80104
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
80105
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
80106
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
80107
|
+
let baseOptions;
|
|
80108
|
+
if (configuration) {
|
|
80109
|
+
baseOptions = configuration.baseOptions;
|
|
80110
|
+
}
|
|
80111
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
80112
|
+
const localVarHeaderParameter = {};
|
|
80113
|
+
const localVarQueryParameter = {};
|
|
80114
|
+
if (filter !== undefined) {
|
|
80115
|
+
localVarQueryParameter['filter'] = filter;
|
|
80116
|
+
}
|
|
80117
|
+
if (include) {
|
|
80118
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
80119
|
+
}
|
|
80120
|
+
const consumes = [
|
|
80121
|
+
'application/vnd.gooddata.api+json',
|
|
80122
|
+
'application/json'
|
|
80123
|
+
];
|
|
80124
|
+
// use application/json if present, otherwise fallback to the first one
|
|
80125
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
80126
|
+
? 'application/json'
|
|
80127
|
+
: consumes[0];
|
|
80128
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
80129
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
80130
|
+
localVarRequestOptions.headers = {
|
|
80131
|
+
...localVarHeaderParameter,
|
|
80132
|
+
...headersFromBaseOptions,
|
|
80133
|
+
...options.headers,
|
|
80134
|
+
};
|
|
80135
|
+
const needsSerialization = typeof jsonApiOrgMemoryItemPatchDocument !== "string" ||
|
|
80136
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
80137
|
+
localVarRequestOptions.data = needsSerialization
|
|
80138
|
+
? JSON.stringify(jsonApiOrgMemoryItemPatchDocument !== undefined ? jsonApiOrgMemoryItemPatchDocument : {})
|
|
80139
|
+
: jsonApiOrgMemoryItemPatchDocument || "";
|
|
80140
|
+
return {
|
|
80141
|
+
url: toPathString(localVarUrlObj),
|
|
80142
|
+
options: localVarRequestOptions,
|
|
80143
|
+
};
|
|
80144
|
+
}
|
|
80145
|
+
// OrgMemoryItemControllerApi FP - OrgMemoryItemControllerApiAxiosParamCreator
|
|
80146
|
+
export async function OrgMemoryItemControllerApiAxiosParamCreator_UpdateEntityOrgMemoryItems(id, jsonApiOrgMemoryItemInDocument, filter, include, options = {}, configuration) {
|
|
80147
|
+
// verify required parameter 'id' is not null or undefined
|
|
80148
|
+
assertParamExists('updateEntityOrgMemoryItems', 'id', id);
|
|
80149
|
+
// verify required parameter 'jsonApiOrgMemoryItemInDocument' is not null or undefined
|
|
80150
|
+
assertParamExists('updateEntityOrgMemoryItems', 'jsonApiOrgMemoryItemInDocument', jsonApiOrgMemoryItemInDocument);
|
|
80151
|
+
const localVarPath = `/api/v1/entities/orgMemoryItems/{id}`
|
|
80152
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
80153
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
80154
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
80155
|
+
let baseOptions;
|
|
80156
|
+
if (configuration) {
|
|
80157
|
+
baseOptions = configuration.baseOptions;
|
|
80158
|
+
}
|
|
80159
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
80160
|
+
const localVarHeaderParameter = {};
|
|
80161
|
+
const localVarQueryParameter = {};
|
|
80162
|
+
if (filter !== undefined) {
|
|
80163
|
+
localVarQueryParameter['filter'] = filter;
|
|
80164
|
+
}
|
|
80165
|
+
if (include) {
|
|
80166
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
80167
|
+
}
|
|
80168
|
+
const consumes = [
|
|
80169
|
+
'application/vnd.gooddata.api+json',
|
|
80170
|
+
'application/json'
|
|
80171
|
+
];
|
|
80172
|
+
// use application/json if present, otherwise fallback to the first one
|
|
80173
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
80174
|
+
? 'application/json'
|
|
80175
|
+
: consumes[0];
|
|
80176
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
80177
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
80178
|
+
localVarRequestOptions.headers = {
|
|
80179
|
+
...localVarHeaderParameter,
|
|
80180
|
+
...headersFromBaseOptions,
|
|
80181
|
+
...options.headers,
|
|
80182
|
+
};
|
|
80183
|
+
const needsSerialization = typeof jsonApiOrgMemoryItemInDocument !== "string" ||
|
|
80184
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
80185
|
+
localVarRequestOptions.data = needsSerialization
|
|
80186
|
+
? JSON.stringify(jsonApiOrgMemoryItemInDocument !== undefined ? jsonApiOrgMemoryItemInDocument : {})
|
|
80187
|
+
: jsonApiOrgMemoryItemInDocument || "";
|
|
80188
|
+
return {
|
|
80189
|
+
url: toPathString(localVarUrlObj),
|
|
80190
|
+
options: localVarRequestOptions,
|
|
80191
|
+
};
|
|
80192
|
+
}
|
|
80193
|
+
// OrgMemoryItemControllerApi Api FP
|
|
80194
|
+
export async function OrgMemoryItemControllerApi_CreateEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
|
|
80195
|
+
const localVarAxiosArgs = await OrgMemoryItemControllerApiAxiosParamCreator_CreateEntityOrgMemoryItems(requestParameters.jsonApiOrgMemoryItemInDocument, requestParameters.include, options || {}, configuration);
|
|
80196
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
80197
|
+
}
|
|
80198
|
+
// OrgMemoryItemControllerApi Api FP
|
|
80199
|
+
export async function OrgMemoryItemControllerApi_DeleteEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
|
|
80200
|
+
const localVarAxiosArgs = await OrgMemoryItemControllerApiAxiosParamCreator_DeleteEntityOrgMemoryItems(requestParameters.id, options || {}, configuration);
|
|
80201
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
80202
|
+
}
|
|
80203
|
+
// OrgMemoryItemControllerApi Api FP
|
|
80204
|
+
export async function OrgMemoryItemControllerApi_GetAllEntitiesOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
|
|
80205
|
+
const localVarAxiosArgs = await OrgMemoryItemControllerApiAxiosParamCreator_GetAllEntitiesOrgMemoryItems(requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.metaInclude, options || {}, configuration);
|
|
80206
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
80207
|
+
}
|
|
80208
|
+
// OrgMemoryItemControllerApi Api FP
|
|
80209
|
+
export async function OrgMemoryItemControllerApi_GetEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
|
|
80210
|
+
const localVarAxiosArgs = await OrgMemoryItemControllerApiAxiosParamCreator_GetEntityOrgMemoryItems(requestParameters.id, requestParameters.filter, requestParameters.include, options || {}, configuration);
|
|
80211
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
80212
|
+
}
|
|
80213
|
+
// OrgMemoryItemControllerApi Api FP
|
|
80214
|
+
export async function OrgMemoryItemControllerApi_PatchEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
|
|
80215
|
+
const localVarAxiosArgs = await OrgMemoryItemControllerApiAxiosParamCreator_PatchEntityOrgMemoryItems(requestParameters.id, requestParameters.jsonApiOrgMemoryItemPatchDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
|
|
80216
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
80217
|
+
}
|
|
80218
|
+
// OrgMemoryItemControllerApi Api FP
|
|
80219
|
+
export async function OrgMemoryItemControllerApi_UpdateEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
|
|
80220
|
+
const localVarAxiosArgs = await OrgMemoryItemControllerApiAxiosParamCreator_UpdateEntityOrgMemoryItems(requestParameters.id, requestParameters.jsonApiOrgMemoryItemInDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
|
|
80221
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
80222
|
+
}
|
|
80223
|
+
export class OrgMemoryItemControllerApi extends BaseAPI {
|
|
80224
|
+
/**
|
|
80225
|
+
* Organization-scoped AI memory item
|
|
80226
|
+
* @summary Post organization Memory Item entities
|
|
80227
|
+
* @param {OrgMemoryItemControllerApiCreateEntityOrgMemoryItemsRequest} requestParameters Request parameters.
|
|
80228
|
+
* @param {*} [options] Override http request option.
|
|
80229
|
+
* @throws {RequiredError}
|
|
80230
|
+
* @memberof OrgMemoryItemControllerApi
|
|
80231
|
+
*/
|
|
80232
|
+
createEntityOrgMemoryItems(requestParameters, options) {
|
|
80233
|
+
return OrgMemoryItemControllerApi_CreateEntityOrgMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
80234
|
+
}
|
|
80235
|
+
/**
|
|
80236
|
+
*
|
|
80237
|
+
* @summary Delete an organization Memory Item entity
|
|
80238
|
+
* @param {OrgMemoryItemControllerApiDeleteEntityOrgMemoryItemsRequest} requestParameters Request parameters.
|
|
80239
|
+
* @param {*} [options] Override http request option.
|
|
80240
|
+
* @throws {RequiredError}
|
|
80241
|
+
* @memberof OrgMemoryItemControllerApi
|
|
80242
|
+
*/
|
|
80243
|
+
deleteEntityOrgMemoryItems(requestParameters, options) {
|
|
80244
|
+
return OrgMemoryItemControllerApi_DeleteEntityOrgMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
80245
|
+
}
|
|
80246
|
+
/**
|
|
80247
|
+
*
|
|
80248
|
+
* @summary Get all organization Memory Item entities
|
|
80249
|
+
* @param {OrgMemoryItemControllerApiGetAllEntitiesOrgMemoryItemsRequest} requestParameters Request parameters.
|
|
80250
|
+
* @param {*} [options] Override http request option.
|
|
80251
|
+
* @throws {RequiredError}
|
|
80252
|
+
* @memberof OrgMemoryItemControllerApi
|
|
80253
|
+
*/
|
|
80254
|
+
getAllEntitiesOrgMemoryItems(requestParameters = {}, options) {
|
|
80255
|
+
return OrgMemoryItemControllerApi_GetAllEntitiesOrgMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
80256
|
+
}
|
|
80257
|
+
/**
|
|
80258
|
+
*
|
|
80259
|
+
* @summary Get an organization Memory Item entity
|
|
80260
|
+
* @param {OrgMemoryItemControllerApiGetEntityOrgMemoryItemsRequest} requestParameters Request parameters.
|
|
80261
|
+
* @param {*} [options] Override http request option.
|
|
80262
|
+
* @throws {RequiredError}
|
|
80263
|
+
* @memberof OrgMemoryItemControllerApi
|
|
80264
|
+
*/
|
|
80265
|
+
getEntityOrgMemoryItems(requestParameters, options) {
|
|
80266
|
+
return OrgMemoryItemControllerApi_GetEntityOrgMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
80267
|
+
}
|
|
80268
|
+
/**
|
|
80269
|
+
*
|
|
80270
|
+
* @summary Patch an organization Memory Item entity
|
|
80271
|
+
* @param {OrgMemoryItemControllerApiPatchEntityOrgMemoryItemsRequest} requestParameters Request parameters.
|
|
80272
|
+
* @param {*} [options] Override http request option.
|
|
80273
|
+
* @throws {RequiredError}
|
|
80274
|
+
* @memberof OrgMemoryItemControllerApi
|
|
80275
|
+
*/
|
|
80276
|
+
patchEntityOrgMemoryItems(requestParameters, options) {
|
|
80277
|
+
return OrgMemoryItemControllerApi_PatchEntityOrgMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
80278
|
+
}
|
|
80279
|
+
/**
|
|
80280
|
+
*
|
|
80281
|
+
* @summary Put an organization Memory Item entity
|
|
80282
|
+
* @param {OrgMemoryItemControllerApiUpdateEntityOrgMemoryItemsRequest} requestParameters Request parameters.
|
|
80283
|
+
* @param {*} [options] Override http request option.
|
|
80284
|
+
* @throws {RequiredError}
|
|
80285
|
+
* @memberof OrgMemoryItemControllerApi
|
|
80286
|
+
*/
|
|
80287
|
+
updateEntityOrgMemoryItems(requestParameters, options) {
|
|
80288
|
+
return OrgMemoryItemControllerApi_UpdateEntityOrgMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
80289
|
+
}
|
|
80290
|
+
}
|
|
80291
|
+
// OrganizationDeclarativeAPIsApi FP - OrganizationDeclarativeAPIsApiAxiosParamCreator
|