@gooddata/api-client-tiger 11.43.0-alpha.0 → 11.43.0-alpha.1

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.
@@ -123,6 +123,57 @@ export async function AIApiAxiosParamCreator_CreateEntityMemoryItems(workspaceId
123
123
  };
124
124
  }
125
125
  // AIApi FP - AIApiAxiosParamCreator
126
+ /**
127
+ * Organization-scoped AI memory item
128
+ * @summary Post organization Memory Item entities
129
+ * @param {JsonApiOrgMemoryItemInDocument} jsonApiOrgMemoryItemInDocument
130
+ * @param {Array<'userIdentifiers' | 'createdBy' | 'modifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
131
+ * @param {*} [options] Override http request option.
132
+ * @param {Configuration} [configuration] Optional configuration.
133
+ * @throws {RequiredError}
134
+ */
135
+ export async function AIApiAxiosParamCreator_CreateEntityOrgMemoryItems(jsonApiOrgMemoryItemInDocument, include, options = {}, configuration) {
136
+ // verify required parameter 'jsonApiOrgMemoryItemInDocument' is not null or undefined
137
+ assertParamExists('createEntityOrgMemoryItems', 'jsonApiOrgMemoryItemInDocument', jsonApiOrgMemoryItemInDocument);
138
+ const localVarPath = `/api/v1/entities/orgMemoryItems`;
139
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
140
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
141
+ let baseOptions;
142
+ if (configuration) {
143
+ baseOptions = configuration.baseOptions;
144
+ }
145
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
146
+ const localVarHeaderParameter = {};
147
+ const localVarQueryParameter = {};
148
+ if (include) {
149
+ localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
150
+ }
151
+ const consumes = [
152
+ 'application/vnd.gooddata.api+json',
153
+ 'application/json'
154
+ ];
155
+ // use application/json if present, otherwise fallback to the first one
156
+ localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
157
+ ? 'application/json'
158
+ : consumes[0];
159
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
160
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
161
+ localVarRequestOptions.headers = {
162
+ ...localVarHeaderParameter,
163
+ ...headersFromBaseOptions,
164
+ ...options.headers,
165
+ };
166
+ const needsSerialization = typeof jsonApiOrgMemoryItemInDocument !== "string" ||
167
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
168
+ localVarRequestOptions.data = needsSerialization
169
+ ? JSON.stringify(jsonApiOrgMemoryItemInDocument !== undefined ? jsonApiOrgMemoryItemInDocument : {})
170
+ : jsonApiOrgMemoryItemInDocument || "";
171
+ return {
172
+ url: toPathString(localVarUrlObj),
173
+ options: localVarRequestOptions,
174
+ };
175
+ }
176
+ // AIApi FP - AIApiAxiosParamCreator
126
177
  /**
127
178
  *
128
179
  * @summary Delete a Knowledge Recommendation
@@ -201,6 +252,41 @@ export async function AIApiAxiosParamCreator_DeleteEntityMemoryItems(workspaceId
201
252
  };
202
253
  }
203
254
  // AIApi FP - AIApiAxiosParamCreator
255
+ /**
256
+ *
257
+ * @summary Delete an organization Memory Item entity
258
+ * @param {string} id
259
+ * @param {*} [options] Override http request option.
260
+ * @param {Configuration} [configuration] Optional configuration.
261
+ * @throws {RequiredError}
262
+ */
263
+ export async function AIApiAxiosParamCreator_DeleteEntityOrgMemoryItems(id, options = {}, configuration) {
264
+ // verify required parameter 'id' is not null or undefined
265
+ assertParamExists('deleteEntityOrgMemoryItems', 'id', id);
266
+ const localVarPath = `/api/v1/entities/orgMemoryItems/{id}`
267
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
268
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
269
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
270
+ let baseOptions;
271
+ if (configuration) {
272
+ baseOptions = configuration.baseOptions;
273
+ }
274
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
275
+ const localVarHeaderParameter = {};
276
+ const localVarQueryParameter = {};
277
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
278
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
279
+ localVarRequestOptions.headers = {
280
+ ...localVarHeaderParameter,
281
+ ...headersFromBaseOptions,
282
+ ...options.headers,
283
+ };
284
+ return {
285
+ url: toPathString(localVarUrlObj),
286
+ options: localVarRequestOptions,
287
+ };
288
+ }
289
+ // AIApi FP - AIApiAxiosParamCreator
204
290
  /**
205
291
  *
206
292
  * @summary Get all Knowledge Recommendations
@@ -335,6 +421,61 @@ export async function AIApiAxiosParamCreator_GetAllEntitiesMemoryItems(workspace
335
421
  };
336
422
  }
337
423
  // AIApi FP - AIApiAxiosParamCreator
424
+ /**
425
+ *
426
+ * @summary Get all organization Memory Item entities
427
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
428
+ * @param {Array<'userIdentifiers' | 'createdBy' | 'modifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
429
+ * @param {number} [page] Zero-based page index (0..N)
430
+ * @param {number} [size] The size of the page to be returned
431
+ * @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
432
+ * @param {Array<'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
433
+ * @param {*} [options] Override http request option.
434
+ * @param {Configuration} [configuration] Optional configuration.
435
+ * @throws {RequiredError}
436
+ */
437
+ export async function AIApiAxiosParamCreator_GetAllEntitiesOrgMemoryItems(filter, include, page, size, sort, metaInclude, options = {}, configuration) {
438
+ const localVarPath = `/api/v1/entities/orgMemoryItems`;
439
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
440
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
441
+ let baseOptions;
442
+ if (configuration) {
443
+ baseOptions = configuration.baseOptions;
444
+ }
445
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
446
+ const localVarHeaderParameter = {};
447
+ const localVarQueryParameter = {};
448
+ if (filter !== undefined) {
449
+ localVarQueryParameter['filter'] = filter;
450
+ }
451
+ if (include) {
452
+ localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
453
+ }
454
+ if (page !== undefined) {
455
+ localVarQueryParameter['page'] = page;
456
+ }
457
+ if (size !== undefined) {
458
+ localVarQueryParameter['size'] = size;
459
+ }
460
+ if (sort) {
461
+ localVarQueryParameter['sort'] = sort;
462
+ }
463
+ if (metaInclude) {
464
+ localVarQueryParameter['metaInclude'] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
465
+ }
466
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
467
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
468
+ localVarRequestOptions.headers = {
469
+ ...localVarHeaderParameter,
470
+ ...headersFromBaseOptions,
471
+ ...options.headers,
472
+ };
473
+ return {
474
+ url: toPathString(localVarUrlObj),
475
+ options: localVarRequestOptions,
476
+ };
477
+ }
478
+ // AIApi FP - AIApiAxiosParamCreator
338
479
  /**
339
480
  *
340
481
  * @summary Get a Knowledge Recommendation
@@ -445,6 +586,49 @@ export async function AIApiAxiosParamCreator_GetEntityMemoryItems(workspaceId, o
445
586
  };
446
587
  }
447
588
  // AIApi FP - AIApiAxiosParamCreator
589
+ /**
590
+ *
591
+ * @summary Get an organization Memory Item entity
592
+ * @param {string} id
593
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
594
+ * @param {Array<'userIdentifiers' | 'createdBy' | 'modifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
595
+ * @param {*} [options] Override http request option.
596
+ * @param {Configuration} [configuration] Optional configuration.
597
+ * @throws {RequiredError}
598
+ */
599
+ export async function AIApiAxiosParamCreator_GetEntityOrgMemoryItems(id, filter, include, options = {}, configuration) {
600
+ // verify required parameter 'id' is not null or undefined
601
+ assertParamExists('getEntityOrgMemoryItems', 'id', id);
602
+ const localVarPath = `/api/v1/entities/orgMemoryItems/{id}`
603
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
604
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
605
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
606
+ let baseOptions;
607
+ if (configuration) {
608
+ baseOptions = configuration.baseOptions;
609
+ }
610
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
611
+ const localVarHeaderParameter = {};
612
+ const localVarQueryParameter = {};
613
+ if (filter !== undefined) {
614
+ localVarQueryParameter['filter'] = filter;
615
+ }
616
+ if (include) {
617
+ localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
618
+ }
619
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
620
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
621
+ localVarRequestOptions.headers = {
622
+ ...localVarHeaderParameter,
623
+ ...headersFromBaseOptions,
624
+ ...options.headers,
625
+ };
626
+ return {
627
+ url: toPathString(localVarUrlObj),
628
+ options: localVarRequestOptions,
629
+ };
630
+ }
631
+ // AIApi FP - AIApiAxiosParamCreator
448
632
  /**
449
633
  * (BETA) Temporary solution. Later relevant metadata actions will trigger it in its scope only.
450
634
  * @summary (BETA) Sync Metadata to other services
@@ -639,38 +823,39 @@ export async function AIApiAxiosParamCreator_PatchEntityMemoryItems(workspaceId,
639
823
  // AIApi FP - AIApiAxiosParamCreator
640
824
  /**
641
825
  *
642
- * @summary The search endpoint (beta)
643
- * @param {string} workspaceId
644
- * @param {EntitySearchBody} entitySearchBody Search request body with filter, pagination, and sorting options
645
- * @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
646
- * @param {boolean} [xGDCVALIDATERELATIONS]
826
+ * @summary Patch an organization Memory Item entity
827
+ * @param {string} id
828
+ * @param {JsonApiOrgMemoryItemPatchDocument} jsonApiOrgMemoryItemPatchDocument
829
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
830
+ * @param {Array<'userIdentifiers' | 'createdBy' | 'modifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
647
831
  * @param {*} [options] Override http request option.
648
832
  * @param {Configuration} [configuration] Optional configuration.
649
833
  * @throws {RequiredError}
650
834
  */
651
- export async function AIApiAxiosParamCreator_SearchEntitiesKnowledgeRecommendations(workspaceId, entitySearchBody, origin, xGDCVALIDATERELATIONS, options = {}, configuration) {
652
- // verify required parameter 'workspaceId' is not null or undefined
653
- assertParamExists('searchEntitiesKnowledgeRecommendations', 'workspaceId', workspaceId);
654
- // verify required parameter 'entitySearchBody' is not null or undefined
655
- assertParamExists('searchEntitiesKnowledgeRecommendations', 'entitySearchBody', entitySearchBody);
656
- const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/search`
657
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
835
+ export async function AIApiAxiosParamCreator_PatchEntityOrgMemoryItems(id, jsonApiOrgMemoryItemPatchDocument, filter, include, options = {}, configuration) {
836
+ // verify required parameter 'id' is not null or undefined
837
+ assertParamExists('patchEntityOrgMemoryItems', 'id', id);
838
+ // verify required parameter 'jsonApiOrgMemoryItemPatchDocument' is not null or undefined
839
+ assertParamExists('patchEntityOrgMemoryItems', 'jsonApiOrgMemoryItemPatchDocument', jsonApiOrgMemoryItemPatchDocument);
840
+ const localVarPath = `/api/v1/entities/orgMemoryItems/{id}`
841
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
658
842
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
659
843
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
660
844
  let baseOptions;
661
845
  if (configuration) {
662
846
  baseOptions = configuration.baseOptions;
663
847
  }
664
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
848
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
665
849
  const localVarHeaderParameter = {};
666
850
  const localVarQueryParameter = {};
667
- if (origin !== undefined) {
668
- localVarQueryParameter['origin'] = origin;
851
+ if (filter !== undefined) {
852
+ localVarQueryParameter['filter'] = filter;
669
853
  }
670
- if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
671
- localVarHeaderParameter['X-GDC-VALIDATE-RELATIONS'] = String(JSON.stringify(xGDCVALIDATERELATIONS));
854
+ if (include) {
855
+ localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
672
856
  }
673
857
  const consumes = [
858
+ 'application/vnd.gooddata.api+json',
674
859
  'application/json'
675
860
  ];
676
861
  // use application/json if present, otherwise fallback to the first one
@@ -684,11 +869,11 @@ export async function AIApiAxiosParamCreator_SearchEntitiesKnowledgeRecommendati
684
869
  ...headersFromBaseOptions,
685
870
  ...options.headers,
686
871
  };
687
- const needsSerialization = typeof entitySearchBody !== "string" ||
872
+ const needsSerialization = typeof jsonApiOrgMemoryItemPatchDocument !== "string" ||
688
873
  localVarRequestOptions.headers["Content-Type"] === "application/json";
689
874
  localVarRequestOptions.data = needsSerialization
690
- ? JSON.stringify(entitySearchBody !== undefined ? entitySearchBody : {})
691
- : entitySearchBody || "";
875
+ ? JSON.stringify(jsonApiOrgMemoryItemPatchDocument !== undefined ? jsonApiOrgMemoryItemPatchDocument : {})
876
+ : jsonApiOrgMemoryItemPatchDocument || "";
692
877
  return {
693
878
  url: toPathString(localVarUrlObj),
694
879
  options: localVarRequestOptions,
@@ -706,12 +891,12 @@ export async function AIApiAxiosParamCreator_SearchEntitiesKnowledgeRecommendati
706
891
  * @param {Configuration} [configuration] Optional configuration.
707
892
  * @throws {RequiredError}
708
893
  */
709
- export async function AIApiAxiosParamCreator_SearchEntitiesMemoryItems(workspaceId, entitySearchBody, origin, xGDCVALIDATERELATIONS, options = {}, configuration) {
894
+ export async function AIApiAxiosParamCreator_SearchEntitiesKnowledgeRecommendations(workspaceId, entitySearchBody, origin, xGDCVALIDATERELATIONS, options = {}, configuration) {
710
895
  // verify required parameter 'workspaceId' is not null or undefined
711
- assertParamExists('searchEntitiesMemoryItems', 'workspaceId', workspaceId);
896
+ assertParamExists('searchEntitiesKnowledgeRecommendations', 'workspaceId', workspaceId);
712
897
  // verify required parameter 'entitySearchBody' is not null or undefined
713
- assertParamExists('searchEntitiesMemoryItems', 'entitySearchBody', entitySearchBody);
714
- const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/memoryItems/search`
898
+ assertParamExists('searchEntitiesKnowledgeRecommendations', 'entitySearchBody', entitySearchBody);
899
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/search`
715
900
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
716
901
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
717
902
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -755,43 +940,38 @@ export async function AIApiAxiosParamCreator_SearchEntitiesMemoryItems(workspace
755
940
  // AIApi FP - AIApiAxiosParamCreator
756
941
  /**
757
942
  *
758
- * @summary Put a Knowledge Recommendation
943
+ * @summary The search endpoint (beta)
759
944
  * @param {string} workspaceId
760
- * @param {string} objectId
761
- * @param {JsonApiKnowledgeRecommendationInDocument} jsonApiKnowledgeRecommendationInDocument
762
- * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
763
- * @param {Array<'metrics' | 'analyticalDashboards' | 'metric' | 'analyticalDashboard' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
945
+ * @param {EntitySearchBody} entitySearchBody Search request body with filter, pagination, and sorting options
946
+ * @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
947
+ * @param {boolean} [xGDCVALIDATERELATIONS]
764
948
  * @param {*} [options] Override http request option.
765
949
  * @param {Configuration} [configuration] Optional configuration.
766
950
  * @throws {RequiredError}
767
951
  */
768
- export async function AIApiAxiosParamCreator_UpdateEntityKnowledgeRecommendations(workspaceId, objectId, jsonApiKnowledgeRecommendationInDocument, filter, include, options = {}, configuration) {
952
+ export async function AIApiAxiosParamCreator_SearchEntitiesMemoryItems(workspaceId, entitySearchBody, origin, xGDCVALIDATERELATIONS, options = {}, configuration) {
769
953
  // verify required parameter 'workspaceId' is not null or undefined
770
- assertParamExists('updateEntityKnowledgeRecommendations', 'workspaceId', workspaceId);
771
- // verify required parameter 'objectId' is not null or undefined
772
- assertParamExists('updateEntityKnowledgeRecommendations', 'objectId', objectId);
773
- // verify required parameter 'jsonApiKnowledgeRecommendationInDocument' is not null or undefined
774
- assertParamExists('updateEntityKnowledgeRecommendations', 'jsonApiKnowledgeRecommendationInDocument', jsonApiKnowledgeRecommendationInDocument);
775
- const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId}`
776
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
777
- .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
954
+ assertParamExists('searchEntitiesMemoryItems', 'workspaceId', workspaceId);
955
+ // verify required parameter 'entitySearchBody' is not null or undefined
956
+ assertParamExists('searchEntitiesMemoryItems', 'entitySearchBody', entitySearchBody);
957
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/memoryItems/search`
958
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
778
959
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
779
960
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
780
961
  let baseOptions;
781
962
  if (configuration) {
782
963
  baseOptions = configuration.baseOptions;
783
964
  }
784
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
965
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
785
966
  const localVarHeaderParameter = {};
786
967
  const localVarQueryParameter = {};
787
- if (filter !== undefined) {
788
- localVarQueryParameter['filter'] = filter;
968
+ if (origin !== undefined) {
969
+ localVarQueryParameter['origin'] = origin;
789
970
  }
790
- if (include) {
791
- localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
971
+ if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
972
+ localVarHeaderParameter['X-GDC-VALIDATE-RELATIONS'] = String(JSON.stringify(xGDCVALIDATERELATIONS));
792
973
  }
793
974
  const consumes = [
794
- 'application/vnd.gooddata.api+json',
795
975
  'application/json'
796
976
  ];
797
977
  // use application/json if present, otherwise fallback to the first one
@@ -805,11 +985,11 @@ export async function AIApiAxiosParamCreator_UpdateEntityKnowledgeRecommendation
805
985
  ...headersFromBaseOptions,
806
986
  ...options.headers,
807
987
  };
808
- const needsSerialization = typeof jsonApiKnowledgeRecommendationInDocument !== "string" ||
988
+ const needsSerialization = typeof entitySearchBody !== "string" ||
809
989
  localVarRequestOptions.headers["Content-Type"] === "application/json";
810
990
  localVarRequestOptions.data = needsSerialization
811
- ? JSON.stringify(jsonApiKnowledgeRecommendationInDocument !== undefined ? jsonApiKnowledgeRecommendationInDocument : {})
812
- : jsonApiKnowledgeRecommendationInDocument || "";
991
+ ? JSON.stringify(entitySearchBody !== undefined ? entitySearchBody : {})
992
+ : entitySearchBody || "";
813
993
  return {
814
994
  url: toPathString(localVarUrlObj),
815
995
  options: localVarRequestOptions,
@@ -818,24 +998,87 @@ export async function AIApiAxiosParamCreator_UpdateEntityKnowledgeRecommendation
818
998
  // AIApi FP - AIApiAxiosParamCreator
819
999
  /**
820
1000
  *
821
- * @summary Put a Memory Item
1001
+ * @summary Put a Knowledge Recommendation
822
1002
  * @param {string} workspaceId
823
1003
  * @param {string} objectId
824
- * @param {JsonApiMemoryItemInDocument} jsonApiMemoryItemInDocument
1004
+ * @param {JsonApiKnowledgeRecommendationInDocument} jsonApiKnowledgeRecommendationInDocument
825
1005
  * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
826
- * @param {Array<'userIdentifiers' | 'createdBy' | 'modifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
1006
+ * @param {Array<'metrics' | 'analyticalDashboards' | 'metric' | 'analyticalDashboard' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
827
1007
  * @param {*} [options] Override http request option.
828
1008
  * @param {Configuration} [configuration] Optional configuration.
829
1009
  * @throws {RequiredError}
830
1010
  */
831
- export async function AIApiAxiosParamCreator_UpdateEntityMemoryItems(workspaceId, objectId, jsonApiMemoryItemInDocument, filter, include, options = {}, configuration) {
1011
+ export async function AIApiAxiosParamCreator_UpdateEntityKnowledgeRecommendations(workspaceId, objectId, jsonApiKnowledgeRecommendationInDocument, filter, include, options = {}, configuration) {
832
1012
  // verify required parameter 'workspaceId' is not null or undefined
833
- assertParamExists('updateEntityMemoryItems', 'workspaceId', workspaceId);
1013
+ assertParamExists('updateEntityKnowledgeRecommendations', 'workspaceId', workspaceId);
834
1014
  // verify required parameter 'objectId' is not null or undefined
835
- assertParamExists('updateEntityMemoryItems', 'objectId', objectId);
836
- // verify required parameter 'jsonApiMemoryItemInDocument' is not null or undefined
837
- assertParamExists('updateEntityMemoryItems', 'jsonApiMemoryItemInDocument', jsonApiMemoryItemInDocument);
838
- const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId}`
1015
+ assertParamExists('updateEntityKnowledgeRecommendations', 'objectId', objectId);
1016
+ // verify required parameter 'jsonApiKnowledgeRecommendationInDocument' is not null or undefined
1017
+ assertParamExists('updateEntityKnowledgeRecommendations', 'jsonApiKnowledgeRecommendationInDocument', jsonApiKnowledgeRecommendationInDocument);
1018
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId}`
1019
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
1020
+ .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
1021
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1022
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1023
+ let baseOptions;
1024
+ if (configuration) {
1025
+ baseOptions = configuration.baseOptions;
1026
+ }
1027
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
1028
+ const localVarHeaderParameter = {};
1029
+ const localVarQueryParameter = {};
1030
+ if (filter !== undefined) {
1031
+ localVarQueryParameter['filter'] = filter;
1032
+ }
1033
+ if (include) {
1034
+ localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
1035
+ }
1036
+ const consumes = [
1037
+ 'application/vnd.gooddata.api+json',
1038
+ 'application/json'
1039
+ ];
1040
+ // use application/json if present, otherwise fallback to the first one
1041
+ localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
1042
+ ? 'application/json'
1043
+ : consumes[0];
1044
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1045
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
1046
+ localVarRequestOptions.headers = {
1047
+ ...localVarHeaderParameter,
1048
+ ...headersFromBaseOptions,
1049
+ ...options.headers,
1050
+ };
1051
+ const needsSerialization = typeof jsonApiKnowledgeRecommendationInDocument !== "string" ||
1052
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
1053
+ localVarRequestOptions.data = needsSerialization
1054
+ ? JSON.stringify(jsonApiKnowledgeRecommendationInDocument !== undefined ? jsonApiKnowledgeRecommendationInDocument : {})
1055
+ : jsonApiKnowledgeRecommendationInDocument || "";
1056
+ return {
1057
+ url: toPathString(localVarUrlObj),
1058
+ options: localVarRequestOptions,
1059
+ };
1060
+ }
1061
+ // AIApi FP - AIApiAxiosParamCreator
1062
+ /**
1063
+ *
1064
+ * @summary Put a Memory Item
1065
+ * @param {string} workspaceId
1066
+ * @param {string} objectId
1067
+ * @param {JsonApiMemoryItemInDocument} jsonApiMemoryItemInDocument
1068
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
1069
+ * @param {Array<'userIdentifiers' | 'createdBy' | 'modifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
1070
+ * @param {*} [options] Override http request option.
1071
+ * @param {Configuration} [configuration] Optional configuration.
1072
+ * @throws {RequiredError}
1073
+ */
1074
+ export async function AIApiAxiosParamCreator_UpdateEntityMemoryItems(workspaceId, objectId, jsonApiMemoryItemInDocument, filter, include, options = {}, configuration) {
1075
+ // verify required parameter 'workspaceId' is not null or undefined
1076
+ assertParamExists('updateEntityMemoryItems', 'workspaceId', workspaceId);
1077
+ // verify required parameter 'objectId' is not null or undefined
1078
+ assertParamExists('updateEntityMemoryItems', 'objectId', objectId);
1079
+ // verify required parameter 'jsonApiMemoryItemInDocument' is not null or undefined
1080
+ assertParamExists('updateEntityMemoryItems', 'jsonApiMemoryItemInDocument', jsonApiMemoryItemInDocument);
1081
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId}`
839
1082
  .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
840
1083
  .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
841
1084
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -878,6 +1121,65 @@ export async function AIApiAxiosParamCreator_UpdateEntityMemoryItems(workspaceId
878
1121
  options: localVarRequestOptions,
879
1122
  };
880
1123
  }
1124
+ // AIApi FP - AIApiAxiosParamCreator
1125
+ /**
1126
+ *
1127
+ * @summary Put an organization Memory Item entity
1128
+ * @param {string} id
1129
+ * @param {JsonApiOrgMemoryItemInDocument} jsonApiOrgMemoryItemInDocument
1130
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
1131
+ * @param {Array<'userIdentifiers' | 'createdBy' | 'modifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
1132
+ * @param {*} [options] Override http request option.
1133
+ * @param {Configuration} [configuration] Optional configuration.
1134
+ * @throws {RequiredError}
1135
+ */
1136
+ export async function AIApiAxiosParamCreator_UpdateEntityOrgMemoryItems(id, jsonApiOrgMemoryItemInDocument, filter, include, options = {}, configuration) {
1137
+ // verify required parameter 'id' is not null or undefined
1138
+ assertParamExists('updateEntityOrgMemoryItems', 'id', id);
1139
+ // verify required parameter 'jsonApiOrgMemoryItemInDocument' is not null or undefined
1140
+ assertParamExists('updateEntityOrgMemoryItems', 'jsonApiOrgMemoryItemInDocument', jsonApiOrgMemoryItemInDocument);
1141
+ const localVarPath = `/api/v1/entities/orgMemoryItems/{id}`
1142
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1143
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1144
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1145
+ let baseOptions;
1146
+ if (configuration) {
1147
+ baseOptions = configuration.baseOptions;
1148
+ }
1149
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
1150
+ const localVarHeaderParameter = {};
1151
+ const localVarQueryParameter = {};
1152
+ if (filter !== undefined) {
1153
+ localVarQueryParameter['filter'] = filter;
1154
+ }
1155
+ if (include) {
1156
+ localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
1157
+ }
1158
+ const consumes = [
1159
+ 'application/vnd.gooddata.api+json',
1160
+ 'application/json'
1161
+ ];
1162
+ // use application/json if present, otherwise fallback to the first one
1163
+ localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
1164
+ ? 'application/json'
1165
+ : consumes[0];
1166
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1167
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
1168
+ localVarRequestOptions.headers = {
1169
+ ...localVarHeaderParameter,
1170
+ ...headersFromBaseOptions,
1171
+ ...options.headers,
1172
+ };
1173
+ const needsSerialization = typeof jsonApiOrgMemoryItemInDocument !== "string" ||
1174
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
1175
+ localVarRequestOptions.data = needsSerialization
1176
+ ? JSON.stringify(jsonApiOrgMemoryItemInDocument !== undefined ? jsonApiOrgMemoryItemInDocument : {})
1177
+ : jsonApiOrgMemoryItemInDocument || "";
1178
+ return {
1179
+ url: toPathString(localVarUrlObj),
1180
+ options: localVarRequestOptions,
1181
+ };
1182
+ }
881
1183
  // AIApi Api FP
882
1184
  /**
883
1185
  *
@@ -909,6 +1211,21 @@ export async function AIApi_CreateEntityMemoryItems(axios, basePath, requestPara
909
1211
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
910
1212
  }
911
1213
  // AIApi Api FP
1214
+ /**
1215
+ * Organization-scoped AI memory item
1216
+ * @summary Post organization Memory Item entities
1217
+ * @param {AxiosInstance} axios Axios instance.
1218
+ * @param {string} basePath Base path.
1219
+ * @param {AIApiCreateEntityOrgMemoryItemsRequest} requestParameters Request parameters.
1220
+ * @param {*} [options] Override http request option.
1221
+ * @param {Configuration} [configuration] Optional configuration.
1222
+ * @throws {RequiredError}
1223
+ */
1224
+ export async function AIApi_CreateEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
1225
+ const localVarAxiosArgs = await AIApiAxiosParamCreator_CreateEntityOrgMemoryItems(requestParameters.jsonApiOrgMemoryItemInDocument, requestParameters.include, options || {}, configuration);
1226
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
1227
+ }
1228
+ // AIApi Api FP
912
1229
  /**
913
1230
  *
914
1231
  * @summary Delete a Knowledge Recommendation
@@ -939,6 +1256,21 @@ export async function AIApi_DeleteEntityMemoryItems(axios, basePath, requestPara
939
1256
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
940
1257
  }
941
1258
  // AIApi Api FP
1259
+ /**
1260
+ *
1261
+ * @summary Delete an organization Memory Item entity
1262
+ * @param {AxiosInstance} axios Axios instance.
1263
+ * @param {string} basePath Base path.
1264
+ * @param {AIApiDeleteEntityOrgMemoryItemsRequest} requestParameters Request parameters.
1265
+ * @param {*} [options] Override http request option.
1266
+ * @param {Configuration} [configuration] Optional configuration.
1267
+ * @throws {RequiredError}
1268
+ */
1269
+ export async function AIApi_DeleteEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
1270
+ const localVarAxiosArgs = await AIApiAxiosParamCreator_DeleteEntityOrgMemoryItems(requestParameters.id, options || {}, configuration);
1271
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
1272
+ }
1273
+ // AIApi Api FP
942
1274
  /**
943
1275
  *
944
1276
  * @summary Get all Knowledge Recommendations
@@ -969,6 +1301,21 @@ export async function AIApi_GetAllEntitiesMemoryItems(axios, basePath, requestPa
969
1301
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
970
1302
  }
971
1303
  // AIApi Api FP
1304
+ /**
1305
+ *
1306
+ * @summary Get all organization Memory Item entities
1307
+ * @param {AxiosInstance} axios Axios instance.
1308
+ * @param {string} basePath Base path.
1309
+ * @param {AIApiGetAllEntitiesOrgMemoryItemsRequest} requestParameters Request parameters.
1310
+ * @param {*} [options] Override http request option.
1311
+ * @param {Configuration} [configuration] Optional configuration.
1312
+ * @throws {RequiredError}
1313
+ */
1314
+ export async function AIApi_GetAllEntitiesOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
1315
+ const localVarAxiosArgs = await AIApiAxiosParamCreator_GetAllEntitiesOrgMemoryItems(requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.metaInclude, options || {}, configuration);
1316
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
1317
+ }
1318
+ // AIApi Api FP
972
1319
  /**
973
1320
  *
974
1321
  * @summary Get a Knowledge Recommendation
@@ -999,6 +1346,21 @@ export async function AIApi_GetEntityMemoryItems(axios, basePath, requestParamet
999
1346
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
1000
1347
  }
1001
1348
  // AIApi Api FP
1349
+ /**
1350
+ *
1351
+ * @summary Get an organization Memory Item entity
1352
+ * @param {AxiosInstance} axios Axios instance.
1353
+ * @param {string} basePath Base path.
1354
+ * @param {AIApiGetEntityOrgMemoryItemsRequest} requestParameters Request parameters.
1355
+ * @param {*} [options] Override http request option.
1356
+ * @param {Configuration} [configuration] Optional configuration.
1357
+ * @throws {RequiredError}
1358
+ */
1359
+ export async function AIApi_GetEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
1360
+ const localVarAxiosArgs = await AIApiAxiosParamCreator_GetEntityOrgMemoryItems(requestParameters.id, requestParameters.filter, requestParameters.include, options || {}, configuration);
1361
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
1362
+ }
1363
+ // AIApi Api FP
1002
1364
  /**
1003
1365
  * (BETA) Temporary solution. Later relevant metadata actions will trigger it in its scope only.
1004
1366
  * @summary (BETA) Sync Metadata to other services
@@ -1058,6 +1420,21 @@ export async function AIApi_PatchEntityMemoryItems(axios, basePath, requestParam
1058
1420
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
1059
1421
  }
1060
1422
  // AIApi Api FP
1423
+ /**
1424
+ *
1425
+ * @summary Patch an organization Memory Item entity
1426
+ * @param {AxiosInstance} axios Axios instance.
1427
+ * @param {string} basePath Base path.
1428
+ * @param {AIApiPatchEntityOrgMemoryItemsRequest} requestParameters Request parameters.
1429
+ * @param {*} [options] Override http request option.
1430
+ * @param {Configuration} [configuration] Optional configuration.
1431
+ * @throws {RequiredError}
1432
+ */
1433
+ export async function AIApi_PatchEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
1434
+ const localVarAxiosArgs = await AIApiAxiosParamCreator_PatchEntityOrgMemoryItems(requestParameters.id, requestParameters.jsonApiOrgMemoryItemPatchDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
1435
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
1436
+ }
1437
+ // AIApi Api FP
1061
1438
  /**
1062
1439
  *
1063
1440
  * @summary The search endpoint (beta)
@@ -1117,6 +1494,21 @@ export async function AIApi_UpdateEntityMemoryItems(axios, basePath, requestPara
1117
1494
  const localVarAxiosArgs = await AIApiAxiosParamCreator_UpdateEntityMemoryItems(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiMemoryItemInDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
1118
1495
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
1119
1496
  }
1497
+ // AIApi Api FP
1498
+ /**
1499
+ *
1500
+ * @summary Put an organization Memory Item entity
1501
+ * @param {AxiosInstance} axios Axios instance.
1502
+ * @param {string} basePath Base path.
1503
+ * @param {AIApiUpdateEntityOrgMemoryItemsRequest} requestParameters Request parameters.
1504
+ * @param {*} [options] Override http request option.
1505
+ * @param {Configuration} [configuration] Optional configuration.
1506
+ * @throws {RequiredError}
1507
+ */
1508
+ export async function AIApi_UpdateEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
1509
+ const localVarAxiosArgs = await AIApiAxiosParamCreator_UpdateEntityOrgMemoryItems(requestParameters.id, requestParameters.jsonApiOrgMemoryItemInDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
1510
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
1511
+ }
1120
1512
  /**
1121
1513
  * AIApi - object-oriented interface
1122
1514
  * @export
@@ -1146,6 +1538,17 @@ export class AIApi extends BaseAPI {
1146
1538
  createEntityMemoryItems(requestParameters, options) {
1147
1539
  return AIApi_CreateEntityMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
1148
1540
  }
1541
+ /**
1542
+ * Organization-scoped AI memory item
1543
+ * @summary Post organization Memory Item entities
1544
+ * @param {AIApiCreateEntityOrgMemoryItemsRequest} requestParameters Request parameters.
1545
+ * @param {*} [options] Override http request option.
1546
+ * @throws {RequiredError}
1547
+ * @memberof AIApi
1548
+ */
1549
+ createEntityOrgMemoryItems(requestParameters, options) {
1550
+ return AIApi_CreateEntityOrgMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
1551
+ }
1149
1552
  /**
1150
1553
  *
1151
1554
  * @summary Delete a Knowledge Recommendation
@@ -1168,6 +1571,17 @@ export class AIApi extends BaseAPI {
1168
1571
  deleteEntityMemoryItems(requestParameters, options) {
1169
1572
  return AIApi_DeleteEntityMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
1170
1573
  }
1574
+ /**
1575
+ *
1576
+ * @summary Delete an organization Memory Item entity
1577
+ * @param {AIApiDeleteEntityOrgMemoryItemsRequest} requestParameters Request parameters.
1578
+ * @param {*} [options] Override http request option.
1579
+ * @throws {RequiredError}
1580
+ * @memberof AIApi
1581
+ */
1582
+ deleteEntityOrgMemoryItems(requestParameters, options) {
1583
+ return AIApi_DeleteEntityOrgMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
1584
+ }
1171
1585
  /**
1172
1586
  *
1173
1587
  * @summary Get all Knowledge Recommendations
@@ -1190,6 +1604,17 @@ export class AIApi extends BaseAPI {
1190
1604
  getAllEntitiesMemoryItems(requestParameters, options) {
1191
1605
  return AIApi_GetAllEntitiesMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
1192
1606
  }
1607
+ /**
1608
+ *
1609
+ * @summary Get all organization Memory Item entities
1610
+ * @param {AIApiGetAllEntitiesOrgMemoryItemsRequest} requestParameters Request parameters.
1611
+ * @param {*} [options] Override http request option.
1612
+ * @throws {RequiredError}
1613
+ * @memberof AIApi
1614
+ */
1615
+ getAllEntitiesOrgMemoryItems(requestParameters = {}, options) {
1616
+ return AIApi_GetAllEntitiesOrgMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
1617
+ }
1193
1618
  /**
1194
1619
  *
1195
1620
  * @summary Get a Knowledge Recommendation
@@ -1212,6 +1637,17 @@ export class AIApi extends BaseAPI {
1212
1637
  getEntityMemoryItems(requestParameters, options) {
1213
1638
  return AIApi_GetEntityMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
1214
1639
  }
1640
+ /**
1641
+ *
1642
+ * @summary Get an organization Memory Item entity
1643
+ * @param {AIApiGetEntityOrgMemoryItemsRequest} requestParameters Request parameters.
1644
+ * @param {*} [options] Override http request option.
1645
+ * @throws {RequiredError}
1646
+ * @memberof AIApi
1647
+ */
1648
+ getEntityOrgMemoryItems(requestParameters, options) {
1649
+ return AIApi_GetEntityOrgMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
1650
+ }
1215
1651
  /**
1216
1652
  * (BETA) Temporary solution. Later relevant metadata actions will trigger it in its scope only.
1217
1653
  * @summary (BETA) Sync Metadata to other services
@@ -1255,6 +1691,17 @@ export class AIApi extends BaseAPI {
1255
1691
  patchEntityMemoryItems(requestParameters, options) {
1256
1692
  return AIApi_PatchEntityMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
1257
1693
  }
1694
+ /**
1695
+ *
1696
+ * @summary Patch an organization Memory Item entity
1697
+ * @param {AIApiPatchEntityOrgMemoryItemsRequest} requestParameters Request parameters.
1698
+ * @param {*} [options] Override http request option.
1699
+ * @throws {RequiredError}
1700
+ * @memberof AIApi
1701
+ */
1702
+ patchEntityOrgMemoryItems(requestParameters, options) {
1703
+ return AIApi_PatchEntityOrgMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
1704
+ }
1258
1705
  /**
1259
1706
  *
1260
1707
  * @summary The search endpoint (beta)
@@ -1299,6 +1746,17 @@ export class AIApi extends BaseAPI {
1299
1746
  updateEntityMemoryItems(requestParameters, options) {
1300
1747
  return AIApi_UpdateEntityMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
1301
1748
  }
1749
+ /**
1750
+ *
1751
+ * @summary Put an organization Memory Item entity
1752
+ * @param {AIApiUpdateEntityOrgMemoryItemsRequest} requestParameters Request parameters.
1753
+ * @param {*} [options] Override http request option.
1754
+ * @throws {RequiredError}
1755
+ * @memberof AIApi
1756
+ */
1757
+ updateEntityOrgMemoryItems(requestParameters, options) {
1758
+ return AIApi_UpdateEntityOrgMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
1759
+ }
1302
1760
  }
1303
1761
  // AIAgentsApi FP - AIAgentsApiAxiosParamCreator
1304
1762
  /**
@@ -22916,6 +23374,57 @@ export async function EntitiesApiAxiosParamCreator_CreateEntityNotificationChann
22916
23374
  };
22917
23375
  }
22918
23376
  // EntitiesApi FP - EntitiesApiAxiosParamCreator
23377
+ /**
23378
+ * Organization-scoped AI memory item
23379
+ * @summary Post organization Memory Item entities
23380
+ * @param {JsonApiOrgMemoryItemInDocument} jsonApiOrgMemoryItemInDocument
23381
+ * @param {Array<'userIdentifiers' | 'createdBy' | 'modifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
23382
+ * @param {*} [options] Override http request option.
23383
+ * @param {Configuration} [configuration] Optional configuration.
23384
+ * @throws {RequiredError}
23385
+ */
23386
+ export async function EntitiesApiAxiosParamCreator_CreateEntityOrgMemoryItems(jsonApiOrgMemoryItemInDocument, include, options = {}, configuration) {
23387
+ // verify required parameter 'jsonApiOrgMemoryItemInDocument' is not null or undefined
23388
+ assertParamExists('createEntityOrgMemoryItems', 'jsonApiOrgMemoryItemInDocument', jsonApiOrgMemoryItemInDocument);
23389
+ const localVarPath = `/api/v1/entities/orgMemoryItems`;
23390
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23391
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23392
+ let baseOptions;
23393
+ if (configuration) {
23394
+ baseOptions = configuration.baseOptions;
23395
+ }
23396
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
23397
+ const localVarHeaderParameter = {};
23398
+ const localVarQueryParameter = {};
23399
+ if (include) {
23400
+ localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
23401
+ }
23402
+ const consumes = [
23403
+ 'application/vnd.gooddata.api+json',
23404
+ 'application/json'
23405
+ ];
23406
+ // use application/json if present, otherwise fallback to the first one
23407
+ localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
23408
+ ? 'application/json'
23409
+ : consumes[0];
23410
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23411
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
23412
+ localVarRequestOptions.headers = {
23413
+ ...localVarHeaderParameter,
23414
+ ...headersFromBaseOptions,
23415
+ ...options.headers,
23416
+ };
23417
+ const needsSerialization = typeof jsonApiOrgMemoryItemInDocument !== "string" ||
23418
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
23419
+ localVarRequestOptions.data = needsSerialization
23420
+ ? JSON.stringify(jsonApiOrgMemoryItemInDocument !== undefined ? jsonApiOrgMemoryItemInDocument : {})
23421
+ : jsonApiOrgMemoryItemInDocument || "";
23422
+ return {
23423
+ url: toPathString(localVarUrlObj),
23424
+ options: localVarRequestOptions,
23425
+ };
23426
+ }
23427
+ // EntitiesApi FP - EntitiesApiAxiosParamCreator
22919
23428
  /**
22920
23429
  *
22921
23430
  * @summary Post Organization Setting entities
@@ -24495,6 +25004,41 @@ export async function EntitiesApiAxiosParamCreator_DeleteEntityNotificationChann
24495
25004
  };
24496
25005
  }
24497
25006
  // EntitiesApi FP - EntitiesApiAxiosParamCreator
25007
+ /**
25008
+ *
25009
+ * @summary Delete an organization Memory Item entity
25010
+ * @param {string} id
25011
+ * @param {*} [options] Override http request option.
25012
+ * @param {Configuration} [configuration] Optional configuration.
25013
+ * @throws {RequiredError}
25014
+ */
25015
+ export async function EntitiesApiAxiosParamCreator_DeleteEntityOrgMemoryItems(id, options = {}, configuration) {
25016
+ // verify required parameter 'id' is not null or undefined
25017
+ assertParamExists('deleteEntityOrgMemoryItems', 'id', id);
25018
+ const localVarPath = `/api/v1/entities/orgMemoryItems/{id}`
25019
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
25020
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
25021
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25022
+ let baseOptions;
25023
+ if (configuration) {
25024
+ baseOptions = configuration.baseOptions;
25025
+ }
25026
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
25027
+ const localVarHeaderParameter = {};
25028
+ const localVarQueryParameter = {};
25029
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
25030
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
25031
+ localVarRequestOptions.headers = {
25032
+ ...localVarHeaderParameter,
25033
+ ...headersFromBaseOptions,
25034
+ ...options.headers,
25035
+ };
25036
+ return {
25037
+ url: toPathString(localVarUrlObj),
25038
+ options: localVarRequestOptions,
25039
+ };
25040
+ }
25041
+ // EntitiesApi FP - EntitiesApiAxiosParamCreator
24498
25042
  /**
24499
25043
  *
24500
25044
  * @summary Delete Organization Setting entity
@@ -26929,6 +27473,61 @@ export async function EntitiesApiAxiosParamCreator_GetAllEntitiesNotificationCha
26929
27473
  };
26930
27474
  }
26931
27475
  // EntitiesApi FP - EntitiesApiAxiosParamCreator
27476
+ /**
27477
+ *
27478
+ * @summary Get all organization Memory Item entities
27479
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
27480
+ * @param {Array<'userIdentifiers' | 'createdBy' | 'modifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
27481
+ * @param {number} [page] Zero-based page index (0..N)
27482
+ * @param {number} [size] The size of the page to be returned
27483
+ * @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
27484
+ * @param {Array<'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
27485
+ * @param {*} [options] Override http request option.
27486
+ * @param {Configuration} [configuration] Optional configuration.
27487
+ * @throws {RequiredError}
27488
+ */
27489
+ export async function EntitiesApiAxiosParamCreator_GetAllEntitiesOrgMemoryItems(filter, include, page, size, sort, metaInclude, options = {}, configuration) {
27490
+ const localVarPath = `/api/v1/entities/orgMemoryItems`;
27491
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
27492
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27493
+ let baseOptions;
27494
+ if (configuration) {
27495
+ baseOptions = configuration.baseOptions;
27496
+ }
27497
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
27498
+ const localVarHeaderParameter = {};
27499
+ const localVarQueryParameter = {};
27500
+ if (filter !== undefined) {
27501
+ localVarQueryParameter['filter'] = filter;
27502
+ }
27503
+ if (include) {
27504
+ localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
27505
+ }
27506
+ if (page !== undefined) {
27507
+ localVarQueryParameter['page'] = page;
27508
+ }
27509
+ if (size !== undefined) {
27510
+ localVarQueryParameter['size'] = size;
27511
+ }
27512
+ if (sort) {
27513
+ localVarQueryParameter['sort'] = sort;
27514
+ }
27515
+ if (metaInclude) {
27516
+ localVarQueryParameter['metaInclude'] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
27517
+ }
27518
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
27519
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
27520
+ localVarRequestOptions.headers = {
27521
+ ...localVarHeaderParameter,
27522
+ ...headersFromBaseOptions,
27523
+ ...options.headers,
27524
+ };
27525
+ return {
27526
+ url: toPathString(localVarUrlObj),
27527
+ options: localVarRequestOptions,
27528
+ };
27529
+ }
27530
+ // EntitiesApi FP - EntitiesApiAxiosParamCreator
26932
27531
  /**
26933
27532
  *
26934
27533
  * @summary Get Organization Setting entities
@@ -29356,6 +29955,49 @@ export async function EntitiesApiAxiosParamCreator_GetEntityNotificationChannels
29356
29955
  };
29357
29956
  }
29358
29957
  // EntitiesApi FP - EntitiesApiAxiosParamCreator
29958
+ /**
29959
+ *
29960
+ * @summary Get an organization Memory Item entity
29961
+ * @param {string} id
29962
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
29963
+ * @param {Array<'userIdentifiers' | 'createdBy' | 'modifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
29964
+ * @param {*} [options] Override http request option.
29965
+ * @param {Configuration} [configuration] Optional configuration.
29966
+ * @throws {RequiredError}
29967
+ */
29968
+ export async function EntitiesApiAxiosParamCreator_GetEntityOrgMemoryItems(id, filter, include, options = {}, configuration) {
29969
+ // verify required parameter 'id' is not null or undefined
29970
+ assertParamExists('getEntityOrgMemoryItems', 'id', id);
29971
+ const localVarPath = `/api/v1/entities/orgMemoryItems/{id}`
29972
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
29973
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29974
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29975
+ let baseOptions;
29976
+ if (configuration) {
29977
+ baseOptions = configuration.baseOptions;
29978
+ }
29979
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
29980
+ const localVarHeaderParameter = {};
29981
+ const localVarQueryParameter = {};
29982
+ if (filter !== undefined) {
29983
+ localVarQueryParameter['filter'] = filter;
29984
+ }
29985
+ if (include) {
29986
+ localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
29987
+ }
29988
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29989
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
29990
+ localVarRequestOptions.headers = {
29991
+ ...localVarHeaderParameter,
29992
+ ...headersFromBaseOptions,
29993
+ ...options.headers,
29994
+ };
29995
+ return {
29996
+ url: toPathString(localVarUrlObj),
29997
+ options: localVarRequestOptions,
29998
+ };
29999
+ }
30000
+ // EntitiesApi FP - EntitiesApiAxiosParamCreator
29359
30001
  /**
29360
30002
  *
29361
30003
  * @summary Get Organization Setting entity
@@ -31642,6 +32284,65 @@ export async function EntitiesApiAxiosParamCreator_PatchEntityNotificationChanne
31642
32284
  };
31643
32285
  }
31644
32286
  // EntitiesApi FP - EntitiesApiAxiosParamCreator
32287
+ /**
32288
+ *
32289
+ * @summary Patch an organization Memory Item entity
32290
+ * @param {string} id
32291
+ * @param {JsonApiOrgMemoryItemPatchDocument} jsonApiOrgMemoryItemPatchDocument
32292
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
32293
+ * @param {Array<'userIdentifiers' | 'createdBy' | 'modifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
32294
+ * @param {*} [options] Override http request option.
32295
+ * @param {Configuration} [configuration] Optional configuration.
32296
+ * @throws {RequiredError}
32297
+ */
32298
+ export async function EntitiesApiAxiosParamCreator_PatchEntityOrgMemoryItems(id, jsonApiOrgMemoryItemPatchDocument, filter, include, options = {}, configuration) {
32299
+ // verify required parameter 'id' is not null or undefined
32300
+ assertParamExists('patchEntityOrgMemoryItems', 'id', id);
32301
+ // verify required parameter 'jsonApiOrgMemoryItemPatchDocument' is not null or undefined
32302
+ assertParamExists('patchEntityOrgMemoryItems', 'jsonApiOrgMemoryItemPatchDocument', jsonApiOrgMemoryItemPatchDocument);
32303
+ const localVarPath = `/api/v1/entities/orgMemoryItems/{id}`
32304
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
32305
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32306
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32307
+ let baseOptions;
32308
+ if (configuration) {
32309
+ baseOptions = configuration.baseOptions;
32310
+ }
32311
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
32312
+ const localVarHeaderParameter = {};
32313
+ const localVarQueryParameter = {};
32314
+ if (filter !== undefined) {
32315
+ localVarQueryParameter['filter'] = filter;
32316
+ }
32317
+ if (include) {
32318
+ localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
32319
+ }
32320
+ const consumes = [
32321
+ 'application/vnd.gooddata.api+json',
32322
+ 'application/json'
32323
+ ];
32324
+ // use application/json if present, otherwise fallback to the first one
32325
+ localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
32326
+ ? 'application/json'
32327
+ : consumes[0];
32328
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32329
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
32330
+ localVarRequestOptions.headers = {
32331
+ ...localVarHeaderParameter,
32332
+ ...headersFromBaseOptions,
32333
+ ...options.headers,
32334
+ };
32335
+ const needsSerialization = typeof jsonApiOrgMemoryItemPatchDocument !== "string" ||
32336
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
32337
+ localVarRequestOptions.data = needsSerialization
32338
+ ? JSON.stringify(jsonApiOrgMemoryItemPatchDocument !== undefined ? jsonApiOrgMemoryItemPatchDocument : {})
32339
+ : jsonApiOrgMemoryItemPatchDocument || "";
32340
+ return {
32341
+ url: toPathString(localVarUrlObj),
32342
+ options: localVarRequestOptions,
32343
+ };
32344
+ }
32345
+ // EntitiesApi FP - EntitiesApiAxiosParamCreator
31645
32346
  /**
31646
32347
  *
31647
32348
  * @summary Patch Organization Setting entity
@@ -35149,20 +35850,21 @@ export async function EntitiesApiAxiosParamCreator_UpdateEntityNotificationChann
35149
35850
  // EntitiesApi FP - EntitiesApiAxiosParamCreator
35150
35851
  /**
35151
35852
  *
35152
- * @summary Put Organization Setting entity
35853
+ * @summary Put an organization Memory Item entity
35153
35854
  * @param {string} id
35154
- * @param {JsonApiOrganizationSettingInDocument} jsonApiOrganizationSettingInDocument
35855
+ * @param {JsonApiOrgMemoryItemInDocument} jsonApiOrgMemoryItemInDocument
35155
35856
  * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
35857
+ * @param {Array<'userIdentifiers' | 'createdBy' | 'modifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
35156
35858
  * @param {*} [options] Override http request option.
35157
35859
  * @param {Configuration} [configuration] Optional configuration.
35158
35860
  * @throws {RequiredError}
35159
35861
  */
35160
- export async function EntitiesApiAxiosParamCreator_UpdateEntityOrganizationSettings(id, jsonApiOrganizationSettingInDocument, filter, options = {}, configuration) {
35862
+ export async function EntitiesApiAxiosParamCreator_UpdateEntityOrgMemoryItems(id, jsonApiOrgMemoryItemInDocument, filter, include, options = {}, configuration) {
35161
35863
  // verify required parameter 'id' is not null or undefined
35162
- assertParamExists('updateEntityOrganizationSettings', 'id', id);
35163
- // verify required parameter 'jsonApiOrganizationSettingInDocument' is not null or undefined
35164
- assertParamExists('updateEntityOrganizationSettings', 'jsonApiOrganizationSettingInDocument', jsonApiOrganizationSettingInDocument);
35165
- const localVarPath = `/api/v1/entities/organizationSettings/{id}`
35864
+ assertParamExists('updateEntityOrgMemoryItems', 'id', id);
35865
+ // verify required parameter 'jsonApiOrgMemoryItemInDocument' is not null or undefined
35866
+ assertParamExists('updateEntityOrgMemoryItems', 'jsonApiOrgMemoryItemInDocument', jsonApiOrgMemoryItemInDocument);
35867
+ const localVarPath = `/api/v1/entities/orgMemoryItems/{id}`
35166
35868
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
35167
35869
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
35168
35870
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -35176,6 +35878,9 @@ export async function EntitiesApiAxiosParamCreator_UpdateEntityOrganizationSetti
35176
35878
  if (filter !== undefined) {
35177
35879
  localVarQueryParameter['filter'] = filter;
35178
35880
  }
35881
+ if (include) {
35882
+ localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
35883
+ }
35179
35884
  const consumes = [
35180
35885
  'application/vnd.gooddata.api+json',
35181
35886
  'application/json'
@@ -35191,11 +35896,11 @@ export async function EntitiesApiAxiosParamCreator_UpdateEntityOrganizationSetti
35191
35896
  ...headersFromBaseOptions,
35192
35897
  ...options.headers,
35193
35898
  };
35194
- const needsSerialization = typeof jsonApiOrganizationSettingInDocument !== "string" ||
35899
+ const needsSerialization = typeof jsonApiOrgMemoryItemInDocument !== "string" ||
35195
35900
  localVarRequestOptions.headers["Content-Type"] === "application/json";
35196
35901
  localVarRequestOptions.data = needsSerialization
35197
- ? JSON.stringify(jsonApiOrganizationSettingInDocument !== undefined ? jsonApiOrganizationSettingInDocument : {})
35198
- : jsonApiOrganizationSettingInDocument || "";
35902
+ ? JSON.stringify(jsonApiOrgMemoryItemInDocument !== undefined ? jsonApiOrgMemoryItemInDocument : {})
35903
+ : jsonApiOrgMemoryItemInDocument || "";
35199
35904
  return {
35200
35905
  url: toPathString(localVarUrlObj),
35201
35906
  options: localVarRequestOptions,
@@ -35204,21 +35909,20 @@ export async function EntitiesApiAxiosParamCreator_UpdateEntityOrganizationSetti
35204
35909
  // EntitiesApi FP - EntitiesApiAxiosParamCreator
35205
35910
  /**
35206
35911
  *
35207
- * @summary Put Organization
35912
+ * @summary Put Organization Setting entity
35208
35913
  * @param {string} id
35209
- * @param {JsonApiOrganizationInDocument} jsonApiOrganizationInDocument
35914
+ * @param {JsonApiOrganizationSettingInDocument} jsonApiOrganizationSettingInDocument
35210
35915
  * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
35211
- * @param {Array<'users' | 'userGroups' | 'identityProviders' | 'bootstrapUser' | 'bootstrapUserGroup' | 'identityProvider' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
35212
35916
  * @param {*} [options] Override http request option.
35213
35917
  * @param {Configuration} [configuration] Optional configuration.
35214
35918
  * @throws {RequiredError}
35215
35919
  */
35216
- export async function EntitiesApiAxiosParamCreator_UpdateEntityOrganizations(id, jsonApiOrganizationInDocument, filter, include, options = {}, configuration) {
35920
+ export async function EntitiesApiAxiosParamCreator_UpdateEntityOrganizationSettings(id, jsonApiOrganizationSettingInDocument, filter, options = {}, configuration) {
35217
35921
  // verify required parameter 'id' is not null or undefined
35218
- assertParamExists('updateEntityOrganizations', 'id', id);
35219
- // verify required parameter 'jsonApiOrganizationInDocument' is not null or undefined
35220
- assertParamExists('updateEntityOrganizations', 'jsonApiOrganizationInDocument', jsonApiOrganizationInDocument);
35221
- const localVarPath = `/api/v1/entities/admin/organizations/{id}`
35922
+ assertParamExists('updateEntityOrganizationSettings', 'id', id);
35923
+ // verify required parameter 'jsonApiOrganizationSettingInDocument' is not null or undefined
35924
+ assertParamExists('updateEntityOrganizationSettings', 'jsonApiOrganizationSettingInDocument', jsonApiOrganizationSettingInDocument);
35925
+ const localVarPath = `/api/v1/entities/organizationSettings/{id}`
35222
35926
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
35223
35927
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
35224
35928
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -35232,9 +35936,6 @@ export async function EntitiesApiAxiosParamCreator_UpdateEntityOrganizations(id,
35232
35936
  if (filter !== undefined) {
35233
35937
  localVarQueryParameter['filter'] = filter;
35234
35938
  }
35235
- if (include) {
35236
- localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
35237
- }
35238
35939
  const consumes = [
35239
35940
  'application/vnd.gooddata.api+json',
35240
35941
  'application/json'
@@ -35250,11 +35951,11 @@ export async function EntitiesApiAxiosParamCreator_UpdateEntityOrganizations(id,
35250
35951
  ...headersFromBaseOptions,
35251
35952
  ...options.headers,
35252
35953
  };
35253
- const needsSerialization = typeof jsonApiOrganizationInDocument !== "string" ||
35954
+ const needsSerialization = typeof jsonApiOrganizationSettingInDocument !== "string" ||
35254
35955
  localVarRequestOptions.headers["Content-Type"] === "application/json";
35255
35956
  localVarRequestOptions.data = needsSerialization
35256
- ? JSON.stringify(jsonApiOrganizationInDocument !== undefined ? jsonApiOrganizationInDocument : {})
35257
- : jsonApiOrganizationInDocument || "";
35957
+ ? JSON.stringify(jsonApiOrganizationSettingInDocument !== undefined ? jsonApiOrganizationSettingInDocument : {})
35958
+ : jsonApiOrganizationSettingInDocument || "";
35258
35959
  return {
35259
35960
  url: toPathString(localVarUrlObj),
35260
35961
  options: localVarRequestOptions,
@@ -35263,26 +35964,85 @@ export async function EntitiesApiAxiosParamCreator_UpdateEntityOrganizations(id,
35263
35964
  // EntitiesApi FP - EntitiesApiAxiosParamCreator
35264
35965
  /**
35265
35966
  *
35266
- * @summary Put a Parameter
35267
- * @param {string} workspaceId
35268
- * @param {string} objectId
35269
- * @param {JsonApiParameterInDocument} jsonApiParameterInDocument
35967
+ * @summary Put Organization
35968
+ * @param {string} id
35969
+ * @param {JsonApiOrganizationInDocument} jsonApiOrganizationInDocument
35270
35970
  * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
35271
- * @param {Array<'userIdentifiers' | 'createdBy' | 'modifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
35971
+ * @param {Array<'users' | 'userGroups' | 'identityProviders' | 'bootstrapUser' | 'bootstrapUserGroup' | 'identityProvider' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
35272
35972
  * @param {*} [options] Override http request option.
35273
35973
  * @param {Configuration} [configuration] Optional configuration.
35274
35974
  * @throws {RequiredError}
35275
35975
  */
35276
- export async function EntitiesApiAxiosParamCreator_UpdateEntityParameters(workspaceId, objectId, jsonApiParameterInDocument, filter, include, options = {}, configuration) {
35277
- // verify required parameter 'workspaceId' is not null or undefined
35278
- assertParamExists('updateEntityParameters', 'workspaceId', workspaceId);
35279
- // verify required parameter 'objectId' is not null or undefined
35280
- assertParamExists('updateEntityParameters', 'objectId', objectId);
35281
- // verify required parameter 'jsonApiParameterInDocument' is not null or undefined
35282
- assertParamExists('updateEntityParameters', 'jsonApiParameterInDocument', jsonApiParameterInDocument);
35283
- const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/parameters/{objectId}`
35284
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
35285
- .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
35976
+ export async function EntitiesApiAxiosParamCreator_UpdateEntityOrganizations(id, jsonApiOrganizationInDocument, filter, include, options = {}, configuration) {
35977
+ // verify required parameter 'id' is not null or undefined
35978
+ assertParamExists('updateEntityOrganizations', 'id', id);
35979
+ // verify required parameter 'jsonApiOrganizationInDocument' is not null or undefined
35980
+ assertParamExists('updateEntityOrganizations', 'jsonApiOrganizationInDocument', jsonApiOrganizationInDocument);
35981
+ const localVarPath = `/api/v1/entities/admin/organizations/{id}`
35982
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
35983
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35984
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35985
+ let baseOptions;
35986
+ if (configuration) {
35987
+ baseOptions = configuration.baseOptions;
35988
+ }
35989
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
35990
+ const localVarHeaderParameter = {};
35991
+ const localVarQueryParameter = {};
35992
+ if (filter !== undefined) {
35993
+ localVarQueryParameter['filter'] = filter;
35994
+ }
35995
+ if (include) {
35996
+ localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
35997
+ }
35998
+ const consumes = [
35999
+ 'application/vnd.gooddata.api+json',
36000
+ 'application/json'
36001
+ ];
36002
+ // use application/json if present, otherwise fallback to the first one
36003
+ localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
36004
+ ? 'application/json'
36005
+ : consumes[0];
36006
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36007
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
36008
+ localVarRequestOptions.headers = {
36009
+ ...localVarHeaderParameter,
36010
+ ...headersFromBaseOptions,
36011
+ ...options.headers,
36012
+ };
36013
+ const needsSerialization = typeof jsonApiOrganizationInDocument !== "string" ||
36014
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
36015
+ localVarRequestOptions.data = needsSerialization
36016
+ ? JSON.stringify(jsonApiOrganizationInDocument !== undefined ? jsonApiOrganizationInDocument : {})
36017
+ : jsonApiOrganizationInDocument || "";
36018
+ return {
36019
+ url: toPathString(localVarUrlObj),
36020
+ options: localVarRequestOptions,
36021
+ };
36022
+ }
36023
+ // EntitiesApi FP - EntitiesApiAxiosParamCreator
36024
+ /**
36025
+ *
36026
+ * @summary Put a Parameter
36027
+ * @param {string} workspaceId
36028
+ * @param {string} objectId
36029
+ * @param {JsonApiParameterInDocument} jsonApiParameterInDocument
36030
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
36031
+ * @param {Array<'userIdentifiers' | 'createdBy' | 'modifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
36032
+ * @param {*} [options] Override http request option.
36033
+ * @param {Configuration} [configuration] Optional configuration.
36034
+ * @throws {RequiredError}
36035
+ */
36036
+ export async function EntitiesApiAxiosParamCreator_UpdateEntityParameters(workspaceId, objectId, jsonApiParameterInDocument, filter, include, options = {}, configuration) {
36037
+ // verify required parameter 'workspaceId' is not null or undefined
36038
+ assertParamExists('updateEntityParameters', 'workspaceId', workspaceId);
36039
+ // verify required parameter 'objectId' is not null or undefined
36040
+ assertParamExists('updateEntityParameters', 'objectId', objectId);
36041
+ // verify required parameter 'jsonApiParameterInDocument' is not null or undefined
36042
+ assertParamExists('updateEntityParameters', 'jsonApiParameterInDocument', jsonApiParameterInDocument);
36043
+ const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/parameters/{objectId}`
36044
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
36045
+ .replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
35286
36046
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
35287
36047
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35288
36048
  let baseOptions;
@@ -36300,6 +37060,21 @@ export async function EntitiesApi_CreateEntityNotificationChannels(axios, basePa
36300
37060
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
36301
37061
  }
36302
37062
  // EntitiesApi Api FP
37063
+ /**
37064
+ * Organization-scoped AI memory item
37065
+ * @summary Post organization Memory Item entities
37066
+ * @param {AxiosInstance} axios Axios instance.
37067
+ * @param {string} basePath Base path.
37068
+ * @param {EntitiesApiCreateEntityOrgMemoryItemsRequest} requestParameters Request parameters.
37069
+ * @param {*} [options] Override http request option.
37070
+ * @param {Configuration} [configuration] Optional configuration.
37071
+ * @throws {RequiredError}
37072
+ */
37073
+ export async function EntitiesApi_CreateEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
37074
+ const localVarAxiosArgs = await EntitiesApiAxiosParamCreator_CreateEntityOrgMemoryItems(requestParameters.jsonApiOrgMemoryItemInDocument, requestParameters.include, options || {}, configuration);
37075
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
37076
+ }
37077
+ // EntitiesApi Api FP
36303
37078
  /**
36304
37079
  *
36305
37080
  * @summary Post Organization Setting entities
@@ -36855,6 +37630,21 @@ export async function EntitiesApi_DeleteEntityNotificationChannels(axios, basePa
36855
37630
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
36856
37631
  }
36857
37632
  // EntitiesApi Api FP
37633
+ /**
37634
+ *
37635
+ * @summary Delete an organization Memory Item entity
37636
+ * @param {AxiosInstance} axios Axios instance.
37637
+ * @param {string} basePath Base path.
37638
+ * @param {EntitiesApiDeleteEntityOrgMemoryItemsRequest} requestParameters Request parameters.
37639
+ * @param {*} [options] Override http request option.
37640
+ * @param {Configuration} [configuration] Optional configuration.
37641
+ * @throws {RequiredError}
37642
+ */
37643
+ export async function EntitiesApi_DeleteEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
37644
+ const localVarAxiosArgs = await EntitiesApiAxiosParamCreator_DeleteEntityOrgMemoryItems(requestParameters.id, options || {}, configuration);
37645
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
37646
+ }
37647
+ // EntitiesApi Api FP
36858
37648
  /**
36859
37649
  *
36860
37650
  * @summary Delete Organization Setting entity
@@ -37544,6 +38334,21 @@ export async function EntitiesApi_GetAllEntitiesNotificationChannels(axios, base
37544
38334
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
37545
38335
  }
37546
38336
  // EntitiesApi Api FP
38337
+ /**
38338
+ *
38339
+ * @summary Get all organization Memory Item entities
38340
+ * @param {AxiosInstance} axios Axios instance.
38341
+ * @param {string} basePath Base path.
38342
+ * @param {EntitiesApiGetAllEntitiesOrgMemoryItemsRequest} requestParameters Request parameters.
38343
+ * @param {*} [options] Override http request option.
38344
+ * @param {Configuration} [configuration] Optional configuration.
38345
+ * @throws {RequiredError}
38346
+ */
38347
+ export async function EntitiesApi_GetAllEntitiesOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
38348
+ const localVarAxiosArgs = await EntitiesApiAxiosParamCreator_GetAllEntitiesOrgMemoryItems(requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.metaInclude, options || {}, configuration);
38349
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
38350
+ }
38351
+ // EntitiesApi Api FP
37547
38352
  /**
37548
38353
  *
37549
38354
  * @summary Get Organization Setting entities
@@ -38277,6 +39082,21 @@ export async function EntitiesApi_GetEntityNotificationChannels(axios, basePath,
38277
39082
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
38278
39083
  }
38279
39084
  // EntitiesApi Api FP
39085
+ /**
39086
+ *
39087
+ * @summary Get an organization Memory Item entity
39088
+ * @param {AxiosInstance} axios Axios instance.
39089
+ * @param {string} basePath Base path.
39090
+ * @param {EntitiesApiGetEntityOrgMemoryItemsRequest} requestParameters Request parameters.
39091
+ * @param {*} [options] Override http request option.
39092
+ * @param {Configuration} [configuration] Optional configuration.
39093
+ * @throws {RequiredError}
39094
+ */
39095
+ export async function EntitiesApi_GetEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
39096
+ const localVarAxiosArgs = await EntitiesApiAxiosParamCreator_GetEntityOrgMemoryItems(requestParameters.id, requestParameters.filter, requestParameters.include, options || {}, configuration);
39097
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
39098
+ }
39099
+ // EntitiesApi Api FP
38280
39100
  /**
38281
39101
  *
38282
39102
  * @summary Get Organization Setting entity
@@ -38907,6 +39727,21 @@ export async function EntitiesApi_PatchEntityNotificationChannels(axios, basePat
38907
39727
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
38908
39728
  }
38909
39729
  // EntitiesApi Api FP
39730
+ /**
39731
+ *
39732
+ * @summary Patch an organization Memory Item entity
39733
+ * @param {AxiosInstance} axios Axios instance.
39734
+ * @param {string} basePath Base path.
39735
+ * @param {EntitiesApiPatchEntityOrgMemoryItemsRequest} requestParameters Request parameters.
39736
+ * @param {*} [options] Override http request option.
39737
+ * @param {Configuration} [configuration] Optional configuration.
39738
+ * @throws {RequiredError}
39739
+ */
39740
+ export async function EntitiesApi_PatchEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
39741
+ const localVarAxiosArgs = await EntitiesApiAxiosParamCreator_PatchEntityOrgMemoryItems(requestParameters.id, requestParameters.jsonApiOrgMemoryItemPatchDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
39742
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
39743
+ }
39744
+ // EntitiesApi Api FP
38910
39745
  /**
38911
39746
  *
38912
39747
  * @summary Patch Organization Setting entity
@@ -39807,6 +40642,21 @@ export async function EntitiesApi_UpdateEntityNotificationChannels(axios, basePa
39807
40642
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
39808
40643
  }
39809
40644
  // EntitiesApi Api FP
40645
+ /**
40646
+ *
40647
+ * @summary Put an organization Memory Item entity
40648
+ * @param {AxiosInstance} axios Axios instance.
40649
+ * @param {string} basePath Base path.
40650
+ * @param {EntitiesApiUpdateEntityOrgMemoryItemsRequest} 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_UpdateEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
40656
+ const localVarAxiosArgs = await EntitiesApiAxiosParamCreator_UpdateEntityOrgMemoryItems(requestParameters.id, requestParameters.jsonApiOrgMemoryItemInDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
40657
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
40658
+ }
40659
+ // EntitiesApi Api FP
39810
40660
  /**
39811
40661
  *
39812
40662
  * @summary Put Organization Setting entity
@@ -40283,6 +41133,17 @@ export class EntitiesApi extends BaseAPI {
40283
41133
  createEntityNotificationChannels(requestParameters, options) {
40284
41134
  return EntitiesApi_CreateEntityNotificationChannels(this.axios, this.basePath, requestParameters, options, this.configuration);
40285
41135
  }
41136
+ /**
41137
+ * Organization-scoped AI memory item
41138
+ * @summary Post organization Memory Item entities
41139
+ * @param {EntitiesApiCreateEntityOrgMemoryItemsRequest} requestParameters Request parameters.
41140
+ * @param {*} [options] Override http request option.
41141
+ * @throws {RequiredError}
41142
+ * @memberof EntitiesApi
41143
+ */
41144
+ createEntityOrgMemoryItems(requestParameters, options) {
41145
+ return EntitiesApi_CreateEntityOrgMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
41146
+ }
40286
41147
  /**
40287
41148
  *
40288
41149
  * @summary Post Organization Setting entities
@@ -40691,6 +41552,17 @@ export class EntitiesApi extends BaseAPI {
40691
41552
  deleteEntityNotificationChannels(requestParameters, options) {
40692
41553
  return EntitiesApi_DeleteEntityNotificationChannels(this.axios, this.basePath, requestParameters, options, this.configuration);
40693
41554
  }
41555
+ /**
41556
+ *
41557
+ * @summary Delete an organization Memory Item entity
41558
+ * @param {EntitiesApiDeleteEntityOrgMemoryItemsRequest} requestParameters Request parameters.
41559
+ * @param {*} [options] Override http request option.
41560
+ * @throws {RequiredError}
41561
+ * @memberof EntitiesApi
41562
+ */
41563
+ deleteEntityOrgMemoryItems(requestParameters, options) {
41564
+ return EntitiesApi_DeleteEntityOrgMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
41565
+ }
40694
41566
  /**
40695
41567
  *
40696
41568
  * @summary Delete Organization Setting entity
@@ -41197,6 +42069,17 @@ export class EntitiesApi extends BaseAPI {
41197
42069
  getAllEntitiesNotificationChannels(requestParameters = {}, options) {
41198
42070
  return EntitiesApi_GetAllEntitiesNotificationChannels(this.axios, this.basePath, requestParameters, options, this.configuration);
41199
42071
  }
42072
+ /**
42073
+ *
42074
+ * @summary Get all organization Memory Item entities
42075
+ * @param {EntitiesApiGetAllEntitiesOrgMemoryItemsRequest} requestParameters Request parameters.
42076
+ * @param {*} [options] Override http request option.
42077
+ * @throws {RequiredError}
42078
+ * @memberof EntitiesApi
42079
+ */
42080
+ getAllEntitiesOrgMemoryItems(requestParameters = {}, options) {
42081
+ return EntitiesApi_GetAllEntitiesOrgMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
42082
+ }
41200
42083
  /**
41201
42084
  *
41202
42085
  * @summary Get Organization Setting entities
@@ -41735,6 +42618,17 @@ export class EntitiesApi extends BaseAPI {
41735
42618
  getEntityNotificationChannels(requestParameters, options) {
41736
42619
  return EntitiesApi_GetEntityNotificationChannels(this.axios, this.basePath, requestParameters, options, this.configuration);
41737
42620
  }
42621
+ /**
42622
+ *
42623
+ * @summary Get an organization Memory Item entity
42624
+ * @param {EntitiesApiGetEntityOrgMemoryItemsRequest} requestParameters Request parameters.
42625
+ * @param {*} [options] Override http request option.
42626
+ * @throws {RequiredError}
42627
+ * @memberof EntitiesApi
42628
+ */
42629
+ getEntityOrgMemoryItems(requestParameters, options) {
42630
+ return EntitiesApi_GetEntityOrgMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
42631
+ }
41738
42632
  /**
41739
42633
  *
41740
42634
  * @summary Get Organization Setting entity
@@ -42198,6 +43092,17 @@ export class EntitiesApi extends BaseAPI {
42198
43092
  patchEntityNotificationChannels(requestParameters, options) {
42199
43093
  return EntitiesApi_PatchEntityNotificationChannels(this.axios, this.basePath, requestParameters, options, this.configuration);
42200
43094
  }
43095
+ /**
43096
+ *
43097
+ * @summary Patch an organization Memory Item entity
43098
+ * @param {EntitiesApiPatchEntityOrgMemoryItemsRequest} requestParameters Request parameters.
43099
+ * @param {*} [options] Override http request option.
43100
+ * @throws {RequiredError}
43101
+ * @memberof EntitiesApi
43102
+ */
43103
+ patchEntityOrgMemoryItems(requestParameters, options) {
43104
+ return EntitiesApi_PatchEntityOrgMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
43105
+ }
42201
43106
  /**
42202
43107
  *
42203
43108
  * @summary Patch Organization Setting entity
@@ -42859,6 +43764,17 @@ export class EntitiesApi extends BaseAPI {
42859
43764
  updateEntityNotificationChannels(requestParameters, options) {
42860
43765
  return EntitiesApi_UpdateEntityNotificationChannels(this.axios, this.basePath, requestParameters, options, this.configuration);
42861
43766
  }
43767
+ /**
43768
+ *
43769
+ * @summary Put an organization Memory Item entity
43770
+ * @param {EntitiesApiUpdateEntityOrgMemoryItemsRequest} requestParameters Request parameters.
43771
+ * @param {*} [options] Override http request option.
43772
+ * @throws {RequiredError}
43773
+ * @memberof EntitiesApi
43774
+ */
43775
+ updateEntityOrgMemoryItems(requestParameters, options) {
43776
+ return EntitiesApi_UpdateEntityOrgMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
43777
+ }
42862
43778
  /**
42863
43779
  *
42864
43780
  * @summary Put Organization Setting entity
@@ -61878,25 +62794,40 @@ export class OptionsApi extends BaseAPI {
61878
62794
  return OptionsApi_GetAllOptions(this.axios, this.basePath, options, this.configuration);
61879
62795
  }
61880
62796
  }
61881
- // OrganizationDeclarativeAPIsApi FP - OrganizationDeclarativeAPIsApiAxiosParamCreator
62797
+ // OrgMemoryItemControllerApi FP - OrgMemoryItemControllerApiAxiosParamCreator
61882
62798
  /**
61883
- * Gets complete layout of AI agent configurations.
61884
- * @summary Get all AI agent configurations layout
62799
+ * Organization-scoped AI memory item
62800
+ * @summary Post organization Memory Item entities
62801
+ * @param {JsonApiOrgMemoryItemInDocument} jsonApiOrgMemoryItemInDocument
62802
+ * @param {Array<'userIdentifiers' | 'createdBy' | 'modifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
61885
62803
  * @param {*} [options] Override http request option.
61886
62804
  * @param {Configuration} [configuration] Optional configuration.
61887
62805
  * @throws {RequiredError}
61888
62806
  */
61889
- export async function OrganizationDeclarativeAPIsApiAxiosParamCreator_GetAgentsLayout(options = {}, configuration) {
61890
- const localVarPath = `/api/v1/layout/agents`;
62807
+ export async function OrgMemoryItemControllerApiAxiosParamCreator_CreateEntityOrgMemoryItems(jsonApiOrgMemoryItemInDocument, include, options = {}, configuration) {
62808
+ // verify required parameter 'jsonApiOrgMemoryItemInDocument' is not null or undefined
62809
+ assertParamExists('createEntityOrgMemoryItems', 'jsonApiOrgMemoryItemInDocument', jsonApiOrgMemoryItemInDocument);
62810
+ const localVarPath = `/api/v1/entities/orgMemoryItems`;
61891
62811
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
61892
62812
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
61893
62813
  let baseOptions;
61894
62814
  if (configuration) {
61895
62815
  baseOptions = configuration.baseOptions;
61896
62816
  }
61897
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
62817
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
61898
62818
  const localVarHeaderParameter = {};
61899
62819
  const localVarQueryParameter = {};
62820
+ if (include) {
62821
+ localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
62822
+ }
62823
+ const consumes = [
62824
+ 'application/vnd.gooddata.api+json',
62825
+ 'application/json'
62826
+ ];
62827
+ // use application/json if present, otherwise fallback to the first one
62828
+ localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
62829
+ ? 'application/json'
62830
+ : consumes[0];
61900
62831
  setSearchParams(localVarUrlObj, localVarQueryParameter);
61901
62832
  const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
61902
62833
  localVarRequestOptions.headers = {
@@ -61904,28 +62835,37 @@ export async function OrganizationDeclarativeAPIsApiAxiosParamCreator_GetAgentsL
61904
62835
  ...headersFromBaseOptions,
61905
62836
  ...options.headers,
61906
62837
  };
62838
+ const needsSerialization = typeof jsonApiOrgMemoryItemInDocument !== "string" ||
62839
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
62840
+ localVarRequestOptions.data = needsSerialization
62841
+ ? JSON.stringify(jsonApiOrgMemoryItemInDocument !== undefined ? jsonApiOrgMemoryItemInDocument : {})
62842
+ : jsonApiOrgMemoryItemInDocument || "";
61907
62843
  return {
61908
62844
  url: toPathString(localVarUrlObj),
61909
62845
  options: localVarRequestOptions,
61910
62846
  };
61911
62847
  }
61912
- // OrganizationDeclarativeAPIsApi FP - OrganizationDeclarativeAPIsApiAxiosParamCreator
62848
+ // OrgMemoryItemControllerApi FP - OrgMemoryItemControllerApiAxiosParamCreator
61913
62849
  /**
61914
- * Gets complete layout of custom geo collections.
61915
- * @summary Get all custom geo collections layout
62850
+ *
62851
+ * @summary Delete an organization Memory Item entity
62852
+ * @param {string} id
61916
62853
  * @param {*} [options] Override http request option.
61917
62854
  * @param {Configuration} [configuration] Optional configuration.
61918
62855
  * @throws {RequiredError}
61919
62856
  */
61920
- export async function OrganizationDeclarativeAPIsApiAxiosParamCreator_GetCustomGeoCollectionsLayout(options = {}, configuration) {
61921
- const localVarPath = `/api/v1/layout/customGeoCollections`;
62857
+ export async function OrgMemoryItemControllerApiAxiosParamCreator_DeleteEntityOrgMemoryItems(id, options = {}, configuration) {
62858
+ // verify required parameter 'id' is not null or undefined
62859
+ assertParamExists('deleteEntityOrgMemoryItems', 'id', id);
62860
+ const localVarPath = `/api/v1/entities/orgMemoryItems/{id}`
62861
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
61922
62862
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
61923
62863
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
61924
62864
  let baseOptions;
61925
62865
  if (configuration) {
61926
62866
  baseOptions = configuration.baseOptions;
61927
62867
  }
61928
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
62868
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
61929
62869
  const localVarHeaderParameter = {};
61930
62870
  const localVarQueryParameter = {};
61931
62871
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -61940,17 +62880,22 @@ export async function OrganizationDeclarativeAPIsApiAxiosParamCreator_GetCustomG
61940
62880
  options: localVarRequestOptions,
61941
62881
  };
61942
62882
  }
61943
- // OrganizationDeclarativeAPIsApi FP - OrganizationDeclarativeAPIsApiAxiosParamCreator
62883
+ // OrgMemoryItemControllerApi FP - OrgMemoryItemControllerApiAxiosParamCreator
61944
62884
  /**
61945
- * Retrieve complete layout of organization, workspaces, user-groups, etc.
61946
- * @summary Get organization layout
61947
- * @param {Array<'ACTIVITY_INFO'>} [exclude]
62885
+ *
62886
+ * @summary Get all organization Memory Item entities
62887
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
62888
+ * @param {Array<'userIdentifiers' | 'createdBy' | 'modifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
62889
+ * @param {number} [page] Zero-based page index (0..N)
62890
+ * @param {number} [size] The size of the page to be returned
62891
+ * @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
62892
+ * @param {Array<'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
61948
62893
  * @param {*} [options] Override http request option.
61949
62894
  * @param {Configuration} [configuration] Optional configuration.
61950
62895
  * @throws {RequiredError}
61951
62896
  */
61952
- export async function OrganizationDeclarativeAPIsApiAxiosParamCreator_GetOrganizationLayout(exclude, options = {}, configuration) {
61953
- const localVarPath = `/api/v1/layout/organization`;
62897
+ export async function OrgMemoryItemControllerApiAxiosParamCreator_GetAllEntitiesOrgMemoryItems(filter, include, page, size, sort, metaInclude, options = {}, configuration) {
62898
+ const localVarPath = `/api/v1/entities/orgMemoryItems`;
61954
62899
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
61955
62900
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
61956
62901
  let baseOptions;
@@ -61960,8 +62905,23 @@ export async function OrganizationDeclarativeAPIsApiAxiosParamCreator_GetOrganiz
61960
62905
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
61961
62906
  const localVarHeaderParameter = {};
61962
62907
  const localVarQueryParameter = {};
61963
- if (exclude) {
61964
- localVarQueryParameter['exclude'] = exclude;
62908
+ if (filter !== undefined) {
62909
+ localVarQueryParameter['filter'] = filter;
62910
+ }
62911
+ if (include) {
62912
+ localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
62913
+ }
62914
+ if (page !== undefined) {
62915
+ localVarQueryParameter['page'] = page;
62916
+ }
62917
+ if (size !== undefined) {
62918
+ localVarQueryParameter['size'] = size;
62919
+ }
62920
+ if (sort) {
62921
+ localVarQueryParameter['sort'] = sort;
62922
+ }
62923
+ if (metaInclude) {
62924
+ localVarQueryParameter['metaInclude'] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
61965
62925
  }
61966
62926
  setSearchParams(localVarUrlObj, localVarQueryParameter);
61967
62927
  const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
@@ -61975,35 +62935,37 @@ export async function OrganizationDeclarativeAPIsApiAxiosParamCreator_GetOrganiz
61975
62935
  options: localVarRequestOptions,
61976
62936
  };
61977
62937
  }
61978
- // OrganizationDeclarativeAPIsApi FP - OrganizationDeclarativeAPIsApiAxiosParamCreator
62938
+ // OrgMemoryItemControllerApi FP - OrgMemoryItemControllerApiAxiosParamCreator
61979
62939
  /**
61980
- * Sets AI agent configurations in organization.
61981
- * @summary Set all AI agent configurations
61982
- * @param {DeclarativeAgents} declarativeAgents
62940
+ *
62941
+ * @summary Get an organization Memory Item entity
62942
+ * @param {string} id
62943
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
62944
+ * @param {Array<'userIdentifiers' | 'createdBy' | 'modifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
61983
62945
  * @param {*} [options] Override http request option.
61984
62946
  * @param {Configuration} [configuration] Optional configuration.
61985
62947
  * @throws {RequiredError}
61986
62948
  */
61987
- export async function OrganizationDeclarativeAPIsApiAxiosParamCreator_SetAgentsLayout(declarativeAgents, options = {}, configuration) {
61988
- // verify required parameter 'declarativeAgents' is not null or undefined
61989
- assertParamExists('setAgentsLayout', 'declarativeAgents', declarativeAgents);
61990
- const localVarPath = `/api/v1/layout/agents`;
62949
+ export async function OrgMemoryItemControllerApiAxiosParamCreator_GetEntityOrgMemoryItems(id, filter, include, options = {}, configuration) {
62950
+ // verify required parameter 'id' is not null or undefined
62951
+ assertParamExists('getEntityOrgMemoryItems', 'id', id);
62952
+ const localVarPath = `/api/v1/entities/orgMemoryItems/{id}`
62953
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
61991
62954
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
61992
62955
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
61993
62956
  let baseOptions;
61994
62957
  if (configuration) {
61995
62958
  baseOptions = configuration.baseOptions;
61996
62959
  }
61997
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
62960
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
61998
62961
  const localVarHeaderParameter = {};
61999
62962
  const localVarQueryParameter = {};
62000
- const consumes = [
62001
- 'application/json'
62002
- ];
62003
- // use application/json if present, otherwise fallback to the first one
62004
- localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
62005
- ? 'application/json'
62006
- : consumes[0];
62963
+ if (filter !== undefined) {
62964
+ localVarQueryParameter['filter'] = filter;
62965
+ }
62966
+ if (include) {
62967
+ localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
62968
+ }
62007
62969
  setSearchParams(localVarUrlObj, localVarQueryParameter);
62008
62970
  const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
62009
62971
  localVarRequestOptions.headers = {
@@ -62011,39 +62973,47 @@ export async function OrganizationDeclarativeAPIsApiAxiosParamCreator_SetAgentsL
62011
62973
  ...headersFromBaseOptions,
62012
62974
  ...options.headers,
62013
62975
  };
62014
- const needsSerialization = typeof declarativeAgents !== "string" ||
62015
- localVarRequestOptions.headers["Content-Type"] === "application/json";
62016
- localVarRequestOptions.data = needsSerialization
62017
- ? JSON.stringify(declarativeAgents !== undefined ? declarativeAgents : {})
62018
- : declarativeAgents || "";
62019
62976
  return {
62020
62977
  url: toPathString(localVarUrlObj),
62021
62978
  options: localVarRequestOptions,
62022
62979
  };
62023
62980
  }
62024
- // OrganizationDeclarativeAPIsApi FP - OrganizationDeclarativeAPIsApiAxiosParamCreator
62981
+ // OrgMemoryItemControllerApi FP - OrgMemoryItemControllerApiAxiosParamCreator
62025
62982
  /**
62026
- * Sets custom geo collections in organization.
62027
- * @summary Set all custom geo collections
62028
- * @param {DeclarativeCustomGeoCollections} declarativeCustomGeoCollections
62983
+ *
62984
+ * @summary Patch an organization Memory Item entity
62985
+ * @param {string} id
62986
+ * @param {JsonApiOrgMemoryItemPatchDocument} jsonApiOrgMemoryItemPatchDocument
62987
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
62988
+ * @param {Array<'userIdentifiers' | 'createdBy' | 'modifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
62029
62989
  * @param {*} [options] Override http request option.
62030
62990
  * @param {Configuration} [configuration] Optional configuration.
62031
62991
  * @throws {RequiredError}
62032
62992
  */
62033
- export async function OrganizationDeclarativeAPIsApiAxiosParamCreator_SetCustomGeoCollections(declarativeCustomGeoCollections, options = {}, configuration) {
62034
- // verify required parameter 'declarativeCustomGeoCollections' is not null or undefined
62035
- assertParamExists('setCustomGeoCollections', 'declarativeCustomGeoCollections', declarativeCustomGeoCollections);
62036
- const localVarPath = `/api/v1/layout/customGeoCollections`;
62993
+ export async function OrgMemoryItemControllerApiAxiosParamCreator_PatchEntityOrgMemoryItems(id, jsonApiOrgMemoryItemPatchDocument, filter, include, options = {}, configuration) {
62994
+ // verify required parameter 'id' is not null or undefined
62995
+ assertParamExists('patchEntityOrgMemoryItems', 'id', id);
62996
+ // verify required parameter 'jsonApiOrgMemoryItemPatchDocument' is not null or undefined
62997
+ assertParamExists('patchEntityOrgMemoryItems', 'jsonApiOrgMemoryItemPatchDocument', jsonApiOrgMemoryItemPatchDocument);
62998
+ const localVarPath = `/api/v1/entities/orgMemoryItems/{id}`
62999
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
62037
63000
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
62038
63001
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
62039
63002
  let baseOptions;
62040
63003
  if (configuration) {
62041
63004
  baseOptions = configuration.baseOptions;
62042
63005
  }
62043
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
63006
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
62044
63007
  const localVarHeaderParameter = {};
62045
63008
  const localVarQueryParameter = {};
63009
+ if (filter !== undefined) {
63010
+ localVarQueryParameter['filter'] = filter;
63011
+ }
63012
+ if (include) {
63013
+ localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
63014
+ }
62046
63015
  const consumes = [
63016
+ 'application/vnd.gooddata.api+json',
62047
63017
  'application/json'
62048
63018
  ];
62049
63019
  // use application/json if present, otherwise fallback to the first one
@@ -62057,29 +63027,35 @@ export async function OrganizationDeclarativeAPIsApiAxiosParamCreator_SetCustomG
62057
63027
  ...headersFromBaseOptions,
62058
63028
  ...options.headers,
62059
63029
  };
62060
- const needsSerialization = typeof declarativeCustomGeoCollections !== "string" ||
63030
+ const needsSerialization = typeof jsonApiOrgMemoryItemPatchDocument !== "string" ||
62061
63031
  localVarRequestOptions.headers["Content-Type"] === "application/json";
62062
63032
  localVarRequestOptions.data = needsSerialization
62063
- ? JSON.stringify(declarativeCustomGeoCollections !== undefined ? declarativeCustomGeoCollections : {})
62064
- : declarativeCustomGeoCollections || "";
63033
+ ? JSON.stringify(jsonApiOrgMemoryItemPatchDocument !== undefined ? jsonApiOrgMemoryItemPatchDocument : {})
63034
+ : jsonApiOrgMemoryItemPatchDocument || "";
62065
63035
  return {
62066
63036
  url: toPathString(localVarUrlObj),
62067
63037
  options: localVarRequestOptions,
62068
63038
  };
62069
63039
  }
62070
- // OrganizationDeclarativeAPIsApi FP - OrganizationDeclarativeAPIsApiAxiosParamCreator
63040
+ // OrgMemoryItemControllerApi FP - OrgMemoryItemControllerApiAxiosParamCreator
62071
63041
  /**
62072
- * Sets complete layout of organization, like workspaces, user-groups, etc.
62073
- * @summary Set organization layout
62074
- * @param {DeclarativeOrganization} declarativeOrganization
63042
+ *
63043
+ * @summary Put an organization Memory Item entity
63044
+ * @param {string} id
63045
+ * @param {JsonApiOrgMemoryItemInDocument} jsonApiOrgMemoryItemInDocument
63046
+ * @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title&#x3D;&#x3D;\&#39;Some Title\&#39;;description&#x3D;&#x3D;\&#39;desc\&#39;). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty&#x3D;&#x3D;\&#39;Value 123\&#39;).
63047
+ * @param {Array<'userIdentifiers' | 'createdBy' | 'modifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include&#x3D;entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \&quot;ALL\&quot; is present, all possible includes are used (include&#x3D;ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
62075
63048
  * @param {*} [options] Override http request option.
62076
63049
  * @param {Configuration} [configuration] Optional configuration.
62077
63050
  * @throws {RequiredError}
62078
63051
  */
62079
- export async function OrganizationDeclarativeAPIsApiAxiosParamCreator_SetOrganizationLayout(declarativeOrganization, options = {}, configuration) {
62080
- // verify required parameter 'declarativeOrganization' is not null or undefined
62081
- assertParamExists('setOrganizationLayout', 'declarativeOrganization', declarativeOrganization);
62082
- const localVarPath = `/api/v1/layout/organization`;
63052
+ export async function OrgMemoryItemControllerApiAxiosParamCreator_UpdateEntityOrgMemoryItems(id, jsonApiOrgMemoryItemInDocument, filter, include, options = {}, configuration) {
63053
+ // verify required parameter 'id' is not null or undefined
63054
+ assertParamExists('updateEntityOrgMemoryItems', 'id', id);
63055
+ // verify required parameter 'jsonApiOrgMemoryItemInDocument' is not null or undefined
63056
+ assertParamExists('updateEntityOrgMemoryItems', 'jsonApiOrgMemoryItemInDocument', jsonApiOrgMemoryItemInDocument);
63057
+ const localVarPath = `/api/v1/entities/orgMemoryItems/{id}`
63058
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
62083
63059
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
62084
63060
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
62085
63061
  let baseOptions;
@@ -62089,7 +63065,14 @@ export async function OrganizationDeclarativeAPIsApiAxiosParamCreator_SetOrganiz
62089
63065
  const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
62090
63066
  const localVarHeaderParameter = {};
62091
63067
  const localVarQueryParameter = {};
63068
+ if (filter !== undefined) {
63069
+ localVarQueryParameter['filter'] = filter;
63070
+ }
63071
+ if (include) {
63072
+ localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
63073
+ }
62092
63074
  const consumes = [
63075
+ 'application/vnd.gooddata.api+json',
62093
63076
  'application/json'
62094
63077
  ];
62095
63078
  // use application/json if present, otherwise fallback to the first one
@@ -62103,177 +63086,576 @@ export async function OrganizationDeclarativeAPIsApiAxiosParamCreator_SetOrganiz
62103
63086
  ...headersFromBaseOptions,
62104
63087
  ...options.headers,
62105
63088
  };
62106
- const needsSerialization = typeof declarativeOrganization !== "string" ||
63089
+ const needsSerialization = typeof jsonApiOrgMemoryItemInDocument !== "string" ||
62107
63090
  localVarRequestOptions.headers["Content-Type"] === "application/json";
62108
63091
  localVarRequestOptions.data = needsSerialization
62109
- ? JSON.stringify(declarativeOrganization !== undefined ? declarativeOrganization : {})
62110
- : declarativeOrganization || "";
63092
+ ? JSON.stringify(jsonApiOrgMemoryItemInDocument !== undefined ? jsonApiOrgMemoryItemInDocument : {})
63093
+ : jsonApiOrgMemoryItemInDocument || "";
62111
63094
  return {
62112
63095
  url: toPathString(localVarUrlObj),
62113
63096
  options: localVarRequestOptions,
62114
63097
  };
62115
63098
  }
62116
- // OrganizationDeclarativeAPIsApi Api FP
63099
+ // OrgMemoryItemControllerApi Api FP
62117
63100
  /**
62118
- * Gets complete layout of AI agent configurations.
62119
- * @summary Get all AI agent configurations layout
63101
+ * Organization-scoped AI memory item
63102
+ * @summary Post organization Memory Item entities
62120
63103
  * @param {AxiosInstance} axios Axios instance.
62121
63104
  * @param {string} basePath Base path.
63105
+ * @param {OrgMemoryItemControllerApiCreateEntityOrgMemoryItemsRequest} requestParameters Request parameters.
62122
63106
  * @param {*} [options] Override http request option.
62123
63107
  * @param {Configuration} [configuration] Optional configuration.
62124
63108
  * @throws {RequiredError}
62125
63109
  */
62126
- export async function OrganizationDeclarativeAPIsApi_GetAgentsLayout(axios, basePath, options, configuration) {
62127
- const localVarAxiosArgs = await OrganizationDeclarativeAPIsApiAxiosParamCreator_GetAgentsLayout(options || {}, configuration);
63110
+ export async function OrgMemoryItemControllerApi_CreateEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
63111
+ const localVarAxiosArgs = await OrgMemoryItemControllerApiAxiosParamCreator_CreateEntityOrgMemoryItems(requestParameters.jsonApiOrgMemoryItemInDocument, requestParameters.include, options || {}, configuration);
62128
63112
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
62129
63113
  }
62130
- // OrganizationDeclarativeAPIsApi Api FP
63114
+ // OrgMemoryItemControllerApi Api FP
62131
63115
  /**
62132
- * Gets complete layout of custom geo collections.
62133
- * @summary Get all custom geo collections layout
63116
+ *
63117
+ * @summary Delete an organization Memory Item entity
62134
63118
  * @param {AxiosInstance} axios Axios instance.
62135
63119
  * @param {string} basePath Base path.
63120
+ * @param {OrgMemoryItemControllerApiDeleteEntityOrgMemoryItemsRequest} requestParameters Request parameters.
62136
63121
  * @param {*} [options] Override http request option.
62137
63122
  * @param {Configuration} [configuration] Optional configuration.
62138
63123
  * @throws {RequiredError}
62139
63124
  */
62140
- export async function OrganizationDeclarativeAPIsApi_GetCustomGeoCollectionsLayout(axios, basePath, options, configuration) {
62141
- const localVarAxiosArgs = await OrganizationDeclarativeAPIsApiAxiosParamCreator_GetCustomGeoCollectionsLayout(options || {}, configuration);
63125
+ export async function OrgMemoryItemControllerApi_DeleteEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
63126
+ const localVarAxiosArgs = await OrgMemoryItemControllerApiAxiosParamCreator_DeleteEntityOrgMemoryItems(requestParameters.id, options || {}, configuration);
62142
63127
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
62143
63128
  }
62144
- // OrganizationDeclarativeAPIsApi Api FP
63129
+ // OrgMemoryItemControllerApi Api FP
62145
63130
  /**
62146
- * Retrieve complete layout of organization, workspaces, user-groups, etc.
62147
- * @summary Get organization layout
63131
+ *
63132
+ * @summary Get all organization Memory Item entities
62148
63133
  * @param {AxiosInstance} axios Axios instance.
62149
63134
  * @param {string} basePath Base path.
62150
- * @param {OrganizationDeclarativeAPIsApiGetOrganizationLayoutRequest} requestParameters Request parameters.
63135
+ * @param {OrgMemoryItemControllerApiGetAllEntitiesOrgMemoryItemsRequest} requestParameters Request parameters.
62151
63136
  * @param {*} [options] Override http request option.
62152
63137
  * @param {Configuration} [configuration] Optional configuration.
62153
63138
  * @throws {RequiredError}
62154
63139
  */
62155
- export async function OrganizationDeclarativeAPIsApi_GetOrganizationLayout(axios, basePath, requestParameters, options, configuration) {
62156
- const localVarAxiosArgs = await OrganizationDeclarativeAPIsApiAxiosParamCreator_GetOrganizationLayout(requestParameters.exclude, options || {}, configuration);
63140
+ export async function OrgMemoryItemControllerApi_GetAllEntitiesOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
63141
+ const localVarAxiosArgs = await OrgMemoryItemControllerApiAxiosParamCreator_GetAllEntitiesOrgMemoryItems(requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.metaInclude, options || {}, configuration);
62157
63142
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
62158
63143
  }
62159
- // OrganizationDeclarativeAPIsApi Api FP
63144
+ // OrgMemoryItemControllerApi Api FP
62160
63145
  /**
62161
- * Sets AI agent configurations in organization.
62162
- * @summary Set all AI agent configurations
63146
+ *
63147
+ * @summary Get an organization Memory Item entity
62163
63148
  * @param {AxiosInstance} axios Axios instance.
62164
63149
  * @param {string} basePath Base path.
62165
- * @param {OrganizationDeclarativeAPIsApiSetAgentsLayoutRequest} requestParameters Request parameters.
63150
+ * @param {OrgMemoryItemControllerApiGetEntityOrgMemoryItemsRequest} requestParameters Request parameters.
62166
63151
  * @param {*} [options] Override http request option.
62167
63152
  * @param {Configuration} [configuration] Optional configuration.
62168
63153
  * @throws {RequiredError}
62169
63154
  */
62170
- export async function OrganizationDeclarativeAPIsApi_SetAgentsLayout(axios, basePath, requestParameters, options, configuration) {
62171
- const localVarAxiosArgs = await OrganizationDeclarativeAPIsApiAxiosParamCreator_SetAgentsLayout(requestParameters.declarativeAgents, options || {}, configuration);
63155
+ export async function OrgMemoryItemControllerApi_GetEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
63156
+ const localVarAxiosArgs = await OrgMemoryItemControllerApiAxiosParamCreator_GetEntityOrgMemoryItems(requestParameters.id, requestParameters.filter, requestParameters.include, options || {}, configuration);
62172
63157
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
62173
63158
  }
62174
- // OrganizationDeclarativeAPIsApi Api FP
63159
+ // OrgMemoryItemControllerApi Api FP
62175
63160
  /**
62176
- * Sets custom geo collections in organization.
62177
- * @summary Set all custom geo collections
63161
+ *
63162
+ * @summary Patch an organization Memory Item entity
62178
63163
  * @param {AxiosInstance} axios Axios instance.
62179
63164
  * @param {string} basePath Base path.
62180
- * @param {OrganizationDeclarativeAPIsApiSetCustomGeoCollectionsRequest} requestParameters Request parameters.
63165
+ * @param {OrgMemoryItemControllerApiPatchEntityOrgMemoryItemsRequest} requestParameters Request parameters.
62181
63166
  * @param {*} [options] Override http request option.
62182
63167
  * @param {Configuration} [configuration] Optional configuration.
62183
63168
  * @throws {RequiredError}
62184
63169
  */
62185
- export async function OrganizationDeclarativeAPIsApi_SetCustomGeoCollections(axios, basePath, requestParameters, options, configuration) {
62186
- const localVarAxiosArgs = await OrganizationDeclarativeAPIsApiAxiosParamCreator_SetCustomGeoCollections(requestParameters.declarativeCustomGeoCollections, options || {}, configuration);
63170
+ export async function OrgMemoryItemControllerApi_PatchEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
63171
+ const localVarAxiosArgs = await OrgMemoryItemControllerApiAxiosParamCreator_PatchEntityOrgMemoryItems(requestParameters.id, requestParameters.jsonApiOrgMemoryItemPatchDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
62187
63172
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
62188
63173
  }
62189
- // OrganizationDeclarativeAPIsApi Api FP
63174
+ // OrgMemoryItemControllerApi Api FP
62190
63175
  /**
62191
- * Sets complete layout of organization, like workspaces, user-groups, etc.
62192
- * @summary Set organization layout
63176
+ *
63177
+ * @summary Put an organization Memory Item entity
62193
63178
  * @param {AxiosInstance} axios Axios instance.
62194
63179
  * @param {string} basePath Base path.
62195
- * @param {OrganizationDeclarativeAPIsApiSetOrganizationLayoutRequest} requestParameters Request parameters.
63180
+ * @param {OrgMemoryItemControllerApiUpdateEntityOrgMemoryItemsRequest} requestParameters Request parameters.
62196
63181
  * @param {*} [options] Override http request option.
62197
63182
  * @param {Configuration} [configuration] Optional configuration.
62198
63183
  * @throws {RequiredError}
62199
63184
  */
62200
- export async function OrganizationDeclarativeAPIsApi_SetOrganizationLayout(axios, basePath, requestParameters, options, configuration) {
62201
- const localVarAxiosArgs = await OrganizationDeclarativeAPIsApiAxiosParamCreator_SetOrganizationLayout(requestParameters.declarativeOrganization, options || {}, configuration);
63185
+ export async function OrgMemoryItemControllerApi_UpdateEntityOrgMemoryItems(axios, basePath, requestParameters, options, configuration) {
63186
+ const localVarAxiosArgs = await OrgMemoryItemControllerApiAxiosParamCreator_UpdateEntityOrgMemoryItems(requestParameters.id, requestParameters.jsonApiOrgMemoryItemInDocument, requestParameters.filter, requestParameters.include, options || {}, configuration);
62202
63187
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
62203
63188
  }
62204
63189
  /**
62205
- * OrganizationDeclarativeAPIsApi - object-oriented interface
63190
+ * OrgMemoryItemControllerApi - object-oriented interface
62206
63191
  * @export
62207
- * @class OrganizationDeclarativeAPIsApi
63192
+ * @class OrgMemoryItemControllerApi
62208
63193
  * @extends {BaseAPI}
62209
63194
  */
62210
- export class OrganizationDeclarativeAPIsApi extends BaseAPI {
63195
+ export class OrgMemoryItemControllerApi extends BaseAPI {
62211
63196
  /**
62212
- * Gets complete layout of AI agent configurations.
62213
- * @summary Get all AI agent configurations layout
63197
+ * Organization-scoped AI memory item
63198
+ * @summary Post organization Memory Item entities
63199
+ * @param {OrgMemoryItemControllerApiCreateEntityOrgMemoryItemsRequest} requestParameters Request parameters.
62214
63200
  * @param {*} [options] Override http request option.
62215
63201
  * @throws {RequiredError}
62216
- * @memberof OrganizationDeclarativeAPIsApi
63202
+ * @memberof OrgMemoryItemControllerApi
62217
63203
  */
62218
- getAgentsLayout(options) {
62219
- return OrganizationDeclarativeAPIsApi_GetAgentsLayout(this.axios, this.basePath, options, this.configuration);
63204
+ createEntityOrgMemoryItems(requestParameters, options) {
63205
+ return OrgMemoryItemControllerApi_CreateEntityOrgMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
62220
63206
  }
62221
63207
  /**
62222
- * Gets complete layout of custom geo collections.
62223
- * @summary Get all custom geo collections layout
63208
+ *
63209
+ * @summary Delete an organization Memory Item entity
63210
+ * @param {OrgMemoryItemControllerApiDeleteEntityOrgMemoryItemsRequest} requestParameters Request parameters.
62224
63211
  * @param {*} [options] Override http request option.
62225
63212
  * @throws {RequiredError}
62226
- * @memberof OrganizationDeclarativeAPIsApi
63213
+ * @memberof OrgMemoryItemControllerApi
62227
63214
  */
62228
- getCustomGeoCollectionsLayout(options) {
62229
- return OrganizationDeclarativeAPIsApi_GetCustomGeoCollectionsLayout(this.axios, this.basePath, options, this.configuration);
63215
+ deleteEntityOrgMemoryItems(requestParameters, options) {
63216
+ return OrgMemoryItemControllerApi_DeleteEntityOrgMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
62230
63217
  }
62231
63218
  /**
62232
- * Retrieve complete layout of organization, workspaces, user-groups, etc.
62233
- * @summary Get organization layout
62234
- * @param {OrganizationDeclarativeAPIsApiGetOrganizationLayoutRequest} requestParameters Request parameters.
63219
+ *
63220
+ * @summary Get all organization Memory Item entities
63221
+ * @param {OrgMemoryItemControllerApiGetAllEntitiesOrgMemoryItemsRequest} requestParameters Request parameters.
62235
63222
  * @param {*} [options] Override http request option.
62236
63223
  * @throws {RequiredError}
62237
- * @memberof OrganizationDeclarativeAPIsApi
63224
+ * @memberof OrgMemoryItemControllerApi
62238
63225
  */
62239
- getOrganizationLayout(requestParameters = {}, options) {
62240
- return OrganizationDeclarativeAPIsApi_GetOrganizationLayout(this.axios, this.basePath, requestParameters, options, this.configuration);
63226
+ getAllEntitiesOrgMemoryItems(requestParameters = {}, options) {
63227
+ return OrgMemoryItemControllerApi_GetAllEntitiesOrgMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
62241
63228
  }
62242
63229
  /**
62243
- * Sets AI agent configurations in organization.
62244
- * @summary Set all AI agent configurations
62245
- * @param {OrganizationDeclarativeAPIsApiSetAgentsLayoutRequest} requestParameters Request parameters.
63230
+ *
63231
+ * @summary Get an organization Memory Item entity
63232
+ * @param {OrgMemoryItemControllerApiGetEntityOrgMemoryItemsRequest} requestParameters Request parameters.
62246
63233
  * @param {*} [options] Override http request option.
62247
63234
  * @throws {RequiredError}
62248
- * @memberof OrganizationDeclarativeAPIsApi
63235
+ * @memberof OrgMemoryItemControllerApi
62249
63236
  */
62250
- setAgentsLayout(requestParameters, options) {
62251
- return OrganizationDeclarativeAPIsApi_SetAgentsLayout(this.axios, this.basePath, requestParameters, options, this.configuration);
63237
+ getEntityOrgMemoryItems(requestParameters, options) {
63238
+ return OrgMemoryItemControllerApi_GetEntityOrgMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
62252
63239
  }
62253
63240
  /**
62254
- * Sets custom geo collections in organization.
62255
- * @summary Set all custom geo collections
62256
- * @param {OrganizationDeclarativeAPIsApiSetCustomGeoCollectionsRequest} requestParameters Request parameters.
63241
+ *
63242
+ * @summary Patch an organization Memory Item entity
63243
+ * @param {OrgMemoryItemControllerApiPatchEntityOrgMemoryItemsRequest} requestParameters Request parameters.
62257
63244
  * @param {*} [options] Override http request option.
62258
63245
  * @throws {RequiredError}
62259
- * @memberof OrganizationDeclarativeAPIsApi
63246
+ * @memberof OrgMemoryItemControllerApi
62260
63247
  */
62261
- setCustomGeoCollections(requestParameters, options) {
62262
- return OrganizationDeclarativeAPIsApi_SetCustomGeoCollections(this.axios, this.basePath, requestParameters, options, this.configuration);
63248
+ patchEntityOrgMemoryItems(requestParameters, options) {
63249
+ return OrgMemoryItemControllerApi_PatchEntityOrgMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
62263
63250
  }
62264
63251
  /**
62265
- * Sets complete layout of organization, like workspaces, user-groups, etc.
62266
- * @summary Set organization layout
62267
- * @param {OrganizationDeclarativeAPIsApiSetOrganizationLayoutRequest} requestParameters Request parameters.
63252
+ *
63253
+ * @summary Put an organization Memory Item entity
63254
+ * @param {OrgMemoryItemControllerApiUpdateEntityOrgMemoryItemsRequest} requestParameters Request parameters.
62268
63255
  * @param {*} [options] Override http request option.
62269
63256
  * @throws {RequiredError}
62270
- * @memberof OrganizationDeclarativeAPIsApi
63257
+ * @memberof OrgMemoryItemControllerApi
62271
63258
  */
62272
- setOrganizationLayout(requestParameters, options) {
62273
- return OrganizationDeclarativeAPIsApi_SetOrganizationLayout(this.axios, this.basePath, requestParameters, options, this.configuration);
63259
+ updateEntityOrgMemoryItems(requestParameters, options) {
63260
+ return OrgMemoryItemControllerApi_UpdateEntityOrgMemoryItems(this.axios, this.basePath, requestParameters, options, this.configuration);
62274
63261
  }
62275
63262
  }
62276
- // OrganizationEntityAPIsApi FP - OrganizationEntityAPIsApiAxiosParamCreator
63263
+ // OrganizationDeclarativeAPIsApi FP - OrganizationDeclarativeAPIsApiAxiosParamCreator
63264
+ /**
63265
+ * Gets complete layout of AI agent configurations.
63266
+ * @summary Get all AI agent configurations layout
63267
+ * @param {*} [options] Override http request option.
63268
+ * @param {Configuration} [configuration] Optional configuration.
63269
+ * @throws {RequiredError}
63270
+ */
63271
+ export async function OrganizationDeclarativeAPIsApiAxiosParamCreator_GetAgentsLayout(options = {}, configuration) {
63272
+ const localVarPath = `/api/v1/layout/agents`;
63273
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
63274
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
63275
+ let baseOptions;
63276
+ if (configuration) {
63277
+ baseOptions = configuration.baseOptions;
63278
+ }
63279
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
63280
+ const localVarHeaderParameter = {};
63281
+ const localVarQueryParameter = {};
63282
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
63283
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
63284
+ localVarRequestOptions.headers = {
63285
+ ...localVarHeaderParameter,
63286
+ ...headersFromBaseOptions,
63287
+ ...options.headers,
63288
+ };
63289
+ return {
63290
+ url: toPathString(localVarUrlObj),
63291
+ options: localVarRequestOptions,
63292
+ };
63293
+ }
63294
+ // OrganizationDeclarativeAPIsApi FP - OrganizationDeclarativeAPIsApiAxiosParamCreator
63295
+ /**
63296
+ * Gets complete layout of custom geo collections.
63297
+ * @summary Get all custom geo collections layout
63298
+ * @param {*} [options] Override http request option.
63299
+ * @param {Configuration} [configuration] Optional configuration.
63300
+ * @throws {RequiredError}
63301
+ */
63302
+ export async function OrganizationDeclarativeAPIsApiAxiosParamCreator_GetCustomGeoCollectionsLayout(options = {}, configuration) {
63303
+ const localVarPath = `/api/v1/layout/customGeoCollections`;
63304
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
63305
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
63306
+ let baseOptions;
63307
+ if (configuration) {
63308
+ baseOptions = configuration.baseOptions;
63309
+ }
63310
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
63311
+ const localVarHeaderParameter = {};
63312
+ const localVarQueryParameter = {};
63313
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
63314
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
63315
+ localVarRequestOptions.headers = {
63316
+ ...localVarHeaderParameter,
63317
+ ...headersFromBaseOptions,
63318
+ ...options.headers,
63319
+ };
63320
+ return {
63321
+ url: toPathString(localVarUrlObj),
63322
+ options: localVarRequestOptions,
63323
+ };
63324
+ }
63325
+ // OrganizationDeclarativeAPIsApi FP - OrganizationDeclarativeAPIsApiAxiosParamCreator
63326
+ /**
63327
+ * Retrieve complete layout of organization, workspaces, user-groups, etc.
63328
+ * @summary Get organization layout
63329
+ * @param {Array<'ACTIVITY_INFO'>} [exclude]
63330
+ * @param {*} [options] Override http request option.
63331
+ * @param {Configuration} [configuration] Optional configuration.
63332
+ * @throws {RequiredError}
63333
+ */
63334
+ export async function OrganizationDeclarativeAPIsApiAxiosParamCreator_GetOrganizationLayout(exclude, options = {}, configuration) {
63335
+ const localVarPath = `/api/v1/layout/organization`;
63336
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
63337
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
63338
+ let baseOptions;
63339
+ if (configuration) {
63340
+ baseOptions = configuration.baseOptions;
63341
+ }
63342
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
63343
+ const localVarHeaderParameter = {};
63344
+ const localVarQueryParameter = {};
63345
+ if (exclude) {
63346
+ localVarQueryParameter['exclude'] = exclude;
63347
+ }
63348
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
63349
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
63350
+ localVarRequestOptions.headers = {
63351
+ ...localVarHeaderParameter,
63352
+ ...headersFromBaseOptions,
63353
+ ...options.headers,
63354
+ };
63355
+ return {
63356
+ url: toPathString(localVarUrlObj),
63357
+ options: localVarRequestOptions,
63358
+ };
63359
+ }
63360
+ // OrganizationDeclarativeAPIsApi FP - OrganizationDeclarativeAPIsApiAxiosParamCreator
63361
+ /**
63362
+ * Sets AI agent configurations in organization.
63363
+ * @summary Set all AI agent configurations
63364
+ * @param {DeclarativeAgents} declarativeAgents
63365
+ * @param {*} [options] Override http request option.
63366
+ * @param {Configuration} [configuration] Optional configuration.
63367
+ * @throws {RequiredError}
63368
+ */
63369
+ export async function OrganizationDeclarativeAPIsApiAxiosParamCreator_SetAgentsLayout(declarativeAgents, options = {}, configuration) {
63370
+ // verify required parameter 'declarativeAgents' is not null or undefined
63371
+ assertParamExists('setAgentsLayout', 'declarativeAgents', declarativeAgents);
63372
+ const localVarPath = `/api/v1/layout/agents`;
63373
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
63374
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
63375
+ let baseOptions;
63376
+ if (configuration) {
63377
+ baseOptions = configuration.baseOptions;
63378
+ }
63379
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
63380
+ const localVarHeaderParameter = {};
63381
+ const localVarQueryParameter = {};
63382
+ const consumes = [
63383
+ 'application/json'
63384
+ ];
63385
+ // use application/json if present, otherwise fallback to the first one
63386
+ localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
63387
+ ? 'application/json'
63388
+ : consumes[0];
63389
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
63390
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
63391
+ localVarRequestOptions.headers = {
63392
+ ...localVarHeaderParameter,
63393
+ ...headersFromBaseOptions,
63394
+ ...options.headers,
63395
+ };
63396
+ const needsSerialization = typeof declarativeAgents !== "string" ||
63397
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
63398
+ localVarRequestOptions.data = needsSerialization
63399
+ ? JSON.stringify(declarativeAgents !== undefined ? declarativeAgents : {})
63400
+ : declarativeAgents || "";
63401
+ return {
63402
+ url: toPathString(localVarUrlObj),
63403
+ options: localVarRequestOptions,
63404
+ };
63405
+ }
63406
+ // OrganizationDeclarativeAPIsApi FP - OrganizationDeclarativeAPIsApiAxiosParamCreator
63407
+ /**
63408
+ * Sets custom geo collections in organization.
63409
+ * @summary Set all custom geo collections
63410
+ * @param {DeclarativeCustomGeoCollections} declarativeCustomGeoCollections
63411
+ * @param {*} [options] Override http request option.
63412
+ * @param {Configuration} [configuration] Optional configuration.
63413
+ * @throws {RequiredError}
63414
+ */
63415
+ export async function OrganizationDeclarativeAPIsApiAxiosParamCreator_SetCustomGeoCollections(declarativeCustomGeoCollections, options = {}, configuration) {
63416
+ // verify required parameter 'declarativeCustomGeoCollections' is not null or undefined
63417
+ assertParamExists('setCustomGeoCollections', 'declarativeCustomGeoCollections', declarativeCustomGeoCollections);
63418
+ const localVarPath = `/api/v1/layout/customGeoCollections`;
63419
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
63420
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
63421
+ let baseOptions;
63422
+ if (configuration) {
63423
+ baseOptions = configuration.baseOptions;
63424
+ }
63425
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
63426
+ const localVarHeaderParameter = {};
63427
+ const localVarQueryParameter = {};
63428
+ const consumes = [
63429
+ 'application/json'
63430
+ ];
63431
+ // use application/json if present, otherwise fallback to the first one
63432
+ localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
63433
+ ? 'application/json'
63434
+ : consumes[0];
63435
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
63436
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
63437
+ localVarRequestOptions.headers = {
63438
+ ...localVarHeaderParameter,
63439
+ ...headersFromBaseOptions,
63440
+ ...options.headers,
63441
+ };
63442
+ const needsSerialization = typeof declarativeCustomGeoCollections !== "string" ||
63443
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
63444
+ localVarRequestOptions.data = needsSerialization
63445
+ ? JSON.stringify(declarativeCustomGeoCollections !== undefined ? declarativeCustomGeoCollections : {})
63446
+ : declarativeCustomGeoCollections || "";
63447
+ return {
63448
+ url: toPathString(localVarUrlObj),
63449
+ options: localVarRequestOptions,
63450
+ };
63451
+ }
63452
+ // OrganizationDeclarativeAPIsApi FP - OrganizationDeclarativeAPIsApiAxiosParamCreator
63453
+ /**
63454
+ * Sets complete layout of organization, like workspaces, user-groups, etc.
63455
+ * @summary Set organization layout
63456
+ * @param {DeclarativeOrganization} declarativeOrganization
63457
+ * @param {*} [options] Override http request option.
63458
+ * @param {Configuration} [configuration] Optional configuration.
63459
+ * @throws {RequiredError}
63460
+ */
63461
+ export async function OrganizationDeclarativeAPIsApiAxiosParamCreator_SetOrganizationLayout(declarativeOrganization, options = {}, configuration) {
63462
+ // verify required parameter 'declarativeOrganization' is not null or undefined
63463
+ assertParamExists('setOrganizationLayout', 'declarativeOrganization', declarativeOrganization);
63464
+ const localVarPath = `/api/v1/layout/organization`;
63465
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
63466
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
63467
+ let baseOptions;
63468
+ if (configuration) {
63469
+ baseOptions = configuration.baseOptions;
63470
+ }
63471
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
63472
+ const localVarHeaderParameter = {};
63473
+ const localVarQueryParameter = {};
63474
+ const consumes = [
63475
+ 'application/json'
63476
+ ];
63477
+ // use application/json if present, otherwise fallback to the first one
63478
+ localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
63479
+ ? 'application/json'
63480
+ : consumes[0];
63481
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
63482
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
63483
+ localVarRequestOptions.headers = {
63484
+ ...localVarHeaderParameter,
63485
+ ...headersFromBaseOptions,
63486
+ ...options.headers,
63487
+ };
63488
+ const needsSerialization = typeof declarativeOrganization !== "string" ||
63489
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
63490
+ localVarRequestOptions.data = needsSerialization
63491
+ ? JSON.stringify(declarativeOrganization !== undefined ? declarativeOrganization : {})
63492
+ : declarativeOrganization || "";
63493
+ return {
63494
+ url: toPathString(localVarUrlObj),
63495
+ options: localVarRequestOptions,
63496
+ };
63497
+ }
63498
+ // OrganizationDeclarativeAPIsApi Api FP
63499
+ /**
63500
+ * Gets complete layout of AI agent configurations.
63501
+ * @summary Get all AI agent configurations layout
63502
+ * @param {AxiosInstance} axios Axios instance.
63503
+ * @param {string} basePath Base path.
63504
+ * @param {*} [options] Override http request option.
63505
+ * @param {Configuration} [configuration] Optional configuration.
63506
+ * @throws {RequiredError}
63507
+ */
63508
+ export async function OrganizationDeclarativeAPIsApi_GetAgentsLayout(axios, basePath, options, configuration) {
63509
+ const localVarAxiosArgs = await OrganizationDeclarativeAPIsApiAxiosParamCreator_GetAgentsLayout(options || {}, configuration);
63510
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
63511
+ }
63512
+ // OrganizationDeclarativeAPIsApi Api FP
63513
+ /**
63514
+ * Gets complete layout of custom geo collections.
63515
+ * @summary Get all custom geo collections layout
63516
+ * @param {AxiosInstance} axios Axios instance.
63517
+ * @param {string} basePath Base path.
63518
+ * @param {*} [options] Override http request option.
63519
+ * @param {Configuration} [configuration] Optional configuration.
63520
+ * @throws {RequiredError}
63521
+ */
63522
+ export async function OrganizationDeclarativeAPIsApi_GetCustomGeoCollectionsLayout(axios, basePath, options, configuration) {
63523
+ const localVarAxiosArgs = await OrganizationDeclarativeAPIsApiAxiosParamCreator_GetCustomGeoCollectionsLayout(options || {}, configuration);
63524
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
63525
+ }
63526
+ // OrganizationDeclarativeAPIsApi Api FP
63527
+ /**
63528
+ * Retrieve complete layout of organization, workspaces, user-groups, etc.
63529
+ * @summary Get organization layout
63530
+ * @param {AxiosInstance} axios Axios instance.
63531
+ * @param {string} basePath Base path.
63532
+ * @param {OrganizationDeclarativeAPIsApiGetOrganizationLayoutRequest} requestParameters Request parameters.
63533
+ * @param {*} [options] Override http request option.
63534
+ * @param {Configuration} [configuration] Optional configuration.
63535
+ * @throws {RequiredError}
63536
+ */
63537
+ export async function OrganizationDeclarativeAPIsApi_GetOrganizationLayout(axios, basePath, requestParameters, options, configuration) {
63538
+ const localVarAxiosArgs = await OrganizationDeclarativeAPIsApiAxiosParamCreator_GetOrganizationLayout(requestParameters.exclude, options || {}, configuration);
63539
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
63540
+ }
63541
+ // OrganizationDeclarativeAPIsApi Api FP
63542
+ /**
63543
+ * Sets AI agent configurations in organization.
63544
+ * @summary Set all AI agent configurations
63545
+ * @param {AxiosInstance} axios Axios instance.
63546
+ * @param {string} basePath Base path.
63547
+ * @param {OrganizationDeclarativeAPIsApiSetAgentsLayoutRequest} requestParameters Request parameters.
63548
+ * @param {*} [options] Override http request option.
63549
+ * @param {Configuration} [configuration] Optional configuration.
63550
+ * @throws {RequiredError}
63551
+ */
63552
+ export async function OrganizationDeclarativeAPIsApi_SetAgentsLayout(axios, basePath, requestParameters, options, configuration) {
63553
+ const localVarAxiosArgs = await OrganizationDeclarativeAPIsApiAxiosParamCreator_SetAgentsLayout(requestParameters.declarativeAgents, options || {}, configuration);
63554
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
63555
+ }
63556
+ // OrganizationDeclarativeAPIsApi Api FP
63557
+ /**
63558
+ * Sets custom geo collections in organization.
63559
+ * @summary Set all custom geo collections
63560
+ * @param {AxiosInstance} axios Axios instance.
63561
+ * @param {string} basePath Base path.
63562
+ * @param {OrganizationDeclarativeAPIsApiSetCustomGeoCollectionsRequest} requestParameters Request parameters.
63563
+ * @param {*} [options] Override http request option.
63564
+ * @param {Configuration} [configuration] Optional configuration.
63565
+ * @throws {RequiredError}
63566
+ */
63567
+ export async function OrganizationDeclarativeAPIsApi_SetCustomGeoCollections(axios, basePath, requestParameters, options, configuration) {
63568
+ const localVarAxiosArgs = await OrganizationDeclarativeAPIsApiAxiosParamCreator_SetCustomGeoCollections(requestParameters.declarativeCustomGeoCollections, options || {}, configuration);
63569
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
63570
+ }
63571
+ // OrganizationDeclarativeAPIsApi Api FP
63572
+ /**
63573
+ * Sets complete layout of organization, like workspaces, user-groups, etc.
63574
+ * @summary Set organization layout
63575
+ * @param {AxiosInstance} axios Axios instance.
63576
+ * @param {string} basePath Base path.
63577
+ * @param {OrganizationDeclarativeAPIsApiSetOrganizationLayoutRequest} requestParameters Request parameters.
63578
+ * @param {*} [options] Override http request option.
63579
+ * @param {Configuration} [configuration] Optional configuration.
63580
+ * @throws {RequiredError}
63581
+ */
63582
+ export async function OrganizationDeclarativeAPIsApi_SetOrganizationLayout(axios, basePath, requestParameters, options, configuration) {
63583
+ const localVarAxiosArgs = await OrganizationDeclarativeAPIsApiAxiosParamCreator_SetOrganizationLayout(requestParameters.declarativeOrganization, options || {}, configuration);
63584
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
63585
+ }
63586
+ /**
63587
+ * OrganizationDeclarativeAPIsApi - object-oriented interface
63588
+ * @export
63589
+ * @class OrganizationDeclarativeAPIsApi
63590
+ * @extends {BaseAPI}
63591
+ */
63592
+ export class OrganizationDeclarativeAPIsApi extends BaseAPI {
63593
+ /**
63594
+ * Gets complete layout of AI agent configurations.
63595
+ * @summary Get all AI agent configurations layout
63596
+ * @param {*} [options] Override http request option.
63597
+ * @throws {RequiredError}
63598
+ * @memberof OrganizationDeclarativeAPIsApi
63599
+ */
63600
+ getAgentsLayout(options) {
63601
+ return OrganizationDeclarativeAPIsApi_GetAgentsLayout(this.axios, this.basePath, options, this.configuration);
63602
+ }
63603
+ /**
63604
+ * Gets complete layout of custom geo collections.
63605
+ * @summary Get all custom geo collections layout
63606
+ * @param {*} [options] Override http request option.
63607
+ * @throws {RequiredError}
63608
+ * @memberof OrganizationDeclarativeAPIsApi
63609
+ */
63610
+ getCustomGeoCollectionsLayout(options) {
63611
+ return OrganizationDeclarativeAPIsApi_GetCustomGeoCollectionsLayout(this.axios, this.basePath, options, this.configuration);
63612
+ }
63613
+ /**
63614
+ * Retrieve complete layout of organization, workspaces, user-groups, etc.
63615
+ * @summary Get organization layout
63616
+ * @param {OrganizationDeclarativeAPIsApiGetOrganizationLayoutRequest} requestParameters Request parameters.
63617
+ * @param {*} [options] Override http request option.
63618
+ * @throws {RequiredError}
63619
+ * @memberof OrganizationDeclarativeAPIsApi
63620
+ */
63621
+ getOrganizationLayout(requestParameters = {}, options) {
63622
+ return OrganizationDeclarativeAPIsApi_GetOrganizationLayout(this.axios, this.basePath, requestParameters, options, this.configuration);
63623
+ }
63624
+ /**
63625
+ * Sets AI agent configurations in organization.
63626
+ * @summary Set all AI agent configurations
63627
+ * @param {OrganizationDeclarativeAPIsApiSetAgentsLayoutRequest} requestParameters Request parameters.
63628
+ * @param {*} [options] Override http request option.
63629
+ * @throws {RequiredError}
63630
+ * @memberof OrganizationDeclarativeAPIsApi
63631
+ */
63632
+ setAgentsLayout(requestParameters, options) {
63633
+ return OrganizationDeclarativeAPIsApi_SetAgentsLayout(this.axios, this.basePath, requestParameters, options, this.configuration);
63634
+ }
63635
+ /**
63636
+ * Sets custom geo collections in organization.
63637
+ * @summary Set all custom geo collections
63638
+ * @param {OrganizationDeclarativeAPIsApiSetCustomGeoCollectionsRequest} requestParameters Request parameters.
63639
+ * @param {*} [options] Override http request option.
63640
+ * @throws {RequiredError}
63641
+ * @memberof OrganizationDeclarativeAPIsApi
63642
+ */
63643
+ setCustomGeoCollections(requestParameters, options) {
63644
+ return OrganizationDeclarativeAPIsApi_SetCustomGeoCollections(this.axios, this.basePath, requestParameters, options, this.configuration);
63645
+ }
63646
+ /**
63647
+ * Sets complete layout of organization, like workspaces, user-groups, etc.
63648
+ * @summary Set organization layout
63649
+ * @param {OrganizationDeclarativeAPIsApiSetOrganizationLayoutRequest} requestParameters Request parameters.
63650
+ * @param {*} [options] Override http request option.
63651
+ * @throws {RequiredError}
63652
+ * @memberof OrganizationDeclarativeAPIsApi
63653
+ */
63654
+ setOrganizationLayout(requestParameters, options) {
63655
+ return OrganizationDeclarativeAPIsApi_SetOrganizationLayout(this.axios, this.basePath, requestParameters, options, this.configuration);
63656
+ }
63657
+ }
63658
+ // OrganizationEntityAPIsApi FP - OrganizationEntityAPIsApiAxiosParamCreator
62277
63659
  /**
62278
63660
  *
62279
63661
  * @summary Add targets to IP allowlist policy
@@ -79413,879 +80795,3 @@ export class WorkspacesSettingsApi extends BaseAPI {
79413
80795
  return WorkspacesSettingsApi_WorkspaceResolveSettings(this.axios, this.basePath, requestParameters, options, this.configuration);
79414
80796
  }
79415
80797
  }
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