@epilot/entity-client 4.34.2 → 4.34.4

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/openapi.json CHANGED
@@ -119,6 +119,9 @@
119
119
  }
120
120
  }
121
121
  }
122
+ },
123
+ "404": {
124
+ "$ref": "#/components/responses/NotFoundError"
122
125
  }
123
126
  }
124
127
  },
@@ -1074,6 +1077,9 @@
1074
1077
  }
1075
1078
  }
1076
1079
  }
1080
+ },
1081
+ "404": {
1082
+ "$ref": "#/components/responses/NotFoundError"
1077
1083
  }
1078
1084
  }
1079
1085
  }
@@ -1167,6 +1173,9 @@
1167
1173
  }
1168
1174
  }
1169
1175
  }
1176
+ },
1177
+ "404": {
1178
+ "$ref": "#/components/responses/NotFoundError"
1170
1179
  }
1171
1180
  }
1172
1181
  },
@@ -1508,6 +1517,9 @@
1508
1517
  }
1509
1518
  }
1510
1519
  }
1520
+ },
1521
+ "404": {
1522
+ "$ref": "#/components/responses/NotFoundError"
1511
1523
  }
1512
1524
  }
1513
1525
  }
@@ -1548,6 +1560,9 @@
1548
1560
  }
1549
1561
  }
1550
1562
  }
1563
+ },
1564
+ "404": {
1565
+ "$ref": "#/components/responses/NotFoundError"
1551
1566
  }
1552
1567
  }
1553
1568
  }
@@ -1639,6 +1654,9 @@
1639
1654
  }
1640
1655
  }
1641
1656
  }
1657
+ },
1658
+ "404": {
1659
+ "$ref": "#/components/responses/NotFoundError"
1642
1660
  }
1643
1661
  }
1644
1662
  }
@@ -1731,6 +1749,9 @@
1731
1749
  ]
1732
1750
  }
1733
1751
  }
1752
+ },
1753
+ "404": {
1754
+ "$ref": "#/components/responses/NotFoundError"
1734
1755
  }
1735
1756
  }
1736
1757
  },
@@ -1794,6 +1815,9 @@
1794
1815
  }
1795
1816
  }
1796
1817
  }
1818
+ },
1819
+ "404": {
1820
+ "$ref": "#/components/responses/NotFoundError"
1797
1821
  }
1798
1822
  }
1799
1823
  },
@@ -1850,6 +1874,9 @@
1850
1874
  "responses": {
1851
1875
  "204": {
1852
1876
  "description": "Relations deleted with success."
1877
+ },
1878
+ "404": {
1879
+ "$ref": "#/components/responses/NotFoundError"
1853
1880
  }
1854
1881
  }
1855
1882
  }
@@ -1916,6 +1943,9 @@
1916
1943
  }
1917
1944
  }
1918
1945
  }
1946
+ },
1947
+ "404": {
1948
+ "$ref": "#/components/responses/NotFoundError"
1919
1949
  }
1920
1950
  }
1921
1951
  }
@@ -1976,6 +2006,9 @@
1976
2006
  }
1977
2007
  }
1978
2008
  }
2009
+ },
2010
+ "404": {
2011
+ "$ref": "#/components/responses/NotFoundError"
1979
2012
  }
1980
2013
  }
1981
2014
  }
@@ -2009,6 +2042,9 @@
2009
2042
  }
2010
2043
  }
2011
2044
  }
2045
+ },
2046
+ "404": {
2047
+ "$ref": "#/components/responses/NotFoundError"
2012
2048
  }
2013
2049
  }
2014
2050
  }
@@ -2087,6 +2123,9 @@
2087
2123
  }
2088
2124
  }
2089
2125
  }
2126
+ },
2127
+ "404": {
2128
+ "$ref": "#/components/responses/NotFoundError"
2090
2129
  }
2091
2130
  }
2092
2131
  },
@@ -2132,6 +2171,9 @@
2132
2171
  "responses": {
2133
2172
  "204": {
2134
2173
  "description": "Relation deleted with success."
2174
+ },
2175
+ "404": {
2176
+ "$ref": "#/components/responses/NotFoundError"
2135
2177
  }
2136
2178
  }
2137
2179
  }
@@ -2347,6 +2389,9 @@
2347
2389
  }
2348
2390
  }
2349
2391
  }
2392
+ },
2393
+ "404": {
2394
+ "$ref": "#/components/responses/NotFoundError"
2350
2395
  }
2351
2396
  }
2352
2397
  },
@@ -2384,6 +2429,40 @@
2384
2429
  }
2385
2430
  }
2386
2431
  },
2432
+ "patch": {
2433
+ "operationId": "patchSavedView",
2434
+ "summary": "patchSavedView",
2435
+ "description": "Partially updates a saved view with the provided payload. If an updated_at is passed and the server contains a newer version of the view a `409` error is returned",
2436
+ "tags": [
2437
+ "Saved Views"
2438
+ ],
2439
+ "parameters": [
2440
+ {
2441
+ "$ref": "#/components/parameters/SavedViewIdPathParam"
2442
+ }
2443
+ ],
2444
+ "requestBody": {
2445
+ "content": {
2446
+ "application/json": {
2447
+ "schema": {
2448
+ "$ref": "#/components/schemas/SavedViewPartial"
2449
+ }
2450
+ }
2451
+ }
2452
+ },
2453
+ "responses": {
2454
+ "200": {
2455
+ "description": "Success",
2456
+ "content": {
2457
+ "application/json": {
2458
+ "schema": {
2459
+ "$ref": "#/components/schemas/SavedViewItem"
2460
+ }
2461
+ }
2462
+ }
2463
+ }
2464
+ }
2465
+ },
2387
2466
  "delete": {
2388
2467
  "operationId": "deleteSavedView",
2389
2468
  "summary": "deleteSavedView",
@@ -2529,6 +2608,9 @@
2529
2608
  }
2530
2609
  }
2531
2610
  }
2611
+ },
2612
+ "404": {
2613
+ "$ref": "#/components/responses/NotFoundError"
2532
2614
  }
2533
2615
  }
2534
2616
  },
@@ -2645,6 +2727,9 @@
2645
2727
  }
2646
2728
  }
2647
2729
  }
2730
+ },
2731
+ "404": {
2732
+ "$ref": "#/components/responses/NotFoundError"
2648
2733
  }
2649
2734
  }
2650
2735
  }
@@ -2674,7 +2759,7 @@
2674
2759
  }
2675
2760
  },
2676
2761
  "404": {
2677
- "description": "Taxonomy classification not found"
2762
+ "$ref": "#/components/responses/NotFoundError"
2678
2763
  }
2679
2764
  }
2680
2765
  },
@@ -2925,10 +3010,20 @@
2925
3010
  "parameters": [
2926
3011
  {
2927
3012
  "in": "query",
3013
+ "description": "The status of the jobs to return",
2928
3014
  "name": "status",
2929
3015
  "schema": {
2930
3016
  "$ref": "#/components/schemas/TaxonomyBulkJobStatus"
2931
3017
  }
3018
+ },
3019
+ {
3020
+ "in": "query",
3021
+ "name": "limit",
3022
+ "schema": {
3023
+ "description": "The maximum number of jobs to return (defaults to 20)",
3024
+ "type": "number",
3025
+ "default": 20
3026
+ }
2932
3027
  }
2933
3028
  ],
2934
3029
  "responses": {
@@ -3153,6 +3248,9 @@
3153
3248
  }
3154
3249
  }
3155
3250
  }
3251
+ },
3252
+ "404": {
3253
+ "$ref": "#/components/responses/NotFoundError"
3156
3254
  }
3157
3255
  }
3158
3256
  },
@@ -3294,6 +3392,9 @@
3294
3392
  }
3295
3393
  }
3296
3394
  }
3395
+ },
3396
+ "404": {
3397
+ "$ref": "#/components/responses/NotFoundError"
3297
3398
  }
3298
3399
  }
3299
3400
  },
@@ -3435,6 +3536,9 @@
3435
3536
  }
3436
3537
  }
3437
3538
  }
3539
+ },
3540
+ "404": {
3541
+ "$ref": "#/components/responses/NotFoundError"
3438
3542
  }
3439
3543
  }
3440
3544
  },
@@ -3576,6 +3680,9 @@
3576
3680
  }
3577
3681
  }
3578
3682
  }
3683
+ },
3684
+ "404": {
3685
+ "$ref": "#/components/responses/NotFoundError"
3579
3686
  }
3580
3687
  }
3581
3688
  },
@@ -3834,6 +3941,19 @@
3834
3941
  "items": {
3835
3942
  "$ref": "#/components/schemas/EntityAction"
3836
3943
  }
3944
+ },
3945
+ "ui_config": {
3946
+ "type": "object",
3947
+ "properties": {
3948
+ "content_direction": {
3949
+ "type": "string",
3950
+ "enum": [
3951
+ "row",
3952
+ "column"
3953
+ ],
3954
+ "description": "Show attributes in a row or column"
3955
+ }
3956
+ }
3837
3957
  }
3838
3958
  }
3839
3959
  },
@@ -4258,6 +4378,9 @@
4258
4378
  {
4259
4379
  "$ref": "#/components/schemas/TagsAttribute"
4260
4380
  },
4381
+ {
4382
+ "$ref": "#/components/schemas/MessageEmailAddressAttribute"
4383
+ },
4261
4384
  {
4262
4385
  "$ref": "#/components/schemas/NumberAttribute"
4263
4386
  },
@@ -5350,7 +5473,8 @@
5350
5473
  "relation",
5351
5474
  "payment",
5352
5475
  "price_component",
5353
- "date"
5476
+ "date",
5477
+ "message_email_address"
5354
5478
  ]
5355
5479
  },
5356
5480
  "enable_relation_picker": {
@@ -5393,6 +5517,42 @@
5393
5517
  }
5394
5518
  ]
5395
5519
  },
5520
+ "MessageEmailAddressAttribute": {
5521
+ "allOf": [
5522
+ {
5523
+ "$ref": "#/components/schemas/BaseAttribute"
5524
+ },
5525
+ {
5526
+ "type": "object",
5527
+ "description": "Message emil address",
5528
+ "properties": {
5529
+ "type": {
5530
+ "type": "string",
5531
+ "enum": [
5532
+ "message_email_address"
5533
+ ]
5534
+ },
5535
+ "address": {
5536
+ "type": "string"
5537
+ },
5538
+ "name": {
5539
+ "type": "string"
5540
+ },
5541
+ "send_status": {
5542
+ "type": "string"
5543
+ },
5544
+ "email_type": {
5545
+ "type": "string"
5546
+ }
5547
+ },
5548
+ "required": [
5549
+ "type",
5550
+ "address",
5551
+ "name"
5552
+ ]
5553
+ }
5554
+ ]
5555
+ },
5396
5556
  "NumberAttribute": {
5397
5557
  "allOf": [
5398
5558
  {
@@ -5543,6 +5703,36 @@
5543
5703
  "items": {
5544
5704
  "$ref": "#/components/schemas/SettingFlag"
5545
5705
  }
5706
+ },
5707
+ "display_mode": {
5708
+ "type": "string",
5709
+ "enum": [
5710
+ "inline",
5711
+ "block"
5712
+ ],
5713
+ "description": "Defines the display mode of the summary attribute.\nWhen set to `inline`, the label and value will be displayed in the same line.\nWhen set to `block`, the label and value will be displayed in separate lines.\n"
5714
+ },
5715
+ "content_line_cap": {
5716
+ "type": "number",
5717
+ "description": "Defines the line numbers of the content.\nFor instance, When set to 1, the content will be displayed in a single line.\n"
5718
+ },
5719
+ "content_wrap": {
5720
+ "type": "string",
5721
+ "enum": [
5722
+ "normal",
5723
+ "nowrap",
5724
+ "pre",
5725
+ "pre-wrap"
5726
+ ],
5727
+ "description": "Defines white-space of the content.\n"
5728
+ },
5729
+ "hide_label": {
5730
+ "type": "boolean",
5731
+ "description": "When set to true, will hide the label of the field."
5732
+ },
5733
+ "highlight_container": {
5734
+ "type": "boolean",
5735
+ "description": "When set to true, will highlight the container of the field."
5546
5736
  }
5547
5737
  },
5548
5738
  "required": [
@@ -6483,6 +6673,10 @@
6483
6673
  "entity_id": {
6484
6674
  "$ref": "#/components/schemas/EntityId"
6485
6675
  },
6676
+ "org_id": {
6677
+ "type": "string",
6678
+ "description": "Organization Id the entity belongs to"
6679
+ },
6486
6680
  "attribute": {
6487
6681
  "type": "string"
6488
6682
  },
@@ -6533,9 +6727,7 @@
6533
6727
  "hydrate": {},
6534
6728
  "fields": {},
6535
6729
  "aggs": {},
6536
- "include_deleted": {
6537
- "$ref": "#/components/schemas/EntitySearchIncludeDeletedParam"
6538
- }
6730
+ "include_deleted": {}
6539
6731
  },
6540
6732
  "additionalProperties": false,
6541
6733
  "required": [
@@ -6565,7 +6757,8 @@
6565
6757
  "size": {},
6566
6758
  "hydrate": {},
6567
6759
  "fields": {},
6568
- "aggs": {}
6760
+ "aggs": {},
6761
+ "include_deleted": {}
6569
6762
  },
6570
6763
  "additionalProperties": false,
6571
6764
  "required": [
@@ -7189,7 +7382,7 @@
7189
7382
  }
7190
7383
  ]
7191
7384
  },
7192
- "SavedView": {
7385
+ "SavedViewPartial": {
7193
7386
  "description": "A saved entity view",
7194
7387
  "type": "object",
7195
7388
  "properties": {
@@ -7270,13 +7463,32 @@
7270
7463
  }
7271
7464
  }
7272
7465
  }
7466
+ },
7467
+ "shared_with": {
7468
+ "type": "array",
7469
+ "description": "List of users ('${userId}'), user groups ('group_${groupId}'), or partner users ('${partnerOrgId}_${partnerUserId}') that the view is shared with",
7470
+ "items": {
7471
+ "type": "string",
7472
+ "example": "112233"
7473
+ }
7474
+ }
7475
+ }
7476
+ },
7477
+ "SavedView": {
7478
+ "description": "A saved entity view",
7479
+ "allOf": [
7480
+ {
7481
+ "$ref": "#/components/schemas/SavedViewPartial"
7482
+ },
7483
+ {
7484
+ "type": "object",
7485
+ "required": [
7486
+ "slug",
7487
+ "name",
7488
+ "created_by",
7489
+ "ui_config"
7490
+ ]
7273
7491
  }
7274
- },
7275
- "required": [
7276
- "slug",
7277
- "name",
7278
- "created_by",
7279
- "ui_config"
7280
7492
  ]
7281
7493
  },
7282
7494
  "Taxonomy": {
@@ -7616,6 +7828,22 @@
7616
7828
  "description": "Whether the setting should be enabled or not"
7617
7829
  }
7618
7830
  }
7831
+ },
7832
+ "ErrorObject": {
7833
+ "description": "A generic error returned by the API",
7834
+ "type": "object",
7835
+ "properties": {
7836
+ "status": {
7837
+ "type": "integer",
7838
+ "description": "The HTTP status code of the error",
7839
+ "example": 400
7840
+ },
7841
+ "error": {
7842
+ "type": "string",
7843
+ "description": "The error message",
7844
+ "example": "Bad Request"
7845
+ }
7846
+ }
7619
7847
  }
7620
7848
  },
7621
7849
  "parameters": {
@@ -8498,6 +8726,28 @@
8498
8726
  ]
8499
8727
  }
8500
8728
  }
8729
+ },
8730
+ "responses": {
8731
+ "NotFoundError": {
8732
+ "description": "The requested resource was not found",
8733
+ "content": {
8734
+ "application/json": {
8735
+ "schema": {
8736
+ "allOf": [
8737
+ {
8738
+ "$ref": "#/components/schemas/ErrorObject"
8739
+ },
8740
+ {
8741
+ "example": {
8742
+ "status": 404,
8743
+ "error": "Not Found"
8744
+ }
8745
+ }
8746
+ ]
8747
+ }
8748
+ }
8749
+ }
8750
+ }
8501
8751
  }
8502
8752
  },
8503
8753
  "servers": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/entity-client",
3
- "version": "4.34.2",
3
+ "version": "4.34.4",
4
4
  "description": "JavaScript client library for the epilot Core Entity API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",