@epilot/entity-client 5.0.0 → 6.0.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={914: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(240));t.default=n.default},240: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/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/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"}],"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/{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"}],"responses":{}}},"/v1/entity/taxonomies/bulk-jobs/{job_id}":{"get":{"operationId":"getTaxonomyBulkActionJobById","parameters":[{"in":"path","name":"job_id","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":{}}}}},"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}(914),r=exports;for(var n in a)r[n]=a[n];a.__esModule&&Object.defineProperty(r,"__esModule",{value:!0})})();
1
+ (()=>{"use strict";var e={914: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(240));t.default=n.default},240: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/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/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"}],"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":{}}}}},"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}(914),r=exports;for(var n in a)r[n]=a[n];a.__esModule&&Object.defineProperty(r,"__esModule",{value:!0})})();
@@ -529,6 +529,10 @@
529
529
  {
530
530
  "in": "query",
531
531
  "name": "include_relations"
532
+ },
533
+ {
534
+ "in": "query",
535
+ "name": "exclude_activity_groups"
532
536
  }
533
537
  ],
534
538
  "responses": {}
@@ -989,6 +993,17 @@
989
993
  "responses": {}
990
994
  }
991
995
  },
996
+ "/v2/entity/taxonomies/classifications": {
997
+ "post": {
998
+ "operationId": "createTaxonomyClassification",
999
+ "requestBody": {
1000
+ "content": {
1001
+ "application/json": {}
1002
+ }
1003
+ },
1004
+ "responses": {}
1005
+ }
1006
+ },
992
1007
  "/v2/entity/taxonomies/classifications/{classificationSlug}": {
993
1008
  "get": {
994
1009
  "operationId": "getTaxonomyClassification",
@@ -1123,6 +1138,19 @@
1123
1138
  "responses": {}
1124
1139
  }
1125
1140
  },
1141
+ "/v1/entity/taxonomies/bulk-jobs/{job_id}/cancel": {
1142
+ "post": {
1143
+ "operationId": "cancelBulkAction",
1144
+ "parameters": [
1145
+ {
1146
+ "name": "job_id",
1147
+ "in": "path",
1148
+ "required": true
1149
+ }
1150
+ ],
1151
+ "responses": {}
1152
+ }
1153
+ },
1126
1154
  "/v1/entity/taxonomies/classifications:move": {
1127
1155
  "post": {
1128
1156
  "operationId": "bulkMoveClassifications",
package/dist/openapi.d.ts CHANGED
@@ -2633,6 +2633,11 @@ declare namespace Components {
2633
2633
  * You can pass one sort field or an array of sort fields. Each sort field can be a string
2634
2634
  */
2635
2635
  sort?: /* You can pass one sort field or an array of sort fields. Each sort field can be a string */ string | string[];
2636
+ /**
2637
+ * The offset from which to start the search results.
2638
+ * Only one of `from` or `search_after` should be used.
2639
+ *
2640
+ */
2636
2641
  from?: number;
2637
2642
  /**
2638
2643
  * Max search size is 1000 with higher values defaulting to 1000
@@ -2684,6 +2689,31 @@ declare namespace Components {
2684
2689
  *
2685
2690
  */
2686
2691
  EntitySearchIncludeDeletedParam;
2692
+ highlight?: any;
2693
+ /**
2694
+ * A TTL (in seconds) that specifies how long the context should be maintained.
2695
+ * Defaults to 30 seconds; configurable up to 60 seconds to prevent abuse.
2696
+ * A value of 0 can be provided the close the context after the query.
2697
+ * Defaults to none.
2698
+ *
2699
+ */
2700
+ stable_for?: number;
2701
+ /**
2702
+ * A unique identifier of the query context from the last stable query.
2703
+ * The context is maintained for the duration of the stable_for value.
2704
+ *
2705
+ */
2706
+ stable_query_id?: string;
2707
+ /**
2708
+ * The sort values from which to start the search results.
2709
+ * Only one of `from` or `search_after` should be used.
2710
+ * It is strongly recommended to always use the `sort_end` field from the last search result.
2711
+ * Used for deep pagination, typically together with `stable_query_id` to maintain the context between requests.
2712
+ * Requires explicit sort to work reliably.
2713
+ * Typically used sort fields are `_id` or `_created_at`.
2714
+ *
2715
+ */
2716
+ search_after?: ((string | null) | (number | null))[];
2687
2717
  }
2688
2718
  export interface EntityOperation {
2689
2719
  entity: EntityId /* uuid */;
@@ -2698,7 +2728,7 @@ declare namespace Components {
2698
2728
  * 01F130Q52Q6MWSNS8N2AVXV4JN
2699
2729
  */
2700
2730
  ActivityId /* ulid ^01[0-9a-zA-Z]{24}$ */;
2701
- operation: "createEntity" | "updateEntity" | "deleteEntity" | "softDeleteEntity" | "restoreEntity";
2731
+ operation: "createEntity" | "updateEntity" | "deleteEntity" | "softDeleteEntity" | "restoreEntity" | "relationsAdded" | "relationsRemoved";
2702
2732
  /**
2703
2733
  * example:
2704
2734
  * {
@@ -3560,6 +3590,11 @@ declare namespace Components {
3560
3590
  * You can pass one sort field or an array of sort fields. Each sort field can be a string
3561
3591
  */
3562
3592
  sort?: /* You can pass one sort field or an array of sort fields. Each sort field can be a string */ string | string[];
3593
+ /**
3594
+ * The offset from which to start the search results.
3595
+ * Only one of `from` or `search_after` should be used.
3596
+ *
3597
+ */
3563
3598
  from?: number;
3564
3599
  /**
3565
3600
  * Max search size is 1000 with higher values defaulting to 1000
@@ -3611,6 +3646,30 @@ declare namespace Components {
3611
3646
  *
3612
3647
  */
3613
3648
  EntitySearchIncludeDeletedParam;
3649
+ /**
3650
+ * A TTL (in seconds) that specifies how long the context should be maintained.
3651
+ * Defaults to 30 seconds; configurable up to 60 seconds to prevent abuse.
3652
+ * A value of 0 can be provided the close the context after the query.
3653
+ * Defaults to none.
3654
+ *
3655
+ */
3656
+ stable_for?: number;
3657
+ /**
3658
+ * A unique identifier of the query context from the last stable query.
3659
+ * The context is maintained for the duration of the stable_for value.
3660
+ *
3661
+ */
3662
+ stable_query_id?: string;
3663
+ /**
3664
+ * The sort values from which to start the search results.
3665
+ * Only one of `from` or `search_after` should be used.
3666
+ * It is strongly recommended to always use the `sort_end` field from the last search result.
3667
+ * Used for deep pagination, typically together with `stable_query_id` to maintain the context between requests.
3668
+ * Requires explicit sort to work reliably.
3669
+ * Typically used sort fields are `_id` or `_created_at`.
3670
+ *
3671
+ */
3672
+ search_after?: ((string | null) | (number | null))[];
3614
3673
  }
3615
3674
  export interface EntitySearchParams {
3616
3675
  /**
@@ -3627,6 +3686,11 @@ declare namespace Components {
3627
3686
  * You can pass one sort field or an array of sort fields. Each sort field can be a string
3628
3687
  */
3629
3688
  sort?: /* You can pass one sort field or an array of sort fields. Each sort field can be a string */ string | string[];
3689
+ /**
3690
+ * The offset from which to start the search results.
3691
+ * Only one of `from` or `search_after` should be used.
3692
+ *
3693
+ */
3630
3694
  from?: number;
3631
3695
  /**
3632
3696
  * Max search size is 1000 with higher values defaulting to 1000
@@ -3679,6 +3743,30 @@ declare namespace Components {
3679
3743
  */
3680
3744
  EntitySearchIncludeDeletedParam;
3681
3745
  highlight?: any;
3746
+ /**
3747
+ * A TTL (in seconds) that specifies how long the context should be maintained.
3748
+ * Defaults to 30 seconds; configurable up to 60 seconds to prevent abuse.
3749
+ * A value of 0 can be provided the close the context after the query.
3750
+ * Defaults to none.
3751
+ *
3752
+ */
3753
+ stable_for?: number;
3754
+ /**
3755
+ * A unique identifier of the query context from the last stable query.
3756
+ * The context is maintained for the duration of the stable_for value.
3757
+ *
3758
+ */
3759
+ stable_query_id?: string;
3760
+ /**
3761
+ * The sort values from which to start the search results.
3762
+ * Only one of `from` or `search_after` should be used.
3763
+ * It is strongly recommended to always use the `sort_end` field from the last search result.
3764
+ * Used for deep pagination, typically together with `stable_query_id` to maintain the context between requests.
3765
+ * Requires explicit sort to work reliably.
3766
+ * Typically used sort fields are `_id` or `_created_at`.
3767
+ *
3768
+ */
3769
+ search_after?: ((string | null) | (number | null))[];
3682
3770
  }
3683
3771
  export interface EntitySearchResults {
3684
3772
  /**
@@ -3755,6 +3843,23 @@ declare namespace Components {
3755
3843
  aggregations?: {
3756
3844
  [key: string]: any;
3757
3845
  };
3846
+ /**
3847
+ * A unique identifier of the query context.
3848
+ * Should be used on the input for the next query that needs to be executed in the same context.
3849
+ *
3850
+ */
3851
+ stable_query_id?: string;
3852
+ /**
3853
+ * The sort value of the last item returned in `results`.
3854
+ * Can be used as the input for the `search_after` in the next query.
3855
+ *
3856
+ * example:
3857
+ * [
3858
+ * 1747905443332,
3859
+ * "0.000023312468"
3860
+ * ]
3861
+ */
3862
+ sort_end?: ((string | null) | (number | null))[];
3758
3863
  }
3759
3864
  /**
3760
3865
  * URL-friendly identifier for the entity schema
@@ -8844,6 +8949,8 @@ declare namespace Paths {
8844
8949
  }
8845
8950
  namespace Responses {
8846
8951
  export type $200 = Components.Schemas.TaxonomyBulkJobTriggerResponse;
8952
+ export interface $400 {
8953
+ }
8847
8954
  }
8848
8955
  }
8849
8956
  namespace BulkMergeClassifications {
@@ -8866,6 +8973,8 @@ declare namespace Paths {
8866
8973
  }
8867
8974
  namespace Responses {
8868
8975
  export type $200 = Components.Schemas.TaxonomyBulkJobTriggerResponse;
8976
+ export interface $400 {
8977
+ }
8869
8978
  }
8870
8979
  }
8871
8980
  namespace BulkMoveClassifications {
@@ -8888,6 +8997,39 @@ declare namespace Paths {
8888
8997
  }
8889
8998
  namespace Responses {
8890
8999
  export type $200 = Components.Schemas.TaxonomyBulkJobTriggerResponse;
9000
+ export interface $400 {
9001
+ }
9002
+ }
9003
+ }
9004
+ namespace CancelBulkAction {
9005
+ namespace Parameters {
9006
+ export type JobId = string;
9007
+ }
9008
+ export interface PathParameters {
9009
+ job_id: Parameters.JobId;
9010
+ }
9011
+ namespace Responses {
9012
+ export type $200 = /**
9013
+ * example:
9014
+ * {
9015
+ * "job_id": "123e4567-e89b-12d3-a456-426614174000",
9016
+ * "status": "PENDING",
9017
+ * "action_type": "MOVE_CLASSIFICATIONS",
9018
+ * "created_by": "10598",
9019
+ * "created_at": "2024-01-01T00:00:00.000Z",
9020
+ * "updated_at": "2024-01-01T00:00:00.000Z",
9021
+ * "org": "66"
9022
+ * }
9023
+ */
9024
+ Components.Schemas.TaxonomyBulkJob;
9025
+ export interface $400 {
9026
+ }
9027
+ export interface $403 {
9028
+ }
9029
+ export interface $404 {
9030
+ }
9031
+ export interface $500 {
9032
+ }
8891
9033
  }
8892
9034
  }
8893
9035
  namespace CreateActivity {
@@ -9054,6 +9196,12 @@ declare namespace Paths {
9054
9196
  }
9055
9197
  }
9056
9198
  }
9199
+ namespace CreateTaxonomyClassification {
9200
+ export type RequestBody = Components.Schemas.TaxonomyClassification;
9201
+ namespace Responses {
9202
+ export type $201 = Components.Schemas.TaxonomyClassification;
9203
+ }
9204
+ }
9057
9205
  namespace DeleteEntity {
9058
9206
  namespace Parameters {
9059
9207
  export type ActivityId = /**
@@ -9257,6 +9405,8 @@ declare namespace Paths {
9257
9405
  }
9258
9406
  namespace Responses {
9259
9407
  export type $200 = Components.Schemas.TaxonomyClassification;
9408
+ export interface $403 {
9409
+ }
9260
9410
  }
9261
9411
  }
9262
9412
  namespace ExportEntities {
@@ -9443,6 +9593,11 @@ declare namespace Paths {
9443
9593
  export type After = string; // date-time
9444
9594
  export type Before = string; // date-time
9445
9595
  export type EndDate = string; // date-time
9596
+ /**
9597
+ * example:
9598
+ * workflow
9599
+ */
9600
+ export type ExcludeActivityGroups = string;
9446
9601
  export type From = number;
9447
9602
  export type Id = Components.Schemas.EntityId /* uuid */;
9448
9603
  export type IncludeRelations = boolean;
@@ -9487,6 +9642,11 @@ declare namespace Paths {
9487
9642
  */
9488
9643
  Parameters.Type;
9489
9644
  include_relations?: Parameters.IncludeRelations;
9645
+ exclude_activity_groups?: /**
9646
+ * example:
9647
+ * workflow
9648
+ */
9649
+ Parameters.ExcludeActivityGroups;
9490
9650
  }
9491
9651
  namespace Responses {
9492
9652
  export interface $200 {
@@ -10423,10 +10583,13 @@ declare namespace Paths {
10423
10583
  * The maximum number of jobs to return (defaults to 20)
10424
10584
  */
10425
10585
  export type Size = number;
10426
- export type Status = /* The status of the bulk job */ Components.Schemas.TaxonomyBulkJobStatus;
10586
+ /**
10587
+ * A comma separated list of job statuses to return
10588
+ */
10589
+ export type Status = /* The status of the bulk job */ Components.Schemas.TaxonomyBulkJobStatus[];
10427
10590
  }
10428
10591
  export interface QueryParameters {
10429
- status?: Parameters.Status;
10592
+ status?: /* A comma separated list of job statuses to return */ Parameters.Status;
10430
10593
  size?: /* The maximum number of jobs to return (defaults to 20) */ Parameters.Size;
10431
10594
  }
10432
10595
  namespace Responses {
@@ -12383,6 +12546,17 @@ export interface OperationMethods {
12383
12546
  data?: Paths.UpdateClassificationsForTaxonomy.RequestBody,
12384
12547
  config?: AxiosRequestConfig
12385
12548
  ): OperationResponse<Paths.UpdateClassificationsForTaxonomy.Responses.$200>
12549
+ /**
12550
+ * createTaxonomyClassification - createTaxonomyClassification
12551
+ *
12552
+ * Create a new classification for a taxonomy
12553
+ *
12554
+ */
12555
+ 'createTaxonomyClassification'(
12556
+ parameters?: Parameters<UnknownParamsObject> | null,
12557
+ data?: Paths.CreateTaxonomyClassification.RequestBody,
12558
+ config?: AxiosRequestConfig
12559
+ ): OperationResponse<Paths.CreateTaxonomyClassification.Responses.$201>
12386
12560
  /**
12387
12561
  * getTaxonomyClassification - getTaxonomyClassification
12388
12562
  *
@@ -12471,6 +12645,18 @@ export interface OperationMethods {
12471
12645
  data?: any,
12472
12646
  config?: AxiosRequestConfig
12473
12647
  ): OperationResponse<Paths.GetTaxonomyBulkActionJobById.Responses.$200>
12648
+ /**
12649
+ * cancelBulkAction - cancelBulkAction
12650
+ *
12651
+ * Cancels a running bulk action job. The job status will be updated to CANCELLED
12652
+ * and the job will be stopped.
12653
+ *
12654
+ */
12655
+ 'cancelBulkAction'(
12656
+ parameters?: Parameters<Paths.CancelBulkAction.PathParameters> | null,
12657
+ data?: any,
12658
+ config?: AxiosRequestConfig
12659
+ ): OperationResponse<Paths.CancelBulkAction.Responses.$200>
12474
12660
  /**
12475
12661
  * bulkMoveClassifications - bulkMoveClassifications
12476
12662
  *
@@ -13494,6 +13680,19 @@ export interface PathsDictionary {
13494
13680
  config?: AxiosRequestConfig
13495
13681
  ): OperationResponse<Paths.UpdateClassificationsForTaxonomy.Responses.$200>
13496
13682
  }
13683
+ ['/v2/entity/taxonomies/classifications']: {
13684
+ /**
13685
+ * createTaxonomyClassification - createTaxonomyClassification
13686
+ *
13687
+ * Create a new classification for a taxonomy
13688
+ *
13689
+ */
13690
+ 'post'(
13691
+ parameters?: Parameters<UnknownParamsObject> | null,
13692
+ data?: Paths.CreateTaxonomyClassification.RequestBody,
13693
+ config?: AxiosRequestConfig
13694
+ ): OperationResponse<Paths.CreateTaxonomyClassification.Responses.$201>
13695
+ }
13497
13696
  ['/v2/entity/taxonomies/classifications/{classificationSlug}']: {
13498
13697
  /**
13499
13698
  * getTaxonomyClassification - getTaxonomyClassification
@@ -13594,6 +13793,20 @@ export interface PathsDictionary {
13594
13793
  config?: AxiosRequestConfig
13595
13794
  ): OperationResponse<Paths.GetTaxonomyBulkActionJobById.Responses.$200>
13596
13795
  }
13796
+ ['/v1/entity/taxonomies/bulk-jobs/{job_id}/cancel']: {
13797
+ /**
13798
+ * cancelBulkAction - cancelBulkAction
13799
+ *
13800
+ * Cancels a running bulk action job. The job status will be updated to CANCELLED
13801
+ * and the job will be stopped.
13802
+ *
13803
+ */
13804
+ 'post'(
13805
+ parameters?: Parameters<Paths.CancelBulkAction.PathParameters> | null,
13806
+ data?: any,
13807
+ config?: AxiosRequestConfig
13808
+ ): OperationResponse<Paths.CancelBulkAction.Responses.$200>
13809
+ }
13597
13810
  ['/v1/entity/taxonomies/classifications:move']: {
13598
13811
  /**
13599
13812
  * bulkMoveClassifications - bulkMoveClassifications
package/dist/openapi.json CHANGED
@@ -1740,6 +1740,15 @@
1740
1740
  "type": "boolean",
1741
1741
  "default": false
1742
1742
  }
1743
+ },
1744
+ {
1745
+ "in": "query",
1746
+ "name": "exclude_activity_groups",
1747
+ "description": "Exclude all activity types that are part of an activity group from results",
1748
+ "schema": {
1749
+ "type": "string",
1750
+ "example": "workflow"
1751
+ }
1743
1752
  }
1744
1753
  ],
1745
1754
  "responses": {
@@ -2868,6 +2877,37 @@
2868
2877
  }
2869
2878
  }
2870
2879
  },
2880
+ "/v2/entity/taxonomies/classifications": {
2881
+ "post": {
2882
+ "operationId": "createTaxonomyClassification",
2883
+ "summary": "createTaxonomyClassification",
2884
+ "description": "Create a new classification for a taxonomy\n",
2885
+ "tags": [
2886
+ "Taxonomy"
2887
+ ],
2888
+ "requestBody": {
2889
+ "content": {
2890
+ "application/json": {
2891
+ "schema": {
2892
+ "$ref": "#/components/schemas/TaxonomyClassification"
2893
+ }
2894
+ }
2895
+ }
2896
+ },
2897
+ "responses": {
2898
+ "201": {
2899
+ "description": "Created taxonomy classification",
2900
+ "content": {
2901
+ "application/json": {
2902
+ "schema": {
2903
+ "$ref": "#/components/schemas/TaxonomyClassification"
2904
+ }
2905
+ }
2906
+ }
2907
+ }
2908
+ }
2909
+ }
2910
+ },
2871
2911
  "/v2/entity/taxonomies/classifications/{classificationSlug}": {
2872
2912
  "get": {
2873
2913
  "operationId": "getTaxonomyClassification",
@@ -2956,6 +2996,9 @@
2956
2996
  }
2957
2997
  }
2958
2998
  }
2999
+ },
3000
+ "403": {
3001
+ "description": "Taxonomy classification deletion not allowed"
2959
3002
  }
2960
3003
  }
2961
3004
  }
@@ -3174,7 +3217,11 @@
3174
3217
  "description": "The status of the jobs to return",
3175
3218
  "name": "status",
3176
3219
  "schema": {
3177
- "$ref": "#/components/schemas/TaxonomyBulkJobStatus"
3220
+ "description": "A comma separated list of job statuses to return",
3221
+ "type": "array",
3222
+ "items": {
3223
+ "$ref": "#/components/schemas/TaxonomyBulkJobStatus"
3224
+ }
3178
3225
  }
3179
3226
  },
3180
3227
  {
@@ -3236,6 +3283,51 @@
3236
3283
  }
3237
3284
  }
3238
3285
  },
3286
+ "/v1/entity/taxonomies/bulk-jobs/{job_id}/cancel": {
3287
+ "post": {
3288
+ "operationId": "cancelBulkAction",
3289
+ "summary": "cancelBulkAction",
3290
+ "description": "Cancels a running bulk action job. The job status will be updated to CANCELLED\nand the job will be stopped.\n",
3291
+ "tags": [
3292
+ "Taxonomy"
3293
+ ],
3294
+ "parameters": [
3295
+ {
3296
+ "name": "job_id",
3297
+ "in": "path",
3298
+ "required": true,
3299
+ "schema": {
3300
+ "type": "string"
3301
+ },
3302
+ "description": "Job ID of the bulk operation to cancel"
3303
+ }
3304
+ ],
3305
+ "responses": {
3306
+ "200": {
3307
+ "description": "Success",
3308
+ "content": {
3309
+ "application/json": {
3310
+ "schema": {
3311
+ "$ref": "#/components/schemas/TaxonomyBulkJob"
3312
+ }
3313
+ }
3314
+ }
3315
+ },
3316
+ "400": {
3317
+ "description": "Bad Request"
3318
+ },
3319
+ "403": {
3320
+ "description": "Forbidden"
3321
+ },
3322
+ "404": {
3323
+ "description": "Not Found"
3324
+ },
3325
+ "500": {
3326
+ "description": "Internal Server Error"
3327
+ }
3328
+ }
3329
+ }
3330
+ },
3239
3331
  "/v1/entity/taxonomies/classifications:move": {
3240
3332
  "post": {
3241
3333
  "operationId": "bulkMoveClassifications",
@@ -3294,6 +3386,9 @@
3294
3386
  }
3295
3387
  }
3296
3388
  }
3389
+ },
3390
+ "400": {
3391
+ "description": "Invalid request"
3297
3392
  }
3298
3393
  }
3299
3394
  }
@@ -3356,6 +3451,9 @@
3356
3451
  }
3357
3452
  }
3358
3453
  }
3454
+ },
3455
+ "400": {
3456
+ "description": "Invalid request"
3359
3457
  }
3360
3458
  }
3361
3459
  }
@@ -3408,6 +3506,9 @@
3408
3506
  }
3409
3507
  }
3410
3508
  }
3509
+ },
3510
+ "400": {
3511
+ "description": "Invalid request"
3411
3512
  }
3412
3513
  }
3413
3514
  }
@@ -7069,7 +7170,10 @@
7069
7170
  "fields": {},
7070
7171
  "aggs": {},
7071
7172
  "include_deleted": {},
7072
- "highlight": {}
7173
+ "highlight": {},
7174
+ "stable_for": {},
7175
+ "stable_query_id": {},
7176
+ "search_after": {}
7073
7177
  },
7074
7178
  "additionalProperties": false,
7075
7179
  "required": [
@@ -7100,7 +7204,11 @@
7100
7204
  "hydrate": {},
7101
7205
  "fields": {},
7102
7206
  "aggs": {},
7103
- "include_deleted": {}
7207
+ "include_deleted": {},
7208
+ "highlight": {},
7209
+ "stable_for": {},
7210
+ "stable_query_id": {},
7211
+ "search_after": {}
7104
7212
  },
7105
7213
  "additionalProperties": false,
7106
7214
  "required": [
@@ -7303,7 +7411,8 @@
7303
7411
  "from": {
7304
7412
  "type": "integer",
7305
7413
  "minimum": 0,
7306
- "default": 0
7414
+ "default": 0,
7415
+ "description": "The offset from which to start the search results.\nOnly one of `from` or `search_after` should be used.\n"
7307
7416
  },
7308
7417
  "size": {
7309
7418
  "type": "integer",
@@ -7332,6 +7441,32 @@
7332
7441
  },
7333
7442
  "include_deleted": {
7334
7443
  "$ref": "#/components/schemas/EntitySearchIncludeDeletedParam"
7444
+ },
7445
+ "stable_for": {
7446
+ "type": "integer",
7447
+ "minimum": 0,
7448
+ "maximum": 60,
7449
+ "description": "A TTL (in seconds) that specifies how long the context should be maintained.\nDefaults to 30 seconds; configurable up to 60 seconds to prevent abuse.\nA value of 0 can be provided the close the context after the query.\nDefaults to none.\n"
7450
+ },
7451
+ "stable_query_id": {
7452
+ "type": "string",
7453
+ "description": "A unique identifier of the query context from the last stable query.\nThe context is maintained for the duration of the stable_for value.\n"
7454
+ },
7455
+ "search_after": {
7456
+ "type": "array",
7457
+ "items": {
7458
+ "oneOf": [
7459
+ {
7460
+ "type": "string",
7461
+ "nullable": true
7462
+ },
7463
+ {
7464
+ "type": "number",
7465
+ "nullable": true
7466
+ }
7467
+ ]
7468
+ },
7469
+ "description": "The sort values from which to start the search results.\nOnly one of `from` or `search_after` should be used.\nIt is strongly recommended to always use the `sort_end` field from the last search result.\nUsed for deep pagination, typically together with `stable_query_id` to maintain the context between requests.\nRequires explicit sort to work reliably.\nTypically used sort fields are `_id` or `_created_at`.\n"
7335
7470
  }
7336
7471
  }
7337
7472
  },
@@ -7417,6 +7552,30 @@
7417
7552
  ]
7418
7553
  }
7419
7554
  }
7555
+ },
7556
+ "stable_query_id": {
7557
+ "type": "string",
7558
+ "description": "A unique identifier of the query context.\nShould be used on the input for the next query that needs to be executed in the same context.\n"
7559
+ },
7560
+ "sort_end": {
7561
+ "type": "array",
7562
+ "items": {
7563
+ "oneOf": [
7564
+ {
7565
+ "type": "string",
7566
+ "nullable": true
7567
+ },
7568
+ {
7569
+ "type": "number",
7570
+ "nullable": true
7571
+ }
7572
+ ]
7573
+ },
7574
+ "description": "The sort value of the last item returned in `results`.\nCan be used as the input for the `search_after` in the next query.\n",
7575
+ "example": [
7576
+ 1747905443332,
7577
+ "0.000023312468"
7578
+ ]
7420
7579
  }
7421
7580
  }
7422
7581
  },
@@ -7577,7 +7736,9 @@
7577
7736
  "updateEntity",
7578
7737
  "deleteEntity",
7579
7738
  "softDeleteEntity",
7580
- "restoreEntity"
7739
+ "restoreEntity",
7740
+ "relationsAdded",
7741
+ "relationsRemoved"
7581
7742
  ]
7582
7743
  },
7583
7744
  "params": {
@@ -8018,7 +8179,8 @@
8018
8179
  },
8019
8180
  "ClassificationId": {
8020
8181
  "type": "string",
8021
- "example": "taxonomy-slug:classification-slug"
8182
+ "example": "taxonomy-slug:classification-slug",
8183
+ "readOnly": true
8022
8184
  },
8023
8185
  "ClassificationSlug": {
8024
8186
  "type": "string",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/entity-client",
3
- "version": "5.0.0",
3
+ "version": "6.0.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",