@epilot/entity-client 4.31.2 → 4.33.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/dist/openapi.json CHANGED
@@ -23,8 +23,8 @@
23
23
  "description": "Entity Events"
24
24
  },
25
25
  {
26
- "name": "Export",
27
- "description": "Export and Import entities via files"
26
+ "name": "Import-Export",
27
+ "description": "Import and Export entities via portable files (CSV)"
28
28
  },
29
29
  {
30
30
  "name": "Saved Views",
@@ -744,6 +744,9 @@
744
744
  },
745
745
  {
746
746
  "$ref": "#/components/parameters/AsyncOperationQueryParam"
747
+ },
748
+ {
749
+ "$ref": "#/components/parameters/ValidateEntityQueryParam"
747
750
  }
748
751
  ],
749
752
  "requestBody": {
@@ -800,6 +803,16 @@
800
803
  }
801
804
  }
802
805
  }
806
+ },
807
+ "422": {
808
+ "description": "Entity validation error when `?validate=true`",
809
+ "content": {
810
+ "application/json": {
811
+ "schema": {
812
+ "$ref": "#/components/schemas/EntityValidationV2ResultError"
813
+ }
814
+ }
815
+ }
803
816
  }
804
817
  }
805
818
  }
@@ -858,6 +871,60 @@
858
871
  }
859
872
  }
860
873
  },
874
+ "/v2/entity/{slug}:validate": {
875
+ "post": {
876
+ "operationId": "validateEntityV2",
877
+ "summary": "validateEntityV2",
878
+ "description": "Validates an entity against the schema.",
879
+ "tags": [
880
+ "Entities"
881
+ ],
882
+ "parameters": [
883
+ {
884
+ "$ref": "#/components/parameters/EntitySlugPathPriceParam"
885
+ }
886
+ ],
887
+ "requestBody": {
888
+ "content": {
889
+ "application/json": {
890
+ "schema": {
891
+ "$ref": "#/components/schemas/Entity"
892
+ },
893
+ "examples": {
894
+ "Valid Price": {
895
+ "$ref": "#/components/examples/PriceEntity"
896
+ },
897
+ "Invalid Price": {
898
+ "$ref": "#/components/examples/EmptyGenericEntity"
899
+ }
900
+ }
901
+ }
902
+ }
903
+ },
904
+ "responses": {
905
+ "200": {
906
+ "description": "Success",
907
+ "content": {
908
+ "application/json": {
909
+ "schema": {
910
+ "$ref": "#/components/schemas/EntityValidationV2ResultSuccess"
911
+ }
912
+ }
913
+ }
914
+ },
915
+ "422": {
916
+ "description": "Error",
917
+ "content": {
918
+ "application/json": {
919
+ "schema": {
920
+ "$ref": "#/components/schemas/EntityValidationV2ResultError"
921
+ }
922
+ }
923
+ }
924
+ }
925
+ }
926
+ }
927
+ },
861
928
  "/v1/entity/{slug}:upsert": {
862
929
  "patch": {
863
930
  "operationId": "upsertEntity",
@@ -882,6 +949,9 @@
882
949
  {
883
950
  "$ref": "#/components/parameters/AsyncOperationQueryParam"
884
951
  },
952
+ {
953
+ "$ref": "#/components/parameters/ValidateEntityQueryParam"
954
+ },
885
955
  {
886
956
  "name": "strict",
887
957
  "description": "Strict mode = return 409 if more than one entity is matched",
@@ -948,6 +1018,16 @@
948
1018
  },
949
1019
  "409": {
950
1020
  "description": "Conflict: multiple entities were matched with `unique_key`"
1021
+ },
1022
+ "422": {
1023
+ "description": "Entity validation error when `?validate=true`",
1024
+ "content": {
1025
+ "application/json": {
1026
+ "schema": {
1027
+ "$ref": "#/components/schemas/EntityValidationV2ResultError"
1028
+ }
1029
+ }
1030
+ }
951
1031
  }
952
1032
  }
953
1033
  }
@@ -1109,6 +1189,9 @@
1109
1189
  },
1110
1190
  {
1111
1191
  "$ref": "#/components/parameters/AsyncOperationQueryParam"
1192
+ },
1193
+ {
1194
+ "$ref": "#/components/parameters/ValidateEntityQueryParam"
1112
1195
  }
1113
1196
  ],
1114
1197
  "requestBody": {
@@ -1131,6 +1214,16 @@
1131
1214
  }
1132
1215
  }
1133
1216
  }
1217
+ },
1218
+ "422": {
1219
+ "description": "Entity validation error when `?validate=true`",
1220
+ "content": {
1221
+ "application/json": {
1222
+ "schema": {
1223
+ "$ref": "#/components/schemas/EntityValidationV2ResultError"
1224
+ }
1225
+ }
1226
+ }
1134
1227
  }
1135
1228
  }
1136
1229
  },
@@ -1159,6 +1252,9 @@
1159
1252
  },
1160
1253
  {
1161
1254
  "$ref": "#/components/parameters/AsyncOperationQueryParam"
1255
+ },
1256
+ {
1257
+ "$ref": "#/components/parameters/ValidateEntityQueryParam"
1162
1258
  }
1163
1259
  ],
1164
1260
  "requestBody": {
@@ -1185,6 +1281,16 @@
1185
1281
  },
1186
1282
  "409": {
1187
1283
  "description": "Conflict: newer version exists"
1284
+ },
1285
+ "422": {
1286
+ "description": "Entity validation error when `?validate=true`",
1287
+ "content": {
1288
+ "application/json": {
1289
+ "schema": {
1290
+ "$ref": "#/components/schemas/EntityValidationV2ResultError"
1291
+ }
1292
+ }
1293
+ }
1188
1294
  }
1189
1295
  }
1190
1296
  },
@@ -2031,9 +2137,9 @@
2031
2137
  "post": {
2032
2138
  "operationId": "exportEntities",
2033
2139
  "summary": "exportEntities",
2034
- "description": "create export file of entities",
2140
+ "description": "Export entity data in a CSV-format. The export will export data as close as possible to what is visible on Entity UI tables.\nThe values exported as in some cases, transformed to human-readable values.\n\nTo force the export of raw values, use the `#` prefix in front of your field name when specifying the field on the `fields` param.\n",
2035
2141
  "tags": [
2036
- "Export"
2142
+ "Import-Export"
2037
2143
  ],
2038
2144
  "parameters": [
2039
2145
  {
@@ -2083,7 +2189,7 @@
2083
2189
  "summary": "Import Entities",
2084
2190
  "description": "This endpoint enables the import of entities into the platform.\nThe entities should be provided in a CSV format inside an S3 bucket.\nThis API will return the `job_id`` which can be used to fetch the status of the import process.\n",
2085
2191
  "tags": [
2086
- "Entity Import"
2192
+ "Import-Export"
2087
2193
  ],
2088
2194
  "parameters": [
2089
2195
  {
@@ -2484,6 +2590,154 @@
2484
2590
  }
2485
2591
  }
2486
2592
  },
2593
+ "/v1/entity/taxonomies/{taxonomySlug}/classifications": {
2594
+ "post": {
2595
+ "operationId": "updateClassificationsForTaxonomy",
2596
+ "summary": "updateClassificationsForTaxonomy",
2597
+ "description": "Update the classifications for a taxonomy",
2598
+ "tags": [
2599
+ "Taxonomy"
2600
+ ],
2601
+ "parameters": [
2602
+ {
2603
+ "$ref": "#/components/parameters/TaxonomySlugPathParam"
2604
+ }
2605
+ ],
2606
+ "requestBody": {
2607
+ "content": {
2608
+ "application/json": {
2609
+ "schema": {
2610
+ "$ref": "#/components/schemas/ClassificationsUpdate"
2611
+ }
2612
+ }
2613
+ }
2614
+ },
2615
+ "responses": {
2616
+ "200": {
2617
+ "description": "Taxonomies classifications",
2618
+ "content": {
2619
+ "application/json": {
2620
+ "schema": {
2621
+ "type": "object",
2622
+ "properties": {
2623
+ "created": {
2624
+ "type": "array",
2625
+ "items": {
2626
+ "$ref": "#/components/schemas/TaxonomyClassification"
2627
+ }
2628
+ },
2629
+ "updated": {
2630
+ "type": "array",
2631
+ "items": {
2632
+ "$ref": "#/components/schemas/TaxonomyClassification"
2633
+ }
2634
+ },
2635
+ "deleted": {
2636
+ "type": "object",
2637
+ "items": {
2638
+ "$ref": "#/components/schemas/ClassificationId"
2639
+ }
2640
+ }
2641
+ }
2642
+ }
2643
+ }
2644
+ }
2645
+ }
2646
+ }
2647
+ }
2648
+ },
2649
+ "/v2/entity/taxonomies/classifications/{classificationSlug}": {
2650
+ "get": {
2651
+ "operationId": "getTaxonomyClassification",
2652
+ "summary": "getTaxonomyClassification",
2653
+ "description": "Get a classification for a taxonomy",
2654
+ "tags": [
2655
+ "Taxonomy"
2656
+ ],
2657
+ "parameters": [
2658
+ {
2659
+ "$ref": "#/components/parameters/TaxonomyClassificationSlugPathParam"
2660
+ }
2661
+ ],
2662
+ "responses": {
2663
+ "200": {
2664
+ "description": "Taxonomy classification",
2665
+ "content": {
2666
+ "application/json": {
2667
+ "schema": {
2668
+ "$ref": "#/components/schemas/TaxonomyClassification"
2669
+ }
2670
+ }
2671
+ }
2672
+ },
2673
+ "404": {
2674
+ "description": "Taxonomy classification not found"
2675
+ }
2676
+ }
2677
+ },
2678
+ "put": {
2679
+ "operationId": "updateTaxonomyClassification",
2680
+ "summary": "updateTaxonomyClassification",
2681
+ "description": "Update a classification for a taxonomy",
2682
+ "tags": [
2683
+ "Taxonomy"
2684
+ ],
2685
+ "parameters": [
2686
+ {
2687
+ "$ref": "#/components/parameters/TaxonomyClassificationSlugPathParam"
2688
+ }
2689
+ ],
2690
+ "requestBody": {
2691
+ "content": {
2692
+ "application/json": {
2693
+ "schema": {
2694
+ "$ref": "#/components/schemas/TaxonomyClassification"
2695
+ }
2696
+ }
2697
+ }
2698
+ },
2699
+ "responses": {
2700
+ "200": {
2701
+ "description": "Taxonomy classification updated",
2702
+ "content": {
2703
+ "application/json": {
2704
+ "schema": {
2705
+ "$ref": "#/components/schemas/TaxonomyClassification"
2706
+ }
2707
+ }
2708
+ }
2709
+ },
2710
+ "404": {
2711
+ "description": "Taxonomy classification not found"
2712
+ }
2713
+ }
2714
+ },
2715
+ "delete": {
2716
+ "operationId": "deleteTaxonomyClassification",
2717
+ "summary": "deleteTaxonomyClassification",
2718
+ "description": "Delete a classification for a taxonomy",
2719
+ "tags": [
2720
+ "Taxonomy"
2721
+ ],
2722
+ "parameters": [
2723
+ {
2724
+ "$ref": "#/components/parameters/TaxonomyClassificationSlugPathParam"
2725
+ }
2726
+ ],
2727
+ "responses": {
2728
+ "200": {
2729
+ "description": "Taxonomy classification deleted",
2730
+ "content": {
2731
+ "application/json": {
2732
+ "schema": {
2733
+ "$ref": "#/components/schemas/TaxonomyClassification"
2734
+ }
2735
+ }
2736
+ }
2737
+ }
2738
+ }
2739
+ }
2740
+ },
2487
2741
  "/v1/entity/taxonomies/{taxonomySlug}:autocomplete": {
2488
2742
  "get": {
2489
2743
  "operationId": "taxonomyAutocomplete",
@@ -2596,62 +2850,6 @@
2596
2850
  }
2597
2851
  }
2598
2852
  },
2599
- "/v1/entity/taxonomies/{taxonomySlug}/classifications": {
2600
- "post": {
2601
- "operationId": "updateClassificationsForTaxonomy",
2602
- "summary": "updateClassificationsForTaxonomy",
2603
- "description": "Update the classifications for a taxonomy",
2604
- "tags": [
2605
- "Taxonomy"
2606
- ],
2607
- "parameters": [
2608
- {
2609
- "$ref": "#/components/parameters/TaxonomySlugPathParam"
2610
- }
2611
- ],
2612
- "requestBody": {
2613
- "content": {
2614
- "application/json": {
2615
- "schema": {
2616
- "$ref": "#/components/schemas/ClassificationsUpdate"
2617
- }
2618
- }
2619
- }
2620
- },
2621
- "responses": {
2622
- "200": {
2623
- "description": "Taxonomies classifications",
2624
- "content": {
2625
- "application/json": {
2626
- "schema": {
2627
- "type": "object",
2628
- "properties": {
2629
- "created": {
2630
- "type": "array",
2631
- "items": {
2632
- "$ref": "#/components/schemas/TaxonomyClassification"
2633
- }
2634
- },
2635
- "updated": {
2636
- "type": "array",
2637
- "items": {
2638
- "$ref": "#/components/schemas/TaxonomyClassification"
2639
- }
2640
- },
2641
- "deleted": {
2642
- "type": "object",
2643
- "items": {
2644
- "$ref": "#/components/schemas/ClassificationId"
2645
- }
2646
- }
2647
- }
2648
- }
2649
- }
2650
- }
2651
- }
2652
- }
2653
- }
2654
- },
2655
2853
  "/v1/entity/schemas/{slug}/taxonomy/{taxonomySlug}": {
2656
2854
  "get": {
2657
2855
  "operationId": "listTaxonomyClassificationsForSchema",
@@ -2704,91 +2902,150 @@
2704
2902
  }
2705
2903
  }
2706
2904
  },
2707
- "/v2/entity/taxonomies/classifications/{classificationSlug}": {
2905
+ "/v1/entity/taxonomies/jobs": {
2708
2906
  "get": {
2709
- "operationId": "getTaxonomyClassification",
2710
- "summary": "getTaxonomyClassification",
2711
- "description": "Get a classification for a taxonomy",
2907
+ "operationId": "getJobs",
2908
+ "summary": "getJobs",
2909
+ "description": "Gets bulk jobs by job status",
2712
2910
  "tags": [
2713
2911
  "Taxonomy"
2714
2912
  ],
2715
2913
  "parameters": [
2716
2914
  {
2717
- "$ref": "#/components/parameters/TaxonomyClassificationSlugPathParam"
2915
+ "in": "query",
2916
+ "name": "status",
2917
+ "schema": {
2918
+ "$ref": "#/components/schemas/TaxonomyBulkJobStatus"
2919
+ }
2718
2920
  }
2719
2921
  ],
2720
2922
  "responses": {
2721
2923
  "200": {
2722
- "description": "Taxonomy classification",
2924
+ "description": "Returns the jobs matching the given query or the active jobs if no status is provided",
2723
2925
  "content": {
2724
2926
  "application/json": {
2725
2927
  "schema": {
2726
- "$ref": "#/components/schemas/TaxonomyClassification"
2928
+ "type": "array",
2929
+ "items": {
2930
+ "$ref": "#/components/schemas/TaxonomyBulkJob"
2931
+ }
2727
2932
  }
2728
2933
  }
2729
2934
  }
2730
- },
2731
- "404": {
2732
- "description": "Taxonomy classification not found"
2733
2935
  }
2734
2936
  }
2735
- },
2736
- "put": {
2737
- "operationId": "updateTaxonomyClassification",
2738
- "summary": "updateTaxonomyClassification",
2739
- "description": "Update a classification for a taxonomy",
2937
+ }
2938
+ },
2939
+ "/v1/entity/taxonomies/classifications:move": {
2940
+ "post": {
2941
+ "operationId": "bulkMoveClassifications",
2942
+ "summary": "bulkMoveClassifications",
2943
+ "description": "Moves classifications from one taxonomy to another, through a bulk async operation which\nalso updates all references from the old classification to the new one under the target taxonomy.\n",
2740
2944
  "tags": [
2741
2945
  "Taxonomy"
2742
2946
  ],
2743
2947
  "parameters": [
2744
2948
  {
2745
- "$ref": "#/components/parameters/TaxonomyClassificationSlugPathParam"
2949
+ "in": "query",
2950
+ "name": "target_taxonomy",
2951
+ "description": "The target taxonomy to which the classifications will be moved",
2952
+ "schema": {
2953
+ "$ref": "#/components/schemas/TaxonomySlug"
2954
+ }
2746
2955
  }
2747
2956
  ],
2748
2957
  "requestBody": {
2749
2958
  "content": {
2750
2959
  "application/json": {
2751
2960
  "schema": {
2752
- "$ref": "#/components/schemas/TaxonomyClassification"
2961
+ "type": "object",
2962
+ "properties": {
2963
+ "classification_ids": {
2964
+ "type": "array",
2965
+ "items": {
2966
+ "$ref": "#/components/schemas/ClassificationId"
2967
+ }
2968
+ }
2969
+ }
2970
+ },
2971
+ "example": {
2972
+ "classification_ids": [
2973
+ "taxonomy-slug:classification-slug"
2974
+ ]
2753
2975
  }
2754
2976
  }
2755
2977
  }
2756
2978
  },
2757
2979
  "responses": {
2758
2980
  "200": {
2759
- "description": "Taxonomy classification updated",
2981
+ "description": "Returns the job id for the async job and current status",
2760
2982
  "content": {
2761
2983
  "application/json": {
2762
2984
  "schema": {
2763
- "$ref": "#/components/schemas/TaxonomyClassification"
2985
+ "$ref": "#/components/schemas/TaxonomyBulkJobTriggerResponse"
2986
+ },
2987
+ "example": {
2988
+ "job_id": "123",
2989
+ "status": "PENDING"
2764
2990
  }
2765
2991
  }
2766
2992
  }
2767
- },
2768
- "404": {
2769
- "description": "Taxonomy classification not found"
2770
2993
  }
2771
2994
  }
2772
- },
2773
- "delete": {
2774
- "operationId": "deleteTaxonomyClassification",
2775
- "summary": "deleteTaxonomyClassification",
2776
- "description": "Delete a classification for a taxonomy",
2995
+ }
2996
+ },
2997
+ "/v1/entity/taxonomies/classifications:delete": {
2998
+ "post": {
2999
+ "operationId": "bulkDeleteClassifications",
3000
+ "summary": "bulkDeleteClassifications",
3001
+ "description": "Archives or permanently deletes taxonomy classifications. When permanent is true, the classifications are deleted through a bulk \nasync operation which also deletes all references of the deleted classifications from the entities referencing them.\n",
2777
3002
  "tags": [
2778
3003
  "Taxonomy"
2779
3004
  ],
2780
3005
  "parameters": [
2781
3006
  {
2782
- "$ref": "#/components/parameters/TaxonomyClassificationSlugPathParam"
3007
+ "in": "query",
3008
+ "name": "permanent",
3009
+ "schema": {
3010
+ "type": "boolean",
3011
+ "default": false
3012
+ },
3013
+ "description": "Whether to permanently delete the classifications or just archive them"
2783
3014
  }
2784
3015
  ],
3016
+ "requestBody": {
3017
+ "content": {
3018
+ "application/json": {
3019
+ "schema": {
3020
+ "type": "object",
3021
+ "properties": {
3022
+ "classification_ids": {
3023
+ "type": "array",
3024
+ "items": {
3025
+ "$ref": "#/components/schemas/ClassificationId"
3026
+ }
3027
+ }
3028
+ }
3029
+ },
3030
+ "example": {
3031
+ "classification_ids": [
3032
+ "taxonomy-slug:classification-slug"
3033
+ ]
3034
+ }
3035
+ }
3036
+ }
3037
+ },
2785
3038
  "responses": {
2786
3039
  "200": {
2787
- "description": "Taxonomy classification deleted",
3040
+ "description": "Returns the job id for the async job and current status",
2788
3041
  "content": {
2789
3042
  "application/json": {
2790
3043
  "schema": {
2791
- "$ref": "#/components/schemas/TaxonomyClassification"
3044
+ "$ref": "#/components/schemas/TaxonomyBulkJobTriggerResponse"
3045
+ },
3046
+ "example": {
3047
+ "job_id": "123",
3048
+ "status": "PENDING"
2792
3049
  }
2793
3050
  }
2794
3051
  }
@@ -3431,6 +3688,15 @@
3431
3688
  "type": "string",
3432
3689
  "example": "Contacts"
3433
3690
  },
3691
+ "description": {
3692
+ "type": "string",
3693
+ "example": "Example description"
3694
+ },
3695
+ "docs_url": {
3696
+ "type": "string",
3697
+ "format": "uri",
3698
+ "example": "https://docs.epilot.io/docs/pricing/entities"
3699
+ },
3434
3700
  "published": {
3435
3701
  "type": "boolean",
3436
3702
  "example": false
@@ -4173,6 +4439,9 @@
4173
4439
  },
4174
4440
  "multiline": {
4175
4441
  "type": "boolean"
4442
+ },
4443
+ "rich_text": {
4444
+ "type": "boolean"
4176
4445
  }
4177
4446
  }
4178
4447
  }
@@ -5220,6 +5489,12 @@
5220
5489
  "bottom_divider"
5221
5490
  ]
5222
5491
  },
5492
+ "_purpose": {
5493
+ "type": "array",
5494
+ "items": {
5495
+ "$ref": "#/components/schemas/ClassificationId"
5496
+ }
5497
+ },
5223
5498
  "_manifest": {
5224
5499
  "type": "array",
5225
5500
  "description": "Manifest ID used to create/update the schema group headline",
@@ -5929,6 +6204,112 @@
5929
6204
  }
5930
6205
  ]
5931
6206
  },
6207
+ "EntityValidationV2Error": {
6208
+ "type": "object",
6209
+ "properties": {
6210
+ "keyword": {
6211
+ "type": "string",
6212
+ "description": "validation keyword."
6213
+ },
6214
+ "instance_path": {
6215
+ "type": "string",
6216
+ "description": "JSON Pointer to the location in the data instance (e.g., `\"/prop/1/subProp\"`)."
6217
+ },
6218
+ "schema_path": {
6219
+ "type": "string",
6220
+ "description": "JSON Pointer to the location of the failing keyword in the schema."
6221
+ },
6222
+ "params": {
6223
+ "type": "object",
6224
+ "description": "Additional information about error.",
6225
+ "additionalProperties": true
6226
+ },
6227
+ "property_name": {
6228
+ "type": "string",
6229
+ "description": "Set for errors in `propertyNames` keyword schema. `instance_path` still points to the object in this case."
6230
+ },
6231
+ "message": {
6232
+ "type": "string",
6233
+ "description": "The error message."
6234
+ },
6235
+ "schema": {
6236
+ "type": "object",
6237
+ "description": "The value of the failing keyword in the schema."
6238
+ },
6239
+ "parent_schema": {
6240
+ "type": "object",
6241
+ "description": "The schema containing the keyword.",
6242
+ "additionalProperties": true
6243
+ },
6244
+ "data": {
6245
+ "type": "object",
6246
+ "description": "The data validated by the keyword.",
6247
+ "additionalProperties": true
6248
+ }
6249
+ },
6250
+ "required": [
6251
+ "keyword",
6252
+ "instance_path",
6253
+ "schema_path",
6254
+ "params"
6255
+ ]
6256
+ },
6257
+ "EntityValidationV2ResultSuccess": {
6258
+ "type": "object",
6259
+ "description": "Validation result for a successful validation",
6260
+ "properties": {
6261
+ "status": {
6262
+ "type": "string",
6263
+ "enum": [
6264
+ "success"
6265
+ ]
6266
+ },
6267
+ "errors": {
6268
+ "type": "array",
6269
+ "maxItems": 0,
6270
+ "items": {
6271
+ "$ref": "#/components/schemas/EntityValidationV2Error"
6272
+ }
6273
+ }
6274
+ },
6275
+ "required": [
6276
+ "status",
6277
+ "errors"
6278
+ ]
6279
+ },
6280
+ "EntityValidationV2ResultError": {
6281
+ "type": "object",
6282
+ "description": "Validation result for a failed validation",
6283
+ "properties": {
6284
+ "status": {
6285
+ "type": "string",
6286
+ "enum": [
6287
+ "error"
6288
+ ]
6289
+ },
6290
+ "errors": {
6291
+ "type": "array",
6292
+ "minItems": 1,
6293
+ "items": {
6294
+ "$ref": "#/components/schemas/EntityValidationV2Error"
6295
+ }
6296
+ }
6297
+ },
6298
+ "required": [
6299
+ "status",
6300
+ "errors"
6301
+ ]
6302
+ },
6303
+ "EntityValidationV2Result": {
6304
+ "oneOf": [
6305
+ {
6306
+ "$ref": "#/components/schemas/EntityValidationV2ResultSuccess"
6307
+ },
6308
+ {
6309
+ "$ref": "#/components/schemas/EntityValidationV2ResultError"
6310
+ }
6311
+ ]
6312
+ },
5932
6313
  "HydratedEntityItem": {
5933
6314
  "allOf": [
5934
6315
  {
@@ -6980,6 +7361,49 @@
6980
7361
  }
6981
7362
  }
6982
7363
  },
7364
+ "TaxonomyBulkJobTriggerResponse": {
7365
+ "type": "object",
7366
+ "properties": {
7367
+ "job_id": {
7368
+ "type": "string",
7369
+ "format": "uuid"
7370
+ },
7371
+ "status": {
7372
+ "$ref": "#/components/schemas/TaxonomyBulkJobStatus"
7373
+ }
7374
+ }
7375
+ },
7376
+ "TaxonomyBulkJobStatus": {
7377
+ "type": "string",
7378
+ "description": "The status of the bulk job",
7379
+ "enum": [
7380
+ "PENDING",
7381
+ "FAILED",
7382
+ "COMPLETED"
7383
+ ]
7384
+ },
7385
+ "TaxonomyBulkJobType": {
7386
+ "type": "string",
7387
+ "enum": [
7388
+ "MOVE_LABELS",
7389
+ "DELETE_LABELS"
7390
+ ]
7391
+ },
7392
+ "TaxonomyBulkJob": {
7393
+ "type": "object",
7394
+ "properties": {
7395
+ "job_id": {
7396
+ "type": "string",
7397
+ "format": "uuid"
7398
+ },
7399
+ "status": {
7400
+ "$ref": "#/components/schemas/TaxonomyBulkJobStatus"
7401
+ },
7402
+ "type": {
7403
+ "$ref": "#/components/schemas/TaxonomyBulkJobType"
7404
+ }
7405
+ }
7406
+ },
6983
7407
  "ESClusterAssignment": {
6984
7408
  "type": "object",
6985
7409
  "properties": {
@@ -7225,6 +7649,15 @@
7225
7649
  "type": "boolean",
7226
7650
  "default": false
7227
7651
  }
7652
+ },
7653
+ "ValidateEntityQueryParam": {
7654
+ "name": "validate",
7655
+ "description": "When true, enables entity validation against the entity schema.",
7656
+ "in": "query",
7657
+ "schema": {
7658
+ "default": false,
7659
+ "type": "boolean"
7660
+ }
7228
7661
  }
7229
7662
  },
7230
7663
  "examples": {
@@ -7880,6 +8313,9 @@
7880
8313
  }
7881
8314
  },
7882
8315
  "servers": [
8316
+ {
8317
+ "url": "https://entity.sls.epilot.io"
8318
+ },
7883
8319
  {
7884
8320
  "url": "https://entity.sls.epilot.io"
7885
8321
  }