@epilot/entity-client 7.4.0 → 7.5.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 +8 -3
- package/dist/openapi.d.ts +63 -62
- package/dist/openapi.json +23 -15
- package/dist/schema-model.d.ts +9 -4
- package/dist/schema-model.js +12 -5
- package/package.json +15 -16
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","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"},{"$ref":"#/components/parameters/AnonymizeQueryParam"},{"in":"query","name":"fields","style":"form","explode":false},{"$ref":"#/components/parameters/ApplyChangesetsQueryParam"}],"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"},{"$ref":"#/components/parameters/AnonymizeQueryParam"}],"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"},{"$ref":"#/components/parameters/DirectQueryParam"}],"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"},{"$ref":"#/components/parameters/DirectQueryParam"}],"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":[{"$ref":"#/components/parameters/AnonymizeQueryParam"},{"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/AnonymizeQueryParam"},{"$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}/changesets/{attribute}:apply":{"post":{"operationId":"applyChangeset","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"in":"path","name":"attribute","required":true}],"responses":{}}},"/v1/entity/{slug}/{id}/changesets/{attribute}:dismiss":{"post":{"operationId":"dismissChangeset","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"in":"path","name":"attribute","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}/{id}/changesets":{"get":{"operationId":"listChangesets","parameters":[{"$ref":"#/components/parameters/AnonymizeQueryParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"}],"responses":{}}},"/v1/entity/{slug}/{id}/activity":{"get":{"operationId":"getEntityActivityFeed","parameters":[{"$ref":"#/components/parameters/AnonymizeQueryParam"},{"$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/AnonymizeQueryParam"},{"$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"},{"$ref":"#/components/parameters/AnonymizeQueryParam"},{"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/AnonymizeQueryParam"},{"$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:abortImport":{"post":{"operationId":"abortEntityImport","parameters":[{"in":"query","name":"job_id","required":true},{"in":"query","name":"schema","required":true}],"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":"q","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":{"AnonymizeQueryParam":{"name":"anonymize","in":"query","required":false},"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"},"DirectQueryParam":{"name":"direct","in":"query","required":false},"ApplyChangesetsQueryParam":{"name":"apply_changesets","in":"query","required":false}},"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={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","deprecated":true},{"in":"query","name":"latest","deprecated":true},{"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","deprecated":true},{"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","deprecated":true}],"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","deprecated":true,"parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/{slug}/unfreeze":{"post":{"operationId":"unfreezeSchema","deprecated":true,"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"},{"$ref":"#/components/parameters/AnonymizeQueryParam"},{"in":"query","name":"fields","style":"form","explode":false},{"$ref":"#/components/parameters/ApplyChangesetsQueryParam"}],"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"},{"$ref":"#/components/parameters/AnonymizeQueryParam"}],"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"},{"$ref":"#/components/parameters/DirectQueryParam"}],"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"},{"$ref":"#/components/parameters/DirectQueryParam"}],"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":[{"$ref":"#/components/parameters/AnonymizeQueryParam"},{"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/AnonymizeQueryParam"},{"$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}/changesets/{attribute}:apply":{"post":{"operationId":"applyChangeset","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"in":"path","name":"attribute","required":true}],"responses":{}}},"/v1/entity/{slug}/{id}/changesets/{attribute}:dismiss":{"post":{"operationId":"dismissChangeset","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"in":"path","name":"attribute","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}/{id}/changesets":{"get":{"operationId":"listChangesets","parameters":[{"$ref":"#/components/parameters/AnonymizeQueryParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"}],"responses":{}}},"/v1/entity/{slug}/{id}/activity":{"get":{"operationId":"getEntityActivityFeed","parameters":[{"$ref":"#/components/parameters/AnonymizeQueryParam"},{"$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/AnonymizeQueryParam"},{"$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"},{"$ref":"#/components/parameters/AnonymizeQueryParam"},{"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/AnonymizeQueryParam"},{"$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:abortImport":{"post":{"operationId":"abortEntityImport","parameters":[{"in":"query","name":"job_id","required":true},{"in":"query","name":"schema","required":true}],"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":"q","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":{"AnonymizeQueryParam":{"name":"anonymize","in":"query","required":false},"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"},"DirectQueryParam":{"name":"direct","in":"query","required":false},"ApplyChangesetsQueryParam":{"name":"apply_changesets","in":"query","required":false}},"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})})();
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"in": "query",
|
|
19
|
-
"name": "latest"
|
|
19
|
+
"name": "latest",
|
|
20
|
+
"deprecated": true
|
|
20
21
|
},
|
|
21
22
|
{
|
|
22
23
|
"in": "query",
|
|
@@ -49,7 +50,8 @@
|
|
|
49
50
|
},
|
|
50
51
|
{
|
|
51
52
|
"in": "query",
|
|
52
|
-
"name": "latest"
|
|
53
|
+
"name": "latest",
|
|
54
|
+
"deprecated": true
|
|
53
55
|
},
|
|
54
56
|
{
|
|
55
57
|
"in": "query",
|
|
@@ -80,7 +82,8 @@
|
|
|
80
82
|
},
|
|
81
83
|
{
|
|
82
84
|
"in": "query",
|
|
83
|
-
"name": "latest"
|
|
85
|
+
"name": "latest",
|
|
86
|
+
"deprecated": true
|
|
84
87
|
}
|
|
85
88
|
],
|
|
86
89
|
"responses": {}
|
|
@@ -177,6 +180,7 @@
|
|
|
177
180
|
"/v1/entity/schemas/{slug}/freeze": {
|
|
178
181
|
"post": {
|
|
179
182
|
"operationId": "freezeSchema",
|
|
183
|
+
"deprecated": true,
|
|
180
184
|
"parameters": [
|
|
181
185
|
{
|
|
182
186
|
"$ref": "#/components/parameters/EntitySlugPathParam"
|
|
@@ -193,6 +197,7 @@
|
|
|
193
197
|
"/v1/entity/schemas/{slug}/unfreeze": {
|
|
194
198
|
"post": {
|
|
195
199
|
"operationId": "unfreezeSchema",
|
|
200
|
+
"deprecated": true,
|
|
196
201
|
"parameters": [
|
|
197
202
|
{
|
|
198
203
|
"$ref": "#/components/parameters/EntitySlugPathParam"
|
package/dist/openapi.d.ts
CHANGED
|
@@ -398,7 +398,7 @@ declare namespace Components {
|
|
|
398
398
|
* fixed on the base entity.
|
|
399
399
|
*
|
|
400
400
|
*/
|
|
401
|
-
|
|
401
|
+
overridable_attribute?: boolean;
|
|
402
402
|
default_value?: any;
|
|
403
403
|
/**
|
|
404
404
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -633,7 +633,7 @@ declare namespace Components {
|
|
|
633
633
|
* fixed on the base entity.
|
|
634
634
|
*
|
|
635
635
|
*/
|
|
636
|
-
|
|
636
|
+
overridable_attribute?: boolean;
|
|
637
637
|
default_value?: any;
|
|
638
638
|
/**
|
|
639
639
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -898,7 +898,7 @@ declare namespace Components {
|
|
|
898
898
|
* fixed on the base entity.
|
|
899
899
|
*
|
|
900
900
|
*/
|
|
901
|
-
|
|
901
|
+
overridable_attribute?: boolean;
|
|
902
902
|
default_value?: any;
|
|
903
903
|
/**
|
|
904
904
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -1165,7 +1165,7 @@ declare namespace Components {
|
|
|
1165
1165
|
* fixed on the base entity.
|
|
1166
1166
|
*
|
|
1167
1167
|
*/
|
|
1168
|
-
|
|
1168
|
+
overridable_attribute?: boolean;
|
|
1169
1169
|
default_value?: any;
|
|
1170
1170
|
/**
|
|
1171
1171
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -1497,7 +1497,7 @@ declare namespace Components {
|
|
|
1497
1497
|
* fixed on the base entity.
|
|
1498
1498
|
*
|
|
1499
1499
|
*/
|
|
1500
|
-
|
|
1500
|
+
overridable_attribute?: boolean;
|
|
1501
1501
|
default_value?: any;
|
|
1502
1502
|
/**
|
|
1503
1503
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -1809,7 +1809,7 @@ declare namespace Components {
|
|
|
1809
1809
|
* fixed on the base entity.
|
|
1810
1810
|
*
|
|
1811
1811
|
*/
|
|
1812
|
-
|
|
1812
|
+
overridable_attribute?: boolean;
|
|
1813
1813
|
default_value?: any;
|
|
1814
1814
|
/**
|
|
1815
1815
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -2050,7 +2050,7 @@ declare namespace Components {
|
|
|
2050
2050
|
* fixed on the base entity.
|
|
2051
2051
|
*
|
|
2052
2052
|
*/
|
|
2053
|
-
|
|
2053
|
+
overridable_attribute?: boolean;
|
|
2054
2054
|
default_value?: any;
|
|
2055
2055
|
/**
|
|
2056
2056
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -2261,7 +2261,7 @@ declare namespace Components {
|
|
|
2261
2261
|
* fixed on the base entity.
|
|
2262
2262
|
*
|
|
2263
2263
|
*/
|
|
2264
|
-
|
|
2264
|
+
overridable_attribute?: boolean;
|
|
2265
2265
|
default_value?: any;
|
|
2266
2266
|
/**
|
|
2267
2267
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -2470,7 +2470,7 @@ declare namespace Components {
|
|
|
2470
2470
|
* fixed on the base entity.
|
|
2471
2471
|
*
|
|
2472
2472
|
*/
|
|
2473
|
-
|
|
2473
|
+
overridable_attribute?: boolean;
|
|
2474
2474
|
default_value?: any;
|
|
2475
2475
|
/**
|
|
2476
2476
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -2689,7 +2689,7 @@ declare namespace Components {
|
|
|
2689
2689
|
* fixed on the base entity.
|
|
2690
2690
|
*
|
|
2691
2691
|
*/
|
|
2692
|
-
|
|
2692
|
+
overridable_attribute?: boolean;
|
|
2693
2693
|
default_value?: any;
|
|
2694
2694
|
/**
|
|
2695
2695
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -2979,7 +2979,7 @@ declare namespace Components {
|
|
|
2979
2979
|
* fixed on the base entity.
|
|
2980
2980
|
*
|
|
2981
2981
|
*/
|
|
2982
|
-
|
|
2982
|
+
overridable_attribute?: boolean;
|
|
2983
2983
|
default_value?: any;
|
|
2984
2984
|
/**
|
|
2985
2985
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -3315,10 +3315,10 @@ declare namespace Components {
|
|
|
3315
3315
|
* capability. Only meaningful on schemas that declare `conditions` and on capabilities
|
|
3316
3316
|
* that render an attribute group (`EntityAttributes:Group` ui hook), e.g. pricing tiers.
|
|
3317
3317
|
* Attributes carried by the capability opt in individually via their own
|
|
3318
|
-
* `
|
|
3318
|
+
* `overridable_attribute` flag.
|
|
3319
3319
|
*
|
|
3320
3320
|
*/
|
|
3321
|
-
|
|
3321
|
+
overridable_attribute?: boolean;
|
|
3322
3322
|
_purpose?: /**
|
|
3323
3323
|
* example:
|
|
3324
3324
|
* taxonomy-slug:classification-slug
|
|
@@ -3495,10 +3495,10 @@ declare namespace Components {
|
|
|
3495
3495
|
* capability. Only meaningful on schemas that declare `conditions` and on capabilities
|
|
3496
3496
|
* that render an attribute group (`EntityAttributes:Group` ui hook), e.g. pricing tiers.
|
|
3497
3497
|
* Attributes carried by the capability opt in individually via their own
|
|
3498
|
-
* `
|
|
3498
|
+
* `overridable_attribute` flag.
|
|
3499
3499
|
*
|
|
3500
3500
|
*/
|
|
3501
|
-
|
|
3501
|
+
overridable_attribute?: boolean;
|
|
3502
3502
|
_purpose?: /**
|
|
3503
3503
|
* example:
|
|
3504
3504
|
* taxonomy-slug:classification-slug
|
|
@@ -4775,7 +4775,7 @@ declare namespace Components {
|
|
|
4775
4775
|
* Dimensions that conditional variants of this entity type are keyed by.
|
|
4776
4776
|
*
|
|
4777
4777
|
* Absent or `null` means entities of this type are not conditional. Attributes whose
|
|
4778
|
-
* values a variant may override are marked with `
|
|
4778
|
+
* values a variant may override are marked with `overridable_attribute`.
|
|
4779
4779
|
*
|
|
4780
4780
|
*/
|
|
4781
4781
|
conditions?: /**
|
|
@@ -4929,11 +4929,13 @@ declare namespace Components {
|
|
|
4929
4929
|
type?: string;
|
|
4930
4930
|
};
|
|
4931
4931
|
/**
|
|
4932
|
-
*
|
|
4932
|
+
* No longer returned: schema freezing is retired.
|
|
4933
|
+
*
|
|
4933
4934
|
*/
|
|
4934
4935
|
frozen?: boolean;
|
|
4935
4936
|
/**
|
|
4936
|
-
*
|
|
4937
|
+
* No longer returned: every read returns the latest version.
|
|
4938
|
+
*
|
|
4937
4939
|
*/
|
|
4938
4940
|
latest?: boolean;
|
|
4939
4941
|
/**
|
|
@@ -5228,7 +5230,7 @@ declare namespace Components {
|
|
|
5228
5230
|
* Dimensions that conditional variants of this entity type are keyed by.
|
|
5229
5231
|
*
|
|
5230
5232
|
* Absent or `null` means entities of this type are not conditional. Attributes whose
|
|
5231
|
-
* values a variant may override are marked with `
|
|
5233
|
+
* values a variant may override are marked with `overridable_attribute`.
|
|
5232
5234
|
*
|
|
5233
5235
|
*/
|
|
5234
5236
|
conditions?: /**
|
|
@@ -5788,7 +5790,7 @@ declare namespace Components {
|
|
|
5788
5790
|
* fixed on the base entity.
|
|
5789
5791
|
*
|
|
5790
5792
|
*/
|
|
5791
|
-
|
|
5793
|
+
overridable_attribute?: boolean;
|
|
5792
5794
|
default_value?: any;
|
|
5793
5795
|
/**
|
|
5794
5796
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -6710,7 +6712,7 @@ declare namespace Components {
|
|
|
6710
6712
|
* fixed on the base entity.
|
|
6711
6713
|
*
|
|
6712
6714
|
*/
|
|
6713
|
-
|
|
6715
|
+
overridable_attribute?: boolean;
|
|
6714
6716
|
default_value?: any;
|
|
6715
6717
|
/**
|
|
6716
6718
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -6919,7 +6921,7 @@ declare namespace Components {
|
|
|
6919
6921
|
* fixed on the base entity.
|
|
6920
6922
|
*
|
|
6921
6923
|
*/
|
|
6922
|
-
|
|
6924
|
+
overridable_attribute?: boolean;
|
|
6923
6925
|
default_value?: any;
|
|
6924
6926
|
/**
|
|
6925
6927
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -7128,7 +7130,7 @@ declare namespace Components {
|
|
|
7128
7130
|
* fixed on the base entity.
|
|
7129
7131
|
*
|
|
7130
7132
|
*/
|
|
7131
|
-
|
|
7133
|
+
overridable_attribute?: boolean;
|
|
7132
7134
|
default_value?: any;
|
|
7133
7135
|
/**
|
|
7134
7136
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -7345,7 +7347,7 @@ declare namespace Components {
|
|
|
7345
7347
|
* fixed on the base entity.
|
|
7346
7348
|
*
|
|
7347
7349
|
*/
|
|
7348
|
-
|
|
7350
|
+
overridable_attribute?: boolean;
|
|
7349
7351
|
default_value?: any;
|
|
7350
7352
|
/**
|
|
7351
7353
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -7609,7 +7611,7 @@ declare namespace Components {
|
|
|
7609
7611
|
* fixed on the base entity.
|
|
7610
7612
|
*
|
|
7611
7613
|
*/
|
|
7612
|
-
|
|
7614
|
+
overridable_attribute?: boolean;
|
|
7613
7615
|
default_value?: any;
|
|
7614
7616
|
/**
|
|
7615
7617
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -7905,7 +7907,7 @@ declare namespace Components {
|
|
|
7905
7907
|
* fixed on the base entity.
|
|
7906
7908
|
*
|
|
7907
7909
|
*/
|
|
7908
|
-
|
|
7910
|
+
overridable_attribute?: boolean;
|
|
7909
7911
|
default_value?: any;
|
|
7910
7912
|
/**
|
|
7911
7913
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -8225,7 +8227,7 @@ declare namespace Components {
|
|
|
8225
8227
|
* fixed on the base entity.
|
|
8226
8228
|
*
|
|
8227
8229
|
*/
|
|
8228
|
-
|
|
8230
|
+
overridable_attribute?: boolean;
|
|
8229
8231
|
default_value?: any;
|
|
8230
8232
|
/**
|
|
8231
8233
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -8443,7 +8445,7 @@ declare namespace Components {
|
|
|
8443
8445
|
* fixed on the base entity.
|
|
8444
8446
|
*
|
|
8445
8447
|
*/
|
|
8446
|
-
|
|
8448
|
+
overridable_attribute?: boolean;
|
|
8447
8449
|
default_value?: any;
|
|
8448
8450
|
/**
|
|
8449
8451
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -8652,7 +8654,7 @@ declare namespace Components {
|
|
|
8652
8654
|
* fixed on the base entity.
|
|
8653
8655
|
*
|
|
8654
8656
|
*/
|
|
8655
|
-
|
|
8657
|
+
overridable_attribute?: boolean;
|
|
8656
8658
|
default_value?: any;
|
|
8657
8659
|
/**
|
|
8658
8660
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -8861,7 +8863,7 @@ declare namespace Components {
|
|
|
8861
8863
|
* fixed on the base entity.
|
|
8862
8864
|
*
|
|
8863
8865
|
*/
|
|
8864
|
-
|
|
8866
|
+
overridable_attribute?: boolean;
|
|
8865
8867
|
default_value?: any;
|
|
8866
8868
|
/**
|
|
8867
8869
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -9070,7 +9072,7 @@ declare namespace Components {
|
|
|
9070
9072
|
* fixed on the base entity.
|
|
9071
9073
|
*
|
|
9072
9074
|
*/
|
|
9073
|
-
|
|
9075
|
+
overridable_attribute?: boolean;
|
|
9074
9076
|
default_value?: any;
|
|
9075
9077
|
/**
|
|
9076
9078
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -9279,7 +9281,7 @@ declare namespace Components {
|
|
|
9279
9281
|
* fixed on the base entity.
|
|
9280
9282
|
*
|
|
9281
9283
|
*/
|
|
9282
|
-
|
|
9284
|
+
overridable_attribute?: boolean;
|
|
9283
9285
|
default_value?: any;
|
|
9284
9286
|
/**
|
|
9285
9287
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -9488,7 +9490,7 @@ declare namespace Components {
|
|
|
9488
9490
|
* fixed on the base entity.
|
|
9489
9491
|
*
|
|
9490
9492
|
*/
|
|
9491
|
-
|
|
9493
|
+
overridable_attribute?: boolean;
|
|
9492
9494
|
default_value?: any;
|
|
9493
9495
|
/**
|
|
9494
9496
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -9697,7 +9699,7 @@ declare namespace Components {
|
|
|
9697
9699
|
* fixed on the base entity.
|
|
9698
9700
|
*
|
|
9699
9701
|
*/
|
|
9700
|
-
|
|
9702
|
+
overridable_attribute?: boolean;
|
|
9701
9703
|
default_value?: any;
|
|
9702
9704
|
/**
|
|
9703
9705
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -9906,7 +9908,7 @@ declare namespace Components {
|
|
|
9906
9908
|
* fixed on the base entity.
|
|
9907
9909
|
*
|
|
9908
9910
|
*/
|
|
9909
|
-
|
|
9911
|
+
overridable_attribute?: boolean;
|
|
9910
9912
|
default_value?: any;
|
|
9911
9913
|
/**
|
|
9912
9914
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -10115,7 +10117,7 @@ declare namespace Components {
|
|
|
10115
10117
|
* fixed on the base entity.
|
|
10116
10118
|
*
|
|
10117
10119
|
*/
|
|
10118
|
-
|
|
10120
|
+
overridable_attribute?: boolean;
|
|
10119
10121
|
default_value?: any;
|
|
10120
10122
|
/**
|
|
10121
10123
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -10339,7 +10341,7 @@ declare namespace Components {
|
|
|
10339
10341
|
* fixed on the base entity.
|
|
10340
10342
|
*
|
|
10341
10343
|
*/
|
|
10342
|
-
|
|
10344
|
+
overridable_attribute?: boolean;
|
|
10343
10345
|
default_value?: any;
|
|
10344
10346
|
/**
|
|
10345
10347
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -10774,7 +10776,7 @@ declare namespace Components {
|
|
|
10774
10776
|
* fixed on the base entity.
|
|
10775
10777
|
*
|
|
10776
10778
|
*/
|
|
10777
|
-
|
|
10779
|
+
overridable_attribute?: boolean;
|
|
10778
10780
|
default_value?: any;
|
|
10779
10781
|
/**
|
|
10780
10782
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -11437,7 +11439,7 @@ declare namespace Components {
|
|
|
11437
11439
|
* fixed on the base entity.
|
|
11438
11440
|
*
|
|
11439
11441
|
*/
|
|
11440
|
-
|
|
11442
|
+
overridable_attribute?: boolean;
|
|
11441
11443
|
default_value?: any;
|
|
11442
11444
|
/**
|
|
11443
11445
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -11695,7 +11697,7 @@ declare namespace Components {
|
|
|
11695
11697
|
* fixed on the base entity.
|
|
11696
11698
|
*
|
|
11697
11699
|
*/
|
|
11698
|
-
|
|
11700
|
+
overridable_attribute?: boolean;
|
|
11699
11701
|
default_value?: any;
|
|
11700
11702
|
/**
|
|
11701
11703
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -11921,7 +11923,7 @@ declare namespace Components {
|
|
|
11921
11923
|
* fixed on the base entity.
|
|
11922
11924
|
*
|
|
11923
11925
|
*/
|
|
11924
|
-
|
|
11926
|
+
overridable_attribute?: boolean;
|
|
11925
11927
|
default_value?: any;
|
|
11926
11928
|
/**
|
|
11927
11929
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -12226,7 +12228,7 @@ declare namespace Components {
|
|
|
12226
12228
|
* fixed on the base entity.
|
|
12227
12229
|
*
|
|
12228
12230
|
*/
|
|
12229
|
-
|
|
12231
|
+
overridable_attribute?: boolean;
|
|
12230
12232
|
default_value?: any;
|
|
12231
12233
|
/**
|
|
12232
12234
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -12491,7 +12493,7 @@ declare namespace Components {
|
|
|
12491
12493
|
* fixed on the base entity.
|
|
12492
12494
|
*
|
|
12493
12495
|
*/
|
|
12494
|
-
|
|
12496
|
+
overridable_attribute?: boolean;
|
|
12495
12497
|
default_value?: any;
|
|
12496
12498
|
/**
|
|
12497
12499
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -12902,7 +12904,7 @@ declare namespace Components {
|
|
|
12902
12904
|
* fixed on the base entity.
|
|
12903
12905
|
*
|
|
12904
12906
|
*/
|
|
12905
|
-
|
|
12907
|
+
overridable_attribute?: boolean;
|
|
12906
12908
|
default_value?: any;
|
|
12907
12909
|
/**
|
|
12908
12910
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -13124,7 +13126,7 @@ declare namespace Components {
|
|
|
13124
13126
|
* fixed on the base entity.
|
|
13125
13127
|
*
|
|
13126
13128
|
*/
|
|
13127
|
-
|
|
13129
|
+
overridable_attribute?: boolean;
|
|
13128
13130
|
default_value?: any;
|
|
13129
13131
|
/**
|
|
13130
13132
|
* Which group the attribute should appear in. Accepts group ID or group name
|
|
@@ -15521,7 +15523,8 @@ declare namespace Paths {
|
|
|
15521
15523
|
*/
|
|
15522
15524
|
drafts_more?: boolean;
|
|
15523
15525
|
/**
|
|
15524
|
-
*
|
|
15526
|
+
* No longer returned: schema freezing is retired.
|
|
15527
|
+
*
|
|
15525
15528
|
*/
|
|
15526
15529
|
frozen_version?: string; // uuid
|
|
15527
15530
|
}
|
|
@@ -15575,7 +15578,7 @@ declare namespace Paths {
|
|
|
15575
15578
|
/**
|
|
15576
15579
|
* ISO 8601 timestamp to filter jobs created after this time (e.g., 2023-01-01T00:00:00Z).
|
|
15577
15580
|
* example:
|
|
15578
|
-
* 2023-01-01T00:00:
|
|
15581
|
+
* 2023-01-01T00:00:00Z
|
|
15579
15582
|
*/
|
|
15580
15583
|
export type CreatedAfter = string; // date-time
|
|
15581
15584
|
/**
|
|
@@ -15601,7 +15604,7 @@ declare namespace Paths {
|
|
|
15601
15604
|
created_after?: /**
|
|
15602
15605
|
* ISO 8601 timestamp to filter jobs created after this time (e.g., 2023-01-01T00:00:00Z).
|
|
15603
15606
|
* example:
|
|
15604
|
-
* 2023-01-01T00:00:
|
|
15607
|
+
* 2023-01-01T00:00:00Z
|
|
15605
15608
|
*/
|
|
15606
15609
|
Parameters.CreatedAfter /* date-time */;
|
|
15607
15610
|
sort_pending_first?: /* When true, sorts PENDING status jobs to the top of the results. */ Parameters.SortPendingFirst;
|
|
@@ -17088,8 +17091,7 @@ export interface OperationMethods {
|
|
|
17088
17091
|
/**
|
|
17089
17092
|
* getSchema - getSchema
|
|
17090
17093
|
*
|
|
17091
|
-
*
|
|
17092
|
-
* Pass ?latest=true to get the latest version when the schema is frozen.
|
|
17094
|
+
* Gets the latest version of the Schema.
|
|
17093
17095
|
* Pass ?id= to get a specific version by ID.
|
|
17094
17096
|
*
|
|
17095
17097
|
*/
|
|
@@ -17102,7 +17104,6 @@ export interface OperationMethods {
|
|
|
17102
17104
|
* putSchema - putSchema
|
|
17103
17105
|
*
|
|
17104
17106
|
* Create or update a schema with a new version.
|
|
17105
|
-
* When the schema is frozen, writes update the latest version without affecting the frozen version.
|
|
17106
17107
|
*
|
|
17107
17108
|
*/
|
|
17108
17109
|
'putSchema'(
|
|
@@ -17153,9 +17154,8 @@ export interface OperationMethods {
|
|
|
17153
17154
|
/**
|
|
17154
17155
|
* freezeSchema - freezeSchema
|
|
17155
17156
|
*
|
|
17156
|
-
*
|
|
17157
|
-
*
|
|
17158
|
-
* New edits via putSchema update the latest version without affecting the frozen version.
|
|
17157
|
+
* Deprecated no-op: schema freezing is retired and every read returns the latest version.
|
|
17158
|
+
* Returns the latest version of the schema unchanged. This endpoint will be removed.
|
|
17159
17159
|
*
|
|
17160
17160
|
*/
|
|
17161
17161
|
'freezeSchema'(
|
|
@@ -17166,7 +17166,9 @@ export interface OperationMethods {
|
|
|
17166
17166
|
/**
|
|
17167
17167
|
* unfreezeSchema - unfreezeSchema
|
|
17168
17168
|
*
|
|
17169
|
-
*
|
|
17169
|
+
* Deprecated: schema freezing is retired. Cleans up a leftover frozen pointer by promoting the
|
|
17170
|
+
* latest version to the current version, and succeeds when there is nothing to clean up.
|
|
17171
|
+
* This endpoint will be removed.
|
|
17170
17172
|
*
|
|
17171
17173
|
*/
|
|
17172
17174
|
'unfreezeSchema'(
|
|
@@ -18289,8 +18291,7 @@ export interface PathsDictionary {
|
|
|
18289
18291
|
/**
|
|
18290
18292
|
* getSchema - getSchema
|
|
18291
18293
|
*
|
|
18292
|
-
*
|
|
18293
|
-
* Pass ?latest=true to get the latest version when the schema is frozen.
|
|
18294
|
+
* Gets the latest version of the Schema.
|
|
18294
18295
|
* Pass ?id= to get a specific version by ID.
|
|
18295
18296
|
*
|
|
18296
18297
|
*/
|
|
@@ -18303,7 +18304,6 @@ export interface PathsDictionary {
|
|
|
18303
18304
|
* putSchema - putSchema
|
|
18304
18305
|
*
|
|
18305
18306
|
* Create or update a schema with a new version.
|
|
18306
|
-
* When the schema is frozen, writes update the latest version without affecting the frozen version.
|
|
18307
18307
|
*
|
|
18308
18308
|
*/
|
|
18309
18309
|
'put'(
|
|
@@ -18362,9 +18362,8 @@ export interface PathsDictionary {
|
|
|
18362
18362
|
/**
|
|
18363
18363
|
* freezeSchema - freezeSchema
|
|
18364
18364
|
*
|
|
18365
|
-
*
|
|
18366
|
-
*
|
|
18367
|
-
* New edits via putSchema update the latest version without affecting the frozen version.
|
|
18365
|
+
* Deprecated no-op: schema freezing is retired and every read returns the latest version.
|
|
18366
|
+
* Returns the latest version of the schema unchanged. This endpoint will be removed.
|
|
18368
18367
|
*
|
|
18369
18368
|
*/
|
|
18370
18369
|
'post'(
|
|
@@ -18377,7 +18376,9 @@ export interface PathsDictionary {
|
|
|
18377
18376
|
/**
|
|
18378
18377
|
* unfreezeSchema - unfreezeSchema
|
|
18379
18378
|
*
|
|
18380
|
-
*
|
|
18379
|
+
* Deprecated: schema freezing is retired. Cleans up a leftover frozen pointer by promoting the
|
|
18380
|
+
* latest version to the current version, and succeeds when there is nothing to clean up.
|
|
18381
|
+
* This endpoint will be removed.
|
|
18381
18382
|
*
|
|
18382
18383
|
*/
|
|
18383
18384
|
'post'(
|
package/dist/openapi.json
CHANGED
|
@@ -75,7 +75,8 @@
|
|
|
75
75
|
{
|
|
76
76
|
"in": "query",
|
|
77
77
|
"name": "latest",
|
|
78
|
-
"
|
|
78
|
+
"deprecated": true,
|
|
79
|
+
"description": "No longer has any effect: schema freezing is retired and the latest version is always returned.\n",
|
|
79
80
|
"schema": {
|
|
80
81
|
"type": "boolean",
|
|
81
82
|
"default": false
|
|
@@ -161,7 +162,8 @@
|
|
|
161
162
|
{
|
|
162
163
|
"in": "query",
|
|
163
164
|
"name": "latest",
|
|
164
|
-
"
|
|
165
|
+
"deprecated": true,
|
|
166
|
+
"description": "No longer has any effect: schema freezing is retired and the latest version is always returned.\n",
|
|
165
167
|
"schema": {
|
|
166
168
|
"type": "boolean",
|
|
167
169
|
"default": false
|
|
@@ -223,7 +225,7 @@
|
|
|
223
225
|
"get": {
|
|
224
226
|
"operationId": "getSchema",
|
|
225
227
|
"summary": "getSchema",
|
|
226
|
-
"description": "
|
|
228
|
+
"description": "Gets the latest version of the Schema.\nPass ?id= to get a specific version by ID.\n",
|
|
227
229
|
"tags": [
|
|
228
230
|
"Schemas"
|
|
229
231
|
],
|
|
@@ -241,7 +243,8 @@
|
|
|
241
243
|
{
|
|
242
244
|
"in": "query",
|
|
243
245
|
"name": "latest",
|
|
244
|
-
"
|
|
246
|
+
"deprecated": true,
|
|
247
|
+
"description": "No longer has any effect: schema freezing is retired and the latest version is always returned.\n",
|
|
245
248
|
"schema": {
|
|
246
249
|
"type": "boolean",
|
|
247
250
|
"default": false
|
|
@@ -267,7 +270,7 @@
|
|
|
267
270
|
"put": {
|
|
268
271
|
"operationId": "putSchema",
|
|
269
272
|
"summary": "putSchema",
|
|
270
|
-
"description": "Create or update a schema with a new version.\
|
|
273
|
+
"description": "Create or update a schema with a new version.\n",
|
|
271
274
|
"tags": [
|
|
272
275
|
"Schemas"
|
|
273
276
|
],
|
|
@@ -792,7 +795,8 @@
|
|
|
792
795
|
"type": "boolean"
|
|
793
796
|
},
|
|
794
797
|
"frozen_version": {
|
|
795
|
-
"
|
|
798
|
+
"deprecated": true,
|
|
799
|
+
"description": "No longer returned: schema freezing is retired.\n",
|
|
796
800
|
"allOf": [
|
|
797
801
|
{
|
|
798
802
|
"$ref": "#/components/schemas/SchemaId"
|
|
@@ -815,7 +819,8 @@
|
|
|
815
819
|
"post": {
|
|
816
820
|
"operationId": "freezeSchema",
|
|
817
821
|
"summary": "freezeSchema",
|
|
818
|
-
"
|
|
822
|
+
"deprecated": true,
|
|
823
|
+
"description": "Deprecated no-op: schema freezing is retired and every read returns the latest version.\nReturns the latest version of the schema unchanged. This endpoint will be removed.\n",
|
|
819
824
|
"tags": [
|
|
820
825
|
"Schemas"
|
|
821
826
|
],
|
|
@@ -864,7 +869,8 @@
|
|
|
864
869
|
"post": {
|
|
865
870
|
"operationId": "unfreezeSchema",
|
|
866
871
|
"summary": "unfreezeSchema",
|
|
867
|
-
"
|
|
872
|
+
"deprecated": true,
|
|
873
|
+
"description": "Deprecated: schema freezing is retired. Cleans up a leftover frozen pointer by promoting the\nlatest version to the current version, and succeeds when there is nothing to clean up.\nThis endpoint will be removed.\n",
|
|
868
874
|
"tags": [
|
|
869
875
|
"Schemas"
|
|
870
876
|
],
|
|
@@ -3947,7 +3953,7 @@
|
|
|
3947
3953
|
"description": "ISO 8601 timestamp to filter jobs created after this time (e.g., 2023-01-01T00:00:00Z).",
|
|
3948
3954
|
"type": "string",
|
|
3949
3955
|
"format": "date-time",
|
|
3950
|
-
"example": "2023-01-01T00:00:
|
|
3956
|
+
"example": "2023-01-01T00:00:00Z"
|
|
3951
3957
|
}
|
|
3952
3958
|
},
|
|
3953
3959
|
{
|
|
@@ -5257,7 +5263,7 @@
|
|
|
5257
5263
|
"conditions": {
|
|
5258
5264
|
"type": "array",
|
|
5259
5265
|
"nullable": true,
|
|
5260
|
-
"description": "Dimensions that conditional variants of this entity type are keyed by.\n\nAbsent or `null` means entities of this type are not conditional. Attributes whose\nvalues a variant may override are marked with `
|
|
5266
|
+
"description": "Dimensions that conditional variants of this entity type are keyed by.\n\nAbsent or `null` means entities of this type are not conditional. Attributes whose\nvalues a variant may override are marked with `overridable_attribute`.\n",
|
|
5261
5267
|
"items": {
|
|
5262
5268
|
"$ref": "#/components/schemas/ConditionDefinition"
|
|
5263
5269
|
}
|
|
@@ -5300,11 +5306,13 @@
|
|
|
5300
5306
|
}
|
|
5301
5307
|
},
|
|
5302
5308
|
"frozen": {
|
|
5303
|
-
"
|
|
5309
|
+
"deprecated": true,
|
|
5310
|
+
"description": "No longer returned: schema freezing is retired.\n",
|
|
5304
5311
|
"type": "boolean"
|
|
5305
5312
|
},
|
|
5306
5313
|
"latest": {
|
|
5307
|
-
"
|
|
5314
|
+
"deprecated": true,
|
|
5315
|
+
"description": "No longer returned: every read returns the latest version.\n",
|
|
5308
5316
|
"type": "boolean"
|
|
5309
5317
|
},
|
|
5310
5318
|
"_summary": {
|
|
@@ -5690,7 +5698,7 @@
|
|
|
5690
5698
|
"type": "boolean",
|
|
5691
5699
|
"default": false
|
|
5692
5700
|
},
|
|
5693
|
-
"
|
|
5701
|
+
"overridable_attribute": {
|
|
5694
5702
|
"type": "boolean",
|
|
5695
5703
|
"default": false,
|
|
5696
5704
|
"description": "Allow conditional variants of the entity to override this attribute's value.\nOnly meaningful on schemas that declare `conditions`. Unflagged attributes stay\nfixed on the base entity.\n"
|
|
@@ -7477,10 +7485,10 @@
|
|
|
7477
7485
|
"$ref": "#/components/schemas/Attribute"
|
|
7478
7486
|
}
|
|
7479
7487
|
},
|
|
7480
|
-
"
|
|
7488
|
+
"overridable_attribute": {
|
|
7481
7489
|
"type": "boolean",
|
|
7482
7490
|
"default": false,
|
|
7483
|
-
"description": "Allow conditional variants of the entity to override the values managed by this\ncapability. Only meaningful on schemas that declare `conditions` and on capabilities\nthat render an attribute group (`EntityAttributes:Group` ui hook), e.g. pricing tiers.\nAttributes carried by the capability opt in individually via their own\n`
|
|
7491
|
+
"description": "Allow conditional variants of the entity to override the values managed by this\ncapability. Only meaningful on schemas that declare `conditions` and on capabilities\nthat render an attribute group (`EntityAttributes:Group` ui hook), e.g. pricing tiers.\nAttributes carried by the capability opt in individually via their own\n`overridable_attribute` flag.\n"
|
|
7484
7492
|
},
|
|
7485
7493
|
"_purpose": {
|
|
7486
7494
|
"type": "array",
|
package/dist/schema-model.d.ts
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
|
+
import type { Attribute } from './openapi';
|
|
2
|
+
/** Every `type` an entity schema attribute can have. */
|
|
3
|
+
export type AttributeType = NonNullable<Attribute['type']>;
|
|
1
4
|
export declare enum RelationAffinityMode {
|
|
2
|
-
/**
|
|
3
|
-
* For strong affinity mode on a relation attribute, deleting or creating the parent or the relation linkage will trigger a CASCADE delete or create to the relation entity itself.
|
|
4
|
-
* For weak affinity mode on a relation attribute, deleting or creating the parent or the relation linkage will NOT trigger a CASCADE delete or create to the relation entity itself.
|
|
5
|
-
*/
|
|
5
|
+
/** Deleting or creating the parent or the linkage does NOT cascade to the relation entity. */
|
|
6
6
|
WEAK = "weak",
|
|
7
|
+
/** Deleting or creating the parent or the linkage cascades to the relation entity. */
|
|
7
8
|
STRONG = "strong"
|
|
8
9
|
}
|
|
10
|
+
/** Types that point at another entity. A repeatable relation is still a relation. */
|
|
11
|
+
export declare const RELATION_ATTRIBUTE_TYPE_LIST: readonly ["relation", "relation_user", "relation_address", "relation_payment_method"];
|
|
12
|
+
/** `string`, not `AttributeType`, so callers can test an unnarrowed `attribute.type`. */
|
|
13
|
+
export declare const RELATION_ATTRIBUTE_TYPES: ReadonlySet<string>;
|
package/dist/schema-model.js
CHANGED
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RelationAffinityMode = void 0;
|
|
3
|
+
exports.RELATION_ATTRIBUTE_TYPES = exports.RELATION_ATTRIBUTE_TYPE_LIST = exports.RelationAffinityMode = void 0;
|
|
4
4
|
var RelationAffinityMode;
|
|
5
5
|
(function (RelationAffinityMode) {
|
|
6
|
-
/**
|
|
7
|
-
* For strong affinity mode on a relation attribute, deleting or creating the parent or the relation linkage will trigger a CASCADE delete or create to the relation entity itself.
|
|
8
|
-
* For weak affinity mode on a relation attribute, deleting or creating the parent or the relation linkage will NOT trigger a CASCADE delete or create to the relation entity itself.
|
|
9
|
-
*/
|
|
6
|
+
/** Deleting or creating the parent or the linkage does NOT cascade to the relation entity. */
|
|
10
7
|
RelationAffinityMode["WEAK"] = "weak";
|
|
8
|
+
/** Deleting or creating the parent or the linkage cascades to the relation entity. */
|
|
11
9
|
RelationAffinityMode["STRONG"] = "strong";
|
|
12
10
|
})(RelationAffinityMode = exports.RelationAffinityMode || (exports.RelationAffinityMode = {}));
|
|
11
|
+
/** Types that point at another entity. A repeatable relation is still a relation. */
|
|
12
|
+
exports.RELATION_ATTRIBUTE_TYPE_LIST = [
|
|
13
|
+
'relation',
|
|
14
|
+
'relation_user',
|
|
15
|
+
'relation_address',
|
|
16
|
+
'relation_payment_method',
|
|
17
|
+
];
|
|
18
|
+
/** `string`, not `AttributeType`, so callers can test an unnarrowed `attribute.type`. */
|
|
19
|
+
exports.RELATION_ATTRIBUTE_TYPES = new Set(exports.RELATION_ATTRIBUTE_TYPE_LIST);
|
|
13
20
|
//# sourceMappingURL=schema-model.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/entity-client",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.5.0",
|
|
4
4
|
"description": "JavaScript client library for the epilot Core Entity API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -21,19 +21,6 @@
|
|
|
21
21
|
"sdk",
|
|
22
22
|
"entity"
|
|
23
23
|
],
|
|
24
|
-
"scripts": {
|
|
25
|
-
"test": "vitest",
|
|
26
|
-
"typescript": "tsc",
|
|
27
|
-
"bundle-definition": "webpack",
|
|
28
|
-
"prepublishOnly": "npm run typegen && npm run build",
|
|
29
|
-
"openapi": "node ../../scripts/update-openapi.js https://docs.api.epilot.io/entity.yaml",
|
|
30
|
-
"typegen": "openapi typegen src/openapi.json --client > src/openapi.d.ts",
|
|
31
|
-
"build": "tsc && npm run build:patch && npm run bundle-definition",
|
|
32
|
-
"build:patch": "sed -i'' -e '/^__exportStar.*openapi.*$/d' dist/index.js",
|
|
33
|
-
"build:watch": "npm run build && tsc -w",
|
|
34
|
-
"release-alpha": "npm version prerelease --preid alpha",
|
|
35
|
-
"lint": "biome check src"
|
|
36
|
-
},
|
|
37
24
|
"files": [
|
|
38
25
|
"*.js",
|
|
39
26
|
"*.d.ts",
|
|
@@ -70,5 +57,17 @@
|
|
|
70
57
|
"webpack": "^5.18.0",
|
|
71
58
|
"webpack-cli": "^4.4.0"
|
|
72
59
|
},
|
|
73
|
-
"gitHead": "39426e86cfb320fa3227dc03f60ee6a10848e7c7"
|
|
74
|
-
|
|
60
|
+
"gitHead": "39426e86cfb320fa3227dc03f60ee6a10848e7c7",
|
|
61
|
+
"scripts": {
|
|
62
|
+
"test": "vitest",
|
|
63
|
+
"typescript": "tsc",
|
|
64
|
+
"bundle-definition": "webpack",
|
|
65
|
+
"openapi": "node ../../scripts/update-openapi.js https://docs.api.epilot.io/entity.yaml",
|
|
66
|
+
"typegen": "openapi typegen src/openapi.json --client > src/openapi.d.ts",
|
|
67
|
+
"build": "tsc && npm run build:patch && npm run bundle-definition",
|
|
68
|
+
"build:patch": "sed -i'' -e '/^__exportStar.*openapi.*$/d' dist/index.js",
|
|
69
|
+
"build:watch": "npm run build && tsc -w",
|
|
70
|
+
"release-alpha": "npm version prerelease --preid alpha",
|
|
71
|
+
"lint": "biome check src"
|
|
72
|
+
}
|
|
73
|
+
}
|