@epilot/entity-client 4.20.4 → 4.21.0-rc.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/client.d.ts +0 -0
- package/dist/client.js +0 -0
- package/dist/definition.d.ts +0 -0
- package/dist/definition.js +1 -1
- package/dist/index.d.ts +0 -0
- package/dist/index.js +0 -0
- package/dist/openapi-runtime.json +0 -27
- package/dist/openapi.d.ts +144 -239
- package/dist/openapi.json +29 -273
- package/dist/schema-model.d.ts +0 -0
- package/dist/schema-model.js +0 -0
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
File without changes
|
package/dist/client.js
CHANGED
|
File without changes
|
package/dist/definition.d.ts
CHANGED
|
File without changes
|
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"}]}},"/v1/entity/schemas/{slug}":{"get":{"operationId":"getSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"in":"query","name":"id"}]},"put":{"operationId":"putSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"in":"query","name":"draft"}],"requestBody":{"content":{"application/json":{}}}},"delete":{"operationId":"deleteSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"}]}},"/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}]}},"/v1/entity/schemas/blueprints":{"get":{"operationId":"listSchemaBlueprints"}},"/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"}]}},"/v1/entity:search":{"post":{"operationId":"searchEntities","requestBody":{"content":{"application/json":{}}}}},"/v1/entity/{slug}":{"post":{"operationId":"createEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"}],"requestBody":{"content":{"application/json":{}}}}},"/v1/entity/{slug}:validate":{"post":{"operationId":"validateEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathPriceParam"}],"requestBody":{"content":{"application/json":{}}}}},"/v1/entity/{slug}:upsert":{"patch":{"operationId":"upsertEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/DryRunQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"}],"requestBody":{"content":{"application/json":{}}}}},"/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}]}},"/v1/entity/{slug}/{id}":{"get":{"operationId":"getEntity","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"}]},"put":{"operationId":"updateEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"}],"requestBody":{"content":{"application/json":{}}}},"patch":{"operationId":"patchEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/DryRunQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"}],"requestBody":{"content":{"application/json":{}},"required":true}},"delete":{"operationId":"deleteEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}]}},"/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"}]}},"/v1/entity/activity":{"post":{"operationId":"createActivity","parameters":[{"in":"query","name":"entities","style":"form","explode":false}],"requestBody":{"content":{"application/json":{}}}}},"/v1/entity/activity/{id}":{"get":{"operationId":"getActivity","parameters":[{"$ref":"#/components/parameters/ActivityIdPathParam"},{"in":"query","name":"operations_size"},{"in":"query","name":"operations_from"}]}},"/v1/entity/activity/{id}:attach":{"post":{"operationId":"attachActivity","parameters":[{"$ref":"#/components/parameters/ActivityIdPathParam"},{"in":"query","name":"entities","style":"form","explode":false}]}},"/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"}]}},"/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"}]},"post":{"operationId":"addRelations","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}}}},"/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"}]}},"/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"}]}},"/v2/entity/{slug}/{id}/relations/count":{"get":{"operationId":"getRelatedEntitiesCount","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ExcludeSchemasQueryParam"}]}},"/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":{}}}},"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"}]}},"/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":{}}}}},"/v1/entity:import":{"post":{"operationId":"importEntities","parameters":[{"in":"query","name":"job_id"}],"requestBody":{"content":{"application/json":{}}}}},"/v1/entity/views":{"get":{"operationId":"listSavedViews","parameters":[{"in":"query","name":"slug","required":false}]}},"/v1/entity/view":{"post":{"operationId":"createSavedView","requestBody":{"content":{"application/json":{}}}}},"/v1/entity/view/{id}":{"get":{"operationId":"getSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}]},"put":{"operationId":"updateSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"requestBody":{"content":{"application/json":{}}}},"delete":{"operationId":"deleteSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}]}},"/v1/entity/views/favorites":{"get":{"operationId":"listFavoriteViewsForUser"}},"/v1/entity/listTaxonomies":{"get":{"operationId":"listTaxonomies"}},"/v1/entity/taxonomies/{taxonomySlug}":{"get":{"operationId":"getTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"}]}},"/v1/entity/taxonomies/{taxonomySlug}:autocomplete":{"get":{"operationId":"taxonomyAutocomplete","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"},{"in":"query","name":"query"},{"in":"query","name":"size"}]}},"/v1/entity/taxonomies/classifications:search":{"post":{"operationId":"taxonomiesClassificationsSearch","parameters":[{"$ref":"#/components/parameters/TaxonomySlugQueryParam"}],"requestBody":{"content":{"application/json":{}}}}},"/v1/entity/taxonomies/{taxonomySlug}/classifications":{"post":{"operationId":"updateClassificationsForTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"}],"requestBody":{"content":{"application/json":{}}}}}},"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},"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}}},"servers":[{"url":"https://entity.sls.epilot.io"}]}')}},t={},a=function a(r){var n=t[r];if(void 0!==n)return n.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,a),o.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"}]}},"/v1/entity/schemas/{slug}":{"get":{"operationId":"getSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"in":"query","name":"id"}]},"put":{"operationId":"putSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"in":"query","name":"draft"}],"requestBody":{"content":{"application/json":{}}}},"delete":{"operationId":"deleteSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"}]}},"/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"}]}},"/v1/entity/schemas/blueprints":{"get":{"operationId":"listSchemaBlueprints"}},"/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"}]}},"/v1/entity:search":{"post":{"operationId":"searchEntities","requestBody":{"content":{"application/json":{}}}}},"/v1/entity/{slug}":{"post":{"operationId":"createEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"}],"requestBody":{"content":{"application/json":{}}}}},"/v1/entity/{slug}:upsert":{"patch":{"operationId":"upsertEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/DryRunQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"}],"requestBody":{"content":{"application/json":{}}}}},"/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}]}},"/v1/entity/{slug}/{id}":{"get":{"operationId":"getEntity","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"}]},"put":{"operationId":"updateEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"}],"requestBody":{"content":{"application/json":{}}}},"patch":{"operationId":"patchEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/DryRunQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"}],"requestBody":{"content":{"application/json":{}},"required":true}},"delete":{"operationId":"deleteEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}]}},"/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"}]}},"/v1/entity/activity":{"post":{"operationId":"createActivity","parameters":[{"in":"query","name":"entities","style":"form","explode":false}],"requestBody":{"content":{"application/json":{}}}}},"/v1/entity/activity/{id}":{"get":{"operationId":"getActivity","parameters":[{"$ref":"#/components/parameters/ActivityIdPathParam"},{"in":"query","name":"operations_size"},{"in":"query","name":"operations_from"}]}},"/v1/entity/activity/{id}:attach":{"post":{"operationId":"attachActivity","parameters":[{"$ref":"#/components/parameters/ActivityIdPathParam"},{"in":"query","name":"entities","style":"form","explode":false}]}},"/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"}]}},"/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"}]},"post":{"operationId":"addRelations","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}}}},"/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"}]}},"/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"}]}},"/v2/entity/{slug}/{id}/relations/count":{"get":{"operationId":"getRelatedEntitiesCount","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ExcludeSchemasQueryParam"}]}},"/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":{}}}},"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"}]}},"/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":{}}}}},"/v1/entity:import":{"post":{"operationId":"importEntities","parameters":[{"in":"query","name":"job_id"}],"requestBody":{"content":{"application/json":{}}}}},"/v1/entity/views":{"get":{"operationId":"listSavedViews","parameters":[{"in":"query","name":"slug","required":false}]}},"/v1/entity/view":{"post":{"operationId":"createSavedView","requestBody":{"content":{"application/json":{}}}}},"/v1/entity/view/{id}":{"get":{"operationId":"getSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}]},"put":{"operationId":"updateSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"requestBody":{"content":{"application/json":{}}}},"delete":{"operationId":"deleteSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}]}},"/v1/entity/views/favorites":{"get":{"operationId":"listFavoriteViewsForUser"}},"/v1/entity/listTaxonomies":{"get":{"operationId":"listTaxonomies"}},"/v1/entity/taxonomies/{taxonomySlug}":{"get":{"operationId":"getTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"}]}},"/v1/entity/taxonomies/{taxonomySlug}:autocomplete":{"get":{"operationId":"taxonomyAutocomplete","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"},{"in":"query","name":"query"},{"in":"query","name":"size"}]}},"/v1/entity/taxonomies/classifications:search":{"post":{"operationId":"taxonomiesClassificationsSearch","parameters":[{"$ref":"#/components/parameters/TaxonomySlugQueryParam"}],"requestBody":{"content":{"application/json":{}}}}},"/v1/entity/taxonomies/{taxonomySlug}/classifications":{"post":{"operationId":"updateClassificationsForTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"}],"requestBody":{"content":{"application/json":{}}}}}},"components":{"parameters":{"EntityIdPathParam":{"name":"id","in":"path","required":true},"EntitySlugPathParam":{"name":"slug","in":"path","required":true},"TaxonomySlugQueryParam":{"name":"taxonomySlug","in":"query","required":true},"TaxonomySlugPathParam":{"name":"taxonomySlug","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}}},"servers":[{"url":"https://entity.sls.epilot.io"}]}')}},t={},a=function a(r){var n=t[r];if(void 0!==n)return n.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,a),o.exports}(914),r=exports;for(var n in a)r[n]=a[n];a.__esModule&&Object.defineProperty(r,"__esModule",{value:!0})})();
|
package/dist/index.d.ts
CHANGED
|
File without changes
|
package/dist/index.js
CHANGED
|
File without changes
|
|
@@ -77,13 +77,6 @@
|
|
|
77
77
|
{
|
|
78
78
|
"in": "query",
|
|
79
79
|
"name": "drafts_size"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"in": "query",
|
|
83
|
-
"name": "fields",
|
|
84
|
-
"required": false,
|
|
85
|
-
"style": "form",
|
|
86
|
-
"explode": false
|
|
87
80
|
}
|
|
88
81
|
]
|
|
89
82
|
}
|
|
@@ -145,21 +138,6 @@
|
|
|
145
138
|
}
|
|
146
139
|
}
|
|
147
140
|
},
|
|
148
|
-
"/v1/entity/{slug}:validate": {
|
|
149
|
-
"post": {
|
|
150
|
-
"operationId": "validateEntity",
|
|
151
|
-
"parameters": [
|
|
152
|
-
{
|
|
153
|
-
"$ref": "#/components/parameters/EntitySlugPathPriceParam"
|
|
154
|
-
}
|
|
155
|
-
],
|
|
156
|
-
"requestBody": {
|
|
157
|
-
"content": {
|
|
158
|
-
"application/json": {}
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
141
|
"/v1/entity/{slug}:upsert": {
|
|
164
142
|
"patch": {
|
|
165
143
|
"operationId": "upsertEntity",
|
|
@@ -772,11 +750,6 @@
|
|
|
772
750
|
"in": "path",
|
|
773
751
|
"required": true
|
|
774
752
|
},
|
|
775
|
-
"EntitySlugPathPriceParam": {
|
|
776
|
-
"name": "slug",
|
|
777
|
-
"in": "path",
|
|
778
|
-
"required": true
|
|
779
|
-
},
|
|
780
753
|
"TaxonomySlugQueryParam": {
|
|
781
754
|
"name": "taxonomySlug",
|
|
782
755
|
"in": "query",
|
package/dist/openapi.d.ts
CHANGED
|
@@ -31,12 +31,6 @@ declare namespace Components {
|
|
|
31
31
|
* contact
|
|
32
32
|
*/
|
|
33
33
|
Schemas.EntitySlug;
|
|
34
|
-
/**
|
|
35
|
-
* URL-friendly identifier for the entity schema
|
|
36
|
-
* example:
|
|
37
|
-
* price
|
|
38
|
-
*/
|
|
39
|
-
export type EntitySlugPathPriceParam = string;
|
|
40
34
|
export type ExcludeSchemasQueryParam = /**
|
|
41
35
|
* URL-friendly identifier for the entity schema
|
|
42
36
|
* example:
|
|
@@ -60,12 +54,6 @@ declare namespace Components {
|
|
|
60
54
|
export interface PathParameters {
|
|
61
55
|
EntityIdPathParam?: Parameters.EntityIdPathParam;
|
|
62
56
|
EntitySlugPathParam?: Parameters.EntitySlugPathParam;
|
|
63
|
-
EntitySlugPathPriceParam?: /**
|
|
64
|
-
* URL-friendly identifier for the entity schema
|
|
65
|
-
* example:
|
|
66
|
-
* price
|
|
67
|
-
*/
|
|
68
|
-
Parameters.EntitySlugPathPriceParam;
|
|
69
57
|
TaxonomySlugPathParam?: Parameters.TaxonomySlugPathParam;
|
|
70
58
|
SavedViewIdPathParam?: Parameters.SavedViewIdPathParam;
|
|
71
59
|
ActivityIdPathParam?: Parameters.ActivityIdPathParam;
|
|
@@ -293,9 +281,11 @@ declare namespace Components {
|
|
|
293
281
|
*/
|
|
294
282
|
feature_flag?: string;
|
|
295
283
|
/**
|
|
296
|
-
* This attribute should only be active when
|
|
284
|
+
* This attribute should only be active when the setting is enabled
|
|
285
|
+
* example:
|
|
286
|
+
* MY_SETTING
|
|
297
287
|
*/
|
|
298
|
-
|
|
288
|
+
setting_flag?: string;
|
|
299
289
|
value_formatter?: string;
|
|
300
290
|
preview_value_formatter?: string;
|
|
301
291
|
/**
|
|
@@ -417,9 +407,11 @@ declare namespace Components {
|
|
|
417
407
|
*/
|
|
418
408
|
feature_flag?: string;
|
|
419
409
|
/**
|
|
420
|
-
* This attribute should only be active when
|
|
410
|
+
* This attribute should only be active when the setting is enabled
|
|
411
|
+
* example:
|
|
412
|
+
* MY_SETTING
|
|
421
413
|
*/
|
|
422
|
-
|
|
414
|
+
setting_flag?: string;
|
|
423
415
|
value_formatter?: string;
|
|
424
416
|
preview_value_formatter?: string;
|
|
425
417
|
/**
|
|
@@ -536,9 +528,11 @@ declare namespace Components {
|
|
|
536
528
|
*/
|
|
537
529
|
feature_flag?: string;
|
|
538
530
|
/**
|
|
539
|
-
* This attribute should only be active when
|
|
531
|
+
* This attribute should only be active when the setting is enabled
|
|
532
|
+
* example:
|
|
533
|
+
* MY_SETTING
|
|
540
534
|
*/
|
|
541
|
-
|
|
535
|
+
setting_flag?: string;
|
|
542
536
|
value_formatter?: string;
|
|
543
537
|
preview_value_formatter?: string;
|
|
544
538
|
/**
|
|
@@ -722,9 +716,11 @@ declare namespace Components {
|
|
|
722
716
|
*/
|
|
723
717
|
feature_flag?: string;
|
|
724
718
|
/**
|
|
725
|
-
* This attribute should only be active when
|
|
719
|
+
* This attribute should only be active when the setting is enabled
|
|
720
|
+
* example:
|
|
721
|
+
* MY_SETTING
|
|
726
722
|
*/
|
|
727
|
-
|
|
723
|
+
setting_flag?: string;
|
|
728
724
|
value_formatter?: string;
|
|
729
725
|
preview_value_formatter?: string;
|
|
730
726
|
/**
|
|
@@ -850,9 +846,11 @@ declare namespace Components {
|
|
|
850
846
|
*/
|
|
851
847
|
feature_flag?: string;
|
|
852
848
|
/**
|
|
853
|
-
* This attribute should only be active when
|
|
849
|
+
* This attribute should only be active when the setting is enabled
|
|
850
|
+
* example:
|
|
851
|
+
* MY_SETTING
|
|
854
852
|
*/
|
|
855
|
-
|
|
853
|
+
setting_flag?: string;
|
|
856
854
|
value_formatter?: string;
|
|
857
855
|
preview_value_formatter?: string;
|
|
858
856
|
/**
|
|
@@ -972,9 +970,11 @@ declare namespace Components {
|
|
|
972
970
|
*/
|
|
973
971
|
feature_flag?: string;
|
|
974
972
|
/**
|
|
975
|
-
* This attribute should only be active when
|
|
973
|
+
* This attribute should only be active when the setting is enabled
|
|
974
|
+
* example:
|
|
975
|
+
* MY_SETTING
|
|
976
976
|
*/
|
|
977
|
-
|
|
977
|
+
setting_flag?: string;
|
|
978
978
|
value_formatter?: string;
|
|
979
979
|
preview_value_formatter?: string;
|
|
980
980
|
/**
|
|
@@ -1096,9 +1096,11 @@ declare namespace Components {
|
|
|
1096
1096
|
*/
|
|
1097
1097
|
feature_flag?: string;
|
|
1098
1098
|
/**
|
|
1099
|
-
* This attribute should only be active when
|
|
1099
|
+
* This attribute should only be active when the setting is enabled
|
|
1100
|
+
* example:
|
|
1101
|
+
* MY_SETTING
|
|
1100
1102
|
*/
|
|
1101
|
-
|
|
1103
|
+
setting_flag?: string;
|
|
1102
1104
|
value_formatter?: string;
|
|
1103
1105
|
preview_value_formatter?: string;
|
|
1104
1106
|
/**
|
|
@@ -1218,9 +1220,11 @@ declare namespace Components {
|
|
|
1218
1220
|
*/
|
|
1219
1221
|
feature_flag?: string;
|
|
1220
1222
|
/**
|
|
1221
|
-
* This attribute should only be active when
|
|
1223
|
+
* This attribute should only be active when the setting is enabled
|
|
1224
|
+
* example:
|
|
1225
|
+
* MY_SETTING
|
|
1222
1226
|
*/
|
|
1223
|
-
|
|
1227
|
+
setting_flag?: string;
|
|
1224
1228
|
value_formatter?: string;
|
|
1225
1229
|
preview_value_formatter?: string;
|
|
1226
1230
|
/**
|
|
@@ -1350,9 +1354,11 @@ declare namespace Components {
|
|
|
1350
1354
|
*/
|
|
1351
1355
|
feature_flag?: string;
|
|
1352
1356
|
/**
|
|
1353
|
-
* This attribute should only be active when
|
|
1357
|
+
* This attribute should only be active when the setting is enabled
|
|
1358
|
+
* example:
|
|
1359
|
+
* MY_SETTING
|
|
1354
1360
|
*/
|
|
1355
|
-
|
|
1361
|
+
setting_flag?: string;
|
|
1356
1362
|
value_formatter?: string;
|
|
1357
1363
|
preview_value_formatter?: string;
|
|
1358
1364
|
/**
|
|
@@ -1597,9 +1603,15 @@ declare namespace Components {
|
|
|
1597
1603
|
*/
|
|
1598
1604
|
feature_flag?: string;
|
|
1599
1605
|
/**
|
|
1600
|
-
* This capability should only be active when
|
|
1606
|
+
* This capability should only be active when the setting is enabled
|
|
1607
|
+
* example:
|
|
1608
|
+
* MY_SETTING
|
|
1609
|
+
*/
|
|
1610
|
+
setting_flag?: string;
|
|
1611
|
+
/**
|
|
1612
|
+
* Only show capability for legacy tenants (ivy)
|
|
1601
1613
|
*/
|
|
1602
|
-
|
|
1614
|
+
legacy?: boolean;
|
|
1603
1615
|
}
|
|
1604
1616
|
export interface EntityDefaultCreate {
|
|
1605
1617
|
view_type?: "default";
|
|
@@ -1633,6 +1645,10 @@ declare namespace Components {
|
|
|
1633
1645
|
* FF_MY_FEATURE_FLAG
|
|
1634
1646
|
*/
|
|
1635
1647
|
feature_flag?: string;
|
|
1648
|
+
/**
|
|
1649
|
+
* Only show item for legacy tenants (ivy)
|
|
1650
|
+
*/
|
|
1651
|
+
legacy?: boolean;
|
|
1636
1652
|
} | {
|
|
1637
1653
|
type?: "link";
|
|
1638
1654
|
/**
|
|
@@ -1647,6 +1663,10 @@ declare namespace Components {
|
|
|
1647
1663
|
* FF_MY_FEATURE_FLAG
|
|
1648
1664
|
*/
|
|
1649
1665
|
feature_flag?: string;
|
|
1666
|
+
/**
|
|
1667
|
+
* Only show item for legacy tenants (ivy)
|
|
1668
|
+
*/
|
|
1669
|
+
legacy?: boolean;
|
|
1650
1670
|
})[];
|
|
1651
1671
|
row_actions?: (string | /* An entity action configured from the entity schema */ EntityAction)[];
|
|
1652
1672
|
navbar_actions?: {
|
|
@@ -2132,9 +2152,11 @@ declare namespace Components {
|
|
|
2132
2152
|
*/
|
|
2133
2153
|
feature_flag?: string;
|
|
2134
2154
|
/**
|
|
2135
|
-
* This group should only be active when
|
|
2155
|
+
* This group should only be active when the setting is enabled
|
|
2156
|
+
* example:
|
|
2157
|
+
* MY_SETTING
|
|
2136
2158
|
*/
|
|
2137
|
-
|
|
2159
|
+
setting_flag?: string;
|
|
2138
2160
|
info_tooltip_title?: {
|
|
2139
2161
|
key?: string;
|
|
2140
2162
|
default?: string;
|
|
@@ -2387,9 +2409,11 @@ declare namespace Components {
|
|
|
2387
2409
|
*/
|
|
2388
2410
|
feature_flag?: string;
|
|
2389
2411
|
/**
|
|
2390
|
-
* This group should only be active when
|
|
2412
|
+
* This group should only be active when the setting is enabled
|
|
2413
|
+
* example:
|
|
2414
|
+
* MY_SETTING
|
|
2391
2415
|
*/
|
|
2392
|
-
|
|
2416
|
+
setting_flag?: string;
|
|
2393
2417
|
info_tooltip_title?: {
|
|
2394
2418
|
key?: string;
|
|
2395
2419
|
default?: string;
|
|
@@ -2613,60 +2637,6 @@ declare namespace Components {
|
|
|
2613
2637
|
* contact
|
|
2614
2638
|
*/
|
|
2615
2639
|
export type EntitySlug = string;
|
|
2616
|
-
/**
|
|
2617
|
-
* Validation error for an entity attribute
|
|
2618
|
-
*/
|
|
2619
|
-
export interface EntityValidationError {
|
|
2620
|
-
/**
|
|
2621
|
-
* Error code identifier
|
|
2622
|
-
* example:
|
|
2623
|
-
* custom
|
|
2624
|
-
*/
|
|
2625
|
-
code: string;
|
|
2626
|
-
/**
|
|
2627
|
-
* Additional parameters for the error
|
|
2628
|
-
*/
|
|
2629
|
-
params: {
|
|
2630
|
-
/**
|
|
2631
|
-
* The type of the error
|
|
2632
|
-
* example:
|
|
2633
|
-
* missing_field
|
|
2634
|
-
*/
|
|
2635
|
-
type?: string;
|
|
2636
|
-
};
|
|
2637
|
-
/**
|
|
2638
|
-
* The path to the attribute that failed validation
|
|
2639
|
-
* example:
|
|
2640
|
-
* [
|
|
2641
|
-
* "first_name"
|
|
2642
|
-
* ]
|
|
2643
|
-
*/
|
|
2644
|
-
path: string[];
|
|
2645
|
-
/**
|
|
2646
|
-
* A human-readable message describing the error
|
|
2647
|
-
* example:
|
|
2648
|
-
* Invalid input
|
|
2649
|
-
*/
|
|
2650
|
-
message: string;
|
|
2651
|
-
}
|
|
2652
|
-
/**
|
|
2653
|
-
* Validation result for a failed validation
|
|
2654
|
-
*/
|
|
2655
|
-
export interface EntityValidationResultError {
|
|
2656
|
-
status: "error";
|
|
2657
|
-
errors: [
|
|
2658
|
-
/* Validation error for an entity attribute */ EntityValidationError,
|
|
2659
|
-
.../* Validation error for an entity attribute */ EntityValidationError[]
|
|
2660
|
-
];
|
|
2661
|
-
}
|
|
2662
|
-
/**
|
|
2663
|
-
* Validation result for a successful validation
|
|
2664
|
-
*/
|
|
2665
|
-
export interface EntityValidationResultSuccess {
|
|
2666
|
-
status: "success";
|
|
2667
|
-
errors: [
|
|
2668
|
-
];
|
|
2669
|
-
}
|
|
2670
2640
|
export interface EntityViewDisabled {
|
|
2671
2641
|
view_type?: "disabled";
|
|
2672
2642
|
}
|
|
@@ -2769,9 +2739,11 @@ declare namespace Components {
|
|
|
2769
2739
|
*/
|
|
2770
2740
|
feature_flag?: string;
|
|
2771
2741
|
/**
|
|
2772
|
-
* This attribute should only be active when
|
|
2742
|
+
* This attribute should only be active when the setting is enabled
|
|
2743
|
+
* example:
|
|
2744
|
+
* MY_SETTING
|
|
2773
2745
|
*/
|
|
2774
|
-
|
|
2746
|
+
setting_flag?: string;
|
|
2775
2747
|
value_formatter?: string;
|
|
2776
2748
|
preview_value_formatter?: string;
|
|
2777
2749
|
/**
|
|
@@ -3142,9 +3114,11 @@ declare namespace Components {
|
|
|
3142
3114
|
*/
|
|
3143
3115
|
feature_flag?: string;
|
|
3144
3116
|
/**
|
|
3145
|
-
* This attribute should only be active when
|
|
3117
|
+
* This attribute should only be active when the setting is enabled
|
|
3118
|
+
* example:
|
|
3119
|
+
* MY_SETTING
|
|
3146
3120
|
*/
|
|
3147
|
-
|
|
3121
|
+
setting_flag?: string;
|
|
3148
3122
|
value_formatter?: string;
|
|
3149
3123
|
preview_value_formatter?: string;
|
|
3150
3124
|
/**
|
|
@@ -3264,9 +3238,11 @@ declare namespace Components {
|
|
|
3264
3238
|
*/
|
|
3265
3239
|
feature_flag?: string;
|
|
3266
3240
|
/**
|
|
3267
|
-
* This attribute should only be active when
|
|
3241
|
+
* This attribute should only be active when the setting is enabled
|
|
3242
|
+
* example:
|
|
3243
|
+
* MY_SETTING
|
|
3268
3244
|
*/
|
|
3269
|
-
|
|
3245
|
+
setting_flag?: string;
|
|
3270
3246
|
value_formatter?: string;
|
|
3271
3247
|
preview_value_formatter?: string;
|
|
3272
3248
|
/**
|
|
@@ -3386,9 +3362,11 @@ declare namespace Components {
|
|
|
3386
3362
|
*/
|
|
3387
3363
|
feature_flag?: string;
|
|
3388
3364
|
/**
|
|
3389
|
-
* This attribute should only be active when
|
|
3365
|
+
* This attribute should only be active when the setting is enabled
|
|
3366
|
+
* example:
|
|
3367
|
+
* MY_SETTING
|
|
3390
3368
|
*/
|
|
3391
|
-
|
|
3369
|
+
setting_flag?: string;
|
|
3392
3370
|
value_formatter?: string;
|
|
3393
3371
|
preview_value_formatter?: string;
|
|
3394
3372
|
/**
|
|
@@ -3516,9 +3494,11 @@ declare namespace Components {
|
|
|
3516
3494
|
*/
|
|
3517
3495
|
feature_flag?: string;
|
|
3518
3496
|
/**
|
|
3519
|
-
* This attribute should only be active when
|
|
3497
|
+
* This attribute should only be active when the setting is enabled
|
|
3498
|
+
* example:
|
|
3499
|
+
* MY_SETTING
|
|
3520
3500
|
*/
|
|
3521
|
-
|
|
3501
|
+
setting_flag?: string;
|
|
3522
3502
|
value_formatter?: string;
|
|
3523
3503
|
preview_value_formatter?: string;
|
|
3524
3504
|
/**
|
|
@@ -3638,9 +3618,11 @@ declare namespace Components {
|
|
|
3638
3618
|
*/
|
|
3639
3619
|
feature_flag?: string;
|
|
3640
3620
|
/**
|
|
3641
|
-
* This attribute should only be active when
|
|
3621
|
+
* This attribute should only be active when the setting is enabled
|
|
3622
|
+
* example:
|
|
3623
|
+
* MY_SETTING
|
|
3642
3624
|
*/
|
|
3643
|
-
|
|
3625
|
+
setting_flag?: string;
|
|
3644
3626
|
value_formatter?: string;
|
|
3645
3627
|
preview_value_formatter?: string;
|
|
3646
3628
|
/**
|
|
@@ -3776,9 +3758,11 @@ declare namespace Components {
|
|
|
3776
3758
|
*/
|
|
3777
3759
|
feature_flag?: string;
|
|
3778
3760
|
/**
|
|
3779
|
-
* This attribute should only be active when
|
|
3761
|
+
* This attribute should only be active when the setting is enabled
|
|
3762
|
+
* example:
|
|
3763
|
+
* MY_SETTING
|
|
3780
3764
|
*/
|
|
3781
|
-
|
|
3765
|
+
setting_flag?: string;
|
|
3782
3766
|
value_formatter?: string;
|
|
3783
3767
|
preview_value_formatter?: string;
|
|
3784
3768
|
/**
|
|
@@ -3899,9 +3883,11 @@ declare namespace Components {
|
|
|
3899
3883
|
*/
|
|
3900
3884
|
feature_flag?: string;
|
|
3901
3885
|
/**
|
|
3902
|
-
* This attribute should only be active when
|
|
3886
|
+
* This attribute should only be active when the setting is enabled
|
|
3887
|
+
* example:
|
|
3888
|
+
* MY_SETTING
|
|
3903
3889
|
*/
|
|
3904
|
-
|
|
3890
|
+
setting_flag?: string;
|
|
3905
3891
|
value_formatter?: string;
|
|
3906
3892
|
preview_value_formatter?: string;
|
|
3907
3893
|
/**
|
|
@@ -4021,9 +4007,11 @@ declare namespace Components {
|
|
|
4021
4007
|
*/
|
|
4022
4008
|
feature_flag?: string;
|
|
4023
4009
|
/**
|
|
4024
|
-
* This attribute should only be active when
|
|
4010
|
+
* This attribute should only be active when the setting is enabled
|
|
4011
|
+
* example:
|
|
4012
|
+
* MY_SETTING
|
|
4025
4013
|
*/
|
|
4026
|
-
|
|
4014
|
+
setting_flag?: string;
|
|
4027
4015
|
value_formatter?: string;
|
|
4028
4016
|
preview_value_formatter?: string;
|
|
4029
4017
|
/**
|
|
@@ -4143,9 +4131,11 @@ declare namespace Components {
|
|
|
4143
4131
|
*/
|
|
4144
4132
|
feature_flag?: string;
|
|
4145
4133
|
/**
|
|
4146
|
-
* This attribute should only be active when
|
|
4134
|
+
* This attribute should only be active when the setting is enabled
|
|
4135
|
+
* example:
|
|
4136
|
+
* MY_SETTING
|
|
4147
4137
|
*/
|
|
4148
|
-
|
|
4138
|
+
setting_flag?: string;
|
|
4149
4139
|
value_formatter?: string;
|
|
4150
4140
|
preview_value_formatter?: string;
|
|
4151
4141
|
/**
|
|
@@ -4265,9 +4255,11 @@ declare namespace Components {
|
|
|
4265
4255
|
*/
|
|
4266
4256
|
feature_flag?: string;
|
|
4267
4257
|
/**
|
|
4268
|
-
* This attribute should only be active when
|
|
4258
|
+
* This attribute should only be active when the setting is enabled
|
|
4259
|
+
* example:
|
|
4260
|
+
* MY_SETTING
|
|
4269
4261
|
*/
|
|
4270
|
-
|
|
4262
|
+
setting_flag?: string;
|
|
4271
4263
|
value_formatter?: string;
|
|
4272
4264
|
preview_value_formatter?: string;
|
|
4273
4265
|
/**
|
|
@@ -4392,9 +4384,11 @@ declare namespace Components {
|
|
|
4392
4384
|
*/
|
|
4393
4385
|
feature_flag?: string;
|
|
4394
4386
|
/**
|
|
4395
|
-
* This attribute should only be active when
|
|
4387
|
+
* This attribute should only be active when the setting is enabled
|
|
4388
|
+
* example:
|
|
4389
|
+
* MY_SETTING
|
|
4396
4390
|
*/
|
|
4397
|
-
|
|
4391
|
+
setting_flag?: string;
|
|
4398
4392
|
value_formatter?: string;
|
|
4399
4393
|
preview_value_formatter?: string;
|
|
4400
4394
|
/**
|
|
@@ -4533,9 +4527,11 @@ declare namespace Components {
|
|
|
4533
4527
|
*/
|
|
4534
4528
|
feature_flag?: string;
|
|
4535
4529
|
/**
|
|
4536
|
-
* This attribute should only be active when
|
|
4530
|
+
* This attribute should only be active when the setting is enabled
|
|
4531
|
+
* example:
|
|
4532
|
+
* MY_SETTING
|
|
4537
4533
|
*/
|
|
4538
|
-
|
|
4534
|
+
setting_flag?: string;
|
|
4539
4535
|
value_formatter?: string;
|
|
4540
4536
|
preview_value_formatter?: string;
|
|
4541
4537
|
/**
|
|
@@ -4649,9 +4645,9 @@ declare namespace Components {
|
|
|
4649
4645
|
*/
|
|
4650
4646
|
feature_flag?: string;
|
|
4651
4647
|
/**
|
|
4652
|
-
*
|
|
4648
|
+
* Name of the setting flag that enables this action
|
|
4653
4649
|
*/
|
|
4654
|
-
|
|
4650
|
+
setting_flag?: string;
|
|
4655
4651
|
/**
|
|
4656
4652
|
* example:
|
|
4657
4653
|
* {
|
|
@@ -4892,9 +4888,11 @@ declare namespace Components {
|
|
|
4892
4888
|
*/
|
|
4893
4889
|
feature_flag?: string;
|
|
4894
4890
|
/**
|
|
4895
|
-
* This attribute should only be active when
|
|
4891
|
+
* This attribute should only be active when the setting is enabled
|
|
4892
|
+
* example:
|
|
4893
|
+
* MY_SETTING
|
|
4896
4894
|
*/
|
|
4897
|
-
|
|
4895
|
+
setting_flag?: string;
|
|
4898
4896
|
value_formatter?: string;
|
|
4899
4897
|
preview_value_formatter?: string;
|
|
4900
4898
|
/**
|
|
@@ -5187,9 +5185,11 @@ declare namespace Components {
|
|
|
5187
5185
|
*/
|
|
5188
5186
|
feature_flag?: string;
|
|
5189
5187
|
/**
|
|
5190
|
-
* This attribute should only be active when
|
|
5188
|
+
* This attribute should only be active when the setting is enabled
|
|
5189
|
+
* example:
|
|
5190
|
+
* MY_SETTING
|
|
5191
5191
|
*/
|
|
5192
|
-
|
|
5192
|
+
setting_flag?: string;
|
|
5193
5193
|
value_formatter?: string;
|
|
5194
5194
|
preview_value_formatter?: string;
|
|
5195
5195
|
/**
|
|
@@ -5317,9 +5317,11 @@ declare namespace Components {
|
|
|
5317
5317
|
*/
|
|
5318
5318
|
feature_flag?: string;
|
|
5319
5319
|
/**
|
|
5320
|
-
* This attribute should only be active when
|
|
5320
|
+
* This attribute should only be active when the setting is enabled
|
|
5321
|
+
* example:
|
|
5322
|
+
* MY_SETTING
|
|
5321
5323
|
*/
|
|
5322
|
-
|
|
5324
|
+
setting_flag?: string;
|
|
5323
5325
|
value_formatter?: string;
|
|
5324
5326
|
preview_value_formatter?: string;
|
|
5325
5327
|
/**
|
|
@@ -5371,16 +5373,6 @@ declare namespace Components {
|
|
|
5371
5373
|
prefix?: string;
|
|
5372
5374
|
start_number?: number;
|
|
5373
5375
|
}
|
|
5374
|
-
export interface SettingFlag {
|
|
5375
|
-
/**
|
|
5376
|
-
* The name of the organization setting to check
|
|
5377
|
-
*/
|
|
5378
|
-
name?: string;
|
|
5379
|
-
/**
|
|
5380
|
-
* Whether the setting should be enabled or not
|
|
5381
|
-
*/
|
|
5382
|
-
enabled?: boolean;
|
|
5383
|
-
}
|
|
5384
5376
|
/**
|
|
5385
5377
|
* Status select
|
|
5386
5378
|
*/
|
|
@@ -5456,9 +5448,11 @@ declare namespace Components {
|
|
|
5456
5448
|
*/
|
|
5457
5449
|
feature_flag?: string;
|
|
5458
5450
|
/**
|
|
5459
|
-
* This attribute should only be active when
|
|
5451
|
+
* This attribute should only be active when the setting is enabled
|
|
5452
|
+
* example:
|
|
5453
|
+
* MY_SETTING
|
|
5460
5454
|
*/
|
|
5461
|
-
|
|
5455
|
+
setting_flag?: string;
|
|
5462
5456
|
value_formatter?: string;
|
|
5463
5457
|
preview_value_formatter?: string;
|
|
5464
5458
|
/**
|
|
@@ -5556,9 +5550,9 @@ declare namespace Components {
|
|
|
5556
5550
|
*/
|
|
5557
5551
|
feature_flag?: string;
|
|
5558
5552
|
/**
|
|
5559
|
-
*
|
|
5553
|
+
* Binds summary field visibility to the setting flag state.
|
|
5560
5554
|
*/
|
|
5561
|
-
|
|
5555
|
+
setting_flag?: string;
|
|
5562
5556
|
}
|
|
5563
5557
|
/**
|
|
5564
5558
|
* Summary Fields are displayed inside list view as a resume of the relation entity.
|
|
@@ -5648,9 +5642,11 @@ declare namespace Components {
|
|
|
5648
5642
|
*/
|
|
5649
5643
|
feature_flag?: string;
|
|
5650
5644
|
/**
|
|
5651
|
-
* This attribute should only be active when
|
|
5645
|
+
* This attribute should only be active when the setting is enabled
|
|
5646
|
+
* example:
|
|
5647
|
+
* MY_SETTING
|
|
5652
5648
|
*/
|
|
5653
|
-
|
|
5649
|
+
setting_flag?: string;
|
|
5654
5650
|
value_formatter?: string;
|
|
5655
5651
|
preview_value_formatter?: string;
|
|
5656
5652
|
/**
|
|
@@ -5811,9 +5807,11 @@ declare namespace Components {
|
|
|
5811
5807
|
*/
|
|
5812
5808
|
feature_flag?: string;
|
|
5813
5809
|
/**
|
|
5814
|
-
* This attribute should only be active when
|
|
5810
|
+
* This attribute should only be active when the setting is enabled
|
|
5811
|
+
* example:
|
|
5812
|
+
* MY_SETTING
|
|
5815
5813
|
*/
|
|
5816
|
-
|
|
5814
|
+
setting_flag?: string;
|
|
5817
5815
|
value_formatter?: string;
|
|
5818
5816
|
preview_value_formatter?: string;
|
|
5819
5817
|
/**
|
|
@@ -5934,9 +5932,11 @@ declare namespace Components {
|
|
|
5934
5932
|
*/
|
|
5935
5933
|
feature_flag?: string;
|
|
5936
5934
|
/**
|
|
5937
|
-
* This attribute should only be active when
|
|
5935
|
+
* This attribute should only be active when the setting is enabled
|
|
5936
|
+
* example:
|
|
5937
|
+
* MY_SETTING
|
|
5938
5938
|
*/
|
|
5939
|
-
|
|
5939
|
+
setting_flag?: string;
|
|
5940
5940
|
value_formatter?: string;
|
|
5941
5941
|
preview_value_formatter?: string;
|
|
5942
5942
|
/**
|
|
@@ -6773,15 +6773,6 @@ declare namespace Paths {
|
|
|
6773
6773
|
namespace Parameters {
|
|
6774
6774
|
export type DraftsFrom = number;
|
|
6775
6775
|
export type DraftsSize = number;
|
|
6776
|
-
/**
|
|
6777
|
-
* example:
|
|
6778
|
-
* [
|
|
6779
|
-
* "id",
|
|
6780
|
-
* "attributes",
|
|
6781
|
-
* "capabilites"
|
|
6782
|
-
* ]
|
|
6783
|
-
*/
|
|
6784
|
-
export type Fields = string[];
|
|
6785
6776
|
export type Slug = /**
|
|
6786
6777
|
* URL-friendly identifier for the entity schema
|
|
6787
6778
|
* example:
|
|
@@ -6799,15 +6790,6 @@ declare namespace Paths {
|
|
|
6799
6790
|
versions_size?: Parameters.VersionsSize;
|
|
6800
6791
|
drafts_from?: Parameters.DraftsFrom;
|
|
6801
6792
|
drafts_size?: Parameters.DraftsSize;
|
|
6802
|
-
fields?: /**
|
|
6803
|
-
* example:
|
|
6804
|
-
* [
|
|
6805
|
-
* "id",
|
|
6806
|
-
* "attributes",
|
|
6807
|
-
* "capabilites"
|
|
6808
|
-
* ]
|
|
6809
|
-
*/
|
|
6810
|
-
Parameters.Fields;
|
|
6811
6793
|
}
|
|
6812
6794
|
namespace Responses {
|
|
6813
6795
|
export interface $200 {
|
|
@@ -7421,61 +7403,6 @@ declare namespace Paths {
|
|
|
7421
7403
|
}
|
|
7422
7404
|
}
|
|
7423
7405
|
}
|
|
7424
|
-
namespace ValidateEntity {
|
|
7425
|
-
namespace Parameters {
|
|
7426
|
-
/**
|
|
7427
|
-
* URL-friendly identifier for the entity schema
|
|
7428
|
-
* example:
|
|
7429
|
-
* price
|
|
7430
|
-
*/
|
|
7431
|
-
export type Slug = string;
|
|
7432
|
-
}
|
|
7433
|
-
export interface PathParameters {
|
|
7434
|
-
slug: /**
|
|
7435
|
-
* URL-friendly identifier for the entity schema
|
|
7436
|
-
* example:
|
|
7437
|
-
* price
|
|
7438
|
-
*/
|
|
7439
|
-
Parameters.Slug;
|
|
7440
|
-
}
|
|
7441
|
-
export type RequestBody = /**
|
|
7442
|
-
* example:
|
|
7443
|
-
* {
|
|
7444
|
-
* "_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
7445
|
-
* "_org": "123",
|
|
7446
|
-
* "_owners": [
|
|
7447
|
-
* {
|
|
7448
|
-
* "org_id": "123",
|
|
7449
|
-
* "user_id": "123"
|
|
7450
|
-
* }
|
|
7451
|
-
* ],
|
|
7452
|
-
* "_schema": "contact",
|
|
7453
|
-
* "_tags": [
|
|
7454
|
-
* "example",
|
|
7455
|
-
* "mock"
|
|
7456
|
-
* ],
|
|
7457
|
-
* "_created_at": "2021-02-09T12:41:43.662Z",
|
|
7458
|
-
* "_updated_at": "2021-02-09T12:41:43.662Z",
|
|
7459
|
-
* "_acl": {
|
|
7460
|
-
* "view": [
|
|
7461
|
-
* "org:456",
|
|
7462
|
-
* "org:789"
|
|
7463
|
-
* ],
|
|
7464
|
-
* "edit": [
|
|
7465
|
-
* "org:456"
|
|
7466
|
-
* ],
|
|
7467
|
-
* "delete": [
|
|
7468
|
-
* "org:456"
|
|
7469
|
-
* ]
|
|
7470
|
-
* }
|
|
7471
|
-
* }
|
|
7472
|
-
*/
|
|
7473
|
-
Components.Schemas.Entity;
|
|
7474
|
-
namespace Responses {
|
|
7475
|
-
export type $200 = /* Validation result for a successful validation */ Components.Schemas.EntityValidationResultSuccess;
|
|
7476
|
-
export type $422 = /* Validation result for a failed validation */ Components.Schemas.EntityValidationResultError;
|
|
7477
|
-
}
|
|
7478
|
-
}
|
|
7479
7406
|
}
|
|
7480
7407
|
|
|
7481
7408
|
export interface OperationMethods {
|
|
@@ -7659,16 +7586,6 @@ export interface OperationMethods {
|
|
|
7659
7586
|
data?: Paths.CreateEntity.RequestBody,
|
|
7660
7587
|
config?: AxiosRequestConfig
|
|
7661
7588
|
): OperationResponse<Paths.CreateEntity.Responses.$201>
|
|
7662
|
-
/**
|
|
7663
|
-
* validateEntity - validateEntity
|
|
7664
|
-
*
|
|
7665
|
-
* Validates an entity against the schema.
|
|
7666
|
-
*/
|
|
7667
|
-
'validateEntity'(
|
|
7668
|
-
parameters?: Parameters<Paths.ValidateEntity.PathParameters> | null,
|
|
7669
|
-
data?: Paths.ValidateEntity.RequestBody,
|
|
7670
|
-
config?: AxiosRequestConfig
|
|
7671
|
-
): OperationResponse<Paths.ValidateEntity.Responses.$200>
|
|
7672
7589
|
/**
|
|
7673
7590
|
* upsertEntity - upsertEntity
|
|
7674
7591
|
*
|
|
@@ -8333,18 +8250,6 @@ export interface PathsDictionary {
|
|
|
8333
8250
|
config?: AxiosRequestConfig
|
|
8334
8251
|
): OperationResponse<Paths.CreateEntity.Responses.$201>
|
|
8335
8252
|
}
|
|
8336
|
-
['/v1/entity/{slug}:validate']: {
|
|
8337
|
-
/**
|
|
8338
|
-
* validateEntity - validateEntity
|
|
8339
|
-
*
|
|
8340
|
-
* Validates an entity against the schema.
|
|
8341
|
-
*/
|
|
8342
|
-
'post'(
|
|
8343
|
-
parameters?: Parameters<Paths.ValidateEntity.PathParameters> | null,
|
|
8344
|
-
data?: Paths.ValidateEntity.RequestBody,
|
|
8345
|
-
config?: AxiosRequestConfig
|
|
8346
|
-
): OperationResponse<Paths.ValidateEntity.Responses.$200>
|
|
8347
|
-
}
|
|
8348
8253
|
['/v1/entity/{slug}:upsert']: {
|
|
8349
8254
|
/**
|
|
8350
8255
|
* upsertEntity - upsertEntity
|
package/dist/openapi.json
CHANGED
|
@@ -33,10 +33,6 @@
|
|
|
33
33
|
{
|
|
34
34
|
"name": "Taxonomy",
|
|
35
35
|
"description": "Entity classification with Taxonomies"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"name": "Elastic Cluster Assignment",
|
|
39
|
-
"description": "Elastic Cluster assignment for organizations"
|
|
40
36
|
}
|
|
41
37
|
],
|
|
42
38
|
"security": [
|
|
@@ -222,24 +218,6 @@
|
|
|
222
218
|
"schema": {
|
|
223
219
|
"type": "number"
|
|
224
220
|
}
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
"in": "query",
|
|
228
|
-
"name": "fields",
|
|
229
|
-
"required": false,
|
|
230
|
-
"style": "form",
|
|
231
|
-
"explode": false,
|
|
232
|
-
"schema": {
|
|
233
|
-
"type": "array",
|
|
234
|
-
"items": {
|
|
235
|
-
"type": "string"
|
|
236
|
-
},
|
|
237
|
-
"example": [
|
|
238
|
-
"id",
|
|
239
|
-
"attributes",
|
|
240
|
-
"capabilites"
|
|
241
|
-
]
|
|
242
|
-
}
|
|
243
221
|
}
|
|
244
222
|
],
|
|
245
223
|
"responses": {
|
|
@@ -465,60 +443,6 @@
|
|
|
465
443
|
}
|
|
466
444
|
}
|
|
467
445
|
},
|
|
468
|
-
"/v1/entity/{slug}:validate": {
|
|
469
|
-
"post": {
|
|
470
|
-
"operationId": "validateEntity",
|
|
471
|
-
"summary": "validateEntity",
|
|
472
|
-
"description": "Validates an entity against the schema.",
|
|
473
|
-
"tags": [
|
|
474
|
-
"Entities"
|
|
475
|
-
],
|
|
476
|
-
"parameters": [
|
|
477
|
-
{
|
|
478
|
-
"$ref": "#/components/parameters/EntitySlugPathPriceParam"
|
|
479
|
-
}
|
|
480
|
-
],
|
|
481
|
-
"requestBody": {
|
|
482
|
-
"content": {
|
|
483
|
-
"application/json": {
|
|
484
|
-
"schema": {
|
|
485
|
-
"$ref": "#/components/schemas/Entity"
|
|
486
|
-
},
|
|
487
|
-
"examples": {
|
|
488
|
-
"Valid Price": {
|
|
489
|
-
"$ref": "#/components/examples/PriceEntity"
|
|
490
|
-
},
|
|
491
|
-
"Invalid Price": {
|
|
492
|
-
"$ref": "#/components/examples/EmptyGenericEntity"
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
},
|
|
498
|
-
"responses": {
|
|
499
|
-
"200": {
|
|
500
|
-
"description": "Success",
|
|
501
|
-
"content": {
|
|
502
|
-
"application/json": {
|
|
503
|
-
"schema": {
|
|
504
|
-
"$ref": "#/components/schemas/EntityValidationResultSuccess"
|
|
505
|
-
}
|
|
506
|
-
}
|
|
507
|
-
}
|
|
508
|
-
},
|
|
509
|
-
"422": {
|
|
510
|
-
"description": "Error",
|
|
511
|
-
"content": {
|
|
512
|
-
"application/json": {
|
|
513
|
-
"schema": {
|
|
514
|
-
"$ref": "#/components/schemas/EntityValidationResultError"
|
|
515
|
-
}
|
|
516
|
-
}
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
|
-
},
|
|
522
446
|
"/v1/entity/{slug}:upsert": {
|
|
523
447
|
"patch": {
|
|
524
448
|
"operationId": "upsertEntity",
|
|
@@ -2252,12 +2176,10 @@
|
|
|
2252
2176
|
"example": "FF_MY_FEATURE_FLAG",
|
|
2253
2177
|
"description": "This group should only be active when the feature flag is enabled"
|
|
2254
2178
|
},
|
|
2255
|
-
"
|
|
2256
|
-
"type": "
|
|
2257
|
-
"
|
|
2258
|
-
"
|
|
2259
|
-
"$ref": "#/components/schemas/SettingFlag"
|
|
2260
|
-
}
|
|
2179
|
+
"setting_flag": {
|
|
2180
|
+
"type": "string",
|
|
2181
|
+
"example": "MY_SETTING",
|
|
2182
|
+
"description": "This group should only be active when the setting is enabled"
|
|
2261
2183
|
},
|
|
2262
2184
|
"info_tooltip_title": {
|
|
2263
2185
|
"type": "object",
|
|
@@ -2587,12 +2509,10 @@
|
|
|
2587
2509
|
"example": "FF_MY_FEATURE_FLAG",
|
|
2588
2510
|
"description": "This attribute should only be active when the feature flag is enabled"
|
|
2589
2511
|
},
|
|
2590
|
-
"
|
|
2591
|
-
"type": "
|
|
2592
|
-
"
|
|
2593
|
-
"
|
|
2594
|
-
"$ref": "#/components/schemas/SettingFlag"
|
|
2595
|
-
}
|
|
2512
|
+
"setting_flag": {
|
|
2513
|
+
"type": "string",
|
|
2514
|
+
"example": "MY_SETTING",
|
|
2515
|
+
"description": "This attribute should only be active when the setting is enabled"
|
|
2596
2516
|
},
|
|
2597
2517
|
"value_formatter": {
|
|
2598
2518
|
"type": "string"
|
|
@@ -3178,12 +3098,9 @@
|
|
|
3178
3098
|
"type": "string",
|
|
3179
3099
|
"description": "Name of the feature flag that enables this action"
|
|
3180
3100
|
},
|
|
3181
|
-
"
|
|
3182
|
-
"type": "
|
|
3183
|
-
"description": "
|
|
3184
|
-
"items": {
|
|
3185
|
-
"$ref": "#/components/schemas/SettingFlag"
|
|
3186
|
-
}
|
|
3101
|
+
"setting_flag": {
|
|
3102
|
+
"type": "string",
|
|
3103
|
+
"description": "Name of the setting flag that enables this action"
|
|
3187
3104
|
},
|
|
3188
3105
|
"new_entity_item": {
|
|
3189
3106
|
"type": "object",
|
|
@@ -3644,12 +3561,9 @@
|
|
|
3644
3561
|
"type": "string",
|
|
3645
3562
|
"description": "Binds summary field visibility to the feature flag state."
|
|
3646
3563
|
},
|
|
3647
|
-
"
|
|
3648
|
-
"type": "
|
|
3649
|
-
"description": "
|
|
3650
|
-
"items": {
|
|
3651
|
-
"$ref": "#/components/schemas/SettingFlag"
|
|
3652
|
-
}
|
|
3564
|
+
"setting_flag": {
|
|
3565
|
+
"type": "string",
|
|
3566
|
+
"description": "Binds summary field visibility to the setting flag state."
|
|
3653
3567
|
}
|
|
3654
3568
|
},
|
|
3655
3569
|
"required": [
|
|
@@ -3772,12 +3686,14 @@
|
|
|
3772
3686
|
"example": "FF_MY_FEATURE_FLAG",
|
|
3773
3687
|
"description": "This capability should only be active when the feature flag is enabled"
|
|
3774
3688
|
},
|
|
3775
|
-
"
|
|
3776
|
-
"type": "
|
|
3777
|
-
"
|
|
3778
|
-
"
|
|
3779
|
-
|
|
3780
|
-
|
|
3689
|
+
"setting_flag": {
|
|
3690
|
+
"type": "string",
|
|
3691
|
+
"example": "MY_SETTING",
|
|
3692
|
+
"description": "This capability should only be active when the setting is enabled"
|
|
3693
|
+
},
|
|
3694
|
+
"legacy": {
|
|
3695
|
+
"type": "boolean",
|
|
3696
|
+
"description": "Only show capability for legacy tenants (ivy)"
|
|
3781
3697
|
}
|
|
3782
3698
|
},
|
|
3783
3699
|
"required": [
|
|
@@ -3815,6 +3731,10 @@
|
|
|
3815
3731
|
"type": "string",
|
|
3816
3732
|
"example": "FF_MY_FEATURE_FLAG",
|
|
3817
3733
|
"description": "This dropdown item should only be active when the feature flag is enabled"
|
|
3734
|
+
},
|
|
3735
|
+
"legacy": {
|
|
3736
|
+
"type": "boolean",
|
|
3737
|
+
"description": "Only show item for legacy tenants (ivy)"
|
|
3818
3738
|
}
|
|
3819
3739
|
}
|
|
3820
3740
|
},
|
|
@@ -4112,105 +4032,6 @@
|
|
|
4112
4032
|
},
|
|
4113
4033
|
"additionalProperties": true
|
|
4114
4034
|
},
|
|
4115
|
-
"EntityItem": {
|
|
4116
|
-
"allOf": [
|
|
4117
|
-
{
|
|
4118
|
-
"$ref": "#/components/schemas/BaseEntity"
|
|
4119
|
-
},
|
|
4120
|
-
{
|
|
4121
|
-
"$ref": "#/components/schemas/Entity"
|
|
4122
|
-
}
|
|
4123
|
-
]
|
|
4124
|
-
},
|
|
4125
|
-
"EntityValidationError": {
|
|
4126
|
-
"type": "object",
|
|
4127
|
-
"description": "Validation error for an entity attribute",
|
|
4128
|
-
"properties": {
|
|
4129
|
-
"code": {
|
|
4130
|
-
"type": "string",
|
|
4131
|
-
"description": "Error code identifier",
|
|
4132
|
-
"example": "custom"
|
|
4133
|
-
},
|
|
4134
|
-
"params": {
|
|
4135
|
-
"type": "object",
|
|
4136
|
-
"description": "Additional parameters for the error",
|
|
4137
|
-
"properties": {
|
|
4138
|
-
"type": {
|
|
4139
|
-
"type": "string",
|
|
4140
|
-
"description": "The type of the error",
|
|
4141
|
-
"example": "missing_field"
|
|
4142
|
-
}
|
|
4143
|
-
}
|
|
4144
|
-
},
|
|
4145
|
-
"path": {
|
|
4146
|
-
"type": "array",
|
|
4147
|
-
"description": "The path to the attribute that failed validation",
|
|
4148
|
-
"items": {
|
|
4149
|
-
"type": "string"
|
|
4150
|
-
},
|
|
4151
|
-
"example": [
|
|
4152
|
-
"first_name"
|
|
4153
|
-
]
|
|
4154
|
-
},
|
|
4155
|
-
"message": {
|
|
4156
|
-
"type": "string",
|
|
4157
|
-
"description": "A human-readable message describing the error",
|
|
4158
|
-
"example": "Invalid input"
|
|
4159
|
-
}
|
|
4160
|
-
},
|
|
4161
|
-
"required": [
|
|
4162
|
-
"code",
|
|
4163
|
-
"params",
|
|
4164
|
-
"path",
|
|
4165
|
-
"message"
|
|
4166
|
-
]
|
|
4167
|
-
},
|
|
4168
|
-
"EntityValidationResultSuccess": {
|
|
4169
|
-
"type": "object",
|
|
4170
|
-
"description": "Validation result for a successful validation",
|
|
4171
|
-
"properties": {
|
|
4172
|
-
"status": {
|
|
4173
|
-
"type": "string",
|
|
4174
|
-
"enum": [
|
|
4175
|
-
"success"
|
|
4176
|
-
]
|
|
4177
|
-
},
|
|
4178
|
-
"errors": {
|
|
4179
|
-
"type": "array",
|
|
4180
|
-
"maxItems": 0,
|
|
4181
|
-
"items": {
|
|
4182
|
-
"$ref": "#/components/schemas/EntityValidationError"
|
|
4183
|
-
}
|
|
4184
|
-
}
|
|
4185
|
-
},
|
|
4186
|
-
"required": [
|
|
4187
|
-
"status",
|
|
4188
|
-
"errors"
|
|
4189
|
-
]
|
|
4190
|
-
},
|
|
4191
|
-
"EntityValidationResultError": {
|
|
4192
|
-
"type": "object",
|
|
4193
|
-
"description": "Validation result for a failed validation",
|
|
4194
|
-
"properties": {
|
|
4195
|
-
"status": {
|
|
4196
|
-
"type": "string",
|
|
4197
|
-
"enum": [
|
|
4198
|
-
"error"
|
|
4199
|
-
]
|
|
4200
|
-
},
|
|
4201
|
-
"errors": {
|
|
4202
|
-
"type": "array",
|
|
4203
|
-
"minItems": 1,
|
|
4204
|
-
"items": {
|
|
4205
|
-
"$ref": "#/components/schemas/EntityValidationError"
|
|
4206
|
-
}
|
|
4207
|
-
}
|
|
4208
|
-
},
|
|
4209
|
-
"required": [
|
|
4210
|
-
"status",
|
|
4211
|
-
"errors"
|
|
4212
|
-
]
|
|
4213
|
-
},
|
|
4214
4035
|
"HydratedEntity": {
|
|
4215
4036
|
"type": "object",
|
|
4216
4037
|
"description": "Entity with relation data resolved into the attribute values",
|
|
@@ -4811,9 +4632,7 @@
|
|
|
4811
4632
|
"name": {
|
|
4812
4633
|
"description": "User-friendly identifier for the saved view",
|
|
4813
4634
|
"type": "string",
|
|
4814
|
-
"example": "View listing German"
|
|
4815
|
-
"minLength": 1,
|
|
4816
|
-
"maxLength": 100
|
|
4635
|
+
"example": "View listing German"
|
|
4817
4636
|
},
|
|
4818
4637
|
"org": {
|
|
4819
4638
|
"description": "Organisation ID a view belongs to",
|
|
@@ -4977,19 +4796,6 @@
|
|
|
4977
4796
|
}
|
|
4978
4797
|
}
|
|
4979
4798
|
}
|
|
4980
|
-
},
|
|
4981
|
-
"SettingFlag": {
|
|
4982
|
-
"type": "object",
|
|
4983
|
-
"properties": {
|
|
4984
|
-
"name": {
|
|
4985
|
-
"type": "string",
|
|
4986
|
-
"description": "The name of the organization setting to check"
|
|
4987
|
-
},
|
|
4988
|
-
"enabled": {
|
|
4989
|
-
"type": "boolean",
|
|
4990
|
-
"description": "Whether the setting should be enabled or not"
|
|
4991
|
-
}
|
|
4992
|
-
}
|
|
4993
4799
|
}
|
|
4994
4800
|
},
|
|
4995
4801
|
"parameters": {
|
|
@@ -5011,20 +4817,6 @@
|
|
|
5011
4817
|
"$ref": "#/components/schemas/EntitySlug"
|
|
5012
4818
|
}
|
|
5013
4819
|
},
|
|
5014
|
-
"EntitySlugPathPriceParam": {
|
|
5015
|
-
"name": "slug",
|
|
5016
|
-
"description": "Entity Type",
|
|
5017
|
-
"in": "path",
|
|
5018
|
-
"required": true,
|
|
5019
|
-
"schema": {
|
|
5020
|
-
"allOf": [
|
|
5021
|
-
{
|
|
5022
|
-
"$ref": "#/components/schemas/EntitySlug"
|
|
5023
|
-
}
|
|
5024
|
-
],
|
|
5025
|
-
"example": "price"
|
|
5026
|
-
}
|
|
5027
|
-
},
|
|
5028
4820
|
"TaxonomySlugQueryParam": {
|
|
5029
4821
|
"name": "taxonomySlug",
|
|
5030
4822
|
"description": "Taxonomy slug",
|
|
@@ -5101,7 +4893,7 @@
|
|
|
5101
4893
|
},
|
|
5102
4894
|
"IncludeReverseDeprecatedQueryParam": {
|
|
5103
4895
|
"name": "include_reverse",
|
|
5104
|
-
"description": "When true, includes reverse relations in response (other entities pointing to this entity)\n*It gets overriden by mode query parameter.*\n",
|
|
4896
|
+
"description": "When true, includes reverse relations in response (other entities pointing to this entity) \n*It gets overriden by mode query parameter.*\n",
|
|
5105
4897
|
"in": "query",
|
|
5106
4898
|
"deprecated": true,
|
|
5107
4899
|
"schema": {
|
|
@@ -5150,7 +4942,7 @@
|
|
|
5150
4942
|
},
|
|
5151
4943
|
"EntityRelationsModeQueryParam": {
|
|
5152
4944
|
"name": "mode",
|
|
5153
|
-
"description": "Options to determine how relations will be included in the result
|
|
4945
|
+
"description": "Options to determine how relations will be included in the result. \n*It overrides the include_reverse query param.* \nExplanation of possible options: \n- direct: include relations to which the searched entity refers \n- reverse: include relations that refer to the entity you are looking for \n- both: both direct and reverse relations\n",
|
|
5154
4946
|
"in": "query",
|
|
5155
4947
|
"required": false,
|
|
5156
4948
|
"schema": {
|
|
@@ -5174,10 +4966,6 @@
|
|
|
5174
4966
|
}
|
|
5175
4967
|
},
|
|
5176
4968
|
"examples": {
|
|
5177
|
-
"EmptyGenericEntity": {
|
|
5178
|
-
"description": "Example of an empty, generic entity",
|
|
5179
|
-
"value": {}
|
|
5180
|
-
},
|
|
5181
4969
|
"TaxEntity": {
|
|
5182
4970
|
"description": "Example of a Tax Rate entity",
|
|
5183
4971
|
"value": {
|
|
@@ -5400,7 +5188,6 @@
|
|
|
5400
5188
|
"code": "MODEL_375KW_PREMIUM",
|
|
5401
5189
|
"type": "One Time",
|
|
5402
5190
|
"description": "Solar Panel 375 kWp Premium",
|
|
5403
|
-
"internal_description": "Solar Panel 375 kWp Premium",
|
|
5404
5191
|
"billing_scheme": "per_unit",
|
|
5405
5192
|
"unit_amount": "€ 28500",
|
|
5406
5193
|
"tiers_mode": "Standard"
|
|
@@ -5791,37 +5578,6 @@
|
|
|
5791
5578
|
]
|
|
5792
5579
|
}
|
|
5793
5580
|
}
|
|
5794
|
-
},
|
|
5795
|
-
"EntityValidationError": {
|
|
5796
|
-
"description": "Example of an entity validation error",
|
|
5797
|
-
"value": {
|
|
5798
|
-
"code": "string",
|
|
5799
|
-
"params": {
|
|
5800
|
-
"type": "string"
|
|
5801
|
-
},
|
|
5802
|
-
"path": [
|
|
5803
|
-
"string"
|
|
5804
|
-
],
|
|
5805
|
-
"message": "string"
|
|
5806
|
-
}
|
|
5807
|
-
},
|
|
5808
|
-
"EntityValidationResultSuccess": {
|
|
5809
|
-
"description": "Example of a successful entity validation result",
|
|
5810
|
-
"value": {
|
|
5811
|
-
"status": "success",
|
|
5812
|
-
"errors": []
|
|
5813
|
-
}
|
|
5814
|
-
},
|
|
5815
|
-
"EntityValidationResultError": {
|
|
5816
|
-
"description": "Example of a failed entity validation result",
|
|
5817
|
-
"value": {
|
|
5818
|
-
"status": "error",
|
|
5819
|
-
"errors": [
|
|
5820
|
-
{
|
|
5821
|
-
"$ref": "#/components/examples/EntityValidationError"
|
|
5822
|
-
}
|
|
5823
|
-
]
|
|
5824
|
-
}
|
|
5825
5581
|
}
|
|
5826
5582
|
}
|
|
5827
5583
|
},
|
package/dist/schema-model.d.ts
CHANGED
|
File without changes
|
package/dist/schema-model.js
CHANGED
|
File without changes
|