@epilot/entity-client 3.0.5 → 3.0.6
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 +176 -71
- package/dist/openapi.json +67 -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
|
|
@@ -1126,6 +1160,12 @@ declare namespace Components {
|
|
|
1126
1160
|
*/
|
|
1127
1161
|
export interface EntitySchemaItem {
|
|
1128
1162
|
id?: /* Generated uuid for schema */ SchemaId /* uuid */;
|
|
1163
|
+
created_at?: string;
|
|
1164
|
+
updated_at?: string;
|
|
1165
|
+
source?: {
|
|
1166
|
+
id?: string;
|
|
1167
|
+
type?: string;
|
|
1168
|
+
};
|
|
1129
1169
|
slug: /**
|
|
1130
1170
|
* URL-friendly identifier for the entity schema
|
|
1131
1171
|
* example:
|
|
@@ -1155,6 +1195,16 @@ declare namespace Components {
|
|
|
1155
1195
|
* Contacts
|
|
1156
1196
|
*/
|
|
1157
1197
|
plural: string;
|
|
1198
|
+
/**
|
|
1199
|
+
* example:
|
|
1200
|
+
* false
|
|
1201
|
+
*/
|
|
1202
|
+
published?: boolean;
|
|
1203
|
+
/**
|
|
1204
|
+
* example:
|
|
1205
|
+
* false
|
|
1206
|
+
*/
|
|
1207
|
+
draft?: boolean;
|
|
1158
1208
|
/**
|
|
1159
1209
|
* example:
|
|
1160
1210
|
* person
|
|
@@ -1426,7 +1476,10 @@ declare namespace Components {
|
|
|
1426
1476
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
1427
1477
|
*/
|
|
1428
1478
|
entity_builder_disable_edit?: boolean;
|
|
1429
|
-
|
|
1479
|
+
/**
|
|
1480
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
1481
|
+
*/
|
|
1482
|
+
protected?: boolean;
|
|
1430
1483
|
type: "image" | "file";
|
|
1431
1484
|
multiple?: boolean;
|
|
1432
1485
|
/**
|
|
@@ -1659,7 +1712,10 @@ declare namespace Components {
|
|
|
1659
1712
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
1660
1713
|
*/
|
|
1661
1714
|
entity_builder_disable_edit?: boolean;
|
|
1662
|
-
|
|
1715
|
+
/**
|
|
1716
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
1717
|
+
*/
|
|
1718
|
+
protected?: boolean;
|
|
1663
1719
|
type?: "internal";
|
|
1664
1720
|
}
|
|
1665
1721
|
/**
|
|
@@ -1726,7 +1782,10 @@ declare namespace Components {
|
|
|
1726
1782
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
1727
1783
|
*/
|
|
1728
1784
|
entity_builder_disable_edit?: boolean;
|
|
1729
|
-
|
|
1785
|
+
/**
|
|
1786
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
1787
|
+
*/
|
|
1788
|
+
protected?: boolean;
|
|
1730
1789
|
type?: "link";
|
|
1731
1790
|
}
|
|
1732
1791
|
/**
|
|
@@ -1793,7 +1852,10 @@ declare namespace Components {
|
|
|
1793
1852
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
1794
1853
|
*/
|
|
1795
1854
|
entity_builder_disable_edit?: boolean;
|
|
1796
|
-
|
|
1855
|
+
/**
|
|
1856
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
1857
|
+
*/
|
|
1858
|
+
protected?: boolean;
|
|
1797
1859
|
type?: "number";
|
|
1798
1860
|
format?: string;
|
|
1799
1861
|
}
|
|
@@ -1861,7 +1923,10 @@ declare namespace Components {
|
|
|
1861
1923
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
1862
1924
|
*/
|
|
1863
1925
|
entity_builder_disable_edit?: boolean;
|
|
1864
|
-
|
|
1926
|
+
/**
|
|
1927
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
1928
|
+
*/
|
|
1929
|
+
protected?: boolean;
|
|
1865
1930
|
type?: "ordered_list";
|
|
1866
1931
|
}
|
|
1867
1932
|
/**
|
|
@@ -1928,7 +1993,10 @@ declare namespace Components {
|
|
|
1928
1993
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
1929
1994
|
*/
|
|
1930
1995
|
entity_builder_disable_edit?: boolean;
|
|
1931
|
-
|
|
1996
|
+
/**
|
|
1997
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
1998
|
+
*/
|
|
1999
|
+
protected?: boolean;
|
|
1932
2000
|
type?: "partner_status";
|
|
1933
2001
|
}
|
|
1934
2002
|
/**
|
|
@@ -2010,9 +2078,12 @@ declare namespace Components {
|
|
|
2010
2078
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
2011
2079
|
*/
|
|
2012
2080
|
entity_builder_disable_edit?: boolean;
|
|
2013
|
-
|
|
2081
|
+
/**
|
|
2082
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
2083
|
+
*/
|
|
2084
|
+
protected?: boolean;
|
|
2014
2085
|
type?: "relation";
|
|
2015
|
-
relation_type?: "
|
|
2086
|
+
relation_type?: "has_many" | "has_one";
|
|
2016
2087
|
delete_mode?: "cascade";
|
|
2017
2088
|
relation_affinity_mode?: "weak" | "strong";
|
|
2018
2089
|
/**
|
|
@@ -2138,11 +2209,14 @@ declare namespace Components {
|
|
|
2138
2209
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
2139
2210
|
*/
|
|
2140
2211
|
entity_builder_disable_edit?: boolean;
|
|
2141
|
-
|
|
2212
|
+
/**
|
|
2213
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
2214
|
+
*/
|
|
2215
|
+
protected?: boolean;
|
|
2142
2216
|
repeatable?: boolean;
|
|
2143
2217
|
has_primary?: boolean;
|
|
2144
2218
|
relation_affinity_mode?: "weak" | "strong";
|
|
2145
|
-
type?: "string" | "phone" | "email" | "address" | "relation";
|
|
2219
|
+
type?: "string" | "phone" | "email" | "address" | "relation" | "payment";
|
|
2146
2220
|
/**
|
|
2147
2221
|
* 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
2222
|
*/
|
|
@@ -2236,12 +2310,19 @@ declare namespace Components {
|
|
|
2236
2310
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
2237
2311
|
*/
|
|
2238
2312
|
entity_builder_disable_edit?: boolean;
|
|
2239
|
-
|
|
2313
|
+
/**
|
|
2314
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
2315
|
+
*/
|
|
2316
|
+
protected?: boolean;
|
|
2240
2317
|
type?: "select" | "radio";
|
|
2241
2318
|
options?: ((string | null) | {
|
|
2242
2319
|
value: string;
|
|
2243
2320
|
title?: string;
|
|
2244
2321
|
})[];
|
|
2322
|
+
/**
|
|
2323
|
+
* Allow arbitrary input values in addition to provided options
|
|
2324
|
+
*/
|
|
2325
|
+
allow_any?: boolean;
|
|
2245
2326
|
}
|
|
2246
2327
|
/**
|
|
2247
2328
|
* Summary Fields are displayed inside list view as a resume of the relation entity.
|
|
@@ -2320,7 +2401,10 @@ declare namespace Components {
|
|
|
2320
2401
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
2321
2402
|
*/
|
|
2322
2403
|
entity_builder_disable_edit?: boolean;
|
|
2323
|
-
|
|
2404
|
+
/**
|
|
2405
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
2406
|
+
*/
|
|
2407
|
+
protected?: boolean;
|
|
2324
2408
|
type?: "tags";
|
|
2325
2409
|
options?: string[];
|
|
2326
2410
|
suggestions?: string[];
|
|
@@ -2389,7 +2473,10 @@ declare namespace Components {
|
|
|
2389
2473
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
2390
2474
|
*/
|
|
2391
2475
|
entity_builder_disable_edit?: boolean;
|
|
2392
|
-
|
|
2476
|
+
/**
|
|
2477
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
2478
|
+
*/
|
|
2479
|
+
protected?: boolean;
|
|
2393
2480
|
type?: "string";
|
|
2394
2481
|
multiline?: boolean;
|
|
2395
2482
|
}
|
|
@@ -2457,7 +2544,10 @@ declare namespace Components {
|
|
|
2457
2544
|
* Setting to `true` disables editing the attribute on the entity builder UI
|
|
2458
2545
|
*/
|
|
2459
2546
|
entity_builder_disable_edit?: boolean;
|
|
2460
|
-
|
|
2547
|
+
/**
|
|
2548
|
+
* Setting to `true` prevents the attribute from being modified / deleted
|
|
2549
|
+
*/
|
|
2550
|
+
protected?: boolean;
|
|
2461
2551
|
type?: "relation_user";
|
|
2462
2552
|
multiple?: boolean;
|
|
2463
2553
|
}
|
|
@@ -2600,6 +2690,27 @@ declare namespace Paths {
|
|
|
2600
2690
|
Components.Schemas.EntityItem;
|
|
2601
2691
|
}
|
|
2602
2692
|
}
|
|
2693
|
+
namespace CreateNewSchemaVersion {
|
|
2694
|
+
namespace Parameters {
|
|
2695
|
+
export type Draft = boolean;
|
|
2696
|
+
export type Slug = /**
|
|
2697
|
+
* URL-friendly identifier for the entity schema
|
|
2698
|
+
* example:
|
|
2699
|
+
* contact
|
|
2700
|
+
*/
|
|
2701
|
+
Components.Schemas.EntitySlug;
|
|
2702
|
+
}
|
|
2703
|
+
export interface PathParameters {
|
|
2704
|
+
slug: Parameters.Slug;
|
|
2705
|
+
}
|
|
2706
|
+
export interface QueryParameters {
|
|
2707
|
+
draft?: Parameters.Draft;
|
|
2708
|
+
}
|
|
2709
|
+
export type RequestBody = /* The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities. */ Components.Schemas.EntitySchema;
|
|
2710
|
+
namespace Responses {
|
|
2711
|
+
export type $200 = /* The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities. */ Components.Schemas.EntitySchemaItem;
|
|
2712
|
+
}
|
|
2713
|
+
}
|
|
2603
2714
|
namespace DeleteEntity {
|
|
2604
2715
|
namespace Parameters {
|
|
2605
2716
|
export type ActivityId = /**
|
|
@@ -2651,9 +2762,9 @@ declare namespace Paths {
|
|
|
2651
2762
|
}
|
|
2652
2763
|
}
|
|
2653
2764
|
}
|
|
2654
|
-
namespace
|
|
2765
|
+
namespace DeleteSchemaById {
|
|
2655
2766
|
namespace Parameters {
|
|
2656
|
-
export type Id =
|
|
2767
|
+
export type Id = /* Generated uuid for schema */ Components.Schemas.SchemaId /* uuid */;
|
|
2657
2768
|
export type Slug = /**
|
|
2658
2769
|
* URL-friendly identifier for the entity schema
|
|
2659
2770
|
* example:
|
|
@@ -2665,7 +2776,7 @@ declare namespace Paths {
|
|
|
2665
2776
|
slug: Parameters.Slug;
|
|
2666
2777
|
}
|
|
2667
2778
|
export interface QueryParameters {
|
|
2668
|
-
id
|
|
2779
|
+
id: Parameters.Id;
|
|
2669
2780
|
}
|
|
2670
2781
|
namespace Responses {
|
|
2671
2782
|
export interface $204 {
|
|
@@ -2810,7 +2921,7 @@ declare namespace Paths {
|
|
|
2810
2921
|
}
|
|
2811
2922
|
namespace GetSchema {
|
|
2812
2923
|
namespace Parameters {
|
|
2813
|
-
export type Id =
|
|
2924
|
+
export type Id = /* Generated uuid for schema */ Components.Schemas.SchemaId /* uuid */;
|
|
2814
2925
|
export type Slug = /**
|
|
2815
2926
|
* URL-friendly identifier for the entity schema
|
|
2816
2927
|
* example:
|
|
@@ -2842,7 +2953,8 @@ declare namespace Paths {
|
|
|
2842
2953
|
}
|
|
2843
2954
|
namespace Responses {
|
|
2844
2955
|
export interface $200 {
|
|
2845
|
-
|
|
2956
|
+
versions?: /* The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities. */ Components.Schemas.EntitySchemaItem[];
|
|
2957
|
+
drafts?: /* The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities. */ Components.Schemas.EntitySchemaItem[];
|
|
2846
2958
|
}
|
|
2847
2959
|
}
|
|
2848
2960
|
}
|
|
@@ -2854,31 +2966,16 @@ declare namespace Paths {
|
|
|
2854
2966
|
}
|
|
2855
2967
|
}
|
|
2856
2968
|
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
2969
|
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;
|
|
2970
|
+
export type Unpublished = boolean;
|
|
2875
2971
|
}
|
|
2876
2972
|
export interface QueryParameters {
|
|
2877
|
-
|
|
2973
|
+
unpublished?: Parameters.Unpublished;
|
|
2878
2974
|
}
|
|
2879
|
-
export type RequestBody = /* The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities. */ Components.Schemas.EntitySchema;
|
|
2880
2975
|
namespace Responses {
|
|
2881
|
-
export
|
|
2976
|
+
export interface $200 {
|
|
2977
|
+
results?: /* The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities. */ Components.Schemas.EntitySchemaItem[];
|
|
2978
|
+
}
|
|
2882
2979
|
}
|
|
2883
2980
|
}
|
|
2884
2981
|
namespace SearchEntities {
|
|
@@ -3026,10 +3123,10 @@ export interface OperationMethods {
|
|
|
3026
3123
|
/**
|
|
3027
3124
|
* listSchemas - listSchemas
|
|
3028
3125
|
*
|
|
3029
|
-
*
|
|
3126
|
+
* Get the latest version of local schema
|
|
3030
3127
|
*/
|
|
3031
3128
|
'listSchemas'(
|
|
3032
|
-
parameters?: Parameters<
|
|
3129
|
+
parameters?: Parameters<Paths.ListSchemas.QueryParameters> | null,
|
|
3033
3130
|
data?: any,
|
|
3034
3131
|
config?: AxiosRequestConfig
|
|
3035
3132
|
): OperationResponse<Paths.ListSchemas.Responses.$200>
|
|
@@ -3046,7 +3143,7 @@ export interface OperationMethods {
|
|
|
3046
3143
|
/**
|
|
3047
3144
|
* getSchemaVersions - getSchemaVersions
|
|
3048
3145
|
*
|
|
3049
|
-
* Get all versions of this schema
|
|
3146
|
+
* Get all versions of this schema ordered by the latest versions including drafts.
|
|
3050
3147
|
*/
|
|
3051
3148
|
'getSchemaVersions'(
|
|
3052
3149
|
parameters?: Parameters<Paths.GetSchemaVersions.PathParameters> | null,
|
|
@@ -3055,6 +3152,8 @@ export interface OperationMethods {
|
|
|
3055
3152
|
): OperationResponse<Paths.GetSchemaVersions.Responses.$200>
|
|
3056
3153
|
/**
|
|
3057
3154
|
* getSchema - getSchema
|
|
3155
|
+
*
|
|
3156
|
+
* By default gets the latest version of the Schema and to get the specific version of schema pass the id.
|
|
3058
3157
|
*/
|
|
3059
3158
|
'getSchema'(
|
|
3060
3159
|
parameters?: Parameters<Paths.GetSchema.PathParameters & Paths.GetSchema.QueryParameters> | null,
|
|
@@ -3062,23 +3161,25 @@ export interface OperationMethods {
|
|
|
3062
3161
|
config?: AxiosRequestConfig
|
|
3063
3162
|
): OperationResponse<Paths.GetSchema.Responses.$200>
|
|
3064
3163
|
/**
|
|
3065
|
-
*
|
|
3164
|
+
* createNewSchemaVersion - createNewSchemaVersion
|
|
3066
3165
|
*
|
|
3067
|
-
* Create new version of the schema
|
|
3166
|
+
* Create new version of the schema and default draft is false.
|
|
3068
3167
|
*/
|
|
3069
|
-
'
|
|
3070
|
-
parameters?: Parameters<Paths.
|
|
3071
|
-
data?: Paths.
|
|
3168
|
+
'createNewSchemaVersion'(
|
|
3169
|
+
parameters?: Parameters<Paths.CreateNewSchemaVersion.PathParameters & Paths.CreateNewSchemaVersion.QueryParameters> | null,
|
|
3170
|
+
data?: Paths.CreateNewSchemaVersion.RequestBody,
|
|
3072
3171
|
config?: AxiosRequestConfig
|
|
3073
|
-
): OperationResponse<Paths.
|
|
3172
|
+
): OperationResponse<Paths.CreateNewSchemaVersion.Responses.$200>
|
|
3074
3173
|
/**
|
|
3075
|
-
*
|
|
3174
|
+
* deleteSchemaById - deleteSchemaById
|
|
3175
|
+
*
|
|
3176
|
+
* Delete schema by Id
|
|
3076
3177
|
*/
|
|
3077
|
-
'
|
|
3078
|
-
parameters?: Parameters<Paths.
|
|
3178
|
+
'deleteSchemaById'(
|
|
3179
|
+
parameters?: Parameters<Paths.DeleteSchemaById.PathParameters & Paths.DeleteSchemaById.QueryParameters> | null,
|
|
3079
3180
|
data?: any,
|
|
3080
3181
|
config?: AxiosRequestConfig
|
|
3081
|
-
): OperationResponse<Paths.
|
|
3182
|
+
): OperationResponse<Paths.DeleteSchemaById.Responses.$204>
|
|
3082
3183
|
/**
|
|
3083
3184
|
* searchEntities - searchEntities
|
|
3084
3185
|
*
|
|
@@ -3394,10 +3495,10 @@ export interface PathsDictionary {
|
|
|
3394
3495
|
/**
|
|
3395
3496
|
* listSchemas - listSchemas
|
|
3396
3497
|
*
|
|
3397
|
-
*
|
|
3498
|
+
* Get the latest version of local schema
|
|
3398
3499
|
*/
|
|
3399
3500
|
'get'(
|
|
3400
|
-
parameters?: Parameters<
|
|
3501
|
+
parameters?: Parameters<Paths.ListSchemas.QueryParameters> | null,
|
|
3401
3502
|
data?: any,
|
|
3402
3503
|
config?: AxiosRequestConfig
|
|
3403
3504
|
): OperationResponse<Paths.ListSchemas.Responses.$200>
|
|
@@ -3418,7 +3519,7 @@ export interface PathsDictionary {
|
|
|
3418
3519
|
/**
|
|
3419
3520
|
* getSchemaVersions - getSchemaVersions
|
|
3420
3521
|
*
|
|
3421
|
-
* Get all versions of this schema
|
|
3522
|
+
* Get all versions of this schema ordered by the latest versions including drafts.
|
|
3422
3523
|
*/
|
|
3423
3524
|
'get'(
|
|
3424
3525
|
parameters?: Parameters<Paths.GetSchemaVersions.PathParameters> | null,
|
|
@@ -3429,6 +3530,8 @@ export interface PathsDictionary {
|
|
|
3429
3530
|
['/v1/entity/schemas/{slug}']: {
|
|
3430
3531
|
/**
|
|
3431
3532
|
* getSchema - getSchema
|
|
3533
|
+
*
|
|
3534
|
+
* By default gets the latest version of the Schema and to get the specific version of schema pass the id.
|
|
3432
3535
|
*/
|
|
3433
3536
|
'get'(
|
|
3434
3537
|
parameters?: Parameters<Paths.GetSchema.PathParameters & Paths.GetSchema.QueryParameters> | null,
|
|
@@ -3436,23 +3539,25 @@ export interface PathsDictionary {
|
|
|
3436
3539
|
config?: AxiosRequestConfig
|
|
3437
3540
|
): OperationResponse<Paths.GetSchema.Responses.$200>
|
|
3438
3541
|
/**
|
|
3439
|
-
*
|
|
3542
|
+
* createNewSchemaVersion - createNewSchemaVersion
|
|
3440
3543
|
*
|
|
3441
|
-
* Create new version of the schema
|
|
3544
|
+
* Create new version of the schema and default draft is false.
|
|
3442
3545
|
*/
|
|
3443
3546
|
'put'(
|
|
3444
|
-
parameters?: Parameters<Paths.
|
|
3445
|
-
data?: Paths.
|
|
3547
|
+
parameters?: Parameters<Paths.CreateNewSchemaVersion.PathParameters & Paths.CreateNewSchemaVersion.QueryParameters> | null,
|
|
3548
|
+
data?: Paths.CreateNewSchemaVersion.RequestBody,
|
|
3446
3549
|
config?: AxiosRequestConfig
|
|
3447
|
-
): OperationResponse<Paths.
|
|
3550
|
+
): OperationResponse<Paths.CreateNewSchemaVersion.Responses.$200>
|
|
3448
3551
|
/**
|
|
3449
|
-
*
|
|
3552
|
+
* deleteSchemaById - deleteSchemaById
|
|
3553
|
+
*
|
|
3554
|
+
* Delete schema by Id
|
|
3450
3555
|
*/
|
|
3451
3556
|
'delete'(
|
|
3452
|
-
parameters?: Parameters<Paths.
|
|
3557
|
+
parameters?: Parameters<Paths.DeleteSchemaById.PathParameters & Paths.DeleteSchemaById.QueryParameters> | null,
|
|
3453
3558
|
data?: any,
|
|
3454
3559
|
config?: AxiosRequestConfig
|
|
3455
|
-
): OperationResponse<Paths.
|
|
3560
|
+
): OperationResponse<Paths.DeleteSchemaById.Responses.$204>
|
|
3456
3561
|
}
|
|
3457
3562
|
['/v1/entity:search']: {
|
|
3458
3563
|
/**
|