@epilot/entity-client 4.31.0 → 4.31.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/definition.js +1 -1
- package/dist/openapi-runtime.json +51 -0
- package/dist/openapi.d.ts +198 -18
- package/dist/openapi.json +178 -2
- package/package.json +1 -1
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={914:function(e,t,a){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var n=r(a(240));t.default=n.default},240:e=>{e.exports=JSON.parse('{"openapi":"3.0.2","info":{"title":"","version":""},"paths":{"/v1/entity/schemas":{"get":{"operationId":"listSchemas","parameters":[{"in":"query","name":"unpublished"}],"responses":{}}},"/v1/entity/schemas/{slug}":{"get":{"operationId":"getSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"in":"query","name":"id"}],"responses":{}},"put":{"operationId":"putSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"in":"query","name":"draft"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"}],"responses":{}}},"/v1/entity/schemas/{slug}/json/schema":{"get":{"operationId":"getJsonSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"}],"responses":{}}},"/v1/entity/schemas/{slug}/json/example":{"get":{"operationId":"getSchemaExample","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"}],"responses":{}}},"/v1/entity/schemas/{slug}/versions":{"get":{"operationId":"getSchemaVersions","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"in":"query","name":"versions_from"},{"in":"query","name":"versions_size"},{"in":"query","name":"drafts_from"},{"in":"query","name":"drafts_size"},{"in":"query","name":"fields","required":false,"style":"form","explode":false}],"responses":{}}},"/v1/entity/schemas/blueprints":{"get":{"operationId":"listSchemaBlueprints","responses":{}}},"/v1/entity:search":{"post":{"operationId":"searchEntities","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity:list":{"post":{"operationId":"listEntities","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}":{"post":{"operationId":"createEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}:validate":{"post":{"operationId":"validateEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathPriceParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}:upsert":{"patch":{"operationId":"upsertEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/DryRunQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"name":"strict","in":"query","required":false}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/entity/{slug}/{id}":{"get":{"operationId":"getEntityV2","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"in":"query","name":"fields","style":"form","explode":false}],"responses":{}}},"/v1/entity/{slug}/{id}:restore":{"patch":{"operationId":"restoreEntity","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}/{id}":{"get":{"operationId":"getEntity","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"}],"responses":{}},"put":{"operationId":"updateEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"patch":{"operationId":"patchEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/DryRunQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"}],"requestBody":{"content":{"application/json":{}},"required":true},"responses":{}},"delete":{"operationId":"deleteEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"in":"query","name":"purge","default":false}],"responses":{}}},"/v1/entity:autocomplete":{"get":{"operationId":"autocomplete","parameters":[{"name":"input","in":"query"},{"name":"attribute","in":"query","required":true},{"name":"slug","in":"query"},{"name":"size","in":"query"}],"responses":{}}},"/v1/entity/activity":{"post":{"operationId":"createActivity","parameters":[{"in":"query","name":"entities","style":"form","explode":false}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/activity/{id}":{"get":{"operationId":"getActivity","parameters":[{"$ref":"#/components/parameters/ActivityIdPathParam"},{"in":"query","name":"operations_size"},{"in":"query","name":"operations_from"}],"responses":{}}},"/v1/entity/activity/{id}:attach":{"post":{"operationId":"attachActivity","parameters":[{"$ref":"#/components/parameters/ActivityIdPathParam"},{"in":"query","name":"entities","style":"form","explode":false}],"responses":{}}},"/v1/entity/{slug}/{id}/activity":{"get":{"operationId":"getEntityActivityFeed","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"in":"query","name":"after"},{"in":"query","name":"before"},{"$ref":"#/components/parameters/FromPageQueryParam"},{"in":"query","name":"size"},{"in":"query","name":"type"},{"in":"query","name":"include_relations"}],"responses":{}}},"/v1/entity/{slug}/{id}/relations":{"get":{"operationId":"getRelations","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"$ref":"#/components/parameters/IncludeReverseQueryParam"},{"$ref":"#/components/parameters/FromPageQueryParam"},{"in":"query","name":"size","required":false},{"$ref":"#/components/parameters/IncludeSchemasQueryParam"},{"$ref":"#/components/parameters/ExcludeSchemasQueryParam"}],"responses":{}},"post":{"operationId":"addRelations","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"removeRelations","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/entity/{slug}/{id}/relations":{"get":{"operationId":"getRelationsV2","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"in":"query","name":"query"},{"$ref":"#/components/parameters/IncludeReverseQueryParam"},{"$ref":"#/components/parameters/FromPageQueryParam"},{"in":"query","name":"size"},{"in":"query","name":"fields"}],"responses":{}}},"/v3/entity/{slug}/{id}/relations":{"get":{"operationId":"getRelationsV3","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"$ref":"#/components/parameters/IncludeReverseDeprecatedQueryParam"},{"$ref":"#/components/parameters/FromPageQueryParam"},{"in":"query","name":"size","required":false},{"$ref":"#/components/parameters/IncludeSchemasQueryParam"},{"$ref":"#/components/parameters/ExcludeSchemasQueryParam"},{"$ref":"#/components/parameters/EntityRelationsModeQueryParam"}],"responses":{}}},"/v2/entity/{slug}/{id}/relations/count":{"get":{"operationId":"getRelatedEntitiesCount","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ExcludeSchemasQueryParam"}],"responses":{}}},"/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}":{"put":{"operationId":"updateRelation","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"in":"path","name":"attribute","required":true},{"in":"path","name":"entity_id","required":true},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteRelation","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"in":"path","name":"attribute","required":true},{"in":"path","name":"entity_id","required":true},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"responses":{}}},"/v1/entity:export":{"post":{"operationId":"exportEntities","parameters":[{"in":"query","name":"job_id"},{"in":"query","name":"is_template"},{"in":"query","name":"language"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity:import":{"post":{"operationId":"importEntities","parameters":[{"in":"query","name":"job_id"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/views":{"get":{"operationId":"listSavedViews","parameters":[{"in":"query","name":"slug","required":false},{"in":"query","name":"sort","required":false},{"in":"query","name":"from","required":false},{"in":"query","name":"size","required":false},{"in":"query","name":"fields","required":false}],"responses":{}}},"/v1/entity/view":{"post":{"operationId":"createSavedView","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/view/{id}":{"get":{"operationId":"getSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"responses":{}},"put":{"operationId":"updateSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"responses":{}}},"/v1/entity/views/favorites":{"get":{"operationId":"listFavoriteViewsForUser","responses":{}}},"/v1/entity/taxonomies":{"get":{"operationId":"listTaxonomies","parameters":[{"in":"query","name":"include_disabled"}],"responses":{}},"post":{"operationId":"createTaxonomy","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/taxonomies/{taxonomySlug}":{"get":{"operationId":"getTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"}],"responses":{}},"put":{"operationId":"updateTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"},{"in":"query","name":"permanent"}],"responses":{}}},"/v1/entity/taxonomies/{taxonomySlug}:autocomplete":{"get":{"operationId":"taxonomyAutocomplete","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"},{"in":"query","name":"query"},{"in":"query","name":"size"}],"responses":{}}},"/v1/entity/taxonomies/classifications:search":{"post":{"operationId":"taxonomiesClassificationsSearch","parameters":[{"$ref":"#/components/parameters/TaxonomySlugQueryParamOptional"},{"in":"query","name":"query"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/taxonomies/{taxonomySlug}/classifications":{"post":{"operationId":"updateClassificationsForTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/{slug}/taxonomy/{taxonomySlug}":{"get":{"operationId":"listTaxonomyClassificationsForSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/TaxonomySlugPathParam"},{"in":"query","name":"query"},{"in":"query","name":"size"}],"responses":{}}},"/v2/entity/taxonomies/classifications/{classificationSlug}":{"get":{"operationId":"getTaxonomyClassification","parameters":[{"$ref":"#/components/parameters/TaxonomyClassificationSlugPathParam"}],"responses":{}},"put":{"operationId":"updateTaxonomyClassification","parameters":[{"$ref":"#/components/parameters/TaxonomyClassificationSlugPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteTaxonomyClassification","parameters":[{"$ref":"#/components/parameters/TaxonomyClassificationSlugPathParam"}],"responses":{}}},"/v1/entity/schemas/attributes":{"post":{"operationId":"createSchemaAttribute","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/attributes/{composite_id}":{"get":{"operationId":"getSchemaAttribute","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaAttribute","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaAttribute","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}},"/v1/entity/schemas/capabilities":{"post":{"operationId":"createSchemaCapability","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/capabilities/{composite_id}":{"get":{"operationId":"getSchemaCapability","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaCapability","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaCapability","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}},"/v1/entity/schemas/group":{"post":{"operationId":"createSchemaGroup","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/group/{composite_id}":{"get":{"operationId":"getSchemaGroup","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaGroup","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaGroup","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}}},"components":{"parameters":{"EntityIdPathParam":{"name":"id","in":"path","required":true},"EntitySlugPathParam":{"name":"slug","in":"path","required":true},"EntitySlugPathPriceParam":{"name":"slug","in":"path","required":true},"TaxonomySlugQueryParam":{"name":"taxonomySlug","in":"query","required":true},"TaxonomySlugPathParam":{"name":"taxonomySlug","in":"path","required":true},"TaxonomySlugQueryParamOptional":{"name":"taxonomySlug","in":"query"},"TaxonomyClassificationSlugPathParam":{"name":"classificationSlug","in":"path","required":true},"SavedViewIdPathParam":{"name":"id","in":"path","required":true},"AsyncOperationQueryParam":{"name":"async","in":"query","required":false},"HydrateEntitiesQueryParam":{"name":"hydrate","in":"query"},"ActivityIdQueryParam":{"name":"activity_id","in":"query","required":false},"ActivityIdPathParam":{"name":"id","in":"path","required":true},"FromPageQueryParam":{"name":"from","in":"query"},"IncludeReverseDeprecatedQueryParam":{"name":"include_reverse","in":"query","deprecated":true},"IncludeReverseQueryParam":{"name":"include_reverse","in":"query"},"IncludeSchemasQueryParam":{"name":"include_schemas","in":"query","required":false,"style":"form","explode":false},"ExcludeSchemasQueryParam":{"name":"exclude_schemas","in":"query","required":false,"style":"form","explode":false},"EntityRelationsModeQueryParam":{"name":"mode","in":"query","required":false},"DryRunQueryParam":{"name":"dry_run","in":"query","required":false},"FillActivityQueryParam":{"name":"fill_activity","in":"query","required":false}}},"servers":[{"url":"https://entity.sls.epilot.io"}]}')}},t={},a=function a(r){var n=t[r];if(void 0!==n)return n.exports;var s=t[r]={exports:{}};return e[r].call(s.exports,s,s.exports,a),s.exports}(914),r=exports;for(var n in a)r[n]=a[n];a.__esModule&&Object.defineProperty(r,"__esModule",{value:!0})})();
|
|
1
|
+
(()=>{"use strict";var e={914:function(e,t,a){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var n=r(a(240));t.default=n.default},240:e=>{e.exports=JSON.parse('{"openapi":"3.0.2","info":{"title":"","version":""},"paths":{"/v1/entity/schemas":{"get":{"operationId":"listSchemas","parameters":[{"in":"query","name":"unpublished"}],"responses":{}}},"/v1/entity/schemas/{slug}":{"get":{"operationId":"getSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"in":"query","name":"id"}],"responses":{}},"put":{"operationId":"putSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"in":"query","name":"draft"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"}],"responses":{}}},"/v1/entity/schemas/{slug}/json/schema":{"get":{"operationId":"getJsonSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"}],"responses":{}}},"/v1/entity/schemas/{slug}/json/example":{"get":{"operationId":"getSchemaExample","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"}],"responses":{}}},"/v1/entity/schemas/{slug}/versions":{"get":{"operationId":"getSchemaVersions","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"in":"query","name":"versions_from"},{"in":"query","name":"versions_size"},{"in":"query","name":"drafts_from"},{"in":"query","name":"drafts_size"},{"in":"query","name":"fields","required":false,"style":"form","explode":false}],"responses":{}}},"/v1/entity/schemas/blueprints":{"get":{"operationId":"listSchemaBlueprints","responses":{}}},"/v1/entity:search":{"post":{"operationId":"searchEntities","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity:list":{"post":{"operationId":"listEntities","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}":{"post":{"operationId":"createEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}:validate":{"post":{"operationId":"validateEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathPriceParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}:upsert":{"patch":{"operationId":"upsertEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/DryRunQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"name":"strict","in":"query","required":false}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/entity/{slug}/{id}":{"get":{"operationId":"getEntityV2","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"in":"query","name":"fields","style":"form","explode":false}],"responses":{}}},"/v1/entity/{slug}/{id}:restore":{"patch":{"operationId":"restoreEntity","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}/{id}":{"get":{"operationId":"getEntity","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"}],"responses":{}},"put":{"operationId":"updateEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"patch":{"operationId":"patchEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/DryRunQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"}],"requestBody":{"content":{"application/json":{}},"required":true},"responses":{}},"delete":{"operationId":"deleteEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"in":"query","name":"purge","default":false}],"responses":{}}},"/v1/entity:autocomplete":{"get":{"operationId":"autocomplete","parameters":[{"name":"input","in":"query"},{"name":"attribute","in":"query","required":true},{"name":"slug","in":"query"},{"name":"size","in":"query"}],"responses":{}}},"/v1/entity/activity":{"post":{"operationId":"createActivity","parameters":[{"in":"query","name":"entities","style":"form","explode":false}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/activity/{id}":{"get":{"operationId":"getActivity","parameters":[{"$ref":"#/components/parameters/ActivityIdPathParam"},{"in":"query","name":"operations_size"},{"in":"query","name":"operations_from"}],"responses":{}}},"/v1/entity/activity/{id}:attach":{"post":{"operationId":"attachActivity","parameters":[{"$ref":"#/components/parameters/ActivityIdPathParam"},{"in":"query","name":"entities","style":"form","explode":false}],"responses":{}}},"/v1/entity/{slug}/{id}/activity":{"get":{"operationId":"getEntityActivityFeed","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"in":"query","name":"after"},{"in":"query","name":"before"},{"$ref":"#/components/parameters/FromPageQueryParam"},{"in":"query","name":"size"},{"in":"query","name":"type"},{"in":"query","name":"include_relations"}],"responses":{}}},"/v1/entity/{slug}/{id}/relations":{"get":{"operationId":"getRelations","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"$ref":"#/components/parameters/IncludeReverseQueryParam"},{"$ref":"#/components/parameters/FromPageQueryParam"},{"in":"query","name":"size","required":false},{"$ref":"#/components/parameters/IncludeSchemasQueryParam"},{"$ref":"#/components/parameters/ExcludeSchemasQueryParam"}],"responses":{}},"post":{"operationId":"addRelations","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"removeRelations","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/entity/{slug}/{id}/relations":{"get":{"operationId":"getRelationsV2","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"in":"query","name":"query"},{"$ref":"#/components/parameters/IncludeReverseQueryParam"},{"$ref":"#/components/parameters/FromPageQueryParam"},{"in":"query","name":"size"},{"in":"query","name":"fields"}],"responses":{}}},"/v3/entity/{slug}/{id}/relations":{"get":{"operationId":"getRelationsV3","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"$ref":"#/components/parameters/IncludeReverseDeprecatedQueryParam"},{"$ref":"#/components/parameters/FromPageQueryParam"},{"in":"query","name":"size","required":false},{"$ref":"#/components/parameters/IncludeSchemasQueryParam"},{"$ref":"#/components/parameters/ExcludeSchemasQueryParam"},{"$ref":"#/components/parameters/EntityRelationsModeQueryParam"}],"responses":{}}},"/v2/entity/{slug}/{id}/relations/count":{"get":{"operationId":"getRelatedEntitiesCount","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ExcludeSchemasQueryParam"}],"responses":{}}},"/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}":{"put":{"operationId":"updateRelation","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"in":"path","name":"attribute","required":true},{"in":"path","name":"entity_id","required":true},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteRelation","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"in":"path","name":"attribute","required":true},{"in":"path","name":"entity_id","required":true},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"responses":{}}},"/v1/entity:export":{"post":{"operationId":"exportEntities","parameters":[{"in":"query","name":"job_id"},{"in":"query","name":"is_template"},{"in":"query","name":"language"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity:import":{"post":{"operationId":"importEntities","parameters":[{"in":"query","name":"job_id"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/views":{"get":{"operationId":"listSavedViews","parameters":[{"in":"query","name":"slug","required":false},{"in":"query","name":"sort","required":false},{"in":"query","name":"from","required":false},{"in":"query","name":"size","required":false},{"in":"query","name":"fields","required":false}],"responses":{}}},"/v1/entity/view":{"post":{"operationId":"createSavedView","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/view/{id}":{"get":{"operationId":"getSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"responses":{}},"put":{"operationId":"updateSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"responses":{}}},"/v1/entity/views/favorites":{"get":{"operationId":"listFavoriteViewsForUser","responses":{}}},"/v1/entity/taxonomies":{"get":{"operationId":"listTaxonomies","parameters":[{"in":"query","name":"include_disabled"}],"responses":{}},"post":{"operationId":"createTaxonomy","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/taxonomies/{taxonomySlug}":{"get":{"operationId":"getTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"}],"responses":{}},"put":{"operationId":"updateTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"},{"in":"query","name":"permanent"}],"responses":{}}},"/v1/entity/taxonomies/{taxonomySlug}:autocomplete":{"get":{"operationId":"taxonomyAutocomplete","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"},{"in":"query","name":"query"},{"in":"query","name":"size"}],"responses":{}}},"/v1/entity/taxonomies/classifications:search":{"post":{"operationId":"taxonomiesClassificationsSearch","parameters":[{"$ref":"#/components/parameters/TaxonomySlugQueryParamOptional"},{"in":"query","name":"query"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/taxonomies/{taxonomySlug}/classifications":{"post":{"operationId":"updateClassificationsForTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/{slug}/taxonomy/{taxonomySlug}":{"get":{"operationId":"listTaxonomyClassificationsForSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/TaxonomySlugPathParam"},{"in":"query","name":"query"},{"in":"query","name":"size"}],"responses":{}}},"/v2/entity/taxonomies/classifications/{classificationSlug}":{"get":{"operationId":"getTaxonomyClassification","parameters":[{"$ref":"#/components/parameters/TaxonomyClassificationSlugPathParam"}],"responses":{}},"put":{"operationId":"updateTaxonomyClassification","parameters":[{"$ref":"#/components/parameters/TaxonomyClassificationSlugPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteTaxonomyClassification","parameters":[{"$ref":"#/components/parameters/TaxonomyClassificationSlugPathParam"}],"responses":{}}},"/v1/entity/schemas/attributes":{"post":{"operationId":"createSchemaAttribute","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/attributes/{composite_id}":{"get":{"operationId":"getSchemaAttribute","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaAttribute","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaAttribute","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}},"/v1/entity/schemas/capabilities":{"post":{"operationId":"createSchemaCapability","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/capabilities/{composite_id}":{"get":{"operationId":"getSchemaCapability","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaCapability","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaCapability","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}},"/v1/entity/schemas/group":{"post":{"operationId":"createSchemaGroup","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/group/{composite_id}":{"get":{"operationId":"getSchemaGroup","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaGroup","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaGroup","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}},"/v1/entity/schemas/headline":{"post":{"operationId":"createSchemaGroupHeadline","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/headline/{composite_id}":{"get":{"operationId":"getSchemaGroupHeadline","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaGroupHeadline","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaGroupHeadline","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}}},"components":{"parameters":{"EntityIdPathParam":{"name":"id","in":"path","required":true},"EntitySlugPathParam":{"name":"slug","in":"path","required":true},"EntitySlugPathPriceParam":{"name":"slug","in":"path","required":true},"TaxonomySlugQueryParam":{"name":"taxonomySlug","in":"query","required":true},"TaxonomySlugPathParam":{"name":"taxonomySlug","in":"path","required":true},"TaxonomySlugQueryParamOptional":{"name":"taxonomySlug","in":"query"},"TaxonomyClassificationSlugPathParam":{"name":"classificationSlug","in":"path","required":true},"SavedViewIdPathParam":{"name":"id","in":"path","required":true},"AsyncOperationQueryParam":{"name":"async","in":"query","required":false},"HydrateEntitiesQueryParam":{"name":"hydrate","in":"query"},"ActivityIdQueryParam":{"name":"activity_id","in":"query","required":false},"ActivityIdPathParam":{"name":"id","in":"path","required":true},"FromPageQueryParam":{"name":"from","in":"query"},"IncludeReverseDeprecatedQueryParam":{"name":"include_reverse","in":"query","deprecated":true},"IncludeReverseQueryParam":{"name":"include_reverse","in":"query"},"IncludeSchemasQueryParam":{"name":"include_schemas","in":"query","required":false,"style":"form","explode":false},"ExcludeSchemasQueryParam":{"name":"exclude_schemas","in":"query","required":false,"style":"form","explode":false},"EntityRelationsModeQueryParam":{"name":"mode","in":"query","required":false},"DryRunQueryParam":{"name":"dry_run","in":"query","required":false},"FillActivityQueryParam":{"name":"fill_activity","in":"query","required":false}}},"servers":[{"url":"https://entity.sls.epilot.io"}]}')}},t={},a=function a(r){var n=t[r];if(void 0!==n)return n.exports;var s=t[r]={exports:{}};return e[r].call(s.exports,s,s.exports,a),s.exports}(914),r=exports;for(var n in a)r[n]=a[n];a.__esModule&&Object.defineProperty(r,"__esModule",{value:!0})})();
|
|
@@ -1152,6 +1152,57 @@
|
|
|
1152
1152
|
],
|
|
1153
1153
|
"responses": {}
|
|
1154
1154
|
}
|
|
1155
|
+
},
|
|
1156
|
+
"/v1/entity/schemas/headline": {
|
|
1157
|
+
"post": {
|
|
1158
|
+
"operationId": "createSchemaGroupHeadline",
|
|
1159
|
+
"requestBody": {
|
|
1160
|
+
"content": {
|
|
1161
|
+
"application/json": {}
|
|
1162
|
+
}
|
|
1163
|
+
},
|
|
1164
|
+
"responses": {}
|
|
1165
|
+
}
|
|
1166
|
+
},
|
|
1167
|
+
"/v1/entity/schemas/headline/{composite_id}": {
|
|
1168
|
+
"get": {
|
|
1169
|
+
"operationId": "getSchemaGroupHeadline",
|
|
1170
|
+
"parameters": [
|
|
1171
|
+
{
|
|
1172
|
+
"name": "composite_id",
|
|
1173
|
+
"in": "path",
|
|
1174
|
+
"required": true
|
|
1175
|
+
}
|
|
1176
|
+
],
|
|
1177
|
+
"responses": {}
|
|
1178
|
+
},
|
|
1179
|
+
"put": {
|
|
1180
|
+
"operationId": "putSchemaGroupHeadline",
|
|
1181
|
+
"parameters": [
|
|
1182
|
+
{
|
|
1183
|
+
"name": "composite_id",
|
|
1184
|
+
"in": "path",
|
|
1185
|
+
"required": true
|
|
1186
|
+
}
|
|
1187
|
+
],
|
|
1188
|
+
"requestBody": {
|
|
1189
|
+
"content": {
|
|
1190
|
+
"application/json": {}
|
|
1191
|
+
}
|
|
1192
|
+
},
|
|
1193
|
+
"responses": {}
|
|
1194
|
+
},
|
|
1195
|
+
"delete": {
|
|
1196
|
+
"operationId": "deleteSchemaGroupHeadline",
|
|
1197
|
+
"parameters": [
|
|
1198
|
+
{
|
|
1199
|
+
"name": "composite_id",
|
|
1200
|
+
"in": "path",
|
|
1201
|
+
"required": true
|
|
1202
|
+
}
|
|
1203
|
+
],
|
|
1204
|
+
"responses": {}
|
|
1205
|
+
}
|
|
1155
1206
|
}
|
|
1156
1207
|
},
|
|
1157
1208
|
"components": {
|
package/dist/openapi.d.ts
CHANGED
|
@@ -15,13 +15,13 @@ declare namespace Components {
|
|
|
15
15
|
* example:
|
|
16
16
|
* 01F130Q52Q6MWSNS8N2AVXV4JN
|
|
17
17
|
*/
|
|
18
|
-
Schemas.ActivityId /* ulid */;
|
|
18
|
+
Schemas.ActivityId /* ulid ^01[0-9a-zA-Z]{24}$ */;
|
|
19
19
|
export type ActivityIdQueryParam = /**
|
|
20
20
|
* See https://github.com/ulid/spec
|
|
21
21
|
* example:
|
|
22
22
|
* 01F130Q52Q6MWSNS8N2AVXV4JN
|
|
23
23
|
*/
|
|
24
|
-
Schemas.ActivityId /* ulid
|
|
24
|
+
Schemas.ActivityId /* ulid ^01[0-9a-zA-Z]{24}$ */ | ("");
|
|
25
25
|
export type AsyncOperationQueryParam = boolean;
|
|
26
26
|
export type DryRunQueryParam = boolean;
|
|
27
27
|
export type EntityIdPathParam = Schemas.EntityId /* uuid */;
|
|
@@ -184,14 +184,14 @@ declare namespace Components {
|
|
|
184
184
|
* example:
|
|
185
185
|
* 01F130Q52Q6MWSNS8N2AVXV4JN
|
|
186
186
|
*/
|
|
187
|
-
export type ActivityId = string; // ulid
|
|
187
|
+
export type ActivityId = string; // ulid ^01[0-9a-zA-Z]{24}$
|
|
188
188
|
export interface ActivityItem {
|
|
189
189
|
_id?: /**
|
|
190
190
|
* See https://github.com/ulid/spec
|
|
191
191
|
* example:
|
|
192
192
|
* 01F130Q52Q6MWSNS8N2AVXV4JN
|
|
193
193
|
*/
|
|
194
|
-
ActivityId /* ulid */;
|
|
194
|
+
ActivityId /* ulid ^01[0-9a-zA-Z]{24}$ */;
|
|
195
195
|
timestamp?: string; // date-time
|
|
196
196
|
/**
|
|
197
197
|
* example:
|
|
@@ -525,7 +525,7 @@ declare namespace Components {
|
|
|
525
525
|
* example:
|
|
526
526
|
* 01F130Q52Q6MWSNS8N2AVXV4JN
|
|
527
527
|
*/
|
|
528
|
-
ActivityId /* ulid */;
|
|
528
|
+
ActivityId /* ulid ^01[0-9a-zA-Z]{24}$ */;
|
|
529
529
|
timestamp?: string; // date-time
|
|
530
530
|
/**
|
|
531
531
|
* example:
|
|
@@ -2182,7 +2182,7 @@ declare namespace Components {
|
|
|
2182
2182
|
* example:
|
|
2183
2183
|
* 01F130Q52Q6MWSNS8N2AVXV4JN
|
|
2184
2184
|
*/
|
|
2185
|
-
ActivityId /* ulid */;
|
|
2185
|
+
ActivityId /* ulid ^01[0-9a-zA-Z]{24}$ */;
|
|
2186
2186
|
operation: "createEntity" | "updateEntity" | "deleteEntity";
|
|
2187
2187
|
/**
|
|
2188
2188
|
* example:
|
|
@@ -3542,6 +3542,37 @@ declare namespace Components {
|
|
|
3542
3542
|
enable_divider?: boolean;
|
|
3543
3543
|
divider?: "top_divider" | "bottom_divider";
|
|
3544
3544
|
}
|
|
3545
|
+
/**
|
|
3546
|
+
* a readonly computed ID for the entity group headline including schema slug and the headline ID
|
|
3547
|
+
*/
|
|
3548
|
+
export interface GroupHeadlineWithCompositeID {
|
|
3549
|
+
id: string; // uuid
|
|
3550
|
+
name: string;
|
|
3551
|
+
label: string;
|
|
3552
|
+
layout?: string;
|
|
3553
|
+
/**
|
|
3554
|
+
* The group of headline attribute
|
|
3555
|
+
*/
|
|
3556
|
+
group: string;
|
|
3557
|
+
/**
|
|
3558
|
+
* The order of headline attribute
|
|
3559
|
+
*/
|
|
3560
|
+
order?: number;
|
|
3561
|
+
type: "headline";
|
|
3562
|
+
enable_divider?: boolean;
|
|
3563
|
+
divider?: "top_divider" | "bottom_divider";
|
|
3564
|
+
/**
|
|
3565
|
+
* example:
|
|
3566
|
+
* contact:97644baa-083f-4e49-9188-fcff2ecaad7d
|
|
3567
|
+
*/
|
|
3568
|
+
composite_id?: string;
|
|
3569
|
+
/**
|
|
3570
|
+
* Schema slug the capability belongs to
|
|
3571
|
+
* example:
|
|
3572
|
+
* contact
|
|
3573
|
+
*/
|
|
3574
|
+
schema?: string;
|
|
3575
|
+
}
|
|
3545
3576
|
/**
|
|
3546
3577
|
* Entity with relation data resolved into the attribute values
|
|
3547
3578
|
* example:
|
|
@@ -7113,7 +7144,7 @@ declare namespace Paths {
|
|
|
7113
7144
|
* example:
|
|
7114
7145
|
* 01F130Q52Q6MWSNS8N2AVXV4JN
|
|
7115
7146
|
*/
|
|
7116
|
-
Components.Schemas.ActivityId /* ulid
|
|
7147
|
+
Components.Schemas.ActivityId /* ulid ^01[0-9a-zA-Z]{24}$ */ | ("");
|
|
7117
7148
|
export type Async = boolean;
|
|
7118
7149
|
export type Id = Components.Schemas.EntityId /* uuid */;
|
|
7119
7150
|
export type Slug = /**
|
|
@@ -7144,7 +7175,7 @@ declare namespace Paths {
|
|
|
7144
7175
|
* example:
|
|
7145
7176
|
* 01F130Q52Q6MWSNS8N2AVXV4JN
|
|
7146
7177
|
*/
|
|
7147
|
-
Components.Schemas.ActivityId /* ulid */;
|
|
7178
|
+
Components.Schemas.ActivityId /* ulid ^01[0-9a-zA-Z]{24}$ */;
|
|
7148
7179
|
}
|
|
7149
7180
|
export interface PathParameters {
|
|
7150
7181
|
id: Parameters.Id;
|
|
@@ -7220,7 +7251,7 @@ declare namespace Paths {
|
|
|
7220
7251
|
* example:
|
|
7221
7252
|
* 01F130Q52Q6MWSNS8N2AVXV4JN
|
|
7222
7253
|
*/
|
|
7223
|
-
Components.Schemas.ActivityId /* ulid
|
|
7254
|
+
Components.Schemas.ActivityId /* ulid ^01[0-9a-zA-Z]{24}$ */ | ("");
|
|
7224
7255
|
export type Async = boolean;
|
|
7225
7256
|
export type FillActivity = boolean;
|
|
7226
7257
|
export type Slug = /**
|
|
@@ -7348,6 +7379,12 @@ declare namespace Paths {
|
|
|
7348
7379
|
export type $201 = /* a readonly computed ID for the group including schema slug and the group ID */ Components.Schemas.EntitySchemaGroupWithCompositeID;
|
|
7349
7380
|
}
|
|
7350
7381
|
}
|
|
7382
|
+
namespace CreateSchemaGroupHeadline {
|
|
7383
|
+
export type RequestBody = /* a readonly computed ID for the entity group headline including schema slug and the headline ID */ Components.Schemas.GroupHeadlineWithCompositeID;
|
|
7384
|
+
namespace Responses {
|
|
7385
|
+
export type $201 = /* a readonly computed ID for the entity group headline including schema slug and the headline ID */ Components.Schemas.GroupHeadlineWithCompositeID;
|
|
7386
|
+
}
|
|
7387
|
+
}
|
|
7351
7388
|
namespace CreateTaxonomy {
|
|
7352
7389
|
export type RequestBody = Components.Schemas.Taxonomy;
|
|
7353
7390
|
namespace Responses {
|
|
@@ -7363,7 +7400,7 @@ declare namespace Paths {
|
|
|
7363
7400
|
* example:
|
|
7364
7401
|
* 01F130Q52Q6MWSNS8N2AVXV4JN
|
|
7365
7402
|
*/
|
|
7366
|
-
Components.Schemas.ActivityId /* ulid
|
|
7403
|
+
Components.Schemas.ActivityId /* ulid ^01[0-9a-zA-Z]{24}$ */ | ("");
|
|
7367
7404
|
export type Id = Components.Schemas.EntityId /* uuid */;
|
|
7368
7405
|
export type Purge = boolean;
|
|
7369
7406
|
export type Slug = /**
|
|
@@ -7393,7 +7430,7 @@ declare namespace Paths {
|
|
|
7393
7430
|
* example:
|
|
7394
7431
|
* 01F130Q52Q6MWSNS8N2AVXV4JN
|
|
7395
7432
|
*/
|
|
7396
|
-
Components.Schemas.ActivityId /* ulid
|
|
7433
|
+
Components.Schemas.ActivityId /* ulid ^01[0-9a-zA-Z]{24}$ */ | ("");
|
|
7397
7434
|
export type Async = boolean;
|
|
7398
7435
|
export type Attribute = string;
|
|
7399
7436
|
export type EntityId = string;
|
|
@@ -7506,6 +7543,25 @@ declare namespace Paths {
|
|
|
7506
7543
|
export type $200 = /* a readonly computed ID for the group including schema slug and the group ID */ Components.Schemas.EntitySchemaGroupWithCompositeID;
|
|
7507
7544
|
}
|
|
7508
7545
|
}
|
|
7546
|
+
namespace DeleteSchemaGroupHeadline {
|
|
7547
|
+
namespace Parameters {
|
|
7548
|
+
/**
|
|
7549
|
+
* example:
|
|
7550
|
+
* contact:97644baa-083f-4e49-9188-fcff2ecaad7d
|
|
7551
|
+
*/
|
|
7552
|
+
export type CompositeId = string; // ^.+:.+$
|
|
7553
|
+
}
|
|
7554
|
+
export interface PathParameters {
|
|
7555
|
+
composite_id: /**
|
|
7556
|
+
* example:
|
|
7557
|
+
* contact:97644baa-083f-4e49-9188-fcff2ecaad7d
|
|
7558
|
+
*/
|
|
7559
|
+
Parameters.CompositeId /* ^.+:.+$ */;
|
|
7560
|
+
}
|
|
7561
|
+
namespace Responses {
|
|
7562
|
+
export type $200 = /* a readonly computed ID for the entity group headline including schema slug and the headline ID */ Components.Schemas.GroupHeadlineWithCompositeID;
|
|
7563
|
+
}
|
|
7564
|
+
}
|
|
7509
7565
|
namespace DeleteTaxonomy {
|
|
7510
7566
|
namespace Parameters {
|
|
7511
7567
|
export type Permanent = boolean;
|
|
@@ -7562,7 +7618,7 @@ declare namespace Paths {
|
|
|
7562
7618
|
* example:
|
|
7563
7619
|
* 01F130Q52Q6MWSNS8N2AVXV4JN
|
|
7564
7620
|
*/
|
|
7565
|
-
Components.Schemas.ActivityId /* ulid */;
|
|
7621
|
+
Components.Schemas.ActivityId /* ulid ^01[0-9a-zA-Z]{24}$ */;
|
|
7566
7622
|
export type OperationsFrom = number;
|
|
7567
7623
|
export type OperationsSize = number;
|
|
7568
7624
|
}
|
|
@@ -8408,6 +8464,25 @@ declare namespace Paths {
|
|
|
8408
8464
|
export type $200 = /* a readonly computed ID for the group including schema slug and the group ID */ Components.Schemas.EntitySchemaGroupWithCompositeID;
|
|
8409
8465
|
}
|
|
8410
8466
|
}
|
|
8467
|
+
namespace GetSchemaGroupHeadline {
|
|
8468
|
+
namespace Parameters {
|
|
8469
|
+
/**
|
|
8470
|
+
* example:
|
|
8471
|
+
* contact:97644baa-083f-4e49-9188-fcff2ecaad7d
|
|
8472
|
+
*/
|
|
8473
|
+
export type CompositeId = string; // ^.+:.+$
|
|
8474
|
+
}
|
|
8475
|
+
export interface PathParameters {
|
|
8476
|
+
composite_id: /**
|
|
8477
|
+
* example:
|
|
8478
|
+
* contact:97644baa-083f-4e49-9188-fcff2ecaad7d
|
|
8479
|
+
*/
|
|
8480
|
+
Parameters.CompositeId /* ^.+:.+$ */;
|
|
8481
|
+
}
|
|
8482
|
+
namespace Responses {
|
|
8483
|
+
export type $200 = /* a readonly computed ID for the entity group headline including schema slug and the headline ID */ Components.Schemas.GroupHeadlineWithCompositeID;
|
|
8484
|
+
}
|
|
8485
|
+
}
|
|
8411
8486
|
namespace GetSchemaVersions {
|
|
8412
8487
|
namespace Parameters {
|
|
8413
8488
|
export type DraftsFrom = number;
|
|
@@ -8617,7 +8692,7 @@ declare namespace Paths {
|
|
|
8617
8692
|
* example:
|
|
8618
8693
|
* 01F130Q52Q6MWSNS8N2AVXV4JN
|
|
8619
8694
|
*/
|
|
8620
|
-
Components.Schemas.ActivityId /* ulid
|
|
8695
|
+
Components.Schemas.ActivityId /* ulid ^01[0-9a-zA-Z]{24}$ */ | ("");
|
|
8621
8696
|
export type Async = boolean;
|
|
8622
8697
|
export type DryRun = boolean;
|
|
8623
8698
|
export type FillActivity = boolean;
|
|
@@ -8808,6 +8883,26 @@ declare namespace Paths {
|
|
|
8808
8883
|
export type $200 = /* a readonly computed ID for the group including schema slug and the group ID */ Components.Schemas.EntitySchemaGroupWithCompositeID;
|
|
8809
8884
|
}
|
|
8810
8885
|
}
|
|
8886
|
+
namespace PutSchemaGroupHeadline {
|
|
8887
|
+
namespace Parameters {
|
|
8888
|
+
/**
|
|
8889
|
+
* example:
|
|
8890
|
+
* contact:97644baa-083f-4e49-9188-fcff2ecaad7d
|
|
8891
|
+
*/
|
|
8892
|
+
export type CompositeId = string; // ^.+:.+$
|
|
8893
|
+
}
|
|
8894
|
+
export interface PathParameters {
|
|
8895
|
+
composite_id: /**
|
|
8896
|
+
* example:
|
|
8897
|
+
* contact:97644baa-083f-4e49-9188-fcff2ecaad7d
|
|
8898
|
+
*/
|
|
8899
|
+
Parameters.CompositeId /* ^.+:.+$ */;
|
|
8900
|
+
}
|
|
8901
|
+
export type RequestBody = /* a readonly computed ID for the entity group headline including schema slug and the headline ID */ Components.Schemas.GroupHeadlineWithCompositeID;
|
|
8902
|
+
namespace Responses {
|
|
8903
|
+
export type $200 = /* a readonly computed ID for the entity group headline including schema slug and the headline ID */ Components.Schemas.GroupHeadlineWithCompositeID;
|
|
8904
|
+
}
|
|
8905
|
+
}
|
|
8811
8906
|
namespace RemoveRelations {
|
|
8812
8907
|
namespace Parameters {
|
|
8813
8908
|
export type ActivityId = /**
|
|
@@ -8815,7 +8910,7 @@ declare namespace Paths {
|
|
|
8815
8910
|
* example:
|
|
8816
8911
|
* 01F130Q52Q6MWSNS8N2AVXV4JN
|
|
8817
8912
|
*/
|
|
8818
|
-
Components.Schemas.ActivityId /* ulid
|
|
8913
|
+
Components.Schemas.ActivityId /* ulid ^01[0-9a-zA-Z]{24}$ */ | ("");
|
|
8819
8914
|
export type Async = boolean;
|
|
8820
8915
|
export type Id = Components.Schemas.EntityId /* uuid */;
|
|
8821
8916
|
export type Slug = /**
|
|
@@ -8846,7 +8941,7 @@ declare namespace Paths {
|
|
|
8846
8941
|
* example:
|
|
8847
8942
|
* 01F130Q52Q6MWSNS8N2AVXV4JN
|
|
8848
8943
|
*/
|
|
8849
|
-
Components.Schemas.ActivityId /* ulid
|
|
8944
|
+
Components.Schemas.ActivityId /* ulid ^01[0-9a-zA-Z]{24}$ */ | ("");
|
|
8850
8945
|
export type Id = Components.Schemas.EntityId /* uuid */;
|
|
8851
8946
|
export type Slug = /**
|
|
8852
8947
|
* URL-friendly identifier for the entity schema
|
|
@@ -9001,7 +9096,7 @@ declare namespace Paths {
|
|
|
9001
9096
|
* example:
|
|
9002
9097
|
* 01F130Q52Q6MWSNS8N2AVXV4JN
|
|
9003
9098
|
*/
|
|
9004
|
-
Components.Schemas.ActivityId /* ulid
|
|
9099
|
+
Components.Schemas.ActivityId /* ulid ^01[0-9a-zA-Z]{24}$ */ | ("");
|
|
9005
9100
|
export type Async = boolean;
|
|
9006
9101
|
export type FillActivity = boolean;
|
|
9007
9102
|
export type Id = Components.Schemas.EntityId /* uuid */;
|
|
@@ -9114,7 +9209,7 @@ declare namespace Paths {
|
|
|
9114
9209
|
* example:
|
|
9115
9210
|
* 01F130Q52Q6MWSNS8N2AVXV4JN
|
|
9116
9211
|
*/
|
|
9117
|
-
Components.Schemas.ActivityId /* ulid
|
|
9212
|
+
Components.Schemas.ActivityId /* ulid ^01[0-9a-zA-Z]{24}$ */ | ("");
|
|
9118
9213
|
export type Async = boolean;
|
|
9119
9214
|
export type Attribute = string;
|
|
9120
9215
|
export type EntityId = string;
|
|
@@ -9188,7 +9283,7 @@ declare namespace Paths {
|
|
|
9188
9283
|
* example:
|
|
9189
9284
|
* 01F130Q52Q6MWSNS8N2AVXV4JN
|
|
9190
9285
|
*/
|
|
9191
|
-
Components.Schemas.ActivityId /* ulid
|
|
9286
|
+
Components.Schemas.ActivityId /* ulid ^01[0-9a-zA-Z]{24}$ */ | ("");
|
|
9192
9287
|
export type Async = boolean;
|
|
9193
9288
|
export type DryRun = boolean;
|
|
9194
9289
|
export type FillActivity = boolean;
|
|
@@ -10315,6 +10410,46 @@ export interface OperationMethods {
|
|
|
10315
10410
|
data?: any,
|
|
10316
10411
|
config?: AxiosRequestConfig
|
|
10317
10412
|
): OperationResponse<Paths.DeleteSchemaGroup.Responses.$200>
|
|
10413
|
+
/**
|
|
10414
|
+
* createSchemaGroupHeadline - createSchemaGroupHeadline
|
|
10415
|
+
*
|
|
10416
|
+
* Create a headline in a schema group
|
|
10417
|
+
*/
|
|
10418
|
+
'createSchemaGroupHeadline'(
|
|
10419
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
10420
|
+
data?: Paths.CreateSchemaGroupHeadline.RequestBody,
|
|
10421
|
+
config?: AxiosRequestConfig
|
|
10422
|
+
): OperationResponse<Paths.CreateSchemaGroupHeadline.Responses.$201>
|
|
10423
|
+
/**
|
|
10424
|
+
* getSchemaGroupHeadline - getSchemaGroupHeadline
|
|
10425
|
+
*
|
|
10426
|
+
* Get a group headline from schema from given headline composite ID
|
|
10427
|
+
*/
|
|
10428
|
+
'getSchemaGroupHeadline'(
|
|
10429
|
+
parameters?: Parameters<Paths.GetSchemaGroupHeadline.PathParameters> | null,
|
|
10430
|
+
data?: any,
|
|
10431
|
+
config?: AxiosRequestConfig
|
|
10432
|
+
): OperationResponse<Paths.GetSchemaGroupHeadline.Responses.$200>
|
|
10433
|
+
/**
|
|
10434
|
+
* putSchemaGroupHeadline - putSchemaGroupHeadline
|
|
10435
|
+
*
|
|
10436
|
+
* Adds or updates a group headline in the schema
|
|
10437
|
+
*/
|
|
10438
|
+
'putSchemaGroupHeadline'(
|
|
10439
|
+
parameters?: Parameters<Paths.PutSchemaGroupHeadline.PathParameters> | null,
|
|
10440
|
+
data?: Paths.PutSchemaGroupHeadline.RequestBody,
|
|
10441
|
+
config?: AxiosRequestConfig
|
|
10442
|
+
): OperationResponse<Paths.PutSchemaGroupHeadline.Responses.$200>
|
|
10443
|
+
/**
|
|
10444
|
+
* deleteSchemaGroupHeadline - deleteSchemaGroupHeadline
|
|
10445
|
+
*
|
|
10446
|
+
* Deletes a group headline from a schema
|
|
10447
|
+
*/
|
|
10448
|
+
'deleteSchemaGroupHeadline'(
|
|
10449
|
+
parameters?: Parameters<Paths.DeleteSchemaGroupHeadline.PathParameters> | null,
|
|
10450
|
+
data?: any,
|
|
10451
|
+
config?: AxiosRequestConfig
|
|
10452
|
+
): OperationResponse<Paths.DeleteSchemaGroupHeadline.Responses.$200>
|
|
10318
10453
|
}
|
|
10319
10454
|
|
|
10320
10455
|
export interface PathsDictionary {
|
|
@@ -11302,6 +11437,50 @@ export interface PathsDictionary {
|
|
|
11302
11437
|
config?: AxiosRequestConfig
|
|
11303
11438
|
): OperationResponse<Paths.DeleteSchemaGroup.Responses.$200>
|
|
11304
11439
|
}
|
|
11440
|
+
['/v1/entity/schemas/headline']: {
|
|
11441
|
+
/**
|
|
11442
|
+
* createSchemaGroupHeadline - createSchemaGroupHeadline
|
|
11443
|
+
*
|
|
11444
|
+
* Create a headline in a schema group
|
|
11445
|
+
*/
|
|
11446
|
+
'post'(
|
|
11447
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
11448
|
+
data?: Paths.CreateSchemaGroupHeadline.RequestBody,
|
|
11449
|
+
config?: AxiosRequestConfig
|
|
11450
|
+
): OperationResponse<Paths.CreateSchemaGroupHeadline.Responses.$201>
|
|
11451
|
+
}
|
|
11452
|
+
['/v1/entity/schemas/headline/{composite_id}']: {
|
|
11453
|
+
/**
|
|
11454
|
+
* getSchemaGroupHeadline - getSchemaGroupHeadline
|
|
11455
|
+
*
|
|
11456
|
+
* Get a group headline from schema from given headline composite ID
|
|
11457
|
+
*/
|
|
11458
|
+
'get'(
|
|
11459
|
+
parameters?: Parameters<Paths.GetSchemaGroupHeadline.PathParameters> | null,
|
|
11460
|
+
data?: any,
|
|
11461
|
+
config?: AxiosRequestConfig
|
|
11462
|
+
): OperationResponse<Paths.GetSchemaGroupHeadline.Responses.$200>
|
|
11463
|
+
/**
|
|
11464
|
+
* putSchemaGroupHeadline - putSchemaGroupHeadline
|
|
11465
|
+
*
|
|
11466
|
+
* Adds or updates a group headline in the schema
|
|
11467
|
+
*/
|
|
11468
|
+
'put'(
|
|
11469
|
+
parameters?: Parameters<Paths.PutSchemaGroupHeadline.PathParameters> | null,
|
|
11470
|
+
data?: Paths.PutSchemaGroupHeadline.RequestBody,
|
|
11471
|
+
config?: AxiosRequestConfig
|
|
11472
|
+
): OperationResponse<Paths.PutSchemaGroupHeadline.Responses.$200>
|
|
11473
|
+
/**
|
|
11474
|
+
* deleteSchemaGroupHeadline - deleteSchemaGroupHeadline
|
|
11475
|
+
*
|
|
11476
|
+
* Deletes a group headline from a schema
|
|
11477
|
+
*/
|
|
11478
|
+
'delete'(
|
|
11479
|
+
parameters?: Parameters<Paths.DeleteSchemaGroupHeadline.PathParameters> | null,
|
|
11480
|
+
data?: any,
|
|
11481
|
+
config?: AxiosRequestConfig
|
|
11482
|
+
): OperationResponse<Paths.DeleteSchemaGroupHeadline.Responses.$200>
|
|
11483
|
+
}
|
|
11305
11484
|
}
|
|
11306
11485
|
|
|
11307
11486
|
export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
@@ -11367,6 +11546,7 @@ export type GetRelatedEntitiesCount = Components.Schemas.GetRelatedEntitiesCount
|
|
|
11367
11546
|
export type GetRelationsResp = Components.Schemas.GetRelationsResp;
|
|
11368
11547
|
export type GetRelationsRespWithPagination = Components.Schemas.GetRelationsRespWithPagination;
|
|
11369
11548
|
export type GroupHeadline = Components.Schemas.GroupHeadline;
|
|
11549
|
+
export type GroupHeadlineWithCompositeID = Components.Schemas.GroupHeadlineWithCompositeID;
|
|
11370
11550
|
export type HydratedEntity = Components.Schemas.HydratedEntity;
|
|
11371
11551
|
export type HydratedEntityItem = Components.Schemas.HydratedEntityItem;
|
|
11372
11552
|
export type InternalAttribute = Components.Schemas.InternalAttribute;
|
package/dist/openapi.json
CHANGED
|
@@ -3218,6 +3218,147 @@
|
|
|
3218
3218
|
}
|
|
3219
3219
|
}
|
|
3220
3220
|
}
|
|
3221
|
+
},
|
|
3222
|
+
"/v1/entity/schemas/headline": {
|
|
3223
|
+
"post": {
|
|
3224
|
+
"operationId": "createSchemaGroupHeadline",
|
|
3225
|
+
"summary": "createSchemaGroupHeadline",
|
|
3226
|
+
"description": "Create a headline in a schema group",
|
|
3227
|
+
"tags": [
|
|
3228
|
+
"Schemas"
|
|
3229
|
+
],
|
|
3230
|
+
"requestBody": {
|
|
3231
|
+
"content": {
|
|
3232
|
+
"application/json": {
|
|
3233
|
+
"schema": {
|
|
3234
|
+
"$ref": "#/components/schemas/GroupHeadlineWithCompositeID"
|
|
3235
|
+
}
|
|
3236
|
+
}
|
|
3237
|
+
}
|
|
3238
|
+
},
|
|
3239
|
+
"responses": {
|
|
3240
|
+
"201": {
|
|
3241
|
+
"description": "Success",
|
|
3242
|
+
"content": {
|
|
3243
|
+
"application/json": {
|
|
3244
|
+
"schema": {
|
|
3245
|
+
"$ref": "#/components/schemas/GroupHeadlineWithCompositeID"
|
|
3246
|
+
}
|
|
3247
|
+
}
|
|
3248
|
+
}
|
|
3249
|
+
}
|
|
3250
|
+
}
|
|
3251
|
+
}
|
|
3252
|
+
},
|
|
3253
|
+
"/v1/entity/schemas/headline/{composite_id}": {
|
|
3254
|
+
"get": {
|
|
3255
|
+
"operationId": "getSchemaGroupHeadline",
|
|
3256
|
+
"summary": "getSchemaGroupHeadline",
|
|
3257
|
+
"description": "Get a group headline from schema from given headline composite ID",
|
|
3258
|
+
"tags": [
|
|
3259
|
+
"Schemas"
|
|
3260
|
+
],
|
|
3261
|
+
"parameters": [
|
|
3262
|
+
{
|
|
3263
|
+
"name": "composite_id",
|
|
3264
|
+
"description": "Schema Slug and the Schema Group ID",
|
|
3265
|
+
"in": "path",
|
|
3266
|
+
"required": true,
|
|
3267
|
+
"schema": {
|
|
3268
|
+
"type": "string",
|
|
3269
|
+
"pattern": "^.+:.+$",
|
|
3270
|
+
"example": "contact:97644baa-083f-4e49-9188-fcff2ecaad7d"
|
|
3271
|
+
}
|
|
3272
|
+
}
|
|
3273
|
+
],
|
|
3274
|
+
"responses": {
|
|
3275
|
+
"200": {
|
|
3276
|
+
"description": "Success",
|
|
3277
|
+
"content": {
|
|
3278
|
+
"application/json": {
|
|
3279
|
+
"schema": {
|
|
3280
|
+
"$ref": "#/components/schemas/GroupHeadlineWithCompositeID"
|
|
3281
|
+
}
|
|
3282
|
+
}
|
|
3283
|
+
}
|
|
3284
|
+
}
|
|
3285
|
+
}
|
|
3286
|
+
},
|
|
3287
|
+
"put": {
|
|
3288
|
+
"operationId": "putSchemaGroupHeadline",
|
|
3289
|
+
"summary": "putSchemaGroupHeadline",
|
|
3290
|
+
"description": "Adds or updates a group headline in the schema",
|
|
3291
|
+
"tags": [
|
|
3292
|
+
"Schemas"
|
|
3293
|
+
],
|
|
3294
|
+
"parameters": [
|
|
3295
|
+
{
|
|
3296
|
+
"name": "composite_id",
|
|
3297
|
+
"description": "Schema Slug and the Schema Group ID",
|
|
3298
|
+
"in": "path",
|
|
3299
|
+
"required": true,
|
|
3300
|
+
"schema": {
|
|
3301
|
+
"type": "string",
|
|
3302
|
+
"pattern": "^.+:.+$",
|
|
3303
|
+
"example": "contact:97644baa-083f-4e49-9188-fcff2ecaad7d"
|
|
3304
|
+
}
|
|
3305
|
+
}
|
|
3306
|
+
],
|
|
3307
|
+
"requestBody": {
|
|
3308
|
+
"content": {
|
|
3309
|
+
"application/json": {
|
|
3310
|
+
"schema": {
|
|
3311
|
+
"$ref": "#/components/schemas/GroupHeadlineWithCompositeID"
|
|
3312
|
+
}
|
|
3313
|
+
}
|
|
3314
|
+
}
|
|
3315
|
+
},
|
|
3316
|
+
"responses": {
|
|
3317
|
+
"200": {
|
|
3318
|
+
"description": "Success",
|
|
3319
|
+
"content": {
|
|
3320
|
+
"application/json": {
|
|
3321
|
+
"schema": {
|
|
3322
|
+
"$ref": "#/components/schemas/GroupHeadlineWithCompositeID"
|
|
3323
|
+
}
|
|
3324
|
+
}
|
|
3325
|
+
}
|
|
3326
|
+
}
|
|
3327
|
+
}
|
|
3328
|
+
},
|
|
3329
|
+
"delete": {
|
|
3330
|
+
"operationId": "deleteSchemaGroupHeadline",
|
|
3331
|
+
"summary": "deleteSchemaGroupHeadline",
|
|
3332
|
+
"description": "Deletes a group headline from a schema",
|
|
3333
|
+
"tags": [
|
|
3334
|
+
"Schemas"
|
|
3335
|
+
],
|
|
3336
|
+
"parameters": [
|
|
3337
|
+
{
|
|
3338
|
+
"name": "composite_id",
|
|
3339
|
+
"description": "Schema Slug and the Schema Group ID",
|
|
3340
|
+
"in": "path",
|
|
3341
|
+
"required": true,
|
|
3342
|
+
"schema": {
|
|
3343
|
+
"type": "string",
|
|
3344
|
+
"pattern": "^.+:.+$",
|
|
3345
|
+
"example": "contact:97644baa-083f-4e49-9188-fcff2ecaad7d"
|
|
3346
|
+
}
|
|
3347
|
+
}
|
|
3348
|
+
],
|
|
3349
|
+
"responses": {
|
|
3350
|
+
"200": {
|
|
3351
|
+
"description": "Success",
|
|
3352
|
+
"content": {
|
|
3353
|
+
"application/json": {
|
|
3354
|
+
"schema": {
|
|
3355
|
+
"$ref": "#/components/schemas/GroupHeadlineWithCompositeID"
|
|
3356
|
+
}
|
|
3357
|
+
}
|
|
3358
|
+
}
|
|
3359
|
+
}
|
|
3360
|
+
}
|
|
3361
|
+
}
|
|
3221
3362
|
}
|
|
3222
3363
|
},
|
|
3223
3364
|
"components": {
|
|
@@ -5068,6 +5209,29 @@
|
|
|
5068
5209
|
"type"
|
|
5069
5210
|
]
|
|
5070
5211
|
},
|
|
5212
|
+
"GroupHeadlineWithCompositeID": {
|
|
5213
|
+
"allOf": [
|
|
5214
|
+
{
|
|
5215
|
+
"$ref": "#/components/schemas/GroupHeadline"
|
|
5216
|
+
},
|
|
5217
|
+
{
|
|
5218
|
+
"type": "object",
|
|
5219
|
+
"description": "a readonly computed ID for the entity group headline including schema slug and the headline ID",
|
|
5220
|
+
"properties": {
|
|
5221
|
+
"composite_id": {
|
|
5222
|
+
"type": "string",
|
|
5223
|
+
"readOnly": true,
|
|
5224
|
+
"example": "contact:97644baa-083f-4e49-9188-fcff2ecaad7d"
|
|
5225
|
+
},
|
|
5226
|
+
"schema": {
|
|
5227
|
+
"type": "string",
|
|
5228
|
+
"description": "Schema slug the capability belongs to",
|
|
5229
|
+
"example": "contact"
|
|
5230
|
+
}
|
|
5231
|
+
}
|
|
5232
|
+
}
|
|
5233
|
+
]
|
|
5234
|
+
},
|
|
5071
5235
|
"EntitySlug": {
|
|
5072
5236
|
"description": "URL-friendly identifier for the entity schema",
|
|
5073
5237
|
"type": "string",
|
|
@@ -6233,7 +6397,8 @@
|
|
|
6233
6397
|
"type": "string",
|
|
6234
6398
|
"format": "ulid",
|
|
6235
6399
|
"description": "See https://github.com/ulid/spec",
|
|
6236
|
-
"example": "01F130Q52Q6MWSNS8N2AVXV4JN"
|
|
6400
|
+
"example": "01F130Q52Q6MWSNS8N2AVXV4JN",
|
|
6401
|
+
"pattern": "^01[0-9a-zA-Z]{24}$"
|
|
6237
6402
|
},
|
|
6238
6403
|
"ActivityCallerContext": {
|
|
6239
6404
|
"type": "object",
|
|
@@ -6896,7 +7061,18 @@
|
|
|
6896
7061
|
"in": "query",
|
|
6897
7062
|
"required": false,
|
|
6898
7063
|
"schema": {
|
|
6899
|
-
"
|
|
7064
|
+
"oneOf": [
|
|
7065
|
+
{
|
|
7066
|
+
"$ref": "#/components/schemas/ActivityId"
|
|
7067
|
+
},
|
|
7068
|
+
{
|
|
7069
|
+
"type": "string",
|
|
7070
|
+
"nullable": true,
|
|
7071
|
+
"enum": [
|
|
7072
|
+
""
|
|
7073
|
+
]
|
|
7074
|
+
}
|
|
7075
|
+
]
|
|
6900
7076
|
}
|
|
6901
7077
|
},
|
|
6902
7078
|
"ActivityIdPathParam": {
|