@gooddata/api-client-tiger 11.32.0-alpha.0 → 11.32.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.
@@ -132,6 +132,7 @@ export interface AiConversationResponse {
132
132
  * Last activity timestamp (ISO-8601 UTC).
133
133
  */
134
134
  'lastActivityAt': string;
135
+ 'agentId'?: string | null;
135
136
  }
136
137
  export interface AiConversationResponseList {
137
138
  /**
@@ -1264,6 +1265,17 @@ export declare class ItemsAi extends BaseAPI implements ItemsAiInterface {
1264
1265
  * @throws {RequiredError}
1265
1266
  */
1266
1267
  export declare function KnowledgeAiAxiosParamCreator_CreateDocument(workspaceId: string, file: File, title?: string, scopes?: Array<string>, options?: AxiosRequestConfig, configuration?: Configuration): Promise<RequestArgs>;
1268
+ /**
1269
+ * Upload a new org-scoped knowledge document.
1270
+ * @summary Upload Document Org
1271
+ * @param {File} file
1272
+ * @param {string} [title]
1273
+ * @param {Array<string>} [scopes]
1274
+ * @param {*} [options] Override http request option.
1275
+ * @param {Configuration} [configuration] Optional configuration.
1276
+ * @throws {RequiredError}
1277
+ */
1278
+ export declare function KnowledgeAiAxiosParamCreator_CreateOrgDocument(file: File, title?: string, scopes?: Array<string>, options?: AxiosRequestConfig, configuration?: Configuration): Promise<RequestArgs>;
1267
1279
  /**
1268
1280
  * Delete a knowledge document and all its chunks.
1269
1281
  * @summary Delete Document
@@ -1274,6 +1286,15 @@ export declare function KnowledgeAiAxiosParamCreator_CreateDocument(workspaceId:
1274
1286
  * @throws {RequiredError}
1275
1287
  */
1276
1288
  export declare function KnowledgeAiAxiosParamCreator_DeleteDocument(workspaceId: string, documentId: string, options?: AxiosRequestConfig, configuration?: Configuration): Promise<RequestArgs>;
1289
+ /**
1290
+ * Delete an org-scoped knowledge document and all its chunks.
1291
+ * @summary Delete Document Org
1292
+ * @param {string} documentId
1293
+ * @param {*} [options] Override http request option.
1294
+ * @param {Configuration} [configuration] Optional configuration.
1295
+ * @throws {RequiredError}
1296
+ */
1297
+ export declare function KnowledgeAiAxiosParamCreator_DeleteOrgDocument(documentId: string, options?: AxiosRequestConfig, configuration?: Configuration): Promise<RequestArgs>;
1277
1298
  /**
1278
1299
  * Download a knowledge document\'s raw file.
1279
1300
  * @summary Download Document
@@ -1284,6 +1305,15 @@ export declare function KnowledgeAiAxiosParamCreator_DeleteDocument(workspaceId:
1284
1305
  * @throws {RequiredError}
1285
1306
  */
1286
1307
  export declare function KnowledgeAiAxiosParamCreator_DownloadDocument(workspaceId: string, documentId: string, options?: AxiosRequestConfig, configuration?: Configuration): Promise<RequestArgs>;
1308
+ /**
1309
+ * Download an org-scoped knowledge document\'s raw file.
1310
+ * @summary Download Document Org
1311
+ * @param {string} documentId
1312
+ * @param {*} [options] Override http request option.
1313
+ * @param {Configuration} [configuration] Optional configuration.
1314
+ * @throws {RequiredError}
1315
+ */
1316
+ export declare function KnowledgeAiAxiosParamCreator_DownloadOrgDocument(documentId: string, options?: AxiosRequestConfig, configuration?: Configuration): Promise<RequestArgs>;
1287
1317
  /**
1288
1318
  * Get a single knowledge document\'s metadata.
1289
1319
  * @summary Get Document
@@ -1294,6 +1324,15 @@ export declare function KnowledgeAiAxiosParamCreator_DownloadDocument(workspaceI
1294
1324
  * @throws {RequiredError}
1295
1325
  */
1296
1326
  export declare function KnowledgeAiAxiosParamCreator_GetDocument(workspaceId: string, documentId: string, options?: AxiosRequestConfig, configuration?: Configuration): Promise<RequestArgs>;
1327
+ /**
1328
+ * Get a single org-scoped knowledge document\'s metadata.
1329
+ * @summary Get Document Org
1330
+ * @param {string} documentId
1331
+ * @param {*} [options] Override http request option.
1332
+ * @param {Configuration} [configuration] Optional configuration.
1333
+ * @throws {RequiredError}
1334
+ */
1335
+ export declare function KnowledgeAiAxiosParamCreator_GetOrgDocument(documentId: string, options?: AxiosRequestConfig, configuration?: Configuration): Promise<RequestArgs>;
1297
1336
  /**
1298
1337
  * List knowledge documents accessible from the workspace.
1299
1338
  * @summary List Documents
@@ -1309,6 +1348,20 @@ export declare function KnowledgeAiAxiosParamCreator_GetDocument(workspaceId: st
1309
1348
  * @throws {RequiredError}
1310
1349
  */
1311
1350
  export declare function KnowledgeAiAxiosParamCreator_ListDocuments(workspaceId: string, scopes?: Array<string>, size?: number, pageToken?: string, metaInclude?: string, state?: 'enabled' | 'disabled', query?: string, options?: AxiosRequestConfig, configuration?: Configuration): Promise<RequestArgs>;
1351
+ /**
1352
+ * List org-scoped knowledge documents.
1353
+ * @summary List Documents Org
1354
+ * @param {Array<string>} [scopes]
1355
+ * @param {number} [size]
1356
+ * @param {string} [pageToken]
1357
+ * @param {string} [metaInclude]
1358
+ * @param {'enabled' | 'disabled'} [state]
1359
+ * @param {string} [query]
1360
+ * @param {*} [options] Override http request option.
1361
+ * @param {Configuration} [configuration] Optional configuration.
1362
+ * @throws {RequiredError}
1363
+ */
1364
+ export declare function KnowledgeAiAxiosParamCreator_ListOrgDocuments(scopes?: Array<string>, size?: number, pageToken?: string, metaInclude?: string, state?: 'enabled' | 'disabled', query?: string, options?: AxiosRequestConfig, configuration?: Configuration): Promise<RequestArgs>;
1312
1365
  /**
1313
1366
  * Patch a knowledge document\'s metadata without re-uploading content.
1314
1367
  * @summary Patch Document
@@ -1320,6 +1373,16 @@ export declare function KnowledgeAiAxiosParamCreator_ListDocuments(workspaceId:
1320
1373
  * @throws {RequiredError}
1321
1374
  */
1322
1375
  export declare function KnowledgeAiAxiosParamCreator_PatchDocument(workspaceId: string, documentId: string, aiPatchDocumentRequest: AiPatchDocumentRequest, options?: AxiosRequestConfig, configuration?: Configuration): Promise<RequestArgs>;
1376
+ /**
1377
+ * Patch an org-scoped knowledge document\'s metadata.
1378
+ * @summary Patch Document Org
1379
+ * @param {string} documentId
1380
+ * @param {AiPatchDocumentRequest} aiPatchDocumentRequest
1381
+ * @param {*} [options] Override http request option.
1382
+ * @param {Configuration} [configuration] Optional configuration.
1383
+ * @throws {RequiredError}
1384
+ */
1385
+ export declare function KnowledgeAiAxiosParamCreator_PatchOrgDocument(documentId: string, aiPatchDocumentRequest: AiPatchDocumentRequest, options?: AxiosRequestConfig, configuration?: Configuration): Promise<RequestArgs>;
1323
1386
  /**
1324
1387
  * Search the knowledge base using semantic similarity.
1325
1388
  * @summary Search Documents
@@ -1333,6 +1396,18 @@ export declare function KnowledgeAiAxiosParamCreator_PatchDocument(workspaceId:
1333
1396
  * @throws {RequiredError}
1334
1397
  */
1335
1398
  export declare function KnowledgeAiAxiosParamCreator_SearchKnowledge(workspaceId: string, query: string, limit?: number, minScore?: number, scopes?: Array<string>, options?: AxiosRequestConfig, configuration?: Configuration): Promise<RequestArgs>;
1399
+ /**
1400
+ * Search org-scoped knowledge documents using semantic similarity.
1401
+ * @summary Search Documents Org
1402
+ * @param {string} query
1403
+ * @param {number} [limit]
1404
+ * @param {number} [minScore]
1405
+ * @param {Array<string>} [scopes]
1406
+ * @param {*} [options] Override http request option.
1407
+ * @param {Configuration} [configuration] Optional configuration.
1408
+ * @throws {RequiredError}
1409
+ */
1410
+ export declare function KnowledgeAiAxiosParamCreator_SearchOrgKnowledge(query: string, limit?: number, minScore?: number, scopes?: Array<string>, options?: AxiosRequestConfig, configuration?: Configuration): Promise<RequestArgs>;
1336
1411
  /**
1337
1412
  * Upload or replace a knowledge document.
1338
1413
  * @summary Upsert Document
@@ -1345,6 +1420,17 @@ export declare function KnowledgeAiAxiosParamCreator_SearchKnowledge(workspaceId
1345
1420
  * @throws {RequiredError}
1346
1421
  */
1347
1422
  export declare function KnowledgeAiAxiosParamCreator_UpsertDocument(workspaceId: string, file: File, title?: string, scopes?: Array<string>, options?: AxiosRequestConfig, configuration?: Configuration): Promise<RequestArgs>;
1423
+ /**
1424
+ * Upload or replace an org-scoped knowledge document.
1425
+ * @summary Upsert Document Org
1426
+ * @param {File} file
1427
+ * @param {string} [title]
1428
+ * @param {Array<string>} [scopes]
1429
+ * @param {*} [options] Override http request option.
1430
+ * @param {Configuration} [configuration] Optional configuration.
1431
+ * @throws {RequiredError}
1432
+ */
1433
+ export declare function KnowledgeAiAxiosParamCreator_UpsertOrgDocument(file: File, title?: string, scopes?: Array<string>, options?: AxiosRequestConfig, configuration?: Configuration): Promise<RequestArgs>;
1348
1434
  /**
1349
1435
  * Upload a new knowledge document. Returns 409 if filename already exists.
1350
1436
  * @summary Upload Document
@@ -1356,6 +1442,17 @@ export declare function KnowledgeAiAxiosParamCreator_UpsertDocument(workspaceId:
1356
1442
  * @throws {RequiredError}
1357
1443
  */
1358
1444
  export declare function KnowledgeAi_CreateDocument(axios: AxiosInstance, basePath: string, requestParameters: KnowledgeAiCreateDocumentRequest, options?: AxiosRequestConfig, configuration?: Configuration): AxiosPromise<AiUploadDocumentResponse>;
1445
+ /**
1446
+ * Upload a new org-scoped knowledge document.
1447
+ * @summary Upload Document Org
1448
+ * @param {AxiosInstance} axios Axios instance.
1449
+ * @param {string} basePath Base path.
1450
+ * @param {KnowledgeAiCreateOrgDocumentRequest} requestParameters Request parameters.
1451
+ * @param {*} [options] Override http request option.
1452
+ * @param {Configuration} [configuration] Optional configuration.
1453
+ * @throws {RequiredError}
1454
+ */
1455
+ export declare function KnowledgeAi_CreateOrgDocument(axios: AxiosInstance, basePath: string, requestParameters: KnowledgeAiCreateOrgDocumentRequest, options?: AxiosRequestConfig, configuration?: Configuration): AxiosPromise<AiUploadDocumentResponse>;
1359
1456
  /**
1360
1457
  * Delete a knowledge document and all its chunks.
1361
1458
  * @summary Delete Document
@@ -1367,6 +1464,17 @@ export declare function KnowledgeAi_CreateDocument(axios: AxiosInstance, basePat
1367
1464
  * @throws {RequiredError}
1368
1465
  */
1369
1466
  export declare function KnowledgeAi_DeleteDocument(axios: AxiosInstance, basePath: string, requestParameters: KnowledgeAiDeleteDocumentRequest, options?: AxiosRequestConfig, configuration?: Configuration): AxiosPromise<AiDeleteDocumentResponse>;
1467
+ /**
1468
+ * Delete an org-scoped knowledge document and all its chunks.
1469
+ * @summary Delete Document Org
1470
+ * @param {AxiosInstance} axios Axios instance.
1471
+ * @param {string} basePath Base path.
1472
+ * @param {KnowledgeAiDeleteOrgDocumentRequest} requestParameters Request parameters.
1473
+ * @param {*} [options] Override http request option.
1474
+ * @param {Configuration} [configuration] Optional configuration.
1475
+ * @throws {RequiredError}
1476
+ */
1477
+ export declare function KnowledgeAi_DeleteOrgDocument(axios: AxiosInstance, basePath: string, requestParameters: KnowledgeAiDeleteOrgDocumentRequest, options?: AxiosRequestConfig, configuration?: Configuration): AxiosPromise<AiDeleteDocumentResponse>;
1370
1478
  /**
1371
1479
  * Download a knowledge document\'s raw file.
1372
1480
  * @summary Download Document
@@ -1378,6 +1486,17 @@ export declare function KnowledgeAi_DeleteDocument(axios: AxiosInstance, basePat
1378
1486
  * @throws {RequiredError}
1379
1487
  */
1380
1488
  export declare function KnowledgeAi_DownloadDocument(axios: AxiosInstance, basePath: string, requestParameters: KnowledgeAiDownloadDocumentRequest, options?: AxiosRequestConfig, configuration?: Configuration): AxiosPromise<any>;
1489
+ /**
1490
+ * Download an org-scoped knowledge document\'s raw file.
1491
+ * @summary Download Document Org
1492
+ * @param {AxiosInstance} axios Axios instance.
1493
+ * @param {string} basePath Base path.
1494
+ * @param {KnowledgeAiDownloadOrgDocumentRequest} requestParameters Request parameters.
1495
+ * @param {*} [options] Override http request option.
1496
+ * @param {Configuration} [configuration] Optional configuration.
1497
+ * @throws {RequiredError}
1498
+ */
1499
+ export declare function KnowledgeAi_DownloadOrgDocument(axios: AxiosInstance, basePath: string, requestParameters: KnowledgeAiDownloadOrgDocumentRequest, options?: AxiosRequestConfig, configuration?: Configuration): AxiosPromise<any>;
1381
1500
  /**
1382
1501
  * Get a single knowledge document\'s metadata.
1383
1502
  * @summary Get Document
@@ -1389,6 +1508,17 @@ export declare function KnowledgeAi_DownloadDocument(axios: AxiosInstance, baseP
1389
1508
  * @throws {RequiredError}
1390
1509
  */
1391
1510
  export declare function KnowledgeAi_GetDocument(axios: AxiosInstance, basePath: string, requestParameters: KnowledgeAiGetDocumentRequest, options?: AxiosRequestConfig, configuration?: Configuration): AxiosPromise<AiDocumentMetadataResponse>;
1511
+ /**
1512
+ * Get a single org-scoped knowledge document\'s metadata.
1513
+ * @summary Get Document Org
1514
+ * @param {AxiosInstance} axios Axios instance.
1515
+ * @param {string} basePath Base path.
1516
+ * @param {KnowledgeAiGetOrgDocumentRequest} requestParameters Request parameters.
1517
+ * @param {*} [options] Override http request option.
1518
+ * @param {Configuration} [configuration] Optional configuration.
1519
+ * @throws {RequiredError}
1520
+ */
1521
+ export declare function KnowledgeAi_GetOrgDocument(axios: AxiosInstance, basePath: string, requestParameters: KnowledgeAiGetOrgDocumentRequest, options?: AxiosRequestConfig, configuration?: Configuration): AxiosPromise<AiDocumentMetadataResponse>;
1392
1522
  /**
1393
1523
  * List knowledge documents accessible from the workspace.
1394
1524
  * @summary List Documents
@@ -1400,6 +1530,17 @@ export declare function KnowledgeAi_GetDocument(axios: AxiosInstance, basePath:
1400
1530
  * @throws {RequiredError}
1401
1531
  */
1402
1532
  export declare function KnowledgeAi_ListDocuments(axios: AxiosInstance, basePath: string, requestParameters: KnowledgeAiListDocumentsRequest, options?: AxiosRequestConfig, configuration?: Configuration): AxiosPromise<AiListDocumentsResponse>;
1533
+ /**
1534
+ * List org-scoped knowledge documents.
1535
+ * @summary List Documents Org
1536
+ * @param {AxiosInstance} axios Axios instance.
1537
+ * @param {string} basePath Base path.
1538
+ * @param {KnowledgeAiListOrgDocumentsRequest} requestParameters Request parameters.
1539
+ * @param {*} [options] Override http request option.
1540
+ * @param {Configuration} [configuration] Optional configuration.
1541
+ * @throws {RequiredError}
1542
+ */
1543
+ export declare function KnowledgeAi_ListOrgDocuments(axios: AxiosInstance, basePath: string, requestParameters: KnowledgeAiListOrgDocumentsRequest, options?: AxiosRequestConfig, configuration?: Configuration): AxiosPromise<AiListDocumentsResponse>;
1403
1544
  /**
1404
1545
  * Patch a knowledge document\'s metadata without re-uploading content.
1405
1546
  * @summary Patch Document
@@ -1411,6 +1552,17 @@ export declare function KnowledgeAi_ListDocuments(axios: AxiosInstance, basePath
1411
1552
  * @throws {RequiredError}
1412
1553
  */
1413
1554
  export declare function KnowledgeAi_PatchDocument(axios: AxiosInstance, basePath: string, requestParameters: KnowledgeAiPatchDocumentRequest, options?: AxiosRequestConfig, configuration?: Configuration): AxiosPromise<AiDocumentMetadataResponse>;
1555
+ /**
1556
+ * Patch an org-scoped knowledge document\'s metadata.
1557
+ * @summary Patch Document Org
1558
+ * @param {AxiosInstance} axios Axios instance.
1559
+ * @param {string} basePath Base path.
1560
+ * @param {KnowledgeAiPatchOrgDocumentRequest} requestParameters Request parameters.
1561
+ * @param {*} [options] Override http request option.
1562
+ * @param {Configuration} [configuration] Optional configuration.
1563
+ * @throws {RequiredError}
1564
+ */
1565
+ export declare function KnowledgeAi_PatchOrgDocument(axios: AxiosInstance, basePath: string, requestParameters: KnowledgeAiPatchOrgDocumentRequest, options?: AxiosRequestConfig, configuration?: Configuration): AxiosPromise<AiDocumentMetadataResponse>;
1414
1566
  /**
1415
1567
  * Search the knowledge base using semantic similarity.
1416
1568
  * @summary Search Documents
@@ -1422,6 +1574,17 @@ export declare function KnowledgeAi_PatchDocument(axios: AxiosInstance, basePath
1422
1574
  * @throws {RequiredError}
1423
1575
  */
1424
1576
  export declare function KnowledgeAi_SearchKnowledge(axios: AxiosInstance, basePath: string, requestParameters: KnowledgeAiSearchKnowledgeRequest, options?: AxiosRequestConfig, configuration?: Configuration): AxiosPromise<AiSearchDocumentsResponse>;
1577
+ /**
1578
+ * Search org-scoped knowledge documents using semantic similarity.
1579
+ * @summary Search Documents Org
1580
+ * @param {AxiosInstance} axios Axios instance.
1581
+ * @param {string} basePath Base path.
1582
+ * @param {KnowledgeAiSearchOrgKnowledgeRequest} requestParameters Request parameters.
1583
+ * @param {*} [options] Override http request option.
1584
+ * @param {Configuration} [configuration] Optional configuration.
1585
+ * @throws {RequiredError}
1586
+ */
1587
+ export declare function KnowledgeAi_SearchOrgKnowledge(axios: AxiosInstance, basePath: string, requestParameters: KnowledgeAiSearchOrgKnowledgeRequest, options?: AxiosRequestConfig, configuration?: Configuration): AxiosPromise<AiSearchDocumentsResponse>;
1425
1588
  /**
1426
1589
  * Upload or replace a knowledge document.
1427
1590
  * @summary Upsert Document
@@ -1433,6 +1596,17 @@ export declare function KnowledgeAi_SearchKnowledge(axios: AxiosInstance, basePa
1433
1596
  * @throws {RequiredError}
1434
1597
  */
1435
1598
  export declare function KnowledgeAi_UpsertDocument(axios: AxiosInstance, basePath: string, requestParameters: KnowledgeAiUpsertDocumentRequest, options?: AxiosRequestConfig, configuration?: Configuration): AxiosPromise<AiUploadDocumentResponse>;
1599
+ /**
1600
+ * Upload or replace an org-scoped knowledge document.
1601
+ * @summary Upsert Document Org
1602
+ * @param {AxiosInstance} axios Axios instance.
1603
+ * @param {string} basePath Base path.
1604
+ * @param {KnowledgeAiUpsertOrgDocumentRequest} requestParameters Request parameters.
1605
+ * @param {*} [options] Override http request option.
1606
+ * @param {Configuration} [configuration] Optional configuration.
1607
+ * @throws {RequiredError}
1608
+ */
1609
+ export declare function KnowledgeAi_UpsertOrgDocument(axios: AxiosInstance, basePath: string, requestParameters: KnowledgeAiUpsertOrgDocumentRequest, options?: AxiosRequestConfig, configuration?: Configuration): AxiosPromise<AiUploadDocumentResponse>;
1436
1610
  /**
1437
1611
  * KnowledgeAi - interface
1438
1612
  * @export
@@ -1448,6 +1622,15 @@ export interface KnowledgeAiInterface {
1448
1622
  * @memberof KnowledgeAiInterface
1449
1623
  */
1450
1624
  createDocument(requestParameters: KnowledgeAiCreateDocumentRequest, options?: AxiosRequestConfig): AxiosPromise<AiUploadDocumentResponse>;
1625
+ /**
1626
+ * Upload a new org-scoped knowledge document.
1627
+ * @summary Upload Document Org
1628
+ * @param {KnowledgeAiCreateOrgDocumentRequest} requestParameters Request parameters.
1629
+ * @param {*} [options] Override http request option.
1630
+ * @throws {RequiredError}
1631
+ * @memberof KnowledgeAiInterface
1632
+ */
1633
+ createOrgDocument(requestParameters: KnowledgeAiCreateOrgDocumentRequest, options?: AxiosRequestConfig): AxiosPromise<AiUploadDocumentResponse>;
1451
1634
  /**
1452
1635
  * Delete a knowledge document and all its chunks.
1453
1636
  * @summary Delete Document
@@ -1457,6 +1640,15 @@ export interface KnowledgeAiInterface {
1457
1640
  * @memberof KnowledgeAiInterface
1458
1641
  */
1459
1642
  deleteDocument(requestParameters: KnowledgeAiDeleteDocumentRequest, options?: AxiosRequestConfig): AxiosPromise<AiDeleteDocumentResponse>;
1643
+ /**
1644
+ * Delete an org-scoped knowledge document and all its chunks.
1645
+ * @summary Delete Document Org
1646
+ * @param {KnowledgeAiDeleteOrgDocumentRequest} requestParameters Request parameters.
1647
+ * @param {*} [options] Override http request option.
1648
+ * @throws {RequiredError}
1649
+ * @memberof KnowledgeAiInterface
1650
+ */
1651
+ deleteOrgDocument(requestParameters: KnowledgeAiDeleteOrgDocumentRequest, options?: AxiosRequestConfig): AxiosPromise<AiDeleteDocumentResponse>;
1460
1652
  /**
1461
1653
  * Download a knowledge document\'s raw file.
1462
1654
  * @summary Download Document
@@ -1466,6 +1658,15 @@ export interface KnowledgeAiInterface {
1466
1658
  * @memberof KnowledgeAiInterface
1467
1659
  */
1468
1660
  downloadDocument(requestParameters: KnowledgeAiDownloadDocumentRequest, options?: AxiosRequestConfig): AxiosPromise<any>;
1661
+ /**
1662
+ * Download an org-scoped knowledge document\'s raw file.
1663
+ * @summary Download Document Org
1664
+ * @param {KnowledgeAiDownloadOrgDocumentRequest} requestParameters Request parameters.
1665
+ * @param {*} [options] Override http request option.
1666
+ * @throws {RequiredError}
1667
+ * @memberof KnowledgeAiInterface
1668
+ */
1669
+ downloadOrgDocument(requestParameters: KnowledgeAiDownloadOrgDocumentRequest, options?: AxiosRequestConfig): AxiosPromise<any>;
1469
1670
  /**
1470
1671
  * Get a single knowledge document\'s metadata.
1471
1672
  * @summary Get Document
@@ -1475,6 +1676,15 @@ export interface KnowledgeAiInterface {
1475
1676
  * @memberof KnowledgeAiInterface
1476
1677
  */
1477
1678
  getDocument(requestParameters: KnowledgeAiGetDocumentRequest, options?: AxiosRequestConfig): AxiosPromise<AiDocumentMetadataResponse>;
1679
+ /**
1680
+ * Get a single org-scoped knowledge document\'s metadata.
1681
+ * @summary Get Document Org
1682
+ * @param {KnowledgeAiGetOrgDocumentRequest} requestParameters Request parameters.
1683
+ * @param {*} [options] Override http request option.
1684
+ * @throws {RequiredError}
1685
+ * @memberof KnowledgeAiInterface
1686
+ */
1687
+ getOrgDocument(requestParameters: KnowledgeAiGetOrgDocumentRequest, options?: AxiosRequestConfig): AxiosPromise<AiDocumentMetadataResponse>;
1478
1688
  /**
1479
1689
  * List knowledge documents accessible from the workspace.
1480
1690
  * @summary List Documents
@@ -1484,6 +1694,15 @@ export interface KnowledgeAiInterface {
1484
1694
  * @memberof KnowledgeAiInterface
1485
1695
  */
1486
1696
  listDocuments(requestParameters: KnowledgeAiListDocumentsRequest, options?: AxiosRequestConfig): AxiosPromise<AiListDocumentsResponse>;
1697
+ /**
1698
+ * List org-scoped knowledge documents.
1699
+ * @summary List Documents Org
1700
+ * @param {KnowledgeAiListOrgDocumentsRequest} requestParameters Request parameters.
1701
+ * @param {*} [options] Override http request option.
1702
+ * @throws {RequiredError}
1703
+ * @memberof KnowledgeAiInterface
1704
+ */
1705
+ listOrgDocuments(requestParameters: KnowledgeAiListOrgDocumentsRequest, options?: AxiosRequestConfig): AxiosPromise<AiListDocumentsResponse>;
1487
1706
  /**
1488
1707
  * Patch a knowledge document\'s metadata without re-uploading content.
1489
1708
  * @summary Patch Document
@@ -1493,6 +1712,15 @@ export interface KnowledgeAiInterface {
1493
1712
  * @memberof KnowledgeAiInterface
1494
1713
  */
1495
1714
  patchDocument(requestParameters: KnowledgeAiPatchDocumentRequest, options?: AxiosRequestConfig): AxiosPromise<AiDocumentMetadataResponse>;
1715
+ /**
1716
+ * Patch an org-scoped knowledge document\'s metadata.
1717
+ * @summary Patch Document Org
1718
+ * @param {KnowledgeAiPatchOrgDocumentRequest} requestParameters Request parameters.
1719
+ * @param {*} [options] Override http request option.
1720
+ * @throws {RequiredError}
1721
+ * @memberof KnowledgeAiInterface
1722
+ */
1723
+ patchOrgDocument(requestParameters: KnowledgeAiPatchOrgDocumentRequest, options?: AxiosRequestConfig): AxiosPromise<AiDocumentMetadataResponse>;
1496
1724
  /**
1497
1725
  * Search the knowledge base using semantic similarity.
1498
1726
  * @summary Search Documents
@@ -1502,6 +1730,15 @@ export interface KnowledgeAiInterface {
1502
1730
  * @memberof KnowledgeAiInterface
1503
1731
  */
1504
1732
  searchKnowledge(requestParameters: KnowledgeAiSearchKnowledgeRequest, options?: AxiosRequestConfig): AxiosPromise<AiSearchDocumentsResponse>;
1733
+ /**
1734
+ * Search org-scoped knowledge documents using semantic similarity.
1735
+ * @summary Search Documents Org
1736
+ * @param {KnowledgeAiSearchOrgKnowledgeRequest} requestParameters Request parameters.
1737
+ * @param {*} [options] Override http request option.
1738
+ * @throws {RequiredError}
1739
+ * @memberof KnowledgeAiInterface
1740
+ */
1741
+ searchOrgKnowledge(requestParameters: KnowledgeAiSearchOrgKnowledgeRequest, options?: AxiosRequestConfig): AxiosPromise<AiSearchDocumentsResponse>;
1505
1742
  /**
1506
1743
  * Upload or replace a knowledge document.
1507
1744
  * @summary Upsert Document
@@ -1511,6 +1748,15 @@ export interface KnowledgeAiInterface {
1511
1748
  * @memberof KnowledgeAiInterface
1512
1749
  */
1513
1750
  upsertDocument(requestParameters: KnowledgeAiUpsertDocumentRequest, options?: AxiosRequestConfig): AxiosPromise<AiUploadDocumentResponse>;
1751
+ /**
1752
+ * Upload or replace an org-scoped knowledge document.
1753
+ * @summary Upsert Document Org
1754
+ * @param {KnowledgeAiUpsertOrgDocumentRequest} requestParameters Request parameters.
1755
+ * @param {*} [options] Override http request option.
1756
+ * @throws {RequiredError}
1757
+ * @memberof KnowledgeAiInterface
1758
+ */
1759
+ upsertOrgDocument(requestParameters: KnowledgeAiUpsertOrgDocumentRequest, options?: AxiosRequestConfig): AxiosPromise<AiUploadDocumentResponse>;
1514
1760
  }
1515
1761
  /**
1516
1762
  * Request parameters for createDocument operation in KnowledgeAi.
@@ -1543,6 +1789,31 @@ export interface KnowledgeAiCreateDocumentRequest {
1543
1789
  */
1544
1790
  readonly scopes?: Array<string>;
1545
1791
  }
1792
+ /**
1793
+ * Request parameters for createOrgDocument operation in KnowledgeAi.
1794
+ * @export
1795
+ * @interface KnowledgeAiCreateOrgDocumentRequest
1796
+ */
1797
+ export interface KnowledgeAiCreateOrgDocumentRequest {
1798
+ /**
1799
+ *
1800
+ * @type {File}
1801
+ * @memberof KnowledgeAiCreateOrgDocument
1802
+ */
1803
+ readonly file: File;
1804
+ /**
1805
+ *
1806
+ * @type {string}
1807
+ * @memberof KnowledgeAiCreateOrgDocument
1808
+ */
1809
+ readonly title?: string;
1810
+ /**
1811
+ *
1812
+ * @type {Array<string>}
1813
+ * @memberof KnowledgeAiCreateOrgDocument
1814
+ */
1815
+ readonly scopes?: Array<string>;
1816
+ }
1546
1817
  /**
1547
1818
  * Request parameters for deleteDocument operation in KnowledgeAi.
1548
1819
  * @export
@@ -1562,6 +1833,19 @@ export interface KnowledgeAiDeleteDocumentRequest {
1562
1833
  */
1563
1834
  readonly documentId: string;
1564
1835
  }
1836
+ /**
1837
+ * Request parameters for deleteOrgDocument operation in KnowledgeAi.
1838
+ * @export
1839
+ * @interface KnowledgeAiDeleteOrgDocumentRequest
1840
+ */
1841
+ export interface KnowledgeAiDeleteOrgDocumentRequest {
1842
+ /**
1843
+ *
1844
+ * @type {string}
1845
+ * @memberof KnowledgeAiDeleteOrgDocument
1846
+ */
1847
+ readonly documentId: string;
1848
+ }
1565
1849
  /**
1566
1850
  * Request parameters for downloadDocument operation in KnowledgeAi.
1567
1851
  * @export
@@ -1581,6 +1865,19 @@ export interface KnowledgeAiDownloadDocumentRequest {
1581
1865
  */
1582
1866
  readonly documentId: string;
1583
1867
  }
1868
+ /**
1869
+ * Request parameters for downloadOrgDocument operation in KnowledgeAi.
1870
+ * @export
1871
+ * @interface KnowledgeAiDownloadOrgDocumentRequest
1872
+ */
1873
+ export interface KnowledgeAiDownloadOrgDocumentRequest {
1874
+ /**
1875
+ *
1876
+ * @type {string}
1877
+ * @memberof KnowledgeAiDownloadOrgDocument
1878
+ */
1879
+ readonly documentId: string;
1880
+ }
1584
1881
  /**
1585
1882
  * Request parameters for getDocument operation in KnowledgeAi.
1586
1883
  * @export
@@ -1600,6 +1897,19 @@ export interface KnowledgeAiGetDocumentRequest {
1600
1897
  */
1601
1898
  readonly documentId: string;
1602
1899
  }
1900
+ /**
1901
+ * Request parameters for getOrgDocument operation in KnowledgeAi.
1902
+ * @export
1903
+ * @interface KnowledgeAiGetOrgDocumentRequest
1904
+ */
1905
+ export interface KnowledgeAiGetOrgDocumentRequest {
1906
+ /**
1907
+ *
1908
+ * @type {string}
1909
+ * @memberof KnowledgeAiGetOrgDocument
1910
+ */
1911
+ readonly documentId: string;
1912
+ }
1603
1913
  /**
1604
1914
  * Request parameters for listDocuments operation in KnowledgeAi.
1605
1915
  * @export
@@ -1649,6 +1959,49 @@ export interface KnowledgeAiListDocumentsRequest {
1649
1959
  */
1650
1960
  readonly query?: string;
1651
1961
  }
1962
+ /**
1963
+ * Request parameters for listOrgDocuments operation in KnowledgeAi.
1964
+ * @export
1965
+ * @interface KnowledgeAiListOrgDocumentsRequest
1966
+ */
1967
+ export interface KnowledgeAiListOrgDocumentsRequest {
1968
+ /**
1969
+ *
1970
+ * @type {Array<string>}
1971
+ * @memberof KnowledgeAiListOrgDocuments
1972
+ */
1973
+ readonly scopes?: Array<string>;
1974
+ /**
1975
+ *
1976
+ * @type {number}
1977
+ * @memberof KnowledgeAiListOrgDocuments
1978
+ */
1979
+ readonly size?: number;
1980
+ /**
1981
+ *
1982
+ * @type {string}
1983
+ * @memberof KnowledgeAiListOrgDocuments
1984
+ */
1985
+ readonly pageToken?: string;
1986
+ /**
1987
+ *
1988
+ * @type {string}
1989
+ * @memberof KnowledgeAiListOrgDocuments
1990
+ */
1991
+ readonly metaInclude?: string;
1992
+ /**
1993
+ *
1994
+ * @type {'enabled' | 'disabled'}
1995
+ * @memberof KnowledgeAiListOrgDocuments
1996
+ */
1997
+ readonly state?: 'enabled' | 'disabled';
1998
+ /**
1999
+ *
2000
+ * @type {string}
2001
+ * @memberof KnowledgeAiListOrgDocuments
2002
+ */
2003
+ readonly query?: string;
2004
+ }
1652
2005
  /**
1653
2006
  * Request parameters for patchDocument operation in KnowledgeAi.
1654
2007
  * @export
@@ -1674,6 +2027,25 @@ export interface KnowledgeAiPatchDocumentRequest {
1674
2027
  */
1675
2028
  readonly aiPatchDocumentRequest: AiPatchDocumentRequest;
1676
2029
  }
2030
+ /**
2031
+ * Request parameters for patchOrgDocument operation in KnowledgeAi.
2032
+ * @export
2033
+ * @interface KnowledgeAiPatchOrgDocumentRequest
2034
+ */
2035
+ export interface KnowledgeAiPatchOrgDocumentRequest {
2036
+ /**
2037
+ *
2038
+ * @type {string}
2039
+ * @memberof KnowledgeAiPatchOrgDocument
2040
+ */
2041
+ readonly documentId: string;
2042
+ /**
2043
+ *
2044
+ * @type {AiPatchDocumentRequest}
2045
+ * @memberof KnowledgeAiPatchOrgDocument
2046
+ */
2047
+ readonly aiPatchDocumentRequest: AiPatchDocumentRequest;
2048
+ }
1677
2049
  /**
1678
2050
  * Request parameters for searchKnowledge operation in KnowledgeAi.
1679
2051
  * @export
@@ -1711,6 +2083,37 @@ export interface KnowledgeAiSearchKnowledgeRequest {
1711
2083
  */
1712
2084
  readonly scopes?: Array<string>;
1713
2085
  }
2086
+ /**
2087
+ * Request parameters for searchOrgKnowledge operation in KnowledgeAi.
2088
+ * @export
2089
+ * @interface KnowledgeAiSearchOrgKnowledgeRequest
2090
+ */
2091
+ export interface KnowledgeAiSearchOrgKnowledgeRequest {
2092
+ /**
2093
+ *
2094
+ * @type {string}
2095
+ * @memberof KnowledgeAiSearchOrgKnowledge
2096
+ */
2097
+ readonly query: string;
2098
+ /**
2099
+ *
2100
+ * @type {number}
2101
+ * @memberof KnowledgeAiSearchOrgKnowledge
2102
+ */
2103
+ readonly limit?: number;
2104
+ /**
2105
+ *
2106
+ * @type {number}
2107
+ * @memberof KnowledgeAiSearchOrgKnowledge
2108
+ */
2109
+ readonly minScore?: number;
2110
+ /**
2111
+ *
2112
+ * @type {Array<string>}
2113
+ * @memberof KnowledgeAiSearchOrgKnowledge
2114
+ */
2115
+ readonly scopes?: Array<string>;
2116
+ }
1714
2117
  /**
1715
2118
  * Request parameters for upsertDocument operation in KnowledgeAi.
1716
2119
  * @export
@@ -1742,6 +2145,31 @@ export interface KnowledgeAiUpsertDocumentRequest {
1742
2145
  */
1743
2146
  readonly scopes?: Array<string>;
1744
2147
  }
2148
+ /**
2149
+ * Request parameters for upsertOrgDocument operation in KnowledgeAi.
2150
+ * @export
2151
+ * @interface KnowledgeAiUpsertOrgDocumentRequest
2152
+ */
2153
+ export interface KnowledgeAiUpsertOrgDocumentRequest {
2154
+ /**
2155
+ *
2156
+ * @type {File}
2157
+ * @memberof KnowledgeAiUpsertOrgDocument
2158
+ */
2159
+ readonly file: File;
2160
+ /**
2161
+ *
2162
+ * @type {string}
2163
+ * @memberof KnowledgeAiUpsertOrgDocument
2164
+ */
2165
+ readonly title?: string;
2166
+ /**
2167
+ *
2168
+ * @type {Array<string>}
2169
+ * @memberof KnowledgeAiUpsertOrgDocument
2170
+ */
2171
+ readonly scopes?: Array<string>;
2172
+ }
1745
2173
  /**
1746
2174
  * KnowledgeAi - object-oriented interface
1747
2175
  * @export
@@ -1758,6 +2186,15 @@ export declare class KnowledgeAi extends BaseAPI implements KnowledgeAiInterface
1758
2186
  * @memberof KnowledgeAi
1759
2187
  */
1760
2188
  createDocument(requestParameters: KnowledgeAiCreateDocumentRequest, options?: AxiosRequestConfig): AxiosPromise<AiUploadDocumentResponse>;
2189
+ /**
2190
+ * Upload a new org-scoped knowledge document.
2191
+ * @summary Upload Document Org
2192
+ * @param {KnowledgeAiCreateOrgDocumentRequest} requestParameters Request parameters.
2193
+ * @param {*} [options] Override http request option.
2194
+ * @throws {RequiredError}
2195
+ * @memberof KnowledgeAi
2196
+ */
2197
+ createOrgDocument(requestParameters: KnowledgeAiCreateOrgDocumentRequest, options?: AxiosRequestConfig): AxiosPromise<AiUploadDocumentResponse>;
1761
2198
  /**
1762
2199
  * Delete a knowledge document and all its chunks.
1763
2200
  * @summary Delete Document
@@ -1767,6 +2204,15 @@ export declare class KnowledgeAi extends BaseAPI implements KnowledgeAiInterface
1767
2204
  * @memberof KnowledgeAi
1768
2205
  */
1769
2206
  deleteDocument(requestParameters: KnowledgeAiDeleteDocumentRequest, options?: AxiosRequestConfig): AxiosPromise<AiDeleteDocumentResponse>;
2207
+ /**
2208
+ * Delete an org-scoped knowledge document and all its chunks.
2209
+ * @summary Delete Document Org
2210
+ * @param {KnowledgeAiDeleteOrgDocumentRequest} requestParameters Request parameters.
2211
+ * @param {*} [options] Override http request option.
2212
+ * @throws {RequiredError}
2213
+ * @memberof KnowledgeAi
2214
+ */
2215
+ deleteOrgDocument(requestParameters: KnowledgeAiDeleteOrgDocumentRequest, options?: AxiosRequestConfig): AxiosPromise<AiDeleteDocumentResponse>;
1770
2216
  /**
1771
2217
  * Download a knowledge document\'s raw file.
1772
2218
  * @summary Download Document
@@ -1776,6 +2222,15 @@ export declare class KnowledgeAi extends BaseAPI implements KnowledgeAiInterface
1776
2222
  * @memberof KnowledgeAi
1777
2223
  */
1778
2224
  downloadDocument(requestParameters: KnowledgeAiDownloadDocumentRequest, options?: AxiosRequestConfig): AxiosPromise<any>;
2225
+ /**
2226
+ * Download an org-scoped knowledge document\'s raw file.
2227
+ * @summary Download Document Org
2228
+ * @param {KnowledgeAiDownloadOrgDocumentRequest} requestParameters Request parameters.
2229
+ * @param {*} [options] Override http request option.
2230
+ * @throws {RequiredError}
2231
+ * @memberof KnowledgeAi
2232
+ */
2233
+ downloadOrgDocument(requestParameters: KnowledgeAiDownloadOrgDocumentRequest, options?: AxiosRequestConfig): AxiosPromise<any>;
1779
2234
  /**
1780
2235
  * Get a single knowledge document\'s metadata.
1781
2236
  * @summary Get Document
@@ -1785,6 +2240,15 @@ export declare class KnowledgeAi extends BaseAPI implements KnowledgeAiInterface
1785
2240
  * @memberof KnowledgeAi
1786
2241
  */
1787
2242
  getDocument(requestParameters: KnowledgeAiGetDocumentRequest, options?: AxiosRequestConfig): AxiosPromise<AiDocumentMetadataResponse>;
2243
+ /**
2244
+ * Get a single org-scoped knowledge document\'s metadata.
2245
+ * @summary Get Document Org
2246
+ * @param {KnowledgeAiGetOrgDocumentRequest} requestParameters Request parameters.
2247
+ * @param {*} [options] Override http request option.
2248
+ * @throws {RequiredError}
2249
+ * @memberof KnowledgeAi
2250
+ */
2251
+ getOrgDocument(requestParameters: KnowledgeAiGetOrgDocumentRequest, options?: AxiosRequestConfig): AxiosPromise<AiDocumentMetadataResponse>;
1788
2252
  /**
1789
2253
  * List knowledge documents accessible from the workspace.
1790
2254
  * @summary List Documents
@@ -1794,6 +2258,15 @@ export declare class KnowledgeAi extends BaseAPI implements KnowledgeAiInterface
1794
2258
  * @memberof KnowledgeAi
1795
2259
  */
1796
2260
  listDocuments(requestParameters: KnowledgeAiListDocumentsRequest, options?: AxiosRequestConfig): AxiosPromise<AiListDocumentsResponse>;
2261
+ /**
2262
+ * List org-scoped knowledge documents.
2263
+ * @summary List Documents Org
2264
+ * @param {KnowledgeAiListOrgDocumentsRequest} requestParameters Request parameters.
2265
+ * @param {*} [options] Override http request option.
2266
+ * @throws {RequiredError}
2267
+ * @memberof KnowledgeAi
2268
+ */
2269
+ listOrgDocuments(requestParameters?: KnowledgeAiListOrgDocumentsRequest, options?: AxiosRequestConfig): AxiosPromise<AiListDocumentsResponse>;
1797
2270
  /**
1798
2271
  * Patch a knowledge document\'s metadata without re-uploading content.
1799
2272
  * @summary Patch Document
@@ -1803,6 +2276,15 @@ export declare class KnowledgeAi extends BaseAPI implements KnowledgeAiInterface
1803
2276
  * @memberof KnowledgeAi
1804
2277
  */
1805
2278
  patchDocument(requestParameters: KnowledgeAiPatchDocumentRequest, options?: AxiosRequestConfig): AxiosPromise<AiDocumentMetadataResponse>;
2279
+ /**
2280
+ * Patch an org-scoped knowledge document\'s metadata.
2281
+ * @summary Patch Document Org
2282
+ * @param {KnowledgeAiPatchOrgDocumentRequest} requestParameters Request parameters.
2283
+ * @param {*} [options] Override http request option.
2284
+ * @throws {RequiredError}
2285
+ * @memberof KnowledgeAi
2286
+ */
2287
+ patchOrgDocument(requestParameters: KnowledgeAiPatchOrgDocumentRequest, options?: AxiosRequestConfig): AxiosPromise<AiDocumentMetadataResponse>;
1806
2288
  /**
1807
2289
  * Search the knowledge base using semantic similarity.
1808
2290
  * @summary Search Documents
@@ -1812,6 +2294,15 @@ export declare class KnowledgeAi extends BaseAPI implements KnowledgeAiInterface
1812
2294
  * @memberof KnowledgeAi
1813
2295
  */
1814
2296
  searchKnowledge(requestParameters: KnowledgeAiSearchKnowledgeRequest, options?: AxiosRequestConfig): AxiosPromise<AiSearchDocumentsResponse>;
2297
+ /**
2298
+ * Search org-scoped knowledge documents using semantic similarity.
2299
+ * @summary Search Documents Org
2300
+ * @param {KnowledgeAiSearchOrgKnowledgeRequest} requestParameters Request parameters.
2301
+ * @param {*} [options] Override http request option.
2302
+ * @throws {RequiredError}
2303
+ * @memberof KnowledgeAi
2304
+ */
2305
+ searchOrgKnowledge(requestParameters: KnowledgeAiSearchOrgKnowledgeRequest, options?: AxiosRequestConfig): AxiosPromise<AiSearchDocumentsResponse>;
1815
2306
  /**
1816
2307
  * Upload or replace a knowledge document.
1817
2308
  * @summary Upsert Document
@@ -1821,6 +2312,15 @@ export declare class KnowledgeAi extends BaseAPI implements KnowledgeAiInterface
1821
2312
  * @memberof KnowledgeAi
1822
2313
  */
1823
2314
  upsertDocument(requestParameters: KnowledgeAiUpsertDocumentRequest, options?: AxiosRequestConfig): AxiosPromise<AiUploadDocumentResponse>;
2315
+ /**
2316
+ * Upload or replace an org-scoped knowledge document.
2317
+ * @summary Upsert Document Org
2318
+ * @param {KnowledgeAiUpsertOrgDocumentRequest} requestParameters Request parameters.
2319
+ * @param {*} [options] Override http request option.
2320
+ * @throws {RequiredError}
2321
+ * @memberof KnowledgeAi
2322
+ */
2323
+ upsertOrgDocument(requestParameters: KnowledgeAiUpsertOrgDocumentRequest, options?: AxiosRequestConfig): AxiosPromise<AiUploadDocumentResponse>;
1824
2324
  }
1825
2325
  /**
1826
2326
  *