@epilot/entity-client 4.43.1 → 4.43.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 +5 -6
- package/dist/openapi.d.ts +169 -54
- package/dist/openapi.json +92 -74
- 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"},{"$ref":"#/components/parameters/ValidateEntityQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}:validate":{"post":{"operationId":"validateEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathPriceParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/entity/{slug}:validate":{"post":{"operationId":"validateEntityV2","parameters":[{"$ref":"#/components/parameters/EntitySlugPathPriceParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}:upsert":{"patch":{"operationId":"upsertEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/DryRunQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ValidateEntityQueryParam"},{"name":"strict","in":"query","required":false}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/entity/{slug}/{id}":{"get":{"operationId":"getEntityV2","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"in":"query","name":"fields","style":"form","explode":false}],"responses":{}}},"/v1/entity/{slug}/{id}:restore":{"patch":{"operationId":"restoreEntity","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}/{id}:reindex":{"post":{"operationId":"reindexEntity","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}/{id}":{"get":{"operationId":"getEntity","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"}],"responses":{}},"put":{"operationId":"updateEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ValidateEntityQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"patch":{"operationId":"patchEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/DryRunQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ValidateEntityQueryParam"}],"requestBody":{"content":{"application/json":{}},"required":true},"responses":{}},"delete":{"operationId":"deleteEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"in":"query","name":"purge"}],"responses":{}}},"/v1/entity:autocomplete":{"get":{"operationId":"autocomplete","parameters":[{"name":"input","in":"query"},{"name":"attribute","in":"query","required":true},{"name":"slug","in":"query"},{"name":"size","in":"query"}],"responses":{}}},"/v1/entity/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"},{"in":"query","name":"fields"}],"responses":{}}},"/v2/entity/{slug}/{id}/relations/count":{"get":{"operationId":"getRelatedEntitiesCount","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ExcludeSchemasQueryParam"}],"responses":{}}},"/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}":{"put":{"operationId":"updateRelation","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"in":"path","name":"attribute","required":true},{"in":"path","name":"entity_id","required":true},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteRelation","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"in":"path","name":"attribute","required":true},{"in":"path","name":"entity_id","required":true},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"responses":{}}},"/v1/entity:export":{"post":{"operationId":"exportEntities","parameters":[{"in":"query","name":"job_id"},{"in":"query","name":"is_template"},{"in":"query","name":"language"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity:import":{"post":{"operationId":"importEntities","parameters":[{"in":"query","name":"job_id"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/views":{"get":{"operationId":"listSavedViews","parameters":[{"in":"query","name":"slug","required":false},{"in":"query","name":"sort","required":false},{"in":"query","name":"from","required":false},{"in":"query","name":"size","required":false},{"in":"query","name":"fields","required":false}],"responses":{}}},"/v1/entity/view":{"post":{"operationId":"createSavedView","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/view/{id}":{"get":{"operationId":"getSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"responses":{}},"put":{"operationId":"updateSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"patch":{"operationId":"patchSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"responses":{}}},"/v1/entity/views/favorites":{"get":{"operationId":"listFavoriteViewsForUser","responses":{}}},"/v1/entity/taxonomies":{"get":{"operationId":"listTaxonomies","parameters":[{"in":"query","name":"include_disabled"}],"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/{classificationSlug}":{"get":{"operationId":"getTaxonomyClassification","parameters":[{"$ref":"#/components/parameters/TaxonomyClassificationSlugPathParam"}],"responses":{}},"put":{"operationId":"updateTaxonomyClassification","parameters":[{"$ref":"#/components/parameters/TaxonomyClassificationSlugPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteTaxonomyClassification","parameters":[{"$ref":"#/components/parameters/TaxonomyClassificationSlugPathParam"}],"responses":{}}},"/v1/entity/taxonomies/{taxonomySlug}:autocomplete":{"get":{"operationId":"taxonomyAutocomplete","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"},{"in":"query","name":"query"},{"in":"query","name":"size"}],"responses":{}}},"/v1/entity/taxonomies/classifications:search":{"post":{"operationId":"taxonomiesClassificationsSearch","parameters":[{"in":"query","name":"taxonomySlug"},{"in":"query","name":"query"},{"in":"query","name":"archived","deprecated":true},{"in":"query","name":"include_archived"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/{slug}/taxonomy/{taxonomySlug}":{"get":{"operationId":"listTaxonomyClassificationsForSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/TaxonomySlugPathParam"},{"in":"query","name":"query"},{"in":"query","name":"size"}],"responses":{}}},"/v1/entity/taxonomies/bulk-jobs":{"get":{"operationId":"getTaxonomyBulkActionJobs","parameters":[{"in":"query","name":"status"},{"in":"query","name":"size"}],"responses":{}}},"/v1/entity/taxonomies/bulk-jobs/{job_id}":{"get":{"operationId":"getTaxonomyBulkActionJobById","parameters":[{"in":"path","name":"job_id","required":true}],"responses":{}}},"/v1/entity/taxonomies/classifications:move":{"post":{"operationId":"bulkMoveClassifications","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/taxonomies/classifications:merge":{"post":{"operationId":"bulkMergeClassifications","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/taxonomies/classifications:delete":{"post":{"operationId":"bulkDeleteClassifications","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/attributes":{"post":{"operationId":"createSchemaAttribute","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/attributes/{composite_id}":{"get":{"operationId":"getSchemaAttribute","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaAttribute","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaAttribute","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}},"/v1/entity/schemas/capabilities":{"post":{"operationId":"createSchemaCapability","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/capabilities/{composite_id}":{"get":{"operationId":"getSchemaCapability","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaCapability","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaCapability","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}},"/v1/entity/schemas/group":{"post":{"operationId":"createSchemaGroup","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/group/{composite_id}":{"get":{"operationId":"getSchemaGroup","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaGroup","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaGroup","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}},"/v1/entity/schemas/headline":{"post":{"operationId":"createSchemaGroupHeadline","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/headline/{composite_id}":{"get":{"operationId":"getSchemaGroupHeadline","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaGroupHeadline","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaGroupHeadline","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}}},"components":{"parameters":{"EntityIdPathParam":{"name":"id","in":"path","required":true},"EntitySlugPathParam":{"name":"slug","in":"path","required":true},"EntitySlugPathPriceParam":{"name":"slug","in":"path","required":true},"TaxonomySlugQueryParam":{"name":"taxonomySlug","in":"query","required":true},"TaxonomySlugPathParam":{"name":"taxonomySlug","in":"path","required":true},"TaxonomySlugQueryParamOptional":{"name":"taxonomySlug","in":"query"},"TaxonomyClassificationSlugPathParam":{"name":"classificationSlug","in":"path","required":true},"SavedViewIdPathParam":{"name":"id","in":"path","required":true},"AsyncOperationQueryParam":{"name":"async","in":"query","required":false},"HydrateEntitiesQueryParam":{"name":"hydrate","in":"query"},"ActivityIdQueryParam":{"name":"activity_id","in":"query","required":false},"ActivityIdPathParam":{"name":"id","in":"path","required":true},"FromPageQueryParam":{"name":"from","in":"query"},"IncludeReverseDeprecatedQueryParam":{"name":"include_reverse","in":"query","deprecated":true},"IncludeReverseQueryParam":{"name":"include_reverse","in":"query"},"IncludeSchemasQueryParam":{"name":"include_schemas","in":"query","required":false,"style":"form","explode":false},"ExcludeSchemasQueryParam":{"name":"exclude_schemas","in":"query","required":false,"style":"form","explode":false},"EntityRelationsModeQueryParam":{"name":"mode","in":"query","required":false},"DryRunQueryParam":{"name":"dry_run","in":"query","required":false},"FillActivityQueryParam":{"name":"fill_activity","in":"query","required":false},"ValidateEntityQueryParam":{"name":"validate","in":"query"}},"responses":{"NotFoundError":{"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}(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"},{"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/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"},{"$ref":"#/components/parameters/ValidateEntityQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}:validate":{"post":{"operationId":"validateEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathPriceParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/entity/{slug}:validate":{"post":{"operationId":"validateEntityV2","parameters":[{"$ref":"#/components/parameters/EntitySlugPathPriceParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}:upsert":{"patch":{"operationId":"upsertEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/DryRunQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ValidateEntityQueryParam"},{"name":"strict","in":"query","required":false}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/entity/{slug}/{id}":{"get":{"operationId":"getEntityV2","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"in":"query","name":"fields","style":"form","explode":false}],"responses":{}}},"/v1/entity/{slug}/{id}:restore":{"patch":{"operationId":"restoreEntity","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}/{id}:reindex":{"post":{"operationId":"reindexEntity","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/{slug}/{id}":{"get":{"operationId":"getEntity","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"}],"responses":{}},"put":{"operationId":"updateEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ValidateEntityQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"patch":{"operationId":"patchEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/FillActivityQueryParam"},{"$ref":"#/components/parameters/DryRunQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ValidateEntityQueryParam"}],"requestBody":{"content":{"application/json":{}},"required":true},"responses":{}},"delete":{"operationId":"deleteEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"in":"query","name":"purge"}],"responses":{}}},"/v1/entity:autocomplete":{"get":{"operationId":"autocomplete","parameters":[{"name":"input","in":"query"},{"name":"attribute","in":"query","required":true},{"name":"slug","in":"query"},{"name":"size","in":"query"}],"responses":{}}},"/v1/entity/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"},{"in":"query","name":"fields"}],"responses":{}}},"/v2/entity/{slug}/{id}/relations/count":{"get":{"operationId":"getRelatedEntitiesCount","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ExcludeSchemasQueryParam"}],"responses":{}}},"/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}":{"put":{"operationId":"updateRelation","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"in":"path","name":"attribute","required":true},{"in":"path","name":"entity_id","required":true},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteRelation","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"in":"path","name":"attribute","required":true},{"in":"path","name":"entity_id","required":true},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"responses":{}}},"/v1/entity:export":{"post":{"operationId":"exportEntities","parameters":[{"in":"query","name":"job_id"},{"in":"query","name":"is_template"},{"in":"query","name":"language"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity:import":{"post":{"operationId":"importEntities","parameters":[{"in":"query","name":"job_id"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/views":{"get":{"operationId":"listSavedViews","parameters":[{"in":"query","name":"slug","required":false},{"in":"query","name":"sort","required":false},{"in":"query","name":"from","required":false},{"in":"query","name":"size","required":false},{"in":"query","name":"fields","required":false}],"responses":{}}},"/v1/entity/view":{"post":{"operationId":"createSavedView","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/view/{id}":{"get":{"operationId":"getSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"responses":{}},"put":{"operationId":"updateSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"patch":{"operationId":"patchSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"responses":{}}},"/v1/entity/views/favorites":{"get":{"operationId":"listFavoriteViewsForUser","responses":{}}},"/v1/entity/taxonomies":{"get":{"operationId":"listTaxonomies","parameters":[{"in":"query","name":"include_disabled"}],"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/{classificationSlug}":{"get":{"operationId":"getTaxonomyClassification","parameters":[{"$ref":"#/components/parameters/TaxonomyClassificationSlugPathParam"}],"responses":{}},"put":{"operationId":"updateTaxonomyClassification","parameters":[{"$ref":"#/components/parameters/TaxonomyClassificationSlugPathParam"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteTaxonomyClassification","parameters":[{"$ref":"#/components/parameters/TaxonomyClassificationSlugPathParam"}],"responses":{}}},"/v1/entity/taxonomies/{taxonomySlug}:autocomplete":{"get":{"operationId":"taxonomyAutocomplete","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"},{"in":"query","name":"query"},{"in":"query","name":"size"}],"responses":{}}},"/v1/entity/taxonomies/classifications:search":{"post":{"operationId":"taxonomiesClassificationsSearch","parameters":[{"in":"query","name":"taxonomySlug"},{"in":"query","name":"query"},{"in":"query","name":"archived","deprecated":true},{"in":"query","name":"include_archived"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/{slug}/taxonomy/{taxonomySlug}":{"get":{"operationId":"listTaxonomyClassificationsForSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/TaxonomySlugPathParam"},{"in":"query","name":"query"},{"in":"query","name":"size"}],"responses":{}}},"/v1/entity/taxonomies/bulk-jobs":{"get":{"operationId":"getTaxonomyBulkActionJobs","parameters":[{"in":"query","name":"status"},{"in":"query","name":"size"}],"responses":{}}},"/v1/entity/taxonomies/bulk-jobs/{job_id}":{"get":{"operationId":"getTaxonomyBulkActionJobById","parameters":[{"in":"path","name":"job_id","required":true}],"responses":{}}},"/v1/entity/taxonomies/classifications:move":{"post":{"operationId":"bulkMoveClassifications","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/taxonomies/classifications:merge":{"post":{"operationId":"bulkMergeClassifications","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/taxonomies/classifications:delete":{"post":{"operationId":"bulkDeleteClassifications","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/attributes":{"post":{"operationId":"createSchemaAttribute","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/attributes/{composite_id}":{"get":{"operationId":"getSchemaAttribute","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaAttribute","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaAttribute","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}},"/v1/entity/schemas/capabilities":{"post":{"operationId":"createSchemaCapability","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/capabilities/{composite_id}":{"get":{"operationId":"getSchemaCapability","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaCapability","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaCapability","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}},"/v1/entity/schemas/group":{"post":{"operationId":"createSchemaGroup","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/group/{composite_id}":{"get":{"operationId":"getSchemaGroup","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaGroup","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaGroup","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}},"/v1/entity/schemas/headline":{"post":{"operationId":"createSchemaGroupHeadline","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/entity/schemas/headline/{composite_id}":{"get":{"operationId":"getSchemaGroupHeadline","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putSchemaGroupHeadline","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSchemaGroupHeadline","parameters":[{"name":"composite_id","in":"path","required":true}],"responses":{}}}},"components":{"parameters":{"EntityIdPathParam":{"name":"id","in":"path","required":true},"EntitySlugPathParam":{"name":"slug","in":"path","required":true},"EntitySlugPathPriceParam":{"name":"slug","in":"path","required":true},"TaxonomySlugQueryParam":{"name":"taxonomySlug","in":"query","required":true},"TaxonomySlugPathParam":{"name":"taxonomySlug","in":"path","required":true},"TaxonomySlugQueryParamOptional":{"name":"taxonomySlug","in":"query"},"TaxonomyClassificationSlugPathParam":{"name":"classificationSlug","in":"path","required":true},"SavedViewIdPathParam":{"name":"id","in":"path","required":true},"AsyncOperationQueryParam":{"name":"async","in":"query","required":false},"HydrateEntitiesQueryParam":{"name":"hydrate","in":"query"},"ActivityIdQueryParam":{"name":"activity_id","in":"query","required":false},"ActivityIdPathParam":{"name":"id","in":"path","required":true},"FromPageQueryParam":{"name":"from","in":"query"},"IncludeReverseDeprecatedQueryParam":{"name":"include_reverse","in":"query","deprecated":true},"IncludeReverseQueryParam":{"name":"include_reverse","in":"query"},"IncludeSchemasQueryParam":{"name":"include_schemas","in":"query","required":false,"style":"form","explode":false},"ExcludeSchemasQueryParam":{"name":"exclude_schemas","in":"query","required":false,"style":"form","explode":false},"EntityRelationsModeQueryParam":{"name":"mode","in":"query","required":false},"DryRunQueryParam":{"name":"dry_run","in":"query","required":false},"FillActivityQueryParam":{"name":"fill_activity","in":"query","required":false},"ValidateEntityQueryParam":{"name":"validate","in":"query"}},"responses":{"NotFoundError":{"content":{"application/json":{}}}}}}')}},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})})();
|
|
@@ -65,6 +65,10 @@
|
|
|
65
65
|
"parameters": [
|
|
66
66
|
{
|
|
67
67
|
"$ref": "#/components/parameters/EntitySlugPathParam"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"in": "query",
|
|
71
|
+
"name": "dereference"
|
|
68
72
|
}
|
|
69
73
|
],
|
|
70
74
|
"responses": {}
|
|
@@ -1455,10 +1459,5 @@
|
|
|
1455
1459
|
}
|
|
1456
1460
|
}
|
|
1457
1461
|
}
|
|
1458
|
-
}
|
|
1459
|
-
"servers": [
|
|
1460
|
-
{
|
|
1461
|
-
"url": "https://entity.sls.epilot.io"
|
|
1462
|
-
}
|
|
1463
|
-
]
|
|
1462
|
+
}
|
|
1464
1463
|
}
|
package/dist/openapi.d.ts
CHANGED
|
@@ -403,7 +403,30 @@ declare namespace Components {
|
|
|
403
403
|
repeatable?: boolean;
|
|
404
404
|
has_primary?: boolean;
|
|
405
405
|
type: "address";
|
|
406
|
-
default_address_fields?:
|
|
406
|
+
default_address_fields?: /**
|
|
407
|
+
* Default fields visible on addresses
|
|
408
|
+
*
|
|
409
|
+
* Valid values are:
|
|
410
|
+
* - postal_code (default)
|
|
411
|
+
* - city (default)
|
|
412
|
+
* - street (default)
|
|
413
|
+
* - street_number (default)
|
|
414
|
+
* - plot_area
|
|
415
|
+
* - plot_of_land
|
|
416
|
+
* - suburb
|
|
417
|
+
* - country
|
|
418
|
+
* - additional_info
|
|
419
|
+
* - coordinates
|
|
420
|
+
* - start_date
|
|
421
|
+
* - end_date
|
|
422
|
+
* - salutation
|
|
423
|
+
* - title
|
|
424
|
+
* - first_name
|
|
425
|
+
* - last_name
|
|
426
|
+
* - company_name
|
|
427
|
+
*
|
|
428
|
+
*/
|
|
429
|
+
DefaultAddressFields;
|
|
407
430
|
}
|
|
408
431
|
/**
|
|
409
432
|
* Reference to an address attribute of another entity
|
|
@@ -545,7 +568,30 @@ declare namespace Components {
|
|
|
545
568
|
repeatable?: boolean;
|
|
546
569
|
has_primary?: boolean;
|
|
547
570
|
type: "relation_address";
|
|
548
|
-
default_address_fields?:
|
|
571
|
+
default_address_fields?: /**
|
|
572
|
+
* Default fields visible on addresses
|
|
573
|
+
*
|
|
574
|
+
* Valid values are:
|
|
575
|
+
* - postal_code (default)
|
|
576
|
+
* - city (default)
|
|
577
|
+
* - street (default)
|
|
578
|
+
* - street_number (default)
|
|
579
|
+
* - plot_area
|
|
580
|
+
* - plot_of_land
|
|
581
|
+
* - suburb
|
|
582
|
+
* - country
|
|
583
|
+
* - additional_info
|
|
584
|
+
* - coordinates
|
|
585
|
+
* - start_date
|
|
586
|
+
* - end_date
|
|
587
|
+
* - salutation
|
|
588
|
+
* - title
|
|
589
|
+
* - first_name
|
|
590
|
+
* - last_name
|
|
591
|
+
* - company_name
|
|
592
|
+
*
|
|
593
|
+
*/
|
|
594
|
+
DefaultAddressFields;
|
|
549
595
|
}
|
|
550
596
|
export type Attribute = /* Textarea or text input */ TextAttribute | /* Link with title and href */ LinkAttribute | /* Date or Datetime picker */ DateAttribute | /* Country picker */ CountryAttribute | /* Yes / No Toggle */ BooleanAttribute | /* Dropdown select */ SelectAttribute | /* Multi Choice Selection */ MultiSelectAttribute | /* Status select */ StatusAttribute | /* Sequence of unique identifiers */ SequenceAttribute | /* Entity Relationship */ RelationAttribute | /* User Relationship */ UserRelationAttribute | /* Address attribute */ AddressAttribute | /* Reference to an address attribute of another entity */ AddressRelationAttribute | /* Reference to a payment method attribute of another entity */ PaymentMethodRelationAttribute | /* Currency input */ CurrencyAttribute | /* Tags */ TagsAttribute | /* Message emil address */ MessageEmailAddressAttribute | /* Numeric input */ NumberAttribute | /* Consent Management */ ConsentAttribute | /* No UI representation */ InternalAttribute | /* Type of attribute to render N number of ordered fields */ OrderedListAttribute | /* File or Image Attachment */ FileAttribute | /* An attribute that is computed from the entity data. For more details on how to use them, check the docs [here](https://e-pilot.atlassian.net/wiki/spaces/EO/pages/5642977476/How+To+Computed+Schema+Attributes) */ ComputedAttribute | /* Partner Status */ PartnerStatusAttribute | /* Email address for send invitation */ InvitationEmailAttribute | /* Automation entity */ AutomationAttribute | /* Epilot internal user info */ InternalUserAttribute | /* Entity Taxonomy */ PurposeAttribute | /* Shared Partner Organisations */ PartnerOrganisationAttribute | /* Phone number */ PhoneAttribute | /* Email address */ EmailAttribute | /* Payment method */ PaymentAttribute | /* Price component */ PriceComponentAttribute;
|
|
551
597
|
/**
|
|
@@ -924,7 +970,7 @@ declare namespace Components {
|
|
|
924
970
|
*/
|
|
925
971
|
export interface BaseEntity {
|
|
926
972
|
[name: string]: any;
|
|
927
|
-
_id:
|
|
973
|
+
_id: string; // uuid
|
|
928
974
|
/**
|
|
929
975
|
* Organization Id the entity belongs to
|
|
930
976
|
*/
|
|
@@ -950,7 +996,15 @@ declare namespace Components {
|
|
|
950
996
|
_created_at: string | null; // date-time
|
|
951
997
|
_updated_at: string | null; // date-time
|
|
952
998
|
_deleted_at?: string | null; // date-time
|
|
953
|
-
|
|
999
|
+
/**
|
|
1000
|
+
* Access control list (ACL) for an entity. Defines sharing access to external orgs or users.
|
|
1001
|
+
*/
|
|
1002
|
+
_acl?: {
|
|
1003
|
+
[name: string]: any;
|
|
1004
|
+
view?: string[];
|
|
1005
|
+
edit?: string[];
|
|
1006
|
+
delete?: string[];
|
|
1007
|
+
};
|
|
954
1008
|
_purpose?: string[] | null;
|
|
955
1009
|
/**
|
|
956
1010
|
* Manifest ID used to create/update the entity
|
|
@@ -1861,8 +1915,28 @@ declare namespace Components {
|
|
|
1861
1915
|
}
|
|
1862
1916
|
/**
|
|
1863
1917
|
* Default fields visible on addresses
|
|
1918
|
+
*
|
|
1919
|
+
* Valid values are:
|
|
1920
|
+
* - postal_code (default)
|
|
1921
|
+
* - city (default)
|
|
1922
|
+
* - street (default)
|
|
1923
|
+
* - street_number (default)
|
|
1924
|
+
* - plot_area
|
|
1925
|
+
* - plot_of_land
|
|
1926
|
+
* - suburb
|
|
1927
|
+
* - country
|
|
1928
|
+
* - additional_info
|
|
1929
|
+
* - coordinates
|
|
1930
|
+
* - start_date
|
|
1931
|
+
* - end_date
|
|
1932
|
+
* - salutation
|
|
1933
|
+
* - title
|
|
1934
|
+
* - first_name
|
|
1935
|
+
* - last_name
|
|
1936
|
+
* - company_name
|
|
1937
|
+
*
|
|
1864
1938
|
*/
|
|
1865
|
-
export type DefaultAddressFields =
|
|
1939
|
+
export type DefaultAddressFields = string[] | null;
|
|
1866
1940
|
export interface ESClusterAssignment {
|
|
1867
1941
|
/**
|
|
1868
1942
|
* The organization for which the cluster assignment is returned
|
|
@@ -2051,7 +2125,7 @@ declare namespace Components {
|
|
|
2051
2125
|
*/
|
|
2052
2126
|
export interface Entity {
|
|
2053
2127
|
[name: string]: any;
|
|
2054
|
-
_id?:
|
|
2128
|
+
_id?: string; // uuid
|
|
2055
2129
|
/**
|
|
2056
2130
|
* Organization Id the entity belongs to
|
|
2057
2131
|
*/
|
|
@@ -2077,7 +2151,15 @@ declare namespace Components {
|
|
|
2077
2151
|
_created_at?: string | null; // date-time
|
|
2078
2152
|
_updated_at?: string | null; // date-time
|
|
2079
2153
|
_deleted_at?: string | null; // date-time
|
|
2080
|
-
|
|
2154
|
+
/**
|
|
2155
|
+
* Access control list (ACL) for an entity. Defines sharing access to external orgs or users.
|
|
2156
|
+
*/
|
|
2157
|
+
_acl?: {
|
|
2158
|
+
[name: string]: any;
|
|
2159
|
+
view?: string[];
|
|
2160
|
+
edit?: string[];
|
|
2161
|
+
delete?: string[];
|
|
2162
|
+
};
|
|
2081
2163
|
_purpose?: string[] | null;
|
|
2082
2164
|
/**
|
|
2083
2165
|
* Manifest ID used to create/update the entity
|
|
@@ -2482,7 +2564,7 @@ declare namespace Components {
|
|
|
2482
2564
|
*/
|
|
2483
2565
|
export interface EntityItem {
|
|
2484
2566
|
[name: string]: any;
|
|
2485
|
-
_id:
|
|
2567
|
+
_id: string; // uuid
|
|
2486
2568
|
/**
|
|
2487
2569
|
* Organization Id the entity belongs to
|
|
2488
2570
|
*/
|
|
@@ -2508,7 +2590,15 @@ declare namespace Components {
|
|
|
2508
2590
|
_created_at: string | null; // date-time
|
|
2509
2591
|
_updated_at: string | null; // date-time
|
|
2510
2592
|
_deleted_at?: string | null; // date-time
|
|
2511
|
-
|
|
2593
|
+
/**
|
|
2594
|
+
* Access control list (ACL) for an entity. Defines sharing access to external orgs or users.
|
|
2595
|
+
*/
|
|
2596
|
+
_acl?: {
|
|
2597
|
+
[name: string]: any;
|
|
2598
|
+
view?: string[];
|
|
2599
|
+
edit?: string[];
|
|
2600
|
+
delete?: string[];
|
|
2601
|
+
};
|
|
2512
2602
|
_purpose?: string[] | null;
|
|
2513
2603
|
/**
|
|
2514
2604
|
* Manifest ID used to create/update the entity
|
|
@@ -2663,7 +2753,7 @@ declare namespace Components {
|
|
|
2663
2753
|
*/
|
|
2664
2754
|
payload?: {
|
|
2665
2755
|
[name: string]: any;
|
|
2666
|
-
_id?:
|
|
2756
|
+
_id?: string; // uuid
|
|
2667
2757
|
/**
|
|
2668
2758
|
* Organization Id the entity belongs to
|
|
2669
2759
|
*/
|
|
@@ -2689,7 +2779,15 @@ declare namespace Components {
|
|
|
2689
2779
|
_created_at?: string | null; // date-time
|
|
2690
2780
|
_updated_at?: string | null; // date-time
|
|
2691
2781
|
_deleted_at?: string | null; // date-time
|
|
2692
|
-
|
|
2782
|
+
/**
|
|
2783
|
+
* Access control list (ACL) for an entity. Defines sharing access to external orgs or users.
|
|
2784
|
+
*/
|
|
2785
|
+
_acl?: {
|
|
2786
|
+
[name: string]: any;
|
|
2787
|
+
view?: string[];
|
|
2788
|
+
edit?: string[];
|
|
2789
|
+
delete?: string[];
|
|
2790
|
+
};
|
|
2693
2791
|
_purpose?: string[] | null;
|
|
2694
2792
|
/**
|
|
2695
2793
|
* Manifest ID used to create/update the entity
|
|
@@ -4319,7 +4417,7 @@ declare namespace Components {
|
|
|
4319
4417
|
*/
|
|
4320
4418
|
export interface HydratedEntityItem {
|
|
4321
4419
|
[name: string]: any;
|
|
4322
|
-
_id:
|
|
4420
|
+
_id: string; // uuid
|
|
4323
4421
|
/**
|
|
4324
4422
|
* Organization Id the entity belongs to
|
|
4325
4423
|
*/
|
|
@@ -4345,7 +4443,15 @@ declare namespace Components {
|
|
|
4345
4443
|
_created_at: string | null; // date-time
|
|
4346
4444
|
_updated_at: string | null; // date-time
|
|
4347
4445
|
_deleted_at?: string | null; // date-time
|
|
4348
|
-
|
|
4446
|
+
/**
|
|
4447
|
+
* Access control list (ACL) for an entity. Defines sharing access to external orgs or users.
|
|
4448
|
+
*/
|
|
4449
|
+
_acl?: {
|
|
4450
|
+
[name: string]: any;
|
|
4451
|
+
view?: string[];
|
|
4452
|
+
edit?: string[];
|
|
4453
|
+
delete?: string[];
|
|
4454
|
+
};
|
|
4349
4455
|
_purpose?: string[] | null;
|
|
4350
4456
|
/**
|
|
4351
4457
|
* Manifest ID used to create/update the entity
|
|
@@ -6733,23 +6839,21 @@ declare namespace Components {
|
|
|
6733
6839
|
};
|
|
6734
6840
|
/**
|
|
6735
6841
|
* example:
|
|
6736
|
-
*
|
|
6737
|
-
*
|
|
6738
|
-
*
|
|
6739
|
-
*
|
|
6740
|
-
*
|
|
6741
|
-
*
|
|
6742
|
-
*
|
|
6743
|
-
*
|
|
6744
|
-
*
|
|
6745
|
-
*
|
|
6746
|
-
*
|
|
6747
|
-
*
|
|
6748
|
-
*
|
|
6749
|
-
*
|
|
6750
|
-
*
|
|
6751
|
-
* ]
|
|
6752
|
-
* }
|
|
6842
|
+
* [
|
|
6843
|
+
* {
|
|
6844
|
+
* "action_type": "add_existing",
|
|
6845
|
+
* "label": "entityrelation.add_existing",
|
|
6846
|
+
* "default": true
|
|
6847
|
+
* },
|
|
6848
|
+
* {
|
|
6849
|
+
* "action_type": "create_new",
|
|
6850
|
+
* "label": "entityrelation.create_new"
|
|
6851
|
+
* },
|
|
6852
|
+
* {
|
|
6853
|
+
* "action_type": "create_from_existing",
|
|
6854
|
+
* "label": "entityrelation.create_from_existing"
|
|
6855
|
+
* }
|
|
6856
|
+
* ]
|
|
6753
6857
|
*/
|
|
6754
6858
|
actions?: {
|
|
6755
6859
|
/**
|
|
@@ -6848,7 +6952,7 @@ declare namespace Components {
|
|
|
6848
6952
|
*/
|
|
6849
6953
|
export interface RelationEntity {
|
|
6850
6954
|
[name: string]: any;
|
|
6851
|
-
_id:
|
|
6955
|
+
_id: string; // uuid
|
|
6852
6956
|
/**
|
|
6853
6957
|
* Organization Id the entity belongs to
|
|
6854
6958
|
*/
|
|
@@ -6874,7 +6978,15 @@ declare namespace Components {
|
|
|
6874
6978
|
_created_at: string | null; // date-time
|
|
6875
6979
|
_updated_at: string | null; // date-time
|
|
6876
6980
|
_deleted_at?: string | null; // date-time
|
|
6877
|
-
|
|
6981
|
+
/**
|
|
6982
|
+
* Access control list (ACL) for an entity. Defines sharing access to external orgs or users.
|
|
6983
|
+
*/
|
|
6984
|
+
_acl?: {
|
|
6985
|
+
[name: string]: any;
|
|
6986
|
+
view?: string[];
|
|
6987
|
+
edit?: string[];
|
|
6988
|
+
delete?: string[];
|
|
6989
|
+
};
|
|
6878
6990
|
_purpose?: string[] | null;
|
|
6879
6991
|
/**
|
|
6880
6992
|
* Manifest ID used to create/update the entity
|
|
@@ -7070,7 +7182,7 @@ declare namespace Components {
|
|
|
7070
7182
|
* List of users (IDs) that have favorited the view
|
|
7071
7183
|
*/
|
|
7072
7184
|
isFavoritedBy?: string[];
|
|
7073
|
-
created_by
|
|
7185
|
+
created_by?: {
|
|
7074
7186
|
/**
|
|
7075
7187
|
* example:
|
|
7076
7188
|
* 10598
|
|
@@ -7147,7 +7259,7 @@ declare namespace Components {
|
|
|
7147
7259
|
* List of users (IDs) that have favorited the view
|
|
7148
7260
|
*/
|
|
7149
7261
|
isFavoritedBy?: string[];
|
|
7150
|
-
created_by
|
|
7262
|
+
created_by?: {
|
|
7151
7263
|
/**
|
|
7152
7264
|
* example:
|
|
7153
7265
|
* 10598
|
|
@@ -8194,11 +8306,11 @@ declare namespace Components {
|
|
|
8194
8306
|
* {
|
|
8195
8307
|
* "job_id": "123e4567-e89b-12d3-a456-426614174000",
|
|
8196
8308
|
* "status": "PENDING",
|
|
8197
|
-
* "action_type": "
|
|
8198
|
-
* "created_by": 10598,
|
|
8309
|
+
* "action_type": "MOVE_CLASSIFICATIONS",
|
|
8310
|
+
* "created_by": "10598",
|
|
8199
8311
|
* "created_at": "2024-01-01T00:00:00.000Z",
|
|
8200
8312
|
* "updated_at": "2024-01-01T00:00:00.000Z",
|
|
8201
|
-
* "org": 66,
|
|
8313
|
+
* "org": "66",
|
|
8202
8314
|
* "progress": 0.5
|
|
8203
8315
|
* }
|
|
8204
8316
|
*/
|
|
@@ -8740,14 +8852,11 @@ declare namespace Paths {
|
|
|
8740
8852
|
*/
|
|
8741
8853
|
job_id?: string;
|
|
8742
8854
|
/**
|
|
8743
|
-
* The target classification id to which the classifications will be merged into
|
|
8744
|
-
*/
|
|
8745
|
-
target_classification?: /**
|
|
8746
8855
|
* URL-friendly name for taxonomy
|
|
8747
8856
|
* example:
|
|
8748
8857
|
* purpose
|
|
8749
8858
|
*/
|
|
8750
|
-
|
|
8859
|
+
target_classification?: string;
|
|
8751
8860
|
classification_ids?: /**
|
|
8752
8861
|
* example:
|
|
8753
8862
|
* taxonomy-slug:classification-slug
|
|
@@ -8765,14 +8874,11 @@ declare namespace Paths {
|
|
|
8765
8874
|
*/
|
|
8766
8875
|
job_id?: string;
|
|
8767
8876
|
/**
|
|
8768
|
-
* The target taxonomy to which the classifications will be moved
|
|
8769
|
-
*/
|
|
8770
|
-
target_taxonomy?: /**
|
|
8771
8877
|
* URL-friendly name for taxonomy
|
|
8772
8878
|
* example:
|
|
8773
8879
|
* purpose
|
|
8774
8880
|
*/
|
|
8775
|
-
|
|
8881
|
+
target_taxonomy?: string;
|
|
8776
8882
|
classification_ids?: /**
|
|
8777
8883
|
* example:
|
|
8778
8884
|
* taxonomy-slug:classification-slug
|
|
@@ -9485,6 +9591,7 @@ declare namespace Paths {
|
|
|
9485
9591
|
}
|
|
9486
9592
|
namespace GetJsonSchema {
|
|
9487
9593
|
namespace Parameters {
|
|
9594
|
+
export type Dereference = boolean;
|
|
9488
9595
|
export type Slug = /**
|
|
9489
9596
|
* URL-friendly identifier for the entity schema
|
|
9490
9597
|
* example:
|
|
@@ -9495,6 +9602,9 @@ declare namespace Paths {
|
|
|
9495
9602
|
export interface PathParameters {
|
|
9496
9603
|
slug: Parameters.Slug;
|
|
9497
9604
|
}
|
|
9605
|
+
export interface QueryParameters {
|
|
9606
|
+
dereference?: Parameters.Dereference;
|
|
9607
|
+
}
|
|
9498
9608
|
namespace Responses {
|
|
9499
9609
|
/**
|
|
9500
9610
|
* example:
|
|
@@ -10274,15 +10384,15 @@ declare namespace Paths {
|
|
|
10274
10384
|
* {
|
|
10275
10385
|
* "job_id": "123e4567-e89b-12d3-a456-426614174000",
|
|
10276
10386
|
* "status": "PENDING",
|
|
10277
|
-
* "action_type": "
|
|
10278
|
-
* "created_by": 10598,
|
|
10387
|
+
* "action_type": "MOVE_CLASSIFICATIONS",
|
|
10388
|
+
* "created_by": "10598",
|
|
10279
10389
|
* "created_at": "2024-01-01T00:00:00.000Z",
|
|
10280
10390
|
* "updated_at": "2024-01-01T00:00:00.000Z",
|
|
10281
|
-
* "org": 66,
|
|
10391
|
+
* "org": "66",
|
|
10282
10392
|
* "progress": 0.5
|
|
10283
10393
|
* }
|
|
10284
10394
|
*/
|
|
10285
|
-
Components.Schemas.TaxonomyBulkJob
|
|
10395
|
+
Components.Schemas.TaxonomyBulkJob;
|
|
10286
10396
|
}
|
|
10287
10397
|
}
|
|
10288
10398
|
namespace GetTaxonomyBulkActionJobs {
|
|
@@ -10303,11 +10413,11 @@ declare namespace Paths {
|
|
|
10303
10413
|
* {
|
|
10304
10414
|
* "job_id": "123e4567-e89b-12d3-a456-426614174000",
|
|
10305
10415
|
* "status": "PENDING",
|
|
10306
|
-
* "action_type": "
|
|
10307
|
-
* "created_by": 10598,
|
|
10416
|
+
* "action_type": "MOVE_CLASSIFICATIONS",
|
|
10417
|
+
* "created_by": "10598",
|
|
10308
10418
|
* "created_at": "2024-01-01T00:00:00.000Z",
|
|
10309
10419
|
* "updated_at": "2024-01-01T00:00:00.000Z",
|
|
10310
|
-
* "org": 66,
|
|
10420
|
+
* "org": "66",
|
|
10311
10421
|
* "progress": 0.5
|
|
10312
10422
|
* }
|
|
10313
10423
|
*/
|
|
@@ -10947,6 +11057,11 @@ declare namespace Paths {
|
|
|
10947
11057
|
namespace Responses {
|
|
10948
11058
|
export interface $200 {
|
|
10949
11059
|
results?: Components.Schemas.TaxonomyClassification[];
|
|
11060
|
+
/**
|
|
11061
|
+
* example:
|
|
11062
|
+
* 10
|
|
11063
|
+
*/
|
|
11064
|
+
hits?: number;
|
|
10950
11065
|
}
|
|
10951
11066
|
}
|
|
10952
11067
|
}
|
|
@@ -11538,7 +11653,7 @@ export interface OperationMethods {
|
|
|
11538
11653
|
* Get formal JSON schema definition draft 2020-12 for the given epilot schema
|
|
11539
11654
|
*/
|
|
11540
11655
|
'getJsonSchema'(
|
|
11541
|
-
parameters?: Parameters<Paths.GetJsonSchema.PathParameters> | null,
|
|
11656
|
+
parameters?: Parameters<Paths.GetJsonSchema.QueryParameters & Paths.GetJsonSchema.PathParameters> | null,
|
|
11542
11657
|
data?: any,
|
|
11543
11658
|
config?: AxiosRequestConfig
|
|
11544
11659
|
): OperationResponse<Paths.GetJsonSchema.Responses.$200>
|
|
@@ -12581,7 +12696,7 @@ export interface PathsDictionary {
|
|
|
12581
12696
|
* Get formal JSON schema definition draft 2020-12 for the given epilot schema
|
|
12582
12697
|
*/
|
|
12583
12698
|
'get'(
|
|
12584
|
-
parameters?: Parameters<Paths.GetJsonSchema.PathParameters> | null,
|
|
12699
|
+
parameters?: Parameters<Paths.GetJsonSchema.QueryParameters & Paths.GetJsonSchema.PathParameters> | null,
|
|
12585
12700
|
data?: any,
|
|
12586
12701
|
config?: AxiosRequestConfig
|
|
12587
12702
|
): OperationResponse<Paths.GetJsonSchema.Responses.$200>
|
package/dist/openapi.json
CHANGED
|
@@ -37,6 +37,14 @@
|
|
|
37
37
|
{
|
|
38
38
|
"name": "Elastic Cluster Assignment",
|
|
39
39
|
"description": "Elastic Cluster assignment for organizations"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "Internal",
|
|
43
|
+
"description": "Internal APIs"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "Public",
|
|
47
|
+
"description": "Public"
|
|
40
48
|
}
|
|
41
49
|
],
|
|
42
50
|
"security": [
|
|
@@ -197,6 +205,14 @@
|
|
|
197
205
|
"parameters": [
|
|
198
206
|
{
|
|
199
207
|
"$ref": "#/components/parameters/EntitySlugPathParam"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"in": "query",
|
|
211
|
+
"name": "dereference",
|
|
212
|
+
"schema": {
|
|
213
|
+
"default": false,
|
|
214
|
+
"type": "boolean"
|
|
215
|
+
}
|
|
200
216
|
}
|
|
201
217
|
],
|
|
202
218
|
"responses": {
|
|
@@ -1773,6 +1789,9 @@
|
|
|
1773
1789
|
},
|
|
1774
1790
|
{
|
|
1775
1791
|
"_id": "9924c4de-d3ed-4752-821d-fc0b9bd57c1b",
|
|
1792
|
+
"_title": "John Doe",
|
|
1793
|
+
"attribute": "contacts",
|
|
1794
|
+
"entity_id": "9924c4de-d3ed-4752-821d-fc0b9bd57c1b",
|
|
1776
1795
|
"order_number": "a34234jd",
|
|
1777
1796
|
"customer_email": "johndoe@epilot.cloud",
|
|
1778
1797
|
"billing_first_name": "john",
|
|
@@ -3015,6 +3034,10 @@
|
|
|
3015
3034
|
"items": {
|
|
3016
3035
|
"$ref": "#/components/schemas/TaxonomyClassification"
|
|
3017
3036
|
}
|
|
3037
|
+
},
|
|
3038
|
+
"hits": {
|
|
3039
|
+
"type": "integer",
|
|
3040
|
+
"example": 10
|
|
3018
3041
|
}
|
|
3019
3042
|
}
|
|
3020
3043
|
}
|
|
@@ -3144,10 +3167,7 @@
|
|
|
3144
3167
|
"content": {
|
|
3145
3168
|
"application/json": {
|
|
3146
3169
|
"schema": {
|
|
3147
|
-
"
|
|
3148
|
-
"items": {
|
|
3149
|
-
"$ref": "#/components/schemas/TaxonomyBulkJob"
|
|
3150
|
-
}
|
|
3170
|
+
"$ref": "#/components/schemas/TaxonomyBulkJob"
|
|
3151
3171
|
}
|
|
3152
3172
|
}
|
|
3153
3173
|
}
|
|
@@ -3174,8 +3194,14 @@
|
|
|
3174
3194
|
"type": "string"
|
|
3175
3195
|
},
|
|
3176
3196
|
"target_taxonomy": {
|
|
3177
|
-
"
|
|
3178
|
-
|
|
3197
|
+
"allOf": [
|
|
3198
|
+
{
|
|
3199
|
+
"description": "The target taxonomy to which the classifications will be moved"
|
|
3200
|
+
},
|
|
3201
|
+
{
|
|
3202
|
+
"$ref": "#/components/schemas/TaxonomySlug"
|
|
3203
|
+
}
|
|
3204
|
+
]
|
|
3179
3205
|
},
|
|
3180
3206
|
"classification_ids": {
|
|
3181
3207
|
"type": "array",
|
|
@@ -3202,7 +3228,7 @@
|
|
|
3202
3228
|
"$ref": "#/components/schemas/TaxonomyBulkJobTriggerResponse"
|
|
3203
3229
|
},
|
|
3204
3230
|
"example": {
|
|
3205
|
-
"job_id": "
|
|
3231
|
+
"job_id": "5684fcb1-62ef-45e4-9187-ebf96dcbff12",
|
|
3206
3232
|
"status": "PENDING"
|
|
3207
3233
|
}
|
|
3208
3234
|
}
|
|
@@ -3230,8 +3256,14 @@
|
|
|
3230
3256
|
"type": "string"
|
|
3231
3257
|
},
|
|
3232
3258
|
"target_classification": {
|
|
3233
|
-
"
|
|
3234
|
-
|
|
3259
|
+
"allOf": [
|
|
3260
|
+
{
|
|
3261
|
+
"description": "The target classification id to which the classifications will be merged into"
|
|
3262
|
+
},
|
|
3263
|
+
{
|
|
3264
|
+
"$ref": "#/components/schemas/TaxonomySlug"
|
|
3265
|
+
}
|
|
3266
|
+
]
|
|
3235
3267
|
},
|
|
3236
3268
|
"classification_ids": {
|
|
3237
3269
|
"type": "array",
|
|
@@ -3258,7 +3290,7 @@
|
|
|
3258
3290
|
"$ref": "#/components/schemas/TaxonomyBulkJobTriggerResponse"
|
|
3259
3291
|
},
|
|
3260
3292
|
"example": {
|
|
3261
|
-
"job_id": "
|
|
3293
|
+
"job_id": "5684fcb1-62ef-45e4-9187-ebf96dcbff12",
|
|
3262
3294
|
"status": "PENDING"
|
|
3263
3295
|
}
|
|
3264
3296
|
}
|
|
@@ -3310,7 +3342,7 @@
|
|
|
3310
3342
|
"$ref": "#/components/schemas/TaxonomyBulkJobTriggerResponse"
|
|
3311
3343
|
},
|
|
3312
3344
|
"example": {
|
|
3313
|
-
"job_id": "
|
|
3345
|
+
"job_id": "5684fcb1-62ef-45e4-9187-ebf96dcbff12",
|
|
3314
3346
|
"status": "PENDING"
|
|
3315
3347
|
}
|
|
3316
3348
|
}
|
|
@@ -5333,23 +5365,21 @@
|
|
|
5333
5365
|
}
|
|
5334
5366
|
}
|
|
5335
5367
|
},
|
|
5336
|
-
"example":
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
|
|
5348
|
-
|
|
5349
|
-
|
|
5350
|
-
|
|
5351
|
-
]
|
|
5352
|
-
}
|
|
5368
|
+
"example": [
|
|
5369
|
+
{
|
|
5370
|
+
"action_type": "add_existing",
|
|
5371
|
+
"label": "entityrelation.add_existing",
|
|
5372
|
+
"default": true
|
|
5373
|
+
},
|
|
5374
|
+
{
|
|
5375
|
+
"action_type": "create_new",
|
|
5376
|
+
"label": "entityrelation.create_new"
|
|
5377
|
+
},
|
|
5378
|
+
{
|
|
5379
|
+
"action_type": "create_from_existing",
|
|
5380
|
+
"label": "entityrelation.create_from_existing"
|
|
5381
|
+
}
|
|
5382
|
+
]
|
|
5353
5383
|
},
|
|
5354
5384
|
"drawer_size": {
|
|
5355
5385
|
"type": "string",
|
|
@@ -5451,35 +5481,11 @@
|
|
|
5451
5481
|
},
|
|
5452
5482
|
"DefaultAddressFields": {
|
|
5453
5483
|
"type": "array",
|
|
5454
|
-
"
|
|
5484
|
+
"nullable": true,
|
|
5485
|
+
"description": "Default fields visible on addresses\n\nValid values are:\n - postal_code (default)\n - city (default)\n - street (default)\n - street_number (default)\n - plot_area\n - plot_of_land\n - suburb\n - country\n - additional_info\n - coordinates\n - start_date\n - end_date\n - salutation\n - title\n - first_name\n - last_name\n - company_name\n",
|
|
5455
5486
|
"items": {
|
|
5456
|
-
"type": "string"
|
|
5457
|
-
|
|
5458
|
-
"postal_code",
|
|
5459
|
-
"city",
|
|
5460
|
-
"street",
|
|
5461
|
-
"street_number",
|
|
5462
|
-
"plot_area",
|
|
5463
|
-
"plot_of_land",
|
|
5464
|
-
"suburb",
|
|
5465
|
-
"country",
|
|
5466
|
-
"additional_info",
|
|
5467
|
-
"coordinates",
|
|
5468
|
-
"start_date",
|
|
5469
|
-
"end_date",
|
|
5470
|
-
"salutation",
|
|
5471
|
-
"title",
|
|
5472
|
-
"first_name",
|
|
5473
|
-
"last_name",
|
|
5474
|
-
"company_name"
|
|
5475
|
-
]
|
|
5476
|
-
},
|
|
5477
|
-
"default": [
|
|
5478
|
-
"postal_code",
|
|
5479
|
-
"city",
|
|
5480
|
-
"street",
|
|
5481
|
-
"street_number"
|
|
5482
|
-
]
|
|
5487
|
+
"type": "string"
|
|
5488
|
+
}
|
|
5483
5489
|
},
|
|
5484
5490
|
"AddressAttribute": {
|
|
5485
5491
|
"allOf": [
|
|
@@ -6202,7 +6208,7 @@
|
|
|
6202
6208
|
},
|
|
6203
6209
|
"resource": {
|
|
6204
6210
|
"type": "string",
|
|
6205
|
-
"example": 123
|
|
6211
|
+
"example": "123"
|
|
6206
6212
|
}
|
|
6207
6213
|
},
|
|
6208
6214
|
"required": [
|
|
@@ -6426,8 +6432,14 @@
|
|
|
6426
6432
|
"additionalProperties": true,
|
|
6427
6433
|
"properties": {
|
|
6428
6434
|
"_id": {
|
|
6429
|
-
"
|
|
6430
|
-
|
|
6435
|
+
"allOf": [
|
|
6436
|
+
{
|
|
6437
|
+
"readOnly": true
|
|
6438
|
+
},
|
|
6439
|
+
{
|
|
6440
|
+
"$ref": "#/components/schemas/EntityId"
|
|
6441
|
+
}
|
|
6442
|
+
]
|
|
6431
6443
|
},
|
|
6432
6444
|
"_org": {
|
|
6433
6445
|
"type": "string",
|
|
@@ -6475,8 +6487,14 @@
|
|
|
6475
6487
|
"readOnly": true
|
|
6476
6488
|
},
|
|
6477
6489
|
"_acl": {
|
|
6478
|
-
"
|
|
6479
|
-
|
|
6490
|
+
"allOf": [
|
|
6491
|
+
{
|
|
6492
|
+
"readOnly": true
|
|
6493
|
+
},
|
|
6494
|
+
{
|
|
6495
|
+
"$ref": "#/components/schemas/EntityAcl"
|
|
6496
|
+
}
|
|
6497
|
+
]
|
|
6480
6498
|
},
|
|
6481
6499
|
"_purpose": {
|
|
6482
6500
|
"type": "array",
|
|
@@ -7680,7 +7698,7 @@
|
|
|
7680
7698
|
"type": "array",
|
|
7681
7699
|
"items": {
|
|
7682
7700
|
"type": "string",
|
|
7683
|
-
"example": 11701
|
|
7701
|
+
"example": "11701"
|
|
7684
7702
|
}
|
|
7685
7703
|
},
|
|
7686
7704
|
"created_by": {
|
|
@@ -7750,7 +7768,6 @@
|
|
|
7750
7768
|
"required": [
|
|
7751
7769
|
"slug",
|
|
7752
7770
|
"name",
|
|
7753
|
-
"created_by",
|
|
7754
7771
|
"ui_config"
|
|
7755
7772
|
]
|
|
7756
7773
|
}
|
|
@@ -8084,11 +8101,11 @@
|
|
|
8084
8101
|
"example": {
|
|
8085
8102
|
"job_id": "123e4567-e89b-12d3-a456-426614174000",
|
|
8086
8103
|
"status": "PENDING",
|
|
8087
|
-
"action_type": "
|
|
8088
|
-
"created_by": 10598,
|
|
8104
|
+
"action_type": "MOVE_CLASSIFICATIONS",
|
|
8105
|
+
"created_by": "10598",
|
|
8089
8106
|
"created_at": "2024-01-01T00:00:00.000Z",
|
|
8090
8107
|
"updated_at": "2024-01-01T00:00:00.000Z",
|
|
8091
|
-
"org": 66,
|
|
8108
|
+
"org": "66",
|
|
8092
8109
|
"progress": 0.5
|
|
8093
8110
|
}
|
|
8094
8111
|
},
|
|
@@ -8298,7 +8315,10 @@
|
|
|
8298
8315
|
"required": false,
|
|
8299
8316
|
"style": "form",
|
|
8300
8317
|
"explode": false,
|
|
8301
|
-
"example":
|
|
8318
|
+
"example": [
|
|
8319
|
+
"contact",
|
|
8320
|
+
"account"
|
|
8321
|
+
],
|
|
8302
8322
|
"schema": {
|
|
8303
8323
|
"type": "array",
|
|
8304
8324
|
"items": {
|
|
@@ -8313,7 +8333,10 @@
|
|
|
8313
8333
|
"required": false,
|
|
8314
8334
|
"style": "form",
|
|
8315
8335
|
"explode": false,
|
|
8316
|
-
"example":
|
|
8336
|
+
"example": [
|
|
8337
|
+
"file",
|
|
8338
|
+
"message"
|
|
8339
|
+
],
|
|
8317
8340
|
"schema": {
|
|
8318
8341
|
"type": "array",
|
|
8319
8342
|
"items": {
|
|
@@ -9038,10 +9061,5 @@
|
|
|
9038
9061
|
}
|
|
9039
9062
|
}
|
|
9040
9063
|
}
|
|
9041
|
-
}
|
|
9042
|
-
"servers": [
|
|
9043
|
-
{
|
|
9044
|
-
"url": "https://entity.sls.epilot.io"
|
|
9045
|
-
}
|
|
9046
|
-
]
|
|
9064
|
+
}
|
|
9047
9065
|
}
|