@epilot/entity-client 4.15.1 → 4.15.3
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 -37
- package/dist/openapi.d.ts +1 -346
- package/dist/openapi.json +0 -143
- 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,i){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=r(i(240));t.default=a.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":[{"in":"path","name":"slug","required":true},{"in":"query","name":"id"}]},"put":{"operationId":"putSchema","parameters":[{"in":"path","name":"slug","required":true},{"in":"query","name":"draft"}],"requestBody":{"content":{"application/json":{}}}},"delete":{"operationId":"deleteSchema","parameters":[{"in":"path","name":"slug","required":true}]}},"/v1/entity/schemas/{slug}/versions":{"get":{"operationId":"getSchemaVersions","parameters":[{"in":"path","name":"slug","required":true},{"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":[{"in":"path","name":"slug","required":true},{"in":"path","name":"taxonomySlug","required":true},{"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":[{"in":"path","name":"slug","required":true},{"in":"query","name":"activity_id","required":false},{"in":"query","name":"async","required":false}],"requestBody":{"content":{"application/json":{}}}}},"/v1/entity/{slug}:upsert":{"patch":{"operationId":"upsertEntity","parameters":[{"in":"path","name":"slug","required":true},{"in":"query","name":"activity_id","required":false},{"in":"query","name":"dry_run","required":false},{"in":"query","name":"async","required":false}],"requestBody":{"content":{"application/json":{}}}}},"/v1/entity/{slug}/{id}":{"get":{"operationId":"getEntity","parameters":[{"in":"path","name":"slug","required":true},{"in":"path","name":"id","required":true},{"in":"query","name":"hydrate"}]},"put":{"operationId":"updateEntity","parameters":[{"in":"path","name":"slug","required":true},{"in":"path","name":"id","required":true},{"in":"query","name":"activity_id","required":false},{"in":"query","name":"async","required":false}],"requestBody":{"content":{"application/json":{}}}},"patch":{"operationId":"patchEntity","parameters":[{"in":"path","name":"slug","required":true},{"in":"path","name":"id","required":true},{"in":"query","name":"activity_id","required":false},{"in":"query","name":"dry_run","required":false},{"in":"query","name":"async","required":false}],"requestBody":{"content":{"application/json":{}},"required":true}},"delete":{"operationId":"deleteEntity","parameters":[{"in":"path","name":"slug","required":true},{"in":"path","name":"id","required":true},{"in":"query","name":"activity_id","required":false}]}},"/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":[{"in":"path","name":"id","required":true},{"in":"query","name":"operations_size"},{"in":"query","name":"operations_from"}]}},"/v1/entity/activity/{id}:attach":{"post":{"operationId":"attachActivity","parameters":[{"in":"path","name":"id","required":true},{"in":"query","name":"entities","style":"form","explode":false}]}},"/v1/entity/{slug}/{id}/activity":{"get":{"operationId":"getEntityActivityFeed","parameters":[{"in":"path","name":"slug","required":true},{"in":"path","name":"id","required":true},{"in":"query","name":"after"},{"in":"query","name":"before"},{"in":"query","name":"from"},{"in":"query","name":"size"},{"in":"query","name":"type"},{"in":"query","name":"include_relations"}]}},"/v1/entity/{slug}/{id}/relations":{"get":{"operationId":"getRelations","parameters":[{"in":"path","name":"slug","required":true},{"in":"path","name":"id","required":true},{"in":"query","name":"hydrate"},{"in":"query","name":"include_reverse"}]},"post":{"operationId":"addRelations","parameters":[{"in":"path","name":"slug","required":true},{"in":"path","name":"id","required":true},{"in":"query","name":"async","required":false}
|
|
1
|
+
(()=>{"use strict";var e={914:function(e,t,i){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=r(i(240));t.default=a.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":[{"in":"path","name":"slug","required":true},{"in":"query","name":"id"}]},"put":{"operationId":"putSchema","parameters":[{"in":"path","name":"slug","required":true},{"in":"query","name":"draft"}],"requestBody":{"content":{"application/json":{}}}},"delete":{"operationId":"deleteSchema","parameters":[{"in":"path","name":"slug","required":true}]}},"/v1/entity/schemas/{slug}/versions":{"get":{"operationId":"getSchemaVersions","parameters":[{"in":"path","name":"slug","required":true},{"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":[{"in":"path","name":"slug","required":true},{"in":"path","name":"taxonomySlug","required":true},{"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":[{"in":"path","name":"slug","required":true},{"in":"query","name":"activity_id","required":false},{"in":"query","name":"async","required":false}],"requestBody":{"content":{"application/json":{}}}}},"/v1/entity/{slug}:upsert":{"patch":{"operationId":"upsertEntity","parameters":[{"in":"path","name":"slug","required":true},{"in":"query","name":"activity_id","required":false},{"in":"query","name":"dry_run","required":false},{"in":"query","name":"async","required":false}],"requestBody":{"content":{"application/json":{}}}}},"/v1/entity/{slug}/{id}":{"get":{"operationId":"getEntity","parameters":[{"in":"path","name":"slug","required":true},{"in":"path","name":"id","required":true},{"in":"query","name":"hydrate"}]},"put":{"operationId":"updateEntity","parameters":[{"in":"path","name":"slug","required":true},{"in":"path","name":"id","required":true},{"in":"query","name":"activity_id","required":false},{"in":"query","name":"async","required":false}],"requestBody":{"content":{"application/json":{}}}},"patch":{"operationId":"patchEntity","parameters":[{"in":"path","name":"slug","required":true},{"in":"path","name":"id","required":true},{"in":"query","name":"activity_id","required":false},{"in":"query","name":"dry_run","required":false},{"in":"query","name":"async","required":false}],"requestBody":{"content":{"application/json":{}},"required":true}},"delete":{"operationId":"deleteEntity","parameters":[{"in":"path","name":"slug","required":true},{"in":"path","name":"id","required":true},{"in":"query","name":"activity_id","required":false}]}},"/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":[{"in":"path","name":"id","required":true},{"in":"query","name":"operations_size"},{"in":"query","name":"operations_from"}]}},"/v1/entity/activity/{id}:attach":{"post":{"operationId":"attachActivity","parameters":[{"in":"path","name":"id","required":true},{"in":"query","name":"entities","style":"form","explode":false}]}},"/v1/entity/{slug}/{id}/activity":{"get":{"operationId":"getEntityActivityFeed","parameters":[{"in":"path","name":"slug","required":true},{"in":"path","name":"id","required":true},{"in":"query","name":"after"},{"in":"query","name":"before"},{"in":"query","name":"from"},{"in":"query","name":"size"},{"in":"query","name":"type"},{"in":"query","name":"include_relations"}]}},"/v1/entity/{slug}/{id}/relations":{"get":{"operationId":"getRelations","parameters":[{"in":"path","name":"slug","required":true},{"in":"path","name":"id","required":true},{"in":"query","name":"hydrate"},{"in":"query","name":"include_reverse"}]},"post":{"operationId":"addRelations","parameters":[{"in":"path","name":"slug","required":true},{"in":"path","name":"id","required":true},{"in":"query","name":"async","required":false}],"requestBody":{"content":{"application/json":{}}}}},"/v2/entity/{slug}/{id}/relations":{"get":{"operationId":"getRelationsV2","parameters":[{"in":"path","name":"slug","required":true},{"in":"path","name":"id","required":true},{"in":"query","name":"hydrate"},{"in":"query","name":"query"},{"in":"query","name":"include_reverse"},{"in":"query","name":"from"},{"in":"query","name":"size"},{"in":"query","name":"fields"}]}},"/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}":{"put":{"operationId":"updateRelation","parameters":[{"in":"path","name":"slug","required":true},{"in":"path","name":"id","required":true},{"in":"path","name":"attribute","required":true},{"in":"path","name":"entity_id","required":true},{"in":"query","name":"async","required":false}],"requestBody":{"content":{"application/json":{}}}},"delete":{"operationId":"deleteRelation","parameters":[{"in":"path","name":"slug","required":true},{"in":"path","name":"id","required":true},{"in":"path","name":"attribute","required":true},{"in":"path","name":"entity_id","required":true},{"in":"query","name":"async","required":false}]}},"/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"}},"/v1/entity/view":{"post":{"operationId":"createSavedView","requestBody":{"content":{"application/json":{}}}}},"/v1/entity/view/{id}":{"get":{"operationId":"getSavedView","parameters":[{"in":"path","name":"id","required":true}]},"put":{"operationId":"updateSavedView","parameters":[{"in":"path","name":"id","required":true}],"requestBody":{"content":{"application/json":{}}}},"delete":{"operationId":"deleteSavedView","parameters":[{"in":"path","name":"id","required":true}]}},"/v1/entity/listTaxonomies":{"get":{"operationId":"listTaxonomies"}},"/v1/entity/taxonomies/{taxonomySlug}":{"get":{"operationId":"getTaxonomy","parameters":[{"in":"path","name":"taxonomySlug","required":true}]}},"/v1/entity/taxonomies/{taxonomySlug}:autocomplete":{"get":{"operationId":"taxonomyAutocomplete","parameters":[{"in":"path","name":"taxonomySlug","required":true},{"in":"query","name":"query"},{"in":"query","name":"size"}]}},"/v1/entity/taxonomies/classifications:search":{"post":{"operationId":"taxonomiesClassificationsSearch","parameters":[{"in":"query","name":"taxonomySlug","required":true}],"requestBody":{"content":{"application/json":{}}}}},"/v1/entity/taxonomies/{taxonomySlug}/classifications":{"post":{"operationId":"updateClassificationsForTaxonomy","parameters":[{"in":"path","name":"taxonomySlug","required":true}],"requestBody":{"content":{"application/json":{}}}}}},"components":{},"servers":[{"url":"https://entity.sls.epilot.io"}]}')}},t={},i=function i(r){var a=t[r];if(void 0!==a)return a.exports;var n=t[r]={exports:{}};return e[r].call(n.exports,n,n.exports,i),n.exports}(914),r=exports;for(var a in i)r[a]=i[a];i.__esModule&&Object.defineProperty(r,"__esModule",{value:!0})})();
|
package/dist/index.d.ts
CHANGED
|
File without changes
|
package/dist/index.js
CHANGED
|
File without changes
|
|
@@ -457,11 +457,6 @@
|
|
|
457
457
|
"in": "query",
|
|
458
458
|
"name": "async",
|
|
459
459
|
"required": false
|
|
460
|
-
},
|
|
461
|
-
{
|
|
462
|
-
"in": "query",
|
|
463
|
-
"name": "activity_id",
|
|
464
|
-
"required": false
|
|
465
460
|
}
|
|
466
461
|
],
|
|
467
462
|
"requestBody": {
|
|
@@ -512,23 +507,6 @@
|
|
|
512
507
|
]
|
|
513
508
|
}
|
|
514
509
|
},
|
|
515
|
-
"/v2/entity/{slug}/{id}/relations/count": {
|
|
516
|
-
"get": {
|
|
517
|
-
"operationId": "getRelatedEntitiesCount",
|
|
518
|
-
"parameters": [
|
|
519
|
-
{
|
|
520
|
-
"in": "path",
|
|
521
|
-
"name": "slug",
|
|
522
|
-
"required": true
|
|
523
|
-
},
|
|
524
|
-
{
|
|
525
|
-
"in": "path",
|
|
526
|
-
"name": "id",
|
|
527
|
-
"required": true
|
|
528
|
-
}
|
|
529
|
-
]
|
|
530
|
-
}
|
|
531
|
-
},
|
|
532
510
|
"/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}": {
|
|
533
511
|
"put": {
|
|
534
512
|
"operationId": "updateRelation",
|
|
@@ -557,11 +535,6 @@
|
|
|
557
535
|
"in": "query",
|
|
558
536
|
"name": "async",
|
|
559
537
|
"required": false
|
|
560
|
-
},
|
|
561
|
-
{
|
|
562
|
-
"in": "query",
|
|
563
|
-
"name": "activity_id",
|
|
564
|
-
"required": false
|
|
565
538
|
}
|
|
566
539
|
],
|
|
567
540
|
"requestBody": {
|
|
@@ -597,11 +570,6 @@
|
|
|
597
570
|
"in": "query",
|
|
598
571
|
"name": "async",
|
|
599
572
|
"required": false
|
|
600
|
-
},
|
|
601
|
-
{
|
|
602
|
-
"in": "query",
|
|
603
|
-
"name": "activity_id",
|
|
604
|
-
"required": false
|
|
605
573
|
}
|
|
606
574
|
]
|
|
607
575
|
}
|
|
@@ -698,11 +666,6 @@
|
|
|
698
666
|
]
|
|
699
667
|
}
|
|
700
668
|
},
|
|
701
|
-
"/v1/entity/views/favorites": {
|
|
702
|
-
"get": {
|
|
703
|
-
"operationId": "listFavoriteViewsForUser"
|
|
704
|
-
}
|
|
705
|
-
},
|
|
706
669
|
"/v1/entity/listTaxonomies": {
|
|
707
670
|
"get": {
|
|
708
671
|
"operationId": "listTaxonomies"
|
package/dist/openapi.d.ts
CHANGED
|
@@ -158,10 +158,6 @@ declare namespace Components {
|
|
|
158
158
|
* Render as a column in table views. When defined, overrides `hidden`
|
|
159
159
|
*/
|
|
160
160
|
show_in_table?: boolean;
|
|
161
|
-
/**
|
|
162
|
-
* Allow sorting by this attribute in table views if `show_in_table` is true
|
|
163
|
-
*/
|
|
164
|
-
sortable?: boolean;
|
|
165
161
|
required?: boolean;
|
|
166
162
|
readonly?: boolean;
|
|
167
163
|
deprecated?: boolean;
|
|
@@ -268,7 +264,7 @@ declare namespace Components {
|
|
|
268
264
|
type?: "relation_address";
|
|
269
265
|
has_primary?: boolean;
|
|
270
266
|
}
|
|
271
|
-
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 | /* Reference to an address attribute of another entity */ AddressRelationAttribute | /* Reference to a payment method attribute of another entity */ PaymentMethodRelationAttribute | /* Currency input */ CurrencyAttribute | /* Repeatable (add N number of fields) */ RepeatableAttribute | /* Tags */ TagsAttribute | /* 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
|
|
267
|
+
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 | /* Reference to an address attribute of another entity */ AddressRelationAttribute | /* Reference to a payment method attribute of another entity */ PaymentMethodRelationAttribute | /* Currency input */ CurrencyAttribute | /* Repeatable (add N number of fields) */ RepeatableAttribute | /* Tags */ TagsAttribute | /* 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;
|
|
272
268
|
/**
|
|
273
269
|
* Automation entity
|
|
274
270
|
*/
|
|
@@ -284,10 +280,6 @@ declare namespace Components {
|
|
|
284
280
|
* Render as a column in table views. When defined, overrides `hidden`
|
|
285
281
|
*/
|
|
286
282
|
show_in_table?: boolean;
|
|
287
|
-
/**
|
|
288
|
-
* Allow sorting by this attribute in table views if `show_in_table` is true
|
|
289
|
-
*/
|
|
290
|
-
sortable?: boolean;
|
|
291
283
|
required?: boolean;
|
|
292
284
|
readonly?: boolean;
|
|
293
285
|
deprecated?: boolean;
|
|
@@ -405,10 +397,6 @@ declare namespace Components {
|
|
|
405
397
|
* Render as a column in table views. When defined, overrides `hidden`
|
|
406
398
|
*/
|
|
407
399
|
show_in_table?: boolean;
|
|
408
|
-
/**
|
|
409
|
-
* Allow sorting by this attribute in table views if `show_in_table` is true
|
|
410
|
-
*/
|
|
411
|
-
sortable?: boolean;
|
|
412
400
|
required?: boolean;
|
|
413
401
|
readonly?: boolean;
|
|
414
402
|
deprecated?: boolean;
|
|
@@ -593,10 +581,6 @@ declare namespace Components {
|
|
|
593
581
|
* Render as a column in table views. When defined, overrides `hidden`
|
|
594
582
|
*/
|
|
595
583
|
show_in_table?: boolean;
|
|
596
|
-
/**
|
|
597
|
-
* Allow sorting by this attribute in table views if `show_in_table` is true
|
|
598
|
-
*/
|
|
599
|
-
sortable?: boolean;
|
|
600
584
|
required?: boolean;
|
|
601
585
|
readonly?: boolean;
|
|
602
586
|
deprecated?: boolean;
|
|
@@ -723,10 +707,6 @@ declare namespace Components {
|
|
|
723
707
|
* Render as a column in table views. When defined, overrides `hidden`
|
|
724
708
|
*/
|
|
725
709
|
show_in_table?: boolean;
|
|
726
|
-
/**
|
|
727
|
-
* Allow sorting by this attribute in table views if `show_in_table` is true
|
|
728
|
-
*/
|
|
729
|
-
sortable?: boolean;
|
|
730
710
|
required?: boolean;
|
|
731
711
|
readonly?: boolean;
|
|
732
712
|
deprecated?: boolean;
|
|
@@ -847,10 +827,6 @@ declare namespace Components {
|
|
|
847
827
|
* Render as a column in table views. When defined, overrides `hidden`
|
|
848
828
|
*/
|
|
849
829
|
show_in_table?: boolean;
|
|
850
|
-
/**
|
|
851
|
-
* Allow sorting by this attribute in table views if `show_in_table` is true
|
|
852
|
-
*/
|
|
853
|
-
sortable?: boolean;
|
|
854
830
|
required?: boolean;
|
|
855
831
|
readonly?: boolean;
|
|
856
832
|
deprecated?: boolean;
|
|
@@ -973,10 +949,6 @@ declare namespace Components {
|
|
|
973
949
|
* Render as a column in table views. When defined, overrides `hidden`
|
|
974
950
|
*/
|
|
975
951
|
show_in_table?: boolean;
|
|
976
|
-
/**
|
|
977
|
-
* Allow sorting by this attribute in table views if `show_in_table` is true
|
|
978
|
-
*/
|
|
979
|
-
sortable?: boolean;
|
|
980
952
|
required?: boolean;
|
|
981
953
|
readonly?: boolean;
|
|
982
954
|
deprecated?: boolean;
|
|
@@ -1097,10 +1069,6 @@ declare namespace Components {
|
|
|
1097
1069
|
* Render as a column in table views. When defined, overrides `hidden`
|
|
1098
1070
|
*/
|
|
1099
1071
|
show_in_table?: boolean;
|
|
1100
|
-
/**
|
|
1101
|
-
* Allow sorting by this attribute in table views if `show_in_table` is true
|
|
1102
|
-
*/
|
|
1103
|
-
sortable?: boolean;
|
|
1104
1072
|
required?: boolean;
|
|
1105
1073
|
readonly?: boolean;
|
|
1106
1074
|
deprecated?: boolean;
|
|
@@ -1231,10 +1199,6 @@ declare namespace Components {
|
|
|
1231
1199
|
* Render as a column in table views. When defined, overrides `hidden`
|
|
1232
1200
|
*/
|
|
1233
1201
|
show_in_table?: boolean;
|
|
1234
|
-
/**
|
|
1235
|
-
* Allow sorting by this attribute in table views if `show_in_table` is true
|
|
1236
|
-
*/
|
|
1237
|
-
sortable?: boolean;
|
|
1238
1202
|
required?: boolean;
|
|
1239
1203
|
readonly?: boolean;
|
|
1240
1204
|
deprecated?: boolean;
|
|
@@ -2568,10 +2532,6 @@ declare namespace Components {
|
|
|
2568
2532
|
* Render as a column in table views. When defined, overrides `hidden`
|
|
2569
2533
|
*/
|
|
2570
2534
|
show_in_table?: boolean;
|
|
2571
|
-
/**
|
|
2572
|
-
* Allow sorting by this attribute in table views if `show_in_table` is true
|
|
2573
|
-
*/
|
|
2574
|
-
sortable?: boolean;
|
|
2575
2535
|
required?: boolean;
|
|
2576
2536
|
readonly?: boolean;
|
|
2577
2537
|
deprecated?: boolean;
|
|
@@ -2693,13 +2653,6 @@ declare namespace Components {
|
|
|
2693
2653
|
enable_description?: boolean;
|
|
2694
2654
|
default_access_control?: "public-read" | "private";
|
|
2695
2655
|
}
|
|
2696
|
-
export interface GetRelatedEntitiesCount {
|
|
2697
|
-
/**
|
|
2698
|
-
* example:
|
|
2699
|
-
* 1
|
|
2700
|
-
*/
|
|
2701
|
-
hits?: number;
|
|
2702
|
-
}
|
|
2703
2656
|
export type GetRelationsResp = (RelationItem | /**
|
|
2704
2657
|
* example:
|
|
2705
2658
|
* {
|
|
@@ -2943,10 +2896,6 @@ declare namespace Components {
|
|
|
2943
2896
|
* Render as a column in table views. When defined, overrides `hidden`
|
|
2944
2897
|
*/
|
|
2945
2898
|
show_in_table?: boolean;
|
|
2946
|
-
/**
|
|
2947
|
-
* Allow sorting by this attribute in table views if `show_in_table` is true
|
|
2948
|
-
*/
|
|
2949
|
-
sortable?: boolean;
|
|
2950
2899
|
required?: boolean;
|
|
2951
2900
|
readonly?: boolean;
|
|
2952
2901
|
deprecated?: boolean;
|
|
@@ -3067,10 +3016,6 @@ declare namespace Components {
|
|
|
3067
3016
|
* Render as a column in table views. When defined, overrides `hidden`
|
|
3068
3017
|
*/
|
|
3069
3018
|
show_in_table?: boolean;
|
|
3070
|
-
/**
|
|
3071
|
-
* Allow sorting by this attribute in table views if `show_in_table` is true
|
|
3072
|
-
*/
|
|
3073
|
-
sortable?: boolean;
|
|
3074
3019
|
required?: boolean;
|
|
3075
3020
|
readonly?: boolean;
|
|
3076
3021
|
deprecated?: boolean;
|
|
@@ -3191,10 +3136,6 @@ declare namespace Components {
|
|
|
3191
3136
|
* Render as a column in table views. When defined, overrides `hidden`
|
|
3192
3137
|
*/
|
|
3193
3138
|
show_in_table?: boolean;
|
|
3194
|
-
/**
|
|
3195
|
-
* Allow sorting by this attribute in table views if `show_in_table` is true
|
|
3196
|
-
*/
|
|
3197
|
-
sortable?: boolean;
|
|
3198
3139
|
required?: boolean;
|
|
3199
3140
|
readonly?: boolean;
|
|
3200
3141
|
deprecated?: boolean;
|
|
@@ -3323,10 +3264,6 @@ declare namespace Components {
|
|
|
3323
3264
|
* Render as a column in table views. When defined, overrides `hidden`
|
|
3324
3265
|
*/
|
|
3325
3266
|
show_in_table?: boolean;
|
|
3326
|
-
/**
|
|
3327
|
-
* Allow sorting by this attribute in table views if `show_in_table` is true
|
|
3328
|
-
*/
|
|
3329
|
-
sortable?: boolean;
|
|
3330
3267
|
required?: boolean;
|
|
3331
3268
|
readonly?: boolean;
|
|
3332
3269
|
deprecated?: boolean;
|
|
@@ -3447,10 +3384,6 @@ declare namespace Components {
|
|
|
3447
3384
|
* Render as a column in table views. When defined, overrides `hidden`
|
|
3448
3385
|
*/
|
|
3449
3386
|
show_in_table?: boolean;
|
|
3450
|
-
/**
|
|
3451
|
-
* Allow sorting by this attribute in table views if `show_in_table` is true
|
|
3452
|
-
*/
|
|
3453
|
-
sortable?: boolean;
|
|
3454
3387
|
required?: boolean;
|
|
3455
3388
|
readonly?: boolean;
|
|
3456
3389
|
deprecated?: boolean;
|
|
@@ -3587,10 +3520,6 @@ declare namespace Components {
|
|
|
3587
3520
|
* Render as a column in table views. When defined, overrides `hidden`
|
|
3588
3521
|
*/
|
|
3589
3522
|
show_in_table?: boolean;
|
|
3590
|
-
/**
|
|
3591
|
-
* Allow sorting by this attribute in table views if `show_in_table` is true
|
|
3592
|
-
*/
|
|
3593
|
-
sortable?: boolean;
|
|
3594
3523
|
required?: boolean;
|
|
3595
3524
|
readonly?: boolean;
|
|
3596
3525
|
deprecated?: boolean;
|
|
@@ -3712,10 +3641,6 @@ declare namespace Components {
|
|
|
3712
3641
|
* Render as a column in table views. When defined, overrides `hidden`
|
|
3713
3642
|
*/
|
|
3714
3643
|
show_in_table?: boolean;
|
|
3715
|
-
/**
|
|
3716
|
-
* Allow sorting by this attribute in table views if `show_in_table` is true
|
|
3717
|
-
*/
|
|
3718
|
-
sortable?: boolean;
|
|
3719
3644
|
required?: boolean;
|
|
3720
3645
|
readonly?: boolean;
|
|
3721
3646
|
deprecated?: boolean;
|
|
@@ -3821,130 +3746,6 @@ declare namespace Components {
|
|
|
3821
3746
|
};
|
|
3822
3747
|
type?: "ordered_list";
|
|
3823
3748
|
}
|
|
3824
|
-
/**
|
|
3825
|
-
* Shared Partner Organisations
|
|
3826
|
-
*/
|
|
3827
|
-
export interface PartnerOrganisationAttribute {
|
|
3828
|
-
name: string;
|
|
3829
|
-
label: string;
|
|
3830
|
-
placeholder?: string;
|
|
3831
|
-
/**
|
|
3832
|
-
* Do not render attribute in entity views
|
|
3833
|
-
*/
|
|
3834
|
-
hidden?: boolean;
|
|
3835
|
-
/**
|
|
3836
|
-
* Render as a column in table views. When defined, overrides `hidden`
|
|
3837
|
-
*/
|
|
3838
|
-
show_in_table?: boolean;
|
|
3839
|
-
/**
|
|
3840
|
-
* Allow sorting by this attribute in table views if `show_in_table` is true
|
|
3841
|
-
*/
|
|
3842
|
-
sortable?: boolean;
|
|
3843
|
-
required?: boolean;
|
|
3844
|
-
readonly?: boolean;
|
|
3845
|
-
deprecated?: boolean;
|
|
3846
|
-
default_value?: any;
|
|
3847
|
-
/**
|
|
3848
|
-
* Which group the attribute should appear in. Accepts group ID or group name
|
|
3849
|
-
*/
|
|
3850
|
-
group?: string;
|
|
3851
|
-
/**
|
|
3852
|
-
* Attribute sort order (ascending) in group
|
|
3853
|
-
* example:
|
|
3854
|
-
* 0
|
|
3855
|
-
*/
|
|
3856
|
-
order?: number;
|
|
3857
|
-
/**
|
|
3858
|
-
* example:
|
|
3859
|
-
* full_width
|
|
3860
|
-
*/
|
|
3861
|
-
layout?: string;
|
|
3862
|
-
/**
|
|
3863
|
-
* When set to true, will hide the label of the field.
|
|
3864
|
-
*/
|
|
3865
|
-
hide_label?: boolean;
|
|
3866
|
-
/**
|
|
3867
|
-
* Code name of the icon to used to represent this attribute.
|
|
3868
|
-
* The value must be a valid @epilot/base-elements Icon name
|
|
3869
|
-
*
|
|
3870
|
-
*/
|
|
3871
|
-
icon?: string;
|
|
3872
|
-
/**
|
|
3873
|
-
* Defines the conditional rendering expression for showing this field.
|
|
3874
|
-
* When a valid expression is parsed, their evaluation defines the visibility of this attribute.
|
|
3875
|
-
* Note: Empty or invalid expression have no effect on the field visibility.
|
|
3876
|
-
*
|
|
3877
|
-
*/
|
|
3878
|
-
render_condition?: string;
|
|
3879
|
-
_purpose?: ClassificationId /* uuid */[];
|
|
3880
|
-
/**
|
|
3881
|
-
* A set of constraints applicable to the attribute.
|
|
3882
|
-
* These constraints should and will be enforced by the attribute renderer.
|
|
3883
|
-
*
|
|
3884
|
-
* example:
|
|
3885
|
-
* {
|
|
3886
|
-
* "disablePast": true
|
|
3887
|
-
* }
|
|
3888
|
-
*/
|
|
3889
|
-
constraints?: {
|
|
3890
|
-
[key: string]: any;
|
|
3891
|
-
};
|
|
3892
|
-
/**
|
|
3893
|
-
* This attribute should only be active when the feature flag is enabled
|
|
3894
|
-
* example:
|
|
3895
|
-
* FF_MY_FEATURE_FLAG
|
|
3896
|
-
*/
|
|
3897
|
-
feature_flag?: string;
|
|
3898
|
-
/**
|
|
3899
|
-
* This attribute should only be active when the setting is enabled
|
|
3900
|
-
* example:
|
|
3901
|
-
* MY_SETTING
|
|
3902
|
-
*/
|
|
3903
|
-
setting_flag?: string;
|
|
3904
|
-
value_formatter?: string;
|
|
3905
|
-
preview_value_formatter?: string;
|
|
3906
|
-
/**
|
|
3907
|
-
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
3908
|
-
*/
|
|
3909
|
-
entity_builder_disable_edit?: boolean;
|
|
3910
|
-
/**
|
|
3911
|
-
* Setting to `true` prevents the attribute from being modified / deleted
|
|
3912
|
-
*/
|
|
3913
|
-
protected?: boolean;
|
|
3914
|
-
/**
|
|
3915
|
-
* A set of configurations meant to document and assist the user in filling the attribute.
|
|
3916
|
-
*/
|
|
3917
|
-
info_helpers?: {
|
|
3918
|
-
/**
|
|
3919
|
-
* The text to be displayed in the attribute hint helper.
|
|
3920
|
-
* When specified it overrides the `hint_text_key` configuration.
|
|
3921
|
-
*
|
|
3922
|
-
*/
|
|
3923
|
-
hint_text?: string;
|
|
3924
|
-
/**
|
|
3925
|
-
* The key of the hint text to be displayed in the attribute hint helper.
|
|
3926
|
-
* The key should be a valid i18n key.
|
|
3927
|
-
*
|
|
3928
|
-
*/
|
|
3929
|
-
hint_text_key?: string;
|
|
3930
|
-
/**
|
|
3931
|
-
* The name of the custom component to be used as the hint helper.
|
|
3932
|
-
* The component should be registered in the `@epilot360/entity-ui` on the index of the components directory.
|
|
3933
|
-
* When specified it overrides the `hint_text` or `hint_text_key` configuration.
|
|
3934
|
-
*
|
|
3935
|
-
*/
|
|
3936
|
-
hint_custom_component?: string;
|
|
3937
|
-
/**
|
|
3938
|
-
* The placement of the hint tooltip.
|
|
3939
|
-
* The value should be a valid `@mui/core` tooltip placement.
|
|
3940
|
-
*
|
|
3941
|
-
* example:
|
|
3942
|
-
* top
|
|
3943
|
-
*/
|
|
3944
|
-
hint_tooltip_placement?: string;
|
|
3945
|
-
};
|
|
3946
|
-
type?: "partner_organisation";
|
|
3947
|
-
}
|
|
3948
3749
|
/**
|
|
3949
3750
|
* Partner Status
|
|
3950
3751
|
*/
|
|
@@ -3960,10 +3761,6 @@ declare namespace Components {
|
|
|
3960
3761
|
* Render as a column in table views. When defined, overrides `hidden`
|
|
3961
3762
|
*/
|
|
3962
3763
|
show_in_table?: boolean;
|
|
3963
|
-
/**
|
|
3964
|
-
* Allow sorting by this attribute in table views if `show_in_table` is true
|
|
3965
|
-
*/
|
|
3966
|
-
sortable?: boolean;
|
|
3967
3764
|
required?: boolean;
|
|
3968
3765
|
readonly?: boolean;
|
|
3969
3766
|
deprecated?: boolean;
|
|
@@ -4084,10 +3881,6 @@ declare namespace Components {
|
|
|
4084
3881
|
* Render as a column in table views. When defined, overrides `hidden`
|
|
4085
3882
|
*/
|
|
4086
3883
|
show_in_table?: boolean;
|
|
4087
|
-
/**
|
|
4088
|
-
* Allow sorting by this attribute in table views if `show_in_table` is true
|
|
4089
|
-
*/
|
|
4090
|
-
sortable?: boolean;
|
|
4091
3884
|
required?: boolean;
|
|
4092
3885
|
readonly?: boolean;
|
|
4093
3886
|
deprecated?: boolean;
|
|
@@ -4213,10 +4006,6 @@ declare namespace Components {
|
|
|
4213
4006
|
* Render as a column in table views. When defined, overrides `hidden`
|
|
4214
4007
|
*/
|
|
4215
4008
|
show_in_table?: boolean;
|
|
4216
|
-
/**
|
|
4217
|
-
* Allow sorting by this attribute in table views if `show_in_table` is true
|
|
4218
|
-
*/
|
|
4219
|
-
sortable?: boolean;
|
|
4220
4009
|
required?: boolean;
|
|
4221
4010
|
readonly?: boolean;
|
|
4222
4011
|
deprecated?: boolean;
|
|
@@ -4356,10 +4145,6 @@ declare namespace Components {
|
|
|
4356
4145
|
* Render as a column in table views. When defined, overrides `hidden`
|
|
4357
4146
|
*/
|
|
4358
4147
|
show_in_table?: boolean;
|
|
4359
|
-
/**
|
|
4360
|
-
* Allow sorting by this attribute in table views if `show_in_table` is true
|
|
4361
|
-
*/
|
|
4362
|
-
sortable?: boolean;
|
|
4363
4148
|
required?: boolean;
|
|
4364
4149
|
readonly?: boolean;
|
|
4365
4150
|
deprecated?: boolean;
|
|
@@ -4717,10 +4502,6 @@ declare namespace Components {
|
|
|
4717
4502
|
* Render as a column in table views. When defined, overrides `hidden`
|
|
4718
4503
|
*/
|
|
4719
4504
|
show_in_table?: boolean;
|
|
4720
|
-
/**
|
|
4721
|
-
* Allow sorting by this attribute in table views if `show_in_table` is true
|
|
4722
|
-
*/
|
|
4723
|
-
sortable?: boolean;
|
|
4724
4505
|
required?: boolean;
|
|
4725
4506
|
readonly?: boolean;
|
|
4726
4507
|
deprecated?: boolean;
|
|
@@ -4867,10 +4648,6 @@ declare namespace Components {
|
|
|
4867
4648
|
* true
|
|
4868
4649
|
*/
|
|
4869
4650
|
shared?: boolean;
|
|
4870
|
-
/**
|
|
4871
|
-
* List of users (IDs) that have favorited the view
|
|
4872
|
-
*/
|
|
4873
|
-
isFavoritedBy?: string[];
|
|
4874
4651
|
created_by: {
|
|
4875
4652
|
/**
|
|
4876
4653
|
* example:
|
|
@@ -4940,10 +4717,6 @@ declare namespace Components {
|
|
|
4940
4717
|
* true
|
|
4941
4718
|
*/
|
|
4942
4719
|
shared?: boolean;
|
|
4943
|
-
/**
|
|
4944
|
-
* List of users (IDs) that have favorited the view
|
|
4945
|
-
*/
|
|
4946
|
-
isFavoritedBy?: string[];
|
|
4947
4720
|
created_by: {
|
|
4948
4721
|
/**
|
|
4949
4722
|
* example:
|
|
@@ -5014,10 +4787,6 @@ declare namespace Components {
|
|
|
5014
4787
|
* Render as a column in table views. When defined, overrides `hidden`
|
|
5015
4788
|
*/
|
|
5016
4789
|
show_in_table?: boolean;
|
|
5017
|
-
/**
|
|
5018
|
-
* Allow sorting by this attribute in table views if `show_in_table` is true
|
|
5019
|
-
*/
|
|
5020
|
-
sortable?: boolean;
|
|
5021
4790
|
required?: boolean;
|
|
5022
4791
|
readonly?: boolean;
|
|
5023
4792
|
deprecated?: boolean;
|
|
@@ -5146,10 +4915,6 @@ declare namespace Components {
|
|
|
5146
4915
|
* Render as a column in table views. When defined, overrides `hidden`
|
|
5147
4916
|
*/
|
|
5148
4917
|
show_in_table?: boolean;
|
|
5149
|
-
/**
|
|
5150
|
-
* Allow sorting by this attribute in table views if `show_in_table` is true
|
|
5151
|
-
*/
|
|
5152
|
-
sortable?: boolean;
|
|
5153
4918
|
required?: boolean;
|
|
5154
4919
|
readonly?: boolean;
|
|
5155
4920
|
deprecated?: boolean;
|
|
@@ -5277,10 +5042,6 @@ declare namespace Components {
|
|
|
5277
5042
|
* Render as a column in table views. When defined, overrides `hidden`
|
|
5278
5043
|
*/
|
|
5279
5044
|
show_in_table?: boolean;
|
|
5280
|
-
/**
|
|
5281
|
-
* Allow sorting by this attribute in table views if `show_in_table` is true
|
|
5282
|
-
*/
|
|
5283
|
-
sortable?: boolean;
|
|
5284
5045
|
required?: boolean;
|
|
5285
5046
|
readonly?: boolean;
|
|
5286
5047
|
deprecated?: boolean;
|
|
@@ -5471,10 +5232,6 @@ declare namespace Components {
|
|
|
5471
5232
|
* Render as a column in table views. When defined, overrides `hidden`
|
|
5472
5233
|
*/
|
|
5473
5234
|
show_in_table?: boolean;
|
|
5474
|
-
/**
|
|
5475
|
-
* Allow sorting by this attribute in table views if `show_in_table` is true
|
|
5476
|
-
*/
|
|
5477
|
-
sortable?: boolean;
|
|
5478
5235
|
required?: boolean;
|
|
5479
5236
|
readonly?: boolean;
|
|
5480
5237
|
deprecated?: boolean;
|
|
@@ -5636,10 +5393,6 @@ declare namespace Components {
|
|
|
5636
5393
|
* Render as a column in table views. When defined, overrides `hidden`
|
|
5637
5394
|
*/
|
|
5638
5395
|
show_in_table?: boolean;
|
|
5639
|
-
/**
|
|
5640
|
-
* Allow sorting by this attribute in table views if `show_in_table` is true
|
|
5641
|
-
*/
|
|
5642
|
-
sortable?: boolean;
|
|
5643
5396
|
required?: boolean;
|
|
5644
5397
|
readonly?: boolean;
|
|
5645
5398
|
deprecated?: boolean;
|
|
@@ -5761,10 +5514,6 @@ declare namespace Components {
|
|
|
5761
5514
|
* Render as a column in table views. When defined, overrides `hidden`
|
|
5762
5515
|
*/
|
|
5763
5516
|
show_in_table?: boolean;
|
|
5764
|
-
/**
|
|
5765
|
-
* Allow sorting by this attribute in table views if `show_in_table` is true
|
|
5766
|
-
*/
|
|
5767
|
-
sortable?: boolean;
|
|
5768
5517
|
required?: boolean;
|
|
5769
5518
|
readonly?: boolean;
|
|
5770
5519
|
deprecated?: boolean;
|
|
@@ -5876,12 +5625,6 @@ declare namespace Components {
|
|
|
5876
5625
|
declare namespace Paths {
|
|
5877
5626
|
namespace AddRelations {
|
|
5878
5627
|
namespace Parameters {
|
|
5879
|
-
export type ActivityId = /**
|
|
5880
|
-
* See https://github.com/ulid/spec
|
|
5881
|
-
* example:
|
|
5882
|
-
* 01F130Q52Q6MWSNS8N2AVXV4JN
|
|
5883
|
-
*/
|
|
5884
|
-
Components.Schemas.ActivityId /* ulid */;
|
|
5885
5628
|
export type Async = boolean;
|
|
5886
5629
|
export type Id = Components.Schemas.EntityId /* uuid */;
|
|
5887
5630
|
export type Slug = /**
|
|
@@ -5897,7 +5640,6 @@ declare namespace Paths {
|
|
|
5897
5640
|
}
|
|
5898
5641
|
export interface QueryParameters {
|
|
5899
5642
|
async?: Parameters.Async;
|
|
5900
|
-
activity_id?: Parameters.ActivityId;
|
|
5901
5643
|
}
|
|
5902
5644
|
export type RequestBody = Components.Schemas.RelationItem[];
|
|
5903
5645
|
namespace Responses {
|
|
@@ -6119,12 +5861,6 @@ declare namespace Paths {
|
|
|
6119
5861
|
}
|
|
6120
5862
|
namespace DeleteRelation {
|
|
6121
5863
|
namespace Parameters {
|
|
6122
|
-
export type ActivityId = /**
|
|
6123
|
-
* See https://github.com/ulid/spec
|
|
6124
|
-
* example:
|
|
6125
|
-
* 01F130Q52Q6MWSNS8N2AVXV4JN
|
|
6126
|
-
*/
|
|
6127
|
-
Components.Schemas.ActivityId /* ulid */;
|
|
6128
5864
|
export type Async = boolean;
|
|
6129
5865
|
export type Attribute = string;
|
|
6130
5866
|
export type EntityId = string;
|
|
@@ -6144,7 +5880,6 @@ declare namespace Paths {
|
|
|
6144
5880
|
}
|
|
6145
5881
|
export interface QueryParameters {
|
|
6146
5882
|
async?: Parameters.Async;
|
|
6147
|
-
activity_id?: Parameters.ActivityId;
|
|
6148
5883
|
}
|
|
6149
5884
|
namespace Responses {
|
|
6150
5885
|
export interface $204 {
|
|
@@ -6339,7 +6074,6 @@ declare namespace Paths {
|
|
|
6339
6074
|
export type Before = string; // date-time
|
|
6340
6075
|
export type From = number;
|
|
6341
6076
|
export type Id = Components.Schemas.EntityId /* uuid */;
|
|
6342
|
-
export type IncludeRelations = boolean;
|
|
6343
6077
|
export type Size = number;
|
|
6344
6078
|
export type Slug = /**
|
|
6345
6079
|
* URL-friendly identifier for the entity schema
|
|
@@ -6367,7 +6101,6 @@ declare namespace Paths {
|
|
|
6367
6101
|
* SyncActivity
|
|
6368
6102
|
*/
|
|
6369
6103
|
Parameters.Type;
|
|
6370
|
-
include_relations?: Parameters.IncludeRelations;
|
|
6371
6104
|
}
|
|
6372
6105
|
namespace Responses {
|
|
6373
6106
|
export interface $200 {
|
|
@@ -6380,24 +6113,6 @@ declare namespace Paths {
|
|
|
6380
6113
|
}
|
|
6381
6114
|
}
|
|
6382
6115
|
}
|
|
6383
|
-
namespace GetRelatedEntitiesCount {
|
|
6384
|
-
namespace Parameters {
|
|
6385
|
-
export type Id = Components.Schemas.EntityId /* uuid */;
|
|
6386
|
-
export type Slug = /**
|
|
6387
|
-
* URL-friendly identifier for the entity schema
|
|
6388
|
-
* example:
|
|
6389
|
-
* contact
|
|
6390
|
-
*/
|
|
6391
|
-
Components.Schemas.EntitySlug;
|
|
6392
|
-
}
|
|
6393
|
-
export interface PathParameters {
|
|
6394
|
-
slug: Parameters.Slug;
|
|
6395
|
-
id: Parameters.Id;
|
|
6396
|
-
}
|
|
6397
|
-
namespace Responses {
|
|
6398
|
-
export type $200 = Components.Schemas.GetRelatedEntitiesCount;
|
|
6399
|
-
}
|
|
6400
|
-
}
|
|
6401
6116
|
namespace GetRelations {
|
|
6402
6117
|
namespace Parameters {
|
|
6403
6118
|
export type Hydrate = boolean;
|
|
@@ -6566,13 +6281,6 @@ declare namespace Paths {
|
|
|
6566
6281
|
}
|
|
6567
6282
|
}
|
|
6568
6283
|
}
|
|
6569
|
-
namespace ListFavoriteViewsForUser {
|
|
6570
|
-
namespace Responses {
|
|
6571
|
-
export interface $200 {
|
|
6572
|
-
results?: /* A saved entity view */ Components.Schemas.SavedViewItem[];
|
|
6573
|
-
}
|
|
6574
|
-
}
|
|
6575
|
-
}
|
|
6576
6284
|
namespace ListSavedViews {
|
|
6577
6285
|
namespace Responses {
|
|
6578
6286
|
export interface $200 {
|
|
@@ -6932,12 +6640,6 @@ declare namespace Paths {
|
|
|
6932
6640
|
}
|
|
6933
6641
|
namespace UpdateRelation {
|
|
6934
6642
|
namespace Parameters {
|
|
6935
|
-
export type ActivityId = /**
|
|
6936
|
-
* See https://github.com/ulid/spec
|
|
6937
|
-
* example:
|
|
6938
|
-
* 01F130Q52Q6MWSNS8N2AVXV4JN
|
|
6939
|
-
*/
|
|
6940
|
-
Components.Schemas.ActivityId /* ulid */;
|
|
6941
6643
|
export type Async = boolean;
|
|
6942
6644
|
export type Attribute = string;
|
|
6943
6645
|
export type EntityId = string;
|
|
@@ -6957,7 +6659,6 @@ declare namespace Paths {
|
|
|
6957
6659
|
}
|
|
6958
6660
|
export interface QueryParameters {
|
|
6959
6661
|
async?: Parameters.Async;
|
|
6960
|
-
activity_id?: Parameters.ActivityId;
|
|
6961
6662
|
}
|
|
6962
6663
|
export interface RequestBody {
|
|
6963
6664
|
_tags?: string[];
|
|
@@ -7594,17 +7295,6 @@ export interface OperationMethods {
|
|
|
7594
7295
|
data?: any,
|
|
7595
7296
|
config?: AxiosRequestConfig
|
|
7596
7297
|
): OperationResponse<Paths.GetRelationsV2.Responses.$200>
|
|
7597
|
-
/**
|
|
7598
|
-
* getRelatedEntitiesCount - getRelatedEntitiesCount
|
|
7599
|
-
*
|
|
7600
|
-
* Returns the amount of unique related entities for an entity - includes direct and reverse relations.
|
|
7601
|
-
*
|
|
7602
|
-
*/
|
|
7603
|
-
'getRelatedEntitiesCount'(
|
|
7604
|
-
parameters?: Parameters<Paths.GetRelatedEntitiesCount.PathParameters> | null,
|
|
7605
|
-
data?: any,
|
|
7606
|
-
config?: AxiosRequestConfig
|
|
7607
|
-
): OperationResponse<Paths.GetRelatedEntitiesCount.Responses.$200>
|
|
7608
7298
|
/**
|
|
7609
7299
|
* updateRelation - updateRelation
|
|
7610
7300
|
*
|
|
@@ -7698,16 +7388,6 @@ export interface OperationMethods {
|
|
|
7698
7388
|
data?: any,
|
|
7699
7389
|
config?: AxiosRequestConfig
|
|
7700
7390
|
): OperationResponse<Paths.DeleteSavedView.Responses.$200>
|
|
7701
|
-
/**
|
|
7702
|
-
* listFavoriteViewsForUser - listFavoriteViewsForUser
|
|
7703
|
-
*
|
|
7704
|
-
* Get the Favorite Saved Views for user based on the schema
|
|
7705
|
-
*/
|
|
7706
|
-
'listFavoriteViewsForUser'(
|
|
7707
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
7708
|
-
data?: any,
|
|
7709
|
-
config?: AxiosRequestConfig
|
|
7710
|
-
): OperationResponse<Paths.ListFavoriteViewsForUser.Responses.$200>
|
|
7711
7391
|
/**
|
|
7712
7392
|
* listTaxonomies - listTaxonomies
|
|
7713
7393
|
*
|
|
@@ -8248,19 +7928,6 @@ export interface PathsDictionary {
|
|
|
8248
7928
|
config?: AxiosRequestConfig
|
|
8249
7929
|
): OperationResponse<Paths.GetRelationsV2.Responses.$200>
|
|
8250
7930
|
}
|
|
8251
|
-
['/v2/entity/{slug}/{id}/relations/count']: {
|
|
8252
|
-
/**
|
|
8253
|
-
* getRelatedEntitiesCount - getRelatedEntitiesCount
|
|
8254
|
-
*
|
|
8255
|
-
* Returns the amount of unique related entities for an entity - includes direct and reverse relations.
|
|
8256
|
-
*
|
|
8257
|
-
*/
|
|
8258
|
-
'get'(
|
|
8259
|
-
parameters?: Parameters<Paths.GetRelatedEntitiesCount.PathParameters> | null,
|
|
8260
|
-
data?: any,
|
|
8261
|
-
config?: AxiosRequestConfig
|
|
8262
|
-
): OperationResponse<Paths.GetRelatedEntitiesCount.Responses.$200>
|
|
8263
|
-
}
|
|
8264
7931
|
['/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}']: {
|
|
8265
7932
|
/**
|
|
8266
7933
|
* updateRelation - updateRelation
|
|
@@ -8366,18 +8033,6 @@ export interface PathsDictionary {
|
|
|
8366
8033
|
config?: AxiosRequestConfig
|
|
8367
8034
|
): OperationResponse<Paths.DeleteSavedView.Responses.$200>
|
|
8368
8035
|
}
|
|
8369
|
-
['/v1/entity/views/favorites']: {
|
|
8370
|
-
/**
|
|
8371
|
-
* listFavoriteViewsForUser - listFavoriteViewsForUser
|
|
8372
|
-
*
|
|
8373
|
-
* Get the Favorite Saved Views for user based on the schema
|
|
8374
|
-
*/
|
|
8375
|
-
'get'(
|
|
8376
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
8377
|
-
data?: any,
|
|
8378
|
-
config?: AxiosRequestConfig
|
|
8379
|
-
): OperationResponse<Paths.ListFavoriteViewsForUser.Responses.$200>
|
|
8380
|
-
}
|
|
8381
8036
|
['/v1/entity/listTaxonomies']: {
|
|
8382
8037
|
/**
|
|
8383
8038
|
* listTaxonomies - listTaxonomies
|
package/dist/openapi.json
CHANGED
|
@@ -1322,15 +1322,6 @@
|
|
|
1322
1322
|
"type": "boolean",
|
|
1323
1323
|
"default": false
|
|
1324
1324
|
}
|
|
1325
|
-
},
|
|
1326
|
-
{
|
|
1327
|
-
"in": "query",
|
|
1328
|
-
"name": "activity_id",
|
|
1329
|
-
"description": "Activity to include in event feed",
|
|
1330
|
-
"required": false,
|
|
1331
|
-
"schema": {
|
|
1332
|
-
"$ref": "#/components/schemas/ActivityId"
|
|
1333
|
-
}
|
|
1334
1325
|
}
|
|
1335
1326
|
],
|
|
1336
1327
|
"requestBody": {
|
|
@@ -1480,48 +1471,6 @@
|
|
|
1480
1471
|
}
|
|
1481
1472
|
}
|
|
1482
1473
|
},
|
|
1483
|
-
"/v2/entity/{slug}/{id}/relations/count": {
|
|
1484
|
-
"get": {
|
|
1485
|
-
"operationId": "getRelatedEntitiesCount",
|
|
1486
|
-
"summary": "getRelatedEntitiesCount",
|
|
1487
|
-
"description": "Returns the amount of unique related entities for an entity - includes direct and reverse relations.\n",
|
|
1488
|
-
"tags": [
|
|
1489
|
-
"Relations"
|
|
1490
|
-
],
|
|
1491
|
-
"parameters": [
|
|
1492
|
-
{
|
|
1493
|
-
"in": "path",
|
|
1494
|
-
"name": "slug",
|
|
1495
|
-
"description": "Entity Type",
|
|
1496
|
-
"required": true,
|
|
1497
|
-
"schema": {
|
|
1498
|
-
"$ref": "#/components/schemas/EntitySlug"
|
|
1499
|
-
}
|
|
1500
|
-
},
|
|
1501
|
-
{
|
|
1502
|
-
"in": "path",
|
|
1503
|
-
"name": "id",
|
|
1504
|
-
"description": "Entity id",
|
|
1505
|
-
"required": true,
|
|
1506
|
-
"schema": {
|
|
1507
|
-
"$ref": "#/components/schemas/EntityId"
|
|
1508
|
-
}
|
|
1509
|
-
}
|
|
1510
|
-
],
|
|
1511
|
-
"responses": {
|
|
1512
|
-
"200": {
|
|
1513
|
-
"description": "Success",
|
|
1514
|
-
"content": {
|
|
1515
|
-
"application/json": {
|
|
1516
|
-
"schema": {
|
|
1517
|
-
"$ref": "#/components/schemas/GetRelatedEntitiesCount"
|
|
1518
|
-
}
|
|
1519
|
-
}
|
|
1520
|
-
}
|
|
1521
|
-
}
|
|
1522
|
-
}
|
|
1523
|
-
}
|
|
1524
|
-
},
|
|
1525
1474
|
"/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}": {
|
|
1526
1475
|
"put": {
|
|
1527
1476
|
"operationId": "updateRelation",
|
|
@@ -1576,15 +1525,6 @@
|
|
|
1576
1525
|
"type": "boolean",
|
|
1577
1526
|
"default": false
|
|
1578
1527
|
}
|
|
1579
|
-
},
|
|
1580
|
-
{
|
|
1581
|
-
"in": "query",
|
|
1582
|
-
"name": "activity_id",
|
|
1583
|
-
"description": "Activity to include in event feed",
|
|
1584
|
-
"required": false,
|
|
1585
|
-
"schema": {
|
|
1586
|
-
"$ref": "#/components/schemas/ActivityId"
|
|
1587
|
-
}
|
|
1588
1528
|
}
|
|
1589
1529
|
],
|
|
1590
1530
|
"requestBody": {
|
|
@@ -1676,15 +1616,6 @@
|
|
|
1676
1616
|
"type": "boolean",
|
|
1677
1617
|
"default": false
|
|
1678
1618
|
}
|
|
1679
|
-
},
|
|
1680
|
-
{
|
|
1681
|
-
"in": "query",
|
|
1682
|
-
"name": "activity_id",
|
|
1683
|
-
"description": "Activity to include in event feed",
|
|
1684
|
-
"required": false,
|
|
1685
|
-
"schema": {
|
|
1686
|
-
"$ref": "#/components/schemas/ActivityId"
|
|
1687
|
-
}
|
|
1688
1619
|
}
|
|
1689
1620
|
],
|
|
1690
1621
|
"responses": {
|
|
@@ -1941,36 +1872,6 @@
|
|
|
1941
1872
|
}
|
|
1942
1873
|
}
|
|
1943
1874
|
},
|
|
1944
|
-
"/v1/entity/views/favorites": {
|
|
1945
|
-
"get": {
|
|
1946
|
-
"operationId": "listFavoriteViewsForUser",
|
|
1947
|
-
"summary": "listFavoriteViewsForUser",
|
|
1948
|
-
"description": "Get the Favorite Saved Views for user based on the schema",
|
|
1949
|
-
"tags": [
|
|
1950
|
-
"Saved Views"
|
|
1951
|
-
],
|
|
1952
|
-
"responses": {
|
|
1953
|
-
"200": {
|
|
1954
|
-
"description": "Success",
|
|
1955
|
-
"content": {
|
|
1956
|
-
"application/json": {
|
|
1957
|
-
"schema": {
|
|
1958
|
-
"type": "object",
|
|
1959
|
-
"properties": {
|
|
1960
|
-
"results": {
|
|
1961
|
-
"type": "array",
|
|
1962
|
-
"items": {
|
|
1963
|
-
"$ref": "#/components/schemas/SavedViewItem"
|
|
1964
|
-
}
|
|
1965
|
-
}
|
|
1966
|
-
}
|
|
1967
|
-
}
|
|
1968
|
-
}
|
|
1969
|
-
}
|
|
1970
|
-
}
|
|
1971
|
-
}
|
|
1972
|
-
}
|
|
1973
|
-
},
|
|
1974
1875
|
"/v1/entity/listTaxonomies": {
|
|
1975
1876
|
"get": {
|
|
1976
1877
|
"operationId": "listTaxonomies",
|
|
@@ -2666,9 +2567,6 @@
|
|
|
2666
2567
|
},
|
|
2667
2568
|
{
|
|
2668
2569
|
"$ref": "#/components/schemas/PurposeAttribute"
|
|
2669
|
-
},
|
|
2670
|
-
{
|
|
2671
|
-
"$ref": "#/components/schemas/PartnerOrganisationAttribute"
|
|
2672
2570
|
}
|
|
2673
2571
|
]
|
|
2674
2572
|
},
|
|
@@ -2693,11 +2591,6 @@
|
|
|
2693
2591
|
"description": "Render as a column in table views. When defined, overrides `hidden`",
|
|
2694
2592
|
"type": "boolean"
|
|
2695
2593
|
},
|
|
2696
|
-
"sortable": {
|
|
2697
|
-
"description": "Allow sorting by this attribute in table views if `show_in_table` is true",
|
|
2698
|
-
"type": "boolean",
|
|
2699
|
-
"default": true
|
|
2700
|
-
},
|
|
2701
2594
|
"required": {
|
|
2702
2595
|
"type": "boolean",
|
|
2703
2596
|
"default": false
|
|
@@ -3421,25 +3314,6 @@
|
|
|
3421
3314
|
}
|
|
3422
3315
|
]
|
|
3423
3316
|
},
|
|
3424
|
-
"PartnerOrganisationAttribute": {
|
|
3425
|
-
"allOf": [
|
|
3426
|
-
{
|
|
3427
|
-
"$ref": "#/components/schemas/BaseAttribute"
|
|
3428
|
-
},
|
|
3429
|
-
{
|
|
3430
|
-
"type": "object",
|
|
3431
|
-
"description": "Shared Partner Organisations",
|
|
3432
|
-
"properties": {
|
|
3433
|
-
"type": {
|
|
3434
|
-
"type": "string",
|
|
3435
|
-
"enum": [
|
|
3436
|
-
"partner_organisation"
|
|
3437
|
-
]
|
|
3438
|
-
}
|
|
3439
|
-
}
|
|
3440
|
-
}
|
|
3441
|
-
]
|
|
3442
|
-
},
|
|
3443
3317
|
"AddressRelationAttribute": {
|
|
3444
3318
|
"allOf": [
|
|
3445
3319
|
{
|
|
@@ -4394,15 +4268,6 @@
|
|
|
4394
4268
|
}
|
|
4395
4269
|
}
|
|
4396
4270
|
},
|
|
4397
|
-
"GetRelatedEntitiesCount": {
|
|
4398
|
-
"type": "object",
|
|
4399
|
-
"properties": {
|
|
4400
|
-
"hits": {
|
|
4401
|
-
"type": "integer",
|
|
4402
|
-
"example": 1
|
|
4403
|
-
}
|
|
4404
|
-
}
|
|
4405
|
-
},
|
|
4406
4271
|
"RelationEntity": {
|
|
4407
4272
|
"allOf": [
|
|
4408
4273
|
{
|
|
@@ -4874,14 +4739,6 @@
|
|
|
4874
4739
|
"type": "boolean",
|
|
4875
4740
|
"example": true
|
|
4876
4741
|
},
|
|
4877
|
-
"isFavoritedBy": {
|
|
4878
|
-
"description": "List of users (IDs) that have favorited the view",
|
|
4879
|
-
"type": "array",
|
|
4880
|
-
"items": {
|
|
4881
|
-
"type": "string",
|
|
4882
|
-
"example": 11701
|
|
4883
|
-
}
|
|
4884
|
-
},
|
|
4885
4742
|
"created_by": {
|
|
4886
4743
|
"anyOf": [
|
|
4887
4744
|
{
|
package/dist/schema-model.d.ts
CHANGED
|
File without changes
|
package/dist/schema-model.js
CHANGED
|
File without changes
|