@epilot/entity-client 4.30.1 → 4.31.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.
- package/dist/definition.js +1 -1
- package/dist/openapi-runtime.json +5 -0
- package/dist/openapi.d.ts +84 -59
- package/dist/openapi.json +76 -10
- package/package.json +1 -1
package/dist/definition.js
CHANGED
|
@@ -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}:restore":{"patch":{"operationId":"restoreEntity","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"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"},{"in":"query","name":"purge","default":false}],"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})})();
|
|
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}: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}":{"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"},{"in":"query","name":"purge","default":false}],"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})})();
|
package/dist/openapi.d.ts
CHANGED
|
@@ -322,7 +322,7 @@ declare namespace Components {
|
|
|
322
322
|
*/
|
|
323
323
|
feature_flag?: string;
|
|
324
324
|
/**
|
|
325
|
-
* This attribute should only be active when
|
|
325
|
+
* This attribute should only be active when one of the provided settings have the correct value
|
|
326
326
|
*/
|
|
327
327
|
settings_flag?: SettingFlag[];
|
|
328
328
|
value_formatter?: string;
|
|
@@ -472,7 +472,7 @@ declare namespace Components {
|
|
|
472
472
|
*/
|
|
473
473
|
feature_flag?: string;
|
|
474
474
|
/**
|
|
475
|
-
* This attribute should only be active when
|
|
475
|
+
* This attribute should only be active when one of the provided settings have the correct value
|
|
476
476
|
*/
|
|
477
477
|
settings_flag?: SettingFlag[];
|
|
478
478
|
value_formatter?: string;
|
|
@@ -646,7 +646,7 @@ declare namespace Components {
|
|
|
646
646
|
*/
|
|
647
647
|
feature_flag?: string;
|
|
648
648
|
/**
|
|
649
|
-
* This attribute should only be active when
|
|
649
|
+
* This attribute should only be active when one of the provided settings have the correct value
|
|
650
650
|
*/
|
|
651
651
|
settings_flag?: SettingFlag[];
|
|
652
652
|
value_formatter?: string;
|
|
@@ -850,7 +850,7 @@ declare namespace Components {
|
|
|
850
850
|
*/
|
|
851
851
|
feature_flag?: string;
|
|
852
852
|
/**
|
|
853
|
-
* This attribute should only be active when
|
|
853
|
+
* This attribute should only be active when one of the provided settings have the correct value
|
|
854
854
|
*/
|
|
855
855
|
settings_flag?: SettingFlag[];
|
|
856
856
|
value_formatter?: string;
|
|
@@ -1002,7 +1002,7 @@ declare namespace Components {
|
|
|
1002
1002
|
*/
|
|
1003
1003
|
feature_flag?: string;
|
|
1004
1004
|
/**
|
|
1005
|
-
* This attribute should only be active when
|
|
1005
|
+
* This attribute should only be active when one of the provided settings have the correct value
|
|
1006
1006
|
*/
|
|
1007
1007
|
settings_flag?: SettingFlag[];
|
|
1008
1008
|
value_formatter?: string;
|
|
@@ -1134,7 +1134,7 @@ declare namespace Components {
|
|
|
1134
1134
|
*/
|
|
1135
1135
|
feature_flag?: string;
|
|
1136
1136
|
/**
|
|
1137
|
-
* This attribute should only be active when
|
|
1137
|
+
* This attribute should only be active when one of the provided settings have the correct value
|
|
1138
1138
|
*/
|
|
1139
1139
|
settings_flag?: SettingFlag[];
|
|
1140
1140
|
value_formatter?: string;
|
|
@@ -1268,7 +1268,7 @@ declare namespace Components {
|
|
|
1268
1268
|
*/
|
|
1269
1269
|
feature_flag?: string;
|
|
1270
1270
|
/**
|
|
1271
|
-
* This attribute should only be active when
|
|
1271
|
+
* This attribute should only be active when one of the provided settings have the correct value
|
|
1272
1272
|
*/
|
|
1273
1273
|
settings_flag?: SettingFlag[];
|
|
1274
1274
|
value_formatter?: string;
|
|
@@ -1400,7 +1400,7 @@ declare namespace Components {
|
|
|
1400
1400
|
*/
|
|
1401
1401
|
feature_flag?: string;
|
|
1402
1402
|
/**
|
|
1403
|
-
* This attribute should only be active when
|
|
1403
|
+
* This attribute should only be active when one of the provided settings have the correct value
|
|
1404
1404
|
*/
|
|
1405
1405
|
settings_flag?: SettingFlag[];
|
|
1406
1406
|
value_formatter?: string;
|
|
@@ -1542,7 +1542,7 @@ declare namespace Components {
|
|
|
1542
1542
|
*/
|
|
1543
1543
|
feature_flag?: string;
|
|
1544
1544
|
/**
|
|
1545
|
-
* This attribute should only be active when
|
|
1545
|
+
* This attribute should only be active when one of the provided settings have the correct value
|
|
1546
1546
|
*/
|
|
1547
1547
|
settings_flag?: SettingFlag[];
|
|
1548
1548
|
value_formatter?: string;
|
|
@@ -2159,16 +2159,16 @@ declare namespace Components {
|
|
|
2159
2159
|
aggs?: {
|
|
2160
2160
|
[key: string]: any;
|
|
2161
2161
|
};
|
|
2162
|
-
|
|
2163
|
-
* Whether to include
|
|
2164
|
-
* - `true`: include
|
|
2165
|
-
* - `false`: exclude
|
|
2166
|
-
* - `only`: include only
|
|
2162
|
+
include_deleted?: /**
|
|
2163
|
+
* Whether to include deleted entities in the search results
|
|
2164
|
+
* - `true`: include deleted entities
|
|
2165
|
+
* - `false`: exclude deleted entities
|
|
2166
|
+
* - `only`: include only deleted entities
|
|
2167
2167
|
*
|
|
2168
|
-
* By default, no
|
|
2168
|
+
* By default, no deleted entities are included in the search results.
|
|
2169
2169
|
*
|
|
2170
2170
|
*/
|
|
2171
|
-
|
|
2171
|
+
EntitySearchIncludeDeletedParam;
|
|
2172
2172
|
}
|
|
2173
2173
|
export interface EntityOperation {
|
|
2174
2174
|
entity: EntityId /* uuid */;
|
|
@@ -2618,6 +2618,7 @@ declare namespace Components {
|
|
|
2618
2618
|
* }
|
|
2619
2619
|
*/
|
|
2620
2620
|
SearchMappings;
|
|
2621
|
+
group_headlines?: GroupHeadline[];
|
|
2621
2622
|
}
|
|
2622
2623
|
export interface EntitySchemaGroup {
|
|
2623
2624
|
/**
|
|
@@ -2968,17 +2969,18 @@ declare namespace Components {
|
|
|
2968
2969
|
* }
|
|
2969
2970
|
*/
|
|
2970
2971
|
SearchMappings;
|
|
2972
|
+
group_headlines?: GroupHeadline[];
|
|
2971
2973
|
}
|
|
2972
2974
|
/**
|
|
2973
|
-
* Whether to include
|
|
2974
|
-
* - `true`: include
|
|
2975
|
-
* - `false`: exclude
|
|
2976
|
-
* - `only`: include only
|
|
2975
|
+
* Whether to include deleted entities in the search results
|
|
2976
|
+
* - `true`: include deleted entities
|
|
2977
|
+
* - `false`: exclude deleted entities
|
|
2978
|
+
* - `only`: include only deleted entities
|
|
2977
2979
|
*
|
|
2978
|
-
* By default, no
|
|
2980
|
+
* By default, no deleted entities are included in the search results.
|
|
2979
2981
|
*
|
|
2980
2982
|
*/
|
|
2981
|
-
export type
|
|
2983
|
+
export type EntitySearchIncludeDeletedParam = "true" | "false" | "only";
|
|
2982
2984
|
export interface EntitySearchOptions {
|
|
2983
2985
|
/**
|
|
2984
2986
|
* You can pass one sort field or an array of sort fields. Each sort field can be a string
|
|
@@ -3025,16 +3027,16 @@ declare namespace Components {
|
|
|
3025
3027
|
aggs?: {
|
|
3026
3028
|
[key: string]: any;
|
|
3027
3029
|
};
|
|
3028
|
-
|
|
3029
|
-
* Whether to include
|
|
3030
|
-
* - `true`: include
|
|
3031
|
-
* - `false`: exclude
|
|
3032
|
-
* - `only`: include only
|
|
3030
|
+
include_deleted?: /**
|
|
3031
|
+
* Whether to include deleted entities in the search results
|
|
3032
|
+
* - `true`: include deleted entities
|
|
3033
|
+
* - `false`: exclude deleted entities
|
|
3034
|
+
* - `only`: include only deleted entities
|
|
3033
3035
|
*
|
|
3034
|
-
* By default, no
|
|
3036
|
+
* By default, no deleted entities are included in the search results.
|
|
3035
3037
|
*
|
|
3036
3038
|
*/
|
|
3037
|
-
|
|
3039
|
+
EntitySearchIncludeDeletedParam;
|
|
3038
3040
|
}
|
|
3039
3041
|
export interface EntitySearchParams {
|
|
3040
3042
|
/**
|
|
@@ -3092,16 +3094,16 @@ declare namespace Components {
|
|
|
3092
3094
|
aggs?: {
|
|
3093
3095
|
[key: string]: any;
|
|
3094
3096
|
};
|
|
3095
|
-
|
|
3096
|
-
* Whether to include
|
|
3097
|
-
* - `true`: include
|
|
3098
|
-
* - `false`: exclude
|
|
3099
|
-
* - `only`: include only
|
|
3097
|
+
include_deleted?: /**
|
|
3098
|
+
* Whether to include deleted entities in the search results
|
|
3099
|
+
* - `true`: include deleted entities
|
|
3100
|
+
* - `false`: exclude deleted entities
|
|
3101
|
+
* - `only`: include only deleted entities
|
|
3100
3102
|
*
|
|
3101
|
-
* By default, no
|
|
3103
|
+
* By default, no deleted entities are included in the search results.
|
|
3102
3104
|
*
|
|
3103
3105
|
*/
|
|
3104
|
-
|
|
3106
|
+
EntitySearchIncludeDeletedParam;
|
|
3105
3107
|
}
|
|
3106
3108
|
export interface EntitySearchResults {
|
|
3107
3109
|
/**
|
|
@@ -3393,7 +3395,7 @@ declare namespace Components {
|
|
|
3393
3395
|
*/
|
|
3394
3396
|
feature_flag?: string;
|
|
3395
3397
|
/**
|
|
3396
|
-
* This attribute should only be active when
|
|
3398
|
+
* This attribute should only be active when one of the provided settings have the correct value
|
|
3397
3399
|
*/
|
|
3398
3400
|
settings_flag?: SettingFlag[];
|
|
3399
3401
|
value_formatter?: string;
|
|
@@ -3523,6 +3525,23 @@ declare namespace Components {
|
|
|
3523
3525
|
hits?: number;
|
|
3524
3526
|
relations?: GetRelationsResp;
|
|
3525
3527
|
}
|
|
3528
|
+
export interface GroupHeadline {
|
|
3529
|
+
id: string; // uuid
|
|
3530
|
+
name: string;
|
|
3531
|
+
label: string;
|
|
3532
|
+
layout?: string;
|
|
3533
|
+
/**
|
|
3534
|
+
* The group of headline attribute
|
|
3535
|
+
*/
|
|
3536
|
+
group: string;
|
|
3537
|
+
/**
|
|
3538
|
+
* The order of headline attribute
|
|
3539
|
+
*/
|
|
3540
|
+
order?: number;
|
|
3541
|
+
type: "headline";
|
|
3542
|
+
enable_divider?: boolean;
|
|
3543
|
+
divider?: "top_divider" | "bottom_divider";
|
|
3544
|
+
}
|
|
3526
3545
|
/**
|
|
3527
3546
|
* Entity with relation data resolved into the attribute values
|
|
3528
3547
|
* example:
|
|
@@ -3803,7 +3822,7 @@ declare namespace Components {
|
|
|
3803
3822
|
*/
|
|
3804
3823
|
feature_flag?: string;
|
|
3805
3824
|
/**
|
|
3806
|
-
* This attribute should only be active when
|
|
3825
|
+
* This attribute should only be active when one of the provided settings have the correct value
|
|
3807
3826
|
*/
|
|
3808
3827
|
settings_flag?: SettingFlag[];
|
|
3809
3828
|
value_formatter?: string;
|
|
@@ -3935,7 +3954,7 @@ declare namespace Components {
|
|
|
3935
3954
|
*/
|
|
3936
3955
|
feature_flag?: string;
|
|
3937
3956
|
/**
|
|
3938
|
-
* This attribute should only be active when
|
|
3957
|
+
* This attribute should only be active when one of the provided settings have the correct value
|
|
3939
3958
|
*/
|
|
3940
3959
|
settings_flag?: SettingFlag[];
|
|
3941
3960
|
value_formatter?: string;
|
|
@@ -4067,7 +4086,7 @@ declare namespace Components {
|
|
|
4067
4086
|
*/
|
|
4068
4087
|
feature_flag?: string;
|
|
4069
4088
|
/**
|
|
4070
|
-
* This attribute should only be active when
|
|
4089
|
+
* This attribute should only be active when one of the provided settings have the correct value
|
|
4071
4090
|
*/
|
|
4072
4091
|
settings_flag?: SettingFlag[];
|
|
4073
4092
|
value_formatter?: string;
|
|
@@ -4207,7 +4226,7 @@ declare namespace Components {
|
|
|
4207
4226
|
*/
|
|
4208
4227
|
feature_flag?: string;
|
|
4209
4228
|
/**
|
|
4210
|
-
* This attribute should only be active when
|
|
4229
|
+
* This attribute should only be active when one of the provided settings have the correct value
|
|
4211
4230
|
*/
|
|
4212
4231
|
settings_flag?: SettingFlag[];
|
|
4213
4232
|
value_formatter?: string;
|
|
@@ -4347,7 +4366,7 @@ declare namespace Components {
|
|
|
4347
4366
|
*/
|
|
4348
4367
|
feature_flag?: string;
|
|
4349
4368
|
/**
|
|
4350
|
-
* This attribute should only be active when
|
|
4369
|
+
* This attribute should only be active when one of the provided settings have the correct value
|
|
4351
4370
|
*/
|
|
4352
4371
|
settings_flag?: SettingFlag[];
|
|
4353
4372
|
value_formatter?: string;
|
|
@@ -4495,7 +4514,7 @@ declare namespace Components {
|
|
|
4495
4514
|
*/
|
|
4496
4515
|
feature_flag?: string;
|
|
4497
4516
|
/**
|
|
4498
|
-
* This attribute should only be active when
|
|
4517
|
+
* This attribute should only be active when one of the provided settings have the correct value
|
|
4499
4518
|
*/
|
|
4500
4519
|
settings_flag?: SettingFlag[];
|
|
4501
4520
|
value_formatter?: string;
|
|
@@ -4632,7 +4651,7 @@ declare namespace Components {
|
|
|
4632
4651
|
*/
|
|
4633
4652
|
feature_flag?: string;
|
|
4634
4653
|
/**
|
|
4635
|
-
* This attribute should only be active when
|
|
4654
|
+
* This attribute should only be active when one of the provided settings have the correct value
|
|
4636
4655
|
*/
|
|
4637
4656
|
settings_flag?: SettingFlag[];
|
|
4638
4657
|
value_formatter?: string;
|
|
@@ -4764,7 +4783,7 @@ declare namespace Components {
|
|
|
4764
4783
|
*/
|
|
4765
4784
|
feature_flag?: string;
|
|
4766
4785
|
/**
|
|
4767
|
-
* This attribute should only be active when
|
|
4786
|
+
* This attribute should only be active when one of the provided settings have the correct value
|
|
4768
4787
|
*/
|
|
4769
4788
|
settings_flag?: SettingFlag[];
|
|
4770
4789
|
value_formatter?: string;
|
|
@@ -4896,7 +4915,7 @@ declare namespace Components {
|
|
|
4896
4915
|
*/
|
|
4897
4916
|
feature_flag?: string;
|
|
4898
4917
|
/**
|
|
4899
|
-
* This attribute should only be active when
|
|
4918
|
+
* This attribute should only be active when one of the provided settings have the correct value
|
|
4900
4919
|
*/
|
|
4901
4920
|
settings_flag?: SettingFlag[];
|
|
4902
4921
|
value_formatter?: string;
|
|
@@ -5028,7 +5047,7 @@ declare namespace Components {
|
|
|
5028
5047
|
*/
|
|
5029
5048
|
feature_flag?: string;
|
|
5030
5049
|
/**
|
|
5031
|
-
* This attribute should only be active when
|
|
5050
|
+
* This attribute should only be active when one of the provided settings have the correct value
|
|
5032
5051
|
*/
|
|
5033
5052
|
settings_flag?: SettingFlag[];
|
|
5034
5053
|
value_formatter?: string;
|
|
@@ -5169,7 +5188,7 @@ declare namespace Components {
|
|
|
5169
5188
|
*/
|
|
5170
5189
|
feature_flag?: string;
|
|
5171
5190
|
/**
|
|
5172
|
-
* This attribute should only be active when
|
|
5191
|
+
* This attribute should only be active when one of the provided settings have the correct value
|
|
5173
5192
|
*/
|
|
5174
5193
|
settings_flag?: SettingFlag[];
|
|
5175
5194
|
value_formatter?: string;
|
|
@@ -5329,7 +5348,7 @@ declare namespace Components {
|
|
|
5329
5348
|
*/
|
|
5330
5349
|
feature_flag?: string;
|
|
5331
5350
|
/**
|
|
5332
|
-
* This attribute should only be active when
|
|
5351
|
+
* This attribute should only be active when one of the provided settings have the correct value
|
|
5333
5352
|
*/
|
|
5334
5353
|
settings_flag?: SettingFlag[];
|
|
5335
5354
|
value_formatter?: string;
|
|
@@ -5715,7 +5734,7 @@ declare namespace Components {
|
|
|
5715
5734
|
*/
|
|
5716
5735
|
feature_flag?: string;
|
|
5717
5736
|
/**
|
|
5718
|
-
* This attribute should only be active when
|
|
5737
|
+
* This attribute should only be active when one of the provided settings have the correct value
|
|
5719
5738
|
*/
|
|
5720
5739
|
settings_flag?: SettingFlag[];
|
|
5721
5740
|
value_formatter?: string;
|
|
@@ -6180,7 +6199,7 @@ declare namespace Components {
|
|
|
6180
6199
|
*/
|
|
6181
6200
|
feature_flag?: string;
|
|
6182
6201
|
/**
|
|
6183
|
-
* This attribute should only be active when
|
|
6202
|
+
* This attribute should only be active when one of the provided settings have the correct value
|
|
6184
6203
|
*/
|
|
6185
6204
|
settings_flag?: SettingFlag[];
|
|
6186
6205
|
value_formatter?: string;
|
|
@@ -6320,7 +6339,7 @@ declare namespace Components {
|
|
|
6320
6339
|
*/
|
|
6321
6340
|
feature_flag?: string;
|
|
6322
6341
|
/**
|
|
6323
|
-
* This attribute should only be active when
|
|
6342
|
+
* This attribute should only be active when one of the provided settings have the correct value
|
|
6324
6343
|
*/
|
|
6325
6344
|
settings_flag?: SettingFlag[];
|
|
6326
6345
|
value_formatter?: string;
|
|
@@ -6469,7 +6488,7 @@ declare namespace Components {
|
|
|
6469
6488
|
*/
|
|
6470
6489
|
feature_flag?: string;
|
|
6471
6490
|
/**
|
|
6472
|
-
* This attribute should only be active when
|
|
6491
|
+
* This attribute should only be active when one of the provided settings have the correct value
|
|
6473
6492
|
*/
|
|
6474
6493
|
settings_flag?: SettingFlag[];
|
|
6475
6494
|
value_formatter?: string;
|
|
@@ -6671,7 +6690,7 @@ declare namespace Components {
|
|
|
6671
6690
|
*/
|
|
6672
6691
|
feature_flag?: string;
|
|
6673
6692
|
/**
|
|
6674
|
-
* This attribute should only be active when
|
|
6693
|
+
* This attribute should only be active when one of the provided settings have the correct value
|
|
6675
6694
|
*/
|
|
6676
6695
|
settings_flag?: SettingFlag[];
|
|
6677
6696
|
value_formatter?: string;
|
|
@@ -6903,7 +6922,7 @@ declare namespace Components {
|
|
|
6903
6922
|
*/
|
|
6904
6923
|
feature_flag?: string;
|
|
6905
6924
|
/**
|
|
6906
|
-
* This attribute should only be active when
|
|
6925
|
+
* This attribute should only be active when one of the provided settings have the correct value
|
|
6907
6926
|
*/
|
|
6908
6927
|
settings_flag?: SettingFlag[];
|
|
6909
6928
|
value_formatter?: string;
|
|
@@ -7036,7 +7055,7 @@ declare namespace Components {
|
|
|
7036
7055
|
*/
|
|
7037
7056
|
feature_flag?: string;
|
|
7038
7057
|
/**
|
|
7039
|
-
* This attribute should only be active when
|
|
7058
|
+
* This attribute should only be active when one of the provided settings have the correct value
|
|
7040
7059
|
*/
|
|
7041
7060
|
settings_flag?: SettingFlag[];
|
|
7042
7061
|
value_formatter?: string;
|
|
@@ -8843,6 +8862,11 @@ declare namespace Paths {
|
|
|
8843
8862
|
export interface QueryParameters {
|
|
8844
8863
|
activity_id?: Parameters.ActivityId;
|
|
8845
8864
|
}
|
|
8865
|
+
/**
|
|
8866
|
+
* This endpoint doesn't require a payload, but an empty object can be sent to satisfy certain HTTP clients.
|
|
8867
|
+
*/
|
|
8868
|
+
export interface RequestBody {
|
|
8869
|
+
}
|
|
8846
8870
|
namespace Responses {
|
|
8847
8871
|
export type $200 = /**
|
|
8848
8872
|
* example:
|
|
@@ -9649,7 +9673,7 @@ export interface OperationMethods {
|
|
|
9649
9673
|
*/
|
|
9650
9674
|
'restoreEntity'(
|
|
9651
9675
|
parameters?: Parameters<Paths.RestoreEntity.QueryParameters & Paths.RestoreEntity.PathParameters> | null,
|
|
9652
|
-
data?:
|
|
9676
|
+
data?: Paths.RestoreEntity.RequestBody,
|
|
9653
9677
|
config?: AxiosRequestConfig
|
|
9654
9678
|
): OperationResponse<Paths.RestoreEntity.Responses.$200>
|
|
9655
9679
|
/**
|
|
@@ -10575,7 +10599,7 @@ export interface PathsDictionary {
|
|
|
10575
10599
|
*/
|
|
10576
10600
|
'patch'(
|
|
10577
10601
|
parameters?: Parameters<Paths.RestoreEntity.QueryParameters & Paths.RestoreEntity.PathParameters> | null,
|
|
10578
|
-
data?:
|
|
10602
|
+
data?: Paths.RestoreEntity.RequestBody,
|
|
10579
10603
|
config?: AxiosRequestConfig
|
|
10580
10604
|
): OperationResponse<Paths.RestoreEntity.Responses.$200>
|
|
10581
10605
|
}
|
|
@@ -11322,7 +11346,7 @@ export type EntitySchema = Components.Schemas.EntitySchema;
|
|
|
11322
11346
|
export type EntitySchemaGroup = Components.Schemas.EntitySchemaGroup;
|
|
11323
11347
|
export type EntitySchemaGroupWithCompositeID = Components.Schemas.EntitySchemaGroupWithCompositeID;
|
|
11324
11348
|
export type EntitySchemaItem = Components.Schemas.EntitySchemaItem;
|
|
11325
|
-
export type
|
|
11349
|
+
export type EntitySearchIncludeDeletedParam = Components.Schemas.EntitySearchIncludeDeletedParam;
|
|
11326
11350
|
export type EntitySearchOptions = Components.Schemas.EntitySearchOptions;
|
|
11327
11351
|
export type EntitySearchParams = Components.Schemas.EntitySearchParams;
|
|
11328
11352
|
export type EntitySearchResults = Components.Schemas.EntitySearchResults;
|
|
@@ -11342,6 +11366,7 @@ export type GenerateEntityTableAIFiltersResponse = Components.Schemas.GenerateEn
|
|
|
11342
11366
|
export type GetRelatedEntitiesCount = Components.Schemas.GetRelatedEntitiesCount;
|
|
11343
11367
|
export type GetRelationsResp = Components.Schemas.GetRelationsResp;
|
|
11344
11368
|
export type GetRelationsRespWithPagination = Components.Schemas.GetRelationsRespWithPagination;
|
|
11369
|
+
export type GroupHeadline = Components.Schemas.GroupHeadline;
|
|
11345
11370
|
export type HydratedEntity = Components.Schemas.HydratedEntity;
|
|
11346
11371
|
export type HydratedEntityItem = Components.Schemas.HydratedEntityItem;
|
|
11347
11372
|
export type InternalAttribute = Components.Schemas.InternalAttribute;
|
package/dist/openapi.json
CHANGED
|
@@ -944,7 +944,7 @@
|
|
|
944
944
|
}
|
|
945
945
|
},
|
|
946
946
|
"405": {
|
|
947
|
-
"description": "
|
|
947
|
+
"description": "Deleted entities cannot be updated. You'll need to recover the entity first before updating."
|
|
948
948
|
},
|
|
949
949
|
"409": {
|
|
950
950
|
"description": "Conflict: multiple entities were matched with `unique_key`"
|
|
@@ -1014,6 +1014,16 @@
|
|
|
1014
1014
|
"$ref": "#/components/parameters/ActivityIdQueryParam"
|
|
1015
1015
|
}
|
|
1016
1016
|
],
|
|
1017
|
+
"requestBody": {
|
|
1018
|
+
"content": {
|
|
1019
|
+
"application/json": {
|
|
1020
|
+
"schema": {
|
|
1021
|
+
"type": "object",
|
|
1022
|
+
"description": "This endpoint doesn't require a payload, but an empty object can be sent to satisfy certain HTTP clients."
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1025
|
+
}
|
|
1026
|
+
},
|
|
1017
1027
|
"responses": {
|
|
1018
1028
|
"200": {
|
|
1019
1029
|
"description": "The restored entity",
|
|
@@ -1026,7 +1036,7 @@
|
|
|
1026
1036
|
}
|
|
1027
1037
|
},
|
|
1028
1038
|
"400": {
|
|
1029
|
-
"description": "The entity is not
|
|
1039
|
+
"description": "The entity is not deleted"
|
|
1030
1040
|
},
|
|
1031
1041
|
"404": {
|
|
1032
1042
|
"description": "The entity was not found"
|
|
@@ -3498,6 +3508,12 @@
|
|
|
3498
3508
|
},
|
|
3499
3509
|
"explicit_search_mappings": {
|
|
3500
3510
|
"$ref": "#/components/schemas/SearchMappings"
|
|
3511
|
+
},
|
|
3512
|
+
"group_headlines": {
|
|
3513
|
+
"type": "array",
|
|
3514
|
+
"items": {
|
|
3515
|
+
"$ref": "#/components/schemas/GroupHeadline"
|
|
3516
|
+
}
|
|
3501
3517
|
}
|
|
3502
3518
|
},
|
|
3503
3519
|
"required": [
|
|
@@ -3930,7 +3946,7 @@
|
|
|
3930
3946
|
},
|
|
3931
3947
|
"settings_flag": {
|
|
3932
3948
|
"type": "array",
|
|
3933
|
-
"description": "This attribute should only be active when
|
|
3949
|
+
"description": "This attribute should only be active when one of the provided settings have the correct value",
|
|
3934
3950
|
"items": {
|
|
3935
3951
|
"$ref": "#/components/schemas/SettingFlag"
|
|
3936
3952
|
}
|
|
@@ -5002,6 +5018,56 @@
|
|
|
5002
5018
|
"value"
|
|
5003
5019
|
]
|
|
5004
5020
|
},
|
|
5021
|
+
"GroupHeadline": {
|
|
5022
|
+
"type": "object",
|
|
5023
|
+
"properties": {
|
|
5024
|
+
"id": {
|
|
5025
|
+
"type": "string",
|
|
5026
|
+
"format": "uuid"
|
|
5027
|
+
},
|
|
5028
|
+
"name": {
|
|
5029
|
+
"type": "string"
|
|
5030
|
+
},
|
|
5031
|
+
"label": {
|
|
5032
|
+
"type": "string"
|
|
5033
|
+
},
|
|
5034
|
+
"layout": {
|
|
5035
|
+
"type": "string"
|
|
5036
|
+
},
|
|
5037
|
+
"group": {
|
|
5038
|
+
"type": "string",
|
|
5039
|
+
"description": "The group of headline attribute"
|
|
5040
|
+
},
|
|
5041
|
+
"order": {
|
|
5042
|
+
"type": "integer",
|
|
5043
|
+
"description": "The order of headline attribute"
|
|
5044
|
+
},
|
|
5045
|
+
"type": {
|
|
5046
|
+
"type": "string",
|
|
5047
|
+
"enum": [
|
|
5048
|
+
"headline"
|
|
5049
|
+
]
|
|
5050
|
+
},
|
|
5051
|
+
"enable_divider": {
|
|
5052
|
+
"type": "boolean",
|
|
5053
|
+
"default": false
|
|
5054
|
+
},
|
|
5055
|
+
"divider": {
|
|
5056
|
+
"type": "string",
|
|
5057
|
+
"enum": [
|
|
5058
|
+
"top_divider",
|
|
5059
|
+
"bottom_divider"
|
|
5060
|
+
]
|
|
5061
|
+
}
|
|
5062
|
+
},
|
|
5063
|
+
"required": [
|
|
5064
|
+
"id",
|
|
5065
|
+
"name",
|
|
5066
|
+
"label",
|
|
5067
|
+
"group",
|
|
5068
|
+
"type"
|
|
5069
|
+
]
|
|
5070
|
+
},
|
|
5005
5071
|
"EntitySlug": {
|
|
5006
5072
|
"description": "URL-friendly identifier for the entity schema",
|
|
5007
5073
|
"type": "string",
|
|
@@ -5744,15 +5810,15 @@
|
|
|
5744
5810
|
"attribute"
|
|
5745
5811
|
]
|
|
5746
5812
|
},
|
|
5747
|
-
"
|
|
5813
|
+
"EntitySearchIncludeDeletedParam": {
|
|
5748
5814
|
"type": "string",
|
|
5749
5815
|
"enum": [
|
|
5750
5816
|
"true",
|
|
5751
5817
|
"false",
|
|
5752
5818
|
"only"
|
|
5753
5819
|
],
|
|
5754
|
-
"description": "Whether to include
|
|
5755
|
-
"default": false
|
|
5820
|
+
"description": "Whether to include deleted entities in the search results\n- `true`: include deleted entities\n- `false`: exclude deleted entities\n- `only`: include only deleted entities\n\nBy default, no deleted entities are included in the search results.\n",
|
|
5821
|
+
"default": "false"
|
|
5756
5822
|
},
|
|
5757
5823
|
"EntitySearchParams": {
|
|
5758
5824
|
"allOf": [
|
|
@@ -5775,8 +5841,8 @@
|
|
|
5775
5841
|
"hydrate": {},
|
|
5776
5842
|
"fields": {},
|
|
5777
5843
|
"aggs": {},
|
|
5778
|
-
"
|
|
5779
|
-
"$ref": "#/components/schemas/
|
|
5844
|
+
"include_deleted": {
|
|
5845
|
+
"$ref": "#/components/schemas/EntitySearchIncludeDeletedParam"
|
|
5780
5846
|
}
|
|
5781
5847
|
},
|
|
5782
5848
|
"additionalProperties": false,
|
|
@@ -6037,8 +6103,8 @@
|
|
|
6037
6103
|
}
|
|
6038
6104
|
}
|
|
6039
6105
|
},
|
|
6040
|
-
"
|
|
6041
|
-
"$ref": "#/components/schemas/
|
|
6106
|
+
"include_deleted": {
|
|
6107
|
+
"$ref": "#/components/schemas/EntitySearchIncludeDeletedParam"
|
|
6042
6108
|
}
|
|
6043
6109
|
}
|
|
6044
6110
|
},
|