@epilot/entity-client 7.0.0 → 7.1.1
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 +49 -3
- package/dist/openapi.d.ts +144 -6
- package/dist/openapi.json +159 -3
- package/package.json +1 -1
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={438(e,t,a){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var n=r(a(466));t.default=n.default},466(e){e.exports=JSON.parse('{"openapi":"3.0.2","info":{"title":"","version":""},"paths":{"/v1/entity/schemas":{"get":{"operationId":"listSchemas","parameters":[{"in":"query","name":"unpublished"},{"in":"query","name":"exclude","style":"form","explode":false},{"in":"query","name":"include","style":"form","explode":false}],"responses":{}}},"/v2/entity/schemas":{"get":{"operationId":"listSchemasV2","parameters":[{"in":"query","name":"full"},{"in":"query","name":"unpublished"},{"in":"query","name":"exclude","style":"form","explode":false},{"in":"query","name":"include","style":"form","explode":false}],"responses":{}}},"/v1/entity/schemas/{slug}":{"get":{"operationId":"getSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"in":"query","name":"id"}],"responses":{}},"put":{"operationId":"putSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"in":"query","name":"draft"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"}],"responses":{}}},"/v1/entity/schemas/{slug}/json/schema":{"get":{"operationId":"getJsonSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"in":"query","name":"dereference"}],"responses":{}}},"/v1/entity/schemas/{slug}/json/example":{"get":{"operationId":"getSchemaExample","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"}],"responses":{}}},"/v1/entity/schemas/{slug}/versions":{"get":{"operationId":"getSchemaVersions","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"in":"query","name":"versions_from"},{"in":"query","name":"versions_size"},{"in":"query","name":"drafts_from"},{"in":"query","name":"drafts_size"},{"in":"query","name":"fields","required":false,"style":"form","explode":false}],"responses":{}}},"/v1/entity/schemas/{slug}/capabilities/available":{"get":{"operationId":"listAvailableCapabilities","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"}],"responses":{}}},"/v1/entity/schemas/blueprints":{"get":{"operationId":"listSchemaBlueprints","responses":{}}},"/v1/entity:search":{"post":{"operationId":"searchEntities","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity:list":{"post":{"operationId":"listEntities","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity:graph":{"post":{"operationId":"queryEntityGraph","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}":{"post":{"operationId":"createEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ValidateEntityQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}:validate":{"post":{"operationId":"validateEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathPriceParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/entity/{slug}:validate":{"post":{"operationId":"validateEntityV2","parameters":[{"$ref":"#/components/parameters/EntitySlugPathPriceParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}:upsert":{"patch":{"operationId":"upsertEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/DryRunQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ValidateEntityQueryParam"},{"name":"strict","in":"query","required":false}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/entity/{slug}/{id}":{"get":{"operationId":"getEntityV2","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"in":"query","name":"fields","style":"form","explode":false}],"responses":{}}},"/v1/entity/{slug}/{id}:restore":{"patch":{"operationId":"restoreEntity","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}/{id}:reindex":{"post":{"operationId":"reindexEntity","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}/{id}":{"get":{"operationId":"getEntity","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"}],"responses":{}},"put":{"operationId":"updateEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ValidateEntityQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"patch":{"operationId":"patchEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/DryRunQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ValidateEntityQueryParam"}],"requestBody":{"content":{"application/json":{}},"required":true},"responses":{}},"delete":{"operationId":"deleteEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"in":"query","name":"purge"}],"responses":{}}},"/v1/entity:autocomplete":{"get":{"operationId":"autocomplete","parameters":[{"name":"input","in":"query"},{"name":"attribute","in":"query","required":true},{"name":"slug","in":"query"},{"name":"size","in":"query"}],"responses":{}}},"/v1/entity:wipeAllEntities":{"post":{"operationId":"wipeAllEntities","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/activity":{"post":{"operationId":"createActivity","parameters":[{"in":"query","name":"entities","style":"form","explode":false}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/activity/{id}":{"get":{"operationId":"getActivity","parameters":[{"$ref":"#/components/parameters/ActivityIdPathParam"},{"in":"query","name":"operations_size"},{"in":"query","name":"operations_from"}],"responses":{}}},"/v1/entity/activity/{id}:attach":{"post":{"operationId":"attachActivity","parameters":[{"$ref":"#/components/parameters/ActivityIdPathParam"},{"in":"query","name":"entities","style":"form","explode":false}],"responses":{}}},"/v1/entity/{slug}/{id}/activity":{"get":{"operationId":"getEntityActivityFeed","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"in":"query","name":"after"},{"in":"query","name":"before"},{"in":"query","name":"start_date"},{"in":"query","name":"end_date"},{"in":"query","name":"preset_range"},{"$ref":"#/components/parameters/FromPageQueryParam"},{"in":"query","name":"size"},{"in":"query","name":"type","style":"form","explode":false},{"in":"query","name":"include_relations"},{"in":"query","name":"exclude_activity_groups"}],"responses":{}}},"/v1/entity/{slug}/{id}/relations":{"get":{"operationId":"getRelations","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"$ref":"#/components/parameters/IncludeReverseQueryParam"},{"$ref":"#/components/parameters/FromPageQueryParam"},{"in":"query","name":"size","required":false},{"$ref":"#/components/parameters/IncludeSchemasQueryParam"},{"$ref":"#/components/parameters/ExcludeSchemasQueryParam"}],"responses":{}},"post":{"operationId":"addRelations","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"removeRelations","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/entity/{slug}/{id}/relations":{"get":{"operationId":"getRelationsV2","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"in":"query","name":"query"},{"$ref":"#/components/parameters/IncludeReverseQueryParam"},{"$ref":"#/components/parameters/FromPageQueryParam"},{"in":"query","name":"size"},{"in":"query","name":"fields"}],"responses":{}}},"/v3/entity/{slug}/{id}/relations":{"get":{"operationId":"getRelationsV3","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"$ref":"#/components/parameters/IncludeReverseDeprecatedQueryParam"},{"$ref":"#/components/parameters/FromPageQueryParam"},{"in":"query","name":"size","required":false},{"$ref":"#/components/parameters/IncludeSchemasQueryParam"},{"$ref":"#/components/parameters/ExcludeSchemasQueryParam"},{"$ref":"#/components/parameters/EntityRelationsModeQueryParam"},{"in":"query","name":"fields"},{"in":"query","name":"include_deleted","required":false}],"responses":{}}},"/v2/entity/{slug}/{id}/relations/count":{"get":{"operationId":"getRelatedEntitiesCount","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ExcludeSchemasQueryParam"}],"responses":{}}},"/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}":{"put":{"operationId":"updateRelation","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"in":"path","name":"attribute","required":true},{"in":"path","name":"entity_id","required":true},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteRelation","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"in":"path","name":"attribute","required":true},{"in":"path","name":"entity_id","required":true},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"responses":{}}},"/v1/entity:export":{"post":{"operationId":"exportEntities","parameters":[{"in":"query","name":"job_id"},{"in":"query","name":"is_template"},{"in":"query","name":"language"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity:import":{"post":{"operationId":"importEntities","parameters":[{"in":"query","name":"job_id"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/views":{"get":{"operationId":"listSavedViews","parameters":[{"in":"query","name":"slug","required":false},{"in":"query","name":"sort","required":false},{"in":"query","name":"from","required":false},{"in":"query","name":"size","required":false},{"in":"query","name":"fields","required":false}],"responses":{}}},"/v1/entity/view":{"post":{"operationId":"createSavedView","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/view/{id}":{"get":{"operationId":"getSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"responses":{}},"put":{"operationId":"updateSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"patch":{"operationId":"patchSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"responses":{}}},"/v1/entity/views/favorites":{"get":{"operationId":"listFavoriteViewsForUser","responses":{}}},"/v1/entity/taxonomies":{"get":{"operationId":"listTaxonomies","parameters":[{"in":"query","name":"include_disabled"},{"in":"query","name":"type"}],"responses":{}},"post":{"operationId":"createTaxonomy","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/taxonomies/{taxonomySlug}":{"get":{"operationId":"getTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"}],"responses":{}},"put":{"operationId":"updateTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"},{"in":"query","name":"permanent"}],"responses":{}}},"/v1/entity/taxonomies/{taxonomySlug}/classifications":{"post":{"operationId":"updateClassificationsForTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/entity/taxonomies/classifications":{"post":{"operationId":"createTaxonomyClassification","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/entity/taxonomies/classifications/{classificationSlug}":{"get":{"operationId":"getTaxonomyClassification","parameters":[{"$ref":"#/components/parameters/TaxonomyClassificationSlugPathParam"}],"responses":{}},"put":{"operationId":"updateTaxonomyClassification","parameters":[{"$ref":"#/components/parameters/TaxonomyClassificationSlugPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteTaxonomyClassification","parameters":[{"$ref":"#/components/parameters/TaxonomyClassificationSlugPathParam"}],"responses":{}}},"/v1/entity/taxonomies/{taxonomySlug}:autocomplete":{"get":{"operationId":"taxonomyAutocomplete","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"},{"in":"query","name":"query"},{"in":"query","name":"size"}],"responses":{}}},"/v1/entity/taxonomies/classifications:search":{"post":{"operationId":"taxonomiesClassificationsSearch","parameters":[{"in":"query","name":"taxonomySlug"},{"in":"query","name":"query"},{"in":"query","name":"archived","deprecated":true},{"in":"query","name":"include_archived"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/{slug}/taxonomy/{taxonomySlug}":{"get":{"operationId":"listTaxonomyClassificationsForSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/TaxonomySlugPathParam"},{"in":"query","name":"query"},{"in":"query","name":"size"}],"responses":{}}},"/v1/entity/taxonomies/bulk-jobs":{"get":{"operationId":"getTaxonomyBulkActionJobs","parameters":[{"in":"query","name":"status"},{"in":"query","name":"size"},{"in":"query","name":"created_after"},{"in":"query","name":"sort_pending_first"},{"in":"query","name":"scope"}],"responses":{}}},"/v1/entity/taxonomies/bulk-jobs/{job_id}":{"get":{"operationId":"getTaxonomyBulkActionJobById","parameters":[{"in":"path","name":"job_id","required":true}],"responses":{}}},"/v1/entity/taxonomies/bulk-jobs/{job_id}/cancel":{"post":{"operationId":"cancelBulkAction","parameters":[{"name":"job_id","in":"path","required":true}],"responses":{}}},"/v1/entity/taxonomies/classifications:move":{"post":{"operationId":"bulkMoveClassifications","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/taxonomies/classifications:merge":{"post":{"operationId":"bulkMergeClassifications","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/taxonomies/classifications:delete":{"post":{"operationId":"bulkDeleteClassifications","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/attributes":{"post":{"operationId":"createSchemaAttribute","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/attributes/{composite_id}":{"get":{"operationId":"getSchemaAttribute","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaAttribute","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaAttribute","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}},"/v1/entity/schemas/capabilities":{"post":{"operationId":"createSchemaCapability","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/capabilities/{composite_id}":{"get":{"operationId":"getSchemaCapability","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaCapability","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaCapability","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}},"/v1/entity/schemas/group":{"post":{"operationId":"createSchemaGroup","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/group/{composite_id}":{"get":{"operationId":"getSchemaGroup","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaGroup","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaGroup","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}},"/v1/entity/schemas/headline":{"post":{"operationId":"createSchemaGroupHeadline","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/headline/{composite_id}":{"get":{"operationId":"getSchemaGroupHeadline","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaGroupHeadline","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaGroupHeadline","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}}},"components":{"parameters":{"EntityIdPathParam":{"name":"id","in":"path","required":true},"EntitySlugPathParam":{"name":"slug","in":"path","required":true},"EntitySlugPathPriceParam":{"name":"slug","in":"path","required":true},"TaxonomySlugQueryParam":{"name":"taxonomySlug","in":"query","required":true},"TaxonomySlugPathParam":{"name":"taxonomySlug","in":"path","required":true},"TaxonomySlugQueryParamOptional":{"name":"taxonomySlug","in":"query"},"TaxonomyClassificationSlugPathParam":{"name":"classificationSlug","in":"path","required":true},"SavedViewIdPathParam":{"name":"id","in":"path","required":true},"AsyncOperationQueryParam":{"name":"async","in":"query","required":false},"HydrateEntitiesQueryParam":{"name":"hydrate","in":"query"},"ActivityIdQueryParam":{"name":"activity_id","in":"query","required":false},"ActivityIdPathParam":{"name":"id","in":"path","required":true},"FromPageQueryParam":{"name":"from","in":"query"},"IncludeReverseDeprecatedQueryParam":{"name":"include_reverse","in":"query","deprecated":true},"IncludeReverseQueryParam":{"name":"include_reverse","in":"query"},"IncludeSchemasQueryParam":{"name":"include_schemas","in":"query","required":false,"style":"form","explode":false},"ExcludeSchemasQueryParam":{"name":"exclude_schemas","in":"query","required":false,"style":"form","explode":false},"EntityRelationsModeQueryParam":{"name":"mode","in":"query","required":false},"DryRunQueryParam":{"name":"dry_run","in":"query","required":false},"FillActivityQueryParam":{"name":"fill_activity","in":"query","required":false},"ValidateEntityQueryParam":{"name":"validate","in":"query"}},"responses":{"BadRequestError":{"content":{"application/json":{}}},"NotFoundError":{"content":{"application/json":{}}},"TooManyRequestsError":{"headers":{"Retry-After":{}},"content":{"application/json":{}}}}},"servers":[{"url":"https://entity.sls.epilot.io"}]}')}},t={},a=function a(r){var n=t[r];if(void 0!==n)return n.exports;var s=t[r]={exports:{}};return e[r].call(s.exports,s,s.exports,a),s.exports}(438),r=exports;for(var n in a)r[n]=a[n];a.__esModule&&Object.defineProperty(r,"__esModule",{value:!0})})();
|
|
1
|
+
(()=>{"use strict";var e={330(e,t,a){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var n=r(a(466));t.default=n.default},466(e){e.exports=JSON.parse('{"openapi":"3.0.2","info":{"title":"","version":""},"paths":{"/v1/entity/schemas":{"get":{"operationId":"listSchemas","parameters":[{"in":"query","name":"unpublished","deprecated":true},{"in":"query","name":"latest"},{"in":"query","name":"exclude","style":"form","explode":false},{"in":"query","name":"include","style":"form","explode":false}],"responses":{}}},"/v2/entity/schemas":{"get":{"operationId":"listSchemasV2","parameters":[{"in":"query","name":"full"},{"in":"query","name":"unpublished","deprecated":true},{"in":"query","name":"latest"},{"in":"query","name":"exclude","style":"form","explode":false},{"in":"query","name":"include","style":"form","explode":false}],"responses":{}}},"/v1/entity/schemas/{slug}":{"get":{"operationId":"getSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"in":"query","name":"id"},{"in":"query","name":"latest"}],"responses":{}},"put":{"operationId":"putSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"in":"query","name":"draft","deprecated":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"}],"responses":{}}},"/v1/entity/schemas/{slug}/json/schema":{"get":{"operationId":"getJsonSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"in":"query","name":"dereference"}],"responses":{}}},"/v1/entity/schemas/{slug}/json/example":{"get":{"operationId":"getSchemaExample","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"}],"responses":{}}},"/v1/entity/schemas/{slug}/versions":{"get":{"operationId":"getSchemaVersions","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"in":"query","name":"versions_from"},{"in":"query","name":"versions_size"},{"in":"query","name":"drafts_from"},{"in":"query","name":"drafts_size"},{"in":"query","name":"fields","required":false,"style":"form","explode":false}],"responses":{}}},"/v1/entity/schemas/{slug}/freeze":{"post":{"operationId":"freezeSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/{slug}/unfreeze":{"post":{"operationId":"unfreezeSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"}],"responses":{}}},"/v1/entity/schemas/{slug}/capabilities/available":{"get":{"operationId":"listAvailableCapabilities","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"}],"responses":{}}},"/v1/entity/schemas/blueprints":{"get":{"operationId":"listSchemaBlueprints","responses":{}}},"/v1/entity:search":{"post":{"operationId":"searchEntities","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity:list":{"post":{"operationId":"listEntities","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity:graph":{"post":{"operationId":"queryEntityGraph","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}":{"post":{"operationId":"createEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ValidateEntityQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}:validate":{"post":{"operationId":"validateEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathPriceParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/entity/{slug}:validate":{"post":{"operationId":"validateEntityV2","parameters":[{"$ref":"#/components/parameters/EntitySlugPathPriceParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}:upsert":{"patch":{"operationId":"upsertEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/DryRunQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ValidateEntityQueryParam"},{"name":"strict","in":"query","required":false}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/entity/{slug}/{id}":{"get":{"operationId":"getEntityV2","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"in":"query","name":"fields","style":"form","explode":false}],"responses":{}}},"/v1/entity/{slug}/{id}:restore":{"patch":{"operationId":"restoreEntity","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}/{id}:reindex":{"post":{"operationId":"reindexEntity","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}/{id}":{"get":{"operationId":"getEntity","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"}],"responses":{}},"put":{"operationId":"updateEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ValidateEntityQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"patch":{"operationId":"patchEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/DryRunQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ValidateEntityQueryParam"}],"requestBody":{"content":{"application/json":{}},"required":true},"responses":{}},"delete":{"operationId":"deleteEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"in":"query","name":"purge"}],"responses":{}}},"/v1/entity:autocomplete":{"get":{"operationId":"autocomplete","parameters":[{"name":"input","in":"query"},{"name":"attribute","in":"query","required":true},{"name":"slug","in":"query"},{"name":"size","in":"query"}],"responses":{}}},"/v1/entity:wipeAllEntities":{"post":{"operationId":"wipeAllEntities","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/activity":{"post":{"operationId":"createActivity","parameters":[{"in":"query","name":"entities","style":"form","explode":false}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/activity/{id}":{"get":{"operationId":"getActivity","parameters":[{"$ref":"#/components/parameters/ActivityIdPathParam"},{"in":"query","name":"operations_size"},{"in":"query","name":"operations_from"}],"responses":{}}},"/v1/entity/activity/{id}:attach":{"post":{"operationId":"attachActivity","parameters":[{"$ref":"#/components/parameters/ActivityIdPathParam"},{"in":"query","name":"entities","style":"form","explode":false}],"responses":{}}},"/v1/entity/{slug}/{id}/activity":{"get":{"operationId":"getEntityActivityFeed","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"in":"query","name":"after"},{"in":"query","name":"before"},{"in":"query","name":"start_date"},{"in":"query","name":"end_date"},{"in":"query","name":"preset_range"},{"$ref":"#/components/parameters/FromPageQueryParam"},{"in":"query","name":"size"},{"in":"query","name":"type","style":"form","explode":false},{"in":"query","name":"include_relations"},{"in":"query","name":"exclude_activity_groups"}],"responses":{}}},"/v1/entity/{slug}/{id}/relations":{"get":{"operationId":"getRelations","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"$ref":"#/components/parameters/IncludeReverseQueryParam"},{"$ref":"#/components/parameters/FromPageQueryParam"},{"in":"query","name":"size","required":false},{"$ref":"#/components/parameters/IncludeSchemasQueryParam"},{"$ref":"#/components/parameters/ExcludeSchemasQueryParam"}],"responses":{}},"post":{"operationId":"addRelations","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"removeRelations","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/entity/{slug}/{id}/relations":{"get":{"operationId":"getRelationsV2","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"in":"query","name":"query"},{"$ref":"#/components/parameters/IncludeReverseQueryParam"},{"$ref":"#/components/parameters/FromPageQueryParam"},{"in":"query","name":"size"},{"in":"query","name":"fields"}],"responses":{}}},"/v3/entity/{slug}/{id}/relations":{"get":{"operationId":"getRelationsV3","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"$ref":"#/components/parameters/IncludeReverseDeprecatedQueryParam"},{"$ref":"#/components/parameters/FromPageQueryParam"},{"in":"query","name":"size","required":false},{"$ref":"#/components/parameters/IncludeSchemasQueryParam"},{"$ref":"#/components/parameters/ExcludeSchemasQueryParam"},{"$ref":"#/components/parameters/EntityRelationsModeQueryParam"},{"in":"query","name":"fields"},{"in":"query","name":"include_deleted","required":false}],"responses":{}}},"/v2/entity/{slug}/{id}/relations/count":{"get":{"operationId":"getRelatedEntitiesCount","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ExcludeSchemasQueryParam"}],"responses":{}}},"/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}":{"put":{"operationId":"updateRelation","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"in":"path","name":"attribute","required":true},{"in":"path","name":"entity_id","required":true},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteRelation","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"in":"path","name":"attribute","required":true},{"in":"path","name":"entity_id","required":true},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"responses":{}}},"/v1/entity:export":{"post":{"operationId":"exportEntities","parameters":[{"in":"query","name":"job_id"},{"in":"query","name":"is_template"},{"in":"query","name":"language"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity:import":{"post":{"operationId":"importEntities","parameters":[{"in":"query","name":"job_id"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/views":{"get":{"operationId":"listSavedViews","parameters":[{"in":"query","name":"slug","required":false},{"in":"query","name":"sort","required":false},{"in":"query","name":"from","required":false},{"in":"query","name":"size","required":false},{"in":"query","name":"fields","required":false}],"responses":{}}},"/v1/entity/view":{"post":{"operationId":"createSavedView","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/view/{id}":{"get":{"operationId":"getSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"responses":{}},"put":{"operationId":"updateSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"patch":{"operationId":"patchSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"responses":{}}},"/v1/entity/views/favorites":{"get":{"operationId":"listFavoriteViewsForUser","responses":{}}},"/v1/entity/taxonomies":{"get":{"operationId":"listTaxonomies","parameters":[{"in":"query","name":"include_disabled"},{"in":"query","name":"type"}],"responses":{}},"post":{"operationId":"createTaxonomy","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/taxonomies/{taxonomySlug}":{"get":{"operationId":"getTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"}],"responses":{}},"put":{"operationId":"updateTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"},{"in":"query","name":"permanent"}],"responses":{}}},"/v1/entity/taxonomies/{taxonomySlug}/classifications":{"post":{"operationId":"updateClassificationsForTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/entity/taxonomies/classifications":{"post":{"operationId":"createTaxonomyClassification","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/entity/taxonomies/classifications/{classificationSlug}":{"get":{"operationId":"getTaxonomyClassification","parameters":[{"$ref":"#/components/parameters/TaxonomyClassificationSlugPathParam"}],"responses":{}},"put":{"operationId":"updateTaxonomyClassification","parameters":[{"$ref":"#/components/parameters/TaxonomyClassificationSlugPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteTaxonomyClassification","parameters":[{"$ref":"#/components/parameters/TaxonomyClassificationSlugPathParam"}],"responses":{}}},"/v1/entity/taxonomies/{taxonomySlug}:autocomplete":{"get":{"operationId":"taxonomyAutocomplete","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"},{"in":"query","name":"query"},{"in":"query","name":"size"}],"responses":{}}},"/v1/entity/taxonomies/classifications:search":{"post":{"operationId":"taxonomiesClassificationsSearch","parameters":[{"in":"query","name":"taxonomySlug"},{"in":"query","name":"query"},{"in":"query","name":"archived","deprecated":true},{"in":"query","name":"include_archived"},{"in":"query","name":"exclude_types"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/{slug}/taxonomy/{taxonomySlug}":{"get":{"operationId":"listTaxonomyClassificationsForSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/TaxonomySlugPathParam"},{"in":"query","name":"query"},{"in":"query","name":"size"}],"responses":{}}},"/v1/entity/taxonomies/bulk-jobs":{"get":{"operationId":"getTaxonomyBulkActionJobs","parameters":[{"in":"query","name":"status"},{"in":"query","name":"size"},{"in":"query","name":"created_after"},{"in":"query","name":"sort_pending_first"},{"in":"query","name":"scope"}],"responses":{}}},"/v1/entity/taxonomies/bulk-jobs/{job_id}":{"get":{"operationId":"getTaxonomyBulkActionJobById","parameters":[{"in":"path","name":"job_id","required":true}],"responses":{}}},"/v1/entity/taxonomies/bulk-jobs/{job_id}/cancel":{"post":{"operationId":"cancelBulkAction","parameters":[{"name":"job_id","in":"path","required":true}],"responses":{}}},"/v1/entity/taxonomies/classifications:move":{"post":{"operationId":"bulkMoveClassifications","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/taxonomies/classifications:merge":{"post":{"operationId":"bulkMergeClassifications","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/taxonomies/classifications:delete":{"post":{"operationId":"bulkDeleteClassifications","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/attributes":{"post":{"operationId":"createSchemaAttribute","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/attributes/{composite_id}":{"get":{"operationId":"getSchemaAttribute","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaAttribute","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaAttribute","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}},"/v1/entity/schemas/capabilities":{"post":{"operationId":"createSchemaCapability","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/capabilities/{composite_id}":{"get":{"operationId":"getSchemaCapability","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaCapability","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaCapability","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}},"/v1/entity/schemas/group":{"post":{"operationId":"createSchemaGroup","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/group/{composite_id}":{"get":{"operationId":"getSchemaGroup","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaGroup","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaGroup","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}},"/v1/entity/schemas/headline":{"post":{"operationId":"createSchemaGroupHeadline","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/headline/{composite_id}":{"get":{"operationId":"getSchemaGroupHeadline","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaGroupHeadline","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaGroupHeadline","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}}},"components":{"parameters":{"EntityIdPathParam":{"name":"id","in":"path","required":true},"EntitySlugPathParam":{"name":"slug","in":"path","required":true},"EntitySlugPathPriceParam":{"name":"slug","in":"path","required":true},"TaxonomySlugQueryParam":{"name":"taxonomySlug","in":"query","required":true},"TaxonomySlugPathParam":{"name":"taxonomySlug","in":"path","required":true},"TaxonomySlugQueryParamOptional":{"name":"taxonomySlug","in":"query"},"TaxonomyClassificationSlugPathParam":{"name":"classificationSlug","in":"path","required":true},"SavedViewIdPathParam":{"name":"id","in":"path","required":true},"AsyncOperationQueryParam":{"name":"async","in":"query","required":false},"HydrateEntitiesQueryParam":{"name":"hydrate","in":"query"},"ActivityIdQueryParam":{"name":"activity_id","in":"query","required":false},"ActivityIdPathParam":{"name":"id","in":"path","required":true},"FromPageQueryParam":{"name":"from","in":"query"},"IncludeReverseDeprecatedQueryParam":{"name":"include_reverse","in":"query","deprecated":true},"IncludeReverseQueryParam":{"name":"include_reverse","in":"query"},"IncludeSchemasQueryParam":{"name":"include_schemas","in":"query","required":false,"style":"form","explode":false},"ExcludeSchemasQueryParam":{"name":"exclude_schemas","in":"query","required":false,"style":"form","explode":false},"EntityRelationsModeQueryParam":{"name":"mode","in":"query","required":false},"DryRunQueryParam":{"name":"dry_run","in":"query","required":false},"FillActivityQueryParam":{"name":"fill_activity","in":"query","required":false},"ValidateEntityQueryParam":{"name":"validate","in":"query"}},"responses":{"BadRequestError":{"content":{"application/json":{}}},"NotFoundError":{"content":{"application/json":{}}},"TooManyRequestsError":{"headers":{"Retry-After":{}},"content":{"application/json":{}}}}},"servers":[{"url":"https://entity.sls.epilot.io"}]}')}},t={},a=function a(r){var n=t[r];if(void 0!==n)return n.exports;var s=t[r]={exports:{}};return e[r].call(s.exports,s,s.exports,a),s.exports}(330),r=exports;for(var n in a)r[n]=a[n];a.__esModule&&Object.defineProperty(r,"__esModule",{value:!0})})();
|
|
@@ -11,7 +11,12 @@
|
|
|
11
11
|
"parameters": [
|
|
12
12
|
{
|
|
13
13
|
"in": "query",
|
|
14
|
-
"name": "unpublished"
|
|
14
|
+
"name": "unpublished",
|
|
15
|
+
"deprecated": true
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"in": "query",
|
|
19
|
+
"name": "latest"
|
|
15
20
|
},
|
|
16
21
|
{
|
|
17
22
|
"in": "query",
|
|
@@ -39,7 +44,12 @@
|
|
|
39
44
|
},
|
|
40
45
|
{
|
|
41
46
|
"in": "query",
|
|
42
|
-
"name": "unpublished"
|
|
47
|
+
"name": "unpublished",
|
|
48
|
+
"deprecated": true
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"in": "query",
|
|
52
|
+
"name": "latest"
|
|
43
53
|
},
|
|
44
54
|
{
|
|
45
55
|
"in": "query",
|
|
@@ -67,6 +77,10 @@
|
|
|
67
77
|
{
|
|
68
78
|
"in": "query",
|
|
69
79
|
"name": "id"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"in": "query",
|
|
83
|
+
"name": "latest"
|
|
70
84
|
}
|
|
71
85
|
],
|
|
72
86
|
"responses": {}
|
|
@@ -79,7 +93,8 @@
|
|
|
79
93
|
},
|
|
80
94
|
{
|
|
81
95
|
"in": "query",
|
|
82
|
-
"name": "draft"
|
|
96
|
+
"name": "draft",
|
|
97
|
+
"deprecated": true
|
|
83
98
|
}
|
|
84
99
|
],
|
|
85
100
|
"requestBody": {
|
|
@@ -159,6 +174,33 @@
|
|
|
159
174
|
"responses": {}
|
|
160
175
|
}
|
|
161
176
|
},
|
|
177
|
+
"/v1/entity/schemas/{slug}/freeze": {
|
|
178
|
+
"post": {
|
|
179
|
+
"operationId": "freezeSchema",
|
|
180
|
+
"parameters": [
|
|
181
|
+
{
|
|
182
|
+
"$ref": "#/components/parameters/EntitySlugPathParam"
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"requestBody": {
|
|
186
|
+
"content": {
|
|
187
|
+
"application/json": {}
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"responses": {}
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"/v1/entity/schemas/{slug}/unfreeze": {
|
|
194
|
+
"post": {
|
|
195
|
+
"operationId": "unfreezeSchema",
|
|
196
|
+
"parameters": [
|
|
197
|
+
{
|
|
198
|
+
"$ref": "#/components/parameters/EntitySlugPathParam"
|
|
199
|
+
}
|
|
200
|
+
],
|
|
201
|
+
"responses": {}
|
|
202
|
+
}
|
|
203
|
+
},
|
|
162
204
|
"/v1/entity/schemas/{slug}/capabilities/available": {
|
|
163
205
|
"get": {
|
|
164
206
|
"operationId": "listAvailableCapabilities",
|
|
@@ -1158,6 +1200,10 @@
|
|
|
1158
1200
|
{
|
|
1159
1201
|
"in": "query",
|
|
1160
1202
|
"name": "include_archived"
|
|
1203
|
+
},
|
|
1204
|
+
{
|
|
1205
|
+
"in": "query",
|
|
1206
|
+
"name": "exclude_types"
|
|
1161
1207
|
}
|
|
1162
1208
|
],
|
|
1163
1209
|
"requestBody": {
|
package/dist/openapi.d.ts
CHANGED
|
@@ -3884,6 +3884,14 @@ declare namespace Components {
|
|
|
3884
3884
|
id?: string;
|
|
3885
3885
|
type?: string;
|
|
3886
3886
|
};
|
|
3887
|
+
/**
|
|
3888
|
+
* Indicates this schema is currently frozen. Present when the returned version is the frozen version.
|
|
3889
|
+
*/
|
|
3890
|
+
frozen?: boolean;
|
|
3891
|
+
/**
|
|
3892
|
+
* Indicates this is the latest version of the schema. Both frozen and latest can be true if no changes were made since freezing.
|
|
3893
|
+
*/
|
|
3894
|
+
latest?: boolean;
|
|
3887
3895
|
/**
|
|
3888
3896
|
* Indicates this is a truncated summary schema (attributes trimmed to summary_attributes only, no capabilities or group_settings)
|
|
3889
3897
|
*/
|
|
@@ -11224,6 +11232,37 @@ declare namespace Paths {
|
|
|
11224
11232
|
Components.Responses.TooManyRequestsError;
|
|
11225
11233
|
}
|
|
11226
11234
|
}
|
|
11235
|
+
namespace FreezeSchema {
|
|
11236
|
+
namespace Parameters {
|
|
11237
|
+
export type Slug = /**
|
|
11238
|
+
* URL-friendly identifier for the entity schema
|
|
11239
|
+
* example:
|
|
11240
|
+
* contact
|
|
11241
|
+
*/
|
|
11242
|
+
Components.Schemas.EntitySlug /* ^[a-zA-Z0-9_-]+$ */;
|
|
11243
|
+
}
|
|
11244
|
+
export interface PathParameters {
|
|
11245
|
+
slug: Parameters.Slug;
|
|
11246
|
+
}
|
|
11247
|
+
export interface RequestBody {
|
|
11248
|
+
/**
|
|
11249
|
+
* Freeze to a specific version ID. Defaults to the current version.
|
|
11250
|
+
*/
|
|
11251
|
+
version_id?: string; // uuid
|
|
11252
|
+
}
|
|
11253
|
+
namespace Responses {
|
|
11254
|
+
export type $200 = /* The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities. */ Components.Schemas.EntitySchemaItem;
|
|
11255
|
+
export type $404 = /**
|
|
11256
|
+
* A generic error returned by the API
|
|
11257
|
+
* example:
|
|
11258
|
+
* {
|
|
11259
|
+
* "status": 404,
|
|
11260
|
+
* "error": "Not Found"
|
|
11261
|
+
* }
|
|
11262
|
+
*/
|
|
11263
|
+
Components.Responses.NotFoundError;
|
|
11264
|
+
}
|
|
11265
|
+
}
|
|
11227
11266
|
namespace GetActivity {
|
|
11228
11267
|
namespace Parameters {
|
|
11229
11268
|
export type Id = /**
|
|
@@ -12134,6 +12173,7 @@ declare namespace Paths {
|
|
|
12134
12173
|
namespace GetSchema {
|
|
12135
12174
|
namespace Parameters {
|
|
12136
12175
|
export type Id = /* Generated uuid for schema */ Components.Schemas.SchemaId /* uuid */;
|
|
12176
|
+
export type Latest = boolean;
|
|
12137
12177
|
export type Slug = /**
|
|
12138
12178
|
* URL-friendly identifier for the entity schema
|
|
12139
12179
|
* example:
|
|
@@ -12146,6 +12186,7 @@ declare namespace Paths {
|
|
|
12146
12186
|
}
|
|
12147
12187
|
export interface QueryParameters {
|
|
12148
12188
|
id?: Parameters.Id;
|
|
12189
|
+
latest?: Parameters.Latest;
|
|
12149
12190
|
}
|
|
12150
12191
|
namespace Responses {
|
|
12151
12192
|
export type $200 = /* The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities. */ Components.Schemas.EntitySchemaItem;
|
|
@@ -12350,6 +12391,10 @@ declare namespace Paths {
|
|
|
12350
12391
|
* Pagination: Whether more drafts are available
|
|
12351
12392
|
*/
|
|
12352
12393
|
drafts_more?: boolean;
|
|
12394
|
+
/**
|
|
12395
|
+
* The version ID that is currently frozen, if any
|
|
12396
|
+
*/
|
|
12397
|
+
frozen_version?: string; // uuid
|
|
12353
12398
|
}
|
|
12354
12399
|
}
|
|
12355
12400
|
}
|
|
@@ -12401,7 +12446,7 @@ declare namespace Paths {
|
|
|
12401
12446
|
/**
|
|
12402
12447
|
* ISO 8601 timestamp to filter jobs created after this time (e.g., 2023-01-01T00:00:00Z).
|
|
12403
12448
|
* example:
|
|
12404
|
-
* 2023-01-01T00:00:
|
|
12449
|
+
* 2023-01-01T00:00:00.000Z
|
|
12405
12450
|
*/
|
|
12406
12451
|
export type CreatedAfter = string; // date-time
|
|
12407
12452
|
/**
|
|
@@ -12427,7 +12472,7 @@ declare namespace Paths {
|
|
|
12427
12472
|
created_after?: /**
|
|
12428
12473
|
* ISO 8601 timestamp to filter jobs created after this time (e.g., 2023-01-01T00:00:00Z).
|
|
12429
12474
|
* example:
|
|
12430
|
-
* 2023-01-01T00:00:
|
|
12475
|
+
* 2023-01-01T00:00:00.000Z
|
|
12431
12476
|
*/
|
|
12432
12477
|
Parameters.CreatedAfter /* date-time */;
|
|
12433
12478
|
sort_pending_first?: /* When true, sorts PENDING status jobs to the top of the results. */ Parameters.SortPendingFirst;
|
|
@@ -12588,10 +12633,12 @@ declare namespace Paths {
|
|
|
12588
12633
|
namespace Parameters {
|
|
12589
12634
|
export type Exclude = string[];
|
|
12590
12635
|
export type Include = string[];
|
|
12636
|
+
export type Latest = boolean;
|
|
12591
12637
|
export type Unpublished = boolean;
|
|
12592
12638
|
}
|
|
12593
12639
|
export interface QueryParameters {
|
|
12594
12640
|
unpublished?: Parameters.Unpublished;
|
|
12641
|
+
latest?: Parameters.Latest;
|
|
12595
12642
|
exclude?: Parameters.Exclude;
|
|
12596
12643
|
include?: Parameters.Include;
|
|
12597
12644
|
}
|
|
@@ -12606,11 +12653,13 @@ declare namespace Paths {
|
|
|
12606
12653
|
export type Exclude = string[];
|
|
12607
12654
|
export type Full = boolean;
|
|
12608
12655
|
export type Include = string[];
|
|
12656
|
+
export type Latest = boolean;
|
|
12609
12657
|
export type Unpublished = boolean;
|
|
12610
12658
|
}
|
|
12611
12659
|
export interface QueryParameters {
|
|
12612
12660
|
full?: Parameters.Full;
|
|
12613
12661
|
unpublished?: Parameters.Unpublished;
|
|
12662
|
+
latest?: Parameters.Latest;
|
|
12614
12663
|
exclude?: Parameters.Exclude;
|
|
12615
12664
|
include?: Parameters.Include;
|
|
12616
12665
|
}
|
|
@@ -13171,6 +13220,7 @@ declare namespace Paths {
|
|
|
13171
13220
|
* false
|
|
13172
13221
|
*/
|
|
13173
13222
|
export type Archived = boolean;
|
|
13223
|
+
export type ExcludeTypes = ("relation" | "schema" | "system") | ("relation" | "schema" | "system")[];
|
|
13174
13224
|
export type IncludeArchived = /**
|
|
13175
13225
|
* Whether to include archived labels in the search results
|
|
13176
13226
|
* - `true`: include archived labels
|
|
@@ -13201,6 +13251,7 @@ declare namespace Paths {
|
|
|
13201
13251
|
*/
|
|
13202
13252
|
Parameters.Archived;
|
|
13203
13253
|
include_archived?: Parameters.IncludeArchived;
|
|
13254
|
+
exclude_types?: Parameters.ExcludeTypes;
|
|
13204
13255
|
}
|
|
13205
13256
|
export interface RequestBody {
|
|
13206
13257
|
classificationIds?: Components.Schemas.ClassificationIdOrPattern[];
|
|
@@ -13244,6 +13295,31 @@ declare namespace Paths {
|
|
|
13244
13295
|
}
|
|
13245
13296
|
}
|
|
13246
13297
|
}
|
|
13298
|
+
namespace UnfreezeSchema {
|
|
13299
|
+
namespace Parameters {
|
|
13300
|
+
export type Slug = /**
|
|
13301
|
+
* URL-friendly identifier for the entity schema
|
|
13302
|
+
* example:
|
|
13303
|
+
* contact
|
|
13304
|
+
*/
|
|
13305
|
+
Components.Schemas.EntitySlug /* ^[a-zA-Z0-9_-]+$ */;
|
|
13306
|
+
}
|
|
13307
|
+
export interface PathParameters {
|
|
13308
|
+
slug: Parameters.Slug;
|
|
13309
|
+
}
|
|
13310
|
+
namespace Responses {
|
|
13311
|
+
export type $200 = /* The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities. */ Components.Schemas.EntitySchemaItem;
|
|
13312
|
+
export type $404 = /**
|
|
13313
|
+
* A generic error returned by the API
|
|
13314
|
+
* example:
|
|
13315
|
+
* {
|
|
13316
|
+
* "status": 404,
|
|
13317
|
+
* "error": "Not Found"
|
|
13318
|
+
* }
|
|
13319
|
+
*/
|
|
13320
|
+
Components.Responses.NotFoundError;
|
|
13321
|
+
}
|
|
13322
|
+
}
|
|
13247
13323
|
namespace UpdateClassificationsForTaxonomy {
|
|
13248
13324
|
namespace Parameters {
|
|
13249
13325
|
export type TaxonomySlug = string;
|
|
@@ -13846,7 +13922,10 @@ export interface OperationMethods {
|
|
|
13846
13922
|
/**
|
|
13847
13923
|
* getSchema - getSchema
|
|
13848
13924
|
*
|
|
13849
|
-
* By default gets the
|
|
13925
|
+
* By default gets the current version of the Schema (frozen version if frozen, otherwise latest).
|
|
13926
|
+
* Pass ?latest=true to get the latest version when the schema is frozen.
|
|
13927
|
+
* Pass ?id= to get a specific version by ID.
|
|
13928
|
+
*
|
|
13850
13929
|
*/
|
|
13851
13930
|
'getSchema'(
|
|
13852
13931
|
parameters?: Parameters<Paths.GetSchema.QueryParameters & Paths.GetSchema.PathParameters> | null,
|
|
@@ -13856,7 +13935,9 @@ export interface OperationMethods {
|
|
|
13856
13935
|
/**
|
|
13857
13936
|
* putSchema - putSchema
|
|
13858
13937
|
*
|
|
13859
|
-
* Create or update a schema with a new version
|
|
13938
|
+
* Create or update a schema with a new version.
|
|
13939
|
+
* When the schema is frozen, writes update the latest version without affecting the frozen version.
|
|
13940
|
+
*
|
|
13860
13941
|
*/
|
|
13861
13942
|
'putSchema'(
|
|
13862
13943
|
parameters?: Parameters<Paths.PutSchema.QueryParameters & Paths.PutSchema.PathParameters> | null,
|
|
@@ -13903,6 +13984,30 @@ export interface OperationMethods {
|
|
|
13903
13984
|
data?: any,
|
|
13904
13985
|
config?: AxiosRequestConfig
|
|
13905
13986
|
): OperationResponse<Paths.GetSchemaVersions.Responses.$200>
|
|
13987
|
+
/**
|
|
13988
|
+
* freezeSchema - freezeSchema
|
|
13989
|
+
*
|
|
13990
|
+
* Freeze a schema at its current version, or at a specific version.
|
|
13991
|
+
* When frozen, getSchema returns the frozen version by default.
|
|
13992
|
+
* New edits via putSchema update the latest version without affecting the frozen version.
|
|
13993
|
+
*
|
|
13994
|
+
*/
|
|
13995
|
+
'freezeSchema'(
|
|
13996
|
+
parameters?: Parameters<Paths.FreezeSchema.PathParameters> | null,
|
|
13997
|
+
data?: Paths.FreezeSchema.RequestBody,
|
|
13998
|
+
config?: AxiosRequestConfig
|
|
13999
|
+
): OperationResponse<Paths.FreezeSchema.Responses.$200>
|
|
14000
|
+
/**
|
|
14001
|
+
* unfreezeSchema - unfreezeSchema
|
|
14002
|
+
*
|
|
14003
|
+
* Unfreeze a schema. Promotes the latest version to the current version for all users.
|
|
14004
|
+
*
|
|
14005
|
+
*/
|
|
14006
|
+
'unfreezeSchema'(
|
|
14007
|
+
parameters?: Parameters<Paths.UnfreezeSchema.PathParameters> | null,
|
|
14008
|
+
data?: any,
|
|
14009
|
+
config?: AxiosRequestConfig
|
|
14010
|
+
): OperationResponse<Paths.UnfreezeSchema.Responses.$200>
|
|
13906
14011
|
/**
|
|
13907
14012
|
* listAvailableCapabilities - listAvailableCapabilities
|
|
13908
14013
|
*
|
|
@@ -14965,7 +15070,10 @@ export interface PathsDictionary {
|
|
|
14965
15070
|
/**
|
|
14966
15071
|
* getSchema - getSchema
|
|
14967
15072
|
*
|
|
14968
|
-
* By default gets the
|
|
15073
|
+
* By default gets the current version of the Schema (frozen version if frozen, otherwise latest).
|
|
15074
|
+
* Pass ?latest=true to get the latest version when the schema is frozen.
|
|
15075
|
+
* Pass ?id= to get a specific version by ID.
|
|
15076
|
+
*
|
|
14969
15077
|
*/
|
|
14970
15078
|
'get'(
|
|
14971
15079
|
parameters?: Parameters<Paths.GetSchema.QueryParameters & Paths.GetSchema.PathParameters> | null,
|
|
@@ -14975,7 +15083,9 @@ export interface PathsDictionary {
|
|
|
14975
15083
|
/**
|
|
14976
15084
|
* putSchema - putSchema
|
|
14977
15085
|
*
|
|
14978
|
-
* Create or update a schema with a new version
|
|
15086
|
+
* Create or update a schema with a new version.
|
|
15087
|
+
* When the schema is frozen, writes update the latest version without affecting the frozen version.
|
|
15088
|
+
*
|
|
14979
15089
|
*/
|
|
14980
15090
|
'put'(
|
|
14981
15091
|
parameters?: Parameters<Paths.PutSchema.QueryParameters & Paths.PutSchema.PathParameters> | null,
|
|
@@ -15029,6 +15139,34 @@ export interface PathsDictionary {
|
|
|
15029
15139
|
config?: AxiosRequestConfig
|
|
15030
15140
|
): OperationResponse<Paths.GetSchemaVersions.Responses.$200>
|
|
15031
15141
|
}
|
|
15142
|
+
['/v1/entity/schemas/{slug}/freeze']: {
|
|
15143
|
+
/**
|
|
15144
|
+
* freezeSchema - freezeSchema
|
|
15145
|
+
*
|
|
15146
|
+
* Freeze a schema at its current version, or at a specific version.
|
|
15147
|
+
* When frozen, getSchema returns the frozen version by default.
|
|
15148
|
+
* New edits via putSchema update the latest version without affecting the frozen version.
|
|
15149
|
+
*
|
|
15150
|
+
*/
|
|
15151
|
+
'post'(
|
|
15152
|
+
parameters?: Parameters<Paths.FreezeSchema.PathParameters> | null,
|
|
15153
|
+
data?: Paths.FreezeSchema.RequestBody,
|
|
15154
|
+
config?: AxiosRequestConfig
|
|
15155
|
+
): OperationResponse<Paths.FreezeSchema.Responses.$200>
|
|
15156
|
+
}
|
|
15157
|
+
['/v1/entity/schemas/{slug}/unfreeze']: {
|
|
15158
|
+
/**
|
|
15159
|
+
* unfreezeSchema - unfreezeSchema
|
|
15160
|
+
*
|
|
15161
|
+
* Unfreeze a schema. Promotes the latest version to the current version for all users.
|
|
15162
|
+
*
|
|
15163
|
+
*/
|
|
15164
|
+
'post'(
|
|
15165
|
+
parameters?: Parameters<Paths.UnfreezeSchema.PathParameters> | null,
|
|
15166
|
+
data?: any,
|
|
15167
|
+
config?: AxiosRequestConfig
|
|
15168
|
+
): OperationResponse<Paths.UnfreezeSchema.Responses.$200>
|
|
15169
|
+
}
|
|
15032
15170
|
['/v1/entity/schemas/{slug}/capabilities/available']: {
|
|
15033
15171
|
/**
|
|
15034
15172
|
* listAvailableCapabilities - listAvailableCapabilities
|
package/dist/openapi.json
CHANGED
|
@@ -66,6 +66,16 @@
|
|
|
66
66
|
"in": "query",
|
|
67
67
|
"name": "unpublished",
|
|
68
68
|
"description": "Return unpublished draft schemas",
|
|
69
|
+
"deprecated": true,
|
|
70
|
+
"schema": {
|
|
71
|
+
"type": "boolean",
|
|
72
|
+
"default": false
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"in": "query",
|
|
77
|
+
"name": "latest",
|
|
78
|
+
"description": "When true, return the latest version instead of the frozen version for frozen schemas.",
|
|
69
79
|
"schema": {
|
|
70
80
|
"type": "boolean",
|
|
71
81
|
"default": false
|
|
@@ -142,6 +152,16 @@
|
|
|
142
152
|
"in": "query",
|
|
143
153
|
"name": "unpublished",
|
|
144
154
|
"description": "Return unpublished draft schemas",
|
|
155
|
+
"deprecated": true,
|
|
156
|
+
"schema": {
|
|
157
|
+
"type": "boolean",
|
|
158
|
+
"default": false
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"in": "query",
|
|
163
|
+
"name": "latest",
|
|
164
|
+
"description": "When true, return the latest version instead of the frozen version for frozen schemas.",
|
|
145
165
|
"schema": {
|
|
146
166
|
"type": "boolean",
|
|
147
167
|
"default": false
|
|
@@ -203,7 +223,7 @@
|
|
|
203
223
|
"get": {
|
|
204
224
|
"operationId": "getSchema",
|
|
205
225
|
"summary": "getSchema",
|
|
206
|
-
"description": "By default gets the
|
|
226
|
+
"description": "By default gets the current version of the Schema (frozen version if frozen, otherwise latest).\nPass ?latest=true to get the latest version when the schema is frozen.\nPass ?id= to get a specific version by ID.\n",
|
|
207
227
|
"tags": [
|
|
208
228
|
"Schemas"
|
|
209
229
|
],
|
|
@@ -217,6 +237,15 @@
|
|
|
217
237
|
"schema": {
|
|
218
238
|
"$ref": "#/components/schemas/SchemaId"
|
|
219
239
|
}
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"in": "query",
|
|
243
|
+
"name": "latest",
|
|
244
|
+
"description": "When true, return the latest version instead of the frozen version for frozen schemas.",
|
|
245
|
+
"schema": {
|
|
246
|
+
"type": "boolean",
|
|
247
|
+
"default": false
|
|
248
|
+
}
|
|
220
249
|
}
|
|
221
250
|
],
|
|
222
251
|
"responses": {
|
|
@@ -238,7 +267,7 @@
|
|
|
238
267
|
"put": {
|
|
239
268
|
"operationId": "putSchema",
|
|
240
269
|
"summary": "putSchema",
|
|
241
|
-
"description": "Create or update a schema with a new version",
|
|
270
|
+
"description": "Create or update a schema with a new version.\nWhen the schema is frozen, writes update the latest version without affecting the frozen version.\n",
|
|
242
271
|
"tags": [
|
|
243
272
|
"Schemas"
|
|
244
273
|
],
|
|
@@ -249,6 +278,7 @@
|
|
|
249
278
|
{
|
|
250
279
|
"in": "query",
|
|
251
280
|
"name": "draft",
|
|
281
|
+
"deprecated": true,
|
|
252
282
|
"schema": {
|
|
253
283
|
"default": false,
|
|
254
284
|
"type": "boolean"
|
|
@@ -746,6 +776,7 @@
|
|
|
746
776
|
}
|
|
747
777
|
},
|
|
748
778
|
"drafts": {
|
|
779
|
+
"deprecated": true,
|
|
749
780
|
"type": "array",
|
|
750
781
|
"items": {
|
|
751
782
|
"$ref": "#/components/schemas/EntitySchemaItem"
|
|
@@ -756,8 +787,17 @@
|
|
|
756
787
|
"type": "boolean"
|
|
757
788
|
},
|
|
758
789
|
"drafts_more": {
|
|
790
|
+
"deprecated": true,
|
|
759
791
|
"description": "Pagination: Whether more drafts are available",
|
|
760
792
|
"type": "boolean"
|
|
793
|
+
},
|
|
794
|
+
"frozen_version": {
|
|
795
|
+
"description": "The version ID that is currently frozen, if any",
|
|
796
|
+
"allOf": [
|
|
797
|
+
{
|
|
798
|
+
"$ref": "#/components/schemas/SchemaId"
|
|
799
|
+
}
|
|
800
|
+
]
|
|
761
801
|
}
|
|
762
802
|
},
|
|
763
803
|
"required": [
|
|
@@ -771,6 +811,85 @@
|
|
|
771
811
|
}
|
|
772
812
|
}
|
|
773
813
|
},
|
|
814
|
+
"/v1/entity/schemas/{slug}/freeze": {
|
|
815
|
+
"post": {
|
|
816
|
+
"operationId": "freezeSchema",
|
|
817
|
+
"summary": "freezeSchema",
|
|
818
|
+
"description": "Freeze a schema at its current version, or at a specific version.\nWhen frozen, getSchema returns the frozen version by default.\nNew edits via putSchema update the latest version without affecting the frozen version.\n",
|
|
819
|
+
"tags": [
|
|
820
|
+
"Schemas"
|
|
821
|
+
],
|
|
822
|
+
"parameters": [
|
|
823
|
+
{
|
|
824
|
+
"$ref": "#/components/parameters/EntitySlugPathParam"
|
|
825
|
+
}
|
|
826
|
+
],
|
|
827
|
+
"requestBody": {
|
|
828
|
+
"content": {
|
|
829
|
+
"application/json": {
|
|
830
|
+
"schema": {
|
|
831
|
+
"type": "object",
|
|
832
|
+
"properties": {
|
|
833
|
+
"version_id": {
|
|
834
|
+
"description": "Freeze to a specific version ID. Defaults to the current version.",
|
|
835
|
+
"allOf": [
|
|
836
|
+
{
|
|
837
|
+
"$ref": "#/components/schemas/SchemaId"
|
|
838
|
+
}
|
|
839
|
+
]
|
|
840
|
+
}
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
},
|
|
846
|
+
"responses": {
|
|
847
|
+
"200": {
|
|
848
|
+
"description": "Schema frozen successfully",
|
|
849
|
+
"content": {
|
|
850
|
+
"application/json": {
|
|
851
|
+
"schema": {
|
|
852
|
+
"$ref": "#/components/schemas/EntitySchemaItem"
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
},
|
|
857
|
+
"404": {
|
|
858
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
}
|
|
862
|
+
},
|
|
863
|
+
"/v1/entity/schemas/{slug}/unfreeze": {
|
|
864
|
+
"post": {
|
|
865
|
+
"operationId": "unfreezeSchema",
|
|
866
|
+
"summary": "unfreezeSchema",
|
|
867
|
+
"description": "Unfreeze a schema. Promotes the latest version to the current version for all users.\n",
|
|
868
|
+
"tags": [
|
|
869
|
+
"Schemas"
|
|
870
|
+
],
|
|
871
|
+
"parameters": [
|
|
872
|
+
{
|
|
873
|
+
"$ref": "#/components/parameters/EntitySlugPathParam"
|
|
874
|
+
}
|
|
875
|
+
],
|
|
876
|
+
"responses": {
|
|
877
|
+
"200": {
|
|
878
|
+
"description": "Schema unfrozen successfully",
|
|
879
|
+
"content": {
|
|
880
|
+
"application/json": {
|
|
881
|
+
"schema": {
|
|
882
|
+
"$ref": "#/components/schemas/EntitySchemaItem"
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
},
|
|
887
|
+
"404": {
|
|
888
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
889
|
+
}
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
},
|
|
774
893
|
"/v1/entity/schemas/{slug}/capabilities/available": {
|
|
775
894
|
"get": {
|
|
776
895
|
"operationId": "listAvailableCapabilities",
|
|
@@ -3420,6 +3539,34 @@
|
|
|
3420
3539
|
"schema": {
|
|
3421
3540
|
"$ref": "#/components/schemas/TaxonomySearchIncludeArchivedParam"
|
|
3422
3541
|
}
|
|
3542
|
+
},
|
|
3543
|
+
{
|
|
3544
|
+
"in": "query",
|
|
3545
|
+
"name": "exclude_types",
|
|
3546
|
+
"description": "Taxonomy type(s) to exclude from the results. Useful to filter out relation labels, schema labels, and system labels.\n",
|
|
3547
|
+
"schema": {
|
|
3548
|
+
"anyOf": [
|
|
3549
|
+
{
|
|
3550
|
+
"type": "string",
|
|
3551
|
+
"enum": [
|
|
3552
|
+
"relation",
|
|
3553
|
+
"schema",
|
|
3554
|
+
"system"
|
|
3555
|
+
]
|
|
3556
|
+
},
|
|
3557
|
+
{
|
|
3558
|
+
"type": "array",
|
|
3559
|
+
"items": {
|
|
3560
|
+
"type": "string",
|
|
3561
|
+
"enum": [
|
|
3562
|
+
"relation",
|
|
3563
|
+
"schema",
|
|
3564
|
+
"system"
|
|
3565
|
+
]
|
|
3566
|
+
}
|
|
3567
|
+
}
|
|
3568
|
+
]
|
|
3569
|
+
}
|
|
3423
3570
|
}
|
|
3424
3571
|
],
|
|
3425
3572
|
"requestBody": {
|
|
@@ -3557,7 +3704,7 @@
|
|
|
3557
3704
|
"description": "ISO 8601 timestamp to filter jobs created after this time (e.g., 2023-01-01T00:00:00Z).",
|
|
3558
3705
|
"type": "string",
|
|
3559
3706
|
"format": "date-time",
|
|
3560
|
-
"example": "2023-01-01T00:00:
|
|
3707
|
+
"example": "2023-01-01T00:00:00.000Z"
|
|
3561
3708
|
}
|
|
3562
3709
|
},
|
|
3563
3710
|
{
|
|
@@ -4563,6 +4710,7 @@
|
|
|
4563
4710
|
"example": false
|
|
4564
4711
|
},
|
|
4565
4712
|
"draft": {
|
|
4713
|
+
"deprecated": true,
|
|
4566
4714
|
"type": "boolean",
|
|
4567
4715
|
"example": false
|
|
4568
4716
|
},
|
|
@@ -4833,6 +4981,14 @@
|
|
|
4833
4981
|
}
|
|
4834
4982
|
}
|
|
4835
4983
|
},
|
|
4984
|
+
"frozen": {
|
|
4985
|
+
"description": "Indicates this schema is currently frozen. Present when the returned version is the frozen version.",
|
|
4986
|
+
"type": "boolean"
|
|
4987
|
+
},
|
|
4988
|
+
"latest": {
|
|
4989
|
+
"description": "Indicates this is the latest version of the schema. Both frozen and latest can be true if no changes were made since freezing.",
|
|
4990
|
+
"type": "boolean"
|
|
4991
|
+
},
|
|
4836
4992
|
"_summary": {
|
|
4837
4993
|
"description": "Indicates this is a truncated summary schema (attributes trimmed to summary_attributes only, no capabilities or group_settings)",
|
|
4838
4994
|
"type": "boolean"
|