@fbrc/sdk 0.0.13 → 0.0.14
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/.openapi-generator/FILES +1 -1
- package/.openapi-generator-ignore +1 -0
- package/dist/esm/index.d.ts +3 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/models/PlanEntitlements.d.ts +6 -0
- package/dist/esm/models/PlanEntitlements.js +4 -0
- package/dist/esm/models/StorageUsageItem.d.ts +65 -0
- package/dist/esm/models/StorageUsageItem.js +85 -0
- package/dist/esm/models/UpdateResourceRequestLocationAnyOf.d.ts +32 -0
- package/dist/esm/models/UpdateResourceRequestLocationAnyOf.js +45 -0
- package/dist/esm/models/UpdateResourceRequestLocationAnyOf1.d.ts +32 -0
- package/dist/esm/models/UpdateResourceRequestLocationAnyOf1.js +45 -0
- package/dist/esm/models/UsageItem.d.ts +9 -8
- package/dist/esm/models/UsageItem.js +12 -22
- package/dist/esm/models/UsageItems.d.ts +9 -2
- package/dist/esm/models/UsageItems.js +7 -2
- package/dist/esm/models/UsageType.d.ts +1 -0
- package/dist/esm/models/UsageType.js +2 -1
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/examples/src/index.d.ts +1 -0
- package/dist/examples/src/index.js +69 -0
- package/dist/examples/src/utils/client.d.ts +2 -0
- package/dist/examples/src/utils/client.js +39 -0
- package/dist/examples/src/utils/random.d.ts +1 -0
- package/dist/examples/src/utils/random.js +7 -0
- package/dist/examples/src/workspaces.d.ts +7 -0
- package/dist/examples/src/workspaces.js +62 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +1 -1
- package/dist/models/PlanEntitlements.d.ts +6 -0
- package/dist/models/PlanEntitlements.js +4 -0
- package/dist/models/StorageUsageItem.d.ts +65 -0
- package/dist/models/StorageUsageItem.js +92 -0
- package/dist/models/UpdateResourceRequestLocationAnyOf.d.ts +32 -0
- package/dist/models/UpdateResourceRequestLocationAnyOf.js +52 -0
- package/dist/models/UpdateResourceRequestLocationAnyOf1.d.ts +32 -0
- package/dist/models/UpdateResourceRequestLocationAnyOf1.js +52 -0
- package/dist/models/UsageItem.d.ts +9 -8
- package/dist/models/UsageItem.js +12 -22
- package/dist/models/UsageItems.d.ts +9 -2
- package/dist/models/UsageItems.js +7 -2
- package/dist/models/UsageType.d.ts +1 -0
- package/dist/models/UsageType.js +2 -1
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/src/apis/BookmarksApi.d.ts +29 -0
- package/dist/src/apis/BookmarksApi.js +68 -0
- package/dist/src/apis/CommentsApi.d.ts +33 -0
- package/dist/src/apis/CommentsApi.js +79 -0
- package/dist/src/apis/FilesApi.d.ts +31 -0
- package/dist/src/apis/FilesApi.js +70 -0
- package/dist/src/apis/FoldersApi.d.ts +29 -0
- package/dist/src/apis/FoldersApi.js +68 -0
- package/dist/src/apis/MemoriesApi.d.ts +104 -0
- package/dist/src/apis/MemoriesApi.js +273 -0
- package/dist/src/apis/NotepadsApi.d.ts +41 -0
- package/dist/src/apis/NotepadsApi.js +110 -0
- package/dist/src/apis/ResourceRootsApi.d.ts +49 -0
- package/dist/src/apis/ResourceRootsApi.js +127 -0
- package/dist/src/apis/ResourcesApi.d.ts +65 -0
- package/dist/src/apis/ResourcesApi.js +179 -0
- package/dist/src/apis/SearchApi.d.ts +29 -0
- package/dist/src/apis/SearchApi.js +68 -0
- package/dist/src/apis/SpacesApi.d.ts +42 -0
- package/dist/src/apis/SpacesApi.js +107 -0
- package/dist/src/apis/SubscriptionsApi.d.ts +30 -0
- package/dist/src/apis/SubscriptionsApi.js +69 -0
- package/dist/src/apis/TagsApi.d.ts +43 -0
- package/dist/src/apis/TagsApi.js +110 -0
- package/dist/src/apis/UploadsApi.d.ts +34 -0
- package/dist/src/apis/UploadsApi.js +80 -0
- package/dist/src/apis/UsersApi.d.ts +29 -0
- package/dist/src/apis/UsersApi.js +66 -0
- package/dist/src/apis/WorkspacesApi.d.ts +97 -0
- package/dist/src/apis/WorkspacesApi.js +256 -0
- package/dist/src/apis/index.d.ts +15 -0
- package/dist/src/apis/index.js +33 -0
- package/dist/src/index.d.ts +27 -0
- package/dist/src/index.js +49 -0
- package/dist/src/models/AcceptWorkspaceRemovalRequest.d.ts +32 -0
- package/dist/src/models/AcceptWorkspaceRemovalRequest.js +52 -0
- package/dist/src/models/AssistantChat.d.ts +56 -0
- package/dist/src/models/AssistantChat.js +79 -0
- package/dist/src/models/AssistantMessage.d.ts +91 -0
- package/dist/src/models/AssistantMessage.js +127 -0
- package/dist/src/models/AssistantMessageAllOfContext.d.ts +38 -0
- package/dist/src/models/AssistantMessageAllOfContext.js +54 -0
- package/dist/src/models/AssistantMessageBase.d.ts +53 -0
- package/dist/src/models/AssistantMessageBase.js +79 -0
- package/dist/src/models/AssistantMessagePart.d.ts +23 -0
- package/dist/src/models/AssistantMessagePart.js +57 -0
- package/dist/src/models/AssistantMessagePartOneOf.d.ts +45 -0
- package/dist/src/models/AssistantMessagePartOneOf.js +65 -0
- package/dist/src/models/AssistantMessagePartOneOf1.d.ts +78 -0
- package/dist/src/models/AssistantMessagePartOneOf1.js +97 -0
- package/dist/src/models/BillingCycle.d.ts +27 -0
- package/dist/src/models/BillingCycle.js +53 -0
- package/dist/src/models/BookmarkCreationResponse.d.ts +197 -0
- package/dist/src/models/BookmarkCreationResponse.js +291 -0
- package/dist/src/models/ChatbotModel.d.ts +38 -0
- package/dist/src/models/ChatbotModel.js +64 -0
- package/dist/src/models/CommentCreate.d.ts +32 -0
- package/dist/src/models/CommentCreate.js +50 -0
- package/dist/src/models/CommentWithAuthor.d.ts +69 -0
- package/dist/src/models/CommentWithAuthor.js +94 -0
- package/dist/src/models/CreateBookmarkRequest.d.ts +59 -0
- package/dist/src/models/CreateBookmarkRequest.js +83 -0
- package/dist/src/models/CreateBookmarkRequestParentId.d.ts +26 -0
- package/dist/src/models/CreateBookmarkRequestParentId.js +38 -0
- package/dist/src/models/CreateBookmarkRequestTagsInner.d.ts +38 -0
- package/dist/src/models/CreateBookmarkRequestTagsInner.js +58 -0
- package/dist/src/models/CreateBookmarkRequestTagsInnerAnyOf.d.ts +32 -0
- package/dist/src/models/CreateBookmarkRequestTagsInnerAnyOf.js +52 -0
- package/dist/src/models/CreateBookmarkRequestTagsInnerAnyOf1.d.ts +32 -0
- package/dist/src/models/CreateBookmarkRequestTagsInnerAnyOf1.js +52 -0
- package/dist/src/models/CreateFile201Response.d.ts +197 -0
- package/dist/src/models/CreateFile201Response.js +291 -0
- package/dist/src/models/CreateFolderRequest.d.ts +52 -0
- package/dist/src/models/CreateFolderRequest.js +81 -0
- package/dist/src/models/CreateFolderRequestIcon.d.ts +24 -0
- package/dist/src/models/CreateFolderRequestIcon.js +64 -0
- package/dist/src/models/CreateFolderRequestIconOneOf.d.ts +45 -0
- package/dist/src/models/CreateFolderRequestIconOneOf.js +65 -0
- package/dist/src/models/CreateFolderRequestIconOneOf1.d.ts +45 -0
- package/dist/src/models/CreateFolderRequestIconOneOf1.js +65 -0
- package/dist/src/models/CreateFolderRequestIconOneOf2.d.ts +45 -0
- package/dist/src/models/CreateFolderRequestIconOneOf2.js +65 -0
- package/dist/src/models/CreateNotepadRequest.d.ts +59 -0
- package/dist/src/models/CreateNotepadRequest.js +83 -0
- package/dist/src/models/CreateNotepadRequestAllOfAnyOf.d.ts +32 -0
- package/dist/src/models/CreateNotepadRequestAllOfAnyOf.js +52 -0
- package/dist/src/models/CreateSpaceRequest.d.ts +50 -0
- package/dist/src/models/CreateSpaceRequest.js +73 -0
- package/dist/src/models/CreateSpaceRequestAnyOf.d.ts +38 -0
- package/dist/src/models/CreateSpaceRequestAnyOf.js +61 -0
- package/dist/src/models/CreateSpaceRequestAnyOf1.d.ts +32 -0
- package/dist/src/models/CreateSpaceRequestAnyOf1.js +52 -0
- package/dist/src/models/CreateSpaceRequestAnyOf2.d.ts +38 -0
- package/dist/src/models/CreateSpaceRequestAnyOf2.js +56 -0
- package/dist/src/models/CreateTagRequest.d.ts +44 -0
- package/dist/src/models/CreateTagRequest.js +70 -0
- package/dist/src/models/CreateWorkspaceRequest.d.ts +50 -0
- package/dist/src/models/CreateWorkspaceRequest.js +67 -0
- package/dist/src/models/EmailMessageMetadataBlock.d.ts +52 -0
- package/dist/src/models/EmailMessageMetadataBlock.js +78 -0
- package/dist/src/models/EmailMessageMetadataBlockEmailMessage.d.ts +68 -0
- package/dist/src/models/EmailMessageMetadataBlockEmailMessage.js +123 -0
- package/dist/src/models/EmailMessageMetadataBlockEmailPreview.d.ts +32 -0
- package/dist/src/models/EmailMessageMetadataBlockEmailPreview.js +57 -0
- package/dist/src/models/FileCreation.d.ts +79 -0
- package/dist/src/models/FileCreation.js +99 -0
- package/dist/src/models/FileCreationAttachment.d.ts +38 -0
- package/dist/src/models/FileCreationAttachment.js +58 -0
- package/dist/src/models/FileCreationMetadata.d.ts +39 -0
- package/dist/src/models/FileCreationMetadata.js +65 -0
- package/dist/src/models/FileCreationMetadataTranscript.d.ts +32 -0
- package/dist/src/models/FileCreationMetadataTranscript.js +52 -0
- package/dist/src/models/FilterResourcesRequest.d.ts +187 -0
- package/dist/src/models/FilterResourcesRequest.js +185 -0
- package/dist/src/models/FilterResourcesRequestOrder.d.ts +57 -0
- package/dist/src/models/FilterResourcesRequestOrder.js +74 -0
- package/dist/src/models/FilterResourcesRequestParentRoot.d.ts +65 -0
- package/dist/src/models/FilterResourcesRequestParentRoot.js +79 -0
- package/dist/src/models/Folder.d.ts +63 -0
- package/dist/src/models/Folder.js +88 -0
- package/dist/src/models/FolderAllOfIcon.d.ts +58 -0
- package/dist/src/models/FolderAllOfIcon.js +78 -0
- package/dist/src/models/FolderBase.d.ts +38 -0
- package/dist/src/models/FolderBase.js +63 -0
- package/dist/src/models/IntegrationStatus.d.ts +26 -0
- package/dist/src/models/IntegrationStatus.js +52 -0
- package/dist/src/models/IntegrationType.d.ts +35 -0
- package/dist/src/models/IntegrationType.js +61 -0
- package/dist/src/models/Kind.d.ts +35 -0
- package/dist/src/models/Kind.js +61 -0
- package/dist/src/models/ListResourceComments200Response.d.ts +39 -0
- package/dist/src/models/ListResourceComments200Response.js +59 -0
- package/dist/src/models/ListResourceComments200ResponseData.d.ts +33 -0
- package/dist/src/models/ListResourceComments200ResponseData.js +53 -0
- package/dist/src/models/ListResourceComments404Response.d.ts +52 -0
- package/dist/src/models/ListResourceComments404Response.js +71 -0
- package/dist/src/models/ListResourceRoots200Response.d.ts +39 -0
- package/dist/src/models/ListResourceRoots200Response.js +59 -0
- package/dist/src/models/ListResourceRoots200ResponseData.d.ts +58 -0
- package/dist/src/models/ListResourceRoots200ResponseData.js +70 -0
- package/dist/src/models/ListResourceRoots200ResponseDataIntegrationsInner.d.ts +102 -0
- package/dist/src/models/ListResourceRoots200ResponseDataIntegrationsInner.js +130 -0
- package/dist/src/models/ListResourceRoots200ResponseDataSharedWithValue.d.ts +39 -0
- package/dist/src/models/ListResourceRoots200ResponseDataSharedWithValue.js +59 -0
- package/dist/src/models/ListResourceRoots200ResponseDataSharedWithValueMembersInner.d.ts +51 -0
- package/dist/src/models/ListResourceRoots200ResponseDataSharedWithValueMembersInner.js +77 -0
- package/dist/src/models/ListResourceRoots200ResponseDataSharedWithValueMembersInnerAllOfPermission.d.ts +33 -0
- package/dist/src/models/ListResourceRoots200ResponseDataSharedWithValueMembersInnerAllOfPermission.js +53 -0
- package/dist/src/models/ListResourceRootsOrderParameter.d.ts +54 -0
- package/dist/src/models/ListResourceRootsOrderParameter.js +71 -0
- package/dist/src/models/ListResourceRootsTypesParameterInner.d.ts +59 -0
- package/dist/src/models/ListResourceRootsTypesParameterInner.js +75 -0
- package/dist/src/models/ListTags200Response.d.ts +39 -0
- package/dist/src/models/ListTags200Response.js +59 -0
- package/dist/src/models/ListTags200ResponseData.d.ts +33 -0
- package/dist/src/models/ListTags200ResponseData.js +53 -0
- package/dist/src/models/ListWorkspaces200Response.d.ts +39 -0
- package/dist/src/models/ListWorkspaces200Response.js +59 -0
- package/dist/src/models/ListWorkspaces200ResponseData.d.ts +33 -0
- package/dist/src/models/ListWorkspaces200ResponseData.js +53 -0
- package/dist/src/models/Memory.d.ts +56 -0
- package/dist/src/models/Memory.js +81 -0
- package/dist/src/models/MemoryJob.d.ts +23 -0
- package/dist/src/models/MemoryJob.js +57 -0
- package/dist/src/models/MemoryJobOneOf.d.ts +52 -0
- package/dist/src/models/MemoryJobOneOf.js +72 -0
- package/dist/src/models/MemoryJobOneOf1.d.ts +45 -0
- package/dist/src/models/MemoryJobOneOf1.js +65 -0
- package/dist/src/models/MemoryJobOneOfMemories.d.ts +32 -0
- package/dist/src/models/MemoryJobOneOfMemories.js +52 -0
- package/dist/src/models/MemoryJobSource.d.ts +57 -0
- package/dist/src/models/MemoryJobSource.js +73 -0
- package/dist/src/models/MineProfile.d.ts +81 -0
- package/dist/src/models/MineProfile.js +118 -0
- package/dist/src/models/PatchWorkspaceRequest.d.ts +50 -0
- package/dist/src/models/PatchWorkspaceRequest.js +72 -0
- package/dist/src/models/Permission.d.ts +57 -0
- package/dist/src/models/Permission.js +77 -0
- package/dist/src/models/PermissionRole.d.ts +27 -0
- package/dist/src/models/PermissionRole.js +53 -0
- package/dist/src/models/PermissionWithUser.d.ts +64 -0
- package/dist/src/models/PermissionWithUser.js +84 -0
- package/dist/src/models/PlanEntitlements.d.ts +146 -0
- package/dist/src/models/PlanEntitlements.js +154 -0
- package/dist/src/models/PresignedImage.d.ts +50 -0
- package/dist/src/models/PresignedImage.js +79 -0
- package/dist/src/models/PresignedResponse.d.ts +39 -0
- package/dist/src/models/PresignedResponse.js +59 -0
- package/dist/src/models/PresignedResponseHeaders.d.ts +38 -0
- package/dist/src/models/PresignedResponseHeaders.js +64 -0
- package/dist/src/models/PresignedResponseHeadersAnyOf.d.ts +38 -0
- package/dist/src/models/PresignedResponseHeadersAnyOf.js +64 -0
- package/dist/src/models/ProcessingState.d.ts +27 -0
- package/dist/src/models/ProcessingState.js +53 -0
- package/dist/src/models/PublicIntegrationSchema.d.ts +102 -0
- package/dist/src/models/PublicIntegrationSchema.js +130 -0
- package/dist/src/models/RecoverResourcesRequest.d.ts +32 -0
- package/dist/src/models/RecoverResourcesRequest.js +52 -0
- package/dist/src/models/RemoveResourcesRequest.d.ts +38 -0
- package/dist/src/models/RemoveResourcesRequest.js +56 -0
- package/dist/src/models/RemoveSpace404Response.d.ts +52 -0
- package/dist/src/models/RemoveSpace404Response.js +71 -0
- package/dist/src/models/Resource.d.ts +191 -0
- package/dist/src/models/Resource.js +285 -0
- package/dist/src/models/ResourceDetail.d.ts +54 -0
- package/dist/src/models/ResourceDetail.js +98 -0
- package/dist/src/models/ResourceDetailAudio.d.ts +197 -0
- package/dist/src/models/ResourceDetailAudio.js +291 -0
- package/dist/src/models/ResourceDetailBookmark.d.ts +197 -0
- package/dist/src/models/ResourceDetailBookmark.js +291 -0
- package/dist/src/models/ResourceDetailDefault.d.ts +197 -0
- package/dist/src/models/ResourceDetailDefault.js +291 -0
- package/dist/src/models/ResourceDetailDocument.d.ts +197 -0
- package/dist/src/models/ResourceDetailDocument.js +291 -0
- package/dist/src/models/ResourceDetailEmailMessage.d.ts +204 -0
- package/dist/src/models/ResourceDetailEmailMessage.js +298 -0
- package/dist/src/models/ResourceDetailFolder.d.ts +197 -0
- package/dist/src/models/ResourceDetailFolder.js +291 -0
- package/dist/src/models/ResourceDetailHighlight.d.ts +197 -0
- package/dist/src/models/ResourceDetailHighlight.js +291 -0
- package/dist/src/models/ResourceDetailImage.d.ts +197 -0
- package/dist/src/models/ResourceDetailImage.js +291 -0
- package/dist/src/models/ResourceDetailNotepad.d.ts +197 -0
- package/dist/src/models/ResourceDetailNotepad.js +291 -0
- package/dist/src/models/ResourceDetailVideo.d.ts +197 -0
- package/dist/src/models/ResourceDetailVideo.js +291 -0
- package/dist/src/models/ResourceDetailVoicenote.d.ts +197 -0
- package/dist/src/models/ResourceDetailVoicenote.js +291 -0
- package/dist/src/models/ResourceFilterResponse.d.ts +51 -0
- package/dist/src/models/ResourceFilterResponse.js +74 -0
- package/dist/src/models/ResourceIcon.d.ts +24 -0
- package/dist/src/models/ResourceIcon.js +64 -0
- package/dist/src/models/ResourceIconOneOf.d.ts +45 -0
- package/dist/src/models/ResourceIconOneOf.js +65 -0
- package/dist/src/models/ResourceIconOneOf1.d.ts +45 -0
- package/dist/src/models/ResourceIconOneOf1.js +65 -0
- package/dist/src/models/ResourceIconOneOf2.d.ts +46 -0
- package/dist/src/models/ResourceIconOneOf2.js +66 -0
- package/dist/src/models/ResourceLabel.d.ts +38 -0
- package/dist/src/models/ResourceLabel.js +58 -0
- package/dist/src/models/ResourceParent.d.ts +38 -0
- package/dist/src/models/ResourceParent.js +63 -0
- package/dist/src/models/ResourcePublishedAncestorsInner.d.ts +38 -0
- package/dist/src/models/ResourcePublishedAncestorsInner.js +58 -0
- package/dist/src/models/ResourceRoot.d.ts +78 -0
- package/dist/src/models/ResourceRoot.js +103 -0
- package/dist/src/models/ResourceRootBase.d.ts +70 -0
- package/dist/src/models/ResourceRootBase.js +93 -0
- package/dist/src/models/ResourceRootDetail.d.ts +83 -0
- package/dist/src/models/ResourceRootDetail.js +106 -0
- package/dist/src/models/ResourceRootFolder.d.ts +45 -0
- package/dist/src/models/ResourceRootFolder.js +73 -0
- package/dist/src/models/ResourceRootIntegration.d.ts +83 -0
- package/dist/src/models/ResourceRootIntegration.js +106 -0
- package/dist/src/models/ResourceRootListItem.d.ts +84 -0
- package/dist/src/models/ResourceRootListItem.js +112 -0
- package/dist/src/models/ResourceRootSpace.d.ts +82 -0
- package/dist/src/models/ResourceRootSpace.js +110 -0
- package/dist/src/models/ResourceRootSystem.d.ts +83 -0
- package/dist/src/models/ResourceRootSystem.js +106 -0
- package/dist/src/models/ResourceTagsInner.d.ts +38 -0
- package/dist/src/models/ResourceTagsInner.js +58 -0
- package/dist/src/models/ResourceThumbnail.d.ts +56 -0
- package/dist/src/models/ResourceThumbnail.js +66 -0
- package/dist/src/models/RootAlias.d.ts +25 -0
- package/dist/src/models/RootAlias.js +51 -0
- package/dist/src/models/RootType.d.ts +26 -0
- package/dist/src/models/RootType.js +52 -0
- package/dist/src/models/Search200Response.d.ts +45 -0
- package/dist/src/models/Search200Response.js +65 -0
- package/dist/src/models/Search200ResponseHitsInner.d.ts +40 -0
- package/dist/src/models/Search200ResponseHitsInner.js +55 -0
- package/dist/src/models/Search200ResponseHitsInnerAllOfEmbeddings.d.ts +38 -0
- package/dist/src/models/Search200ResponseHitsInnerAllOfEmbeddings.js +54 -0
- package/dist/src/models/SearchMemories200Response.d.ts +45 -0
- package/dist/src/models/SearchMemories200Response.js +65 -0
- package/dist/src/models/SearchMemories200ResponseHitsInner.d.ts +62 -0
- package/dist/src/models/SearchMemories200ResponseHitsInner.js +85 -0
- package/dist/src/models/SearchMemoriesOrderParameter.d.ts +56 -0
- package/dist/src/models/SearchMemoriesOrderParameter.js +73 -0
- package/dist/src/models/SearchRequest.d.ts +72 -0
- package/dist/src/models/SearchRequest.js +85 -0
- package/dist/src/models/SearchRequestAllOfFilters.d.ts +117 -0
- package/dist/src/models/SearchRequestAllOfFilters.js +123 -0
- package/dist/src/models/SearchRequestAllOfFiltersRootsInner.d.ts +65 -0
- package/dist/src/models/SearchRequestAllOfFiltersRootsInner.js +81 -0
- package/dist/src/models/SearchRequestAllOfOneOf.d.ts +32 -0
- package/dist/src/models/SearchRequestAllOfOneOf.js +52 -0
- package/dist/src/models/SearchRequestAllOfPagination.d.ts +38 -0
- package/dist/src/models/SearchRequestAllOfPagination.js +54 -0
- package/dist/src/models/SearchRequestAllOfQueriesInner.d.ts +45 -0
- package/dist/src/models/SearchRequestAllOfQueriesInner.js +61 -0
- package/dist/src/models/SearchRequestAllOfSort.d.ts +56 -0
- package/dist/src/models/SearchRequestAllOfSort.js +73 -0
- package/dist/src/models/SharingFilters.d.ts +28 -0
- package/dist/src/models/SharingFilters.js +54 -0
- package/dist/src/models/Space.d.ts +38 -0
- package/dist/src/models/Space.js +63 -0
- package/dist/src/models/StorageUsageItem.d.ts +65 -0
- package/dist/src/models/StorageUsageItem.js +92 -0
- package/dist/src/models/Store.d.ts +27 -0
- package/dist/src/models/Store.js +53 -0
- package/dist/src/models/SubscriptionStatus.d.ts +31 -0
- package/dist/src/models/SubscriptionStatus.js +57 -0
- package/dist/src/models/SubscriptionTier.d.ts +31 -0
- package/dist/src/models/SubscriptionTier.js +57 -0
- package/dist/src/models/SystemSubtypes.d.ts +25 -0
- package/dist/src/models/SystemSubtypes.js +51 -0
- package/dist/src/models/Tag.d.ts +62 -0
- package/dist/src/models/Tag.js +93 -0
- package/dist/src/models/ToolStatus.d.ts +27 -0
- package/dist/src/models/ToolStatus.js +53 -0
- package/dist/src/models/UpdateMemoryRequest.d.ts +38 -0
- package/dist/src/models/UpdateMemoryRequest.js +59 -0
- package/dist/src/models/UsageAmountType.d.ts +25 -0
- package/dist/src/models/UsageAmountType.js +51 -0
- package/dist/src/models/UsageBreakdownLabel.d.ts +25 -0
- package/dist/src/models/UsageBreakdownLabel.js +51 -0
- package/dist/src/models/UsageItem.d.ts +65 -0
- package/dist/src/models/UsageItem.js +82 -0
- package/dist/src/models/UsageItemBreakdownInner.d.ts +39 -0
- package/dist/src/models/UsageItemBreakdownInner.js +59 -0
- package/dist/src/models/UsageItems.d.ts +58 -0
- package/dist/src/models/UsageItems.js +68 -0
- package/dist/src/models/UsageType.d.ts +28 -0
- package/dist/src/models/UsageType.js +54 -0
- package/dist/src/models/UserGroup.d.ts +32 -0
- package/dist/src/models/UserGroup.js +58 -0
- package/dist/src/models/UserProfilePublic.d.ts +44 -0
- package/dist/src/models/UserProfilePublic.js +70 -0
- package/dist/src/models/Workspace.d.ts +101 -0
- package/dist/src/models/Workspace.js +149 -0
- package/dist/src/models/WorkspaceReferral.d.ts +44 -0
- package/dist/src/models/WorkspaceReferral.js +73 -0
- package/dist/src/models/WorkspaceRole.d.ts +64 -0
- package/dist/src/models/WorkspaceRole.js +84 -0
- package/dist/src/models/WorkspaceRolePermissions.d.ts +62 -0
- package/dist/src/models/WorkspaceRolePermissions.js +70 -0
- package/dist/src/models/WorkspaceRoleType.d.ts +25 -0
- package/dist/src/models/WorkspaceRoleType.js +51 -0
- package/dist/src/models/WorkspaceSubscription.d.ts +99 -0
- package/dist/src/models/WorkspaceSubscription.js +159 -0
- package/dist/src/models/WorkspaceSubscriptionCreditOperationCosts.d.ts +62 -0
- package/dist/src/models/WorkspaceSubscriptionCreditOperationCosts.js +70 -0
- package/dist/src/models/WorkspaceType.d.ts +27 -0
- package/dist/src/models/WorkspaceType.js +53 -0
- package/dist/src/models/index.d.ts +156 -0
- package/dist/src/models/index.js +174 -0
- package/dist/src/runtime.d.ts +187 -0
- package/dist/src/runtime.js +353 -0
- package/examples/bun.lock +40 -0
- package/examples/package.json +19 -0
- package/examples/src/index.ts +70 -0
- package/examples/src/utils/client.ts +29 -0
- package/examples/src/utils/random.ts +5 -0
- package/examples/src/workspaces.ts +47 -0
- package/examples/tsconfig.json +29 -0
- package/package.json +1 -1
- package/src/index.ts +5 -1
- package/src/models/PlanEntitlements.ts +10 -0
- package/src/models/StorageUsageItem.ts +150 -0
- package/src/models/UsageItem.ts +19 -26
- package/src/models/UsageItems.ts +21 -4
- package/src/models/UsageType.ts +2 -1
- package/src/models/index.ts +1 -0
- package/tsconfig.json +2 -7
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fabric API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfEmailMessageMetadataBlockEmailMessage = instanceOfEmailMessageMetadataBlockEmailMessage;
|
|
17
|
+
exports.EmailMessageMetadataBlockEmailMessageFromJSON = EmailMessageMetadataBlockEmailMessageFromJSON;
|
|
18
|
+
exports.EmailMessageMetadataBlockEmailMessageFromJSONTyped = EmailMessageMetadataBlockEmailMessageFromJSONTyped;
|
|
19
|
+
exports.EmailMessageMetadataBlockEmailMessageToJSON = EmailMessageMetadataBlockEmailMessageToJSON;
|
|
20
|
+
exports.EmailMessageMetadataBlockEmailMessageToJSONTyped = EmailMessageMetadataBlockEmailMessageToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the EmailMessageMetadataBlockEmailMessage interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfEmailMessageMetadataBlockEmailMessage(value) {
|
|
25
|
+
if (!('snippet' in value) || value['snippet'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('subject' in value) || value['subject'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('from' in value) || value['from'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('to' in value) || value['to'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('body' in value) || value['body'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('cc' in value) || value['cc'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('bcc' in value) || value['bcc'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function EmailMessageMetadataBlockEmailMessageFromJSON(json) {
|
|
42
|
+
return EmailMessageMetadataBlockEmailMessageFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function EmailMessageMetadataBlockEmailMessageFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
const result = {};
|
|
49
|
+
if (json['snippet'] !== undefined) {
|
|
50
|
+
if (json['snippet'] === null) {
|
|
51
|
+
result['snippet'] = null;
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
result['snippet'] = json['snippet'];
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
if (json['subject'] !== undefined) {
|
|
58
|
+
if (json['subject'] === null) {
|
|
59
|
+
result['subject'] = null;
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
result['subject'] = json['subject'];
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
if (json['from'] !== undefined) {
|
|
66
|
+
if (json['from'] === null) {
|
|
67
|
+
result['from'] = null;
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
result['from'] = json['from'];
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
if (json['to'] !== undefined) {
|
|
74
|
+
if (json['to'] === null) {
|
|
75
|
+
result['to'] = null;
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
result['to'] = json['to'];
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
if (json['body'] !== undefined) {
|
|
82
|
+
if (json['body'] === null) {
|
|
83
|
+
result['body'] = null;
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
result['body'] = json['body'];
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
if (json['cc'] !== undefined) {
|
|
90
|
+
if (json['cc'] === null) {
|
|
91
|
+
result['cc'] = null;
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
result['cc'] = json['cc'];
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
if (json['bcc'] !== undefined) {
|
|
98
|
+
if (json['bcc'] === null) {
|
|
99
|
+
result['bcc'] = null;
|
|
100
|
+
}
|
|
101
|
+
else {
|
|
102
|
+
result['bcc'] = json['bcc'];
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
return result;
|
|
106
|
+
}
|
|
107
|
+
function EmailMessageMetadataBlockEmailMessageToJSON(json) {
|
|
108
|
+
return EmailMessageMetadataBlockEmailMessageToJSONTyped(json, false);
|
|
109
|
+
}
|
|
110
|
+
function EmailMessageMetadataBlockEmailMessageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
111
|
+
if (value == null) {
|
|
112
|
+
return value;
|
|
113
|
+
}
|
|
114
|
+
return {
|
|
115
|
+
'snippet': value['snippet'],
|
|
116
|
+
'subject': value['subject'],
|
|
117
|
+
'from': value['from'],
|
|
118
|
+
'to': value['to'],
|
|
119
|
+
'body': value['body'],
|
|
120
|
+
'cc': value['cc'],
|
|
121
|
+
'bcc': value['bcc'],
|
|
122
|
+
};
|
|
123
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fabric API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface EmailMessageMetadataBlockEmailPreview
|
|
16
|
+
*/
|
|
17
|
+
export interface EmailMessageMetadataBlockEmailPreview {
|
|
18
|
+
/**
|
|
19
|
+
* HTML content of the email
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EmailMessageMetadataBlockEmailPreview
|
|
22
|
+
*/
|
|
23
|
+
'html': string | null;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the EmailMessageMetadataBlockEmailPreview interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfEmailMessageMetadataBlockEmailPreview(value: object): value is EmailMessageMetadataBlockEmailPreview;
|
|
29
|
+
export declare function EmailMessageMetadataBlockEmailPreviewFromJSON(json: any): EmailMessageMetadataBlockEmailPreview;
|
|
30
|
+
export declare function EmailMessageMetadataBlockEmailPreviewFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmailMessageMetadataBlockEmailPreview;
|
|
31
|
+
export declare function EmailMessageMetadataBlockEmailPreviewToJSON(json: any): EmailMessageMetadataBlockEmailPreview;
|
|
32
|
+
export declare function EmailMessageMetadataBlockEmailPreviewToJSONTyped(value?: EmailMessageMetadataBlockEmailPreview | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fabric API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfEmailMessageMetadataBlockEmailPreview = instanceOfEmailMessageMetadataBlockEmailPreview;
|
|
17
|
+
exports.EmailMessageMetadataBlockEmailPreviewFromJSON = EmailMessageMetadataBlockEmailPreviewFromJSON;
|
|
18
|
+
exports.EmailMessageMetadataBlockEmailPreviewFromJSONTyped = EmailMessageMetadataBlockEmailPreviewFromJSONTyped;
|
|
19
|
+
exports.EmailMessageMetadataBlockEmailPreviewToJSON = EmailMessageMetadataBlockEmailPreviewToJSON;
|
|
20
|
+
exports.EmailMessageMetadataBlockEmailPreviewToJSONTyped = EmailMessageMetadataBlockEmailPreviewToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the EmailMessageMetadataBlockEmailPreview interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfEmailMessageMetadataBlockEmailPreview(value) {
|
|
25
|
+
if (!('html' in value) || value['html'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function EmailMessageMetadataBlockEmailPreviewFromJSON(json) {
|
|
30
|
+
return EmailMessageMetadataBlockEmailPreviewFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function EmailMessageMetadataBlockEmailPreviewFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
const result = {};
|
|
37
|
+
if (json['html'] !== undefined) {
|
|
38
|
+
if (json['html'] === null) {
|
|
39
|
+
result['html'] = null;
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
result['html'] = json['html'];
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
return result;
|
|
46
|
+
}
|
|
47
|
+
function EmailMessageMetadataBlockEmailPreviewToJSON(json) {
|
|
48
|
+
return EmailMessageMetadataBlockEmailPreviewToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function EmailMessageMetadataBlockEmailPreviewToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'html': value['html'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fabric API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { FileCreationMetadata } from './FileCreationMetadata';
|
|
13
|
+
import type { CreateBookmarkRequestTagsInner } from './CreateBookmarkRequestTagsInner';
|
|
14
|
+
import type { CommentCreate } from './CommentCreate';
|
|
15
|
+
import type { CreateBookmarkRequestParentId } from './CreateBookmarkRequestParentId';
|
|
16
|
+
import type { FileCreationAttachment } from './FileCreationAttachment';
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface FileCreation
|
|
21
|
+
*/
|
|
22
|
+
export interface FileCreation {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof FileCreation
|
|
27
|
+
*/
|
|
28
|
+
'name'?: string | null;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {FileCreationAttachment}
|
|
32
|
+
* @memberof FileCreation
|
|
33
|
+
*/
|
|
34
|
+
'attachment': FileCreationAttachment;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {CreateBookmarkRequestParentId}
|
|
38
|
+
* @memberof FileCreation
|
|
39
|
+
*/
|
|
40
|
+
'parentId': CreateBookmarkRequestParentId;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {Array<CreateBookmarkRequestTagsInner>}
|
|
44
|
+
* @memberof FileCreation
|
|
45
|
+
*/
|
|
46
|
+
'tags'?: Array<CreateBookmarkRequestTagsInner>;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {CommentCreate}
|
|
50
|
+
* @memberof FileCreation
|
|
51
|
+
*/
|
|
52
|
+
'comment'?: CommentCreate | null;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof FileCreation
|
|
57
|
+
*/
|
|
58
|
+
'url'?: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof FileCreation
|
|
63
|
+
*/
|
|
64
|
+
'mimeType': string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {FileCreationMetadata}
|
|
68
|
+
* @memberof FileCreation
|
|
69
|
+
*/
|
|
70
|
+
'metadata'?: FileCreationMetadata;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Check if a given object implements the FileCreation interface.
|
|
74
|
+
*/
|
|
75
|
+
export declare function instanceOfFileCreation(value: object): value is FileCreation;
|
|
76
|
+
export declare function FileCreationFromJSON(json: any): FileCreation;
|
|
77
|
+
export declare function FileCreationFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileCreation;
|
|
78
|
+
export declare function FileCreationToJSON(json: any): FileCreation;
|
|
79
|
+
export declare function FileCreationToJSONTyped(value?: FileCreation | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fabric API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfFileCreation = instanceOfFileCreation;
|
|
17
|
+
exports.FileCreationFromJSON = FileCreationFromJSON;
|
|
18
|
+
exports.FileCreationFromJSONTyped = FileCreationFromJSONTyped;
|
|
19
|
+
exports.FileCreationToJSON = FileCreationToJSON;
|
|
20
|
+
exports.FileCreationToJSONTyped = FileCreationToJSONTyped;
|
|
21
|
+
const FileCreationMetadata_1 = require("./FileCreationMetadata");
|
|
22
|
+
const CreateBookmarkRequestTagsInner_1 = require("./CreateBookmarkRequestTagsInner");
|
|
23
|
+
const CommentCreate_1 = require("./CommentCreate");
|
|
24
|
+
const CreateBookmarkRequestParentId_1 = require("./CreateBookmarkRequestParentId");
|
|
25
|
+
const FileCreationAttachment_1 = require("./FileCreationAttachment");
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the FileCreation interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfFileCreation(value) {
|
|
30
|
+
if (!('attachment' in value) || value['attachment'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('parentId' in value) || value['parentId'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('mimeType' in value) || value['mimeType'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function FileCreationFromJSON(json) {
|
|
39
|
+
return FileCreationFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function FileCreationFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
const result = {};
|
|
46
|
+
if (json['name'] !== undefined) {
|
|
47
|
+
if (json['name'] === null) {
|
|
48
|
+
result['name'] = null;
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
result['name'] = json['name'];
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
if (json['attachment'] !== undefined) {
|
|
55
|
+
result['attachment'] = (0, FileCreationAttachment_1.FileCreationAttachmentFromJSON)(json['attachment']);
|
|
56
|
+
}
|
|
57
|
+
if (json['parentId'] !== undefined) {
|
|
58
|
+
result['parentId'] = (0, CreateBookmarkRequestParentId_1.CreateBookmarkRequestParentIdFromJSON)(json['parentId']);
|
|
59
|
+
}
|
|
60
|
+
if (json['tags'] !== undefined) {
|
|
61
|
+
result['tags'] = json['tags'].map(CreateBookmarkRequestTagsInner_1.CreateBookmarkRequestTagsInnerFromJSON);
|
|
62
|
+
}
|
|
63
|
+
if (json['comment'] !== undefined) {
|
|
64
|
+
if (json['comment'] === null) {
|
|
65
|
+
result['comment'] = null;
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
result['comment'] = (0, CommentCreate_1.CommentCreateFromJSON)(json['comment']);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
if (json['url'] !== undefined) {
|
|
72
|
+
result['url'] = json['url'];
|
|
73
|
+
}
|
|
74
|
+
if (json['mimeType'] !== undefined) {
|
|
75
|
+
result['mimeType'] = json['mimeType'];
|
|
76
|
+
}
|
|
77
|
+
if (json['metadata'] !== undefined) {
|
|
78
|
+
result['metadata'] = (0, FileCreationMetadata_1.FileCreationMetadataFromJSON)(json['metadata']);
|
|
79
|
+
}
|
|
80
|
+
return result;
|
|
81
|
+
}
|
|
82
|
+
function FileCreationToJSON(json) {
|
|
83
|
+
return FileCreationToJSONTyped(json, false);
|
|
84
|
+
}
|
|
85
|
+
function FileCreationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
86
|
+
if (value == null) {
|
|
87
|
+
return value;
|
|
88
|
+
}
|
|
89
|
+
return {
|
|
90
|
+
'name': value['name'],
|
|
91
|
+
'attachment': (0, FileCreationAttachment_1.FileCreationAttachmentToJSON)(value['attachment']),
|
|
92
|
+
'parentId': (0, CreateBookmarkRequestParentId_1.CreateBookmarkRequestParentIdToJSON)(value['parentId']),
|
|
93
|
+
'tags': value['tags'] == null ? undefined : (value['tags'].map(CreateBookmarkRequestTagsInner_1.CreateBookmarkRequestTagsInnerToJSON)),
|
|
94
|
+
'comment': (0, CommentCreate_1.CommentCreateToJSON)(value['comment']),
|
|
95
|
+
'url': value['url'],
|
|
96
|
+
'mimeType': value['mimeType'],
|
|
97
|
+
'metadata': (0, FileCreationMetadata_1.FileCreationMetadataToJSON)(value['metadata']),
|
|
98
|
+
};
|
|
99
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fabric API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FileCreationAttachment
|
|
16
|
+
*/
|
|
17
|
+
export interface FileCreationAttachment {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FileCreationAttachment
|
|
22
|
+
*/
|
|
23
|
+
'path': string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof FileCreationAttachment
|
|
28
|
+
*/
|
|
29
|
+
'filename': string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the FileCreationAttachment interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfFileCreationAttachment(value: object): value is FileCreationAttachment;
|
|
35
|
+
export declare function FileCreationAttachmentFromJSON(json: any): FileCreationAttachment;
|
|
36
|
+
export declare function FileCreationAttachmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileCreationAttachment;
|
|
37
|
+
export declare function FileCreationAttachmentToJSON(json: any): FileCreationAttachment;
|
|
38
|
+
export declare function FileCreationAttachmentToJSONTyped(value?: FileCreationAttachment | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fabric API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfFileCreationAttachment = instanceOfFileCreationAttachment;
|
|
17
|
+
exports.FileCreationAttachmentFromJSON = FileCreationAttachmentFromJSON;
|
|
18
|
+
exports.FileCreationAttachmentFromJSONTyped = FileCreationAttachmentFromJSONTyped;
|
|
19
|
+
exports.FileCreationAttachmentToJSON = FileCreationAttachmentToJSON;
|
|
20
|
+
exports.FileCreationAttachmentToJSONTyped = FileCreationAttachmentToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the FileCreationAttachment interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfFileCreationAttachment(value) {
|
|
25
|
+
if (!('path' in value) || value['path'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('filename' in value) || value['filename'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function FileCreationAttachmentFromJSON(json) {
|
|
32
|
+
return FileCreationAttachmentFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function FileCreationAttachmentFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
const result = {};
|
|
39
|
+
if (json['path'] !== undefined) {
|
|
40
|
+
result['path'] = json['path'];
|
|
41
|
+
}
|
|
42
|
+
if (json['filename'] !== undefined) {
|
|
43
|
+
result['filename'] = json['filename'];
|
|
44
|
+
}
|
|
45
|
+
return result;
|
|
46
|
+
}
|
|
47
|
+
function FileCreationAttachmentToJSON(json) {
|
|
48
|
+
return FileCreationAttachmentToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function FileCreationAttachmentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'path': value['path'],
|
|
56
|
+
'filename': value['filename'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fabric API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { FileCreationMetadataTranscript } from './FileCreationMetadataTranscript';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface FileCreationMetadata
|
|
17
|
+
*/
|
|
18
|
+
export interface FileCreationMetadata {
|
|
19
|
+
/**
|
|
20
|
+
* Whether this item is the audio part of a voice note
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof FileCreationMetadata
|
|
23
|
+
*/
|
|
24
|
+
'voiceNote'?: boolean | null;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {FileCreationMetadataTranscript}
|
|
28
|
+
* @memberof FileCreationMetadata
|
|
29
|
+
*/
|
|
30
|
+
'transcript'?: FileCreationMetadataTranscript | null;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the FileCreationMetadata interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfFileCreationMetadata(value: object): value is FileCreationMetadata;
|
|
36
|
+
export declare function FileCreationMetadataFromJSON(json: any): FileCreationMetadata;
|
|
37
|
+
export declare function FileCreationMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileCreationMetadata;
|
|
38
|
+
export declare function FileCreationMetadataToJSON(json: any): FileCreationMetadata;
|
|
39
|
+
export declare function FileCreationMetadataToJSONTyped(value?: FileCreationMetadata | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fabric API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfFileCreationMetadata = instanceOfFileCreationMetadata;
|
|
17
|
+
exports.FileCreationMetadataFromJSON = FileCreationMetadataFromJSON;
|
|
18
|
+
exports.FileCreationMetadataFromJSONTyped = FileCreationMetadataFromJSONTyped;
|
|
19
|
+
exports.FileCreationMetadataToJSON = FileCreationMetadataToJSON;
|
|
20
|
+
exports.FileCreationMetadataToJSONTyped = FileCreationMetadataToJSONTyped;
|
|
21
|
+
const FileCreationMetadataTranscript_1 = require("./FileCreationMetadataTranscript");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the FileCreationMetadata interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfFileCreationMetadata(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function FileCreationMetadataFromJSON(json) {
|
|
29
|
+
return FileCreationMetadataFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function FileCreationMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
const result = {};
|
|
36
|
+
if (json['voiceNote'] !== undefined) {
|
|
37
|
+
if (json['voiceNote'] === null) {
|
|
38
|
+
result['voiceNote'] = null;
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
result['voiceNote'] = json['voiceNote'];
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
if (json['transcript'] !== undefined) {
|
|
45
|
+
if (json['transcript'] === null) {
|
|
46
|
+
result['transcript'] = null;
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
result['transcript'] = (0, FileCreationMetadataTranscript_1.FileCreationMetadataTranscriptFromJSON)(json['transcript']);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return result;
|
|
53
|
+
}
|
|
54
|
+
function FileCreationMetadataToJSON(json) {
|
|
55
|
+
return FileCreationMetadataToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function FileCreationMetadataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'voiceNote': value['voiceNote'],
|
|
63
|
+
'transcript': (0, FileCreationMetadataTranscript_1.FileCreationMetadataTranscriptToJSON)(value['transcript']),
|
|
64
|
+
};
|
|
65
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fabric API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FileCreationMetadataTranscript
|
|
16
|
+
*/
|
|
17
|
+
export interface FileCreationMetadataTranscript {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FileCreationMetadataTranscript
|
|
22
|
+
*/
|
|
23
|
+
'key': string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the FileCreationMetadataTranscript interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfFileCreationMetadataTranscript(value: object): value is FileCreationMetadataTranscript;
|
|
29
|
+
export declare function FileCreationMetadataTranscriptFromJSON(json: any): FileCreationMetadataTranscript;
|
|
30
|
+
export declare function FileCreationMetadataTranscriptFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileCreationMetadataTranscript;
|
|
31
|
+
export declare function FileCreationMetadataTranscriptToJSON(json: any): FileCreationMetadataTranscript;
|
|
32
|
+
export declare function FileCreationMetadataTranscriptToJSONTyped(value?: FileCreationMetadataTranscript | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fabric API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfFileCreationMetadataTranscript = instanceOfFileCreationMetadataTranscript;
|
|
17
|
+
exports.FileCreationMetadataTranscriptFromJSON = FileCreationMetadataTranscriptFromJSON;
|
|
18
|
+
exports.FileCreationMetadataTranscriptFromJSONTyped = FileCreationMetadataTranscriptFromJSONTyped;
|
|
19
|
+
exports.FileCreationMetadataTranscriptToJSON = FileCreationMetadataTranscriptToJSON;
|
|
20
|
+
exports.FileCreationMetadataTranscriptToJSONTyped = FileCreationMetadataTranscriptToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the FileCreationMetadataTranscript interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfFileCreationMetadataTranscript(value) {
|
|
25
|
+
if (!('key' in value) || value['key'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function FileCreationMetadataTranscriptFromJSON(json) {
|
|
30
|
+
return FileCreationMetadataTranscriptFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function FileCreationMetadataTranscriptFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
const result = {};
|
|
37
|
+
if (json['key'] !== undefined) {
|
|
38
|
+
result['key'] = json['key'];
|
|
39
|
+
}
|
|
40
|
+
return result;
|
|
41
|
+
}
|
|
42
|
+
function FileCreationMetadataTranscriptToJSON(json) {
|
|
43
|
+
return FileCreationMetadataTranscriptToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function FileCreationMetadataTranscriptToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'key': value['key'],
|
|
51
|
+
};
|
|
52
|
+
}
|