@epilot/entity-client 6.7.0-alpha.0 → 6.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- (()=>{"use strict";var e={466:e=>{e.exports=JSON.parse('{"openapi":"3.0.2","info":{"title":"","version":""},"paths":{"/v1/entity/schemas":{"get":{"operationId":"listSchemas","parameters":[{"in":"query","name":"unpublished"}],"responses":{}}},"/v1/entity/schemas/{slug}":{"get":{"operationId":"getSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"in":"query","name":"id"}],"responses":{}},"put":{"operationId":"putSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"in":"query","name":"draft"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"}],"responses":{}}},"/v1/entity/schemas/{slug}/json/schema":{"get":{"operationId":"getJsonSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"in":"query","name":"dereference"}],"responses":{}}},"/v1/entity/schemas/{slug}/json/example":{"get":{"operationId":"getSchemaExample","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"}],"responses":{}}},"/v1/entity/schemas/{slug}/versions":{"get":{"operationId":"getSchemaVersions","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"in":"query","name":"versions_from"},{"in":"query","name":"versions_size"},{"in":"query","name":"drafts_from"},{"in":"query","name":"drafts_size"},{"in":"query","name":"fields","required":false,"style":"form","explode":false}],"responses":{}}},"/v1/entity/schemas/{slug}/capabilities/available":{"get":{"operationId":"listAvailableCapabilities","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"}],"responses":{}}},"/v1/entity/schemas/blueprints":{"get":{"operationId":"listSchemaBlueprints","responses":{}}},"/v1/entity:search":{"post":{"operationId":"searchEntities","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity:list":{"post":{"operationId":"listEntities","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}":{"post":{"operationId":"createEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ValidateEntityQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}:validate":{"post":{"operationId":"validateEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathPriceParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/entity/{slug}:validate":{"post":{"operationId":"validateEntityV2","parameters":[{"$ref":"#/components/parameters/EntitySlugPathPriceParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}:upsert":{"patch":{"operationId":"upsertEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/DryRunQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ValidateEntityQueryParam"},{"name":"strict","in":"query","required":false}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/entity/{slug}/{id}":{"get":{"operationId":"getEntityV2","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"in":"query","name":"fields","style":"form","explode":false}],"responses":{}}},"/v1/entity/{slug}/{id}:restore":{"patch":{"operationId":"restoreEntity","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}/{id}:reindex":{"post":{"operationId":"reindexEntity","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}/{id}":{"get":{"operationId":"getEntity","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"}],"responses":{}},"put":{"operationId":"updateEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ValidateEntityQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"patch":{"operationId":"patchEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/DryRunQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ValidateEntityQueryParam"}],"requestBody":{"content":{"application/json":{}},"required":true},"responses":{}},"delete":{"operationId":"deleteEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"in":"query","name":"purge"}],"responses":{}}},"/v1/entity:autocomplete":{"get":{"operationId":"autocomplete","parameters":[{"name":"input","in":"query"},{"name":"attribute","in":"query","required":true},{"name":"slug","in":"query"},{"name":"size","in":"query"}],"responses":{}}},"/v1/entity:wipeAllEntities":{"post":{"operationId":"wipeAllEntities","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/activity":{"post":{"operationId":"createActivity","parameters":[{"in":"query","name":"entities","style":"form","explode":false}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/activity/{id}":{"get":{"operationId":"getActivity","parameters":[{"$ref":"#/components/parameters/ActivityIdPathParam"},{"in":"query","name":"operations_size"},{"in":"query","name":"operations_from"}],"responses":{}}},"/v1/entity/activity/{id}:attach":{"post":{"operationId":"attachActivity","parameters":[{"$ref":"#/components/parameters/ActivityIdPathParam"},{"in":"query","name":"entities","style":"form","explode":false}],"responses":{}}},"/v1/entity/{slug}/{id}/activity":{"get":{"operationId":"getEntityActivityFeed","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"in":"query","name":"after"},{"in":"query","name":"before"},{"in":"query","name":"start_date"},{"in":"query","name":"end_date"},{"in":"query","name":"preset_range"},{"$ref":"#/components/parameters/FromPageQueryParam"},{"in":"query","name":"size"},{"in":"query","name":"type"},{"in":"query","name":"include_relations"},{"in":"query","name":"exclude_activity_groups"}],"responses":{}}},"/v1/entity/{slug}/{id}/relations":{"get":{"operationId":"getRelations","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"$ref":"#/components/parameters/IncludeReverseQueryParam"},{"$ref":"#/components/parameters/FromPageQueryParam"},{"in":"query","name":"size","required":false},{"$ref":"#/components/parameters/IncludeSchemasQueryParam"},{"$ref":"#/components/parameters/ExcludeSchemasQueryParam"}],"responses":{}},"post":{"operationId":"addRelations","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"removeRelations","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/entity/{slug}/{id}/relations":{"get":{"operationId":"getRelationsV2","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"in":"query","name":"query"},{"$ref":"#/components/parameters/IncludeReverseQueryParam"},{"$ref":"#/components/parameters/FromPageQueryParam"},{"in":"query","name":"size"},{"in":"query","name":"fields"}],"responses":{}}},"/v3/entity/{slug}/{id}/relations":{"get":{"operationId":"getRelationsV3","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"$ref":"#/components/parameters/IncludeReverseDeprecatedQueryParam"},{"$ref":"#/components/parameters/FromPageQueryParam"},{"in":"query","name":"size","required":false},{"$ref":"#/components/parameters/IncludeSchemasQueryParam"},{"$ref":"#/components/parameters/ExcludeSchemasQueryParam"},{"$ref":"#/components/parameters/EntityRelationsModeQueryParam"},{"in":"query","name":"fields"}],"responses":{}}},"/v2/entity/{slug}/{id}/relations/count":{"get":{"operationId":"getRelatedEntitiesCount","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ExcludeSchemasQueryParam"}],"responses":{}}},"/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}":{"put":{"operationId":"updateRelation","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"in":"path","name":"attribute","required":true},{"in":"path","name":"entity_id","required":true},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteRelation","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"in":"path","name":"attribute","required":true},{"in":"path","name":"entity_id","required":true},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"responses":{}}},"/v1/entity:export":{"post":{"operationId":"exportEntities","parameters":[{"in":"query","name":"job_id"},{"in":"query","name":"is_template"},{"in":"query","name":"language"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity:import":{"post":{"operationId":"importEntities","parameters":[{"in":"query","name":"job_id"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/views":{"get":{"operationId":"listSavedViews","parameters":[{"in":"query","name":"slug","required":false},{"in":"query","name":"sort","required":false},{"in":"query","name":"from","required":false},{"in":"query","name":"size","required":false},{"in":"query","name":"fields","required":false}],"responses":{}}},"/v1/entity/view":{"post":{"operationId":"createSavedView","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/view/{id}":{"get":{"operationId":"getSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"responses":{}},"put":{"operationId":"updateSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"patch":{"operationId":"patchSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"responses":{}}},"/v1/entity/views/favorites":{"get":{"operationId":"listFavoriteViewsForUser","responses":{}}},"/v1/entity/taxonomies":{"get":{"operationId":"listTaxonomies","parameters":[{"in":"query","name":"include_disabled"},{"in":"query","name":"type"}],"responses":{}},"post":{"operationId":"createTaxonomy","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/taxonomies/{taxonomySlug}":{"get":{"operationId":"getTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"}],"responses":{}},"put":{"operationId":"updateTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"},{"in":"query","name":"permanent"}],"responses":{}}},"/v1/entity/taxonomies/{taxonomySlug}/classifications":{"post":{"operationId":"updateClassificationsForTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/entity/taxonomies/classifications":{"post":{"operationId":"createTaxonomyClassification","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/entity/taxonomies/classifications/{classificationSlug}":{"get":{"operationId":"getTaxonomyClassification","parameters":[{"$ref":"#/components/parameters/TaxonomyClassificationSlugPathParam"}],"responses":{}},"put":{"operationId":"updateTaxonomyClassification","parameters":[{"$ref":"#/components/parameters/TaxonomyClassificationSlugPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteTaxonomyClassification","parameters":[{"$ref":"#/components/parameters/TaxonomyClassificationSlugPathParam"}],"responses":{}}},"/v1/entity/taxonomies/{taxonomySlug}:autocomplete":{"get":{"operationId":"taxonomyAutocomplete","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"},{"in":"query","name":"query"},{"in":"query","name":"size"}],"responses":{}}},"/v1/entity/taxonomies/classifications:search":{"post":{"operationId":"taxonomiesClassificationsSearch","parameters":[{"in":"query","name":"taxonomySlug"},{"in":"query","name":"query"},{"in":"query","name":"archived","deprecated":true},{"in":"query","name":"include_archived"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/{slug}/taxonomy/{taxonomySlug}":{"get":{"operationId":"listTaxonomyClassificationsForSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/TaxonomySlugPathParam"},{"in":"query","name":"query"},{"in":"query","name":"size"}],"responses":{}}},"/v1/entity/taxonomies/bulk-jobs":{"get":{"operationId":"getTaxonomyBulkActionJobs","parameters":[{"in":"query","name":"status"},{"in":"query","name":"size"},{"in":"query","name":"created_after"},{"in":"query","name":"sort_pending_first"},{"in":"query","name":"scope"}],"responses":{}}},"/v1/entity/taxonomies/bulk-jobs/{job_id}":{"get":{"operationId":"getTaxonomyBulkActionJobById","parameters":[{"in":"path","name":"job_id","required":true}],"responses":{}}},"/v1/entity/taxonomies/bulk-jobs/{job_id}/cancel":{"post":{"operationId":"cancelBulkAction","parameters":[{"name":"job_id","in":"path","required":true}],"responses":{}}},"/v1/entity/taxonomies/classifications:move":{"post":{"operationId":"bulkMoveClassifications","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/taxonomies/classifications:merge":{"post":{"operationId":"bulkMergeClassifications","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/taxonomies/classifications:delete":{"post":{"operationId":"bulkDeleteClassifications","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/attributes":{"post":{"operationId":"createSchemaAttribute","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/attributes/{composite_id}":{"get":{"operationId":"getSchemaAttribute","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaAttribute","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaAttribute","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}},"/v1/entity/schemas/capabilities":{"post":{"operationId":"createSchemaCapability","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/capabilities/{composite_id}":{"get":{"operationId":"getSchemaCapability","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaCapability","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaCapability","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}},"/v1/entity/schemas/group":{"post":{"operationId":"createSchemaGroup","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/group/{composite_id}":{"get":{"operationId":"getSchemaGroup","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaGroup","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaGroup","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}},"/v1/entity/schemas/headline":{"post":{"operationId":"createSchemaGroupHeadline","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/headline/{composite_id}":{"get":{"operationId":"getSchemaGroupHeadline","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaGroupHeadline","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaGroupHeadline","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}},"/v1/entity/{id}/collections":{"get":{"operationId":"getFileCollections","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"}],"responses":{}},"post":{"operationId":"createFileCollection","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{id}/collections/{collection_id}":{"get":{"operationId":"getFileCollection","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/CollectionIdPathParam"}],"responses":{}},"put":{"operationId":"updateFileCollection","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/CollectionIdPathParam"}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteFileCollection","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/CollectionIdPathParam"}],"responses":{}}}},"components":{"parameters":{"EntityIdPathParam":{"name":"id","in":"path","required":true},"EntitySlugPathParam":{"name":"slug","in":"path","required":true},"EntitySlugPathPriceParam":{"name":"slug","in":"path","required":true},"TaxonomySlugQueryParam":{"name":"taxonomySlug","in":"query","required":true},"TaxonomySlugPathParam":{"name":"taxonomySlug","in":"path","required":true},"TaxonomySlugQueryParamOptional":{"name":"taxonomySlug","in":"query"},"TaxonomyClassificationSlugPathParam":{"name":"classificationSlug","in":"path","required":true},"SavedViewIdPathParam":{"name":"id","in":"path","required":true},"AsyncOperationQueryParam":{"name":"async","in":"query","required":false},"HydrateEntitiesQueryParam":{"name":"hydrate","in":"query"},"ActivityIdQueryParam":{"name":"activity_id","in":"query","required":false},"ActivityIdPathParam":{"name":"id","in":"path","required":true},"FromPageQueryParam":{"name":"from","in":"query"},"IncludeReverseDeprecatedQueryParam":{"name":"include_reverse","in":"query","deprecated":true},"IncludeReverseQueryParam":{"name":"include_reverse","in":"query"},"IncludeSchemasQueryParam":{"name":"include_schemas","in":"query","required":false,"style":"form","explode":false},"ExcludeSchemasQueryParam":{"name":"exclude_schemas","in":"query","required":false,"style":"form","explode":false},"EntityRelationsModeQueryParam":{"name":"mode","in":"query","required":false},"DryRunQueryParam":{"name":"dry_run","in":"query","required":false},"FillActivityQueryParam":{"name":"fill_activity","in":"query","required":false},"ValidateEntityQueryParam":{"name":"validate","in":"query"},"CollectionIdPathParam":{"name":"collection_id","in":"path","required":true}},"responses":{"NotFoundError":{"content":{"application/json":{}}},"TooManyRequestsError":{"headers":{"Retry-After":{}},"content":{"application/json":{}}}}},"servers":[{"url":"https://entity.sls.epilot.io"}]}')},757:function(e,t,a){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var n=r(a(466));t.default=n.default}},t={},a=function a(r){var n=t[r];if(void 0!==n)return n.exports;var s=t[r]={exports:{}};return e[r].call(s.exports,s,s.exports,a),s.exports}(757),r=exports;for(var n in a)r[n]=a[n];a.__esModule&&Object.defineProperty(r,"__esModule",{value:!0})})();
1
+ (()=>{"use strict";var e={390:function(e,t,a){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var n=r(a(466));t.default=n.default},466:e=>{e.exports=JSON.parse('{"openapi":"3.0.2","info":{"title":"","version":""},"paths":{"/v1/entity/schemas":{"get":{"operationId":"listSchemas","parameters":[{"in":"query","name":"unpublished"}],"responses":{}}},"/v1/entity/schemas/{slug}":{"get":{"operationId":"getSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"in":"query","name":"id"}],"responses":{}},"put":{"operationId":"putSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"in":"query","name":"draft"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"}],"responses":{}}},"/v1/entity/schemas/{slug}/json/schema":{"get":{"operationId":"getJsonSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"in":"query","name":"dereference"}],"responses":{}}},"/v1/entity/schemas/{slug}/json/example":{"get":{"operationId":"getSchemaExample","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"}],"responses":{}}},"/v1/entity/schemas/{slug}/versions":{"get":{"operationId":"getSchemaVersions","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"in":"query","name":"versions_from"},{"in":"query","name":"versions_size"},{"in":"query","name":"drafts_from"},{"in":"query","name":"drafts_size"},{"in":"query","name":"fields","required":false,"style":"form","explode":false}],"responses":{}}},"/v1/entity/schemas/{slug}/capabilities/available":{"get":{"operationId":"listAvailableCapabilities","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"}],"responses":{}}},"/v1/entity/schemas/blueprints":{"get":{"operationId":"listSchemaBlueprints","responses":{}}},"/v1/entity:search":{"post":{"operationId":"searchEntities","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity:list":{"post":{"operationId":"listEntities","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}":{"post":{"operationId":"createEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ValidateEntityQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}:validate":{"post":{"operationId":"validateEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathPriceParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/entity/{slug}:validate":{"post":{"operationId":"validateEntityV2","parameters":[{"$ref":"#/components/parameters/EntitySlugPathPriceParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}:upsert":{"patch":{"operationId":"upsertEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/DryRunQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ValidateEntityQueryParam"},{"name":"strict","in":"query","required":false}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/entity/{slug}/{id}":{"get":{"operationId":"getEntityV2","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"in":"query","name":"fields","style":"form","explode":false}],"responses":{}}},"/v1/entity/{slug}/{id}:restore":{"patch":{"operationId":"restoreEntity","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}/{id}:reindex":{"post":{"operationId":"reindexEntity","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}/{id}":{"get":{"operationId":"getEntity","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"}],"responses":{}},"put":{"operationId":"updateEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ValidateEntityQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"patch":{"operationId":"patchEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/DryRunQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ValidateEntityQueryParam"}],"requestBody":{"content":{"application/json":{}},"required":true},"responses":{}},"delete":{"operationId":"deleteEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"in":"query","name":"purge"}],"responses":{}}},"/v1/entity:autocomplete":{"get":{"operationId":"autocomplete","parameters":[{"name":"input","in":"query"},{"name":"attribute","in":"query","required":true},{"name":"slug","in":"query"},{"name":"size","in":"query"}],"responses":{}}},"/v1/entity:wipeAllEntities":{"post":{"operationId":"wipeAllEntities","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/activity":{"post":{"operationId":"createActivity","parameters":[{"in":"query","name":"entities","style":"form","explode":false}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/activity/{id}":{"get":{"operationId":"getActivity","parameters":[{"$ref":"#/components/parameters/ActivityIdPathParam"},{"in":"query","name":"operations_size"},{"in":"query","name":"operations_from"}],"responses":{}}},"/v1/entity/activity/{id}:attach":{"post":{"operationId":"attachActivity","parameters":[{"$ref":"#/components/parameters/ActivityIdPathParam"},{"in":"query","name":"entities","style":"form","explode":false}],"responses":{}}},"/v1/entity/{slug}/{id}/activity":{"get":{"operationId":"getEntityActivityFeed","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"in":"query","name":"after"},{"in":"query","name":"before"},{"in":"query","name":"start_date"},{"in":"query","name":"end_date"},{"in":"query","name":"preset_range"},{"$ref":"#/components/parameters/FromPageQueryParam"},{"in":"query","name":"size"},{"in":"query","name":"type"},{"in":"query","name":"include_relations"},{"in":"query","name":"exclude_activity_groups"}],"responses":{}}},"/v1/entity/{slug}/{id}/relations":{"get":{"operationId":"getRelations","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"$ref":"#/components/parameters/IncludeReverseQueryParam"},{"$ref":"#/components/parameters/FromPageQueryParam"},{"in":"query","name":"size","required":false},{"$ref":"#/components/parameters/IncludeSchemasQueryParam"},{"$ref":"#/components/parameters/ExcludeSchemasQueryParam"}],"responses":{}},"post":{"operationId":"addRelations","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"removeRelations","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/entity/{slug}/{id}/relations":{"get":{"operationId":"getRelationsV2","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"in":"query","name":"query"},{"$ref":"#/components/parameters/IncludeReverseQueryParam"},{"$ref":"#/components/parameters/FromPageQueryParam"},{"in":"query","name":"size"},{"in":"query","name":"fields"}],"responses":{}}},"/v3/entity/{slug}/{id}/relations":{"get":{"operationId":"getRelationsV3","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"$ref":"#/components/parameters/IncludeReverseDeprecatedQueryParam"},{"$ref":"#/components/parameters/FromPageQueryParam"},{"in":"query","name":"size","required":false},{"$ref":"#/components/parameters/IncludeSchemasQueryParam"},{"$ref":"#/components/parameters/ExcludeSchemasQueryParam"},{"$ref":"#/components/parameters/EntityRelationsModeQueryParam"},{"in":"query","name":"fields"}],"responses":{}}},"/v2/entity/{slug}/{id}/relations/count":{"get":{"operationId":"getRelatedEntitiesCount","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ExcludeSchemasQueryParam"}],"responses":{}}},"/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}":{"put":{"operationId":"updateRelation","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"in":"path","name":"attribute","required":true},{"in":"path","name":"entity_id","required":true},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteRelation","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"in":"path","name":"attribute","required":true},{"in":"path","name":"entity_id","required":true},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"responses":{}}},"/v1/entity:export":{"post":{"operationId":"exportEntities","parameters":[{"in":"query","name":"job_id"},{"in":"query","name":"is_template"},{"in":"query","name":"language"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity:import":{"post":{"operationId":"importEntities","parameters":[{"in":"query","name":"job_id"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/views":{"get":{"operationId":"listSavedViews","parameters":[{"in":"query","name":"slug","required":false},{"in":"query","name":"sort","required":false},{"in":"query","name":"from","required":false},{"in":"query","name":"size","required":false},{"in":"query","name":"fields","required":false}],"responses":{}}},"/v1/entity/view":{"post":{"operationId":"createSavedView","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/view/{id}":{"get":{"operationId":"getSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"responses":{}},"put":{"operationId":"updateSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"patch":{"operationId":"patchSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"responses":{}}},"/v1/entity/views/favorites":{"get":{"operationId":"listFavoriteViewsForUser","responses":{}}},"/v1/entity/taxonomies":{"get":{"operationId":"listTaxonomies","parameters":[{"in":"query","name":"include_disabled"},{"in":"query","name":"type"}],"responses":{}},"post":{"operationId":"createTaxonomy","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/taxonomies/{taxonomySlug}":{"get":{"operationId":"getTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"}],"responses":{}},"put":{"operationId":"updateTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"},{"in":"query","name":"permanent"}],"responses":{}}},"/v1/entity/taxonomies/{taxonomySlug}/classifications":{"post":{"operationId":"updateClassificationsForTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/entity/taxonomies/classifications":{"post":{"operationId":"createTaxonomyClassification","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/entity/taxonomies/classifications/{classificationSlug}":{"get":{"operationId":"getTaxonomyClassification","parameters":[{"$ref":"#/components/parameters/TaxonomyClassificationSlugPathParam"}],"responses":{}},"put":{"operationId":"updateTaxonomyClassification","parameters":[{"$ref":"#/components/parameters/TaxonomyClassificationSlugPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteTaxonomyClassification","parameters":[{"$ref":"#/components/parameters/TaxonomyClassificationSlugPathParam"}],"responses":{}}},"/v1/entity/taxonomies/{taxonomySlug}:autocomplete":{"get":{"operationId":"taxonomyAutocomplete","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"},{"in":"query","name":"query"},{"in":"query","name":"size"}],"responses":{}}},"/v1/entity/taxonomies/classifications:search":{"post":{"operationId":"taxonomiesClassificationsSearch","parameters":[{"in":"query","name":"taxonomySlug"},{"in":"query","name":"query"},{"in":"query","name":"archived","deprecated":true},{"in":"query","name":"include_archived"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/{slug}/taxonomy/{taxonomySlug}":{"get":{"operationId":"listTaxonomyClassificationsForSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/TaxonomySlugPathParam"},{"in":"query","name":"query"},{"in":"query","name":"size"}],"responses":{}}},"/v1/entity/taxonomies/bulk-jobs":{"get":{"operationId":"getTaxonomyBulkActionJobs","parameters":[{"in":"query","name":"status"},{"in":"query","name":"size"},{"in":"query","name":"created_after"},{"in":"query","name":"sort_pending_first"},{"in":"query","name":"scope"}],"responses":{}}},"/v1/entity/taxonomies/bulk-jobs/{job_id}":{"get":{"operationId":"getTaxonomyBulkActionJobById","parameters":[{"in":"path","name":"job_id","required":true}],"responses":{}}},"/v1/entity/taxonomies/bulk-jobs/{job_id}/cancel":{"post":{"operationId":"cancelBulkAction","parameters":[{"name":"job_id","in":"path","required":true}],"responses":{}}},"/v1/entity/taxonomies/classifications:move":{"post":{"operationId":"bulkMoveClassifications","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/taxonomies/classifications:merge":{"post":{"operationId":"bulkMergeClassifications","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/taxonomies/classifications:delete":{"post":{"operationId":"bulkDeleteClassifications","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/attributes":{"post":{"operationId":"createSchemaAttribute","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/attributes/{composite_id}":{"get":{"operationId":"getSchemaAttribute","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaAttribute","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaAttribute","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}},"/v1/entity/schemas/capabilities":{"post":{"operationId":"createSchemaCapability","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/capabilities/{composite_id}":{"get":{"operationId":"getSchemaCapability","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaCapability","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaCapability","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}},"/v1/entity/schemas/group":{"post":{"operationId":"createSchemaGroup","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/group/{composite_id}":{"get":{"operationId":"getSchemaGroup","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaGroup","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaGroup","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}},"/v1/entity/schemas/headline":{"post":{"operationId":"createSchemaGroupHeadline","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/headline/{composite_id}":{"get":{"operationId":"getSchemaGroupHeadline","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaGroupHeadline","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaGroupHeadline","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}}},"components":{"parameters":{"EntityIdPathParam":{"name":"id","in":"path","required":true},"EntitySlugPathParam":{"name":"slug","in":"path","required":true},"EntitySlugPathPriceParam":{"name":"slug","in":"path","required":true},"TaxonomySlugQueryParam":{"name":"taxonomySlug","in":"query","required":true},"TaxonomySlugPathParam":{"name":"taxonomySlug","in":"path","required":true},"TaxonomySlugQueryParamOptional":{"name":"taxonomySlug","in":"query"},"TaxonomyClassificationSlugPathParam":{"name":"classificationSlug","in":"path","required":true},"SavedViewIdPathParam":{"name":"id","in":"path","required":true},"AsyncOperationQueryParam":{"name":"async","in":"query","required":false},"HydrateEntitiesQueryParam":{"name":"hydrate","in":"query"},"ActivityIdQueryParam":{"name":"activity_id","in":"query","required":false},"ActivityIdPathParam":{"name":"id","in":"path","required":true},"FromPageQueryParam":{"name":"from","in":"query"},"IncludeReverseDeprecatedQueryParam":{"name":"include_reverse","in":"query","deprecated":true},"IncludeReverseQueryParam":{"name":"include_reverse","in":"query"},"IncludeSchemasQueryParam":{"name":"include_schemas","in":"query","required":false,"style":"form","explode":false},"ExcludeSchemasQueryParam":{"name":"exclude_schemas","in":"query","required":false,"style":"form","explode":false},"EntityRelationsModeQueryParam":{"name":"mode","in":"query","required":false},"DryRunQueryParam":{"name":"dry_run","in":"query","required":false},"FillActivityQueryParam":{"name":"fill_activity","in":"query","required":false},"ValidateEntityQueryParam":{"name":"validate","in":"query"}},"responses":{"NotFoundError":{"content":{"application/json":{}}},"TooManyRequestsError":{"headers":{"Retry-After":{}},"content":{"application/json":{}}}}},"servers":[{"url":"https://entity.sls.epilot.io"}]}')}},t={},a=function a(r){var n=t[r];if(void 0!==n)return n.exports;var s=t[r]={exports:{}};return e[r].call(s.exports,s,s.exports,a),s.exports}(390),r=exports;for(var n in a)r[n]=a[n];a.__esModule&&Object.defineProperty(r,"__esModule",{value:!0})})();
@@ -1421,76 +1421,6 @@
1421
1421
  ],
1422
1422
  "responses": {}
1423
1423
  }
1424
- },
1425
- "/v1/entity/{id}/collections": {
1426
- "get": {
1427
- "operationId": "getFileCollections",
1428
- "parameters": [
1429
- {
1430
- "$ref": "#/components/parameters/EntityIdPathParam"
1431
- }
1432
- ],
1433
- "responses": {}
1434
- },
1435
- "post": {
1436
- "operationId": "createFileCollection",
1437
- "parameters": [
1438
- {
1439
- "$ref": "#/components/parameters/EntityIdPathParam"
1440
- }
1441
- ],
1442
- "requestBody": {
1443
- "required": true,
1444
- "content": {
1445
- "application/json": {}
1446
- }
1447
- },
1448
- "responses": {}
1449
- }
1450
- },
1451
- "/v1/entity/{id}/collections/{collection_id}": {
1452
- "get": {
1453
- "operationId": "getFileCollection",
1454
- "parameters": [
1455
- {
1456
- "$ref": "#/components/parameters/EntityIdPathParam"
1457
- },
1458
- {
1459
- "$ref": "#/components/parameters/CollectionIdPathParam"
1460
- }
1461
- ],
1462
- "responses": {}
1463
- },
1464
- "put": {
1465
- "operationId": "updateFileCollection",
1466
- "parameters": [
1467
- {
1468
- "$ref": "#/components/parameters/EntityIdPathParam"
1469
- },
1470
- {
1471
- "$ref": "#/components/parameters/CollectionIdPathParam"
1472
- }
1473
- ],
1474
- "requestBody": {
1475
- "required": true,
1476
- "content": {
1477
- "application/json": {}
1478
- }
1479
- },
1480
- "responses": {}
1481
- },
1482
- "delete": {
1483
- "operationId": "deleteFileCollection",
1484
- "parameters": [
1485
- {
1486
- "$ref": "#/components/parameters/EntityIdPathParam"
1487
- },
1488
- {
1489
- "$ref": "#/components/parameters/CollectionIdPathParam"
1490
- }
1491
- ],
1492
- "responses": {}
1493
- }
1494
1424
  }
1495
1425
  },
1496
1426
  "components": {
@@ -1598,11 +1528,6 @@
1598
1528
  "ValidateEntityQueryParam": {
1599
1529
  "name": "validate",
1600
1530
  "in": "query"
1601
- },
1602
- "CollectionIdPathParam": {
1603
- "name": "collection_id",
1604
- "in": "path",
1605
- "required": true
1606
1531
  }
1607
1532
  },
1608
1533
  "responses": {
package/dist/openapi.d.ts CHANGED
@@ -23,7 +23,6 @@ declare namespace Components {
23
23
  */
24
24
  Schemas.ActivityId /* ulid ^01[0-9a-zA-Z]{24}$ */ | ("" | null);
25
25
  export type AsyncOperationQueryParam = boolean;
26
- export type CollectionIdPathParam = string; // uuid
27
26
  export type DryRunQueryParam = boolean;
28
27
  export type EntityIdPathParam = Schemas.EntityId /* uuid */;
29
28
  export type EntityRelationsModeQueryParam = "direct" | "reverse" | "both";
@@ -76,7 +75,6 @@ declare namespace Components {
76
75
  TaxonomyClassificationSlugPathParam?: Parameters.TaxonomyClassificationSlugPathParam;
77
76
  SavedViewIdPathParam?: Parameters.SavedViewIdPathParam;
78
77
  ActivityIdPathParam?: Parameters.ActivityIdPathParam;
79
- CollectionIdPathParam?: Parameters.CollectionIdPathParam /* uuid */;
80
78
  }
81
79
  export interface QueryParameters {
82
80
  TaxonomySlugQueryParam?: Parameters.TaxonomySlugQueryParam;
@@ -2658,6 +2656,12 @@ declare namespace Components {
2658
2656
  _manifest?: string /* uuid */[] | null;
2659
2657
  }
2660
2658
  export interface EntityListParams {
2659
+ /**
2660
+ * Lucene [queries supported with ElasticSearch](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#query-string-syntax)
2661
+ * example:
2662
+ * status:active
2663
+ */
2664
+ q?: string;
2661
2665
  filter: /**
2662
2666
  * A subset of simplified Elasticsearch query clauses. The default operator is a logical AND. Use nested $and, $or, $not to combine filters using different logical operators.
2663
2667
  * example:
@@ -2741,6 +2745,10 @@ declare namespace Components {
2741
2745
  *
2742
2746
  */
2743
2747
  EntitySearchIncludeDeletedParam;
2748
+ /**
2749
+ * Adds a `_score` number field to results that can be used to rank by match score
2750
+ */
2751
+ include_scores?: boolean;
2744
2752
  highlight?: any;
2745
2753
  /**
2746
2754
  * A TTL (in seconds) that specifies how long the context should be maintained.
@@ -3698,6 +3706,10 @@ declare namespace Components {
3698
3706
  *
3699
3707
  */
3700
3708
  EntitySearchIncludeDeletedParam;
3709
+ /**
3710
+ * Adds a `_score` number field to results that can be used to rank by match score
3711
+ */
3712
+ include_scores?: boolean;
3701
3713
  /**
3702
3714
  * A TTL (in seconds) that specifies how long the context should be maintained.
3703
3715
  * Defaults to 30 seconds; configurable up to 60 seconds to prevent abuse.
@@ -4281,95 +4293,6 @@ declare namespace Components {
4281
4293
  enable_description?: boolean;
4282
4294
  default_access_control?: "public-read" | "private";
4283
4295
  }
4284
- export interface FileCollectionAttributes {
4285
- /**
4286
- * Name of the file collection
4287
- */
4288
- name?: string;
4289
- /**
4290
- * Whether the collection is starred
4291
- */
4292
- starred?: boolean;
4293
- /**
4294
- * Array of file IDs in this collection
4295
- */
4296
- files?: string /* uuid */[];
4297
- }
4298
- /**
4299
- * Request body for creating a file collection
4300
- */
4301
- export interface FileCollectionCreateRequest {
4302
- /**
4303
- * Name of the file collection
4304
- */
4305
- name: string;
4306
- /**
4307
- * Whether the collection is starred
4308
- */
4309
- starred: boolean;
4310
- /**
4311
- * Array of file IDs in this collection
4312
- */
4313
- files: string /* uuid */[];
4314
- }
4315
- /**
4316
- * Generated uuid for a file collection
4317
- */
4318
- export type FileCollectionId = string; // uuid
4319
- /**
4320
- * A file collection with identifiers and timestamps
4321
- */
4322
- export interface FileCollectionItem {
4323
- id: /* Generated uuid for a file collection */ FileCollectionId /* uuid */;
4324
- /**
4325
- * Organization ID
4326
- * example:
4327
- * 123
4328
- */
4329
- orgId: string;
4330
- entityId: EntityId /* uuid */;
4331
- /**
4332
- * Logical type for this item (e.g. "collection")
4333
- * example:
4334
- * collection
4335
- */
4336
- type: string;
4337
- /**
4338
- * example:
4339
- * MyCollectionOfImportantFiles
4340
- */
4341
- name: string;
4342
- entity_id: EntityId /* uuid */;
4343
- /**
4344
- * example:
4345
- * false
4346
- */
4347
- starred: boolean;
4348
- /**
4349
- * Array of file IDs in this collection
4350
- * example:
4351
- * [
4352
- * "123e4567-e89b-12d3-a456-426614174000"
4353
- * ]
4354
- */
4355
- files: string /* uuid */[];
4356
- /**
4357
- * User ID who created the collection
4358
- * example:
4359
- * 17622
4360
- */
4361
- created_by: string;
4362
- /**
4363
- * example:
4364
- * 2025-08-20T12:01:00Z
4365
- */
4366
- created_at: string; // date-time
4367
- /**
4368
- * example:
4369
- * 2025-08-20T12:01:00Z
4370
- */
4371
- updated_at: string; // date-time
4372
- }
4373
4296
  export interface GenerateEntityTableAIFiltersRequest {
4374
4297
  /**
4375
4298
  * The prompt to generate the filters
@@ -9331,27 +9254,6 @@ declare namespace Paths {
9331
9254
  Components.Responses.TooManyRequestsError;
9332
9255
  }
9333
9256
  }
9334
- namespace CreateFileCollection {
9335
- namespace Parameters {
9336
- export type Id = Components.Schemas.EntityId /* uuid */;
9337
- }
9338
- export interface PathParameters {
9339
- id: Parameters.Id;
9340
- }
9341
- export type RequestBody = /* Request body for creating a file collection */ Components.Schemas.FileCollectionCreateRequest;
9342
- namespace Responses {
9343
- export type $201 = /* A file collection with identifiers and timestamps */ Components.Schemas.FileCollectionItem;
9344
- export type $404 = /**
9345
- * A generic error returned by the API
9346
- * example:
9347
- * {
9348
- * "status": 404,
9349
- * "error": "Not Found"
9350
- * }
9351
- */
9352
- Components.Responses.NotFoundError;
9353
- }
9354
- }
9355
9257
  namespace CreateSavedView {
9356
9258
  export type RequestBody = /* A saved entity view */ Components.Schemas.SavedView;
9357
9259
  namespace Responses {
@@ -9498,29 +9400,6 @@ declare namespace Paths {
9498
9400
  Components.Responses.TooManyRequestsError;
9499
9401
  }
9500
9402
  }
9501
- namespace DeleteFileCollection {
9502
- namespace Parameters {
9503
- export type CollectionId = string; // uuid
9504
- export type Id = Components.Schemas.EntityId /* uuid */;
9505
- }
9506
- export interface PathParameters {
9507
- id: Parameters.Id;
9508
- collection_id: Parameters.CollectionId /* uuid */;
9509
- }
9510
- namespace Responses {
9511
- export interface $200 {
9512
- }
9513
- export type $404 = /**
9514
- * A generic error returned by the API
9515
- * example:
9516
- * {
9517
- * "status": 404,
9518
- * "error": "Not Found"
9519
- * }
9520
- */
9521
- Components.Responses.NotFoundError;
9522
- }
9523
- }
9524
9403
  namespace DeleteRelation {
9525
9404
  namespace Parameters {
9526
9405
  export type ActivityId = /**
@@ -10143,50 +10022,6 @@ declare namespace Paths {
10143
10022
  Components.Responses.NotFoundError;
10144
10023
  }
10145
10024
  }
10146
- namespace GetFileCollection {
10147
- namespace Parameters {
10148
- export type CollectionId = string; // uuid
10149
- export type Id = Components.Schemas.EntityId /* uuid */;
10150
- }
10151
- export interface PathParameters {
10152
- id: Parameters.Id;
10153
- collection_id: Parameters.CollectionId /* uuid */;
10154
- }
10155
- namespace Responses {
10156
- export type $200 = /* A file collection with identifiers and timestamps */ Components.Schemas.FileCollectionItem;
10157
- export type $404 = /**
10158
- * A generic error returned by the API
10159
- * example:
10160
- * {
10161
- * "status": 404,
10162
- * "error": "Not Found"
10163
- * }
10164
- */
10165
- Components.Responses.NotFoundError;
10166
- }
10167
- }
10168
- namespace GetFileCollections {
10169
- namespace Parameters {
10170
- export type Id = Components.Schemas.EntityId /* uuid */;
10171
- }
10172
- export interface PathParameters {
10173
- id: Parameters.Id;
10174
- }
10175
- namespace Responses {
10176
- export interface $200 {
10177
- results?: /* A file collection with identifiers and timestamps */ Components.Schemas.FileCollectionItem[];
10178
- }
10179
- export type $404 = /**
10180
- * A generic error returned by the API
10181
- * example:
10182
- * {
10183
- * "status": 404,
10184
- * "error": "Not Found"
10185
- * }
10186
- */
10187
- Components.Responses.NotFoundError;
10188
- }
10189
- }
10190
10025
  namespace GetJsonSchema {
10191
10026
  namespace Parameters {
10192
10027
  export type Dereference = boolean;
@@ -11966,29 +11801,6 @@ declare namespace Paths {
11966
11801
  export type $422 = /* Validation result for a failed validation */ Components.Schemas.EntityValidationV2ResultError;
11967
11802
  }
11968
11803
  }
11969
- namespace UpdateFileCollection {
11970
- namespace Parameters {
11971
- export type CollectionId = string; // uuid
11972
- export type Id = Components.Schemas.EntityId /* uuid */;
11973
- }
11974
- export interface PathParameters {
11975
- id: Parameters.Id;
11976
- collection_id: Parameters.CollectionId /* uuid */;
11977
- }
11978
- export type RequestBody = Components.Schemas.FileCollectionAttributes;
11979
- namespace Responses {
11980
- export type $200 = /* A file collection with identifiers and timestamps */ Components.Schemas.FileCollectionItem;
11981
- export type $404 = /**
11982
- * A generic error returned by the API
11983
- * example:
11984
- * {
11985
- * "status": 404,
11986
- * "error": "Not Found"
11987
- * }
11988
- */
11989
- Components.Responses.NotFoundError;
11990
- }
11991
- }
11992
11804
  namespace UpdateRelation {
11993
11805
  namespace Parameters {
11994
11806
  export type ActivityId = /**
@@ -13493,56 +13305,6 @@ export interface OperationMethods {
13493
13305
  data?: any,
13494
13306
  config?: AxiosRequestConfig
13495
13307
  ): OperationResponse<Paths.DeleteSchemaGroupHeadline.Responses.$200>
13496
- /**
13497
- * getFileCollections - getFileCollections
13498
- *
13499
- * Gets a list of collections that exist for an entity
13500
- */
13501
- 'getFileCollections'(
13502
- parameters?: Parameters<Paths.GetFileCollections.PathParameters> | null,
13503
- data?: any,
13504
- config?: AxiosRequestConfig
13505
- ): OperationResponse<Paths.GetFileCollections.Responses.$200>
13506
- /**
13507
- * createFileCollection - createFileCollection
13508
- *
13509
- * Creates a new file collection for the specified entity
13510
- */
13511
- 'createFileCollection'(
13512
- parameters?: Parameters<Paths.CreateFileCollection.PathParameters> | null,
13513
- data?: Paths.CreateFileCollection.RequestBody,
13514
- config?: AxiosRequestConfig
13515
- ): OperationResponse<Paths.CreateFileCollection.Responses.$201>
13516
- /**
13517
- * getFileCollection - getFileCollection
13518
- *
13519
- * Gets a specific file collection by ID
13520
- */
13521
- 'getFileCollection'(
13522
- parameters?: Parameters<Paths.GetFileCollection.PathParameters> | null,
13523
- data?: any,
13524
- config?: AxiosRequestConfig
13525
- ): OperationResponse<Paths.GetFileCollection.Responses.$200>
13526
- /**
13527
- * updateFileCollection - updateFileCollection
13528
- *
13529
- * Updates a specific file collection by ID
13530
- */
13531
- 'updateFileCollection'(
13532
- parameters?: Parameters<Paths.UpdateFileCollection.PathParameters> | null,
13533
- data?: Paths.UpdateFileCollection.RequestBody,
13534
- config?: AxiosRequestConfig
13535
- ): OperationResponse<Paths.UpdateFileCollection.Responses.$200>
13536
- /**
13537
- * deleteFileCollection - deleteFileCollection
13538
- *
13539
- * Deletes a specific file collection by ID
13540
- */
13541
- 'deleteFileCollection'(
13542
- parameters?: Parameters<Paths.DeleteFileCollection.PathParameters> | null,
13543
- data?: any,
13544
- config?: AxiosRequestConfig
13545
- ): OperationResponse<Paths.DeleteFileCollection.Responses.$200>
13546
13308
  }
13547
13309
 
13548
13310
  export interface PathsDictionary {
@@ -14740,60 +14502,6 @@ export interface PathsDictionary {
14740
14502
  config?: AxiosRequestConfig
14741
14503
  ): OperationResponse<Paths.DeleteSchemaGroupHeadline.Responses.$200>
14742
14504
  }
14743
- ['/v1/entity/{id}/collections']: {
14744
- /**
14745
- * getFileCollections - getFileCollections
14746
- *
14747
- * Gets a list of collections that exist for an entity
14748
- */
14749
- 'get'(
14750
- parameters?: Parameters<Paths.GetFileCollections.PathParameters> | null,
14751
- data?: any,
14752
- config?: AxiosRequestConfig
14753
- ): OperationResponse<Paths.GetFileCollections.Responses.$200>
14754
- /**
14755
- * createFileCollection - createFileCollection
14756
- *
14757
- * Creates a new file collection for the specified entity
14758
- */
14759
- 'post'(
14760
- parameters?: Parameters<Paths.CreateFileCollection.PathParameters> | null,
14761
- data?: Paths.CreateFileCollection.RequestBody,
14762
- config?: AxiosRequestConfig
14763
- ): OperationResponse<Paths.CreateFileCollection.Responses.$201>
14764
- }
14765
- ['/v1/entity/{id}/collections/{collection_id}']: {
14766
- /**
14767
- * getFileCollection - getFileCollection
14768
- *
14769
- * Gets a specific file collection by ID
14770
- */
14771
- 'get'(
14772
- parameters?: Parameters<Paths.GetFileCollection.PathParameters> | null,
14773
- data?: any,
14774
- config?: AxiosRequestConfig
14775
- ): OperationResponse<Paths.GetFileCollection.Responses.$200>
14776
- /**
14777
- * updateFileCollection - updateFileCollection
14778
- *
14779
- * Updates a specific file collection by ID
14780
- */
14781
- 'put'(
14782
- parameters?: Parameters<Paths.UpdateFileCollection.PathParameters> | null,
14783
- data?: Paths.UpdateFileCollection.RequestBody,
14784
- config?: AxiosRequestConfig
14785
- ): OperationResponse<Paths.UpdateFileCollection.Responses.$200>
14786
- /**
14787
- * deleteFileCollection - deleteFileCollection
14788
- *
14789
- * Deletes a specific file collection by ID
14790
- */
14791
- 'delete'(
14792
- parameters?: Parameters<Paths.DeleteFileCollection.PathParameters> | null,
14793
- data?: any,
14794
- config?: AxiosRequestConfig
14795
- ): OperationResponse<Paths.DeleteFileCollection.Responses.$200>
14796
- }
14797
14505
  }
14798
14506
 
14799
14507
  export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
@@ -14862,10 +14570,6 @@ export type ErrorObject = Components.Schemas.ErrorObject;
14862
14570
  export type ExportJobId = Components.Schemas.ExportJobId;
14863
14571
  export type FieldsParam = Components.Schemas.FieldsParam;
14864
14572
  export type FileAttribute = Components.Schemas.FileAttribute;
14865
- export type FileCollectionAttributes = Components.Schemas.FileCollectionAttributes;
14866
- export type FileCollectionCreateRequest = Components.Schemas.FileCollectionCreateRequest;
14867
- export type FileCollectionId = Components.Schemas.FileCollectionId;
14868
- export type FileCollectionItem = Components.Schemas.FileCollectionItem;
14869
14573
  export type GenerateEntityTableAIFiltersRequest = Components.Schemas.GenerateEntityTableAIFiltersRequest;
14870
14574
  export type GenerateEntityTableAIFiltersResponse = Components.Schemas.GenerateEntityTableAIFiltersResponse;
14871
14575
  export type GetRelatedEntitiesCount = Components.Schemas.GetRelatedEntitiesCount;
package/dist/openapi.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.0.2",
3
3
  "info": {
4
4
  "title": "Entity API",
5
- "version": "1.1.0",
5
+ "version": "1.0.0",
6
6
  "description": "Flexible data layer for epilot Entities.\n\nUse this API configure and access your business objects like Contacts, Opportunities and Products.\n\n[Feature Documentation](https://docs.epilot.io/docs/entities/flexible-entities)\n"
7
7
  },
8
8
  "tags": [
@@ -4311,180 +4311,6 @@
4311
4311
  }
4312
4312
  }
4313
4313
  }
4314
- },
4315
- "/v1/entity/{id}/collections": {
4316
- "get": {
4317
- "operationId": "getFileCollections",
4318
- "summary": "getFileCollections",
4319
- "description": "Gets a list of collections that exist for an entity",
4320
- "tags": [
4321
- "Collections"
4322
- ],
4323
- "parameters": [
4324
- {
4325
- "$ref": "#/components/parameters/EntityIdPathParam"
4326
- }
4327
- ],
4328
- "responses": {
4329
- "200": {
4330
- "description": "List of collections the entity is part of",
4331
- "content": {
4332
- "application/json": {
4333
- "schema": {
4334
- "type": "object",
4335
- "properties": {
4336
- "results": {
4337
- "type": "array",
4338
- "items": {
4339
- "$ref": "#/components/schemas/FileCollectionItem"
4340
- }
4341
- }
4342
- }
4343
- }
4344
- }
4345
- }
4346
- },
4347
- "404": {
4348
- "$ref": "#/components/responses/NotFoundError"
4349
- }
4350
- }
4351
- },
4352
- "post": {
4353
- "operationId": "createFileCollection",
4354
- "summary": "createFileCollection",
4355
- "description": "Creates a new file collection for the specified entity",
4356
- "tags": [
4357
- "Collections"
4358
- ],
4359
- "parameters": [
4360
- {
4361
- "$ref": "#/components/parameters/EntityIdPathParam"
4362
- }
4363
- ],
4364
- "requestBody": {
4365
- "required": true,
4366
- "content": {
4367
- "application/json": {
4368
- "schema": {
4369
- "$ref": "#/components/schemas/FileCollectionCreateRequest"
4370
- }
4371
- }
4372
- }
4373
- },
4374
- "responses": {
4375
- "201": {
4376
- "description": "File collection created successfully",
4377
- "content": {
4378
- "application/json": {
4379
- "schema": {
4380
- "$ref": "#/components/schemas/FileCollectionItem"
4381
- }
4382
- }
4383
- }
4384
- },
4385
- "404": {
4386
- "$ref": "#/components/responses/NotFoundError"
4387
- }
4388
- }
4389
- }
4390
- },
4391
- "/v1/entity/{id}/collections/{collection_id}": {
4392
- "get": {
4393
- "operationId": "getFileCollection",
4394
- "summary": "getFileCollection",
4395
- "description": "Gets a specific file collection by ID",
4396
- "tags": [
4397
- "Collections"
4398
- ],
4399
- "parameters": [
4400
- {
4401
- "$ref": "#/components/parameters/EntityIdPathParam"
4402
- },
4403
- {
4404
- "$ref": "#/components/parameters/CollectionIdPathParam"
4405
- }
4406
- ],
4407
- "responses": {
4408
- "200": {
4409
- "description": "File collection found",
4410
- "content": {
4411
- "application/json": {
4412
- "schema": {
4413
- "$ref": "#/components/schemas/FileCollectionItem"
4414
- }
4415
- }
4416
- }
4417
- },
4418
- "404": {
4419
- "$ref": "#/components/responses/NotFoundError"
4420
- }
4421
- }
4422
- },
4423
- "put": {
4424
- "operationId": "updateFileCollection",
4425
- "summary": "updateFileCollection",
4426
- "description": "Updates a specific file collection by ID",
4427
- "tags": [
4428
- "Collections"
4429
- ],
4430
- "parameters": [
4431
- {
4432
- "$ref": "#/components/parameters/EntityIdPathParam"
4433
- },
4434
- {
4435
- "$ref": "#/components/parameters/CollectionIdPathParam"
4436
- }
4437
- ],
4438
- "requestBody": {
4439
- "required": true,
4440
- "content": {
4441
- "application/json": {
4442
- "schema": {
4443
- "$ref": "#/components/schemas/FileCollectionAttributes"
4444
- }
4445
- }
4446
- }
4447
- },
4448
- "responses": {
4449
- "200": {
4450
- "description": "File collection updated successfully",
4451
- "content": {
4452
- "application/json": {
4453
- "schema": {
4454
- "$ref": "#/components/schemas/FileCollectionItem"
4455
- }
4456
- }
4457
- }
4458
- },
4459
- "404": {
4460
- "$ref": "#/components/responses/NotFoundError"
4461
- }
4462
- }
4463
- },
4464
- "delete": {
4465
- "operationId": "deleteFileCollection",
4466
- "summary": "deleteFileCollection",
4467
- "description": "Deletes a specific file collection by ID",
4468
- "tags": [
4469
- "Collections"
4470
- ],
4471
- "parameters": [
4472
- {
4473
- "$ref": "#/components/parameters/EntityIdPathParam"
4474
- },
4475
- {
4476
- "$ref": "#/components/parameters/CollectionIdPathParam"
4477
- }
4478
- ],
4479
- "responses": {
4480
- "200": {
4481
- "description": "File collection deleted successfully"
4482
- },
4483
- "404": {
4484
- "$ref": "#/components/responses/NotFoundError"
4485
- }
4486
- }
4487
- }
4488
4314
  }
4489
4315
  },
4490
4316
  "components": {
@@ -7600,6 +7426,11 @@
7600
7426
  {
7601
7427
  "type": "object",
7602
7428
  "properties": {
7429
+ "q": {
7430
+ "description": "Lucene [queries supported with ElasticSearch](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#query-string-syntax)",
7431
+ "type": "string",
7432
+ "example": "status:active"
7433
+ },
7603
7434
  "filter": {
7604
7435
  "$ref": "#/components/schemas/SearchFilter"
7605
7436
  },
@@ -7615,6 +7446,7 @@
7615
7446
  "fields": {},
7616
7447
  "aggs": {},
7617
7448
  "include_deleted": {},
7449
+ "include_scores": {},
7618
7450
  "highlight": {},
7619
7451
  "stable_for": {},
7620
7452
  "stable_query_id": {},
@@ -7852,6 +7684,11 @@
7852
7684
  "include_deleted": {
7853
7685
  "$ref": "#/components/schemas/EntitySearchIncludeDeletedParam"
7854
7686
  },
7687
+ "include_scores": {
7688
+ "type": "boolean",
7689
+ "description": "Adds a `_score` number field to results that can be used to rank by match score",
7690
+ "default": false
7691
+ },
7855
7692
  "stable_for": {
7856
7693
  "type": "integer",
7857
7694
  "minimum": 0,
@@ -8786,121 +8623,6 @@
8786
8623
  "example": "Bad Request"
8787
8624
  }
8788
8625
  }
8789
- },
8790
- "FileCollectionId": {
8791
- "description": "Generated uuid for a file collection",
8792
- "type": "string",
8793
- "format": "uuid"
8794
- },
8795
- "FileCollectionItem": {
8796
- "description": "A file collection with identifiers and timestamps",
8797
- "type": "object",
8798
- "properties": {
8799
- "id": {
8800
- "$ref": "#/components/schemas/FileCollectionId"
8801
- },
8802
- "orgId": {
8803
- "type": "string",
8804
- "description": "Organization ID",
8805
- "example": "123"
8806
- },
8807
- "entityId": {
8808
- "$ref": "#/components/schemas/EntityId"
8809
- },
8810
- "type": {
8811
- "type": "string",
8812
- "description": "Logical type for this item (e.g. \"collection\")",
8813
- "example": "collection"
8814
- },
8815
- "name": {
8816
- "type": "string",
8817
- "example": "MyCollectionOfImportantFiles"
8818
- },
8819
- "entity_id": {
8820
- "$ref": "#/components/schemas/EntityId"
8821
- },
8822
- "starred": {
8823
- "type": "boolean",
8824
- "example": false
8825
- },
8826
- "files": {
8827
- "type": "array",
8828
- "description": "Array of file IDs in this collection",
8829
- "items": {
8830
- "type": "string",
8831
- "format": "uuid"
8832
- },
8833
- "example": [
8834
- "123e4567-e89b-12d3-a456-426614174000"
8835
- ]
8836
- },
8837
- "created_by": {
8838
- "type": "string",
8839
- "description": "User ID who created the collection",
8840
- "example": "17622"
8841
- },
8842
- "created_at": {
8843
- "type": "string",
8844
- "format": "date-time",
8845
- "example": "2025-08-20T12:01:00Z"
8846
- },
8847
- "updated_at": {
8848
- "type": "string",
8849
- "format": "date-time",
8850
- "example": "2025-08-20T12:01:00Z"
8851
- }
8852
- },
8853
- "required": [
8854
- "id",
8855
- "orgId",
8856
- "entityId",
8857
- "type",
8858
- "name",
8859
- "entity_id",
8860
- "starred",
8861
- "files",
8862
- "created_by",
8863
- "created_at",
8864
- "updated_at"
8865
- ]
8866
- },
8867
- "FileCollectionAttributes": {
8868
- "type": "object",
8869
- "properties": {
8870
- "name": {
8871
- "type": "string",
8872
- "description": "Name of the file collection"
8873
- },
8874
- "starred": {
8875
- "type": "boolean",
8876
- "description": "Whether the collection is starred"
8877
- },
8878
- "files": {
8879
- "type": "array",
8880
- "description": "Array of file IDs in this collection",
8881
- "items": {
8882
- "type": "string",
8883
- "format": "uuid"
8884
- }
8885
- }
8886
- },
8887
- "additionalProperties": false
8888
- },
8889
- "FileCollectionCreateRequest": {
8890
- "description": "Request body for creating a file collection",
8891
- "allOf": [
8892
- {
8893
- "$ref": "#/components/schemas/FileCollectionAttributes"
8894
- },
8895
- {
8896
- "type": "object",
8897
- "required": [
8898
- "name",
8899
- "starred",
8900
- "files"
8901
- ]
8902
- }
8903
- ]
8904
8626
  }
8905
8627
  },
8906
8628
  "parameters": {
@@ -9137,16 +8859,6 @@
9137
8859
  "default": false,
9138
8860
  "type": "boolean"
9139
8861
  }
9140
- },
9141
- "CollectionIdPathParam": {
9142
- "name": "collection_id",
9143
- "description": "Collection Id",
9144
- "in": "path",
9145
- "required": true,
9146
- "schema": {
9147
- "type": "string",
9148
- "format": "uuid"
9149
- }
9150
8862
  }
9151
8863
  },
9152
8864
  "examples": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/entity-client",
3
- "version": "6.7.0-alpha.0",
3
+ "version": "6.8.0",
4
4
  "description": "JavaScript client library for the epilot Core Entity API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",