@epilot/entity-client 4.15.5 → 4.16.0-rc1
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 -67
- package/dist/openapi.d.ts +1 -368
- package/dist/openapi.json +0 -208
- 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"}
|
|
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
|
|
@@ -437,29 +437,6 @@
|
|
|
437
437
|
{
|
|
438
438
|
"in": "query",
|
|
439
439
|
"name": "include_reverse"
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
"in": "query",
|
|
443
|
-
"name": "from"
|
|
444
|
-
},
|
|
445
|
-
{
|
|
446
|
-
"in": "query",
|
|
447
|
-
"name": "size",
|
|
448
|
-
"required": false
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
"in": "query",
|
|
452
|
-
"name": "include_schemas",
|
|
453
|
-
"required": false,
|
|
454
|
-
"style": "form",
|
|
455
|
-
"explode": false
|
|
456
|
-
},
|
|
457
|
-
{
|
|
458
|
-
"in": "query",
|
|
459
|
-
"name": "exclude_schemas",
|
|
460
|
-
"required": false,
|
|
461
|
-
"style": "form",
|
|
462
|
-
"explode": false
|
|
463
440
|
}
|
|
464
441
|
]
|
|
465
442
|
},
|
|
@@ -480,11 +457,6 @@
|
|
|
480
457
|
"in": "query",
|
|
481
458
|
"name": "async",
|
|
482
459
|
"required": false
|
|
483
|
-
},
|
|
484
|
-
{
|
|
485
|
-
"in": "query",
|
|
486
|
-
"name": "activity_id",
|
|
487
|
-
"required": false
|
|
488
460
|
}
|
|
489
461
|
],
|
|
490
462
|
"requestBody": {
|
|
@@ -535,30 +507,6 @@
|
|
|
535
507
|
]
|
|
536
508
|
}
|
|
537
509
|
},
|
|
538
|
-
"/v2/entity/{slug}/{id}/relations/count": {
|
|
539
|
-
"get": {
|
|
540
|
-
"operationId": "getRelatedEntitiesCount",
|
|
541
|
-
"parameters": [
|
|
542
|
-
{
|
|
543
|
-
"in": "path",
|
|
544
|
-
"name": "slug",
|
|
545
|
-
"required": true
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
"in": "path",
|
|
549
|
-
"name": "id",
|
|
550
|
-
"required": true
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
"in": "query",
|
|
554
|
-
"name": "exclude_schemas",
|
|
555
|
-
"required": false,
|
|
556
|
-
"style": "form",
|
|
557
|
-
"explode": false
|
|
558
|
-
}
|
|
559
|
-
]
|
|
560
|
-
}
|
|
561
|
-
},
|
|
562
510
|
"/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}": {
|
|
563
511
|
"put": {
|
|
564
512
|
"operationId": "updateRelation",
|
|
@@ -587,11 +535,6 @@
|
|
|
587
535
|
"in": "query",
|
|
588
536
|
"name": "async",
|
|
589
537
|
"required": false
|
|
590
|
-
},
|
|
591
|
-
{
|
|
592
|
-
"in": "query",
|
|
593
|
-
"name": "activity_id",
|
|
594
|
-
"required": false
|
|
595
538
|
}
|
|
596
539
|
],
|
|
597
540
|
"requestBody": {
|
|
@@ -627,11 +570,6 @@
|
|
|
627
570
|
"in": "query",
|
|
628
571
|
"name": "async",
|
|
629
572
|
"required": false
|
|
630
|
-
},
|
|
631
|
-
{
|
|
632
|
-
"in": "query",
|
|
633
|
-
"name": "activity_id",
|
|
634
|
-
"required": false
|
|
635
573
|
}
|
|
636
574
|
]
|
|
637
575
|
}
|
|
@@ -728,11 +666,6 @@
|
|
|
728
666
|
]
|
|
729
667
|
}
|
|
730
668
|
},
|
|
731
|
-
"/v1/entity/views/favorites": {
|
|
732
|
-
"get": {
|
|
733
|
-
"operationId": "listFavoriteViewsForUser"
|
|
734
|
-
}
|
|
735
|
-
},
|
|
736
669
|
"/v1/entity/listTaxonomies": {
|
|
737
670
|
"get": {
|
|
738
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,47 +6113,11 @@ declare namespace Paths {
|
|
|
6380
6113
|
}
|
|
6381
6114
|
}
|
|
6382
6115
|
}
|
|
6383
|
-
namespace GetRelatedEntitiesCount {
|
|
6384
|
-
namespace Parameters {
|
|
6385
|
-
export type ExcludeSchemas = string[];
|
|
6386
|
-
export type Id = Components.Schemas.EntityId /* uuid */;
|
|
6387
|
-
export type Slug = /**
|
|
6388
|
-
* URL-friendly identifier for the entity schema
|
|
6389
|
-
* example:
|
|
6390
|
-
* contact
|
|
6391
|
-
*/
|
|
6392
|
-
Components.Schemas.EntitySlug;
|
|
6393
|
-
}
|
|
6394
|
-
export interface PathParameters {
|
|
6395
|
-
slug: Parameters.Slug;
|
|
6396
|
-
id: Parameters.Id;
|
|
6397
|
-
}
|
|
6398
|
-
export interface QueryParameters {
|
|
6399
|
-
exclude_schemas?: Parameters.ExcludeSchemas;
|
|
6400
|
-
}
|
|
6401
|
-
namespace Responses {
|
|
6402
|
-
export type $200 = Components.Schemas.GetRelatedEntitiesCount;
|
|
6403
|
-
}
|
|
6404
|
-
}
|
|
6405
6116
|
namespace GetRelations {
|
|
6406
6117
|
namespace Parameters {
|
|
6407
|
-
export type ExcludeSchemas = /**
|
|
6408
|
-
* URL-friendly identifier for the entity schema
|
|
6409
|
-
* example:
|
|
6410
|
-
* contact
|
|
6411
|
-
*/
|
|
6412
|
-
Components.Schemas.EntitySlug[];
|
|
6413
|
-
export type From = number;
|
|
6414
6118
|
export type Hydrate = boolean;
|
|
6415
6119
|
export type Id = Components.Schemas.EntityId /* uuid */;
|
|
6416
6120
|
export type IncludeReverse = boolean;
|
|
6417
|
-
export type IncludeSchemas = /**
|
|
6418
|
-
* URL-friendly identifier for the entity schema
|
|
6419
|
-
* example:
|
|
6420
|
-
* contact
|
|
6421
|
-
*/
|
|
6422
|
-
Components.Schemas.EntitySlug[];
|
|
6423
|
-
export type Size = number;
|
|
6424
6121
|
export type Slug = /**
|
|
6425
6122
|
* URL-friendly identifier for the entity schema
|
|
6426
6123
|
* example:
|
|
@@ -6435,10 +6132,6 @@ declare namespace Paths {
|
|
|
6435
6132
|
export interface QueryParameters {
|
|
6436
6133
|
hydrate?: Parameters.Hydrate;
|
|
6437
6134
|
include_reverse?: Parameters.IncludeReverse;
|
|
6438
|
-
from?: Parameters.From;
|
|
6439
|
-
size?: Parameters.Size;
|
|
6440
|
-
include_schemas?: Parameters.IncludeSchemas;
|
|
6441
|
-
exclude_schemas?: Parameters.ExcludeSchemas;
|
|
6442
6135
|
}
|
|
6443
6136
|
namespace Responses {
|
|
6444
6137
|
export type $200 = Components.Schemas.GetRelationsResp;
|
|
@@ -6588,13 +6281,6 @@ declare namespace Paths {
|
|
|
6588
6281
|
}
|
|
6589
6282
|
}
|
|
6590
6283
|
}
|
|
6591
|
-
namespace ListFavoriteViewsForUser {
|
|
6592
|
-
namespace Responses {
|
|
6593
|
-
export interface $200 {
|
|
6594
|
-
results?: /* A saved entity view */ Components.Schemas.SavedViewItem[];
|
|
6595
|
-
}
|
|
6596
|
-
}
|
|
6597
|
-
}
|
|
6598
6284
|
namespace ListSavedViews {
|
|
6599
6285
|
namespace Responses {
|
|
6600
6286
|
export interface $200 {
|
|
@@ -6954,12 +6640,6 @@ declare namespace Paths {
|
|
|
6954
6640
|
}
|
|
6955
6641
|
namespace UpdateRelation {
|
|
6956
6642
|
namespace Parameters {
|
|
6957
|
-
export type ActivityId = /**
|
|
6958
|
-
* See https://github.com/ulid/spec
|
|
6959
|
-
* example:
|
|
6960
|
-
* 01F130Q52Q6MWSNS8N2AVXV4JN
|
|
6961
|
-
*/
|
|
6962
|
-
Components.Schemas.ActivityId /* ulid */;
|
|
6963
6643
|
export type Async = boolean;
|
|
6964
6644
|
export type Attribute = string;
|
|
6965
6645
|
export type EntityId = string;
|
|
@@ -6979,7 +6659,6 @@ declare namespace Paths {
|
|
|
6979
6659
|
}
|
|
6980
6660
|
export interface QueryParameters {
|
|
6981
6661
|
async?: Parameters.Async;
|
|
6982
|
-
activity_id?: Parameters.ActivityId;
|
|
6983
6662
|
}
|
|
6984
6663
|
export interface RequestBody {
|
|
6985
6664
|
_tags?: string[];
|
|
@@ -7616,17 +7295,6 @@ export interface OperationMethods {
|
|
|
7616
7295
|
data?: any,
|
|
7617
7296
|
config?: AxiosRequestConfig
|
|
7618
7297
|
): OperationResponse<Paths.GetRelationsV2.Responses.$200>
|
|
7619
|
-
/**
|
|
7620
|
-
* getRelatedEntitiesCount - getRelatedEntitiesCount
|
|
7621
|
-
*
|
|
7622
|
-
* Returns the amount of unique related entities for an entity - includes direct and reverse relations.
|
|
7623
|
-
*
|
|
7624
|
-
*/
|
|
7625
|
-
'getRelatedEntitiesCount'(
|
|
7626
|
-
parameters?: Parameters<Paths.GetRelatedEntitiesCount.PathParameters & Paths.GetRelatedEntitiesCount.QueryParameters> | null,
|
|
7627
|
-
data?: any,
|
|
7628
|
-
config?: AxiosRequestConfig
|
|
7629
|
-
): OperationResponse<Paths.GetRelatedEntitiesCount.Responses.$200>
|
|
7630
7298
|
/**
|
|
7631
7299
|
* updateRelation - updateRelation
|
|
7632
7300
|
*
|
|
@@ -7720,16 +7388,6 @@ export interface OperationMethods {
|
|
|
7720
7388
|
data?: any,
|
|
7721
7389
|
config?: AxiosRequestConfig
|
|
7722
7390
|
): OperationResponse<Paths.DeleteSavedView.Responses.$200>
|
|
7723
|
-
/**
|
|
7724
|
-
* listFavoriteViewsForUser - listFavoriteViewsForUser
|
|
7725
|
-
*
|
|
7726
|
-
* Get the Favorite Saved Views for user based on the schema
|
|
7727
|
-
*/
|
|
7728
|
-
'listFavoriteViewsForUser'(
|
|
7729
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
7730
|
-
data?: any,
|
|
7731
|
-
config?: AxiosRequestConfig
|
|
7732
|
-
): OperationResponse<Paths.ListFavoriteViewsForUser.Responses.$200>
|
|
7733
7391
|
/**
|
|
7734
7392
|
* listTaxonomies - listTaxonomies
|
|
7735
7393
|
*
|
|
@@ -8270,19 +7928,6 @@ export interface PathsDictionary {
|
|
|
8270
7928
|
config?: AxiosRequestConfig
|
|
8271
7929
|
): OperationResponse<Paths.GetRelationsV2.Responses.$200>
|
|
8272
7930
|
}
|
|
8273
|
-
['/v2/entity/{slug}/{id}/relations/count']: {
|
|
8274
|
-
/**
|
|
8275
|
-
* getRelatedEntitiesCount - getRelatedEntitiesCount
|
|
8276
|
-
*
|
|
8277
|
-
* Returns the amount of unique related entities for an entity - includes direct and reverse relations.
|
|
8278
|
-
*
|
|
8279
|
-
*/
|
|
8280
|
-
'get'(
|
|
8281
|
-
parameters?: Parameters<Paths.GetRelatedEntitiesCount.PathParameters & Paths.GetRelatedEntitiesCount.QueryParameters> | null,
|
|
8282
|
-
data?: any,
|
|
8283
|
-
config?: AxiosRequestConfig
|
|
8284
|
-
): OperationResponse<Paths.GetRelatedEntitiesCount.Responses.$200>
|
|
8285
|
-
}
|
|
8286
7931
|
['/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}']: {
|
|
8287
7932
|
/**
|
|
8288
7933
|
* updateRelation - updateRelation
|
|
@@ -8388,18 +8033,6 @@ export interface PathsDictionary {
|
|
|
8388
8033
|
config?: AxiosRequestConfig
|
|
8389
8034
|
): OperationResponse<Paths.DeleteSavedView.Responses.$200>
|
|
8390
8035
|
}
|
|
8391
|
-
['/v1/entity/views/favorites']: {
|
|
8392
|
-
/**
|
|
8393
|
-
* listFavoriteViewsForUser - listFavoriteViewsForUser
|
|
8394
|
-
*
|
|
8395
|
-
* Get the Favorite Saved Views for user based on the schema
|
|
8396
|
-
*/
|
|
8397
|
-
'get'(
|
|
8398
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
8399
|
-
data?: any,
|
|
8400
|
-
config?: AxiosRequestConfig
|
|
8401
|
-
): OperationResponse<Paths.ListFavoriteViewsForUser.Responses.$200>
|
|
8402
|
-
}
|
|
8403
8036
|
['/v1/entity/listTaxonomies']: {
|
|
8404
8037
|
/**
|
|
8405
8038
|
* listTaxonomies - listTaxonomies
|
package/dist/openapi.json
CHANGED
|
@@ -1237,56 +1237,6 @@
|
|
|
1237
1237
|
"default": false,
|
|
1238
1238
|
"type": "boolean"
|
|
1239
1239
|
}
|
|
1240
|
-
},
|
|
1241
|
-
{
|
|
1242
|
-
"in": "query",
|
|
1243
|
-
"name": "from",
|
|
1244
|
-
"description": "Starting page number",
|
|
1245
|
-
"schema": {
|
|
1246
|
-
"type": "integer",
|
|
1247
|
-
"minimum": 0,
|
|
1248
|
-
"default": 0
|
|
1249
|
-
}
|
|
1250
|
-
},
|
|
1251
|
-
{
|
|
1252
|
-
"in": "query",
|
|
1253
|
-
"name": "size",
|
|
1254
|
-
"description": "Number of results to return per page",
|
|
1255
|
-
"required": false,
|
|
1256
|
-
"schema": {
|
|
1257
|
-
"type": "integer",
|
|
1258
|
-
"minimum": 1,
|
|
1259
|
-
"maximum": 1000,
|
|
1260
|
-
"default": 100
|
|
1261
|
-
}
|
|
1262
|
-
},
|
|
1263
|
-
{
|
|
1264
|
-
"in": "query",
|
|
1265
|
-
"name": "include_schemas",
|
|
1266
|
-
"description": "Filter results to only include schemas",
|
|
1267
|
-
"required": false,
|
|
1268
|
-
"style": "form",
|
|
1269
|
-
"explode": false,
|
|
1270
|
-
"schema": {
|
|
1271
|
-
"type": "array",
|
|
1272
|
-
"items": {
|
|
1273
|
-
"$ref": "#/components/schemas/EntitySlug"
|
|
1274
|
-
}
|
|
1275
|
-
}
|
|
1276
|
-
},
|
|
1277
|
-
{
|
|
1278
|
-
"in": "query",
|
|
1279
|
-
"name": "exclude_schemas",
|
|
1280
|
-
"description": "Filter results to exclude schemas",
|
|
1281
|
-
"required": false,
|
|
1282
|
-
"style": "form",
|
|
1283
|
-
"explode": false,
|
|
1284
|
-
"schema": {
|
|
1285
|
-
"type": "array",
|
|
1286
|
-
"items": {
|
|
1287
|
-
"$ref": "#/components/schemas/EntitySlug"
|
|
1288
|
-
}
|
|
1289
|
-
}
|
|
1290
1240
|
}
|
|
1291
1241
|
],
|
|
1292
1242
|
"responses": {
|
|
@@ -1372,15 +1322,6 @@
|
|
|
1372
1322
|
"type": "boolean",
|
|
1373
1323
|
"default": false
|
|
1374
1324
|
}
|
|
1375
|
-
},
|
|
1376
|
-
{
|
|
1377
|
-
"in": "query",
|
|
1378
|
-
"name": "activity_id",
|
|
1379
|
-
"description": "Activity to include in event feed",
|
|
1380
|
-
"required": false,
|
|
1381
|
-
"schema": {
|
|
1382
|
-
"$ref": "#/components/schemas/ActivityId"
|
|
1383
|
-
}
|
|
1384
1325
|
}
|
|
1385
1326
|
],
|
|
1386
1327
|
"requestBody": {
|
|
@@ -1530,63 +1471,6 @@
|
|
|
1530
1471
|
}
|
|
1531
1472
|
}
|
|
1532
1473
|
},
|
|
1533
|
-
"/v2/entity/{slug}/{id}/relations/count": {
|
|
1534
|
-
"get": {
|
|
1535
|
-
"operationId": "getRelatedEntitiesCount",
|
|
1536
|
-
"summary": "getRelatedEntitiesCount",
|
|
1537
|
-
"description": "Returns the amount of unique related entities for an entity - includes direct and reverse relations.\n",
|
|
1538
|
-
"tags": [
|
|
1539
|
-
"Relations"
|
|
1540
|
-
],
|
|
1541
|
-
"parameters": [
|
|
1542
|
-
{
|
|
1543
|
-
"in": "path",
|
|
1544
|
-
"name": "slug",
|
|
1545
|
-
"description": "Entity Schema",
|
|
1546
|
-
"required": true,
|
|
1547
|
-
"schema": {
|
|
1548
|
-
"$ref": "#/components/schemas/EntitySlug"
|
|
1549
|
-
}
|
|
1550
|
-
},
|
|
1551
|
-
{
|
|
1552
|
-
"in": "path",
|
|
1553
|
-
"name": "id",
|
|
1554
|
-
"description": "Entity id",
|
|
1555
|
-
"required": true,
|
|
1556
|
-
"schema": {
|
|
1557
|
-
"$ref": "#/components/schemas/EntityId"
|
|
1558
|
-
}
|
|
1559
|
-
},
|
|
1560
|
-
{
|
|
1561
|
-
"in": "query",
|
|
1562
|
-
"name": "exclude_schemas",
|
|
1563
|
-
"description": "To be excluded from the count by given schemas",
|
|
1564
|
-
"required": false,
|
|
1565
|
-
"style": "form",
|
|
1566
|
-
"example": "<url>/count?exclude_schemas=file,message",
|
|
1567
|
-
"explode": false,
|
|
1568
|
-
"schema": {
|
|
1569
|
-
"type": "array",
|
|
1570
|
-
"items": {
|
|
1571
|
-
"type": "string"
|
|
1572
|
-
}
|
|
1573
|
-
}
|
|
1574
|
-
}
|
|
1575
|
-
],
|
|
1576
|
-
"responses": {
|
|
1577
|
-
"200": {
|
|
1578
|
-
"description": "Success",
|
|
1579
|
-
"content": {
|
|
1580
|
-
"application/json": {
|
|
1581
|
-
"schema": {
|
|
1582
|
-
"$ref": "#/components/schemas/GetRelatedEntitiesCount"
|
|
1583
|
-
}
|
|
1584
|
-
}
|
|
1585
|
-
}
|
|
1586
|
-
}
|
|
1587
|
-
}
|
|
1588
|
-
}
|
|
1589
|
-
},
|
|
1590
1474
|
"/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}": {
|
|
1591
1475
|
"put": {
|
|
1592
1476
|
"operationId": "updateRelation",
|
|
@@ -1641,15 +1525,6 @@
|
|
|
1641
1525
|
"type": "boolean",
|
|
1642
1526
|
"default": false
|
|
1643
1527
|
}
|
|
1644
|
-
},
|
|
1645
|
-
{
|
|
1646
|
-
"in": "query",
|
|
1647
|
-
"name": "activity_id",
|
|
1648
|
-
"description": "Activity to include in event feed",
|
|
1649
|
-
"required": false,
|
|
1650
|
-
"schema": {
|
|
1651
|
-
"$ref": "#/components/schemas/ActivityId"
|
|
1652
|
-
}
|
|
1653
1528
|
}
|
|
1654
1529
|
],
|
|
1655
1530
|
"requestBody": {
|
|
@@ -1741,15 +1616,6 @@
|
|
|
1741
1616
|
"type": "boolean",
|
|
1742
1617
|
"default": false
|
|
1743
1618
|
}
|
|
1744
|
-
},
|
|
1745
|
-
{
|
|
1746
|
-
"in": "query",
|
|
1747
|
-
"name": "activity_id",
|
|
1748
|
-
"description": "Activity to include in event feed",
|
|
1749
|
-
"required": false,
|
|
1750
|
-
"schema": {
|
|
1751
|
-
"$ref": "#/components/schemas/ActivityId"
|
|
1752
|
-
}
|
|
1753
1619
|
}
|
|
1754
1620
|
],
|
|
1755
1621
|
"responses": {
|
|
@@ -2006,36 +1872,6 @@
|
|
|
2006
1872
|
}
|
|
2007
1873
|
}
|
|
2008
1874
|
},
|
|
2009
|
-
"/v1/entity/views/favorites": {
|
|
2010
|
-
"get": {
|
|
2011
|
-
"operationId": "listFavoriteViewsForUser",
|
|
2012
|
-
"summary": "listFavoriteViewsForUser",
|
|
2013
|
-
"description": "Get the Favorite Saved Views for user based on the schema",
|
|
2014
|
-
"tags": [
|
|
2015
|
-
"Saved Views"
|
|
2016
|
-
],
|
|
2017
|
-
"responses": {
|
|
2018
|
-
"200": {
|
|
2019
|
-
"description": "Success",
|
|
2020
|
-
"content": {
|
|
2021
|
-
"application/json": {
|
|
2022
|
-
"schema": {
|
|
2023
|
-
"type": "object",
|
|
2024
|
-
"properties": {
|
|
2025
|
-
"results": {
|
|
2026
|
-
"type": "array",
|
|
2027
|
-
"items": {
|
|
2028
|
-
"$ref": "#/components/schemas/SavedViewItem"
|
|
2029
|
-
}
|
|
2030
|
-
}
|
|
2031
|
-
}
|
|
2032
|
-
}
|
|
2033
|
-
}
|
|
2034
|
-
}
|
|
2035
|
-
}
|
|
2036
|
-
}
|
|
2037
|
-
}
|
|
2038
|
-
},
|
|
2039
1875
|
"/v1/entity/listTaxonomies": {
|
|
2040
1876
|
"get": {
|
|
2041
1877
|
"operationId": "listTaxonomies",
|
|
@@ -2731,9 +2567,6 @@
|
|
|
2731
2567
|
},
|
|
2732
2568
|
{
|
|
2733
2569
|
"$ref": "#/components/schemas/PurposeAttribute"
|
|
2734
|
-
},
|
|
2735
|
-
{
|
|
2736
|
-
"$ref": "#/components/schemas/PartnerOrganisationAttribute"
|
|
2737
2570
|
}
|
|
2738
2571
|
]
|
|
2739
2572
|
},
|
|
@@ -2758,11 +2591,6 @@
|
|
|
2758
2591
|
"description": "Render as a column in table views. When defined, overrides `hidden`",
|
|
2759
2592
|
"type": "boolean"
|
|
2760
2593
|
},
|
|
2761
|
-
"sortable": {
|
|
2762
|
-
"description": "Allow sorting by this attribute in table views if `show_in_table` is true",
|
|
2763
|
-
"type": "boolean",
|
|
2764
|
-
"default": true
|
|
2765
|
-
},
|
|
2766
2594
|
"required": {
|
|
2767
2595
|
"type": "boolean",
|
|
2768
2596
|
"default": false
|
|
@@ -3486,25 +3314,6 @@
|
|
|
3486
3314
|
}
|
|
3487
3315
|
]
|
|
3488
3316
|
},
|
|
3489
|
-
"PartnerOrganisationAttribute": {
|
|
3490
|
-
"allOf": [
|
|
3491
|
-
{
|
|
3492
|
-
"$ref": "#/components/schemas/BaseAttribute"
|
|
3493
|
-
},
|
|
3494
|
-
{
|
|
3495
|
-
"type": "object",
|
|
3496
|
-
"description": "Shared Partner Organisations",
|
|
3497
|
-
"properties": {
|
|
3498
|
-
"type": {
|
|
3499
|
-
"type": "string",
|
|
3500
|
-
"enum": [
|
|
3501
|
-
"partner_organisation"
|
|
3502
|
-
]
|
|
3503
|
-
}
|
|
3504
|
-
}
|
|
3505
|
-
}
|
|
3506
|
-
]
|
|
3507
|
-
},
|
|
3508
3317
|
"AddressRelationAttribute": {
|
|
3509
3318
|
"allOf": [
|
|
3510
3319
|
{
|
|
@@ -4459,15 +4268,6 @@
|
|
|
4459
4268
|
}
|
|
4460
4269
|
}
|
|
4461
4270
|
},
|
|
4462
|
-
"GetRelatedEntitiesCount": {
|
|
4463
|
-
"type": "object",
|
|
4464
|
-
"properties": {
|
|
4465
|
-
"hits": {
|
|
4466
|
-
"type": "integer",
|
|
4467
|
-
"example": 1
|
|
4468
|
-
}
|
|
4469
|
-
}
|
|
4470
|
-
},
|
|
4471
4271
|
"RelationEntity": {
|
|
4472
4272
|
"allOf": [
|
|
4473
4273
|
{
|
|
@@ -4939,14 +4739,6 @@
|
|
|
4939
4739
|
"type": "boolean",
|
|
4940
4740
|
"example": true
|
|
4941
4741
|
},
|
|
4942
|
-
"isFavoritedBy": {
|
|
4943
|
-
"description": "List of users (IDs) that have favorited the view",
|
|
4944
|
-
"type": "array",
|
|
4945
|
-
"items": {
|
|
4946
|
-
"type": "string",
|
|
4947
|
-
"example": 11701
|
|
4948
|
-
}
|
|
4949
|
-
},
|
|
4950
4742
|
"created_by": {
|
|
4951
4743
|
"anyOf": [
|
|
4952
4744
|
{
|
package/dist/schema-model.d.ts
CHANGED
|
File without changes
|
package/dist/schema-model.js
CHANGED
|
File without changes
|