@epilot/entity-client 3.0.5 → 3.0.8
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/definition.js +1 -1
- package/dist/openapi.d.ts +189 -71
- package/dist/openapi.json +75 -17
- package/package-lock.json +18779 -0
- package/package.json +2 -2
package/dist/openapi.d.ts
CHANGED
|
@@ -201,7 +201,10 @@ declare namespace Components {
|
|
|
201
201
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
202
202
|
*/
|
|
203
203
|
entity_builder_disable_edit?: boolean;
|
|
204
|
-
|
|
204
|
+
/**
|
|
205
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
206
|
+
*/
|
|
207
|
+
protected?: boolean;
|
|
205
208
|
type?: "relation_address";
|
|
206
209
|
has_primary?: boolean;
|
|
207
210
|
}
|
|
@@ -276,7 +279,10 @@ declare namespace Components {
|
|
|
276
279
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
277
280
|
*/
|
|
278
281
|
entity_builder_disable_edit?: boolean;
|
|
279
|
-
|
|
282
|
+
/**
|
|
283
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
284
|
+
*/
|
|
285
|
+
protected?: boolean;
|
|
280
286
|
}
|
|
281
287
|
/**
|
|
282
288
|
* example:
|
|
@@ -380,7 +386,10 @@ declare namespace Components {
|
|
|
380
386
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
381
387
|
*/
|
|
382
388
|
entity_builder_disable_edit?: boolean;
|
|
383
|
-
|
|
389
|
+
/**
|
|
390
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
391
|
+
*/
|
|
392
|
+
protected?: boolean;
|
|
384
393
|
type?: "boolean";
|
|
385
394
|
}
|
|
386
395
|
/**
|
|
@@ -447,7 +456,10 @@ declare namespace Components {
|
|
|
447
456
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
448
457
|
*/
|
|
449
458
|
entity_builder_disable_edit?: boolean;
|
|
450
|
-
|
|
459
|
+
/**
|
|
460
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
461
|
+
*/
|
|
462
|
+
protected?: boolean;
|
|
451
463
|
type?: "computed";
|
|
452
464
|
}
|
|
453
465
|
/**
|
|
@@ -514,7 +526,10 @@ declare namespace Components {
|
|
|
514
526
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
515
527
|
*/
|
|
516
528
|
entity_builder_disable_edit?: boolean;
|
|
517
|
-
|
|
529
|
+
/**
|
|
530
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
531
|
+
*/
|
|
532
|
+
protected?: boolean;
|
|
518
533
|
type: "consent";
|
|
519
534
|
topic: string;
|
|
520
535
|
identifiers?: string[];
|
|
@@ -583,7 +598,10 @@ declare namespace Components {
|
|
|
583
598
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
584
599
|
*/
|
|
585
600
|
entity_builder_disable_edit?: boolean;
|
|
586
|
-
|
|
601
|
+
/**
|
|
602
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
603
|
+
*/
|
|
604
|
+
protected?: boolean;
|
|
587
605
|
type?: "country";
|
|
588
606
|
}
|
|
589
607
|
/**
|
|
@@ -650,7 +668,10 @@ declare namespace Components {
|
|
|
650
668
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
651
669
|
*/
|
|
652
670
|
entity_builder_disable_edit?: boolean;
|
|
653
|
-
|
|
671
|
+
/**
|
|
672
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
673
|
+
*/
|
|
674
|
+
protected?: boolean;
|
|
654
675
|
type: "currency";
|
|
655
676
|
/**
|
|
656
677
|
* An array of currency configurations with a country code (ISO-4217)
|
|
@@ -726,7 +747,10 @@ declare namespace Components {
|
|
|
726
747
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
727
748
|
*/
|
|
728
749
|
entity_builder_disable_edit?: boolean;
|
|
729
|
-
|
|
750
|
+
/**
|
|
751
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
752
|
+
*/
|
|
753
|
+
protected?: boolean;
|
|
730
754
|
type?: "date" | "datetime";
|
|
731
755
|
}
|
|
732
756
|
export interface Entity {
|
|
@@ -999,6 +1023,16 @@ declare namespace Components {
|
|
|
999
1023
|
* Contacts
|
|
1000
1024
|
*/
|
|
1001
1025
|
plural: string;
|
|
1026
|
+
/**
|
|
1027
|
+
* example:
|
|
1028
|
+
* false
|
|
1029
|
+
*/
|
|
1030
|
+
published?: boolean;
|
|
1031
|
+
/**
|
|
1032
|
+
* example:
|
|
1033
|
+
* false
|
|
1034
|
+
*/
|
|
1035
|
+
draft?: boolean;
|
|
1002
1036
|
/**
|
|
1003
1037
|
* example:
|
|
1004
1038
|
* person
|
|
@@ -1043,6 +1077,12 @@ declare namespace Components {
|
|
|
1043
1077
|
* Render order of the group
|
|
1044
1078
|
*/
|
|
1045
1079
|
order?: number;
|
|
1080
|
+
/**
|
|
1081
|
+
* This schema should only be active when the feature flag is enabled
|
|
1082
|
+
* example:
|
|
1083
|
+
* FF_MY_FEATURE_FLAG
|
|
1084
|
+
*/
|
|
1085
|
+
feature_flag?: string;
|
|
1046
1086
|
info_tooltip_title?: {
|
|
1047
1087
|
key?: string;
|
|
1048
1088
|
default?: string;
|
|
@@ -1126,6 +1166,13 @@ declare namespace Components {
|
|
|
1126
1166
|
*/
|
|
1127
1167
|
export interface EntitySchemaItem {
|
|
1128
1168
|
id?: /* Generated uuid for schema */ SchemaId /* uuid */;
|
|
1169
|
+
created_at?: string;
|
|
1170
|
+
updated_at?: string;
|
|
1171
|
+
comment?: string;
|
|
1172
|
+
source?: {
|
|
1173
|
+
id?: string;
|
|
1174
|
+
type?: string;
|
|
1175
|
+
};
|
|
1129
1176
|
slug: /**
|
|
1130
1177
|
* URL-friendly identifier for the entity schema
|
|
1131
1178
|
* example:
|
|
@@ -1155,6 +1202,16 @@ declare namespace Components {
|
|
|
1155
1202
|
* Contacts
|
|
1156
1203
|
*/
|
|
1157
1204
|
plural: string;
|
|
1205
|
+
/**
|
|
1206
|
+
* example:
|
|
1207
|
+
* false
|
|
1208
|
+
*/
|
|
1209
|
+
published?: boolean;
|
|
1210
|
+
/**
|
|
1211
|
+
* example:
|
|
1212
|
+
* false
|
|
1213
|
+
*/
|
|
1214
|
+
draft?: boolean;
|
|
1158
1215
|
/**
|
|
1159
1216
|
* example:
|
|
1160
1217
|
* person
|
|
@@ -1199,6 +1256,12 @@ declare namespace Components {
|
|
|
1199
1256
|
* Render order of the group
|
|
1200
1257
|
*/
|
|
1201
1258
|
order?: number;
|
|
1259
|
+
/**
|
|
1260
|
+
* This schema should only be active when the feature flag is enabled
|
|
1261
|
+
* example:
|
|
1262
|
+
* FF_MY_FEATURE_FLAG
|
|
1263
|
+
*/
|
|
1264
|
+
feature_flag?: string;
|
|
1202
1265
|
info_tooltip_title?: {
|
|
1203
1266
|
key?: string;
|
|
1204
1267
|
default?: string;
|
|
@@ -1426,7 +1489,10 @@ declare namespace Components {
|
|
|
1426
1489
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
1427
1490
|
*/
|
|
1428
1491
|
entity_builder_disable_edit?: boolean;
|
|
1429
|
-
|
|
1492
|
+
/**
|
|
1493
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
1494
|
+
*/
|
|
1495
|
+
protected?: boolean;
|
|
1430
1496
|
type: "image" | "file";
|
|
1431
1497
|
multiple?: boolean;
|
|
1432
1498
|
/**
|
|
@@ -1659,7 +1725,10 @@ declare namespace Components {
|
|
|
1659
1725
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
1660
1726
|
*/
|
|
1661
1727
|
entity_builder_disable_edit?: boolean;
|
|
1662
|
-
|
|
1728
|
+
/**
|
|
1729
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
1730
|
+
*/
|
|
1731
|
+
protected?: boolean;
|
|
1663
1732
|
type?: "internal";
|
|
1664
1733
|
}
|
|
1665
1734
|
/**
|
|
@@ -1726,7 +1795,10 @@ declare namespace Components {
|
|
|
1726
1795
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
1727
1796
|
*/
|
|
1728
1797
|
entity_builder_disable_edit?: boolean;
|
|
1729
|
-
|
|
1798
|
+
/**
|
|
1799
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
1800
|
+
*/
|
|
1801
|
+
protected?: boolean;
|
|
1730
1802
|
type?: "link";
|
|
1731
1803
|
}
|
|
1732
1804
|
/**
|
|
@@ -1793,7 +1865,10 @@ declare namespace Components {
|
|
|
1793
1865
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
1794
1866
|
*/
|
|
1795
1867
|
entity_builder_disable_edit?: boolean;
|
|
1796
|
-
|
|
1868
|
+
/**
|
|
1869
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
1870
|
+
*/
|
|
1871
|
+
protected?: boolean;
|
|
1797
1872
|
type?: "number";
|
|
1798
1873
|
format?: string;
|
|
1799
1874
|
}
|
|
@@ -1861,7 +1936,10 @@ declare namespace Components {
|
|
|
1861
1936
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
1862
1937
|
*/
|
|
1863
1938
|
entity_builder_disable_edit?: boolean;
|
|
1864
|
-
|
|
1939
|
+
/**
|
|
1940
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
1941
|
+
*/
|
|
1942
|
+
protected?: boolean;
|
|
1865
1943
|
type?: "ordered_list";
|
|
1866
1944
|
}
|
|
1867
1945
|
/**
|
|
@@ -1928,7 +2006,10 @@ declare namespace Components {
|
|
|
1928
2006
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
1929
2007
|
*/
|
|
1930
2008
|
entity_builder_disable_edit?: boolean;
|
|
1931
|
-
|
|
2009
|
+
/**
|
|
2010
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
2011
|
+
*/
|
|
2012
|
+
protected?: boolean;
|
|
1932
2013
|
type?: "partner_status";
|
|
1933
2014
|
}
|
|
1934
2015
|
/**
|
|
@@ -2010,9 +2091,12 @@ declare namespace Components {
|
|
|
2010
2091
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
2011
2092
|
*/
|
|
2012
2093
|
entity_builder_disable_edit?: boolean;
|
|
2013
|
-
|
|
2094
|
+
/**
|
|
2095
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
2096
|
+
*/
|
|
2097
|
+
protected?: boolean;
|
|
2014
2098
|
type?: "relation";
|
|
2015
|
-
relation_type?: "
|
|
2099
|
+
relation_type?: "has_many" | "has_one";
|
|
2016
2100
|
delete_mode?: "cascade";
|
|
2017
2101
|
relation_affinity_mode?: "weak" | "strong";
|
|
2018
2102
|
/**
|
|
@@ -2138,11 +2222,14 @@ declare namespace Components {
|
|
|
2138
2222
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
2139
2223
|
*/
|
|
2140
2224
|
entity_builder_disable_edit?: boolean;
|
|
2141
|
-
|
|
2225
|
+
/**
|
|
2226
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
2227
|
+
*/
|
|
2228
|
+
protected?: boolean;
|
|
2142
2229
|
repeatable?: boolean;
|
|
2143
2230
|
has_primary?: boolean;
|
|
2144
2231
|
relation_affinity_mode?: "weak" | "strong";
|
|
2145
|
-
type?: "string" | "phone" | "email" | "address" | "relation";
|
|
2232
|
+
type?: "string" | "phone" | "email" | "address" | "relation" | "payment";
|
|
2146
2233
|
/**
|
|
2147
2234
|
* when enable_relation_picker is set to true the user will be able to pick existing relations as values. Otherwise, the user will need to create new relation to link.
|
|
2148
2235
|
*/
|
|
@@ -2236,12 +2323,19 @@ declare namespace Components {
|
|
|
2236
2323
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
2237
2324
|
*/
|
|
2238
2325
|
entity_builder_disable_edit?: boolean;
|
|
2239
|
-
|
|
2326
|
+
/**
|
|
2327
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
2328
|
+
*/
|
|
2329
|
+
protected?: boolean;
|
|
2240
2330
|
type?: "select" | "radio";
|
|
2241
2331
|
options?: ((string | null) | {
|
|
2242
2332
|
value: string;
|
|
2243
2333
|
title?: string;
|
|
2244
2334
|
})[];
|
|
2335
|
+
/**
|
|
2336
|
+
* Allow arbitrary input values in addition to provided options
|
|
2337
|
+
*/
|
|
2338
|
+
allow_any?: boolean;
|
|
2245
2339
|
}
|
|
2246
2340
|
/**
|
|
2247
2341
|
* Summary Fields are displayed inside list view as a resume of the relation entity.
|
|
@@ -2320,7 +2414,10 @@ declare namespace Components {
|
|
|
2320
2414
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
2321
2415
|
*/
|
|
2322
2416
|
entity_builder_disable_edit?: boolean;
|
|
2323
|
-
|
|
2417
|
+
/**
|
|
2418
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
2419
|
+
*/
|
|
2420
|
+
protected?: boolean;
|
|
2324
2421
|
type?: "tags";
|
|
2325
2422
|
options?: string[];
|
|
2326
2423
|
suggestions?: string[];
|
|
@@ -2389,7 +2486,10 @@ declare namespace Components {
|
|
|
2389
2486
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
2390
2487
|
*/
|
|
2391
2488
|
entity_builder_disable_edit?: boolean;
|
|
2392
|
-
|
|
2489
|
+
/**
|
|
2490
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
2491
|
+
*/
|
|
2492
|
+
protected?: boolean;
|
|
2393
2493
|
type?: "string";
|
|
2394
2494
|
multiline?: boolean;
|
|
2395
2495
|
}
|
|
@@ -2457,7 +2557,10 @@ declare namespace Components {
|
|
|
2457
2557
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
2458
2558
|
*/
|
|
2459
2559
|
entity_builder_disable_edit?: boolean;
|
|
2460
|
-
|
|
2560
|
+
/**
|
|
2561
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
2562
|
+
*/
|
|
2563
|
+
protected?: boolean;
|
|
2461
2564
|
type?: "relation_user";
|
|
2462
2565
|
multiple?: boolean;
|
|
2463
2566
|
}
|
|
@@ -2600,6 +2703,27 @@ declare namespace Paths {
|
|
|
2600
2703
|
Components.Schemas.EntityItem;
|
|
2601
2704
|
}
|
|
2602
2705
|
}
|
|
2706
|
+
namespace CreateNewSchemaVersion {
|
|
2707
|
+
namespace Parameters {
|
|
2708
|
+
export type Draft = boolean;
|
|
2709
|
+
export type Slug = /**
|
|
2710
|
+
* URL-friendly identifier for the entity schema
|
|
2711
|
+
* example:
|
|
2712
|
+
* contact
|
|
2713
|
+
*/
|
|
2714
|
+
Components.Schemas.EntitySlug;
|
|
2715
|
+
}
|
|
2716
|
+
export interface PathParameters {
|
|
2717
|
+
slug: Parameters.Slug;
|
|
2718
|
+
}
|
|
2719
|
+
export interface QueryParameters {
|
|
2720
|
+
draft?: Parameters.Draft;
|
|
2721
|
+
}
|
|
2722
|
+
export type RequestBody = /* The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities. */ Components.Schemas.EntitySchema;
|
|
2723
|
+
namespace Responses {
|
|
2724
|
+
export type $200 = /* The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities. */ Components.Schemas.EntitySchemaItem;
|
|
2725
|
+
}
|
|
2726
|
+
}
|
|
2603
2727
|
namespace DeleteEntity {
|
|
2604
2728
|
namespace Parameters {
|
|
2605
2729
|
export type ActivityId = /**
|
|
@@ -2651,9 +2775,9 @@ declare namespace Paths {
|
|
|
2651
2775
|
}
|
|
2652
2776
|
}
|
|
2653
2777
|
}
|
|
2654
|
-
namespace
|
|
2778
|
+
namespace DeleteSchemaById {
|
|
2655
2779
|
namespace Parameters {
|
|
2656
|
-
export type Id =
|
|
2780
|
+
export type Id = /* Generated uuid for schema */ Components.Schemas.SchemaId /* uuid */;
|
|
2657
2781
|
export type Slug = /**
|
|
2658
2782
|
* URL-friendly identifier for the entity schema
|
|
2659
2783
|
* example:
|
|
@@ -2665,7 +2789,7 @@ declare namespace Paths {
|
|
|
2665
2789
|
slug: Parameters.Slug;
|
|
2666
2790
|
}
|
|
2667
2791
|
export interface QueryParameters {
|
|
2668
|
-
id
|
|
2792
|
+
id: Parameters.Id;
|
|
2669
2793
|
}
|
|
2670
2794
|
namespace Responses {
|
|
2671
2795
|
export interface $204 {
|
|
@@ -2810,7 +2934,7 @@ declare namespace Paths {
|
|
|
2810
2934
|
}
|
|
2811
2935
|
namespace GetSchema {
|
|
2812
2936
|
namespace Parameters {
|
|
2813
|
-
export type Id =
|
|
2937
|
+
export type Id = /* Generated uuid for schema */ Components.Schemas.SchemaId /* uuid */;
|
|
2814
2938
|
export type Slug = /**
|
|
2815
2939
|
* URL-friendly identifier for the entity schema
|
|
2816
2940
|
* example:
|
|
@@ -2842,7 +2966,8 @@ declare namespace Paths {
|
|
|
2842
2966
|
}
|
|
2843
2967
|
namespace Responses {
|
|
2844
2968
|
export interface $200 {
|
|
2845
|
-
|
|
2969
|
+
versions?: /* The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities. */ Components.Schemas.EntitySchemaItem[];
|
|
2970
|
+
drafts?: /* The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities. */ Components.Schemas.EntitySchemaItem[];
|
|
2846
2971
|
}
|
|
2847
2972
|
}
|
|
2848
2973
|
}
|
|
@@ -2854,31 +2979,16 @@ declare namespace Paths {
|
|
|
2854
2979
|
}
|
|
2855
2980
|
}
|
|
2856
2981
|
namespace ListSchemas {
|
|
2857
|
-
namespace Responses {
|
|
2858
|
-
export interface $200 {
|
|
2859
|
-
results?: /* The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities. */ Components.Schemas.EntitySchemaItem[];
|
|
2860
|
-
}
|
|
2861
|
-
}
|
|
2862
|
-
}
|
|
2863
|
-
namespace PutSchema {
|
|
2864
2982
|
namespace Parameters {
|
|
2865
|
-
export type
|
|
2866
|
-
export type Slug = /**
|
|
2867
|
-
* URL-friendly identifier for the entity schema
|
|
2868
|
-
* example:
|
|
2869
|
-
* contact
|
|
2870
|
-
*/
|
|
2871
|
-
Components.Schemas.EntitySlug;
|
|
2872
|
-
}
|
|
2873
|
-
export interface PathParameters {
|
|
2874
|
-
slug: Parameters.Slug;
|
|
2983
|
+
export type Unpublished = boolean;
|
|
2875
2984
|
}
|
|
2876
2985
|
export interface QueryParameters {
|
|
2877
|
-
|
|
2986
|
+
unpublished?: Parameters.Unpublished;
|
|
2878
2987
|
}
|
|
2879
|
-
export type RequestBody = /* The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities. */ Components.Schemas.EntitySchema;
|
|
2880
2988
|
namespace Responses {
|
|
2881
|
-
export
|
|
2989
|
+
export interface $200 {
|
|
2990
|
+
results?: /* The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities. */ Components.Schemas.EntitySchemaItem[];
|
|
2991
|
+
}
|
|
2882
2992
|
}
|
|
2883
2993
|
}
|
|
2884
2994
|
namespace SearchEntities {
|
|
@@ -3026,10 +3136,10 @@ export interface OperationMethods {
|
|
|
3026
3136
|
/**
|
|
3027
3137
|
* listSchemas - listSchemas
|
|
3028
3138
|
*
|
|
3029
|
-
*
|
|
3139
|
+
* Get the latest version of local schema
|
|
3030
3140
|
*/
|
|
3031
3141
|
'listSchemas'(
|
|
3032
|
-
parameters?: Parameters<
|
|
3142
|
+
parameters?: Parameters<Paths.ListSchemas.QueryParameters> | null,
|
|
3033
3143
|
data?: any,
|
|
3034
3144
|
config?: AxiosRequestConfig
|
|
3035
3145
|
): OperationResponse<Paths.ListSchemas.Responses.$200>
|
|
@@ -3046,7 +3156,7 @@ export interface OperationMethods {
|
|
|
3046
3156
|
/**
|
|
3047
3157
|
* getSchemaVersions - getSchemaVersions
|
|
3048
3158
|
*
|
|
3049
|
-
* Get all versions of this schema
|
|
3159
|
+
* Get all versions of this schema ordered by the latest versions including drafts.
|
|
3050
3160
|
*/
|
|
3051
3161
|
'getSchemaVersions'(
|
|
3052
3162
|
parameters?: Parameters<Paths.GetSchemaVersions.PathParameters> | null,
|
|
@@ -3055,6 +3165,8 @@ export interface OperationMethods {
|
|
|
3055
3165
|
): OperationResponse<Paths.GetSchemaVersions.Responses.$200>
|
|
3056
3166
|
/**
|
|
3057
3167
|
* getSchema - getSchema
|
|
3168
|
+
*
|
|
3169
|
+
* By default gets the latest version of the Schema and to get the specific version of schema pass the id.
|
|
3058
3170
|
*/
|
|
3059
3171
|
'getSchema'(
|
|
3060
3172
|
parameters?: Parameters<Paths.GetSchema.PathParameters & Paths.GetSchema.QueryParameters> | null,
|
|
@@ -3062,23 +3174,25 @@ export interface OperationMethods {
|
|
|
3062
3174
|
config?: AxiosRequestConfig
|
|
3063
3175
|
): OperationResponse<Paths.GetSchema.Responses.$200>
|
|
3064
3176
|
/**
|
|
3065
|
-
*
|
|
3177
|
+
* createNewSchemaVersion - createNewSchemaVersion
|
|
3066
3178
|
*
|
|
3067
|
-
* Create new version of the schema
|
|
3179
|
+
* Create new version of the schema and default draft is false.
|
|
3068
3180
|
*/
|
|
3069
|
-
'
|
|
3070
|
-
parameters?: Parameters<Paths.
|
|
3071
|
-
data?: Paths.
|
|
3181
|
+
'createNewSchemaVersion'(
|
|
3182
|
+
parameters?: Parameters<Paths.CreateNewSchemaVersion.PathParameters & Paths.CreateNewSchemaVersion.QueryParameters> | null,
|
|
3183
|
+
data?: Paths.CreateNewSchemaVersion.RequestBody,
|
|
3072
3184
|
config?: AxiosRequestConfig
|
|
3073
|
-
): OperationResponse<Paths.
|
|
3185
|
+
): OperationResponse<Paths.CreateNewSchemaVersion.Responses.$200>
|
|
3074
3186
|
/**
|
|
3075
|
-
*
|
|
3187
|
+
* deleteSchemaById - deleteSchemaById
|
|
3188
|
+
*
|
|
3189
|
+
* Delete schema by Id
|
|
3076
3190
|
*/
|
|
3077
|
-
'
|
|
3078
|
-
parameters?: Parameters<Paths.
|
|
3191
|
+
'deleteSchemaById'(
|
|
3192
|
+
parameters?: Parameters<Paths.DeleteSchemaById.PathParameters & Paths.DeleteSchemaById.QueryParameters> | null,
|
|
3079
3193
|
data?: any,
|
|
3080
3194
|
config?: AxiosRequestConfig
|
|
3081
|
-
): OperationResponse<Paths.
|
|
3195
|
+
): OperationResponse<Paths.DeleteSchemaById.Responses.$204>
|
|
3082
3196
|
/**
|
|
3083
3197
|
* searchEntities - searchEntities
|
|
3084
3198
|
*
|
|
@@ -3394,10 +3508,10 @@ export interface PathsDictionary {
|
|
|
3394
3508
|
/**
|
|
3395
3509
|
* listSchemas - listSchemas
|
|
3396
3510
|
*
|
|
3397
|
-
*
|
|
3511
|
+
* Get the latest version of local schema
|
|
3398
3512
|
*/
|
|
3399
3513
|
'get'(
|
|
3400
|
-
parameters?: Parameters<
|
|
3514
|
+
parameters?: Parameters<Paths.ListSchemas.QueryParameters> | null,
|
|
3401
3515
|
data?: any,
|
|
3402
3516
|
config?: AxiosRequestConfig
|
|
3403
3517
|
): OperationResponse<Paths.ListSchemas.Responses.$200>
|
|
@@ -3418,7 +3532,7 @@ export interface PathsDictionary {
|
|
|
3418
3532
|
/**
|
|
3419
3533
|
* getSchemaVersions - getSchemaVersions
|
|
3420
3534
|
*
|
|
3421
|
-
* Get all versions of this schema
|
|
3535
|
+
* Get all versions of this schema ordered by the latest versions including drafts.
|
|
3422
3536
|
*/
|
|
3423
3537
|
'get'(
|
|
3424
3538
|
parameters?: Parameters<Paths.GetSchemaVersions.PathParameters> | null,
|
|
@@ -3429,6 +3543,8 @@ export interface PathsDictionary {
|
|
|
3429
3543
|
['/v1/entity/schemas/{slug}']: {
|
|
3430
3544
|
/**
|
|
3431
3545
|
* getSchema - getSchema
|
|
3546
|
+
*
|
|
3547
|
+
* By default gets the latest version of the Schema and to get the specific version of schema pass the id.
|
|
3432
3548
|
*/
|
|
3433
3549
|
'get'(
|
|
3434
3550
|
parameters?: Parameters<Paths.GetSchema.PathParameters & Paths.GetSchema.QueryParameters> | null,
|
|
@@ -3436,23 +3552,25 @@ export interface PathsDictionary {
|
|
|
3436
3552
|
config?: AxiosRequestConfig
|
|
3437
3553
|
): OperationResponse<Paths.GetSchema.Responses.$200>
|
|
3438
3554
|
/**
|
|
3439
|
-
*
|
|
3555
|
+
* createNewSchemaVersion - createNewSchemaVersion
|
|
3440
3556
|
*
|
|
3441
|
-
* Create new version of the schema
|
|
3557
|
+
* Create new version of the schema and default draft is false.
|
|
3442
3558
|
*/
|
|
3443
3559
|
'put'(
|
|
3444
|
-
parameters?: Parameters<Paths.
|
|
3445
|
-
data?: Paths.
|
|
3560
|
+
parameters?: Parameters<Paths.CreateNewSchemaVersion.PathParameters & Paths.CreateNewSchemaVersion.QueryParameters> | null,
|
|
3561
|
+
data?: Paths.CreateNewSchemaVersion.RequestBody,
|
|
3446
3562
|
config?: AxiosRequestConfig
|
|
3447
|
-
): OperationResponse<Paths.
|
|
3563
|
+
): OperationResponse<Paths.CreateNewSchemaVersion.Responses.$200>
|
|
3448
3564
|
/**
|
|
3449
|
-
*
|
|
3565
|
+
* deleteSchemaById - deleteSchemaById
|
|
3566
|
+
*
|
|
3567
|
+
* Delete schema by Id
|
|
3450
3568
|
*/
|
|
3451
3569
|
'delete'(
|
|
3452
|
-
parameters?: Parameters<Paths.
|
|
3570
|
+
parameters?: Parameters<Paths.DeleteSchemaById.PathParameters & Paths.DeleteSchemaById.QueryParameters> | null,
|
|
3453
3571
|
data?: any,
|
|
3454
3572
|
config?: AxiosRequestConfig
|
|
3455
|
-
): OperationResponse<Paths.
|
|
3573
|
+
): OperationResponse<Paths.DeleteSchemaById.Responses.$204>
|
|
3456
3574
|
}
|
|
3457
3575
|
['/v1/entity:search']: {
|
|
3458
3576
|
/**
|