@credal/sdk 0.0.3
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/Client.d.ts +39 -0
- package/Client.js +42 -0
- package/api/index.d.ts +1 -0
- package/api/index.js +17 -0
- package/api/resources/common/index.d.ts +1 -0
- package/api/resources/common/index.js +17 -0
- package/api/resources/common/types/ExternalResourceId.d.ts +8 -0
- package/api/resources/common/types/ExternalResourceId.js +5 -0
- package/api/resources/common/types/ResourceIdentifier.d.ts +13 -0
- package/api/resources/common/types/ResourceIdentifier.js +5 -0
- package/api/resources/common/types/ResourceType.d.ts +21 -0
- package/api/resources/common/types/ResourceType.js +23 -0
- package/api/resources/common/types/Url.d.ts +6 -0
- package/api/resources/common/types/Url.js +5 -0
- package/api/resources/common/types/index.d.ts +4 -0
- package/api/resources/common/types/index.js +20 -0
- package/api/resources/copilots/client/Client.d.ts +46 -0
- package/api/resources/copilots/client/Client.js +183 -0
- package/api/resources/copilots/client/index.d.ts +1 -0
- package/api/resources/copilots/client/index.js +17 -0
- package/api/resources/copilots/client/requests/CreateConversationRequest.d.ts +16 -0
- package/api/resources/copilots/client/requests/CreateConversationRequest.js +5 -0
- package/api/resources/copilots/client/requests/SendMessageRequest.d.ts +27 -0
- package/api/resources/copilots/client/requests/SendMessageRequest.js +5 -0
- package/api/resources/copilots/client/requests/index.d.ts +2 -0
- package/api/resources/copilots/client/requests/index.js +2 -0
- package/api/resources/copilots/index.d.ts +2 -0
- package/api/resources/copilots/index.js +18 -0
- package/api/resources/copilots/types/CreateConversationResponse.d.ts +6 -0
- package/api/resources/copilots/types/CreateConversationResponse.js +5 -0
- package/api/resources/copilots/types/InsertedAuditLog.d.ts +6 -0
- package/api/resources/copilots/types/InsertedAuditLog.js +5 -0
- package/api/resources/copilots/types/MessageBlocked.d.ts +11 -0
- package/api/resources/copilots/types/MessageBlocked.js +5 -0
- package/api/resources/copilots/types/MessageReply.d.ts +12 -0
- package/api/resources/copilots/types/MessageReply.js +5 -0
- package/api/resources/copilots/types/PolicyTrigger.d.ts +8 -0
- package/api/resources/copilots/types/PolicyTrigger.js +5 -0
- package/api/resources/copilots/types/ResponseChunk.d.ts +7 -0
- package/api/resources/copilots/types/ResponseChunk.js +5 -0
- package/api/resources/copilots/types/SendAgentMessageResponse.d.ts +7 -0
- package/api/resources/copilots/types/SendAgentMessageResponse.js +5 -0
- package/api/resources/copilots/types/SendMessageResponse.d.ts +23 -0
- package/api/resources/copilots/types/SendMessageResponse.js +5 -0
- package/api/resources/copilots/types/index.d.ts +8 -0
- package/api/resources/copilots/types/index.js +24 -0
- package/api/resources/documentCatalog/client/Client.d.ts +70 -0
- package/api/resources/documentCatalog/client/Client.js +206 -0
- package/api/resources/documentCatalog/client/index.d.ts +1 -0
- package/api/resources/documentCatalog/client/index.js +17 -0
- package/api/resources/documentCatalog/client/requests/UploadDocumentContentsRequest.d.ts +65 -0
- package/api/resources/documentCatalog/client/requests/UploadDocumentContentsRequest.js +5 -0
- package/api/resources/documentCatalog/client/requests/index.d.ts +1 -0
- package/api/resources/documentCatalog/client/requests/index.js +2 -0
- package/api/resources/documentCatalog/index.d.ts +2 -0
- package/api/resources/documentCatalog/index.js +18 -0
- package/api/resources/documentCatalog/types/DocumentMetadataPatch.d.ts +10 -0
- package/api/resources/documentCatalog/types/DocumentMetadataPatch.js +5 -0
- package/api/resources/documentCatalog/types/DocumentMetadataPatchRequest.d.ts +8 -0
- package/api/resources/documentCatalog/types/DocumentMetadataPatchRequest.js +5 -0
- package/api/resources/documentCatalog/types/UploadDocumentResponse.d.ts +6 -0
- package/api/resources/documentCatalog/types/UploadDocumentResponse.js +5 -0
- package/api/resources/documentCatalog/types/index.d.ts +3 -0
- package/api/resources/documentCatalog/types/index.js +19 -0
- package/api/resources/documentCollections/client/Client.d.ts +44 -0
- package/api/resources/documentCollections/client/Client.js +130 -0
- package/api/resources/documentCollections/client/index.d.ts +1 -0
- package/api/resources/documentCollections/client/index.js +17 -0
- package/api/resources/documentCollections/client/requests/AddDocumentsToCollectionRequest.d.ts +28 -0
- package/api/resources/documentCollections/client/requests/AddDocumentsToCollectionRequest.js +5 -0
- package/api/resources/documentCollections/client/requests/index.d.ts +1 -0
- package/api/resources/documentCollections/client/requests/index.js +2 -0
- package/api/resources/documentCollections/index.d.ts +1 -0
- package/api/resources/documentCollections/index.js +17 -0
- package/api/resources/index.d.ts +18 -0
- package/api/resources/index.js +47 -0
- package/api/resources/permissionsService/client/Client.d.ts +73 -0
- package/api/resources/permissionsService/client/Client.js +264 -0
- package/api/resources/permissionsService/client/index.d.ts +1 -0
- package/api/resources/permissionsService/client/index.js +17 -0
- package/api/resources/permissionsService/client/requests/CheckBulkResourcesAuthorizationForUserRequest.d.ts +36 -0
- package/api/resources/permissionsService/client/requests/CheckBulkResourcesAuthorizationForUserRequest.js +5 -0
- package/api/resources/permissionsService/client/requests/CheckResourceAuthorizationForUserRequest.d.ts +32 -0
- package/api/resources/permissionsService/client/requests/CheckResourceAuthorizationForUserRequest.js +5 -0
- package/api/resources/permissionsService/client/requests/ListCachedAuthorizedResourcesForUserRequest.d.ts +32 -0
- package/api/resources/permissionsService/client/requests/ListCachedAuthorizedResourcesForUserRequest.js +5 -0
- package/api/resources/permissionsService/client/requests/index.d.ts +3 -0
- package/api/resources/permissionsService/client/requests/index.js +2 -0
- package/api/resources/permissionsService/index.d.ts +2 -0
- package/api/resources/permissionsService/index.js +18 -0
- package/api/resources/permissionsService/types/Action.d.ts +7 -0
- package/api/resources/permissionsService/types/Action.js +9 -0
- package/api/resources/permissionsService/types/CheckBulkResourcesAuthorizationResponse.d.ts +5 -0
- package/api/resources/permissionsService/types/CheckBulkResourcesAuthorizationResponse.js +5 -0
- package/api/resources/permissionsService/types/CheckResourceAuthorizationResponse.d.ts +6 -0
- package/api/resources/permissionsService/types/CheckResourceAuthorizationResponse.js +5 -0
- package/api/resources/permissionsService/types/Group.d.ts +7 -0
- package/api/resources/permissionsService/types/Group.js +5 -0
- package/api/resources/permissionsService/types/Principal.d.ts +13 -0
- package/api/resources/permissionsService/types/Principal.js +5 -0
- package/api/resources/permissionsService/types/PrincipalListPage.d.ts +8 -0
- package/api/resources/permissionsService/types/PrincipalListPage.js +5 -0
- package/api/resources/permissionsService/types/ResourceAuthorizationResult.d.ts +8 -0
- package/api/resources/permissionsService/types/ResourceAuthorizationResult.js +5 -0
- package/api/resources/permissionsService/types/ResourceListPage.d.ts +7 -0
- package/api/resources/permissionsService/types/ResourceListPage.js +5 -0
- package/api/resources/permissionsService/types/User.d.ts +8 -0
- package/api/resources/permissionsService/types/User.js +5 -0
- package/api/resources/permissionsService/types/index.d.ts +9 -0
- package/api/resources/permissionsService/types/index.js +25 -0
- package/api/resources/search/client/Client.d.ts +50 -0
- package/api/resources/search/client/Client.js +141 -0
- package/api/resources/search/client/index.d.ts +1 -0
- package/api/resources/search/client/index.js +17 -0
- package/api/resources/search/client/requests/SearchDocumentCollectionRequest.d.ts +45 -0
- package/api/resources/search/client/requests/SearchDocumentCollectionRequest.js +5 -0
- package/api/resources/search/client/requests/index.d.ts +1 -0
- package/api/resources/search/client/requests/index.js +2 -0
- package/api/resources/search/index.d.ts +2 -0
- package/api/resources/search/index.js +18 -0
- package/api/resources/search/types/DocumentCollectionSearchOptions.d.ts +20 -0
- package/api/resources/search/types/DocumentCollectionSearchOptions.js +5 -0
- package/api/resources/search/types/DocumentCollectionSearchResult.d.ts +11 -0
- package/api/resources/search/types/DocumentCollectionSearchResult.js +5 -0
- package/api/resources/search/types/Operator.d.ts +13 -0
- package/api/resources/search/types/Operator.js +15 -0
- package/api/resources/search/types/SearchDocumentCollectionResponse.d.ts +10 -0
- package/api/resources/search/types/SearchDocumentCollectionResponse.js +5 -0
- package/api/resources/search/types/SearchResultChunk.d.ts +10 -0
- package/api/resources/search/types/SearchResultChunk.js +5 -0
- package/api/resources/search/types/SingleFieldFilter.d.ts +9 -0
- package/api/resources/search/types/SingleFieldFilter.js +5 -0
- package/api/resources/search/types/index.d.ts +6 -0
- package/api/resources/search/types/index.js +22 -0
- package/api/resources/users/client/Client.d.ts +45 -0
- package/api/resources/users/client/Client.js +129 -0
- package/api/resources/users/client/index.d.ts +1 -0
- package/api/resources/users/client/index.js +2 -0
- package/api/resources/users/index.d.ts +2 -0
- package/api/resources/users/index.js +18 -0
- package/api/resources/users/types/UserMetadataPatch.d.ts +8 -0
- package/api/resources/users/types/UserMetadataPatch.js +5 -0
- package/api/resources/users/types/index.d.ts +1 -0
- package/api/resources/users/types/index.js +17 -0
- package/core/auth/BasicAuth.d.ts +8 -0
- package/core/auth/BasicAuth.js +26 -0
- package/core/auth/BearerToken.d.ts +5 -0
- package/core/auth/BearerToken.js +15 -0
- package/core/auth/index.d.ts +2 -0
- package/core/auth/index.js +7 -0
- package/core/fetcher/APIResponse.d.ts +10 -0
- package/core/fetcher/APIResponse.js +2 -0
- package/core/fetcher/Fetcher.d.ts +36 -0
- package/core/fetcher/Fetcher.js +256 -0
- package/core/fetcher/Supplier.d.ts +4 -0
- package/core/fetcher/Supplier.js +22 -0
- package/core/fetcher/getHeader.d.ts +1 -0
- package/core/fetcher/getHeader.js +12 -0
- package/core/fetcher/index.d.ts +5 -0
- package/core/fetcher/index.js +9 -0
- package/core/index.d.ts +4 -0
- package/core/index.js +33 -0
- package/core/runtime/index.d.ts +1 -0
- package/core/runtime/index.js +5 -0
- package/core/runtime/runtime.d.ts +8 -0
- package/core/runtime/runtime.js +82 -0
- package/core/schemas/Schema.d.ts +81 -0
- package/core/schemas/Schema.js +21 -0
- package/core/schemas/builders/date/date.d.ts +2 -0
- package/core/schemas/builders/date/date.js +63 -0
- package/core/schemas/builders/date/index.d.ts +1 -0
- package/core/schemas/builders/date/index.js +5 -0
- package/core/schemas/builders/enum/enum.d.ts +2 -0
- package/core/schemas/builders/enum/enum.js +39 -0
- package/core/schemas/builders/enum/index.d.ts +1 -0
- package/core/schemas/builders/enum/index.js +5 -0
- package/core/schemas/builders/index.d.ts +13 -0
- package/core/schemas/builders/index.js +29 -0
- package/core/schemas/builders/lazy/index.d.ts +3 -0
- package/core/schemas/builders/lazy/index.js +7 -0
- package/core/schemas/builders/lazy/lazy.d.ts +5 -0
- package/core/schemas/builders/lazy/lazy.js +36 -0
- package/core/schemas/builders/lazy/lazyObject.d.ts +3 -0
- package/core/schemas/builders/lazy/lazyObject.js +21 -0
- package/core/schemas/builders/list/index.d.ts +1 -0
- package/core/schemas/builders/list/index.js +5 -0
- package/core/schemas/builders/list/list.d.ts +2 -0
- package/core/schemas/builders/list/list.js +68 -0
- package/core/schemas/builders/literals/booleanLiteral.d.ts +2 -0
- package/core/schemas/builders/literals/booleanLiteral.js +29 -0
- package/core/schemas/builders/literals/index.d.ts +2 -0
- package/core/schemas/builders/literals/index.js +7 -0
- package/core/schemas/builders/literals/stringLiteral.d.ts +2 -0
- package/core/schemas/builders/literals/stringLiteral.js +29 -0
- package/core/schemas/builders/object/index.d.ts +6 -0
- package/core/schemas/builders/object/index.js +11 -0
- package/core/schemas/builders/object/object.d.ts +3 -0
- package/core/schemas/builders/object/object.js +254 -0
- package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +6 -0
- package/core/schemas/builders/object/objectWithoutOptionalProperties.js +8 -0
- package/core/schemas/builders/object/property.d.ts +8 -0
- package/core/schemas/builders/object/property.js +16 -0
- package/core/schemas/builders/object/types.d.ts +26 -0
- package/core/schemas/builders/object/types.js +2 -0
- package/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +9 -0
- package/core/schemas/builders/object-like/getObjectLikeUtils.js +63 -0
- package/core/schemas/builders/object-like/index.d.ts +2 -0
- package/core/schemas/builders/object-like/index.js +6 -0
- package/core/schemas/builders/object-like/types.d.ts +7 -0
- package/core/schemas/builders/object-like/types.js +2 -0
- package/core/schemas/builders/primitives/any.d.ts +1 -0
- package/core/schemas/builders/primitives/any.js +6 -0
- package/core/schemas/builders/primitives/boolean.d.ts +1 -0
- package/core/schemas/builders/primitives/boolean.js +25 -0
- package/core/schemas/builders/primitives/index.d.ts +5 -0
- package/core/schemas/builders/primitives/index.js +13 -0
- package/core/schemas/builders/primitives/number.d.ts +1 -0
- package/core/schemas/builders/primitives/number.js +25 -0
- package/core/schemas/builders/primitives/string.d.ts +1 -0
- package/core/schemas/builders/primitives/string.js +25 -0
- package/core/schemas/builders/primitives/unknown.d.ts +1 -0
- package/core/schemas/builders/primitives/unknown.js +6 -0
- package/core/schemas/builders/record/index.d.ts +2 -0
- package/core/schemas/builders/record/index.js +5 -0
- package/core/schemas/builders/record/record.d.ts +3 -0
- package/core/schemas/builders/record/record.js +106 -0
- package/core/schemas/builders/record/types.d.ts +4 -0
- package/core/schemas/builders/record/types.js +2 -0
- package/core/schemas/builders/schema-utils/JsonError.d.ts +5 -0
- package/core/schemas/builders/schema-utils/JsonError.js +12 -0
- package/core/schemas/builders/schema-utils/ParseError.d.ts +5 -0
- package/core/schemas/builders/schema-utils/ParseError.js +12 -0
- package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +17 -0
- package/core/schemas/builders/schema-utils/getSchemaUtils.js +85 -0
- package/core/schemas/builders/schema-utils/index.d.ts +4 -0
- package/core/schemas/builders/schema-utils/index.js +11 -0
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +2 -0
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.js +10 -0
- package/core/schemas/builders/set/index.d.ts +1 -0
- package/core/schemas/builders/set/index.js +5 -0
- package/core/schemas/builders/set/set.d.ts +2 -0
- package/core/schemas/builders/set/set.js +53 -0
- package/core/schemas/builders/undiscriminated-union/index.d.ts +2 -0
- package/core/schemas/builders/undiscriminated-union/index.js +5 -0
- package/core/schemas/builders/undiscriminated-union/types.d.ts +4 -0
- package/core/schemas/builders/undiscriminated-union/types.js +2 -0
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +3 -0
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +51 -0
- package/core/schemas/builders/union/discriminant.d.ts +5 -0
- package/core/schemas/builders/union/discriminant.js +10 -0
- package/core/schemas/builders/union/index.d.ts +4 -0
- package/core/schemas/builders/union/index.js +7 -0
- package/core/schemas/builders/union/types.d.ts +13 -0
- package/core/schemas/builders/union/types.js +2 -0
- package/core/schemas/builders/union/union.d.ts +4 -0
- package/core/schemas/builders/union/union.js +141 -0
- package/core/schemas/index.d.ts +2 -0
- package/core/schemas/index.js +17 -0
- package/core/schemas/utils/MaybePromise.d.ts +1 -0
- package/core/schemas/utils/MaybePromise.js +2 -0
- package/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +7 -0
- package/core/schemas/utils/addQuestionMarksToNullableProperties.js +2 -0
- package/core/schemas/utils/createIdentitySchemaCreator.d.ts +2 -0
- package/core/schemas/utils/createIdentitySchemaCreator.js +16 -0
- package/core/schemas/utils/entries.d.ts +1 -0
- package/core/schemas/utils/entries.js +7 -0
- package/core/schemas/utils/filterObject.d.ts +1 -0
- package/core/schemas/utils/filterObject.js +14 -0
- package/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +1 -0
- package/core/schemas/utils/getErrorMessageForIncorrectType.js +24 -0
- package/core/schemas/utils/isPlainObject.d.ts +1 -0
- package/core/schemas/utils/isPlainObject.js +18 -0
- package/core/schemas/utils/keys.d.ts +1 -0
- package/core/schemas/utils/keys.js +7 -0
- package/core/schemas/utils/maybeSkipValidation.d.ts +2 -0
- package/core/schemas/utils/maybeSkipValidation.js +37 -0
- package/core/schemas/utils/partition.d.ts +1 -0
- package/core/schemas/utils/partition.js +16 -0
- package/dist/Client.d.ts +39 -0
- package/dist/Client.js +42 -0
- package/dist/api/index.d.ts +1 -0
- package/dist/api/index.js +17 -0
- package/dist/api/resources/common/index.d.ts +1 -0
- package/dist/api/resources/common/index.js +17 -0
- package/dist/api/resources/common/types/ExternalResourceId.d.ts +8 -0
- package/dist/api/resources/common/types/ExternalResourceId.js +5 -0
- package/dist/api/resources/common/types/ResourceIdentifier.d.ts +13 -0
- package/dist/api/resources/common/types/ResourceIdentifier.js +5 -0
- package/dist/api/resources/common/types/ResourceType.d.ts +21 -0
- package/dist/api/resources/common/types/ResourceType.js +23 -0
- package/dist/api/resources/common/types/Url.d.ts +6 -0
- package/dist/api/resources/common/types/Url.js +5 -0
- package/dist/api/resources/common/types/index.d.ts +4 -0
- package/dist/api/resources/common/types/index.js +20 -0
- package/dist/api/resources/copilots/client/Client.d.ts +46 -0
- package/dist/api/resources/copilots/client/Client.js +183 -0
- package/dist/api/resources/copilots/client/index.d.ts +1 -0
- package/dist/api/resources/copilots/client/index.js +17 -0
- package/dist/api/resources/copilots/client/requests/CreateConversationRequest.d.ts +16 -0
- package/dist/api/resources/copilots/client/requests/CreateConversationRequest.js +5 -0
- package/dist/api/resources/copilots/client/requests/SendMessageRequest.d.ts +27 -0
- package/dist/api/resources/copilots/client/requests/SendMessageRequest.js +5 -0
- package/dist/api/resources/copilots/client/requests/index.d.ts +2 -0
- package/dist/api/resources/copilots/client/requests/index.js +2 -0
- package/dist/api/resources/copilots/index.d.ts +2 -0
- package/dist/api/resources/copilots/index.js +18 -0
- package/dist/api/resources/copilots/types/CreateConversationResponse.d.ts +6 -0
- package/dist/api/resources/copilots/types/CreateConversationResponse.js +5 -0
- package/dist/api/resources/copilots/types/InsertedAuditLog.d.ts +6 -0
- package/dist/api/resources/copilots/types/InsertedAuditLog.js +5 -0
- package/dist/api/resources/copilots/types/MessageBlocked.d.ts +11 -0
- package/dist/api/resources/copilots/types/MessageBlocked.js +5 -0
- package/dist/api/resources/copilots/types/MessageReply.d.ts +12 -0
- package/dist/api/resources/copilots/types/MessageReply.js +5 -0
- package/dist/api/resources/copilots/types/PolicyTrigger.d.ts +8 -0
- package/dist/api/resources/copilots/types/PolicyTrigger.js +5 -0
- package/dist/api/resources/copilots/types/ResponseChunk.d.ts +7 -0
- package/dist/api/resources/copilots/types/ResponseChunk.js +5 -0
- package/dist/api/resources/copilots/types/SendAgentMessageResponse.d.ts +7 -0
- package/dist/api/resources/copilots/types/SendAgentMessageResponse.js +5 -0
- package/dist/api/resources/copilots/types/SendMessageResponse.d.ts +23 -0
- package/dist/api/resources/copilots/types/SendMessageResponse.js +5 -0
- package/dist/api/resources/copilots/types/index.d.ts +8 -0
- package/dist/api/resources/copilots/types/index.js +24 -0
- package/dist/api/resources/documentCatalog/client/Client.d.ts +70 -0
- package/dist/api/resources/documentCatalog/client/Client.js +206 -0
- package/dist/api/resources/documentCatalog/client/index.d.ts +1 -0
- package/dist/api/resources/documentCatalog/client/index.js +17 -0
- package/dist/api/resources/documentCatalog/client/requests/UploadDocumentContentsRequest.d.ts +65 -0
- package/dist/api/resources/documentCatalog/client/requests/UploadDocumentContentsRequest.js +5 -0
- package/dist/api/resources/documentCatalog/client/requests/index.d.ts +1 -0
- package/dist/api/resources/documentCatalog/client/requests/index.js +2 -0
- package/dist/api/resources/documentCatalog/index.d.ts +2 -0
- package/dist/api/resources/documentCatalog/index.js +18 -0
- package/dist/api/resources/documentCatalog/types/DocumentMetadataPatch.d.ts +10 -0
- package/dist/api/resources/documentCatalog/types/DocumentMetadataPatch.js +5 -0
- package/dist/api/resources/documentCatalog/types/DocumentMetadataPatchRequest.d.ts +8 -0
- package/dist/api/resources/documentCatalog/types/DocumentMetadataPatchRequest.js +5 -0
- package/dist/api/resources/documentCatalog/types/UploadDocumentResponse.d.ts +6 -0
- package/dist/api/resources/documentCatalog/types/UploadDocumentResponse.js +5 -0
- package/dist/api/resources/documentCatalog/types/index.d.ts +3 -0
- package/dist/api/resources/documentCatalog/types/index.js +19 -0
- package/dist/api/resources/documentCollections/client/Client.d.ts +44 -0
- package/dist/api/resources/documentCollections/client/Client.js +130 -0
- package/dist/api/resources/documentCollections/client/index.d.ts +1 -0
- package/dist/api/resources/documentCollections/client/index.js +17 -0
- package/dist/api/resources/documentCollections/client/requests/AddDocumentsToCollectionRequest.d.ts +28 -0
- package/dist/api/resources/documentCollections/client/requests/AddDocumentsToCollectionRequest.js +5 -0
- package/dist/api/resources/documentCollections/client/requests/index.d.ts +1 -0
- package/dist/api/resources/documentCollections/client/requests/index.js +2 -0
- package/dist/api/resources/documentCollections/index.d.ts +1 -0
- package/dist/api/resources/documentCollections/index.js +17 -0
- package/dist/api/resources/index.d.ts +18 -0
- package/dist/api/resources/index.js +47 -0
- package/dist/api/resources/permissionsService/client/Client.d.ts +73 -0
- package/dist/api/resources/permissionsService/client/Client.js +264 -0
- package/dist/api/resources/permissionsService/client/index.d.ts +1 -0
- package/dist/api/resources/permissionsService/client/index.js +17 -0
- package/dist/api/resources/permissionsService/client/requests/CheckBulkResourcesAuthorizationForUserRequest.d.ts +36 -0
- package/dist/api/resources/permissionsService/client/requests/CheckBulkResourcesAuthorizationForUserRequest.js +5 -0
- package/dist/api/resources/permissionsService/client/requests/CheckResourceAuthorizationForUserRequest.d.ts +32 -0
- package/dist/api/resources/permissionsService/client/requests/CheckResourceAuthorizationForUserRequest.js +5 -0
- package/dist/api/resources/permissionsService/client/requests/ListCachedAuthorizedResourcesForUserRequest.d.ts +32 -0
- package/dist/api/resources/permissionsService/client/requests/ListCachedAuthorizedResourcesForUserRequest.js +5 -0
- package/dist/api/resources/permissionsService/client/requests/index.d.ts +3 -0
- package/dist/api/resources/permissionsService/client/requests/index.js +2 -0
- package/dist/api/resources/permissionsService/index.d.ts +2 -0
- package/dist/api/resources/permissionsService/index.js +18 -0
- package/dist/api/resources/permissionsService/types/Action.d.ts +7 -0
- package/dist/api/resources/permissionsService/types/Action.js +9 -0
- package/dist/api/resources/permissionsService/types/CheckBulkResourcesAuthorizationResponse.d.ts +5 -0
- package/dist/api/resources/permissionsService/types/CheckBulkResourcesAuthorizationResponse.js +5 -0
- package/dist/api/resources/permissionsService/types/CheckResourceAuthorizationResponse.d.ts +6 -0
- package/dist/api/resources/permissionsService/types/CheckResourceAuthorizationResponse.js +5 -0
- package/dist/api/resources/permissionsService/types/Group.d.ts +7 -0
- package/dist/api/resources/permissionsService/types/Group.js +5 -0
- package/dist/api/resources/permissionsService/types/Principal.d.ts +13 -0
- package/dist/api/resources/permissionsService/types/Principal.js +5 -0
- package/dist/api/resources/permissionsService/types/PrincipalListPage.d.ts +8 -0
- package/dist/api/resources/permissionsService/types/PrincipalListPage.js +5 -0
- package/dist/api/resources/permissionsService/types/ResourceAuthorizationResult.d.ts +8 -0
- package/dist/api/resources/permissionsService/types/ResourceAuthorizationResult.js +5 -0
- package/dist/api/resources/permissionsService/types/ResourceListPage.d.ts +7 -0
- package/dist/api/resources/permissionsService/types/ResourceListPage.js +5 -0
- package/dist/api/resources/permissionsService/types/User.d.ts +8 -0
- package/dist/api/resources/permissionsService/types/User.js +5 -0
- package/dist/api/resources/permissionsService/types/index.d.ts +9 -0
- package/dist/api/resources/permissionsService/types/index.js +25 -0
- package/dist/api/resources/search/client/Client.d.ts +50 -0
- package/dist/api/resources/search/client/Client.js +141 -0
- package/dist/api/resources/search/client/index.d.ts +1 -0
- package/dist/api/resources/search/client/index.js +17 -0
- package/dist/api/resources/search/client/requests/SearchDocumentCollectionRequest.d.ts +45 -0
- package/dist/api/resources/search/client/requests/SearchDocumentCollectionRequest.js +5 -0
- package/dist/api/resources/search/client/requests/index.d.ts +1 -0
- package/dist/api/resources/search/client/requests/index.js +2 -0
- package/dist/api/resources/search/index.d.ts +2 -0
- package/dist/api/resources/search/index.js +18 -0
- package/dist/api/resources/search/types/DocumentCollectionSearchOptions.d.ts +20 -0
- package/dist/api/resources/search/types/DocumentCollectionSearchOptions.js +5 -0
- package/dist/api/resources/search/types/DocumentCollectionSearchResult.d.ts +11 -0
- package/dist/api/resources/search/types/DocumentCollectionSearchResult.js +5 -0
- package/dist/api/resources/search/types/Operator.d.ts +13 -0
- package/dist/api/resources/search/types/Operator.js +15 -0
- package/dist/api/resources/search/types/SearchDocumentCollectionResponse.d.ts +10 -0
- package/dist/api/resources/search/types/SearchDocumentCollectionResponse.js +5 -0
- package/dist/api/resources/search/types/SearchResultChunk.d.ts +10 -0
- package/dist/api/resources/search/types/SearchResultChunk.js +5 -0
- package/dist/api/resources/search/types/SingleFieldFilter.d.ts +9 -0
- package/dist/api/resources/search/types/SingleFieldFilter.js +5 -0
- package/dist/api/resources/search/types/index.d.ts +6 -0
- package/dist/api/resources/search/types/index.js +22 -0
- package/dist/api/resources/users/client/Client.d.ts +45 -0
- package/dist/api/resources/users/client/Client.js +129 -0
- package/dist/api/resources/users/client/index.d.ts +1 -0
- package/dist/api/resources/users/client/index.js +2 -0
- package/dist/api/resources/users/index.d.ts +2 -0
- package/dist/api/resources/users/index.js +18 -0
- package/dist/api/resources/users/types/UserMetadataPatch.d.ts +8 -0
- package/dist/api/resources/users/types/UserMetadataPatch.js +5 -0
- package/dist/api/resources/users/types/index.d.ts +1 -0
- package/dist/api/resources/users/types/index.js +17 -0
- package/dist/core/auth/BasicAuth.d.ts +8 -0
- package/dist/core/auth/BasicAuth.js +26 -0
- package/dist/core/auth/BearerToken.d.ts +5 -0
- package/dist/core/auth/BearerToken.js +15 -0
- package/dist/core/auth/index.d.ts +2 -0
- package/dist/core/auth/index.js +7 -0
- package/dist/core/fetcher/APIResponse.d.ts +10 -0
- package/dist/core/fetcher/APIResponse.js +2 -0
- package/dist/core/fetcher/Fetcher.d.ts +36 -0
- package/dist/core/fetcher/Fetcher.js +256 -0
- package/dist/core/fetcher/Supplier.d.ts +4 -0
- package/dist/core/fetcher/Supplier.js +22 -0
- package/dist/core/fetcher/getHeader.d.ts +1 -0
- package/dist/core/fetcher/getHeader.js +12 -0
- package/dist/core/fetcher/index.d.ts +5 -0
- package/dist/core/fetcher/index.js +9 -0
- package/dist/core/index.d.ts +4 -0
- package/dist/core/index.js +33 -0
- package/dist/core/runtime/index.d.ts +1 -0
- package/dist/core/runtime/index.js +5 -0
- package/dist/core/runtime/runtime.d.ts +8 -0
- package/dist/core/runtime/runtime.js +82 -0
- package/dist/core/schemas/Schema.d.ts +81 -0
- package/dist/core/schemas/Schema.js +21 -0
- package/dist/core/schemas/builders/date/date.d.ts +2 -0
- package/dist/core/schemas/builders/date/date.js +63 -0
- package/dist/core/schemas/builders/date/index.d.ts +1 -0
- package/dist/core/schemas/builders/date/index.js +5 -0
- package/dist/core/schemas/builders/enum/enum.d.ts +2 -0
- package/dist/core/schemas/builders/enum/enum.js +39 -0
- package/dist/core/schemas/builders/enum/index.d.ts +1 -0
- package/dist/core/schemas/builders/enum/index.js +5 -0
- package/dist/core/schemas/builders/index.d.ts +13 -0
- package/dist/core/schemas/builders/index.js +29 -0
- package/dist/core/schemas/builders/lazy/index.d.ts +3 -0
- package/dist/core/schemas/builders/lazy/index.js +7 -0
- package/dist/core/schemas/builders/lazy/lazy.d.ts +5 -0
- package/dist/core/schemas/builders/lazy/lazy.js +36 -0
- package/dist/core/schemas/builders/lazy/lazyObject.d.ts +3 -0
- package/dist/core/schemas/builders/lazy/lazyObject.js +21 -0
- package/dist/core/schemas/builders/list/index.d.ts +1 -0
- package/dist/core/schemas/builders/list/index.js +5 -0
- package/dist/core/schemas/builders/list/list.d.ts +2 -0
- package/dist/core/schemas/builders/list/list.js +68 -0
- package/dist/core/schemas/builders/literals/booleanLiteral.d.ts +2 -0
- package/dist/core/schemas/builders/literals/booleanLiteral.js +29 -0
- package/dist/core/schemas/builders/literals/index.d.ts +2 -0
- package/dist/core/schemas/builders/literals/index.js +7 -0
- package/dist/core/schemas/builders/literals/stringLiteral.d.ts +2 -0
- package/dist/core/schemas/builders/literals/stringLiteral.js +29 -0
- package/dist/core/schemas/builders/object/index.d.ts +6 -0
- package/dist/core/schemas/builders/object/index.js +11 -0
- package/dist/core/schemas/builders/object/object.d.ts +3 -0
- package/dist/core/schemas/builders/object/object.js +254 -0
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +6 -0
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +8 -0
- package/dist/core/schemas/builders/object/property.d.ts +8 -0
- package/dist/core/schemas/builders/object/property.js +16 -0
- package/dist/core/schemas/builders/object/types.d.ts +26 -0
- package/dist/core/schemas/builders/object/types.js +2 -0
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +9 -0
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +63 -0
- package/dist/core/schemas/builders/object-like/index.d.ts +2 -0
- package/dist/core/schemas/builders/object-like/index.js +6 -0
- package/dist/core/schemas/builders/object-like/types.d.ts +7 -0
- package/dist/core/schemas/builders/object-like/types.js +2 -0
- package/dist/core/schemas/builders/primitives/any.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/any.js +6 -0
- package/dist/core/schemas/builders/primitives/boolean.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/boolean.js +25 -0
- package/dist/core/schemas/builders/primitives/index.d.ts +5 -0
- package/dist/core/schemas/builders/primitives/index.js +13 -0
- package/dist/core/schemas/builders/primitives/number.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/number.js +25 -0
- package/dist/core/schemas/builders/primitives/string.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/string.js +25 -0
- package/dist/core/schemas/builders/primitives/unknown.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/unknown.js +6 -0
- package/dist/core/schemas/builders/record/index.d.ts +2 -0
- package/dist/core/schemas/builders/record/index.js +5 -0
- package/dist/core/schemas/builders/record/record.d.ts +3 -0
- package/dist/core/schemas/builders/record/record.js +106 -0
- package/dist/core/schemas/builders/record/types.d.ts +4 -0
- package/dist/core/schemas/builders/record/types.js +2 -0
- package/dist/core/schemas/builders/schema-utils/JsonError.d.ts +5 -0
- package/dist/core/schemas/builders/schema-utils/JsonError.js +12 -0
- package/dist/core/schemas/builders/schema-utils/ParseError.d.ts +5 -0
- package/dist/core/schemas/builders/schema-utils/ParseError.js +12 -0
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +17 -0
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +85 -0
- package/dist/core/schemas/builders/schema-utils/index.d.ts +4 -0
- package/dist/core/schemas/builders/schema-utils/index.js +11 -0
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +2 -0
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +10 -0
- package/dist/core/schemas/builders/set/index.d.ts +1 -0
- package/dist/core/schemas/builders/set/index.js +5 -0
- package/dist/core/schemas/builders/set/set.d.ts +2 -0
- package/dist/core/schemas/builders/set/set.js +53 -0
- package/dist/core/schemas/builders/undiscriminated-union/index.d.ts +2 -0
- package/dist/core/schemas/builders/undiscriminated-union/index.js +5 -0
- package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +4 -0
- package/dist/core/schemas/builders/undiscriminated-union/types.js +2 -0
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +3 -0
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +51 -0
- package/dist/core/schemas/builders/union/discriminant.d.ts +5 -0
- package/dist/core/schemas/builders/union/discriminant.js +10 -0
- package/dist/core/schemas/builders/union/index.d.ts +4 -0
- package/dist/core/schemas/builders/union/index.js +7 -0
- package/dist/core/schemas/builders/union/types.d.ts +13 -0
- package/dist/core/schemas/builders/union/types.js +2 -0
- package/dist/core/schemas/builders/union/union.d.ts +4 -0
- package/dist/core/schemas/builders/union/union.js +141 -0
- package/dist/core/schemas/index.d.ts +2 -0
- package/dist/core/schemas/index.js +17 -0
- package/dist/core/schemas/utils/MaybePromise.d.ts +1 -0
- package/dist/core/schemas/utils/MaybePromise.js +2 -0
- package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +7 -0
- package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.js +2 -0
- package/dist/core/schemas/utils/createIdentitySchemaCreator.d.ts +2 -0
- package/dist/core/schemas/utils/createIdentitySchemaCreator.js +16 -0
- package/dist/core/schemas/utils/entries.d.ts +1 -0
- package/dist/core/schemas/utils/entries.js +7 -0
- package/dist/core/schemas/utils/filterObject.d.ts +1 -0
- package/dist/core/schemas/utils/filterObject.js +14 -0
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +1 -0
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +24 -0
- package/dist/core/schemas/utils/isPlainObject.d.ts +1 -0
- package/dist/core/schemas/utils/isPlainObject.js +18 -0
- package/dist/core/schemas/utils/keys.d.ts +1 -0
- package/dist/core/schemas/utils/keys.js +7 -0
- package/dist/core/schemas/utils/maybeSkipValidation.d.ts +2 -0
- package/dist/core/schemas/utils/maybeSkipValidation.js +37 -0
- package/dist/core/schemas/utils/partition.d.ts +1 -0
- package/dist/core/schemas/utils/partition.js +16 -0
- package/dist/environments.d.ts +7 -0
- package/dist/environments.js +9 -0
- package/dist/errors/CredalError.d.ts +12 -0
- package/dist/errors/CredalError.js +32 -0
- package/dist/errors/CredalTimeoutError.d.ts +6 -0
- package/dist/errors/CredalTimeoutError.js +13 -0
- package/dist/errors/index.d.ts +2 -0
- package/dist/errors/index.js +7 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +34 -0
- package/dist/serialization/index.d.ts +1 -0
- package/dist/serialization/index.js +17 -0
- package/dist/serialization/resources/common/index.d.ts +1 -0
- package/dist/serialization/resources/common/index.js +17 -0
- package/dist/serialization/resources/common/types/ExternalResourceId.d.ts +14 -0
- package/dist/serialization/resources/common/types/ExternalResourceId.js +35 -0
- package/dist/serialization/resources/common/types/ResourceIdentifier.d.ts +18 -0
- package/dist/serialization/resources/common/types/ResourceIdentifier.js +41 -0
- package/dist/serialization/resources/common/types/ResourceType.d.ts +10 -0
- package/dist/serialization/resources/common/types/ResourceType.js +47 -0
- package/dist/serialization/resources/common/types/Url.d.ts +12 -0
- package/dist/serialization/resources/common/types/Url.js +33 -0
- package/dist/serialization/resources/common/types/index.d.ts +4 -0
- package/dist/serialization/resources/common/types/index.js +20 -0
- package/dist/serialization/resources/copilots/client/index.d.ts +1 -0
- package/dist/serialization/resources/copilots/client/index.js +17 -0
- package/dist/serialization/resources/copilots/client/requests/CreateConversationRequest.d.ts +12 -0
- package/dist/serialization/resources/copilots/client/requests/CreateConversationRequest.js +33 -0
- package/dist/serialization/resources/copilots/client/requests/SendMessageRequest.d.ts +14 -0
- package/dist/serialization/resources/copilots/client/requests/SendMessageRequest.js +35 -0
- package/dist/serialization/resources/copilots/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/copilots/client/requests/index.js +7 -0
- package/dist/serialization/resources/copilots/index.d.ts +2 -0
- package/dist/serialization/resources/copilots/index.js +18 -0
- package/dist/serialization/resources/copilots/types/CreateConversationResponse.d.ts +12 -0
- package/dist/serialization/resources/copilots/types/CreateConversationResponse.js +33 -0
- package/dist/serialization/resources/copilots/types/InsertedAuditLog.d.ts +12 -0
- package/dist/serialization/resources/copilots/types/InsertedAuditLog.js +33 -0
- package/dist/serialization/resources/copilots/types/MessageBlocked.d.ts +18 -0
- package/dist/serialization/resources/copilots/types/MessageBlocked.js +39 -0
- package/dist/serialization/resources/copilots/types/MessageReply.d.ts +20 -0
- package/dist/serialization/resources/copilots/types/MessageReply.js +41 -0
- package/dist/serialization/resources/copilots/types/PolicyTrigger.d.ts +14 -0
- package/dist/serialization/resources/copilots/types/PolicyTrigger.js +35 -0
- package/dist/serialization/resources/copilots/types/ResponseChunk.d.ts +13 -0
- package/dist/serialization/resources/copilots/types/ResponseChunk.js +34 -0
- package/dist/serialization/resources/copilots/types/SendAgentMessageResponse.d.ts +13 -0
- package/dist/serialization/resources/copilots/types/SendAgentMessageResponse.js +34 -0
- package/dist/serialization/resources/copilots/types/SendMessageResponse.d.ts +18 -0
- package/dist/serialization/resources/copilots/types/SendMessageResponse.js +41 -0
- package/dist/serialization/resources/copilots/types/index.d.ts +8 -0
- package/dist/serialization/resources/copilots/types/index.js +24 -0
- package/dist/serialization/resources/documentCatalog/client/index.d.ts +1 -0
- package/dist/serialization/resources/documentCatalog/client/index.js +17 -0
- package/dist/serialization/resources/documentCatalog/client/requests/UploadDocumentContentsRequest.d.ts +21 -0
- package/dist/serialization/resources/documentCatalog/client/requests/UploadDocumentContentsRequest.js +42 -0
- package/dist/serialization/resources/documentCatalog/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/documentCatalog/client/requests/index.js +5 -0
- package/dist/serialization/resources/documentCatalog/index.d.ts +2 -0
- package/dist/serialization/resources/documentCatalog/index.js +18 -0
- package/dist/serialization/resources/documentCatalog/types/DocumentMetadataPatch.d.ts +14 -0
- package/dist/serialization/resources/documentCatalog/types/DocumentMetadataPatch.js +35 -0
- package/dist/serialization/resources/documentCatalog/types/DocumentMetadataPatchRequest.d.ts +14 -0
- package/dist/serialization/resources/documentCatalog/types/DocumentMetadataPatchRequest.js +35 -0
- package/dist/serialization/resources/documentCatalog/types/UploadDocumentResponse.d.ts +12 -0
- package/dist/serialization/resources/documentCatalog/types/UploadDocumentResponse.js +33 -0
- package/dist/serialization/resources/documentCatalog/types/index.d.ts +3 -0
- package/dist/serialization/resources/documentCatalog/types/index.js +19 -0
- package/dist/serialization/resources/documentCollections/client/index.d.ts +1 -0
- package/dist/serialization/resources/documentCollections/client/index.js +17 -0
- package/dist/serialization/resources/documentCollections/client/requests/AddDocumentsToCollectionRequest.d.ts +14 -0
- package/dist/serialization/resources/documentCollections/client/requests/AddDocumentsToCollectionRequest.js +35 -0
- package/dist/serialization/resources/documentCollections/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/documentCollections/client/requests/index.js +5 -0
- package/dist/serialization/resources/documentCollections/index.d.ts +1 -0
- package/dist/serialization/resources/documentCollections/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +18 -0
- package/dist/serialization/resources/index.js +47 -0
- package/dist/serialization/resources/permissionsService/client/index.d.ts +1 -0
- package/dist/serialization/resources/permissionsService/client/index.js +17 -0
- package/dist/serialization/resources/permissionsService/client/requests/CheckBulkResourcesAuthorizationForUserRequest.d.ts +15 -0
- package/dist/serialization/resources/permissionsService/client/requests/CheckBulkResourcesAuthorizationForUserRequest.js +36 -0
- package/dist/serialization/resources/permissionsService/client/requests/CheckResourceAuthorizationForUserRequest.d.ts +15 -0
- package/dist/serialization/resources/permissionsService/client/requests/CheckResourceAuthorizationForUserRequest.js +36 -0
- package/dist/serialization/resources/permissionsService/client/requests/ListCachedAuthorizedResourcesForUserRequest.d.ts +16 -0
- package/dist/serialization/resources/permissionsService/client/requests/ListCachedAuthorizedResourcesForUserRequest.js +37 -0
- package/dist/serialization/resources/permissionsService/client/requests/index.d.ts +3 -0
- package/dist/serialization/resources/permissionsService/client/requests/index.js +9 -0
- package/dist/serialization/resources/permissionsService/index.d.ts +2 -0
- package/dist/serialization/resources/permissionsService/index.js +18 -0
- package/dist/serialization/resources/permissionsService/types/Action.d.ts +10 -0
- package/dist/serialization/resources/permissionsService/types/Action.js +33 -0
- package/dist/serialization/resources/permissionsService/types/CheckBulkResourcesAuthorizationResponse.d.ts +11 -0
- package/dist/serialization/resources/permissionsService/types/CheckBulkResourcesAuthorizationResponse.js +32 -0
- package/dist/serialization/resources/permissionsService/types/CheckResourceAuthorizationResponse.d.ts +12 -0
- package/dist/serialization/resources/permissionsService/types/CheckResourceAuthorizationResponse.js +33 -0
- package/dist/serialization/resources/permissionsService/types/Group.d.ts +13 -0
- package/dist/serialization/resources/permissionsService/types/Group.js +34 -0
- package/dist/serialization/resources/permissionsService/types/Principal.d.ts +18 -0
- package/dist/serialization/resources/permissionsService/types/Principal.js +41 -0
- package/dist/serialization/resources/permissionsService/types/PrincipalListPage.d.ts +14 -0
- package/dist/serialization/resources/permissionsService/types/PrincipalListPage.js +35 -0
- package/dist/serialization/resources/permissionsService/types/ResourceAuthorizationResult.d.ts +14 -0
- package/dist/serialization/resources/permissionsService/types/ResourceAuthorizationResult.js +35 -0
- package/dist/serialization/resources/permissionsService/types/ResourceListPage.d.ts +13 -0
- package/dist/serialization/resources/permissionsService/types/ResourceListPage.js +34 -0
- package/dist/serialization/resources/permissionsService/types/User.d.ts +14 -0
- package/dist/serialization/resources/permissionsService/types/User.js +35 -0
- package/dist/serialization/resources/permissionsService/types/index.d.ts +9 -0
- package/dist/serialization/resources/permissionsService/types/index.js +25 -0
- package/dist/serialization/resources/search/client/index.d.ts +1 -0
- package/dist/serialization/resources/search/client/index.js +17 -0
- package/dist/serialization/resources/search/client/requests/SearchDocumentCollectionRequest.d.ts +19 -0
- package/dist/serialization/resources/search/client/requests/SearchDocumentCollectionRequest.js +40 -0
- package/dist/serialization/resources/search/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/search/client/requests/index.js +5 -0
- package/dist/serialization/resources/search/index.d.ts +2 -0
- package/dist/serialization/resources/search/index.js +18 -0
- package/dist/serialization/resources/search/types/DocumentCollectionSearchOptions.d.ts +17 -0
- package/dist/serialization/resources/search/types/DocumentCollectionSearchOptions.js +38 -0
- package/dist/serialization/resources/search/types/DocumentCollectionSearchResult.d.ts +17 -0
- package/dist/serialization/resources/search/types/DocumentCollectionSearchResult.js +38 -0
- package/dist/serialization/resources/search/types/Operator.d.ts +10 -0
- package/dist/serialization/resources/search/types/Operator.js +39 -0
- package/dist/serialization/resources/search/types/SearchDocumentCollectionResponse.d.ts +17 -0
- package/dist/serialization/resources/search/types/SearchDocumentCollectionResponse.js +38 -0
- package/dist/serialization/resources/search/types/SearchResultChunk.d.ts +15 -0
- package/dist/serialization/resources/search/types/SearchResultChunk.js +36 -0
- package/dist/serialization/resources/search/types/SingleFieldFilter.d.ts +15 -0
- package/dist/serialization/resources/search/types/SingleFieldFilter.js +36 -0
- package/dist/serialization/resources/search/types/index.d.ts +6 -0
- package/dist/serialization/resources/search/types/index.js +22 -0
- package/dist/serialization/resources/users/client/index.d.ts +1 -0
- package/dist/serialization/resources/users/client/index.js +27 -0
- package/dist/serialization/resources/users/client/metadata.d.ts +11 -0
- package/dist/serialization/resources/users/client/metadata.js +32 -0
- package/dist/serialization/resources/users/index.d.ts +2 -0
- package/dist/serialization/resources/users/index.js +18 -0
- package/dist/serialization/resources/users/types/UserMetadataPatch.d.ts +13 -0
- package/dist/serialization/resources/users/types/UserMetadataPatch.js +34 -0
- package/dist/serialization/resources/users/types/index.d.ts +1 -0
- package/dist/serialization/resources/users/types/index.js +17 -0
- package/environments.d.ts +7 -0
- package/environments.js +9 -0
- package/errors/CredalError.d.ts +12 -0
- package/errors/CredalError.js +32 -0
- package/errors/CredalTimeoutError.d.ts +6 -0
- package/errors/CredalTimeoutError.js +13 -0
- package/errors/index.d.ts +2 -0
- package/errors/index.js +7 -0
- package/index.d.ts +4 -0
- package/index.js +34 -0
- package/jest.config.js +5 -0
- package/package.json +34 -0
- package/reference.md +910 -0
- package/serialization/index.d.ts +1 -0
- package/serialization/index.js +17 -0
- package/serialization/resources/common/index.d.ts +1 -0
- package/serialization/resources/common/index.js +17 -0
- package/serialization/resources/common/types/ExternalResourceId.d.ts +14 -0
- package/serialization/resources/common/types/ExternalResourceId.js +35 -0
- package/serialization/resources/common/types/ResourceIdentifier.d.ts +18 -0
- package/serialization/resources/common/types/ResourceIdentifier.js +41 -0
- package/serialization/resources/common/types/ResourceType.d.ts +10 -0
- package/serialization/resources/common/types/ResourceType.js +47 -0
- package/serialization/resources/common/types/Url.d.ts +12 -0
- package/serialization/resources/common/types/Url.js +33 -0
- package/serialization/resources/common/types/index.d.ts +4 -0
- package/serialization/resources/common/types/index.js +20 -0
- package/serialization/resources/copilots/client/index.d.ts +1 -0
- package/serialization/resources/copilots/client/index.js +17 -0
- package/serialization/resources/copilots/client/requests/CreateConversationRequest.d.ts +12 -0
- package/serialization/resources/copilots/client/requests/CreateConversationRequest.js +33 -0
- package/serialization/resources/copilots/client/requests/SendMessageRequest.d.ts +14 -0
- package/serialization/resources/copilots/client/requests/SendMessageRequest.js +35 -0
- package/serialization/resources/copilots/client/requests/index.d.ts +2 -0
- package/serialization/resources/copilots/client/requests/index.js +7 -0
- package/serialization/resources/copilots/index.d.ts +2 -0
- package/serialization/resources/copilots/index.js +18 -0
- package/serialization/resources/copilots/types/CreateConversationResponse.d.ts +12 -0
- package/serialization/resources/copilots/types/CreateConversationResponse.js +33 -0
- package/serialization/resources/copilots/types/InsertedAuditLog.d.ts +12 -0
- package/serialization/resources/copilots/types/InsertedAuditLog.js +33 -0
- package/serialization/resources/copilots/types/MessageBlocked.d.ts +18 -0
- package/serialization/resources/copilots/types/MessageBlocked.js +39 -0
- package/serialization/resources/copilots/types/MessageReply.d.ts +20 -0
- package/serialization/resources/copilots/types/MessageReply.js +41 -0
- package/serialization/resources/copilots/types/PolicyTrigger.d.ts +14 -0
- package/serialization/resources/copilots/types/PolicyTrigger.js +35 -0
- package/serialization/resources/copilots/types/ResponseChunk.d.ts +13 -0
- package/serialization/resources/copilots/types/ResponseChunk.js +34 -0
- package/serialization/resources/copilots/types/SendAgentMessageResponse.d.ts +13 -0
- package/serialization/resources/copilots/types/SendAgentMessageResponse.js +34 -0
- package/serialization/resources/copilots/types/SendMessageResponse.d.ts +18 -0
- package/serialization/resources/copilots/types/SendMessageResponse.js +41 -0
- package/serialization/resources/copilots/types/index.d.ts +8 -0
- package/serialization/resources/copilots/types/index.js +24 -0
- package/serialization/resources/documentCatalog/client/index.d.ts +1 -0
- package/serialization/resources/documentCatalog/client/index.js +17 -0
- package/serialization/resources/documentCatalog/client/requests/UploadDocumentContentsRequest.d.ts +21 -0
- package/serialization/resources/documentCatalog/client/requests/UploadDocumentContentsRequest.js +42 -0
- package/serialization/resources/documentCatalog/client/requests/index.d.ts +1 -0
- package/serialization/resources/documentCatalog/client/requests/index.js +5 -0
- package/serialization/resources/documentCatalog/index.d.ts +2 -0
- package/serialization/resources/documentCatalog/index.js +18 -0
- package/serialization/resources/documentCatalog/types/DocumentMetadataPatch.d.ts +14 -0
- package/serialization/resources/documentCatalog/types/DocumentMetadataPatch.js +35 -0
- package/serialization/resources/documentCatalog/types/DocumentMetadataPatchRequest.d.ts +14 -0
- package/serialization/resources/documentCatalog/types/DocumentMetadataPatchRequest.js +35 -0
- package/serialization/resources/documentCatalog/types/UploadDocumentResponse.d.ts +12 -0
- package/serialization/resources/documentCatalog/types/UploadDocumentResponse.js +33 -0
- package/serialization/resources/documentCatalog/types/index.d.ts +3 -0
- package/serialization/resources/documentCatalog/types/index.js +19 -0
- package/serialization/resources/documentCollections/client/index.d.ts +1 -0
- package/serialization/resources/documentCollections/client/index.js +17 -0
- package/serialization/resources/documentCollections/client/requests/AddDocumentsToCollectionRequest.d.ts +14 -0
- package/serialization/resources/documentCollections/client/requests/AddDocumentsToCollectionRequest.js +35 -0
- package/serialization/resources/documentCollections/client/requests/index.d.ts +1 -0
- package/serialization/resources/documentCollections/client/requests/index.js +5 -0
- package/serialization/resources/documentCollections/index.d.ts +1 -0
- package/serialization/resources/documentCollections/index.js +17 -0
- package/serialization/resources/index.d.ts +18 -0
- package/serialization/resources/index.js +47 -0
- package/serialization/resources/permissionsService/client/index.d.ts +1 -0
- package/serialization/resources/permissionsService/client/index.js +17 -0
- package/serialization/resources/permissionsService/client/requests/CheckBulkResourcesAuthorizationForUserRequest.d.ts +15 -0
- package/serialization/resources/permissionsService/client/requests/CheckBulkResourcesAuthorizationForUserRequest.js +36 -0
- package/serialization/resources/permissionsService/client/requests/CheckResourceAuthorizationForUserRequest.d.ts +15 -0
- package/serialization/resources/permissionsService/client/requests/CheckResourceAuthorizationForUserRequest.js +36 -0
- package/serialization/resources/permissionsService/client/requests/ListCachedAuthorizedResourcesForUserRequest.d.ts +16 -0
- package/serialization/resources/permissionsService/client/requests/ListCachedAuthorizedResourcesForUserRequest.js +37 -0
- package/serialization/resources/permissionsService/client/requests/index.d.ts +3 -0
- package/serialization/resources/permissionsService/client/requests/index.js +9 -0
- package/serialization/resources/permissionsService/index.d.ts +2 -0
- package/serialization/resources/permissionsService/index.js +18 -0
- package/serialization/resources/permissionsService/types/Action.d.ts +10 -0
- package/serialization/resources/permissionsService/types/Action.js +33 -0
- package/serialization/resources/permissionsService/types/CheckBulkResourcesAuthorizationResponse.d.ts +11 -0
- package/serialization/resources/permissionsService/types/CheckBulkResourcesAuthorizationResponse.js +32 -0
- package/serialization/resources/permissionsService/types/CheckResourceAuthorizationResponse.d.ts +12 -0
- package/serialization/resources/permissionsService/types/CheckResourceAuthorizationResponse.js +33 -0
- package/serialization/resources/permissionsService/types/Group.d.ts +13 -0
- package/serialization/resources/permissionsService/types/Group.js +34 -0
- package/serialization/resources/permissionsService/types/Principal.d.ts +18 -0
- package/serialization/resources/permissionsService/types/Principal.js +41 -0
- package/serialization/resources/permissionsService/types/PrincipalListPage.d.ts +14 -0
- package/serialization/resources/permissionsService/types/PrincipalListPage.js +35 -0
- package/serialization/resources/permissionsService/types/ResourceAuthorizationResult.d.ts +14 -0
- package/serialization/resources/permissionsService/types/ResourceAuthorizationResult.js +35 -0
- package/serialization/resources/permissionsService/types/ResourceListPage.d.ts +13 -0
- package/serialization/resources/permissionsService/types/ResourceListPage.js +34 -0
- package/serialization/resources/permissionsService/types/User.d.ts +14 -0
- package/serialization/resources/permissionsService/types/User.js +35 -0
- package/serialization/resources/permissionsService/types/index.d.ts +9 -0
- package/serialization/resources/permissionsService/types/index.js +25 -0
- package/serialization/resources/search/client/index.d.ts +1 -0
- package/serialization/resources/search/client/index.js +17 -0
- package/serialization/resources/search/client/requests/SearchDocumentCollectionRequest.d.ts +19 -0
- package/serialization/resources/search/client/requests/SearchDocumentCollectionRequest.js +40 -0
- package/serialization/resources/search/client/requests/index.d.ts +1 -0
- package/serialization/resources/search/client/requests/index.js +5 -0
- package/serialization/resources/search/index.d.ts +2 -0
- package/serialization/resources/search/index.js +18 -0
- package/serialization/resources/search/types/DocumentCollectionSearchOptions.d.ts +17 -0
- package/serialization/resources/search/types/DocumentCollectionSearchOptions.js +38 -0
- package/serialization/resources/search/types/DocumentCollectionSearchResult.d.ts +17 -0
- package/serialization/resources/search/types/DocumentCollectionSearchResult.js +38 -0
- package/serialization/resources/search/types/Operator.d.ts +10 -0
- package/serialization/resources/search/types/Operator.js +39 -0
- package/serialization/resources/search/types/SearchDocumentCollectionResponse.d.ts +17 -0
- package/serialization/resources/search/types/SearchDocumentCollectionResponse.js +38 -0
- package/serialization/resources/search/types/SearchResultChunk.d.ts +15 -0
- package/serialization/resources/search/types/SearchResultChunk.js +36 -0
- package/serialization/resources/search/types/SingleFieldFilter.d.ts +15 -0
- package/serialization/resources/search/types/SingleFieldFilter.js +36 -0
- package/serialization/resources/search/types/index.d.ts +6 -0
- package/serialization/resources/search/types/index.js +22 -0
- package/serialization/resources/users/client/index.d.ts +1 -0
- package/serialization/resources/users/client/index.js +27 -0
- package/serialization/resources/users/client/metadata.d.ts +11 -0
- package/serialization/resources/users/client/metadata.js +32 -0
- package/serialization/resources/users/index.d.ts +2 -0
- package/serialization/resources/users/index.js +18 -0
- package/serialization/resources/users/types/UserMetadataPatch.d.ts +13 -0
- package/serialization/resources/users/types/UserMetadataPatch.js +34 -0
- package/serialization/resources/users/types/index.d.ts +1 -0
- package/serialization/resources/users/types/index.js +17 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./resources";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./resources"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Credal from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { ResourceType } from "./ResourceType";
|
|
8
|
+
export declare const ExternalResourceId: core.serialization.ObjectSchema<serializers.ExternalResourceId.Raw, Credal.ExternalResourceId>;
|
|
9
|
+
export declare namespace ExternalResourceId {
|
|
10
|
+
interface Raw {
|
|
11
|
+
externalResourceId: string;
|
|
12
|
+
resourceType: ResourceType.Raw;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ExternalResourceId = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const ResourceType_1 = require("./ResourceType");
|
|
32
|
+
exports.ExternalResourceId = core.serialization.object({
|
|
33
|
+
externalResourceId: core.serialization.string(),
|
|
34
|
+
resourceType: ResourceType_1.ResourceType,
|
|
35
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Credal from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { ExternalResourceId } from "./ExternalResourceId";
|
|
8
|
+
import { Url } from "./Url";
|
|
9
|
+
export declare const ResourceIdentifier: core.serialization.Schema<serializers.ResourceIdentifier.Raw, Credal.ResourceIdentifier>;
|
|
10
|
+
export declare namespace ResourceIdentifier {
|
|
11
|
+
type Raw = ResourceIdentifier.ExternalResourceId | ResourceIdentifier.Url;
|
|
12
|
+
interface ExternalResourceId extends ExternalResourceId.Raw {
|
|
13
|
+
type: "external-resource-id";
|
|
14
|
+
}
|
|
15
|
+
interface Url extends Url.Raw {
|
|
16
|
+
type: "url";
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ResourceIdentifier = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const ExternalResourceId_1 = require("./ExternalResourceId");
|
|
32
|
+
const Url_1 = require("./Url");
|
|
33
|
+
exports.ResourceIdentifier = core.serialization
|
|
34
|
+
.union("type", {
|
|
35
|
+
"external-resource-id": ExternalResourceId_1.ExternalResourceId,
|
|
36
|
+
url: Url_1.Url,
|
|
37
|
+
})
|
|
38
|
+
.transform({
|
|
39
|
+
transform: (value) => value,
|
|
40
|
+
untransform: (value) => value,
|
|
41
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Credal from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const ResourceType: core.serialization.Schema<serializers.ResourceType.Raw, Credal.ResourceType>;
|
|
8
|
+
export declare namespace ResourceType {
|
|
9
|
+
type Raw = "GOOGLE_DRIVE_ITEM" | "MICROSOFT_DRIVE_ITEM" | "ZENDESK_TICKET" | "ZENDESK_ARTICLE" | "ZENDESK_GROUP" | "ZENDESK_ARTICLE_SECTION" | "CONFLUENCE_PAGE" | "CONFLUENCE_SPACE" | "JIRA_TICKET" | "JIRA_PROJECT" | "SALESFORCE_TASK" | "BOX_FILE" | "BOX_FOLDER" | "NOTION_PAGE" | "UNKNOWN";
|
|
10
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ResourceType = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.ResourceType = core.serialization.enum_([
|
|
32
|
+
"GOOGLE_DRIVE_ITEM",
|
|
33
|
+
"MICROSOFT_DRIVE_ITEM",
|
|
34
|
+
"ZENDESK_TICKET",
|
|
35
|
+
"ZENDESK_ARTICLE",
|
|
36
|
+
"ZENDESK_GROUP",
|
|
37
|
+
"ZENDESK_ARTICLE_SECTION",
|
|
38
|
+
"CONFLUENCE_PAGE",
|
|
39
|
+
"CONFLUENCE_SPACE",
|
|
40
|
+
"JIRA_TICKET",
|
|
41
|
+
"JIRA_PROJECT",
|
|
42
|
+
"SALESFORCE_TASK",
|
|
43
|
+
"BOX_FILE",
|
|
44
|
+
"BOX_FOLDER",
|
|
45
|
+
"NOTION_PAGE",
|
|
46
|
+
"UNKNOWN",
|
|
47
|
+
]);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Credal from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const Url: core.serialization.ObjectSchema<serializers.Url.Raw, Credal.Url>;
|
|
8
|
+
export declare namespace Url {
|
|
9
|
+
interface Raw {
|
|
10
|
+
url: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Url = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.Url = core.serialization.object({
|
|
32
|
+
url: core.serialization.string(),
|
|
33
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ResourceIdentifier"), exports);
|
|
18
|
+
__exportStar(require("./ExternalResourceId"), exports);
|
|
19
|
+
__exportStar(require("./Url"), exports);
|
|
20
|
+
__exportStar(require("./ResourceType"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index";
|
|
5
|
+
import * as Credal from "../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../core";
|
|
7
|
+
export declare const CreateConversationRequest: core.serialization.Schema<serializers.CreateConversationRequest.Raw, Credal.CreateConversationRequest>;
|
|
8
|
+
export declare namespace CreateConversationRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
userEmail: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.CreateConversationRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../core"));
|
|
31
|
+
exports.CreateConversationRequest = core.serialization.object({
|
|
32
|
+
userEmail: core.serialization.string(),
|
|
33
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index";
|
|
5
|
+
import * as Credal from "../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../core";
|
|
7
|
+
export declare const SendMessageRequest: core.serialization.Schema<serializers.SendMessageRequest.Raw, Credal.SendMessageRequest>;
|
|
8
|
+
export declare namespace SendMessageRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
message: string;
|
|
11
|
+
userEmail: string;
|
|
12
|
+
conversationId?: string | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.SendMessageRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../core"));
|
|
31
|
+
exports.SendMessageRequest = core.serialization.object({
|
|
32
|
+
message: core.serialization.string(),
|
|
33
|
+
userEmail: core.serialization.string(),
|
|
34
|
+
conversationId: core.serialization.string().optional(),
|
|
35
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SendMessageRequest = exports.CreateConversationRequest = void 0;
|
|
4
|
+
var CreateConversationRequest_1 = require("./CreateConversationRequest");
|
|
5
|
+
Object.defineProperty(exports, "CreateConversationRequest", { enumerable: true, get: function () { return CreateConversationRequest_1.CreateConversationRequest; } });
|
|
6
|
+
var SendMessageRequest_1 = require("./SendMessageRequest");
|
|
7
|
+
Object.defineProperty(exports, "SendMessageRequest", { enumerable: true, get: function () { return SendMessageRequest_1.SendMessageRequest; } });
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Credal from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const CreateConversationResponse: core.serialization.ObjectSchema<serializers.CreateConversationResponse.Raw, Credal.CreateConversationResponse>;
|
|
8
|
+
export declare namespace CreateConversationResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
conversationId: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.CreateConversationResponse = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.CreateConversationResponse = core.serialization.object({
|
|
32
|
+
conversationId: core.serialization.string(),
|
|
33
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Credal from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const InsertedAuditLog: core.serialization.ObjectSchema<serializers.InsertedAuditLog.Raw, Credal.InsertedAuditLog>;
|
|
8
|
+
export declare namespace InsertedAuditLog {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.InsertedAuditLog = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.InsertedAuditLog = core.serialization.object({
|
|
32
|
+
id: core.serialization.string(),
|
|
33
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Credal from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { PolicyTrigger } from "./PolicyTrigger";
|
|
8
|
+
import { InsertedAuditLog } from "./InsertedAuditLog";
|
|
9
|
+
export declare const MessageBlocked: core.serialization.ObjectSchema<serializers.MessageBlocked.Raw, Credal.MessageBlocked>;
|
|
10
|
+
export declare namespace MessageBlocked {
|
|
11
|
+
interface Raw {
|
|
12
|
+
policy_triggers: PolicyTrigger.Raw[];
|
|
13
|
+
conversationId: string;
|
|
14
|
+
blocks: string[];
|
|
15
|
+
warnings: string[];
|
|
16
|
+
inserted_audit_log: InsertedAuditLog.Raw;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.MessageBlocked = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const PolicyTrigger_1 = require("./PolicyTrigger");
|
|
32
|
+
const InsertedAuditLog_1 = require("./InsertedAuditLog");
|
|
33
|
+
exports.MessageBlocked = core.serialization.object({
|
|
34
|
+
policyTriggers: core.serialization.property("policy_triggers", core.serialization.list(PolicyTrigger_1.PolicyTrigger)),
|
|
35
|
+
conversationId: core.serialization.string(),
|
|
36
|
+
blocks: core.serialization.list(core.serialization.string()),
|
|
37
|
+
warnings: core.serialization.list(core.serialization.string()),
|
|
38
|
+
insertedAuditLog: core.serialization.property("inserted_audit_log", InsertedAuditLog_1.InsertedAuditLog),
|
|
39
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Credal from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { PolicyTrigger } from "./PolicyTrigger";
|
|
8
|
+
import { ResponseChunk } from "./ResponseChunk";
|
|
9
|
+
import { InsertedAuditLog } from "./InsertedAuditLog";
|
|
10
|
+
export declare const MessageReply: core.serialization.ObjectSchema<serializers.MessageReply.Raw, Credal.MessageReply>;
|
|
11
|
+
export declare namespace MessageReply {
|
|
12
|
+
interface Raw {
|
|
13
|
+
policy_triggers: PolicyTrigger.Raw[];
|
|
14
|
+
conversationId: string;
|
|
15
|
+
response: ResponseChunk.Raw;
|
|
16
|
+
warnings: string[];
|
|
17
|
+
activitySourceIdsForAudit: string[];
|
|
18
|
+
inserted_audit_log: InsertedAuditLog.Raw;
|
|
19
|
+
}
|
|
20
|
+
}
|