@epilot/entity-client 4.29.2 → 4.29.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  Client library for epilot [Entity API](https://docs.epilot.io/api/entity)
9
9
 
10
- Uses [`openapi-client-axios`](https://github.com/anttiviljami/openapi-client-axios)
10
+ Uses [`openapi-client-axios`](https://github.com/openapistack/openapi-client-axios)
11
11
 
12
12
  ## Installation
13
13
 
@@ -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"}],"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"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}:validate":{"post":{"operationId":"validateEntity","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"},{"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}":{"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"}],"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"}],"requestBody":{"content":{"application/json":{}},"required":true},"responses":{}},"delete":{"operationId":"deleteEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"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"},{"$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"}],"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"}],"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":{}},"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"}],"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}: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":[{"$ref":"#/components/parameters/TaxonomySlugQueryParamOptional"},{"in":"query","name":"query"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/taxonomies/{taxonomySlug}/classifications":{"post":{"operationId":"updateClassificationsForTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"}],"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":{}}},"/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/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/public/idp/.well-known/jwks.json":{"get":{"operationId":"getESPublicJwks","responses":{}}},"/v1/entity/public/idp/.well-known/openid-configuration":{"get":{"operationId":"getESTokenOIDC","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}}},"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"}],"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"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}:validate":{"post":{"operationId":"validateEntity","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"},{"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}":{"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"}],"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"}],"requestBody":{"content":{"application/json":{}},"required":true},"responses":{}},"delete":{"operationId":"deleteEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"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"},{"$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"}],"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":{}},"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"}],"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}: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":[{"$ref":"#/components/parameters/TaxonomySlugQueryParamOptional"},{"in":"query","name":"query"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/taxonomies/{taxonomySlug}/classifications":{"post":{"operationId":"updateClassificationsForTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"}],"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":{}}},"/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/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":{}}}},"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}}},"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})})();
@@ -512,6 +512,9 @@
512
512
  },
513
513
  {
514
514
  "$ref": "#/components/parameters/AsyncOperationQueryParam"
515
+ },
516
+ {
517
+ "$ref": "#/components/parameters/ActivityIdQueryParam"
515
518
  }
516
519
  ],
517
520
  "requestBody": {
@@ -1122,18 +1125,6 @@
1122
1125
  ],
1123
1126
  "responses": {}
1124
1127
  }
1125
- },
1126
- "/v1/entity/public/idp/.well-known/jwks.json": {
1127
- "get": {
1128
- "operationId": "getESPublicJwks",
1129
- "responses": {}
1130
- }
1131
- },
1132
- "/v1/entity/public/idp/.well-known/openid-configuration": {
1133
- "get": {
1134
- "operationId": "getESTokenOIDC",
1135
- "responses": {}
1136
- }
1137
1128
  }
1138
1129
  },
1139
1130
  "components": {
package/dist/openapi.d.ts CHANGED
@@ -721,7 +721,10 @@ declare namespace Components {
721
721
  * "delete": [
722
722
  * "org:456"
723
723
  * ]
724
- * }
724
+ * },
725
+ * "_manifest": [
726
+ * "123e4567-e89b-12d3-a456-426614174000"
727
+ * ]
725
728
  * }
726
729
  */
727
730
  export interface BaseEntity {
@@ -753,6 +756,10 @@ declare namespace Components {
753
756
  _updated_at: string | null; // date-time
754
757
  _acl?: /* Access control list (ACL) for an entity. Defines sharing access to external orgs or users. */ EntityAcl;
755
758
  _purpose?: string[] | null;
759
+ /**
760
+ * Manifest ID used to create/update the entity
761
+ */
762
+ _manifest?: string /* uuid */[] | null;
756
763
  }
757
764
  /**
758
765
  * Reference to blueprint
@@ -1621,7 +1628,10 @@ declare namespace Components {
1621
1628
  * "delete": [
1622
1629
  * "org:456"
1623
1630
  * ]
1624
- * }
1631
+ * },
1632
+ * "_manifest": [
1633
+ * "123e4567-e89b-12d3-a456-426614174000"
1634
+ * ]
1625
1635
  * }
1626
1636
  */
1627
1637
  export interface Entity {
@@ -1653,6 +1663,10 @@ declare namespace Components {
1653
1663
  _updated_at?: string | null; // date-time
1654
1664
  _acl?: /* Access control list (ACL) for an entity. Defines sharing access to external orgs or users. */ EntityAcl;
1655
1665
  _purpose?: string[] | null;
1666
+ /**
1667
+ * Manifest ID used to create/update the entity
1668
+ */
1669
+ _manifest?: string /* uuid */[] | null;
1656
1670
  }
1657
1671
  /**
1658
1672
  * Access control list (ACL) for an entity. Defines sharing access to external orgs or users.
@@ -2035,7 +2049,11 @@ declare namespace Components {
2035
2049
  * "org:456",
2036
2050
  * "org:456"
2037
2051
  * ]
2038
- * }
2052
+ * },
2053
+ * "_manifest": [
2054
+ * "123e4567-e89b-12d3-a456-426614174000",
2055
+ * "123e4567-e89b-12d3-a456-426614174000"
2056
+ * ]
2039
2057
  * }
2040
2058
  */
2041
2059
  export interface EntityItem {
@@ -2067,6 +2085,10 @@ declare namespace Components {
2067
2085
  _updated_at: string | null; // date-time
2068
2086
  _acl?: /* Access control list (ACL) for an entity. Defines sharing access to external orgs or users. */ EntityAcl;
2069
2087
  _purpose?: string[] | null;
2088
+ /**
2089
+ * Manifest ID used to create/update the entity
2090
+ */
2091
+ _manifest?: string /* uuid */[] | null;
2070
2092
  }
2071
2093
  export interface EntityListParams {
2072
2094
  filter: /**
@@ -2198,6 +2220,9 @@ declare namespace Components {
2198
2220
  * "org:456"
2199
2221
  * ]
2200
2222
  * },
2223
+ * "_manifest": [
2224
+ * "123e4567-e89b-12d3-a456-426614174000"
2225
+ * ],
2201
2226
  * "status": "Inactive"
2202
2227
  * }
2203
2228
  */
@@ -2230,6 +2255,10 @@ declare namespace Components {
2230
2255
  _updated_at?: string | null; // date-time
2231
2256
  _acl?: /* Access control list (ACL) for an entity. Defines sharing access to external orgs or users. */ EntityAcl;
2232
2257
  _purpose?: string[] | null;
2258
+ /**
2259
+ * Manifest ID used to create/update the entity
2260
+ */
2261
+ _manifest?: string /* uuid */[] | null;
2233
2262
  };
2234
2263
  diff?: {
2235
2264
  added?: /**
@@ -2261,7 +2290,10 @@ declare namespace Components {
2261
2290
  * "delete": [
2262
2291
  * "org:456"
2263
2292
  * ]
2264
- * }
2293
+ * },
2294
+ * "_manifest": [
2295
+ * "123e4567-e89b-12d3-a456-426614174000"
2296
+ * ]
2265
2297
  * }
2266
2298
  */
2267
2299
  Entity;
@@ -2294,7 +2326,10 @@ declare namespace Components {
2294
2326
  * "delete": [
2295
2327
  * "org:456"
2296
2328
  * ]
2297
- * }
2329
+ * },
2330
+ * "_manifest": [
2331
+ * "123e4567-e89b-12d3-a456-426614174000"
2332
+ * ]
2298
2333
  * }
2299
2334
  */
2300
2335
  Entity;
@@ -2327,7 +2362,10 @@ declare namespace Components {
2327
2362
  * "delete": [
2328
2363
  * "org:456"
2329
2364
  * ]
2330
- * }
2365
+ * },
2366
+ * "_manifest": [
2367
+ * "123e4567-e89b-12d3-a456-426614174000"
2368
+ * ]
2331
2369
  * }
2332
2370
  */
2333
2371
  Entity;
@@ -3070,7 +3108,11 @@ declare namespace Components {
3070
3108
  * "org:456",
3071
3109
  * "org:456"
3072
3110
  * ]
3073
- * }
3111
+ * },
3112
+ * "_manifest": [
3113
+ * "123e4567-e89b-12d3-a456-426614174000",
3114
+ * "123e4567-e89b-12d3-a456-426614174000"
3115
+ * ]
3074
3116
  * }
3075
3117
  */
3076
3118
  EntityItem[];
@@ -3426,7 +3468,10 @@ declare namespace Components {
3426
3468
  * "delete": [
3427
3469
  * "org:456"
3428
3470
  * ]
3429
- * }
3471
+ * },
3472
+ * "_manifest": [
3473
+ * "123e4567-e89b-12d3-a456-426614174000"
3474
+ * ]
3430
3475
  * }
3431
3476
  */
3432
3477
  RelationEntity)[];
@@ -3536,6 +3581,9 @@ declare namespace Components {
3536
3581
  * "org:456"
3537
3582
  * ]
3538
3583
  * },
3584
+ * "_manifest": [
3585
+ * "123e4567-e89b-12d3-a456-426614174000"
3586
+ * ],
3539
3587
  * "_relations": [
3540
3588
  * {
3541
3589
  * "entity_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
@@ -3622,6 +3670,10 @@ declare namespace Components {
3622
3670
  _updated_at: string | null; // date-time
3623
3671
  _acl?: /* Access control list (ACL) for an entity. Defines sharing access to external orgs or users. */ EntityAcl;
3624
3672
  _purpose?: string[] | null;
3673
+ /**
3674
+ * Manifest ID used to create/update the entity
3675
+ */
3676
+ _manifest?: string /* uuid */[] | null;
3625
3677
  _relations: {
3626
3678
  entity_id: EntityId /* uuid */;
3627
3679
  }[];
@@ -5395,7 +5447,11 @@ declare namespace Components {
5395
5447
  * "org:456",
5396
5448
  * "org:456"
5397
5449
  * ]
5398
- * }
5450
+ * },
5451
+ * "_manifest": [
5452
+ * "123e4567-e89b-12d3-a456-426614174000",
5453
+ * "123e4567-e89b-12d3-a456-426614174000"
5454
+ * ]
5399
5455
  * }
5400
5456
  */
5401
5457
  new_entity_item?: {
@@ -5427,6 +5483,10 @@ declare namespace Components {
5427
5483
  _updated_at: string | null; // date-time
5428
5484
  _acl?: /* Access control list (ACL) for an entity. Defines sharing access to external orgs or users. */ EntityAcl;
5429
5485
  _purpose?: string[] | null;
5486
+ /**
5487
+ * Manifest ID used to create/update the entity
5488
+ */
5489
+ _manifest?: string /* uuid */[] | null;
5430
5490
  };
5431
5491
  }[];
5432
5492
  drawer_size?: "small" | "medium" | "large";
@@ -5480,7 +5540,10 @@ declare namespace Components {
5480
5540
  * "delete": [
5481
5541
  * "org:456"
5482
5542
  * ]
5483
- * }
5543
+ * },
5544
+ * "_manifest": [
5545
+ * "123e4567-e89b-12d3-a456-426614174000"
5546
+ * ]
5484
5547
  * }
5485
5548
  */
5486
5549
  export interface RelationEntity {
@@ -5512,6 +5575,10 @@ declare namespace Components {
5512
5575
  _updated_at: string | null; // date-time
5513
5576
  _acl?: /* Access control list (ACL) for an entity. Defines sharing access to external orgs or users. */ EntityAcl;
5514
5577
  _purpose?: string[] | null;
5578
+ /**
5579
+ * Manifest ID used to create/update the entity
5580
+ */
5581
+ _manifest?: string /* uuid */[] | null;
5515
5582
  $relation?: RelationItem;
5516
5583
  }
5517
5584
  export interface RelationItem {
@@ -7141,7 +7208,10 @@ declare namespace Paths {
7141
7208
  * "delete": [
7142
7209
  * "org:456"
7143
7210
  * ]
7144
- * }
7211
+ * },
7212
+ * "_manifest": [
7213
+ * "123e4567-e89b-12d3-a456-426614174000"
7214
+ * ]
7145
7215
  * }
7146
7216
  */
7147
7217
  Components.Schemas.Entity;
@@ -7185,7 +7255,11 @@ declare namespace Paths {
7185
7255
  * "org:456",
7186
7256
  * "org:456"
7187
7257
  * ]
7188
- * }
7258
+ * },
7259
+ * "_manifest": [
7260
+ * "123e4567-e89b-12d3-a456-426614174000",
7261
+ * "123e4567-e89b-12d3-a456-426614174000"
7262
+ * ]
7189
7263
  * }
7190
7264
  */
7191
7265
  Components.Schemas.EntityItem;
@@ -7442,60 +7516,6 @@ declare namespace Paths {
7442
7516
  export type $200 = Components.Schemas.ActivityItem;
7443
7517
  }
7444
7518
  }
7445
- namespace GetESPublicJwks {
7446
- namespace Responses {
7447
- export interface $200 {
7448
- keys?: {
7449
- /**
7450
- * example:
7451
- * RS256
7452
- */
7453
- alg?: string;
7454
- /**
7455
- * example:
7456
- * AQAB
7457
- */
7458
- e?: string;
7459
- /**
7460
- * example:
7461
- * tXWU5mPMbRPczpbQwi6vbhLF4GgF3wlMDSyqo7pfeiw=
7462
- */
7463
- kid?: string;
7464
- /**
7465
- * example:
7466
- * RSA
7467
- */
7468
- kty?: string;
7469
- /**
7470
- * example:
7471
- * h_QDoCjZ8W_trtYXaP7_S22wf5r5Wd9XBLED78oT44bJjQXn8ddcFV8Hik65_4IYXVX_hTTU4zpxe3H8vx2j7-Zz3O59mYMp5S0MzODNEdf5Y_2o19eis0brmAJniixsNlQ9LlYkdrVamrgaxHu3ZpP_99zkfFybYeuYoQNzb3PyrT8xVnz_USs_nlFMHpGUxvvz7gfKPqxcLvgLJr4cwI9yzaSY9CD4qW181QVcnL_WzpQ8xx6AuhhHZQ1l_3GG4InTk8ahE7U2ZHVu8RrX6d01pMgc3piEcet9RgFLnhbTg3YIiKGoAbN42wJn_x3lgIAC42T9mbmTsHyUdS6nUQ
7472
- */
7473
- n?: string;
7474
- /**
7475
- * example:
7476
- * sig
7477
- */
7478
- use?: string;
7479
- }[];
7480
- }
7481
- }
7482
- }
7483
- namespace GetESTokenOIDC {
7484
- namespace Responses {
7485
- export interface $200 {
7486
- /**
7487
- * example:
7488
- * https://entity.dev.sls.epilot.io/v1/entity/public/idp
7489
- */
7490
- issuer?: string; // uri
7491
- /**
7492
- * example:
7493
- * https://entity.dev.sls.epilot.io/v1/entity/public/idp/.well-known/jwks.json
7494
- */
7495
- jwks_uri?: string; // uri
7496
- }
7497
- }
7498
- }
7499
7519
  namespace GetEntity {
7500
7520
  namespace Parameters {
7501
7521
  export type Hydrate = boolean;
@@ -7555,7 +7575,11 @@ declare namespace Paths {
7555
7575
  * "org:456",
7556
7576
  * "org:456"
7557
7577
  * ]
7558
- * }
7578
+ * },
7579
+ * "_manifest": [
7580
+ * "123e4567-e89b-12d3-a456-426614174000",
7581
+ * "123e4567-e89b-12d3-a456-426614174000"
7582
+ * ]
7559
7583
  * }
7560
7584
  */
7561
7585
  Components.Schemas.EntityItem;
@@ -7598,7 +7622,11 @@ declare namespace Paths {
7598
7622
  * "org:456",
7599
7623
  * "org:456"
7600
7624
  * ]
7601
- * }
7625
+ * },
7626
+ * "_manifest": [
7627
+ * "123e4567-e89b-12d3-a456-426614174000",
7628
+ * "123e4567-e89b-12d3-a456-426614174000"
7629
+ * ]
7602
7630
  * }
7603
7631
  */
7604
7632
  Components.Schemas.EntityItem[];
@@ -7729,7 +7757,11 @@ declare namespace Paths {
7729
7757
  * "org:456",
7730
7758
  * "org:456"
7731
7759
  * ]
7732
- * }
7760
+ * },
7761
+ * "_manifest": [
7762
+ * "123e4567-e89b-12d3-a456-426614174000",
7763
+ * "123e4567-e89b-12d3-a456-426614174000"
7764
+ * ]
7733
7765
  * }
7734
7766
  */
7735
7767
  Components.Schemas.EntityItem;
@@ -7800,6 +7832,15 @@ declare namespace Paths {
7800
7832
  * "type": "string"
7801
7833
  * }
7802
7834
  * },
7835
+ * "_manifest": {
7836
+ * "type": "array",
7837
+ * "description": "Manifest ID used to create/update the entity",
7838
+ * "items": {
7839
+ * "type": "string",
7840
+ * "format": "uuid",
7841
+ * "example": "123e4567-e89b-12d3-a456-426614174000"
7842
+ * }
7843
+ * },
7803
7844
  * "_created_at": {
7804
7845
  * "readOnly": true,
7805
7846
  * "type": "string",
@@ -8566,7 +8607,10 @@ declare namespace Paths {
8566
8607
  * "delete": [
8567
8608
  * "org:456"
8568
8609
  * ]
8569
- * }
8610
+ * },
8611
+ * "_manifest": [
8612
+ * "123e4567-e89b-12d3-a456-426614174000"
8613
+ * ]
8570
8614
  * }
8571
8615
  */
8572
8616
  Components.Schemas.Entity;
@@ -8610,7 +8654,11 @@ declare namespace Paths {
8610
8654
  * "org:456",
8611
8655
  * "org:456"
8612
8656
  * ]
8613
- * }
8657
+ * },
8658
+ * "_manifest": [
8659
+ * "123e4567-e89b-12d3-a456-426614174000",
8660
+ * "123e4567-e89b-12d3-a456-426614174000"
8661
+ * ]
8614
8662
  * }
8615
8663
  */
8616
8664
  Components.Schemas.EntityItem;
@@ -8701,6 +8749,12 @@ declare namespace Paths {
8701
8749
  }
8702
8750
  namespace RemoveRelations {
8703
8751
  namespace Parameters {
8752
+ export type ActivityId = /**
8753
+ * See https://github.com/ulid/spec
8754
+ * example:
8755
+ * 01F130Q52Q6MWSNS8N2AVXV4JN
8756
+ */
8757
+ Components.Schemas.ActivityId /* ulid */;
8704
8758
  export type Async = boolean;
8705
8759
  export type Id = Components.Schemas.EntityId /* uuid */;
8706
8760
  export type Slug = /**
@@ -8716,6 +8770,7 @@ declare namespace Paths {
8716
8770
  }
8717
8771
  export interface QueryParameters {
8718
8772
  async?: Parameters.Async;
8773
+ activity_id?: Parameters.ActivityId;
8719
8774
  }
8720
8775
  export type RequestBody = Components.Schemas.RelationItem[];
8721
8776
  namespace Responses {
@@ -8852,7 +8907,10 @@ declare namespace Paths {
8852
8907
  * "delete": [
8853
8908
  * "org:456"
8854
8909
  * ]
8855
- * }
8910
+ * },
8911
+ * "_manifest": [
8912
+ * "123e4567-e89b-12d3-a456-426614174000"
8913
+ * ]
8856
8914
  * }
8857
8915
  */
8858
8916
  Components.Schemas.Entity;
@@ -8896,7 +8954,11 @@ declare namespace Paths {
8896
8954
  * "org:456",
8897
8955
  * "org:456"
8898
8956
  * ]
8899
- * }
8957
+ * },
8958
+ * "_manifest": [
8959
+ * "123e4567-e89b-12d3-a456-426614174000",
8960
+ * "123e4567-e89b-12d3-a456-426614174000"
8961
+ * ]
8900
8962
  * }
8901
8963
  */
8902
8964
  Components.Schemas.EntityItem;
@@ -9042,7 +9104,10 @@ declare namespace Paths {
9042
9104
  * "delete": [
9043
9105
  * "org:456"
9044
9106
  * ]
9045
- * }
9107
+ * },
9108
+ * "_manifest": [
9109
+ * "123e4567-e89b-12d3-a456-426614174000"
9110
+ * ]
9046
9111
  * }
9047
9112
  */
9048
9113
  Components.Schemas.Entity;
@@ -9087,7 +9152,11 @@ declare namespace Paths {
9087
9152
  * "org:456",
9088
9153
  * "org:456"
9089
9154
  * ]
9090
- * }
9155
+ * },
9156
+ * "_manifest": [
9157
+ * "123e4567-e89b-12d3-a456-426614174000",
9158
+ * "123e4567-e89b-12d3-a456-426614174000"
9159
+ * ]
9091
9160
  * }
9092
9161
  */
9093
9162
  Components.Schemas.EntityItem;
@@ -9130,7 +9199,11 @@ declare namespace Paths {
9130
9199
  * "org:456",
9131
9200
  * "org:456"
9132
9201
  * ]
9133
- * }
9202
+ * },
9203
+ * "_manifest": [
9204
+ * "123e4567-e89b-12d3-a456-426614174000",
9205
+ * "123e4567-e89b-12d3-a456-426614174000"
9206
+ * ]
9134
9207
  * }
9135
9208
  */
9136
9209
  Components.Schemas.EntityItem;
@@ -9184,7 +9257,10 @@ declare namespace Paths {
9184
9257
  * "delete": [
9185
9258
  * "org:456"
9186
9259
  * ]
9187
- * }
9260
+ * },
9261
+ * "_manifest": [
9262
+ * "123e4567-e89b-12d3-a456-426614174000"
9263
+ * ]
9188
9264
  * }
9189
9265
  */
9190
9266
  Components.Schemas.Entity;
@@ -10075,30 +10151,6 @@ export interface OperationMethods {
10075
10151
  data?: any,
10076
10152
  config?: AxiosRequestConfig
10077
10153
  ): OperationResponse<Paths.DeleteSchemaGroup.Responses.$200>
10078
- /**
10079
- * getESPublicJwks - getESPublicJwks
10080
- *
10081
- * Get jwks public key set to verify tokens generated by this API for Elasticsearch authentication
10082
- */
10083
- 'getESPublicJwks'(
10084
- parameters?: Parameters<UnknownParamsObject> | null,
10085
- data?: any,
10086
- config?: AxiosRequestConfig
10087
- ): OperationResponse<Paths.GetESPublicJwks.Responses.$200>
10088
- /**
10089
- * getESTokenOIDC - getESTokenOIDC
10090
- *
10091
- * OpenID Connect configuration for Entity API serving as public identity provider
10092
- *
10093
- * Note: This API is not a fully compliant OAuth2.0 / OIDC identity provider, but this endpoint is useful to
10094
- * automate the process of verifying JWT tokens.
10095
- *
10096
- */
10097
- 'getESTokenOIDC'(
10098
- parameters?: Parameters<UnknownParamsObject> | null,
10099
- data?: any,
10100
- config?: AxiosRequestConfig
10101
- ): OperationResponse<Paths.GetESTokenOIDC.Responses.$200>
10102
10154
  }
10103
10155
 
10104
10156
  export interface PathsDictionary {
@@ -11065,34 +11117,6 @@ export interface PathsDictionary {
11065
11117
  config?: AxiosRequestConfig
11066
11118
  ): OperationResponse<Paths.DeleteSchemaGroup.Responses.$200>
11067
11119
  }
11068
- ['/v1/entity/public/idp/.well-known/jwks.json']: {
11069
- /**
11070
- * getESPublicJwks - getESPublicJwks
11071
- *
11072
- * Get jwks public key set to verify tokens generated by this API for Elasticsearch authentication
11073
- */
11074
- 'get'(
11075
- parameters?: Parameters<UnknownParamsObject> | null,
11076
- data?: any,
11077
- config?: AxiosRequestConfig
11078
- ): OperationResponse<Paths.GetESPublicJwks.Responses.$200>
11079
- }
11080
- ['/v1/entity/public/idp/.well-known/openid-configuration']: {
11081
- /**
11082
- * getESTokenOIDC - getESTokenOIDC
11083
- *
11084
- * OpenID Connect configuration for Entity API serving as public identity provider
11085
- *
11086
- * Note: This API is not a fully compliant OAuth2.0 / OIDC identity provider, but this endpoint is useful to
11087
- * automate the process of verifying JWT tokens.
11088
- *
11089
- */
11090
- 'get'(
11091
- parameters?: Parameters<UnknownParamsObject> | null,
11092
- data?: any,
11093
- config?: AxiosRequestConfig
11094
- ): OperationResponse<Paths.GetESTokenOIDC.Responses.$200>
11095
- }
11096
11120
  }
11097
11121
 
11098
11122
  export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
package/dist/openapi.json CHANGED
@@ -253,6 +253,15 @@
253
253
  "type": "string"
254
254
  }
255
255
  },
256
+ "_manifest": {
257
+ "type": "array",
258
+ "description": "Manifest ID used to create/update the entity",
259
+ "items": {
260
+ "type": "string",
261
+ "format": "uuid",
262
+ "example": "123e4567-e89b-12d3-a456-426614174000"
263
+ }
264
+ },
256
265
  "_created_at": {
257
266
  "readOnly": true,
258
267
  "type": "string",
@@ -1634,6 +1643,9 @@
1634
1643
  },
1635
1644
  {
1636
1645
  "$ref": "#/components/parameters/AsyncOperationQueryParam"
1646
+ },
1647
+ {
1648
+ "$ref": "#/components/parameters/ActivityIdQueryParam"
1637
1649
  }
1638
1650
  ],
1639
1651
  "requestBody": {
@@ -3145,98 +3157,6 @@
3145
3157
  }
3146
3158
  }
3147
3159
  }
3148
- },
3149
- "/v1/entity/public/idp/.well-known/jwks.json": {
3150
- "get": {
3151
- "operationId": "getESPublicJwks",
3152
- "summary": "getESPublicJwks",
3153
- "description": "Get jwks public key set to verify tokens generated by this API for Elasticsearch authentication",
3154
- "tags": [
3155
- "Public"
3156
- ],
3157
- "security": [],
3158
- "responses": {
3159
- "200": {
3160
- "description": "Set of jwks",
3161
- "content": {
3162
- "application/json": {
3163
- "schema": {
3164
- "type": "object",
3165
- "properties": {
3166
- "keys": {
3167
- "type": "array",
3168
- "items": {
3169
- "type": "object",
3170
- "properties": {
3171
- "alg": {
3172
- "type": "string",
3173
- "example": "RS256"
3174
- },
3175
- "e": {
3176
- "type": "string",
3177
- "example": "AQAB"
3178
- },
3179
- "kid": {
3180
- "type": "string",
3181
- "example": "tXWU5mPMbRPczpbQwi6vbhLF4GgF3wlMDSyqo7pfeiw="
3182
- },
3183
- "kty": {
3184
- "type": "string",
3185
- "example": "RSA"
3186
- },
3187
- "n": {
3188
- "type": "string",
3189
- "example": "h_QDoCjZ8W_trtYXaP7_S22wf5r5Wd9XBLED78oT44bJjQXn8ddcFV8Hik65_4IYXVX_hTTU4zpxe3H8vx2j7-Zz3O59mYMp5S0MzODNEdf5Y_2o19eis0brmAJniixsNlQ9LlYkdrVamrgaxHu3ZpP_99zkfFybYeuYoQNzb3PyrT8xVnz_USs_nlFMHpGUxvvz7gfKPqxcLvgLJr4cwI9yzaSY9CD4qW181QVcnL_WzpQ8xx6AuhhHZQ1l_3GG4InTk8ahE7U2ZHVu8RrX6d01pMgc3piEcet9RgFLnhbTg3YIiKGoAbN42wJn_x3lgIAC42T9mbmTsHyUdS6nUQ"
3190
- },
3191
- "use": {
3192
- "type": "string",
3193
- "example": "sig"
3194
- }
3195
- }
3196
- }
3197
- }
3198
- }
3199
- }
3200
- }
3201
- }
3202
- }
3203
- }
3204
- }
3205
- },
3206
- "/v1/entity/public/idp/.well-known/openid-configuration": {
3207
- "get": {
3208
- "operationId": "getESTokenOIDC",
3209
- "summary": "getESTokenOIDC",
3210
- "description": "OpenID Connect configuration for Entity API serving as public identity provider\n\nNote: This API is not a fully compliant OAuth2.0 / OIDC identity provider, but this endpoint is useful to\nautomate the process of verifying JWT tokens.\n",
3211
- "tags": [
3212
- "Public"
3213
- ],
3214
- "security": [],
3215
- "responses": {
3216
- "200": {
3217
- "description": "OpenID Configuration",
3218
- "content": {
3219
- "application/json": {
3220
- "schema": {
3221
- "type": "object",
3222
- "properties": {
3223
- "issuer": {
3224
- "type": "string",
3225
- "format": "uri",
3226
- "example": "https://entity.dev.sls.epilot.io/v1/entity/public/idp"
3227
- },
3228
- "jwks_uri": {
3229
- "type": "string",
3230
- "format": "uri",
3231
- "example": "https://entity.dev.sls.epilot.io/v1/entity/public/idp/.well-known/jwks.json"
3232
- }
3233
- }
3234
- }
3235
- }
3236
- }
3237
- }
3238
- }
3239
- }
3240
3160
  }
3241
3161
  },
3242
3162
  "components": {
@@ -5409,6 +5329,16 @@
5409
5329
  "type": "string"
5410
5330
  },
5411
5331
  "nullable": true
5332
+ },
5333
+ "_manifest": {
5334
+ "type": "array",
5335
+ "description": "Manifest ID used to create/update the entity",
5336
+ "items": {
5337
+ "type": "string",
5338
+ "format": "uuid",
5339
+ "example": "123e4567-e89b-12d3-a456-426614174000"
5340
+ },
5341
+ "nullable": true
5412
5342
  }
5413
5343
  },
5414
5344
  "example": {
@@ -5438,7 +5368,10 @@
5438
5368
  "delete": [
5439
5369
  "org:456"
5440
5370
  ]
5441
- }
5371
+ },
5372
+ "_manifest": [
5373
+ "123e4567-e89b-12d3-a456-426614174000"
5374
+ ]
5442
5375
  }
5443
5376
  },
5444
5377
  "EntityOwner": {
@@ -7589,9 +7522,6 @@
7589
7522
  }
7590
7523
  },
7591
7524
  "servers": [
7592
- {
7593
- "url": "https://entity.sls.epilot.io"
7594
- },
7595
7525
  {
7596
7526
  "url": "https://entity.sls.epilot.io"
7597
7527
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/entity-client",
3
- "version": "4.29.2",
3
+ "version": "4.29.3",
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",
@@ -27,7 +27,7 @@
27
27
  "openapi": "node ../../scripts/update-openapi.js https://docs.api.epilot.io/entity.yaml",
28
28
  "typegen": "openapi typegen src/openapi.json --client -b '/* eslint-disable */' > src/openapi.d.ts",
29
29
  "build": "tsc && npm run build:patch && npm run bundle-definition",
30
- "build:patch": "sed -i '' '/^__exportStar.*openapi.*$/d' dist/index.js",
30
+ "build:patch": "sed -i'' -e '/^__exportStar.*openapi.*$/d' dist/index.js",
31
31
  "build:watch": "npm run build && tsc -w",
32
32
  "release-alpha": "npm version prerelease --preid alpha",
33
33
  "lint": "../../node_modules/eslint/bin/eslint.js src"