@aws-sdk/client-kendra 3.131.0 → 3.135.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.135.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.134.0...v3.135.0) (2022-07-21)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-kendra:** Amazon Kendra now provides Oauth2 support for SharePoint Online. For more information, see https://docs.aws.amazon.com/kendra/latest/dg/data-source-sharepoint.html ([de0697a](https://github.com/aws/aws-sdk-js-v3/commit/de0697ad65ae98358ea534d9c2c90eadf4111bce))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-kendra
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.QueryCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_0_1 = require("../models/models_0");
7
6
  const models_1_1 = require("../models/models_1");
8
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
8
  class QueryCommand extends smithy_client_1.Command {
@@ -22,7 +21,7 @@ class QueryCommand extends smithy_client_1.Command {
22
21
  clientName,
23
22
  commandName,
24
23
  inputFilterSensitiveLog: models_1_1.QueryRequest.filterSensitiveLog,
25
- outputFilterSensitiveLog: models_0_1.QueryResult.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_1_1.QueryResult.filterSensitiveLog,
26
25
  };
27
26
  const { requestHandler } = configuration;
28
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.HookConfiguration = exports.InlineCustomDocumentEnrichmentConfiguration = exports.DocumentAttributeTarget = exports.DocumentAttributeCondition = exports.ConditionOperator = exports.BatchGetDocumentStatusResponse = exports.BatchGetDocumentStatusResponseError = exports.Status = exports.DocumentStatus = exports.BatchGetDocumentStatusRequest = exports.DocumentInfo = exports.ConflictException = exports.BatchDeleteDocumentResponse = exports.BatchDeleteDocumentResponseFailedDocument = exports.ErrorCode = exports.BatchDeleteDocumentRequest = exports.DataSourceSyncJobMetricTarget = exports.AuthenticationConfiguration = exports.BasicAuthenticationConfiguration = exports.DocumentAttribute = exports.DocumentAttributeValue = exports.AssociatePersonasToEntitiesResponse = exports.AssociatePersonasToEntitiesRequest = exports.EntityPersonaConfiguration = exports.Persona = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.ResourceAlreadyExistException = exports.InternalServerException = exports.AssociateEntitiesToExperienceResponse = exports.FailedEntity = exports.AssociateEntitiesToExperienceRequest = exports.EntityConfiguration = exports.EntityType = exports.AlfrescoConfiguration = exports.DataSourceVpcConfiguration = exports.S3Path = exports.AlfrescoEntity = exports.DataSourceToIndexFieldMapping = exports.AdditionalResultAttribute = exports.AdditionalResultAttributeValueType = exports.AdditionalResultAttributeValue = exports.TextWithHighlights = exports.Highlight = exports.HighlightType = exports.AclConfiguration = exports.AccessDeniedException = exports.AccessControlListConfiguration = exports.AccessControlConfigurationSummary = void 0;
4
4
  exports.S3DataSourceConfiguration = exports.DocumentsMetadataConfiguration = exports.QuipConfiguration = exports.OneDriveConfiguration = exports.OneDriveUsers = exports.JiraConfiguration = exports.IssueSubEntity = exports.GoogleDriveConfiguration = exports.GitHubConfiguration = exports.Type = exports.SaaSConfiguration = exports.OnPremiseConfiguration = exports.GitHubDocumentCrawlProperties = exports.FsxConfiguration = exports.FsxFileSystemType = exports.DatabaseConfiguration = exports.SqlConfiguration = exports.QueryIdentifiersEnclosingOption = exports.DatabaseEngineType = exports.ConnectionConfiguration = exports.ColumnConfiguration = exports.ConfluenceConfiguration = exports.ConfluenceVersion = exports.ConfluenceSpaceConfiguration = exports.ConfluenceSpaceToIndexFieldMapping = exports.ConfluenceSpaceFieldName = exports.ConfluencePageConfiguration = exports.ConfluencePageToIndexFieldMapping = exports.ConfluencePageFieldName = exports.ConfluenceBlogConfiguration = exports.ConfluenceBlogToIndexFieldMapping = exports.ConfluenceBlogFieldName = exports.ConfluenceAttachmentConfiguration = exports.ConfluenceAttachmentToIndexFieldMapping = exports.ConfluenceAttachmentFieldName = exports.BoxConfiguration = exports.CreateAccessControlConfigurationResponse = exports.CreateAccessControlConfigurationRequest = exports.ClearQuerySuggestionsRequest = exports.ServiceQuotaExceededException = exports.BatchPutDocumentResponse = exports.BatchPutDocumentResponseFailedDocument = exports.BatchPutDocumentRequest = exports.Document = exports.HierarchicalPrincipal = exports.ContentType = exports.Principal = exports.PrincipalType = exports.ReadAccessType = exports.CustomDocumentEnrichmentConfiguration = void 0;
5
- exports.CreateIndexResponse = exports.CreateIndexRequest = exports.UserTokenConfiguration = exports.JwtTokenTypeConfiguration = exports.KeyLocation = exports.JsonTokenTypeConfiguration = exports.UserGroupResolutionConfiguration = exports.UserGroupResolutionMode = exports.UserContextPolicy = exports.ServerSideEncryptionConfiguration = exports.IndexEdition = exports.CreateFaqResponse = exports.CreateFaqRequest = exports.FaqFileFormat = exports.CreateExperienceResponse = exports.CreateExperienceRequest = exports.ExperienceConfiguration = exports.UserIdentityConfiguration = exports.ContentSourceConfiguration = exports.CreateDataSourceResponse = exports.CreateDataSourceRequest = exports.DataSourceType = exports.Tag = exports.DataSourceConfiguration = exports.WorkDocsConfiguration = exports.WebCrawlerConfiguration = exports.Urls = exports.SiteMapsConfiguration = exports.SeedUrlConfiguration = exports.WebCrawlerMode = exports.ProxyConfiguration = exports.SlackConfiguration = exports.SlackEntity = exports.SharePointConfiguration = exports.SharePointVersion = exports.ServiceNowConfiguration = exports.ServiceNowBuildVersionType = exports.ServiceNowServiceCatalogConfiguration = exports.ServiceNowKnowledgeArticleConfiguration = exports.ServiceNowAuthenticationType = exports.SalesforceConfiguration = exports.SalesforceStandardObjectConfiguration = exports.SalesforceStandardObjectName = exports.SalesforceStandardObjectAttachmentConfiguration = exports.SalesforceKnowledgeArticleConfiguration = exports.SalesforceStandardKnowledgeArticleTypeConfiguration = exports.SalesforceKnowledgeArticleState = exports.SalesforceCustomKnowledgeArticleTypeConfiguration = exports.SalesforceChatterFeedConfiguration = exports.SalesforceChatterFeedIncludeFilterType = void 0;
6
- exports.DescribeQuerySuggestionsConfigResponse = exports.QuerySuggestionsStatus = exports.Mode = exports.DescribeQuerySuggestionsConfigRequest = exports.DescribeQuerySuggestionsBlockListResponse = exports.QuerySuggestionsBlockListStatus = exports.DescribeQuerySuggestionsBlockListRequest = exports.DescribePrincipalMappingResponse = exports.GroupOrderingIdSummary = exports.PrincipalMappingStatus = exports.DescribePrincipalMappingRequest = exports.DescribeIndexResponse = exports.IndexStatus = exports.IndexStatistics = exports.TextDocumentStatistics = exports.FaqStatistics = exports.DocumentMetadataConfiguration = exports.DocumentAttributeValueType = exports.Search = exports.Relevance = exports.Order = exports.CapacityUnitsConfiguration = exports.DescribeIndexRequest = exports.DescribeFaqResponse = exports.FaqStatus = exports.DescribeFaqRequest = exports.DescribeExperienceResponse = exports.ExperienceStatus = exports.ExperienceEndpoint = exports.EndpointType = exports.DescribeExperienceRequest = exports.DescribeDataSourceResponse = exports.DataSourceStatus = exports.DescribeDataSourceRequest = exports.DescribeAccessControlConfigurationResponse = exports.DescribeAccessControlConfigurationRequest = exports.DeleteThesaurusRequest = exports.DeleteQuerySuggestionsBlockListRequest = exports.DeletePrincipalMappingRequest = exports.DeleteIndexRequest = exports.DeleteFaqRequest = exports.DeleteExperienceResponse = exports.DeleteExperienceRequest = exports.DeleteDataSourceRequest = exports.DeleteAccessControlConfigurationResponse = exports.DeleteAccessControlConfigurationRequest = exports.CreateThesaurusResponse = exports.CreateThesaurusRequest = exports.CreateQuerySuggestionsBlockListResponse = exports.CreateQuerySuggestionsBlockListRequest = void 0;
7
- exports.QuerySuggestionsBlockListSummary = exports.ListQuerySuggestionsBlockListsRequest = exports.ListIndicesResponse = exports.IndexConfigurationSummary = exports.ListIndicesRequest = exports.ListGroupsOlderThanOrderingIdResponse = exports.GroupSummary = exports.ListGroupsOlderThanOrderingIdRequest = exports.ListFaqsResponse = exports.FaqSummary = exports.ListFaqsRequest = exports.ListExperiencesResponse = exports.ExperiencesSummary = exports.ListExperiencesRequest = exports.ListExperienceEntitiesResponse = exports.ExperienceEntitiesSummary = exports.EntityDisplayData = exports.ListExperienceEntitiesRequest = exports.ListEntityPersonasResponse = exports.PersonasSummary = exports.ListEntityPersonasRequest = exports.ListDataSourceSyncJobsResponse = exports.DataSourceSyncJob = exports.DataSourceSyncJobMetrics = exports.ListDataSourceSyncJobsRequest = exports.DataSourceSyncJobStatus = exports.ListDataSourcesResponse = exports.DataSourceSummary = exports.ListDataSourcesRequest = exports.ListAccessControlConfigurationsResponse = exports.ListAccessControlConfigurationsRequest = exports.InvalidRequestException = exports.GetSnapshotsResponse = exports.TimeRange = exports.GetSnapshotsRequest = exports.MetricType = exports.Interval = exports.GetQuerySuggestionsResponse = exports.Suggestion = exports.SuggestionValue = exports.SuggestionTextWithHighlights = exports.SuggestionHighlight = exports.GetQuerySuggestionsRequest = exports.DisassociatePersonasFromEntitiesResponse = exports.DisassociatePersonasFromEntitiesRequest = exports.DisassociateEntitiesFromExperienceResponse = exports.DisassociateEntitiesFromExperienceRequest = exports.DescribeThesaurusResponse = exports.ThesaurusStatus = exports.DescribeThesaurusRequest = void 0;
8
- exports.QueryResult = exports.AttributeFilter = exports.FacetResult = exports.DocumentAttributeValueCountPair = exports.Facet = exports.UpdateThesaurusRequest = exports.UpdateQuerySuggestionsConfigRequest = exports.UpdateQuerySuggestionsBlockListRequest = exports.UpdateIndexRequest = exports.UpdateExperienceRequest = exports.UpdateDataSourceRequest = exports.UpdateAccessControlConfigurationResponse = exports.UpdateAccessControlConfigurationRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.SubmitFeedbackRequest = exports.RelevanceFeedback = exports.RelevanceType = exports.ClickFeedback = exports.StopDataSourceSyncJobRequest = exports.StartDataSourceSyncJobResponse = exports.StartDataSourceSyncJobRequest = exports.ResourceInUseException = exports.Warning = exports.WarningCode = exports.SpellCorrectedQuery = exports.Correction = exports.QueryResultItem = exports.ScoreAttributes = exports.ScoreConfidence = exports.UserContext = exports.DataSourceGroup = exports.SpellCorrectionConfiguration = exports.SortingConfiguration = exports.SortOrder = exports.QueryResultType = exports.DocumentRelevanceConfiguration = exports.PutPrincipalMappingRequest = exports.GroupMembers = exports.MemberUser = exports.MemberGroup = exports.ListThesauriResponse = exports.ThesaurusSummary = exports.ListThesauriRequest = exports.ResourceUnavailableException = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListQuerySuggestionsBlockListsResponse = void 0;
5
+ exports.CreateIndexRequest = exports.UserTokenConfiguration = exports.JwtTokenTypeConfiguration = exports.KeyLocation = exports.JsonTokenTypeConfiguration = exports.UserGroupResolutionConfiguration = exports.UserGroupResolutionMode = exports.UserContextPolicy = exports.ServerSideEncryptionConfiguration = exports.IndexEdition = exports.CreateFaqResponse = exports.CreateFaqRequest = exports.FaqFileFormat = exports.CreateExperienceResponse = exports.CreateExperienceRequest = exports.ExperienceConfiguration = exports.UserIdentityConfiguration = exports.ContentSourceConfiguration = exports.CreateDataSourceResponse = exports.CreateDataSourceRequest = exports.DataSourceType = exports.Tag = exports.DataSourceConfiguration = exports.WorkDocsConfiguration = exports.WebCrawlerConfiguration = exports.Urls = exports.SiteMapsConfiguration = exports.SeedUrlConfiguration = exports.WebCrawlerMode = exports.ProxyConfiguration = exports.SlackConfiguration = exports.SlackEntity = exports.SharePointConfiguration = exports.SharePointVersion = exports.SharePointOnlineAuthenticationType = exports.ServiceNowConfiguration = exports.ServiceNowBuildVersionType = exports.ServiceNowServiceCatalogConfiguration = exports.ServiceNowKnowledgeArticleConfiguration = exports.ServiceNowAuthenticationType = exports.SalesforceConfiguration = exports.SalesforceStandardObjectConfiguration = exports.SalesforceStandardObjectName = exports.SalesforceStandardObjectAttachmentConfiguration = exports.SalesforceKnowledgeArticleConfiguration = exports.SalesforceStandardKnowledgeArticleTypeConfiguration = exports.SalesforceKnowledgeArticleState = exports.SalesforceCustomKnowledgeArticleTypeConfiguration = exports.SalesforceChatterFeedConfiguration = exports.SalesforceChatterFeedIncludeFilterType = void 0;
6
+ exports.QuerySuggestionsStatus = exports.Mode = exports.DescribeQuerySuggestionsConfigRequest = exports.DescribeQuerySuggestionsBlockListResponse = exports.QuerySuggestionsBlockListStatus = exports.DescribeQuerySuggestionsBlockListRequest = exports.DescribePrincipalMappingResponse = exports.GroupOrderingIdSummary = exports.PrincipalMappingStatus = exports.DescribePrincipalMappingRequest = exports.DescribeIndexResponse = exports.IndexStatus = exports.IndexStatistics = exports.TextDocumentStatistics = exports.FaqStatistics = exports.DocumentMetadataConfiguration = exports.DocumentAttributeValueType = exports.Search = exports.Relevance = exports.Order = exports.CapacityUnitsConfiguration = exports.DescribeIndexRequest = exports.DescribeFaqResponse = exports.FaqStatus = exports.DescribeFaqRequest = exports.DescribeExperienceResponse = exports.ExperienceStatus = exports.ExperienceEndpoint = exports.EndpointType = exports.DescribeExperienceRequest = exports.DescribeDataSourceResponse = exports.DataSourceStatus = exports.DescribeDataSourceRequest = exports.DescribeAccessControlConfigurationResponse = exports.DescribeAccessControlConfigurationRequest = exports.DeleteThesaurusRequest = exports.DeleteQuerySuggestionsBlockListRequest = exports.DeletePrincipalMappingRequest = exports.DeleteIndexRequest = exports.DeleteFaqRequest = exports.DeleteExperienceResponse = exports.DeleteExperienceRequest = exports.DeleteDataSourceRequest = exports.DeleteAccessControlConfigurationResponse = exports.DeleteAccessControlConfigurationRequest = exports.CreateThesaurusResponse = exports.CreateThesaurusRequest = exports.CreateQuerySuggestionsBlockListResponse = exports.CreateQuerySuggestionsBlockListRequest = exports.CreateIndexResponse = void 0;
7
+ exports.ListQuerySuggestionsBlockListsRequest = exports.ListIndicesResponse = exports.IndexConfigurationSummary = exports.ListIndicesRequest = exports.ListGroupsOlderThanOrderingIdResponse = exports.GroupSummary = exports.ListGroupsOlderThanOrderingIdRequest = exports.ListFaqsResponse = exports.FaqSummary = exports.ListFaqsRequest = exports.ListExperiencesResponse = exports.ExperiencesSummary = exports.ListExperiencesRequest = exports.ListExperienceEntitiesResponse = exports.ExperienceEntitiesSummary = exports.EntityDisplayData = exports.ListExperienceEntitiesRequest = exports.ListEntityPersonasResponse = exports.PersonasSummary = exports.ListEntityPersonasRequest = exports.ListDataSourceSyncJobsResponse = exports.DataSourceSyncJob = exports.DataSourceSyncJobMetrics = exports.ListDataSourceSyncJobsRequest = exports.DataSourceSyncJobStatus = exports.ListDataSourcesResponse = exports.DataSourceSummary = exports.ListDataSourcesRequest = exports.ListAccessControlConfigurationsResponse = exports.ListAccessControlConfigurationsRequest = exports.InvalidRequestException = exports.GetSnapshotsResponse = exports.TimeRange = exports.GetSnapshotsRequest = exports.MetricType = exports.Interval = exports.GetQuerySuggestionsResponse = exports.Suggestion = exports.SuggestionValue = exports.SuggestionTextWithHighlights = exports.SuggestionHighlight = exports.GetQuerySuggestionsRequest = exports.DisassociatePersonasFromEntitiesResponse = exports.DisassociatePersonasFromEntitiesRequest = exports.DisassociateEntitiesFromExperienceResponse = exports.DisassociateEntitiesFromExperienceRequest = exports.DescribeThesaurusResponse = exports.ThesaurusStatus = exports.DescribeThesaurusRequest = exports.DescribeQuerySuggestionsConfigResponse = void 0;
8
+ exports.AttributeFilter = exports.FacetResult = exports.DocumentAttributeValueCountPair = exports.Facet = exports.UpdateThesaurusRequest = exports.UpdateQuerySuggestionsConfigRequest = exports.UpdateQuerySuggestionsBlockListRequest = exports.UpdateIndexRequest = exports.UpdateExperienceRequest = exports.UpdateDataSourceRequest = exports.UpdateAccessControlConfigurationResponse = exports.UpdateAccessControlConfigurationRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.SubmitFeedbackRequest = exports.RelevanceFeedback = exports.RelevanceType = exports.ClickFeedback = exports.StopDataSourceSyncJobRequest = exports.StartDataSourceSyncJobResponse = exports.StartDataSourceSyncJobRequest = exports.ResourceInUseException = exports.Warning = exports.WarningCode = exports.SpellCorrectedQuery = exports.Correction = exports.QueryResultItem = exports.ScoreAttributes = exports.ScoreConfidence = exports.UserContext = exports.DataSourceGroup = exports.SpellCorrectionConfiguration = exports.SortingConfiguration = exports.SortOrder = exports.QueryResultType = exports.DocumentRelevanceConfiguration = exports.PutPrincipalMappingRequest = exports.GroupMembers = exports.MemberUser = exports.MemberGroup = exports.ListThesauriResponse = exports.ThesaurusSummary = exports.ListThesauriRequest = exports.ResourceUnavailableException = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListQuerySuggestionsBlockListsResponse = exports.QuerySuggestionsBlockListSummary = void 0;
9
9
  const smithy_client_1 = require("@aws-sdk/smithy-client");
10
10
  const KendraServiceException_1 = require("./KendraServiceException");
11
11
  var AccessControlConfigurationSummary;
@@ -798,6 +798,11 @@ var ServiceNowConfiguration;
798
798
  ...obj,
799
799
  });
800
800
  })(ServiceNowConfiguration = exports.ServiceNowConfiguration || (exports.ServiceNowConfiguration = {}));
801
+ var SharePointOnlineAuthenticationType;
802
+ (function (SharePointOnlineAuthenticationType) {
803
+ SharePointOnlineAuthenticationType["HTTP_BASIC"] = "HTTP_BASIC";
804
+ SharePointOnlineAuthenticationType["OAUTH2"] = "OAUTH2";
805
+ })(SharePointOnlineAuthenticationType = exports.SharePointOnlineAuthenticationType || (exports.SharePointOnlineAuthenticationType = {}));
801
806
  var SharePointVersion;
802
807
  (function (SharePointVersion) {
803
808
  SharePointVersion["SHAREPOINT_2013"] = "SHAREPOINT_2013";
@@ -1974,9 +1979,3 @@ var AttributeFilter;
1974
1979
  ...obj,
1975
1980
  });
1976
1981
  })(AttributeFilter = exports.AttributeFilter || (exports.AttributeFilter = {}));
1977
- var QueryResult;
1978
- (function (QueryResult) {
1979
- QueryResult.filterSensitiveLog = (obj) => ({
1980
- ...obj,
1981
- });
1982
- })(QueryResult = exports.QueryResult || (exports.QueryResult = {}));
@@ -1,6 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.QueryRequest = void 0;
3
+ exports.QueryRequest = exports.QueryResult = void 0;
4
+ var QueryResult;
5
+ (function (QueryResult) {
6
+ QueryResult.filterSensitiveLog = (obj) => ({
7
+ ...obj,
8
+ });
9
+ })(QueryResult = exports.QueryResult || (exports.QueryResult = {}));
4
10
  var QueryRequest;
5
11
  (function (QueryRequest) {
6
12
  QueryRequest.filterSensitiveLog = (obj) => ({
@@ -5676,6 +5676,7 @@ const serializeAws_json1_1ServiceNowServiceCatalogConfiguration = (input, contex
5676
5676
  };
5677
5677
  const serializeAws_json1_1SharePointConfiguration = (input, context) => {
5678
5678
  return {
5679
+ ...(input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType }),
5679
5680
  ...(input.CrawlAttachments != null && { CrawlAttachments: input.CrawlAttachments }),
5680
5681
  ...(input.DisableLocalGroups != null && { DisableLocalGroups: input.DisableLocalGroups }),
5681
5682
  ...(input.DocumentTitleFieldName != null && { DocumentTitleFieldName: input.DocumentTitleFieldName }),
@@ -8239,6 +8240,7 @@ const deserializeAws_json1_1ServiceQuotaExceededException = (output, context) =>
8239
8240
  };
8240
8241
  const deserializeAws_json1_1SharePointConfiguration = (output, context) => {
8241
8242
  return {
8243
+ AuthenticationType: (0, smithy_client_1.expectString)(output.AuthenticationType),
8242
8244
  CrawlAttachments: (0, smithy_client_1.expectBoolean)(output.CrawlAttachments),
8243
8245
  DisableLocalGroups: (0, smithy_client_1.expectBoolean)(output.DisableLocalGroups),
8244
8246
  DocumentTitleFieldName: (0, smithy_client_1.expectString)(output.DocumentTitleFieldName),
@@ -1,8 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { QueryResult } from "../models/models_0";
5
- import { QueryRequest } from "../models/models_1";
4
+ import { QueryRequest, QueryResult } from "../models/models_1";
6
5
  import { deserializeAws_json1_1QueryCommand, serializeAws_json1_1QueryCommand } from "../protocols/Aws_json1_1";
7
6
  var QueryCommand = (function (_super) {
8
7
  __extends(QueryCommand, _super);
@@ -621,6 +621,11 @@ export var ServiceNowConfiguration;
621
621
  (function (ServiceNowConfiguration) {
622
622
  ServiceNowConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
623
623
  })(ServiceNowConfiguration || (ServiceNowConfiguration = {}));
624
+ export var SharePointOnlineAuthenticationType;
625
+ (function (SharePointOnlineAuthenticationType) {
626
+ SharePointOnlineAuthenticationType["HTTP_BASIC"] = "HTTP_BASIC";
627
+ SharePointOnlineAuthenticationType["OAUTH2"] = "OAUTH2";
628
+ })(SharePointOnlineAuthenticationType || (SharePointOnlineAuthenticationType = {}));
624
629
  export var SharePointVersion;
625
630
  (function (SharePointVersion) {
626
631
  SharePointVersion["SHAREPOINT_2013"] = "SHAREPOINT_2013";
@@ -1480,7 +1485,3 @@ export var AttributeFilter;
1480
1485
  (function (AttributeFilter) {
1481
1486
  AttributeFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1482
1487
  })(AttributeFilter || (AttributeFilter = {}));
1483
- export var QueryResult;
1484
- (function (QueryResult) {
1485
- QueryResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1486
- })(QueryResult || (QueryResult = {}));
@@ -1,4 +1,8 @@
1
1
  import { __assign } from "tslib";
2
+ export var QueryResult;
3
+ (function (QueryResult) {
4
+ QueryResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
5
+ })(QueryResult || (QueryResult = {}));
2
6
  export var QueryRequest;
3
7
  (function (QueryRequest) {
4
8
  QueryRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -6255,7 +6255,7 @@ var serializeAws_json1_1ServiceNowServiceCatalogConfiguration = function (input,
6255
6255
  }));
6256
6256
  };
6257
6257
  var serializeAws_json1_1SharePointConfiguration = function (input, context) {
6258
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CrawlAttachments != null && { CrawlAttachments: input.CrawlAttachments })), (input.DisableLocalGroups != null && { DisableLocalGroups: input.DisableLocalGroups })), (input.DocumentTitleFieldName != null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.ExclusionPatterns != null && {
6258
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType })), (input.CrawlAttachments != null && { CrawlAttachments: input.CrawlAttachments })), (input.DisableLocalGroups != null && { DisableLocalGroups: input.DisableLocalGroups })), (input.DocumentTitleFieldName != null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.ExclusionPatterns != null && {
6259
6259
  ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
6260
6260
  })), (input.FieldMappings != null && {
6261
6261
  FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
@@ -8671,6 +8671,7 @@ var deserializeAws_json1_1ServiceQuotaExceededException = function (output, cont
8671
8671
  };
8672
8672
  var deserializeAws_json1_1SharePointConfiguration = function (output, context) {
8673
8673
  return {
8674
+ AuthenticationType: __expectString(output.AuthenticationType),
8674
8675
  CrawlAttachments: __expectBoolean(output.CrawlAttachments),
8675
8676
  DisableLocalGroups: __expectBoolean(output.DisableLocalGroups),
8676
8677
  DocumentTitleFieldName: __expectString(output.DocumentTitleFieldName),
@@ -149,18 +149,16 @@ export declare class Kendra extends KendraClient {
149
149
  * user and group access information for your documents. This is useful
150
150
  * for user context filtering, where search results are filtered based
151
151
  * on the user or their group access to documents.</p>
152
- * <p>You can use this to re-configure your existing document level access
153
- * control without indexing all of your documents again. For example, your
154
- * index contains top-secret company documents that only certain employees
155
- * or users should access. One of these users leaves the company or switches
156
- * to a team that should be blocked from access to top-secret documents.
157
- * Your documents in your index still give this user access to top-secret
158
- * documents due to the user having access at the time your documents were
159
- * indexed. You can create a specific access control configuration for this
160
- * user with deny access. You can later update the access control
161
- * configuration to allow access in the case the user returns to the company
162
- * and re-joins the 'top-secret' team. You can re-configure access control
163
- * for your documents circumstances change.</p>
152
+ * <p>You can use this to re-configure your existing document level access control without
153
+ * indexing all of your documents again. For example, your index contains top-secret
154
+ * company documents that only certain employees or users should access. One of these users
155
+ * leaves the company or switches to a team that should be blocked from accessing
156
+ * top-secret documents. The user still has access to top-secret documents because the user
157
+ * had access when your documents were previously indexed. You
158
+ * can create a specific access control configuration for the user with deny
159
+ * access. You can later update the access control configuration to allow access if the
160
+ * user returns to the company and re-joins the 'top-secret' team. You can re-configure
161
+ * access control for your documents as circumstances change.</p>
164
162
  * <p>To apply your access control configuration to certain documents, you call
165
163
  * the <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchPutDocument.html">BatchPutDocument</a>
166
164
  * API with the <code>AccessControlConfigurationId</code> included in the
@@ -655,12 +653,12 @@ export declare class Kendra extends KendraClient {
655
653
  * suddenly returns to their previous team and should no longer have access to top secret
656
654
  * documents. You can update the access control configuration to re-configure access
657
655
  * control for your documents as circumstances change.</p>
658
- * <p>You call the <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchPutDocument.html">BatchPutDocument</a>
659
- * API to apply the updated access control configuration, with the
660
- * <code>AccessControlConfigurationId</code> included in the
656
+ * <p>You call the <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchPutDocument.html">BatchPutDocument</a> API to
657
+ * apply the updated access control configuration, with the
658
+ * <code>AccessControlConfigurationId</code> included in the
661
659
  * <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_Document.html">Document</a>
662
660
  * object. If you use an S3 bucket as a data source, you synchronize your data source to
663
- * apply the the <code>AccessControlConfigurationId</code> in the <code>.metadata.json</code> file.
661
+ * apply the <code>AccessControlConfigurationId</code> in the <code>.metadata.json</code> file.
664
662
  * Amazon Kendra currently only supports access control configuration for S3 data
665
663
  * sources and documents indexed using the <code>BatchPutDocument</code> API.</p>
666
664
  */
@@ -11,18 +11,16 @@ export interface CreateAccessControlConfigurationCommandOutput extends CreateAcc
11
11
  * user and group access information for your documents. This is useful
12
12
  * for user context filtering, where search results are filtered based
13
13
  * on the user or their group access to documents.</p>
14
- * <p>You can use this to re-configure your existing document level access
15
- * control without indexing all of your documents again. For example, your
16
- * index contains top-secret company documents that only certain employees
17
- * or users should access. One of these users leaves the company or switches
18
- * to a team that should be blocked from access to top-secret documents.
19
- * Your documents in your index still give this user access to top-secret
20
- * documents due to the user having access at the time your documents were
21
- * indexed. You can create a specific access control configuration for this
22
- * user with deny access. You can later update the access control
23
- * configuration to allow access in the case the user returns to the company
24
- * and re-joins the 'top-secret' team. You can re-configure access control
25
- * for your documents circumstances change.</p>
14
+ * <p>You can use this to re-configure your existing document level access control without
15
+ * indexing all of your documents again. For example, your index contains top-secret
16
+ * company documents that only certain employees or users should access. One of these users
17
+ * leaves the company or switches to a team that should be blocked from accessing
18
+ * top-secret documents. The user still has access to top-secret documents because the user
19
+ * had access when your documents were previously indexed. You
20
+ * can create a specific access control configuration for the user with deny
21
+ * access. You can later update the access control configuration to allow access if the
22
+ * user returns to the company and re-joins the 'top-secret' team. You can re-configure
23
+ * access control for your documents as circumstances change.</p>
26
24
  * <p>To apply your access control configuration to certain documents, you call
27
25
  * the <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchPutDocument.html">BatchPutDocument</a>
28
26
  * API with the <code>AccessControlConfigurationId</code> included in the
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
4
- import { QueryResult } from "../models/models_0";
5
- import { QueryRequest } from "../models/models_1";
4
+ import { QueryRequest, QueryResult } from "../models/models_1";
6
5
  export interface QueryCommandInput extends QueryRequest {
7
6
  }
8
7
  export interface QueryCommandOutput extends QueryResult, __MetadataBearer {
@@ -19,12 +19,12 @@ export interface UpdateAccessControlConfigurationCommandOutput extends UpdateAcc
19
19
  * suddenly returns to their previous team and should no longer have access to top secret
20
20
  * documents. You can update the access control configuration to re-configure access
21
21
  * control for your documents as circumstances change.</p>
22
- * <p>You call the <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchPutDocument.html">BatchPutDocument</a>
23
- * API to apply the updated access control configuration, with the
24
- * <code>AccessControlConfigurationId</code> included in the
22
+ * <p>You call the <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchPutDocument.html">BatchPutDocument</a> API to
23
+ * apply the updated access control configuration, with the
24
+ * <code>AccessControlConfigurationId</code> included in the
25
25
  * <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_Document.html">Document</a>
26
26
  * object. If you use an S3 bucket as a data source, you synchronize your data source to
27
- * apply the the <code>AccessControlConfigurationId</code> in the <code>.metadata.json</code> file.
27
+ * apply the <code>AccessControlConfigurationId</code> in the <code>.metadata.json</code> file.
28
28
  * Amazon Kendra currently only supports access control configuration for S3 data
29
29
  * sources and documents indexed using the <code>BatchPutDocument</code> API.</p>
30
30
  * @example
@@ -3435,6 +3435,10 @@ export declare namespace ServiceNowConfiguration {
3435
3435
  */
3436
3436
  const filterSensitiveLog: (obj: ServiceNowConfiguration) => any;
3437
3437
  }
3438
+ export declare enum SharePointOnlineAuthenticationType {
3439
+ HTTP_BASIC = "HTTP_BASIC",
3440
+ OAUTH2 = "OAUTH2"
3441
+ }
3438
3442
  export declare enum SharePointVersion {
3439
3443
  SHAREPOINT_2013 = "SHAREPOINT_2013",
3440
3444
  SHAREPOINT_2016 = "SHAREPOINT_2016",
@@ -3461,6 +3465,10 @@ export interface SharePointConfiguration {
3461
3465
  * domain name as part of the credentials. For
3462
3466
  * more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/data-source-sharepoint.html">Using a
3463
3467
  * Microsoft SharePoint Data Source</a>.</p>
3468
+ * <p>You can also provide OAuth authentication credentials of user name,
3469
+ * password, client ID, and client secret. For more information, see
3470
+ * <a href="https://docs.aws.amazon.com/kendra/latest/dg/data-source-sharepoint.html#sharepoint-authentication">Authentication
3471
+ * for a SharePoint data source</a>.</p>
3464
3472
  */
3465
3473
  SecretArn: string | undefined;
3466
3474
  /**
@@ -3526,6 +3534,13 @@ export interface SharePointConfiguration {
3526
3534
  * this to connect to SharePoint.</p>
3527
3535
  */
3528
3536
  SslCertificateS3Path?: S3Path;
3537
+ /**
3538
+ * <p>Whether you want to connect to SharePoint using basic authentication of
3539
+ * user name and password, or OAuth authentication of user name, password,
3540
+ * client ID, and client secret. You can use OAuth authentication for
3541
+ * SharePoint Online.</p>
3542
+ */
3543
+ AuthenticationType?: SharePointOnlineAuthenticationType | string;
3529
3544
  }
3530
3545
  export declare namespace SharePointConfiguration {
3531
3546
  /**
@@ -4941,7 +4956,8 @@ export interface DescribeAccessControlConfigurationRequest {
4941
4956
  */
4942
4957
  IndexId: string | undefined;
4943
4958
  /**
4944
- * <p>The identifier of the access control configuration you want to get information on.</p>
4959
+ * <p>The identifier of the access control configuration
4960
+ * you want to get information on.</p>
4945
4961
  */
4946
4962
  Id: string | undefined;
4947
4963
  }
@@ -4972,8 +4988,8 @@ export interface DescribeAccessControlConfigurationResponse {
4972
4988
  */
4973
4989
  AccessControlList?: Principal[];
4974
4990
  /**
4975
- * <p>The list of <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_Principal.html">principal</a> lists that
4976
- * define the hierarchy for which documents users should have access to.</p>
4991
+ * <p>The list of <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_Principal.html">principal</a>
4992
+ * lists that define the hierarchy for which documents users should have access to.</p>
4977
4993
  */
4978
4994
  HierarchicalAccessControlList?: HierarchicalPrincipal[];
4979
4995
  }
@@ -6370,10 +6386,10 @@ export interface ListAccessControlConfigurationsRequest {
6370
6386
  */
6371
6387
  IndexId: string | undefined;
6372
6388
  /**
6373
- * <p>If the previous response was incomplete (because there is more data
6374
- * to retrieve), Amazon Kendra returns a pagination token in the response.
6375
- * You can use this pagination token to retrieve the next set of access
6376
- * control configurations.</p>
6389
+ * <p>If the previous response was incomplete (because
6390
+ * there's more data to retrieve), Amazon Kendra returns a pagination token
6391
+ * in the response. You can use this pagination token to retrieve the next set
6392
+ * of access control configurations.</p>
6377
6393
  */
6378
6394
  NextToken?: string;
6379
6395
  /**
@@ -6389,9 +6405,9 @@ export declare namespace ListAccessControlConfigurationsRequest {
6389
6405
  }
6390
6406
  export interface ListAccessControlConfigurationsResponse {
6391
6407
  /**
6392
- * <p>If the response is truncated, Amazon Kendra returns this token
6393
- * that you can use in the subsequent request to retrieve the next set of
6394
- * access control configurations.</p>
6408
+ * <p>If the response is truncated, Amazon Kendra returns this
6409
+ * token, which you can use in the subsequent request to retrieve the
6410
+ * next set of access control configurations.</p>
6395
6411
  */
6396
6412
  NextToken?: string;
6397
6413
  /**
@@ -8546,44 +8562,3 @@ export declare namespace AttributeFilter {
8546
8562
  */
8547
8563
  const filterSensitiveLog: (obj: AttributeFilter) => any;
8548
8564
  }
8549
- export interface QueryResult {
8550
- /**
8551
- * <p>The unique identifier for the search. You use <code>QueryId</code>
8552
- * to identify the search when using the feedback API.</p>
8553
- */
8554
- QueryId?: string;
8555
- /**
8556
- * <p>The results of the search.</p>
8557
- */
8558
- ResultItems?: QueryResultItem[];
8559
- /**
8560
- * <p>Contains the facet results. A <code>FacetResult</code> contains the
8561
- * counts for each attribute key that was specified in the
8562
- * <code>Facets</code> input parameter.</p>
8563
- */
8564
- FacetResults?: FacetResult[];
8565
- /**
8566
- * <p>The total number of items found by the search; however, you can only
8567
- * retrieve up to 100 items. For example, if the search found 192 items,
8568
- * you can only retrieve the first 100 of the items.</p>
8569
- */
8570
- TotalNumberOfResults?: number;
8571
- /**
8572
- * <p>A list of warning codes and their messages on problems with your query.</p>
8573
- * <p>Amazon Kendra currently only supports one type of warning, which is a warning
8574
- * on invalid syntax used in the query. For examples of invalid query syntax,
8575
- * see <a href="https://docs.aws.amazon.com/kendra/latest/dg/searching-example.html#searching-index-query-syntax">Searching
8576
- * with advanced query syntax</a>.</p>
8577
- */
8578
- Warnings?: Warning[];
8579
- /**
8580
- * <p>A list of information related to suggested spell corrections for a query.</p>
8581
- */
8582
- SpellCorrectedQueries?: SpellCorrectedQuery[];
8583
- }
8584
- export declare namespace QueryResult {
8585
- /**
8586
- * @internal
8587
- */
8588
- const filterSensitiveLog: (obj: QueryResult) => any;
8589
- }
@@ -1,4 +1,45 @@
1
- import { AttributeFilter, DocumentRelevanceConfiguration, Facet, QueryResultType, SortingConfiguration, SpellCorrectionConfiguration, UserContext } from "./models_0";
1
+ import { AttributeFilter, DocumentRelevanceConfiguration, Facet, FacetResult, QueryResultItem, QueryResultType, SortingConfiguration, SpellCorrectedQuery, SpellCorrectionConfiguration, UserContext, Warning } from "./models_0";
2
+ export interface QueryResult {
3
+ /**
4
+ * <p>The unique identifier for the search. You use <code>QueryId</code>
5
+ * to identify the search when using the feedback API.</p>
6
+ */
7
+ QueryId?: string;
8
+ /**
9
+ * <p>The results of the search.</p>
10
+ */
11
+ ResultItems?: QueryResultItem[];
12
+ /**
13
+ * <p>Contains the facet results. A <code>FacetResult</code> contains the
14
+ * counts for each attribute key that was specified in the
15
+ * <code>Facets</code> input parameter.</p>
16
+ */
17
+ FacetResults?: FacetResult[];
18
+ /**
19
+ * <p>The total number of items found by the search; however, you can only
20
+ * retrieve up to 100 items. For example, if the search found 192 items,
21
+ * you can only retrieve the first 100 of the items.</p>
22
+ */
23
+ TotalNumberOfResults?: number;
24
+ /**
25
+ * <p>A list of warning codes and their messages on problems with your query.</p>
26
+ * <p>Amazon Kendra currently only supports one type of warning, which is a warning
27
+ * on invalid syntax used in the query. For examples of invalid query syntax,
28
+ * see <a href="https://docs.aws.amazon.com/kendra/latest/dg/searching-example.html#searching-index-query-syntax">Searching
29
+ * with advanced query syntax</a>.</p>
30
+ */
31
+ Warnings?: Warning[];
32
+ /**
33
+ * <p>A list of information related to suggested spell corrections for a query.</p>
34
+ */
35
+ SpellCorrectedQueries?: SpellCorrectedQuery[];
36
+ }
37
+ export declare namespace QueryResult {
38
+ /**
39
+ * @internal
40
+ */
41
+ const filterSensitiveLog: (obj: QueryResult) => any;
42
+ }
2
43
  export interface QueryRequest {
3
44
  /**
4
45
  * <p>The unique identifier of the index to search. The identifier is
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
4
- import { QueryResult } from "../models/models_0";
5
- import { QueryRequest } from "../models/models_1";
4
+ import { QueryRequest, QueryResult } from "../models/models_1";
6
5
  export interface QueryCommandInput extends QueryRequest {
7
6
  }
8
7
  export interface QueryCommandOutput extends QueryResult, __MetadataBearer {
@@ -1434,6 +1434,10 @@ export declare namespace ServiceNowConfiguration {
1434
1434
 
1435
1435
  const filterSensitiveLog: (obj: ServiceNowConfiguration) => any;
1436
1436
  }
1437
+ export declare enum SharePointOnlineAuthenticationType {
1438
+ HTTP_BASIC = "HTTP_BASIC",
1439
+ OAUTH2 = "OAUTH2"
1440
+ }
1437
1441
  export declare enum SharePointVersion {
1438
1442
  SHAREPOINT_2013 = "SHAREPOINT_2013",
1439
1443
  SHAREPOINT_2016 = "SHAREPOINT_2016",
@@ -1465,6 +1469,8 @@ export interface SharePointConfiguration {
1465
1469
  DisableLocalGroups?: boolean;
1466
1470
 
1467
1471
  SslCertificateS3Path?: S3Path;
1472
+
1473
+ AuthenticationType?: SharePointOnlineAuthenticationType | string;
1468
1474
  }
1469
1475
  export declare namespace SharePointConfiguration {
1470
1476
 
@@ -3774,21 +3780,3 @@ export declare namespace AttributeFilter {
3774
3780
 
3775
3781
  const filterSensitiveLog: (obj: AttributeFilter) => any;
3776
3782
  }
3777
- export interface QueryResult {
3778
-
3779
- QueryId?: string;
3780
-
3781
- ResultItems?: QueryResultItem[];
3782
-
3783
- FacetResults?: FacetResult[];
3784
-
3785
- TotalNumberOfResults?: number;
3786
-
3787
- Warnings?: Warning[];
3788
-
3789
- SpellCorrectedQueries?: SpellCorrectedQuery[];
3790
- }
3791
- export declare namespace QueryResult {
3792
-
3793
- const filterSensitiveLog: (obj: QueryResult) => any;
3794
- }
@@ -1,4 +1,22 @@
1
- import { AttributeFilter, DocumentRelevanceConfiguration, Facet, QueryResultType, SortingConfiguration, SpellCorrectionConfiguration, UserContext } from "./models_0";
1
+ import { AttributeFilter, DocumentRelevanceConfiguration, Facet, FacetResult, QueryResultItem, QueryResultType, SortingConfiguration, SpellCorrectedQuery, SpellCorrectionConfiguration, UserContext, Warning } from "./models_0";
2
+ export interface QueryResult {
3
+
4
+ QueryId?: string;
5
+
6
+ ResultItems?: QueryResultItem[];
7
+
8
+ FacetResults?: FacetResult[];
9
+
10
+ TotalNumberOfResults?: number;
11
+
12
+ Warnings?: Warning[];
13
+
14
+ SpellCorrectedQueries?: SpellCorrectedQuery[];
15
+ }
16
+ export declare namespace QueryResult {
17
+
18
+ const filterSensitiveLog: (obj: QueryResult) => any;
19
+ }
2
20
  export interface QueryRequest {
3
21
 
4
22
  IndexId: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kendra",
3
3
  "description": "AWS SDK for JavaScript Kendra Client for Node.js, Browser and React Native",
4
- "version": "3.131.0",
4
+ "version": "3.135.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",