@epilot/entity-client 4.15.6 → 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 -115
- package/dist/openapi.d.ts +1 -442
- package/dist/openapi.json +0 -318
- package/dist/schema-model.d.ts +0 -0
- package/dist/schema-model.js +0 -0
- package/package.json +1 -1
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,173 +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
|
-
"/v3/entity/{slug}/{id}/relations": {
|
|
1591
|
-
"get": {
|
|
1592
|
-
"operationId": "getRelationsV3",
|
|
1593
|
-
"summary": "getRelationsV3",
|
|
1594
|
-
"description": "Returns 1st level direct relations for an entity with pagination.\n\nYou can control whether to return the full entity or just the relation item with the `?hydrate` query param.\n\nReverse relations i.e. entities referring to this entity are included with the `?include_reverse` query param.\n",
|
|
1595
|
-
"tags": [
|
|
1596
|
-
"Relations"
|
|
1597
|
-
],
|
|
1598
|
-
"parameters": [
|
|
1599
|
-
{
|
|
1600
|
-
"in": "path",
|
|
1601
|
-
"name": "slug",
|
|
1602
|
-
"description": "Entity Type",
|
|
1603
|
-
"required": true,
|
|
1604
|
-
"schema": {
|
|
1605
|
-
"$ref": "#/components/schemas/EntitySlug"
|
|
1606
|
-
}
|
|
1607
|
-
},
|
|
1608
|
-
{
|
|
1609
|
-
"in": "path",
|
|
1610
|
-
"name": "id",
|
|
1611
|
-
"description": "Entity id",
|
|
1612
|
-
"required": true,
|
|
1613
|
-
"schema": {
|
|
1614
|
-
"$ref": "#/components/schemas/EntityId"
|
|
1615
|
-
}
|
|
1616
|
-
},
|
|
1617
|
-
{
|
|
1618
|
-
"in": "query",
|
|
1619
|
-
"name": "hydrate",
|
|
1620
|
-
"description": "When true, expand relation items with full blown entities.",
|
|
1621
|
-
"schema": {
|
|
1622
|
-
"default": false,
|
|
1623
|
-
"type": "boolean"
|
|
1624
|
-
}
|
|
1625
|
-
},
|
|
1626
|
-
{
|
|
1627
|
-
"in": "query",
|
|
1628
|
-
"name": "include_reverse",
|
|
1629
|
-
"description": "When true, includes reverse relations in response (other entities pointing to this entity)",
|
|
1630
|
-
"schema": {
|
|
1631
|
-
"default": false,
|
|
1632
|
-
"type": "boolean"
|
|
1633
|
-
}
|
|
1634
|
-
},
|
|
1635
|
-
{
|
|
1636
|
-
"in": "query",
|
|
1637
|
-
"name": "from",
|
|
1638
|
-
"description": "Starting page number",
|
|
1639
|
-
"schema": {
|
|
1640
|
-
"type": "integer",
|
|
1641
|
-
"minimum": 0,
|
|
1642
|
-
"default": 0
|
|
1643
|
-
}
|
|
1644
|
-
},
|
|
1645
|
-
{
|
|
1646
|
-
"in": "query",
|
|
1647
|
-
"name": "size",
|
|
1648
|
-
"description": "Number of results to return per page",
|
|
1649
|
-
"required": false,
|
|
1650
|
-
"schema": {
|
|
1651
|
-
"type": "integer",
|
|
1652
|
-
"minimum": 1,
|
|
1653
|
-
"maximum": 1000,
|
|
1654
|
-
"default": 100
|
|
1655
|
-
}
|
|
1656
|
-
},
|
|
1657
|
-
{
|
|
1658
|
-
"in": "query",
|
|
1659
|
-
"name": "include_schemas",
|
|
1660
|
-
"description": "Filter results to only include schemas",
|
|
1661
|
-
"required": false,
|
|
1662
|
-
"style": "form",
|
|
1663
|
-
"explode": false,
|
|
1664
|
-
"schema": {
|
|
1665
|
-
"type": "array",
|
|
1666
|
-
"items": {
|
|
1667
|
-
"$ref": "#/components/schemas/EntitySlug"
|
|
1668
|
-
}
|
|
1669
|
-
}
|
|
1670
|
-
},
|
|
1671
|
-
{
|
|
1672
|
-
"in": "query",
|
|
1673
|
-
"name": "exclude_schemas",
|
|
1674
|
-
"description": "Filter results to exclude schemas",
|
|
1675
|
-
"required": false,
|
|
1676
|
-
"style": "form",
|
|
1677
|
-
"explode": false,
|
|
1678
|
-
"schema": {
|
|
1679
|
-
"type": "array",
|
|
1680
|
-
"items": {
|
|
1681
|
-
"$ref": "#/components/schemas/EntitySlug"
|
|
1682
|
-
}
|
|
1683
|
-
}
|
|
1684
|
-
}
|
|
1685
|
-
],
|
|
1686
|
-
"responses": {
|
|
1687
|
-
"200": {
|
|
1688
|
-
"description": "Success",
|
|
1689
|
-
"content": {
|
|
1690
|
-
"application/json": {
|
|
1691
|
-
"schema": {
|
|
1692
|
-
"$ref": "#/components/schemas/GetRelationsRespWithPagination"
|
|
1693
|
-
}
|
|
1694
|
-
}
|
|
1695
|
-
}
|
|
1696
|
-
}
|
|
1697
|
-
}
|
|
1698
|
-
}
|
|
1699
|
-
},
|
|
1700
1474
|
"/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}": {
|
|
1701
1475
|
"put": {
|
|
1702
1476
|
"operationId": "updateRelation",
|
|
@@ -1751,15 +1525,6 @@
|
|
|
1751
1525
|
"type": "boolean",
|
|
1752
1526
|
"default": false
|
|
1753
1527
|
}
|
|
1754
|
-
},
|
|
1755
|
-
{
|
|
1756
|
-
"in": "query",
|
|
1757
|
-
"name": "activity_id",
|
|
1758
|
-
"description": "Activity to include in event feed",
|
|
1759
|
-
"required": false,
|
|
1760
|
-
"schema": {
|
|
1761
|
-
"$ref": "#/components/schemas/ActivityId"
|
|
1762
|
-
}
|
|
1763
1528
|
}
|
|
1764
1529
|
],
|
|
1765
1530
|
"requestBody": {
|
|
@@ -1851,15 +1616,6 @@
|
|
|
1851
1616
|
"type": "boolean",
|
|
1852
1617
|
"default": false
|
|
1853
1618
|
}
|
|
1854
|
-
},
|
|
1855
|
-
{
|
|
1856
|
-
"in": "query",
|
|
1857
|
-
"name": "activity_id",
|
|
1858
|
-
"description": "Activity to include in event feed",
|
|
1859
|
-
"required": false,
|
|
1860
|
-
"schema": {
|
|
1861
|
-
"$ref": "#/components/schemas/ActivityId"
|
|
1862
|
-
}
|
|
1863
1619
|
}
|
|
1864
1620
|
],
|
|
1865
1621
|
"responses": {
|
|
@@ -2116,36 +1872,6 @@
|
|
|
2116
1872
|
}
|
|
2117
1873
|
}
|
|
2118
1874
|
},
|
|
2119
|
-
"/v1/entity/views/favorites": {
|
|
2120
|
-
"get": {
|
|
2121
|
-
"operationId": "listFavoriteViewsForUser",
|
|
2122
|
-
"summary": "listFavoriteViewsForUser",
|
|
2123
|
-
"description": "Get the Favorite Saved Views for user based on the schema",
|
|
2124
|
-
"tags": [
|
|
2125
|
-
"Saved Views"
|
|
2126
|
-
],
|
|
2127
|
-
"responses": {
|
|
2128
|
-
"200": {
|
|
2129
|
-
"description": "Success",
|
|
2130
|
-
"content": {
|
|
2131
|
-
"application/json": {
|
|
2132
|
-
"schema": {
|
|
2133
|
-
"type": "object",
|
|
2134
|
-
"properties": {
|
|
2135
|
-
"results": {
|
|
2136
|
-
"type": "array",
|
|
2137
|
-
"items": {
|
|
2138
|
-
"$ref": "#/components/schemas/SavedViewItem"
|
|
2139
|
-
}
|
|
2140
|
-
}
|
|
2141
|
-
}
|
|
2142
|
-
}
|
|
2143
|
-
}
|
|
2144
|
-
}
|
|
2145
|
-
}
|
|
2146
|
-
}
|
|
2147
|
-
}
|
|
2148
|
-
},
|
|
2149
1875
|
"/v1/entity/listTaxonomies": {
|
|
2150
1876
|
"get": {
|
|
2151
1877
|
"operationId": "listTaxonomies",
|
|
@@ -2841,9 +2567,6 @@
|
|
|
2841
2567
|
},
|
|
2842
2568
|
{
|
|
2843
2569
|
"$ref": "#/components/schemas/PurposeAttribute"
|
|
2844
|
-
},
|
|
2845
|
-
{
|
|
2846
|
-
"$ref": "#/components/schemas/PartnerOrganisationAttribute"
|
|
2847
2570
|
}
|
|
2848
2571
|
]
|
|
2849
2572
|
},
|
|
@@ -2868,11 +2591,6 @@
|
|
|
2868
2591
|
"description": "Render as a column in table views. When defined, overrides `hidden`",
|
|
2869
2592
|
"type": "boolean"
|
|
2870
2593
|
},
|
|
2871
|
-
"sortable": {
|
|
2872
|
-
"description": "Allow sorting by this attribute in table views if `show_in_table` is true",
|
|
2873
|
-
"type": "boolean",
|
|
2874
|
-
"default": true
|
|
2875
|
-
},
|
|
2876
2594
|
"required": {
|
|
2877
2595
|
"type": "boolean",
|
|
2878
2596
|
"default": false
|
|
@@ -3596,25 +3314,6 @@
|
|
|
3596
3314
|
}
|
|
3597
3315
|
]
|
|
3598
3316
|
},
|
|
3599
|
-
"PartnerOrganisationAttribute": {
|
|
3600
|
-
"allOf": [
|
|
3601
|
-
{
|
|
3602
|
-
"$ref": "#/components/schemas/BaseAttribute"
|
|
3603
|
-
},
|
|
3604
|
-
{
|
|
3605
|
-
"type": "object",
|
|
3606
|
-
"description": "Shared Partner Organisations",
|
|
3607
|
-
"properties": {
|
|
3608
|
-
"type": {
|
|
3609
|
-
"type": "string",
|
|
3610
|
-
"enum": [
|
|
3611
|
-
"partner_organisation"
|
|
3612
|
-
]
|
|
3613
|
-
}
|
|
3614
|
-
}
|
|
3615
|
-
}
|
|
3616
|
-
]
|
|
3617
|
-
},
|
|
3618
3317
|
"AddressRelationAttribute": {
|
|
3619
3318
|
"allOf": [
|
|
3620
3319
|
{
|
|
@@ -4569,15 +4268,6 @@
|
|
|
4569
4268
|
}
|
|
4570
4269
|
}
|
|
4571
4270
|
},
|
|
4572
|
-
"GetRelatedEntitiesCount": {
|
|
4573
|
-
"type": "object",
|
|
4574
|
-
"properties": {
|
|
4575
|
-
"hits": {
|
|
4576
|
-
"type": "integer",
|
|
4577
|
-
"example": 1
|
|
4578
|
-
}
|
|
4579
|
-
}
|
|
4580
|
-
},
|
|
4581
4271
|
"RelationEntity": {
|
|
4582
4272
|
"allOf": [
|
|
4583
4273
|
{
|
|
@@ -5049,14 +4739,6 @@
|
|
|
5049
4739
|
"type": "boolean",
|
|
5050
4740
|
"example": true
|
|
5051
4741
|
},
|
|
5052
|
-
"isFavoritedBy": {
|
|
5053
|
-
"description": "List of users (IDs) that have favorited the view",
|
|
5054
|
-
"type": "array",
|
|
5055
|
-
"items": {
|
|
5056
|
-
"type": "string",
|
|
5057
|
-
"example": 11701
|
|
5058
|
-
}
|
|
5059
|
-
},
|
|
5060
4742
|
"created_by": {
|
|
5061
4743
|
"anyOf": [
|
|
5062
4744
|
{
|
package/dist/schema-model.d.ts
CHANGED
|
File without changes
|
package/dist/schema-model.js
CHANGED
|
File without changes
|