@epilot/entity-client 7.5.0 → 7.5.2
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 +4 -0
- package/dist/openapi.d.ts +379 -19
- package/dist/openapi.json +145 -9
- package/dist/schema-model.d.ts +14 -0
- package/dist/schema-model.js +37 -1
- package/package.json +17 -15
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","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})})();
|
|
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"},{"name":"from","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})})();
|
package/dist/openapi.d.ts
CHANGED
|
@@ -397,6 +397,10 @@ declare namespace Components {
|
|
|
397
397
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
398
398
|
* fixed on the base entity.
|
|
399
399
|
*
|
|
400
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
401
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
402
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
403
|
+
*
|
|
400
404
|
*/
|
|
401
405
|
overridable_attribute?: boolean;
|
|
402
406
|
default_value?: any;
|
|
@@ -632,6 +636,10 @@ declare namespace Components {
|
|
|
632
636
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
633
637
|
* fixed on the base entity.
|
|
634
638
|
*
|
|
639
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
640
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
641
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
642
|
+
*
|
|
635
643
|
*/
|
|
636
644
|
overridable_attribute?: boolean;
|
|
637
645
|
default_value?: any;
|
|
@@ -897,6 +905,10 @@ declare namespace Components {
|
|
|
897
905
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
898
906
|
* fixed on the base entity.
|
|
899
907
|
*
|
|
908
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
909
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
910
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
911
|
+
*
|
|
900
912
|
*/
|
|
901
913
|
overridable_attribute?: boolean;
|
|
902
914
|
default_value?: any;
|
|
@@ -1164,6 +1176,10 @@ declare namespace Components {
|
|
|
1164
1176
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
1165
1177
|
* fixed on the base entity.
|
|
1166
1178
|
*
|
|
1179
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
1180
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
1181
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
1182
|
+
*
|
|
1167
1183
|
*/
|
|
1168
1184
|
overridable_attribute?: boolean;
|
|
1169
1185
|
default_value?: any;
|
|
@@ -1496,6 +1512,10 @@ declare namespace Components {
|
|
|
1496
1512
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
1497
1513
|
* fixed on the base entity.
|
|
1498
1514
|
*
|
|
1515
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
1516
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
1517
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
1518
|
+
*
|
|
1499
1519
|
*/
|
|
1500
1520
|
overridable_attribute?: boolean;
|
|
1501
1521
|
default_value?: any;
|
|
@@ -1808,6 +1828,10 @@ declare namespace Components {
|
|
|
1808
1828
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
1809
1829
|
* fixed on the base entity.
|
|
1810
1830
|
*
|
|
1831
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
1832
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
1833
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
1834
|
+
*
|
|
1811
1835
|
*/
|
|
1812
1836
|
overridable_attribute?: boolean;
|
|
1813
1837
|
default_value?: any;
|
|
@@ -2005,13 +2029,13 @@ declare namespace Components {
|
|
|
2005
2029
|
}
|
|
2006
2030
|
/**
|
|
2007
2031
|
* One dimension that conditional variants of an entity type are keyed by. `type`
|
|
2008
|
-
* discriminates the variants: only a `select` condition carries `
|
|
2032
|
+
* discriminates the variants: only a `select` condition carries `options`, and only a
|
|
2009
2033
|
* `location` condition carries `format`.
|
|
2010
2034
|
*
|
|
2011
2035
|
*/
|
|
2012
2036
|
export type ConditionDefinition = /**
|
|
2013
2037
|
* One dimension that conditional variants of an entity type are keyed by. `type`
|
|
2014
|
-
* discriminates the variants: only a `select` condition carries `
|
|
2038
|
+
* discriminates the variants: only a `select` condition carries `options`, and only a
|
|
2015
2039
|
* `location` condition carries `format`.
|
|
2016
2040
|
*
|
|
2017
2041
|
*/
|
|
@@ -2049,6 +2073,10 @@ declare namespace Components {
|
|
|
2049
2073
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
2050
2074
|
* fixed on the base entity.
|
|
2051
2075
|
*
|
|
2076
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
2077
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
2078
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
2079
|
+
*
|
|
2052
2080
|
*/
|
|
2053
2081
|
overridable_attribute?: boolean;
|
|
2054
2082
|
default_value?: any;
|
|
@@ -2260,6 +2288,10 @@ declare namespace Components {
|
|
|
2260
2288
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
2261
2289
|
* fixed on the base entity.
|
|
2262
2290
|
*
|
|
2291
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
2292
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
2293
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
2294
|
+
*
|
|
2263
2295
|
*/
|
|
2264
2296
|
overridable_attribute?: boolean;
|
|
2265
2297
|
default_value?: any;
|
|
@@ -2469,6 +2501,10 @@ declare namespace Components {
|
|
|
2469
2501
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
2470
2502
|
* fixed on the base entity.
|
|
2471
2503
|
*
|
|
2504
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
2505
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
2506
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
2507
|
+
*
|
|
2472
2508
|
*/
|
|
2473
2509
|
overridable_attribute?: boolean;
|
|
2474
2510
|
default_value?: any;
|
|
@@ -2688,6 +2724,10 @@ declare namespace Components {
|
|
|
2688
2724
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
2689
2725
|
* fixed on the base entity.
|
|
2690
2726
|
*
|
|
2727
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
2728
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
2729
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
2730
|
+
*
|
|
2691
2731
|
*/
|
|
2692
2732
|
overridable_attribute?: boolean;
|
|
2693
2733
|
default_value?: any;
|
|
@@ -2978,6 +3018,10 @@ declare namespace Components {
|
|
|
2978
3018
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
2979
3019
|
* fixed on the base entity.
|
|
2980
3020
|
*
|
|
3021
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
3022
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
3023
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
3024
|
+
*
|
|
2981
3025
|
*/
|
|
2982
3026
|
overridable_attribute?: boolean;
|
|
2983
3027
|
default_value?: any;
|
|
@@ -3311,14 +3355,23 @@ declare namespace Components {
|
|
|
3311
3355
|
title?: string;
|
|
3312
3356
|
attributes?: Attribute[];
|
|
3313
3357
|
/**
|
|
3314
|
-
* Allow conditional variants
|
|
3315
|
-
*
|
|
3316
|
-
*
|
|
3317
|
-
* Attributes carried by the capability opt in individually via their own
|
|
3318
|
-
* `overridable_attribute` flag.
|
|
3358
|
+
* Allow conditional variants to override the fields this capability manages. Only
|
|
3359
|
+
* meaningful on schemas that declare `conditions`, and requires `managed_fields`: the
|
|
3360
|
+
* flag covers exactly what that lists, not the capability's name.
|
|
3319
3361
|
*
|
|
3320
3362
|
*/
|
|
3321
3363
|
overridable_attribute?: boolean;
|
|
3364
|
+
/**
|
|
3365
|
+
* Every entity field this capability writes, including one named after the capability
|
|
3366
|
+
* itself. With `overridable_attribute`, this is the definitive list of what a variant
|
|
3367
|
+
* may override through the capability, applied as a single patch.
|
|
3368
|
+
*
|
|
3369
|
+
* Fields, not attributes: a capability may write entity fields that have no attribute
|
|
3370
|
+
* definition, so entries need not resolve to one. Where an entry does resolve to an
|
|
3371
|
+
* attribute, `hidden` and `computed` do not disqualify it.
|
|
3372
|
+
*
|
|
3373
|
+
*/
|
|
3374
|
+
managed_fields?: string /* ^[a-z0-9_]+$ */[];
|
|
3322
3375
|
_purpose?: /**
|
|
3323
3376
|
* example:
|
|
3324
3377
|
* taxonomy-slug:classification-slug
|
|
@@ -3491,14 +3544,23 @@ declare namespace Components {
|
|
|
3491
3544
|
title?: string;
|
|
3492
3545
|
attributes?: Attribute[];
|
|
3493
3546
|
/**
|
|
3494
|
-
* Allow conditional variants
|
|
3495
|
-
*
|
|
3496
|
-
*
|
|
3497
|
-
* Attributes carried by the capability opt in individually via their own
|
|
3498
|
-
* `overridable_attribute` flag.
|
|
3547
|
+
* Allow conditional variants to override the fields this capability manages. Only
|
|
3548
|
+
* meaningful on schemas that declare `conditions`, and requires `managed_fields`: the
|
|
3549
|
+
* flag covers exactly what that lists, not the capability's name.
|
|
3499
3550
|
*
|
|
3500
3551
|
*/
|
|
3501
3552
|
overridable_attribute?: boolean;
|
|
3553
|
+
/**
|
|
3554
|
+
* Every entity field this capability writes, including one named after the capability
|
|
3555
|
+
* itself. With `overridable_attribute`, this is the definitive list of what a variant
|
|
3556
|
+
* may override through the capability, applied as a single patch.
|
|
3557
|
+
*
|
|
3558
|
+
* Fields, not attributes: a capability may write entity fields that have no attribute
|
|
3559
|
+
* definition, so entries need not resolve to one. Where an entry does resolve to an
|
|
3560
|
+
* attribute, `hidden` and `computed` do not disqualify it.
|
|
3561
|
+
*
|
|
3562
|
+
*/
|
|
3563
|
+
managed_fields?: string /* ^[a-z0-9_]+$ */[];
|
|
3502
3564
|
_purpose?: /**
|
|
3503
3565
|
* example:
|
|
3504
3566
|
* taxonomy-slug:classification-slug
|
|
@@ -4660,6 +4722,83 @@ declare namespace Components {
|
|
|
4660
4722
|
widget_widths?: {
|
|
4661
4723
|
[name: string]: "one_third_width" | "half_width" | "two_third_width" | "full_width";
|
|
4662
4724
|
};
|
|
4725
|
+
/**
|
|
4726
|
+
* Configured tabs that host widgets, shown alongside capability tabs in entity details. Interleaves with capability `EntityDetailsV2:Tab` ui_hooks on a shared `order`: the host merges both lists and sorts by `order`, with capability tabs winning ties. Unlike the header grid, a tab's `widgets` list is the entire membership — a widget's ui_hook `default_visible` is never consulted for tab placement.
|
|
4727
|
+
* example:
|
|
4728
|
+
* [
|
|
4729
|
+
* {
|
|
4730
|
+
* "id": "8f14e45f-ceea-467e-a0d6-c8a4ea1c9e6d",
|
|
4731
|
+
* "slug": "sales-overview",
|
|
4732
|
+
* "title": "Sales Overview",
|
|
4733
|
+
* "order": 10,
|
|
4734
|
+
* "type": "widgets",
|
|
4735
|
+
* "widgets": [
|
|
4736
|
+
* {
|
|
4737
|
+
* "id": "next_best_action",
|
|
4738
|
+
* "width": "full_width"
|
|
4739
|
+
* },
|
|
4740
|
+
* {
|
|
4741
|
+
* "id": "recent_communications",
|
|
4742
|
+
* "width": "one_third_width"
|
|
4743
|
+
* }
|
|
4744
|
+
* ]
|
|
4745
|
+
* }
|
|
4746
|
+
* ]
|
|
4747
|
+
*/
|
|
4748
|
+
custom_tabs?: {
|
|
4749
|
+
[name: string]: any;
|
|
4750
|
+
/**
|
|
4751
|
+
* Generated when the tab is created and never edited afterward, so a blueprint-authored tab and a customer-authored tab can never collide and identity survives a rename.
|
|
4752
|
+
* example:
|
|
4753
|
+
* 8f14e45f-ceea-467e-a0d6-c8a4ea1c9e6d
|
|
4754
|
+
*/
|
|
4755
|
+
id: string;
|
|
4756
|
+
/**
|
|
4757
|
+
* URL route segment for the tab, derived from `title`. Unique within the schema, and against capability tab ids, since both share one route-segment namespace.
|
|
4758
|
+
* example:
|
|
4759
|
+
* sales-overview
|
|
4760
|
+
*/
|
|
4761
|
+
slug: string;
|
|
4762
|
+
/**
|
|
4763
|
+
* Tab label, authored by the configuring user.
|
|
4764
|
+
* example:
|
|
4765
|
+
* Sales Overview
|
|
4766
|
+
*/
|
|
4767
|
+
title: string;
|
|
4768
|
+
/**
|
|
4769
|
+
* Authoritative render position; array position carries no meaning. Shares one ordering space with capability tab ui_hook `order` — at equal `order`, capability tabs sort first.
|
|
4770
|
+
* example:
|
|
4771
|
+
* 10
|
|
4772
|
+
*/
|
|
4773
|
+
order: number;
|
|
4774
|
+
/**
|
|
4775
|
+
* Icon name from the existing entity icon set.
|
|
4776
|
+
* example:
|
|
4777
|
+
* person
|
|
4778
|
+
*/
|
|
4779
|
+
icon?: string;
|
|
4780
|
+
/**
|
|
4781
|
+
* Discriminator for the tab's payload. Currently `widgets`, carried by the `widgets` property below; a future tab kind adds its own payload property rather than reusing this one. Deliberately not an enum, so a type introduced by a newer host still round-trips through an older one instead of failing validation.
|
|
4782
|
+
* example:
|
|
4783
|
+
* widgets
|
|
4784
|
+
*/
|
|
4785
|
+
type: string;
|
|
4786
|
+
/**
|
|
4787
|
+
* Payload for `type: widgets`. Membership in this list IS the tab's widget set, in render order — there is no separate visibility map, and a widget's ui_hook `default_visible` is not consulted.
|
|
4788
|
+
*/
|
|
4789
|
+
widgets?: {
|
|
4790
|
+
/**
|
|
4791
|
+
* Widget id — a capability widget's `component`, or `summary` for the synthesized summary card.
|
|
4792
|
+
* example:
|
|
4793
|
+
* next_best_action
|
|
4794
|
+
*/
|
|
4795
|
+
id: string;
|
|
4796
|
+
/**
|
|
4797
|
+
* Width for this widget within the tab's grid. Falls back the same way as the header's `widget_widths` when omitted: widget's ui_hook `default_width`, then `full_width`.
|
|
4798
|
+
*/
|
|
4799
|
+
width?: "one_third_width" | "half_width" | "two_third_width" | "full_width";
|
|
4800
|
+
}[];
|
|
4801
|
+
}[];
|
|
4663
4802
|
};
|
|
4664
4803
|
capabilities: /* Capabilities the Entity has. Turn features on/off for entities. */ EntityCapability[];
|
|
4665
4804
|
/**
|
|
@@ -4780,7 +4919,7 @@ declare namespace Components {
|
|
|
4780
4919
|
*/
|
|
4781
4920
|
conditions?: /**
|
|
4782
4921
|
* One dimension that conditional variants of an entity type are keyed by. `type`
|
|
4783
|
-
* discriminates the variants: only a `select` condition carries `
|
|
4922
|
+
* discriminates the variants: only a `select` condition carries `options`, and only a
|
|
4784
4923
|
* `location` condition carries `format`.
|
|
4785
4924
|
*
|
|
4786
4925
|
*/
|
|
@@ -5115,6 +5254,83 @@ declare namespace Components {
|
|
|
5115
5254
|
widget_widths?: {
|
|
5116
5255
|
[name: string]: "one_third_width" | "half_width" | "two_third_width" | "full_width";
|
|
5117
5256
|
};
|
|
5257
|
+
/**
|
|
5258
|
+
* Configured tabs that host widgets, shown alongside capability tabs in entity details. Interleaves with capability `EntityDetailsV2:Tab` ui_hooks on a shared `order`: the host merges both lists and sorts by `order`, with capability tabs winning ties. Unlike the header grid, a tab's `widgets` list is the entire membership — a widget's ui_hook `default_visible` is never consulted for tab placement.
|
|
5259
|
+
* example:
|
|
5260
|
+
* [
|
|
5261
|
+
* {
|
|
5262
|
+
* "id": "8f14e45f-ceea-467e-a0d6-c8a4ea1c9e6d",
|
|
5263
|
+
* "slug": "sales-overview",
|
|
5264
|
+
* "title": "Sales Overview",
|
|
5265
|
+
* "order": 10,
|
|
5266
|
+
* "type": "widgets",
|
|
5267
|
+
* "widgets": [
|
|
5268
|
+
* {
|
|
5269
|
+
* "id": "next_best_action",
|
|
5270
|
+
* "width": "full_width"
|
|
5271
|
+
* },
|
|
5272
|
+
* {
|
|
5273
|
+
* "id": "recent_communications",
|
|
5274
|
+
* "width": "one_third_width"
|
|
5275
|
+
* }
|
|
5276
|
+
* ]
|
|
5277
|
+
* }
|
|
5278
|
+
* ]
|
|
5279
|
+
*/
|
|
5280
|
+
custom_tabs?: {
|
|
5281
|
+
[name: string]: any;
|
|
5282
|
+
/**
|
|
5283
|
+
* Generated when the tab is created and never edited afterward, so a blueprint-authored tab and a customer-authored tab can never collide and identity survives a rename.
|
|
5284
|
+
* example:
|
|
5285
|
+
* 8f14e45f-ceea-467e-a0d6-c8a4ea1c9e6d
|
|
5286
|
+
*/
|
|
5287
|
+
id: string;
|
|
5288
|
+
/**
|
|
5289
|
+
* URL route segment for the tab, derived from `title`. Unique within the schema, and against capability tab ids, since both share one route-segment namespace.
|
|
5290
|
+
* example:
|
|
5291
|
+
* sales-overview
|
|
5292
|
+
*/
|
|
5293
|
+
slug: string;
|
|
5294
|
+
/**
|
|
5295
|
+
* Tab label, authored by the configuring user.
|
|
5296
|
+
* example:
|
|
5297
|
+
* Sales Overview
|
|
5298
|
+
*/
|
|
5299
|
+
title: string;
|
|
5300
|
+
/**
|
|
5301
|
+
* Authoritative render position; array position carries no meaning. Shares one ordering space with capability tab ui_hook `order` — at equal `order`, capability tabs sort first.
|
|
5302
|
+
* example:
|
|
5303
|
+
* 10
|
|
5304
|
+
*/
|
|
5305
|
+
order: number;
|
|
5306
|
+
/**
|
|
5307
|
+
* Icon name from the existing entity icon set.
|
|
5308
|
+
* example:
|
|
5309
|
+
* person
|
|
5310
|
+
*/
|
|
5311
|
+
icon?: string;
|
|
5312
|
+
/**
|
|
5313
|
+
* Discriminator for the tab's payload. Currently `widgets`, carried by the `widgets` property below; a future tab kind adds its own payload property rather than reusing this one. Deliberately not an enum, so a type introduced by a newer host still round-trips through an older one instead of failing validation.
|
|
5314
|
+
* example:
|
|
5315
|
+
* widgets
|
|
5316
|
+
*/
|
|
5317
|
+
type: string;
|
|
5318
|
+
/**
|
|
5319
|
+
* Payload for `type: widgets`. Membership in this list IS the tab's widget set, in render order — there is no separate visibility map, and a widget's ui_hook `default_visible` is not consulted.
|
|
5320
|
+
*/
|
|
5321
|
+
widgets?: {
|
|
5322
|
+
/**
|
|
5323
|
+
* Widget id — a capability widget's `component`, or `summary` for the synthesized summary card.
|
|
5324
|
+
* example:
|
|
5325
|
+
* next_best_action
|
|
5326
|
+
*/
|
|
5327
|
+
id: string;
|
|
5328
|
+
/**
|
|
5329
|
+
* Width for this widget within the tab's grid. Falls back the same way as the header's `widget_widths` when omitted: widget's ui_hook `default_width`, then `full_width`.
|
|
5330
|
+
*/
|
|
5331
|
+
width?: "one_third_width" | "half_width" | "two_third_width" | "full_width";
|
|
5332
|
+
}[];
|
|
5333
|
+
}[];
|
|
5118
5334
|
};
|
|
5119
5335
|
capabilities: /* Capabilities the Entity has. Turn features on/off for entities. */ EntityCapability[];
|
|
5120
5336
|
/**
|
|
@@ -5235,7 +5451,7 @@ declare namespace Components {
|
|
|
5235
5451
|
*/
|
|
5236
5452
|
conditions?: /**
|
|
5237
5453
|
* One dimension that conditional variants of an entity type are keyed by. `type`
|
|
5238
|
-
* discriminates the variants: only a `select` condition carries `
|
|
5454
|
+
* discriminates the variants: only a `select` condition carries `options`, and only a
|
|
5239
5455
|
* `location` condition carries `format`.
|
|
5240
5456
|
*
|
|
5241
5457
|
*/
|
|
@@ -5789,6 +6005,10 @@ declare namespace Components {
|
|
|
5789
6005
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
5790
6006
|
* fixed on the base entity.
|
|
5791
6007
|
*
|
|
6008
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
6009
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
6010
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
6011
|
+
*
|
|
5792
6012
|
*/
|
|
5793
6013
|
overridable_attribute?: boolean;
|
|
5794
6014
|
default_value?: any;
|
|
@@ -6711,6 +6931,10 @@ declare namespace Components {
|
|
|
6711
6931
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
6712
6932
|
* fixed on the base entity.
|
|
6713
6933
|
*
|
|
6934
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
6935
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
6936
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
6937
|
+
*
|
|
6714
6938
|
*/
|
|
6715
6939
|
overridable_attribute?: boolean;
|
|
6716
6940
|
default_value?: any;
|
|
@@ -6920,6 +7144,10 @@ declare namespace Components {
|
|
|
6920
7144
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
6921
7145
|
* fixed on the base entity.
|
|
6922
7146
|
*
|
|
7147
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
7148
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
7149
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
7150
|
+
*
|
|
6923
7151
|
*/
|
|
6924
7152
|
overridable_attribute?: boolean;
|
|
6925
7153
|
default_value?: any;
|
|
@@ -7129,6 +7357,10 @@ declare namespace Components {
|
|
|
7129
7357
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
7130
7358
|
* fixed on the base entity.
|
|
7131
7359
|
*
|
|
7360
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
7361
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
7362
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
7363
|
+
*
|
|
7132
7364
|
*/
|
|
7133
7365
|
overridable_attribute?: boolean;
|
|
7134
7366
|
default_value?: any;
|
|
@@ -7346,6 +7578,10 @@ declare namespace Components {
|
|
|
7346
7578
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
7347
7579
|
* fixed on the base entity.
|
|
7348
7580
|
*
|
|
7581
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
7582
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
7583
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
7584
|
+
*
|
|
7349
7585
|
*/
|
|
7350
7586
|
overridable_attribute?: boolean;
|
|
7351
7587
|
default_value?: any;
|
|
@@ -7610,6 +7846,10 @@ declare namespace Components {
|
|
|
7610
7846
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
7611
7847
|
* fixed on the base entity.
|
|
7612
7848
|
*
|
|
7849
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
7850
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
7851
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
7852
|
+
*
|
|
7613
7853
|
*/
|
|
7614
7854
|
overridable_attribute?: boolean;
|
|
7615
7855
|
default_value?: any;
|
|
@@ -7906,6 +8146,10 @@ declare namespace Components {
|
|
|
7906
8146
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
7907
8147
|
* fixed on the base entity.
|
|
7908
8148
|
*
|
|
8149
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
8150
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
8151
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
8152
|
+
*
|
|
7909
8153
|
*/
|
|
7910
8154
|
overridable_attribute?: boolean;
|
|
7911
8155
|
default_value?: any;
|
|
@@ -8226,6 +8470,10 @@ declare namespace Components {
|
|
|
8226
8470
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
8227
8471
|
* fixed on the base entity.
|
|
8228
8472
|
*
|
|
8473
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
8474
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
8475
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
8476
|
+
*
|
|
8229
8477
|
*/
|
|
8230
8478
|
overridable_attribute?: boolean;
|
|
8231
8479
|
default_value?: any;
|
|
@@ -8444,6 +8692,10 @@ declare namespace Components {
|
|
|
8444
8692
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
8445
8693
|
* fixed on the base entity.
|
|
8446
8694
|
*
|
|
8695
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
8696
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
8697
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
8698
|
+
*
|
|
8447
8699
|
*/
|
|
8448
8700
|
overridable_attribute?: boolean;
|
|
8449
8701
|
default_value?: any;
|
|
@@ -8653,6 +8905,10 @@ declare namespace Components {
|
|
|
8653
8905
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
8654
8906
|
* fixed on the base entity.
|
|
8655
8907
|
*
|
|
8908
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
8909
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
8910
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
8911
|
+
*
|
|
8656
8912
|
*/
|
|
8657
8913
|
overridable_attribute?: boolean;
|
|
8658
8914
|
default_value?: any;
|
|
@@ -8862,6 +9118,10 @@ declare namespace Components {
|
|
|
8862
9118
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
8863
9119
|
* fixed on the base entity.
|
|
8864
9120
|
*
|
|
9121
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
9122
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
9123
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
9124
|
+
*
|
|
8865
9125
|
*/
|
|
8866
9126
|
overridable_attribute?: boolean;
|
|
8867
9127
|
default_value?: any;
|
|
@@ -9071,6 +9331,10 @@ declare namespace Components {
|
|
|
9071
9331
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
9072
9332
|
* fixed on the base entity.
|
|
9073
9333
|
*
|
|
9334
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
9335
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
9336
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
9337
|
+
*
|
|
9074
9338
|
*/
|
|
9075
9339
|
overridable_attribute?: boolean;
|
|
9076
9340
|
default_value?: any;
|
|
@@ -9280,6 +9544,10 @@ declare namespace Components {
|
|
|
9280
9544
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
9281
9545
|
* fixed on the base entity.
|
|
9282
9546
|
*
|
|
9547
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
9548
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
9549
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
9550
|
+
*
|
|
9283
9551
|
*/
|
|
9284
9552
|
overridable_attribute?: boolean;
|
|
9285
9553
|
default_value?: any;
|
|
@@ -9489,6 +9757,10 @@ declare namespace Components {
|
|
|
9489
9757
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
9490
9758
|
* fixed on the base entity.
|
|
9491
9759
|
*
|
|
9760
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
9761
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
9762
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
9763
|
+
*
|
|
9492
9764
|
*/
|
|
9493
9765
|
overridable_attribute?: boolean;
|
|
9494
9766
|
default_value?: any;
|
|
@@ -9698,6 +9970,10 @@ declare namespace Components {
|
|
|
9698
9970
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
9699
9971
|
* fixed on the base entity.
|
|
9700
9972
|
*
|
|
9973
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
9974
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
9975
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
9976
|
+
*
|
|
9701
9977
|
*/
|
|
9702
9978
|
overridable_attribute?: boolean;
|
|
9703
9979
|
default_value?: any;
|
|
@@ -9907,6 +10183,10 @@ declare namespace Components {
|
|
|
9907
10183
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
9908
10184
|
* fixed on the base entity.
|
|
9909
10185
|
*
|
|
10186
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
10187
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
10188
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
10189
|
+
*
|
|
9910
10190
|
*/
|
|
9911
10191
|
overridable_attribute?: boolean;
|
|
9912
10192
|
default_value?: any;
|
|
@@ -10116,6 +10396,10 @@ declare namespace Components {
|
|
|
10116
10396
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
10117
10397
|
* fixed on the base entity.
|
|
10118
10398
|
*
|
|
10399
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
10400
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
10401
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
10402
|
+
*
|
|
10119
10403
|
*/
|
|
10120
10404
|
overridable_attribute?: boolean;
|
|
10121
10405
|
default_value?: any;
|
|
@@ -10340,6 +10624,10 @@ declare namespace Components {
|
|
|
10340
10624
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
10341
10625
|
* fixed on the base entity.
|
|
10342
10626
|
*
|
|
10627
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
10628
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
10629
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
10630
|
+
*
|
|
10343
10631
|
*/
|
|
10344
10632
|
overridable_attribute?: boolean;
|
|
10345
10633
|
default_value?: any;
|
|
@@ -10775,6 +11063,10 @@ declare namespace Components {
|
|
|
10775
11063
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
10776
11064
|
* fixed on the base entity.
|
|
10777
11065
|
*
|
|
11066
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
11067
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
11068
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
11069
|
+
*
|
|
10778
11070
|
*/
|
|
10779
11071
|
overridable_attribute?: boolean;
|
|
10780
11072
|
default_value?: any;
|
|
@@ -11438,6 +11730,10 @@ declare namespace Components {
|
|
|
11438
11730
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
11439
11731
|
* fixed on the base entity.
|
|
11440
11732
|
*
|
|
11733
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
11734
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
11735
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
11736
|
+
*
|
|
11441
11737
|
*/
|
|
11442
11738
|
overridable_attribute?: boolean;
|
|
11443
11739
|
default_value?: any;
|
|
@@ -11654,14 +11950,23 @@ declare namespace Components {
|
|
|
11654
11950
|
*/
|
|
11655
11951
|
type: "select";
|
|
11656
11952
|
/**
|
|
11657
|
-
* Selectable options
|
|
11953
|
+
* Selectable options, in the same shape a `select` attribute's `options` take: a bare
|
|
11954
|
+
* value or a `{ value, title }` object. May be empty while the condition is being
|
|
11955
|
+
* configured.
|
|
11956
|
+
*
|
|
11658
11957
|
* example:
|
|
11659
11958
|
* [
|
|
11660
11959
|
* "12_months",
|
|
11661
|
-
*
|
|
11960
|
+
* {
|
|
11961
|
+
* "value": "24_months",
|
|
11962
|
+
* "title": "24 months"
|
|
11963
|
+
* }
|
|
11662
11964
|
* ]
|
|
11663
11965
|
*/
|
|
11664
|
-
|
|
11966
|
+
options?: (string | {
|
|
11967
|
+
value: string;
|
|
11968
|
+
title?: string;
|
|
11969
|
+
})[];
|
|
11665
11970
|
}
|
|
11666
11971
|
/**
|
|
11667
11972
|
* Sequence of unique identifiers
|
|
@@ -11696,6 +12001,10 @@ declare namespace Components {
|
|
|
11696
12001
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
11697
12002
|
* fixed on the base entity.
|
|
11698
12003
|
*
|
|
12004
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
12005
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
12006
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
12007
|
+
*
|
|
11699
12008
|
*/
|
|
11700
12009
|
overridable_attribute?: boolean;
|
|
11701
12010
|
default_value?: any;
|
|
@@ -11922,6 +12231,10 @@ declare namespace Components {
|
|
|
11922
12231
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
11923
12232
|
* fixed on the base entity.
|
|
11924
12233
|
*
|
|
12234
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
12235
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
12236
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
12237
|
+
*
|
|
11925
12238
|
*/
|
|
11926
12239
|
overridable_attribute?: boolean;
|
|
11927
12240
|
default_value?: any;
|
|
@@ -12227,6 +12540,10 @@ declare namespace Components {
|
|
|
12227
12540
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
12228
12541
|
* fixed on the base entity.
|
|
12229
12542
|
*
|
|
12543
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
12544
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
12545
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
12546
|
+
*
|
|
12230
12547
|
*/
|
|
12231
12548
|
overridable_attribute?: boolean;
|
|
12232
12549
|
default_value?: any;
|
|
@@ -12492,6 +12809,10 @@ declare namespace Components {
|
|
|
12492
12809
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
12493
12810
|
* fixed on the base entity.
|
|
12494
12811
|
*
|
|
12812
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
12813
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
12814
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
12815
|
+
*
|
|
12495
12816
|
*/
|
|
12496
12817
|
overridable_attribute?: boolean;
|
|
12497
12818
|
default_value?: any;
|
|
@@ -12903,6 +13224,10 @@ declare namespace Components {
|
|
|
12903
13224
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
12904
13225
|
* fixed on the base entity.
|
|
12905
13226
|
*
|
|
13227
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
13228
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
13229
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
13230
|
+
*
|
|
12906
13231
|
*/
|
|
12907
13232
|
overridable_attribute?: boolean;
|
|
12908
13233
|
default_value?: any;
|
|
@@ -13125,6 +13450,10 @@ declare namespace Components {
|
|
|
13125
13450
|
* Only meaningful on schemas that declare `conditions`. Unflagged attributes stay
|
|
13126
13451
|
* fixed on the base entity.
|
|
13127
13452
|
*
|
|
13453
|
+
* Accepted on scalar attributes and on relations — a variant overrides a relation by
|
|
13454
|
+
* replacing its whole `$relation` list (e.g. a product's prices). Rejected on system
|
|
13455
|
+
* (`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.
|
|
13456
|
+
*
|
|
13128
13457
|
*/
|
|
13129
13458
|
overridable_attribute?: boolean;
|
|
13130
13459
|
default_value?: any;
|
|
@@ -13504,6 +13833,7 @@ declare namespace Paths {
|
|
|
13504
13833
|
* _tags
|
|
13505
13834
|
*/
|
|
13506
13835
|
export type Attribute = string;
|
|
13836
|
+
export type From = number;
|
|
13507
13837
|
export type Input = string;
|
|
13508
13838
|
export type Size = number;
|
|
13509
13839
|
export type Slug = /**
|
|
@@ -13523,10 +13853,14 @@ declare namespace Paths {
|
|
|
13523
13853
|
Parameters.Attribute;
|
|
13524
13854
|
slug?: Parameters.Slug;
|
|
13525
13855
|
size?: Parameters.Size;
|
|
13856
|
+
from?: Parameters.From;
|
|
13526
13857
|
}
|
|
13527
13858
|
namespace Responses {
|
|
13528
13859
|
export interface $200 {
|
|
13529
13860
|
/**
|
|
13861
|
+
* Number of distinct values matching the input. Exact (independent of `size`, capped at 1000) for
|
|
13862
|
+
* `_tags`; for other attributes the number of distinct values collected so far, which may grow with `size`.
|
|
13863
|
+
*
|
|
13530
13864
|
* example:
|
|
13531
13865
|
* 1
|
|
13532
13866
|
*/
|
|
@@ -17579,7 +17913,20 @@ export interface OperationMethods {
|
|
|
17579
17913
|
/**
|
|
17580
17914
|
* autocomplete - autocomplete
|
|
17581
17915
|
*
|
|
17582
|
-
* Autocomplete entity attributes
|
|
17916
|
+
* Autocomplete entity attributes.
|
|
17917
|
+
*
|
|
17918
|
+
* Suggestions are derived from the values **currently stored on entities** the caller is allowed to read.
|
|
17919
|
+
* A value only shows up while at least one entity carries it, so this endpoint reflects usage, not
|
|
17920
|
+
* configuration.
|
|
17921
|
+
*
|
|
17922
|
+
* To enumerate the label catalogue managed in the Label Builder (including labels that are not
|
|
17923
|
+
* assigned to any entity yet, and excluding archived ones), use the Taxonomy endpoints instead:
|
|
17924
|
+
* `POST /v1/entity/taxonomies/classifications:search` (`taxonomiesClassificationsSearch`) or
|
|
17925
|
+
* `GET /v1/entity/taxonomies/{taxonomySlug}:autocomplete` (`taxonomyAutocomplete`).
|
|
17926
|
+
*
|
|
17927
|
+
* For `attribute=_tags` the distinct values are aggregated across all matching entities, `hits` is the exact
|
|
17928
|
+
* number of distinct values (capped at 1000) and results are ordered by usage. For other attributes the
|
|
17929
|
+
* 1000 most recently updated entities are scanned and `hits` is the number of distinct values found so far.
|
|
17583
17930
|
*
|
|
17584
17931
|
*/
|
|
17585
17932
|
'autocomplete'(
|
|
@@ -18817,7 +19164,20 @@ export interface PathsDictionary {
|
|
|
18817
19164
|
/**
|
|
18818
19165
|
* autocomplete - autocomplete
|
|
18819
19166
|
*
|
|
18820
|
-
* Autocomplete entity attributes
|
|
19167
|
+
* Autocomplete entity attributes.
|
|
19168
|
+
*
|
|
19169
|
+
* Suggestions are derived from the values **currently stored on entities** the caller is allowed to read.
|
|
19170
|
+
* A value only shows up while at least one entity carries it, so this endpoint reflects usage, not
|
|
19171
|
+
* configuration.
|
|
19172
|
+
*
|
|
19173
|
+
* To enumerate the label catalogue managed in the Label Builder (including labels that are not
|
|
19174
|
+
* assigned to any entity yet, and excluding archived ones), use the Taxonomy endpoints instead:
|
|
19175
|
+
* `POST /v1/entity/taxonomies/classifications:search` (`taxonomiesClassificationsSearch`) or
|
|
19176
|
+
* `GET /v1/entity/taxonomies/{taxonomySlug}:autocomplete` (`taxonomyAutocomplete`).
|
|
19177
|
+
*
|
|
19178
|
+
* For `attribute=_tags` the distinct values are aggregated across all matching entities, `hits` is the exact
|
|
19179
|
+
* number of distinct values (capped at 1000) and results are ordered by usage. For other attributes the
|
|
19180
|
+
* 1000 most recently updated entities are scanned and `hits` is the number of distinct values found so far.
|
|
18821
19181
|
*
|
|
18822
19182
|
*/
|
|
18823
19183
|
'get'(
|
package/dist/openapi.json
CHANGED
|
@@ -1783,7 +1783,7 @@
|
|
|
1783
1783
|
"get": {
|
|
1784
1784
|
"operationId": "autocomplete",
|
|
1785
1785
|
"summary": "autocomplete",
|
|
1786
|
-
"description": "Autocomplete entity attributes\n",
|
|
1786
|
+
"description": "Autocomplete entity attributes.\n\nSuggestions are derived from the values **currently stored on entities** the caller is allowed to read.\nA value only shows up while at least one entity carries it, so this endpoint reflects usage, not\nconfiguration.\n\nTo enumerate the label catalogue managed in the Label Builder (including labels that are not\nassigned to any entity yet, and excluding archived ones), use the Taxonomy endpoints instead:\n`POST /v1/entity/taxonomies/classifications:search` (`taxonomiesClassificationsSearch`) or\n`GET /v1/entity/taxonomies/{taxonomySlug}:autocomplete` (`taxonomyAutocomplete`).\n\nFor `attribute=_tags` the distinct values are aggregated across all matching entities, `hits` is the exact\nnumber of distinct values (capped at 1000) and results are ordered by usage. For other attributes the\n1000 most recently updated entities are scanned and `hits` is the number of distinct values found so far.\n",
|
|
1787
1787
|
"tags": [
|
|
1788
1788
|
"Entities"
|
|
1789
1789
|
],
|
|
@@ -1794,7 +1794,7 @@
|
|
|
1794
1794
|
{
|
|
1795
1795
|
"name": "input",
|
|
1796
1796
|
"in": "query",
|
|
1797
|
-
"description": "Input to autocomplete",
|
|
1797
|
+
"description": "Input to autocomplete (case-insensitive substring match)",
|
|
1798
1798
|
"schema": {
|
|
1799
1799
|
"type": "string"
|
|
1800
1800
|
}
|
|
@@ -1827,6 +1827,17 @@
|
|
|
1827
1827
|
"minimum": 1,
|
|
1828
1828
|
"maximum": 250
|
|
1829
1829
|
}
|
|
1830
|
+
},
|
|
1831
|
+
{
|
|
1832
|
+
"name": "from",
|
|
1833
|
+
"in": "query",
|
|
1834
|
+
"description": "Number of distinct values to skip, for paging through results when `hits` exceeds `size`.\n`from + size` may not exceed 1000.\n",
|
|
1835
|
+
"schema": {
|
|
1836
|
+
"type": "integer",
|
|
1837
|
+
"default": 0,
|
|
1838
|
+
"minimum": 0,
|
|
1839
|
+
"maximum": 999
|
|
1840
|
+
}
|
|
1830
1841
|
}
|
|
1831
1842
|
],
|
|
1832
1843
|
"responses": {
|
|
@@ -1839,6 +1850,7 @@
|
|
|
1839
1850
|
"properties": {
|
|
1840
1851
|
"hits": {
|
|
1841
1852
|
"type": "number",
|
|
1853
|
+
"description": "Number of distinct values matching the input. Exact (independent of `size`, capped at 1000) for\n`_tags`; for other attributes the number of distinct values collected so far, which may grow with `size`.\n",
|
|
1842
1854
|
"example": 1
|
|
1843
1855
|
},
|
|
1844
1856
|
"results": {
|
|
@@ -5132,6 +5144,100 @@
|
|
|
5132
5144
|
"address_map": "full_width",
|
|
5133
5145
|
"recent_communications": "one_third_width"
|
|
5134
5146
|
}
|
|
5147
|
+
},
|
|
5148
|
+
"custom_tabs": {
|
|
5149
|
+
"type": "array",
|
|
5150
|
+
"description": "Configured tabs that host widgets, shown alongside capability tabs in entity details. Interleaves with capability `EntityDetailsV2:Tab` ui_hooks on a shared `order`: the host merges both lists and sorts by `order`, with capability tabs winning ties. Unlike the header grid, a tab's `widgets` list is the entire membership — a widget's ui_hook `default_visible` is never consulted for tab placement.",
|
|
5151
|
+
"items": {
|
|
5152
|
+
"type": "object",
|
|
5153
|
+
"additionalProperties": true,
|
|
5154
|
+
"description": "A single configured tab. `type` discriminates the payload shape; readers must skip an entry whose `type` they don't recognize instead of failing, and writers must round-trip such entries unchanged, so a stable host and a canary host can safely share one schema. Mirrors the same skip-unknown/round-trip contract already used for capability `ui_hooks` entries above.",
|
|
5155
|
+
"properties": {
|
|
5156
|
+
"id": {
|
|
5157
|
+
"type": "string",
|
|
5158
|
+
"description": "Generated when the tab is created and never edited afterward, so a blueprint-authored tab and a customer-authored tab can never collide and identity survives a rename.",
|
|
5159
|
+
"example": "8f14e45f-ceea-467e-a0d6-c8a4ea1c9e6d"
|
|
5160
|
+
},
|
|
5161
|
+
"slug": {
|
|
5162
|
+
"type": "string",
|
|
5163
|
+
"description": "URL route segment for the tab, derived from `title`. Unique within the schema, and against capability tab ids, since both share one route-segment namespace.",
|
|
5164
|
+
"example": "sales-overview"
|
|
5165
|
+
},
|
|
5166
|
+
"title": {
|
|
5167
|
+
"type": "string",
|
|
5168
|
+
"description": "Tab label, authored by the configuring user.",
|
|
5169
|
+
"example": "Sales Overview"
|
|
5170
|
+
},
|
|
5171
|
+
"order": {
|
|
5172
|
+
"type": "integer",
|
|
5173
|
+
"description": "Authoritative render position; array position carries no meaning. Shares one ordering space with capability tab ui_hook `order` — at equal `order`, capability tabs sort first.",
|
|
5174
|
+
"example": 10
|
|
5175
|
+
},
|
|
5176
|
+
"icon": {
|
|
5177
|
+
"type": "string",
|
|
5178
|
+
"description": "Icon name from the existing entity icon set.",
|
|
5179
|
+
"example": "person"
|
|
5180
|
+
},
|
|
5181
|
+
"type": {
|
|
5182
|
+
"type": "string",
|
|
5183
|
+
"description": "Discriminator for the tab's payload. Currently `widgets`, carried by the `widgets` property below; a future tab kind adds its own payload property rather than reusing this one. Deliberately not an enum, so a type introduced by a newer host still round-trips through an older one instead of failing validation.",
|
|
5184
|
+
"example": "widgets"
|
|
5185
|
+
},
|
|
5186
|
+
"widgets": {
|
|
5187
|
+
"type": "array",
|
|
5188
|
+
"description": "Payload for `type: widgets`. Membership in this list IS the tab's widget set, in render order — there is no separate visibility map, and a widget's ui_hook `default_visible` is not consulted.",
|
|
5189
|
+
"items": {
|
|
5190
|
+
"type": "object",
|
|
5191
|
+
"properties": {
|
|
5192
|
+
"id": {
|
|
5193
|
+
"type": "string",
|
|
5194
|
+
"description": "Widget id — a capability widget's `component`, or `summary` for the synthesized summary card.",
|
|
5195
|
+
"example": "next_best_action"
|
|
5196
|
+
},
|
|
5197
|
+
"width": {
|
|
5198
|
+
"type": "string",
|
|
5199
|
+
"description": "Width for this widget within the tab's grid. Falls back the same way as the header's `widget_widths` when omitted: widget's ui_hook `default_width`, then `full_width`.",
|
|
5200
|
+
"enum": [
|
|
5201
|
+
"one_third_width",
|
|
5202
|
+
"half_width",
|
|
5203
|
+
"two_third_width",
|
|
5204
|
+
"full_width"
|
|
5205
|
+
]
|
|
5206
|
+
}
|
|
5207
|
+
},
|
|
5208
|
+
"required": [
|
|
5209
|
+
"id"
|
|
5210
|
+
]
|
|
5211
|
+
}
|
|
5212
|
+
}
|
|
5213
|
+
},
|
|
5214
|
+
"required": [
|
|
5215
|
+
"id",
|
|
5216
|
+
"slug",
|
|
5217
|
+
"title",
|
|
5218
|
+
"order",
|
|
5219
|
+
"type"
|
|
5220
|
+
]
|
|
5221
|
+
},
|
|
5222
|
+
"example": [
|
|
5223
|
+
{
|
|
5224
|
+
"id": "8f14e45f-ceea-467e-a0d6-c8a4ea1c9e6d",
|
|
5225
|
+
"slug": "sales-overview",
|
|
5226
|
+
"title": "Sales Overview",
|
|
5227
|
+
"order": 10,
|
|
5228
|
+
"type": "widgets",
|
|
5229
|
+
"widgets": [
|
|
5230
|
+
{
|
|
5231
|
+
"id": "next_best_action",
|
|
5232
|
+
"width": "full_width"
|
|
5233
|
+
},
|
|
5234
|
+
{
|
|
5235
|
+
"id": "recent_communications",
|
|
5236
|
+
"width": "one_third_width"
|
|
5237
|
+
}
|
|
5238
|
+
]
|
|
5239
|
+
}
|
|
5240
|
+
]
|
|
5135
5241
|
}
|
|
5136
5242
|
}
|
|
5137
5243
|
},
|
|
@@ -5701,7 +5807,7 @@
|
|
|
5701
5807
|
"overridable_attribute": {
|
|
5702
5808
|
"type": "boolean",
|
|
5703
5809
|
"default": false,
|
|
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"
|
|
5810
|
+
"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\nAccepted on scalar attributes and on relations — a variant overrides a relation by\nreplacing its whole `$relation` list (e.g. a product's prices). Rejected on system\n(`_`-prefixed), `readonly`, `hidden`, `computed` and `repeatable` attributes.\n"
|
|
5705
5811
|
},
|
|
5706
5812
|
"default_value": {},
|
|
5707
5813
|
"group": {
|
|
@@ -7373,15 +7479,36 @@
|
|
|
7373
7479
|
"select"
|
|
7374
7480
|
]
|
|
7375
7481
|
},
|
|
7376
|
-
"
|
|
7482
|
+
"options": {
|
|
7377
7483
|
"type": "array",
|
|
7378
|
-
"description": "Selectable options. May be empty while the condition is being
|
|
7484
|
+
"description": "Selectable options, in the same shape a `select` attribute's `options` take: a bare\nvalue or a `{ value, title }` object. May be empty while the condition is being\nconfigured.\n",
|
|
7379
7485
|
"items": {
|
|
7380
|
-
"
|
|
7486
|
+
"anyOf": [
|
|
7487
|
+
{
|
|
7488
|
+
"type": "string"
|
|
7489
|
+
},
|
|
7490
|
+
{
|
|
7491
|
+
"type": "object",
|
|
7492
|
+
"properties": {
|
|
7493
|
+
"value": {
|
|
7494
|
+
"type": "string"
|
|
7495
|
+
},
|
|
7496
|
+
"title": {
|
|
7497
|
+
"type": "string"
|
|
7498
|
+
}
|
|
7499
|
+
},
|
|
7500
|
+
"required": [
|
|
7501
|
+
"value"
|
|
7502
|
+
]
|
|
7503
|
+
}
|
|
7504
|
+
]
|
|
7381
7505
|
},
|
|
7382
7506
|
"example": [
|
|
7383
7507
|
"12_months",
|
|
7384
|
-
|
|
7508
|
+
{
|
|
7509
|
+
"value": "24_months",
|
|
7510
|
+
"title": "24 months"
|
|
7511
|
+
}
|
|
7385
7512
|
]
|
|
7386
7513
|
}
|
|
7387
7514
|
},
|
|
@@ -7423,7 +7550,7 @@
|
|
|
7423
7550
|
]
|
|
7424
7551
|
},
|
|
7425
7552
|
"ConditionDefinition": {
|
|
7426
|
-
"description": "One dimension that conditional variants of an entity type are keyed by. `type`\ndiscriminates the variants: only a `select` condition carries `
|
|
7553
|
+
"description": "One dimension that conditional variants of an entity type are keyed by. `type`\ndiscriminates the variants: only a `select` condition carries `options`, and only a\n`location` condition carries `format`.\n",
|
|
7427
7554
|
"oneOf": [
|
|
7428
7555
|
{
|
|
7429
7556
|
"$ref": "#/components/schemas/ScalarConditionDefinition"
|
|
@@ -7488,7 +7615,16 @@
|
|
|
7488
7615
|
"overridable_attribute": {
|
|
7489
7616
|
"type": "boolean",
|
|
7490
7617
|
"default": false,
|
|
7491
|
-
"description": "Allow conditional variants
|
|
7618
|
+
"description": "Allow conditional variants to override the fields this capability manages. Only\nmeaningful on schemas that declare `conditions`, and requires `managed_fields`: the\nflag covers exactly what that lists, not the capability's name.\n"
|
|
7619
|
+
},
|
|
7620
|
+
"managed_fields": {
|
|
7621
|
+
"type": "array",
|
|
7622
|
+
"description": "Every entity field this capability writes, including one named after the capability\nitself. With `overridable_attribute`, this is the definitive list of what a variant\nmay override through the capability, applied as a single patch.\n\nFields, not attributes: a capability may write entity fields that have no attribute\ndefinition, so entries need not resolve to one. Where an entry does resolve to an\nattribute, `hidden` and `computed` do not disqualify it.\n",
|
|
7623
|
+
"items": {
|
|
7624
|
+
"type": "string",
|
|
7625
|
+
"pattern": "^[a-z0-9_]+$",
|
|
7626
|
+
"example": "status"
|
|
7627
|
+
}
|
|
7492
7628
|
},
|
|
7493
7629
|
"_purpose": {
|
|
7494
7630
|
"type": "array",
|
package/dist/schema-model.d.ts
CHANGED
|
@@ -11,3 +11,17 @@ export declare enum RelationAffinityMode {
|
|
|
11
11
|
export declare const RELATION_ATTRIBUTE_TYPE_LIST: readonly ["relation", "relation_user", "relation_address", "relation_payment_method"];
|
|
12
12
|
/** `string`, not `AttributeType`, so callers can test an unnarrowed `attribute.type`. */
|
|
13
13
|
export declare const RELATION_ATTRIBUTE_TYPES: ReadonlySet<string>;
|
|
14
|
+
/**
|
|
15
|
+
* Entity attribute types a conditional pricing variant may override (`overridable_attribute`).
|
|
16
|
+
* An allowlist, so a new scalar type is never overridable by default; a new relation type is, since
|
|
17
|
+
* relations are overridable by kind. No pricing schema to `satisfies` against — `models.test.ts`
|
|
18
|
+
* checks these against the entity spec.
|
|
19
|
+
*
|
|
20
|
+
* Scalars are overridden value for value. The relation types are overridden as a whole: the
|
|
21
|
+
* variant's `$relation` list replaces the base entity's, which is how a variant swaps a product's
|
|
22
|
+
* prices or a composite price's components. They are spread from `RELATION_ATTRIBUTE_TYPE_LIST`
|
|
23
|
+
* above rather than restated, so the two sets cannot drift.
|
|
24
|
+
*/
|
|
25
|
+
export declare const OVERRIDABLE_ATTRIBUTE_TYPE_LIST: readonly ["string", "number", "currency", "boolean", "date", "datetime", "select", "radio", "multiselect", "checkbox", "country", "tags", "relation", "relation_user", "relation_address", "relation_payment_method"];
|
|
26
|
+
/** `string`, not a literal union, so callers can test an unnarrowed `attribute.type`. */
|
|
27
|
+
export declare const OVERRIDABLE_ATTRIBUTE_TYPES: ReadonlySet<string>;
|
package/dist/schema-model.js
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
3
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
4
|
+
if (ar || !(i in from)) {
|
|
5
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
6
|
+
ar[i] = from[i];
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
10
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RELATION_ATTRIBUTE_TYPES = exports.RELATION_ATTRIBUTE_TYPE_LIST = exports.RelationAffinityMode = void 0;
|
|
12
|
+
exports.OVERRIDABLE_ATTRIBUTE_TYPES = exports.OVERRIDABLE_ATTRIBUTE_TYPE_LIST = exports.RELATION_ATTRIBUTE_TYPES = exports.RELATION_ATTRIBUTE_TYPE_LIST = exports.RelationAffinityMode = void 0;
|
|
4
13
|
var RelationAffinityMode;
|
|
5
14
|
(function (RelationAffinityMode) {
|
|
6
15
|
/** Deleting or creating the parent or the linkage does NOT cascade to the relation entity. */
|
|
@@ -17,4 +26,31 @@ exports.RELATION_ATTRIBUTE_TYPE_LIST = [
|
|
|
17
26
|
];
|
|
18
27
|
/** `string`, not `AttributeType`, so callers can test an unnarrowed `attribute.type`. */
|
|
19
28
|
exports.RELATION_ATTRIBUTE_TYPES = new Set(exports.RELATION_ATTRIBUTE_TYPE_LIST);
|
|
29
|
+
/**
|
|
30
|
+
* Entity attribute types a conditional pricing variant may override (`overridable_attribute`).
|
|
31
|
+
* An allowlist, so a new scalar type is never overridable by default; a new relation type is, since
|
|
32
|
+
* relations are overridable by kind. No pricing schema to `satisfies` against — `models.test.ts`
|
|
33
|
+
* checks these against the entity spec.
|
|
34
|
+
*
|
|
35
|
+
* Scalars are overridden value for value. The relation types are overridden as a whole: the
|
|
36
|
+
* variant's `$relation` list replaces the base entity's, which is how a variant swaps a product's
|
|
37
|
+
* prices or a composite price's components. They are spread from `RELATION_ATTRIBUTE_TYPE_LIST`
|
|
38
|
+
* above rather than restated, so the two sets cannot drift.
|
|
39
|
+
*/
|
|
40
|
+
exports.OVERRIDABLE_ATTRIBUTE_TYPE_LIST = __spreadArray([
|
|
41
|
+
'string',
|
|
42
|
+
'number',
|
|
43
|
+
'currency',
|
|
44
|
+
'boolean',
|
|
45
|
+
'date',
|
|
46
|
+
'datetime',
|
|
47
|
+
'select',
|
|
48
|
+
'radio',
|
|
49
|
+
'multiselect',
|
|
50
|
+
'checkbox',
|
|
51
|
+
'country',
|
|
52
|
+
'tags'
|
|
53
|
+
], exports.RELATION_ATTRIBUTE_TYPE_LIST, true);
|
|
54
|
+
/** `string`, not a literal union, so callers can test an unnarrowed `attribute.type`. */
|
|
55
|
+
exports.OVERRIDABLE_ATTRIBUTE_TYPES = new Set(exports.OVERRIDABLE_ATTRIBUTE_TYPE_LIST);
|
|
20
56
|
//# sourceMappingURL=schema-model.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/entity-client",
|
|
3
|
-
"version": "7.5.
|
|
3
|
+
"version": "7.5.2",
|
|
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,6 +21,20 @@
|
|
|
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
|
+
"openapi:local": "node ../../scripts/update-openapi.js ../../../entity-api/lambda/ApiHandlerFunction/openapi.yml",
|
|
32
|
+
"build": "tsc && npm run build:patch && npm run bundle-definition",
|
|
33
|
+
"build:patch": "sed -i'' -e '/^__exportStar.*openapi.*$/d' dist/index.js",
|
|
34
|
+
"build:watch": "npm run build && tsc -w",
|
|
35
|
+
"release-alpha": "npm version prerelease --preid alpha",
|
|
36
|
+
"lint": "biome check src"
|
|
37
|
+
},
|
|
24
38
|
"files": [
|
|
25
39
|
"*.js",
|
|
26
40
|
"*.d.ts",
|
|
@@ -57,17 +71,5 @@
|
|
|
57
71
|
"webpack": "^5.18.0",
|
|
58
72
|
"webpack-cli": "^4.4.0"
|
|
59
73
|
},
|
|
60
|
-
"gitHead": "39426e86cfb320fa3227dc03f60ee6a10848e7c7"
|
|
61
|
-
|
|
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
|
-
}
|
|
74
|
+
"gitHead": "39426e86cfb320fa3227dc03f60ee6a10848e7c7"
|
|
75
|
+
}
|