@epilot/entity-client 4.21.0 → 4.23.0
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/jest.config.ts +16 -0
- package/package-lock.json +17779 -0
- package/package.json +1 -1
- package/src/client.test.ts +25 -0
- package/src/client.ts +26 -0
- package/src/definition.ts +5 -0
- package/{dist → src}/openapi-runtime.json +110 -48
- package/{dist → src}/openapi.d.ts +684 -166
- package/{dist → src}/openapi.json +369 -153
- package/src/schema-model.ts +13 -0
- package/webpack.config.js +31 -0
- package/dist/client.d.ts +0 -3
- package/dist/client.js +0 -37
- package/dist/definition.d.ts +0 -3
- package/dist/definition.js +0 -1
- package/dist/index.js +0 -19
- package/dist/schema-model.d.ts +0 -11
- package/dist/schema-model.js +0 -13
- /package/{dist/index.d.ts → src/index.ts} +0 -0
|
@@ -927,7 +927,7 @@
|
|
|
927
927
|
"content": {
|
|
928
928
|
"application/json": {
|
|
929
929
|
"schema": {
|
|
930
|
-
"$ref": "#/components/schemas/
|
|
930
|
+
"$ref": "#/components/schemas/BaseActivityItem"
|
|
931
931
|
}
|
|
932
932
|
}
|
|
933
933
|
}
|
|
@@ -1015,7 +1015,7 @@
|
|
|
1015
1015
|
"content": {
|
|
1016
1016
|
"application/json": {
|
|
1017
1017
|
"schema": {
|
|
1018
|
-
"$ref": "#/components/schemas/
|
|
1018
|
+
"$ref": "#/components/schemas/BaseActivityItem"
|
|
1019
1019
|
}
|
|
1020
1020
|
}
|
|
1021
1021
|
}
|
|
@@ -1651,6 +1651,46 @@
|
|
|
1651
1651
|
"schema": {
|
|
1652
1652
|
"$ref": "#/components/schemas/EntitySlug"
|
|
1653
1653
|
}
|
|
1654
|
+
},
|
|
1655
|
+
{
|
|
1656
|
+
"in": "query",
|
|
1657
|
+
"name": "sort",
|
|
1658
|
+
"description": "The sort key to use if present",
|
|
1659
|
+
"required": false,
|
|
1660
|
+
"schema": {
|
|
1661
|
+
"type": "string",
|
|
1662
|
+
"default": "name:asc"
|
|
1663
|
+
}
|
|
1664
|
+
},
|
|
1665
|
+
{
|
|
1666
|
+
"in": "query",
|
|
1667
|
+
"name": "from",
|
|
1668
|
+
"required": false,
|
|
1669
|
+
"schema": {
|
|
1670
|
+
"type": "integer",
|
|
1671
|
+
"minimum": 0,
|
|
1672
|
+
"default": 0
|
|
1673
|
+
}
|
|
1674
|
+
},
|
|
1675
|
+
{
|
|
1676
|
+
"in": "query",
|
|
1677
|
+
"name": "size",
|
|
1678
|
+
"description": "Number of saved views to return",
|
|
1679
|
+
"required": false,
|
|
1680
|
+
"schema": {
|
|
1681
|
+
"type": "integer",
|
|
1682
|
+
"default": 150,
|
|
1683
|
+
"minimum": 1,
|
|
1684
|
+
"maximum": 250
|
|
1685
|
+
}
|
|
1686
|
+
},
|
|
1687
|
+
{
|
|
1688
|
+
"in": "query",
|
|
1689
|
+
"name": "fields",
|
|
1690
|
+
"required": false,
|
|
1691
|
+
"schema": {
|
|
1692
|
+
"$ref": "#/components/schemas/FieldsParam"
|
|
1693
|
+
}
|
|
1654
1694
|
}
|
|
1655
1695
|
],
|
|
1656
1696
|
"responses": {
|
|
@@ -1659,15 +1699,7 @@
|
|
|
1659
1699
|
"content": {
|
|
1660
1700
|
"application/json": {
|
|
1661
1701
|
"schema": {
|
|
1662
|
-
"
|
|
1663
|
-
"properties": {
|
|
1664
|
-
"results": {
|
|
1665
|
-
"type": "array",
|
|
1666
|
-
"items": {
|
|
1667
|
-
"$ref": "#/components/schemas/SavedViewItem"
|
|
1668
|
-
}
|
|
1669
|
-
}
|
|
1670
|
-
}
|
|
1702
|
+
"$ref": "#/components/schemas/ListSavedViewsResults"
|
|
1671
1703
|
}
|
|
1672
1704
|
}
|
|
1673
1705
|
}
|
|
@@ -1725,12 +1757,7 @@
|
|
|
1725
1757
|
"content": {
|
|
1726
1758
|
"application/json": {
|
|
1727
1759
|
"schema": {
|
|
1728
|
-
"
|
|
1729
|
-
"properties": {
|
|
1730
|
-
"view": {
|
|
1731
|
-
"$ref": "#/components/schemas/SavedViewItem"
|
|
1732
|
-
}
|
|
1733
|
-
}
|
|
1760
|
+
"$ref": "#/components/schemas/SavedViewItem"
|
|
1734
1761
|
}
|
|
1735
1762
|
}
|
|
1736
1763
|
}
|
|
@@ -2153,7 +2180,16 @@
|
|
|
2153
2180
|
],
|
|
2154
2181
|
"parameters": [
|
|
2155
2182
|
{
|
|
2156
|
-
"$ref": "#/components/parameters/
|
|
2183
|
+
"$ref": "#/components/parameters/TaxonomySlugQueryParamOptional"
|
|
2184
|
+
},
|
|
2185
|
+
{
|
|
2186
|
+
"in": "query",
|
|
2187
|
+
"name": "query",
|
|
2188
|
+
"description": "Input to search",
|
|
2189
|
+
"schema": {
|
|
2190
|
+
"type": "string",
|
|
2191
|
+
"example": "sales"
|
|
2192
|
+
}
|
|
2157
2193
|
}
|
|
2158
2194
|
],
|
|
2159
2195
|
"requestBody": {
|
|
@@ -2251,38 +2287,7 @@
|
|
|
2251
2287
|
}
|
|
2252
2288
|
}
|
|
2253
2289
|
},
|
|
2254
|
-
"/v2/entity/taxonomies/{taxonomySlug}/classifications
|
|
2255
|
-
"get": {
|
|
2256
|
-
"operationId": "getTaxonomyClassification",
|
|
2257
|
-
"summary": "getTaxonomyClassification",
|
|
2258
|
-
"description": "Gets the classification of a taxonomy",
|
|
2259
|
-
"tags": [
|
|
2260
|
-
"Taxonomy"
|
|
2261
|
-
],
|
|
2262
|
-
"parameters": [
|
|
2263
|
-
{
|
|
2264
|
-
"$ref": "#/components/parameters/TaxonomySlugPathParam"
|
|
2265
|
-
},
|
|
2266
|
-
{
|
|
2267
|
-
"$ref": "#/components/parameters/TaxonomyClassificationSlugPathParam"
|
|
2268
|
-
}
|
|
2269
|
-
],
|
|
2270
|
-
"responses": {
|
|
2271
|
-
"200": {
|
|
2272
|
-
"description": "Taxonomy classification",
|
|
2273
|
-
"content": {
|
|
2274
|
-
"application/json": {
|
|
2275
|
-
"schema": {
|
|
2276
|
-
"$ref": "#/components/schemas/TaxonomyClassification"
|
|
2277
|
-
}
|
|
2278
|
-
}
|
|
2279
|
-
}
|
|
2280
|
-
},
|
|
2281
|
-
"404": {
|
|
2282
|
-
"description": "Taxonomy classification not found"
|
|
2283
|
-
}
|
|
2284
|
-
}
|
|
2285
|
-
},
|
|
2290
|
+
"/v2/entity/taxonomies/{taxonomySlug}/classifications": {
|
|
2286
2291
|
"post": {
|
|
2287
2292
|
"operationId": "createTaxonomyClassification",
|
|
2288
2293
|
"summary": "createTaxonomyClassification",
|
|
@@ -2304,7 +2309,7 @@
|
|
|
2304
2309
|
}
|
|
2305
2310
|
}
|
|
2306
2311
|
},
|
|
2307
|
-
"
|
|
2312
|
+
"responses": {
|
|
2308
2313
|
"201": {
|
|
2309
2314
|
"description": "Taxonomy classification created",
|
|
2310
2315
|
"content": {
|
|
@@ -2319,7 +2324,9 @@
|
|
|
2319
2324
|
"description": "Taxonomy classification already exists\""
|
|
2320
2325
|
}
|
|
2321
2326
|
}
|
|
2322
|
-
}
|
|
2327
|
+
}
|
|
2328
|
+
},
|
|
2329
|
+
"/v2/entity/taxonomies/{taxonomySlug}/classifications/{classificationSlug}": {
|
|
2323
2330
|
"put": {
|
|
2324
2331
|
"operationId": "updateTaxonomyClassification",
|
|
2325
2332
|
"summary": "updateTaxonomyClassification",
|
|
@@ -2330,6 +2337,9 @@
|
|
|
2330
2337
|
"parameters": [
|
|
2331
2338
|
{
|
|
2332
2339
|
"$ref": "#/components/parameters/TaxonomySlugPathParam"
|
|
2340
|
+
},
|
|
2341
|
+
{
|
|
2342
|
+
"$ref": "#/components/parameters/TaxonomyClassificationSlugPathParam"
|
|
2333
2343
|
}
|
|
2334
2344
|
],
|
|
2335
2345
|
"requestBody": {
|
|
@@ -2341,7 +2351,7 @@
|
|
|
2341
2351
|
}
|
|
2342
2352
|
}
|
|
2343
2353
|
},
|
|
2344
|
-
"
|
|
2354
|
+
"responses": {
|
|
2345
2355
|
"200": {
|
|
2346
2356
|
"description": "Taxonomy classification updated",
|
|
2347
2357
|
"content": {
|
|
@@ -2369,13 +2379,7 @@
|
|
|
2369
2379
|
"$ref": "#/components/parameters/TaxonomySlugPathParam"
|
|
2370
2380
|
},
|
|
2371
2381
|
{
|
|
2372
|
-
"
|
|
2373
|
-
"name": "classificationId",
|
|
2374
|
-
"description": "The classification id",
|
|
2375
|
-
"required": true,
|
|
2376
|
-
"schema": {
|
|
2377
|
-
"$ref": "#/components/schemas/ClassificationId"
|
|
2378
|
-
}
|
|
2382
|
+
"$ref": "#/components/parameters/TaxonomyClassificationSlugPathParam"
|
|
2379
2383
|
},
|
|
2380
2384
|
{
|
|
2381
2385
|
"in": "query",
|
|
@@ -2386,12 +2390,232 @@
|
|
|
2386
2390
|
}
|
|
2387
2391
|
}
|
|
2388
2392
|
],
|
|
2389
|
-
"
|
|
2393
|
+
"responses": {
|
|
2390
2394
|
"204": {
|
|
2391
2395
|
"description": "Taxonomy classification deleted"
|
|
2392
2396
|
}
|
|
2393
2397
|
}
|
|
2394
2398
|
}
|
|
2399
|
+
},
|
|
2400
|
+
"/v1/entity/schemas/attributes/{composite_id}": {
|
|
2401
|
+
"get": {
|
|
2402
|
+
"operationId": "getSchemaAttribute",
|
|
2403
|
+
"summary": "getSchemaAttribute",
|
|
2404
|
+
"description": "Get a schema attribute from given attribute ID",
|
|
2405
|
+
"tags": [
|
|
2406
|
+
"Schemas"
|
|
2407
|
+
],
|
|
2408
|
+
"parameters": [
|
|
2409
|
+
{
|
|
2410
|
+
"name": "composite_id",
|
|
2411
|
+
"description": "Schema Slug and the Attribute ID",
|
|
2412
|
+
"in": "path",
|
|
2413
|
+
"required": true,
|
|
2414
|
+
"schema": {
|
|
2415
|
+
"type": "string",
|
|
2416
|
+
"pattern": "^.+:.+$",
|
|
2417
|
+
"example": "contact:97644baa-083f-4e49-9188-fcff2ecaad7d"
|
|
2418
|
+
}
|
|
2419
|
+
}
|
|
2420
|
+
],
|
|
2421
|
+
"responses": {
|
|
2422
|
+
"200": {
|
|
2423
|
+
"description": "Success",
|
|
2424
|
+
"content": {
|
|
2425
|
+
"application/json": {
|
|
2426
|
+
"schema": {
|
|
2427
|
+
"$ref": "#/components/schemas/AttributeWithCompositeID"
|
|
2428
|
+
}
|
|
2429
|
+
}
|
|
2430
|
+
}
|
|
2431
|
+
}
|
|
2432
|
+
}
|
|
2433
|
+
},
|
|
2434
|
+
"put": {
|
|
2435
|
+
"operationId": "putSchemaAttribute",
|
|
2436
|
+
"summary": "putSchemaAttribute",
|
|
2437
|
+
"description": "Adds or updates an attribute in the schema",
|
|
2438
|
+
"tags": [
|
|
2439
|
+
"Schemas"
|
|
2440
|
+
],
|
|
2441
|
+
"parameters": [
|
|
2442
|
+
{
|
|
2443
|
+
"name": "composite_id",
|
|
2444
|
+
"description": "Schema Slug and the Attribute ID",
|
|
2445
|
+
"in": "path",
|
|
2446
|
+
"required": true,
|
|
2447
|
+
"schema": {
|
|
2448
|
+
"type": "string",
|
|
2449
|
+
"pattern": "^.+:.+$",
|
|
2450
|
+
"example": "contact:97644baa-083f-4e49-9188-fcff2ecaad7d"
|
|
2451
|
+
}
|
|
2452
|
+
}
|
|
2453
|
+
],
|
|
2454
|
+
"requestBody": {
|
|
2455
|
+
"content": {
|
|
2456
|
+
"application/json": {
|
|
2457
|
+
"schema": {
|
|
2458
|
+
"$ref": "#/components/schemas/AttributeWithCompositeID"
|
|
2459
|
+
}
|
|
2460
|
+
}
|
|
2461
|
+
}
|
|
2462
|
+
},
|
|
2463
|
+
"responses": {
|
|
2464
|
+
"200": {
|
|
2465
|
+
"description": "Success",
|
|
2466
|
+
"content": {
|
|
2467
|
+
"application/json": {
|
|
2468
|
+
"schema": {
|
|
2469
|
+
"$ref": "#/components/schemas/AttributeWithCompositeID"
|
|
2470
|
+
}
|
|
2471
|
+
}
|
|
2472
|
+
}
|
|
2473
|
+
}
|
|
2474
|
+
}
|
|
2475
|
+
},
|
|
2476
|
+
"delete": {
|
|
2477
|
+
"operationId": "deleteSchemaAttribute",
|
|
2478
|
+
"summary": "deleteSchemaAttribute",
|
|
2479
|
+
"description": "Deletes an attribute from a schema",
|
|
2480
|
+
"tags": [
|
|
2481
|
+
"Schemas"
|
|
2482
|
+
],
|
|
2483
|
+
"parameters": [
|
|
2484
|
+
{
|
|
2485
|
+
"name": "composite_id",
|
|
2486
|
+
"description": "Schema Slug and the Attribute ID",
|
|
2487
|
+
"in": "path",
|
|
2488
|
+
"required": true,
|
|
2489
|
+
"schema": {
|
|
2490
|
+
"type": "string",
|
|
2491
|
+
"pattern": "^.+:.+$",
|
|
2492
|
+
"example": "contact:97644baa-083f-4e49-9188-fcff2ecaad7d"
|
|
2493
|
+
}
|
|
2494
|
+
}
|
|
2495
|
+
],
|
|
2496
|
+
"responses": {
|
|
2497
|
+
"200": {
|
|
2498
|
+
"description": "Success",
|
|
2499
|
+
"content": {
|
|
2500
|
+
"application/json": {
|
|
2501
|
+
"schema": {
|
|
2502
|
+
"$ref": "#/components/schemas/AttributeWithCompositeID"
|
|
2503
|
+
}
|
|
2504
|
+
}
|
|
2505
|
+
}
|
|
2506
|
+
}
|
|
2507
|
+
}
|
|
2508
|
+
}
|
|
2509
|
+
},
|
|
2510
|
+
"/v1/entity/schemas/capabilities/{composite_id}": {
|
|
2511
|
+
"get": {
|
|
2512
|
+
"operationId": "getSchemaCapability",
|
|
2513
|
+
"summary": "getSchemaCapability",
|
|
2514
|
+
"description": "Get a schema capability from given capability ID",
|
|
2515
|
+
"tags": [
|
|
2516
|
+
"Schemas"
|
|
2517
|
+
],
|
|
2518
|
+
"parameters": [
|
|
2519
|
+
{
|
|
2520
|
+
"name": "composite_id",
|
|
2521
|
+
"description": "Schema Slug and the Attribute ID",
|
|
2522
|
+
"in": "path",
|
|
2523
|
+
"required": true,
|
|
2524
|
+
"schema": {
|
|
2525
|
+
"type": "string",
|
|
2526
|
+
"pattern": "^.+:.+$",
|
|
2527
|
+
"example": "contact:97644baa-083f-4e49-9188-fcff2ecaad7d"
|
|
2528
|
+
}
|
|
2529
|
+
}
|
|
2530
|
+
],
|
|
2531
|
+
"responses": {
|
|
2532
|
+
"200": {
|
|
2533
|
+
"description": "Success",
|
|
2534
|
+
"content": {
|
|
2535
|
+
"application/json": {
|
|
2536
|
+
"schema": {
|
|
2537
|
+
"$ref": "#/components/schemas/EntityCapabilityWithCompositeID"
|
|
2538
|
+
}
|
|
2539
|
+
}
|
|
2540
|
+
}
|
|
2541
|
+
}
|
|
2542
|
+
}
|
|
2543
|
+
},
|
|
2544
|
+
"put": {
|
|
2545
|
+
"operationId": "putSchemaCapability",
|
|
2546
|
+
"summary": "putSchemaCapability",
|
|
2547
|
+
"description": "Adds or updates an capability in the schema",
|
|
2548
|
+
"tags": [
|
|
2549
|
+
"Schemas"
|
|
2550
|
+
],
|
|
2551
|
+
"parameters": [
|
|
2552
|
+
{
|
|
2553
|
+
"name": "composite_id",
|
|
2554
|
+
"description": "Schema Slug and the Attribute ID",
|
|
2555
|
+
"in": "path",
|
|
2556
|
+
"required": true,
|
|
2557
|
+
"schema": {
|
|
2558
|
+
"type": "string",
|
|
2559
|
+
"pattern": "^.+:.+$",
|
|
2560
|
+
"example": "contact:97644baa-083f-4e49-9188-fcff2ecaad7d"
|
|
2561
|
+
}
|
|
2562
|
+
}
|
|
2563
|
+
],
|
|
2564
|
+
"requestBody": {
|
|
2565
|
+
"content": {
|
|
2566
|
+
"application/json": {
|
|
2567
|
+
"schema": {
|
|
2568
|
+
"$ref": "#/components/schemas/EntityCapabilityWithCompositeID"
|
|
2569
|
+
}
|
|
2570
|
+
}
|
|
2571
|
+
}
|
|
2572
|
+
},
|
|
2573
|
+
"responses": {
|
|
2574
|
+
"200": {
|
|
2575
|
+
"description": "Success",
|
|
2576
|
+
"content": {
|
|
2577
|
+
"application/json": {
|
|
2578
|
+
"schema": {
|
|
2579
|
+
"$ref": "#/components/schemas/EntityCapabilityWithCompositeID"
|
|
2580
|
+
}
|
|
2581
|
+
}
|
|
2582
|
+
}
|
|
2583
|
+
}
|
|
2584
|
+
}
|
|
2585
|
+
},
|
|
2586
|
+
"delete": {
|
|
2587
|
+
"operationId": "deleteSchemaCapability",
|
|
2588
|
+
"summary": "deleteSchemaCapability",
|
|
2589
|
+
"description": "Deletes a Capability from a schema",
|
|
2590
|
+
"tags": [
|
|
2591
|
+
"Schemas"
|
|
2592
|
+
],
|
|
2593
|
+
"parameters": [
|
|
2594
|
+
{
|
|
2595
|
+
"name": "composite_id",
|
|
2596
|
+
"description": "Schema Slug and the Attribute ID",
|
|
2597
|
+
"in": "path",
|
|
2598
|
+
"required": true,
|
|
2599
|
+
"schema": {
|
|
2600
|
+
"type": "string",
|
|
2601
|
+
"pattern": "^.+:.+$",
|
|
2602
|
+
"example": "contact:97644baa-083f-4e49-9188-fcff2ecaad7d"
|
|
2603
|
+
}
|
|
2604
|
+
}
|
|
2605
|
+
],
|
|
2606
|
+
"responses": {
|
|
2607
|
+
"200": {
|
|
2608
|
+
"description": "Success",
|
|
2609
|
+
"content": {
|
|
2610
|
+
"application/json": {
|
|
2611
|
+
"schema": {
|
|
2612
|
+
"$ref": "#/components/schemas/EntityCapabilityWithCompositeID"
|
|
2613
|
+
}
|
|
2614
|
+
}
|
|
2615
|
+
}
|
|
2616
|
+
}
|
|
2617
|
+
}
|
|
2618
|
+
}
|
|
2395
2619
|
}
|
|
2396
2620
|
},
|
|
2397
2621
|
"components": {
|
|
@@ -2862,6 +3086,24 @@
|
|
|
2862
3086
|
}
|
|
2863
3087
|
]
|
|
2864
3088
|
},
|
|
3089
|
+
"AttributeWithCompositeID": {
|
|
3090
|
+
"allOf": [
|
|
3091
|
+
{
|
|
3092
|
+
"$ref": "#/components/schemas/Attribute"
|
|
3093
|
+
},
|
|
3094
|
+
{
|
|
3095
|
+
"type": "object",
|
|
3096
|
+
"description": "a readonly computed ID for the attribute including schema slug and the attribute ID",
|
|
3097
|
+
"properties": {
|
|
3098
|
+
"composite_id": {
|
|
3099
|
+
"type": "string",
|
|
3100
|
+
"readOnly": true,
|
|
3101
|
+
"example": "contact:97644baa-083f-4e49-9188-fcff2ecaad7d"
|
|
3102
|
+
}
|
|
3103
|
+
}
|
|
3104
|
+
}
|
|
3105
|
+
]
|
|
3106
|
+
},
|
|
2865
3107
|
"BaseAttribute": {
|
|
2866
3108
|
"type": "object",
|
|
2867
3109
|
"properties": {
|
|
@@ -3879,6 +4121,11 @@
|
|
|
3879
4121
|
},
|
|
3880
4122
|
"format": {
|
|
3881
4123
|
"type": "string"
|
|
4124
|
+
},
|
|
4125
|
+
"show_separator": {
|
|
4126
|
+
"description": "Whether or not to show a thousands separator",
|
|
4127
|
+
"type": "boolean",
|
|
4128
|
+
"default": true
|
|
3882
4129
|
}
|
|
3883
4130
|
}
|
|
3884
4131
|
}
|
|
@@ -4141,6 +4388,24 @@
|
|
|
4141
4388
|
"name"
|
|
4142
4389
|
]
|
|
4143
4390
|
},
|
|
4391
|
+
"EntityCapabilityWithCompositeID": {
|
|
4392
|
+
"allOf": [
|
|
4393
|
+
{
|
|
4394
|
+
"$ref": "#/components/schemas/EntityCapability"
|
|
4395
|
+
},
|
|
4396
|
+
{
|
|
4397
|
+
"type": "object",
|
|
4398
|
+
"description": "a readonly computed ID for the entity capability including schema slug and the capability ID",
|
|
4399
|
+
"properties": {
|
|
4400
|
+
"composite_id": {
|
|
4401
|
+
"type": "string",
|
|
4402
|
+
"readOnly": true,
|
|
4403
|
+
"example": "contact:97644baa-083f-4e49-9188-fcff2ecaad7d"
|
|
4404
|
+
}
|
|
4405
|
+
}
|
|
4406
|
+
}
|
|
4407
|
+
]
|
|
4408
|
+
},
|
|
4144
4409
|
"EntityViewDisabled": {
|
|
4145
4410
|
"type": "object",
|
|
4146
4411
|
"properties": {
|
|
@@ -4428,87 +4693,6 @@
|
|
|
4428
4693
|
},
|
|
4429
4694
|
"additionalProperties": true
|
|
4430
4695
|
},
|
|
4431
|
-
"HydratedEntity": {
|
|
4432
|
-
"type": "object",
|
|
4433
|
-
"description": "Entity with relation data resolved into the attribute values",
|
|
4434
|
-
"properties": {
|
|
4435
|
-
"_relations": {
|
|
4436
|
-
"type": "array",
|
|
4437
|
-
"items": {
|
|
4438
|
-
"type": "object",
|
|
4439
|
-
"properties": {
|
|
4440
|
-
"entity_id": {
|
|
4441
|
-
"$ref": "#/components/schemas/EntityId"
|
|
4442
|
-
}
|
|
4443
|
-
},
|
|
4444
|
-
"required": [
|
|
4445
|
-
"entity_id"
|
|
4446
|
-
]
|
|
4447
|
-
}
|
|
4448
|
-
}
|
|
4449
|
-
},
|
|
4450
|
-
"additionalProperties": true,
|
|
4451
|
-
"required": [
|
|
4452
|
-
"_relations"
|
|
4453
|
-
],
|
|
4454
|
-
"example": {
|
|
4455
|
-
"_relations": [
|
|
4456
|
-
{
|
|
4457
|
-
"entity_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
|
|
4458
|
-
}
|
|
4459
|
-
],
|
|
4460
|
-
"status": "active",
|
|
4461
|
-
"customer_number": "abc123",
|
|
4462
|
-
"email": [
|
|
4463
|
-
{
|
|
4464
|
-
"label": "work",
|
|
4465
|
-
"email": "user@example.com"
|
|
4466
|
-
}
|
|
4467
|
-
],
|
|
4468
|
-
"phone": [
|
|
4469
|
-
{
|
|
4470
|
-
"label": "work",
|
|
4471
|
-
"phone": "+49123456789"
|
|
4472
|
-
}
|
|
4473
|
-
],
|
|
4474
|
-
"first_name": "First Name",
|
|
4475
|
-
"middle_name": "Middle Name",
|
|
4476
|
-
"last_name": "Last Name",
|
|
4477
|
-
"date_of_birth": "2019-08-24",
|
|
4478
|
-
"title": "Mr.",
|
|
4479
|
-
"account": [
|
|
4480
|
-
{
|
|
4481
|
-
"status": "active",
|
|
4482
|
-
"name": "Company name",
|
|
4483
|
-
"company_email": [
|
|
4484
|
-
{
|
|
4485
|
-
"label": "Company email",
|
|
4486
|
-
"email": "company@example.com"
|
|
4487
|
-
}
|
|
4488
|
-
],
|
|
4489
|
-
"company_phone": [
|
|
4490
|
-
{
|
|
4491
|
-
"label": "Support phone",
|
|
4492
|
-
"phone": "+49123456789"
|
|
4493
|
-
}
|
|
4494
|
-
],
|
|
4495
|
-
"company_website": "https://example.com",
|
|
4496
|
-
"tax_id": "DE123456789",
|
|
4497
|
-
"tax_exemption": "2019-08-24",
|
|
4498
|
-
"contacts": {
|
|
4499
|
-
"$relation": [
|
|
4500
|
-
{
|
|
4501
|
-
"_tags": [
|
|
4502
|
-
"CEO"
|
|
4503
|
-
],
|
|
4504
|
-
"entity_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
|
|
4505
|
-
}
|
|
4506
|
-
]
|
|
4507
|
-
}
|
|
4508
|
-
}
|
|
4509
|
-
]
|
|
4510
|
-
}
|
|
4511
|
-
},
|
|
4512
4696
|
"EntityItem": {
|
|
4513
4697
|
"allOf": [
|
|
4514
4698
|
{
|
|
@@ -5019,7 +5203,7 @@
|
|
|
5019
5203
|
"operation"
|
|
5020
5204
|
]
|
|
5021
5205
|
},
|
|
5022
|
-
"
|
|
5206
|
+
"BaseActivityItem": {
|
|
5023
5207
|
"allOf": [
|
|
5024
5208
|
{
|
|
5025
5209
|
"type": "object",
|
|
@@ -5043,6 +5227,13 @@
|
|
|
5043
5227
|
"$ref": "#/components/schemas/ActivityCallerContext"
|
|
5044
5228
|
}
|
|
5045
5229
|
}
|
|
5230
|
+
}
|
|
5231
|
+
]
|
|
5232
|
+
},
|
|
5233
|
+
"ActivityItem": {
|
|
5234
|
+
"allOf": [
|
|
5235
|
+
{
|
|
5236
|
+
"$ref": "#/components/schemas/BaseActivityItem"
|
|
5046
5237
|
},
|
|
5047
5238
|
{
|
|
5048
5239
|
"type": "object",
|
|
@@ -5067,6 +5258,21 @@
|
|
|
5067
5258
|
"type": "string",
|
|
5068
5259
|
"format": "uuid"
|
|
5069
5260
|
},
|
|
5261
|
+
"ListSavedViewsResults": {
|
|
5262
|
+
"type": "object",
|
|
5263
|
+
"properties": {
|
|
5264
|
+
"hits": {
|
|
5265
|
+
"type": "number",
|
|
5266
|
+
"example": 1
|
|
5267
|
+
},
|
|
5268
|
+
"results": {
|
|
5269
|
+
"type": "array",
|
|
5270
|
+
"items": {
|
|
5271
|
+
"$ref": "#/components/schemas/SavedViewItem"
|
|
5272
|
+
}
|
|
5273
|
+
}
|
|
5274
|
+
}
|
|
5275
|
+
},
|
|
5070
5276
|
"SavedViewId": {
|
|
5071
5277
|
"description": "Generated uuid for a saved view",
|
|
5072
5278
|
"type": "string",
|
|
@@ -5284,7 +5490,7 @@
|
|
|
5284
5490
|
},
|
|
5285
5491
|
"ClassificationId": {
|
|
5286
5492
|
"type": "string",
|
|
5287
|
-
"
|
|
5493
|
+
"example": "taxonomy-slug:classification-slug"
|
|
5288
5494
|
},
|
|
5289
5495
|
"TaxonomySlug": {
|
|
5290
5496
|
"type": "string",
|
|
@@ -5309,7 +5515,15 @@
|
|
|
5309
5515
|
"delete": {
|
|
5310
5516
|
"type": "array",
|
|
5311
5517
|
"items": {
|
|
5312
|
-
"
|
|
5518
|
+
"anyOf": [
|
|
5519
|
+
{
|
|
5520
|
+
"$ref": "#/components/schemas/ClassificationId"
|
|
5521
|
+
},
|
|
5522
|
+
{
|
|
5523
|
+
"type": "string",
|
|
5524
|
+
"example": "taxonomy-slug:classification-slug"
|
|
5525
|
+
}
|
|
5526
|
+
]
|
|
5313
5527
|
}
|
|
5314
5528
|
}
|
|
5315
5529
|
}
|
|
@@ -5361,26 +5575,25 @@
|
|
|
5361
5575
|
"example": "price"
|
|
5362
5576
|
}
|
|
5363
5577
|
},
|
|
5364
|
-
"
|
|
5578
|
+
"TaxonomySlugPathParam": {
|
|
5365
5579
|
"name": "taxonomySlug",
|
|
5366
5580
|
"description": "Taxonomy slug",
|
|
5367
|
-
"in": "
|
|
5581
|
+
"in": "path",
|
|
5582
|
+
"required": true,
|
|
5368
5583
|
"schema": {
|
|
5369
5584
|
"type": "string"
|
|
5370
|
-
}
|
|
5371
|
-
"required": true
|
|
5585
|
+
}
|
|
5372
5586
|
},
|
|
5373
|
-
"
|
|
5587
|
+
"TaxonomySlugQueryParamOptional": {
|
|
5374
5588
|
"name": "taxonomySlug",
|
|
5375
5589
|
"description": "Taxonomy slug",
|
|
5376
|
-
"in": "
|
|
5377
|
-
"required": true,
|
|
5590
|
+
"in": "query",
|
|
5378
5591
|
"schema": {
|
|
5379
5592
|
"type": "string"
|
|
5380
5593
|
}
|
|
5381
5594
|
},
|
|
5382
5595
|
"TaxonomyClassificationSlugPathParam": {
|
|
5383
|
-
"name": "
|
|
5596
|
+
"name": "classificationSlug",
|
|
5384
5597
|
"description": "Taxonomy Classification slug",
|
|
5385
5598
|
"in": "path",
|
|
5386
5599
|
"required": true,
|
|
@@ -6171,6 +6384,9 @@
|
|
|
6171
6384
|
}
|
|
6172
6385
|
},
|
|
6173
6386
|
"servers": [
|
|
6387
|
+
{
|
|
6388
|
+
"url": "https://entity.sls.epilot.io"
|
|
6389
|
+
},
|
|
6174
6390
|
{
|
|
6175
6391
|
"url": "https://entity.sls.epilot.io"
|
|
6176
6392
|
}
|