@epilot/entity-client 1.31.1 → 2.1.1
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 +207 -163
- package/dist/openapi.json +162 -223
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -146,7 +146,7 @@ declare namespace Components {
|
|
|
146
146
|
download_url: string;
|
|
147
147
|
alt_text?: string;
|
|
148
148
|
}
|
|
149
|
-
export type Attribute = /* Textarea or text input */ TextAttribute | /* Link with title and href */ LinkAttribute | /* Date or Datetime picker */ DateAttribute | /* Country picker */ CountryAttribute | /* Yes / No Toggle */ BooleanAttribute | /* Dropdown select */ SelectAttribute | /* Entity Relationship */ RelationAttribute | /* User Relationship */ UserRelationAttribute | /*
|
|
149
|
+
export type Attribute = /* Textarea or text input */ TextAttribute | /* Link with title and href */ LinkAttribute | /* Date or Datetime picker */ DateAttribute | /* Country picker */ CountryAttribute | /* Yes / No Toggle */ BooleanAttribute | /* Dropdown select */ SelectAttribute | /* Entity Relationship */ RelationAttribute | /* User Relationship */ UserRelationAttribute | /* Currency input */ CurrencyAttribute | /* Repeatable (add N number of fields) */ RepeatableAttribute | /* Tags */ TagsAttribute | /* Numeric input */ NumberAttribute | /* Consent Management */ ConsentAttribute | /* No UI representation */ InternalAttribute | /* Type of attribute to render N number of ordered fields */ OrderedListAttribute | /* File or Image Attachment */ FileAttribute | /* Custom input */ CustomAttribute | /* Payment input */ PaymentAttribute;
|
|
150
150
|
export interface BaseAttribute {
|
|
151
151
|
name: string;
|
|
152
152
|
label: string;
|
|
@@ -202,6 +202,8 @@ declare namespace Components {
|
|
|
202
202
|
* FF_MY_FEATURE_FLAG
|
|
203
203
|
*/
|
|
204
204
|
feature_flag?: string;
|
|
205
|
+
value_formatter?: string;
|
|
206
|
+
preview_value_formatter?: string;
|
|
205
207
|
}
|
|
206
208
|
/**
|
|
207
209
|
* example:
|
|
@@ -237,17 +239,10 @@ declare namespace Components {
|
|
|
237
239
|
_created_at: string; // date-time
|
|
238
240
|
_updated_at: string; // date-time
|
|
239
241
|
}
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
* example:
|
|
244
|
-
* Power & Gas Utilities
|
|
245
|
-
*/
|
|
246
|
-
name?: string;
|
|
247
|
-
schemas?: /* The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities. */ EntitySchema[];
|
|
248
|
-
}
|
|
242
|
+
/**
|
|
243
|
+
* Reference to blueprint
|
|
244
|
+
*/
|
|
249
245
|
export type BlueprintEntityId = string; // uuid
|
|
250
|
-
export type BlueprintId = string; // uuid
|
|
251
246
|
/**
|
|
252
247
|
* Yes / No Toggle
|
|
253
248
|
*/
|
|
@@ -306,6 +301,8 @@ declare namespace Components {
|
|
|
306
301
|
* FF_MY_FEATURE_FLAG
|
|
307
302
|
*/
|
|
308
303
|
feature_flag?: string;
|
|
304
|
+
value_formatter?: string;
|
|
305
|
+
preview_value_formatter?: string;
|
|
309
306
|
type?: "boolean";
|
|
310
307
|
}
|
|
311
308
|
/**
|
|
@@ -366,6 +363,8 @@ declare namespace Components {
|
|
|
366
363
|
* FF_MY_FEATURE_FLAG
|
|
367
364
|
*/
|
|
368
365
|
feature_flag?: string;
|
|
366
|
+
value_formatter?: string;
|
|
367
|
+
preview_value_formatter?: string;
|
|
369
368
|
type: "consent";
|
|
370
369
|
topic: string;
|
|
371
370
|
identifiers?: string[];
|
|
@@ -428,6 +427,8 @@ declare namespace Components {
|
|
|
428
427
|
* FF_MY_FEATURE_FLAG
|
|
429
428
|
*/
|
|
430
429
|
feature_flag?: string;
|
|
430
|
+
value_formatter?: string;
|
|
431
|
+
preview_value_formatter?: string;
|
|
431
432
|
type?: "country";
|
|
432
433
|
}
|
|
433
434
|
/**
|
|
@@ -488,6 +489,8 @@ declare namespace Components {
|
|
|
488
489
|
* FF_MY_FEATURE_FLAG
|
|
489
490
|
*/
|
|
490
491
|
feature_flag?: string;
|
|
492
|
+
value_formatter?: string;
|
|
493
|
+
preview_value_formatter?: string;
|
|
491
494
|
type: "currency";
|
|
492
495
|
/**
|
|
493
496
|
* An array of currency configurations with a country code (ISO-4217)
|
|
@@ -499,6 +502,68 @@ declare namespace Components {
|
|
|
499
502
|
flag?: string;
|
|
500
503
|
})[];
|
|
501
504
|
}
|
|
505
|
+
/**
|
|
506
|
+
* Custom input
|
|
507
|
+
*/
|
|
508
|
+
export interface CustomAttribute {
|
|
509
|
+
name: string;
|
|
510
|
+
label: string;
|
|
511
|
+
placeholder?: string;
|
|
512
|
+
/**
|
|
513
|
+
* Do not render attribute in entity views
|
|
514
|
+
*/
|
|
515
|
+
hidden?: boolean;
|
|
516
|
+
/**
|
|
517
|
+
* Render as a column in table views. When defined, overrides `hidden`
|
|
518
|
+
*/
|
|
519
|
+
show_in_table?: boolean;
|
|
520
|
+
required?: boolean;
|
|
521
|
+
readonly?: boolean;
|
|
522
|
+
deprecated?: boolean;
|
|
523
|
+
default_value?: string | {
|
|
524
|
+
[name: string]: any;
|
|
525
|
+
} | number | number | boolean | any[];
|
|
526
|
+
group?: string;
|
|
527
|
+
layout?: string;
|
|
528
|
+
/**
|
|
529
|
+
* When set to true, will hide the label of the field.
|
|
530
|
+
*/
|
|
531
|
+
hide_label?: boolean;
|
|
532
|
+
/**
|
|
533
|
+
* Code name of the icon to used to represent this attribute.
|
|
534
|
+
* The value must be a valid @epilot/base-elements Icon name
|
|
535
|
+
*
|
|
536
|
+
*/
|
|
537
|
+
icon?: string;
|
|
538
|
+
/**
|
|
539
|
+
* Defines the conditional rendering expression for showing this field.
|
|
540
|
+
* When a valid expression is parsed, their evaluation defines the visibility of this attribute.
|
|
541
|
+
* Note: Empty or invalid expression have no effect on the field visibility.
|
|
542
|
+
*
|
|
543
|
+
*/
|
|
544
|
+
render_condition?: string;
|
|
545
|
+
/**
|
|
546
|
+
* A set of constraints applicable to the attribute.
|
|
547
|
+
* These constraints should and will be enforced by the attribute renderer.
|
|
548
|
+
*
|
|
549
|
+
* example:
|
|
550
|
+
* {
|
|
551
|
+
* "disablePast": true
|
|
552
|
+
* }
|
|
553
|
+
*/
|
|
554
|
+
constraints?: {
|
|
555
|
+
[key: string]: any;
|
|
556
|
+
};
|
|
557
|
+
/**
|
|
558
|
+
* This attribute should only be active when the feature flag is enabled
|
|
559
|
+
* example:
|
|
560
|
+
* FF_MY_FEATURE_FLAG
|
|
561
|
+
*/
|
|
562
|
+
feature_flag?: string;
|
|
563
|
+
value_formatter?: string;
|
|
564
|
+
preview_value_formatter?: string;
|
|
565
|
+
type?: "custom";
|
|
566
|
+
}
|
|
502
567
|
/**
|
|
503
568
|
* Date or Datetime picker
|
|
504
569
|
*/
|
|
@@ -557,6 +622,8 @@ declare namespace Components {
|
|
|
557
622
|
* FF_MY_FEATURE_FLAG
|
|
558
623
|
*/
|
|
559
624
|
feature_flag?: string;
|
|
625
|
+
value_formatter?: string;
|
|
626
|
+
preview_value_formatter?: string;
|
|
560
627
|
type?: "date" | "datetime";
|
|
561
628
|
}
|
|
562
629
|
export interface Entity {
|
|
@@ -790,7 +857,7 @@ declare namespace Components {
|
|
|
790
857
|
* contact
|
|
791
858
|
*/
|
|
792
859
|
EntitySlug;
|
|
793
|
-
blueprint?: BlueprintEntityId /* uuid */;
|
|
860
|
+
blueprint?: /* Reference to blueprint */ BlueprintEntityId /* uuid */;
|
|
794
861
|
/**
|
|
795
862
|
* This schema should only be active when the feature flag is enabled
|
|
796
863
|
* example:
|
|
@@ -847,6 +914,10 @@ declare namespace Components {
|
|
|
847
914
|
group_settings?: {
|
|
848
915
|
[name: string]: {
|
|
849
916
|
expanded?: boolean;
|
|
917
|
+
/**
|
|
918
|
+
* Render order of the group
|
|
919
|
+
*/
|
|
920
|
+
order?: number;
|
|
850
921
|
};
|
|
851
922
|
};
|
|
852
923
|
/**
|
|
@@ -918,7 +989,7 @@ declare namespace Components {
|
|
|
918
989
|
* contact
|
|
919
990
|
*/
|
|
920
991
|
EntitySlug;
|
|
921
|
-
blueprint?: BlueprintEntityId /* uuid */;
|
|
992
|
+
blueprint?: /* Reference to blueprint */ BlueprintEntityId /* uuid */;
|
|
922
993
|
/**
|
|
923
994
|
* This schema should only be active when the feature flag is enabled
|
|
924
995
|
* example:
|
|
@@ -975,6 +1046,10 @@ declare namespace Components {
|
|
|
975
1046
|
group_settings?: {
|
|
976
1047
|
[name: string]: {
|
|
977
1048
|
expanded?: boolean;
|
|
1049
|
+
/**
|
|
1050
|
+
* Render order of the group
|
|
1051
|
+
*/
|
|
1052
|
+
order?: number;
|
|
978
1053
|
};
|
|
979
1054
|
};
|
|
980
1055
|
/**
|
|
@@ -1041,7 +1116,7 @@ declare namespace Components {
|
|
|
1041
1116
|
* example:
|
|
1042
1117
|
* _schema:contact AND status:active
|
|
1043
1118
|
*/
|
|
1044
|
-
q
|
|
1119
|
+
q: string;
|
|
1045
1120
|
/**
|
|
1046
1121
|
* example:
|
|
1047
1122
|
* _created_at:desc
|
|
@@ -1172,6 +1247,8 @@ declare namespace Components {
|
|
|
1172
1247
|
* FF_MY_FEATURE_FLAG
|
|
1173
1248
|
*/
|
|
1174
1249
|
feature_flag?: string;
|
|
1250
|
+
value_formatter?: string;
|
|
1251
|
+
preview_value_formatter?: string;
|
|
1175
1252
|
type: "image" | "file";
|
|
1176
1253
|
multiple?: boolean;
|
|
1177
1254
|
/**
|
|
@@ -1383,6 +1460,8 @@ declare namespace Components {
|
|
|
1383
1460
|
* FF_MY_FEATURE_FLAG
|
|
1384
1461
|
*/
|
|
1385
1462
|
feature_flag?: string;
|
|
1463
|
+
value_formatter?: string;
|
|
1464
|
+
preview_value_formatter?: string;
|
|
1386
1465
|
type?: "internal";
|
|
1387
1466
|
}
|
|
1388
1467
|
/**
|
|
@@ -1443,6 +1522,8 @@ declare namespace Components {
|
|
|
1443
1522
|
* FF_MY_FEATURE_FLAG
|
|
1444
1523
|
*/
|
|
1445
1524
|
feature_flag?: string;
|
|
1525
|
+
value_formatter?: string;
|
|
1526
|
+
preview_value_formatter?: string;
|
|
1446
1527
|
type?: "link";
|
|
1447
1528
|
}
|
|
1448
1529
|
/**
|
|
@@ -1503,6 +1584,8 @@ declare namespace Components {
|
|
|
1503
1584
|
* FF_MY_FEATURE_FLAG
|
|
1504
1585
|
*/
|
|
1505
1586
|
feature_flag?: string;
|
|
1587
|
+
value_formatter?: string;
|
|
1588
|
+
preview_value_formatter?: string;
|
|
1506
1589
|
type?: "number";
|
|
1507
1590
|
format?: string;
|
|
1508
1591
|
}
|
|
@@ -1564,8 +1647,72 @@ declare namespace Components {
|
|
|
1564
1647
|
* FF_MY_FEATURE_FLAG
|
|
1565
1648
|
*/
|
|
1566
1649
|
feature_flag?: string;
|
|
1650
|
+
value_formatter?: string;
|
|
1651
|
+
preview_value_formatter?: string;
|
|
1567
1652
|
type?: "ordered_list";
|
|
1568
1653
|
}
|
|
1654
|
+
/**
|
|
1655
|
+
* Payment input
|
|
1656
|
+
*/
|
|
1657
|
+
export interface PaymentAttribute {
|
|
1658
|
+
name: string;
|
|
1659
|
+
label: string;
|
|
1660
|
+
placeholder?: string;
|
|
1661
|
+
/**
|
|
1662
|
+
* Do not render attribute in entity views
|
|
1663
|
+
*/
|
|
1664
|
+
hidden?: boolean;
|
|
1665
|
+
/**
|
|
1666
|
+
* Render as a column in table views. When defined, overrides `hidden`
|
|
1667
|
+
*/
|
|
1668
|
+
show_in_table?: boolean;
|
|
1669
|
+
required?: boolean;
|
|
1670
|
+
readonly?: boolean;
|
|
1671
|
+
deprecated?: boolean;
|
|
1672
|
+
default_value?: string | {
|
|
1673
|
+
[name: string]: any;
|
|
1674
|
+
} | number | number | boolean | any[];
|
|
1675
|
+
group?: string;
|
|
1676
|
+
layout?: string;
|
|
1677
|
+
/**
|
|
1678
|
+
* When set to true, will hide the label of the field.
|
|
1679
|
+
*/
|
|
1680
|
+
hide_label?: boolean;
|
|
1681
|
+
/**
|
|
1682
|
+
* Code name of the icon to used to represent this attribute.
|
|
1683
|
+
* The value must be a valid @epilot/base-elements Icon name
|
|
1684
|
+
*
|
|
1685
|
+
*/
|
|
1686
|
+
icon?: string;
|
|
1687
|
+
/**
|
|
1688
|
+
* Defines the conditional rendering expression for showing this field.
|
|
1689
|
+
* When a valid expression is parsed, their evaluation defines the visibility of this attribute.
|
|
1690
|
+
* Note: Empty or invalid expression have no effect on the field visibility.
|
|
1691
|
+
*
|
|
1692
|
+
*/
|
|
1693
|
+
render_condition?: string;
|
|
1694
|
+
/**
|
|
1695
|
+
* A set of constraints applicable to the attribute.
|
|
1696
|
+
* These constraints should and will be enforced by the attribute renderer.
|
|
1697
|
+
*
|
|
1698
|
+
* example:
|
|
1699
|
+
* {
|
|
1700
|
+
* "disablePast": true
|
|
1701
|
+
* }
|
|
1702
|
+
*/
|
|
1703
|
+
constraints?: {
|
|
1704
|
+
[key: string]: any;
|
|
1705
|
+
};
|
|
1706
|
+
/**
|
|
1707
|
+
* This attribute should only be active when the feature flag is enabled
|
|
1708
|
+
* example:
|
|
1709
|
+
* FF_MY_FEATURE_FLAG
|
|
1710
|
+
*/
|
|
1711
|
+
feature_flag?: string;
|
|
1712
|
+
value_formatter?: string;
|
|
1713
|
+
preview_value_formatter?: string;
|
|
1714
|
+
type?: "payment";
|
|
1715
|
+
}
|
|
1569
1716
|
/**
|
|
1570
1717
|
* example:
|
|
1571
1718
|
* {
|
|
@@ -1639,6 +1786,8 @@ declare namespace Components {
|
|
|
1639
1786
|
* FF_MY_FEATURE_FLAG
|
|
1640
1787
|
*/
|
|
1641
1788
|
feature_flag?: string;
|
|
1789
|
+
value_formatter?: string;
|
|
1790
|
+
preview_value_formatter?: string;
|
|
1642
1791
|
type?: "relation";
|
|
1643
1792
|
relation_type?: "belongs_to" | "has_many";
|
|
1644
1793
|
delete_mode?: "cascade";
|
|
@@ -1711,6 +1860,8 @@ declare namespace Components {
|
|
|
1711
1860
|
* FF_MY_FEATURE_FLAG
|
|
1712
1861
|
*/
|
|
1713
1862
|
feature_flag?: string;
|
|
1863
|
+
value_formatter?: string;
|
|
1864
|
+
preview_value_formatter?: string;
|
|
1714
1865
|
repeatable?: boolean;
|
|
1715
1866
|
relation_affinity_mode?: "weak" | "strong";
|
|
1716
1867
|
type?: "string" | "phone" | "email" | "address" | "relation";
|
|
@@ -1777,6 +1928,8 @@ declare namespace Components {
|
|
|
1777
1928
|
* FF_MY_FEATURE_FLAG
|
|
1778
1929
|
*/
|
|
1779
1930
|
feature_flag?: string;
|
|
1931
|
+
value_formatter?: string;
|
|
1932
|
+
preview_value_formatter?: string;
|
|
1780
1933
|
type?: "select" | "radio";
|
|
1781
1934
|
options?: (string | {
|
|
1782
1935
|
value: string;
|
|
@@ -1854,71 +2007,12 @@ declare namespace Components {
|
|
|
1854
2007
|
* FF_MY_FEATURE_FLAG
|
|
1855
2008
|
*/
|
|
1856
2009
|
feature_flag?: string;
|
|
2010
|
+
value_formatter?: string;
|
|
2011
|
+
preview_value_formatter?: string;
|
|
1857
2012
|
type?: "tags";
|
|
1858
2013
|
options?: string[];
|
|
1859
2014
|
suggestions?: string[];
|
|
1860
2015
|
}
|
|
1861
|
-
/**
|
|
1862
|
-
* Tax Relationship
|
|
1863
|
-
*/
|
|
1864
|
-
export interface TaxRelationAttribute {
|
|
1865
|
-
name: string;
|
|
1866
|
-
label: string;
|
|
1867
|
-
placeholder?: string;
|
|
1868
|
-
/**
|
|
1869
|
-
* Do not render attribute in entity views
|
|
1870
|
-
*/
|
|
1871
|
-
hidden?: boolean;
|
|
1872
|
-
/**
|
|
1873
|
-
* Render as a column in table views. When defined, overrides `hidden`
|
|
1874
|
-
*/
|
|
1875
|
-
show_in_table?: boolean;
|
|
1876
|
-
required?: boolean;
|
|
1877
|
-
readonly?: boolean;
|
|
1878
|
-
deprecated?: boolean;
|
|
1879
|
-
default_value?: string | {
|
|
1880
|
-
[name: string]: any;
|
|
1881
|
-
} | number | number | boolean | any[];
|
|
1882
|
-
group?: string;
|
|
1883
|
-
layout?: string;
|
|
1884
|
-
/**
|
|
1885
|
-
* When set to true, will hide the label of the field.
|
|
1886
|
-
*/
|
|
1887
|
-
hide_label?: boolean;
|
|
1888
|
-
/**
|
|
1889
|
-
* Code name of the icon to used to represent this attribute.
|
|
1890
|
-
* The value must be a valid @epilot/base-elements Icon name
|
|
1891
|
-
*
|
|
1892
|
-
*/
|
|
1893
|
-
icon?: string;
|
|
1894
|
-
/**
|
|
1895
|
-
* Defines the conditional rendering expression for showing this field.
|
|
1896
|
-
* When a valid expression is parsed, their evaluation defines the visibility of this attribute.
|
|
1897
|
-
* Note: Empty or invalid expression have no effect on the field visibility.
|
|
1898
|
-
*
|
|
1899
|
-
*/
|
|
1900
|
-
render_condition?: string;
|
|
1901
|
-
/**
|
|
1902
|
-
* A set of constraints applicable to the attribute.
|
|
1903
|
-
* These constraints should and will be enforced by the attribute renderer.
|
|
1904
|
-
*
|
|
1905
|
-
* example:
|
|
1906
|
-
* {
|
|
1907
|
-
* "disablePast": true
|
|
1908
|
-
* }
|
|
1909
|
-
*/
|
|
1910
|
-
constraints?: {
|
|
1911
|
-
[key: string]: any;
|
|
1912
|
-
};
|
|
1913
|
-
/**
|
|
1914
|
-
* This attribute should only be active when the feature flag is enabled
|
|
1915
|
-
* example:
|
|
1916
|
-
* FF_MY_FEATURE_FLAG
|
|
1917
|
-
*/
|
|
1918
|
-
feature_flag?: string;
|
|
1919
|
-
type?: "relation_tax";
|
|
1920
|
-
multiple?: boolean;
|
|
1921
|
-
}
|
|
1922
2016
|
/**
|
|
1923
2017
|
* Textarea or text input
|
|
1924
2018
|
*/
|
|
@@ -1977,6 +2071,8 @@ declare namespace Components {
|
|
|
1977
2071
|
* FF_MY_FEATURE_FLAG
|
|
1978
2072
|
*/
|
|
1979
2073
|
feature_flag?: string;
|
|
2074
|
+
value_formatter?: string;
|
|
2075
|
+
preview_value_formatter?: string;
|
|
1980
2076
|
type?: "string";
|
|
1981
2077
|
multiline?: boolean;
|
|
1982
2078
|
}
|
|
@@ -2038,6 +2134,8 @@ declare namespace Components {
|
|
|
2038
2134
|
* FF_MY_FEATURE_FLAG
|
|
2039
2135
|
*/
|
|
2040
2136
|
feature_flag?: string;
|
|
2137
|
+
value_formatter?: string;
|
|
2138
|
+
preview_value_formatter?: string;
|
|
2041
2139
|
type?: "relation_user";
|
|
2042
2140
|
multiple?: boolean;
|
|
2043
2141
|
}
|
|
@@ -2222,17 +2320,6 @@ declare namespace Paths {
|
|
|
2222
2320
|
export type $200 = Components.Schemas.ActivityItem;
|
|
2223
2321
|
}
|
|
2224
2322
|
}
|
|
2225
|
-
namespace GetBlueprint {
|
|
2226
|
-
namespace Parameters {
|
|
2227
|
-
export type Id = Components.Schemas.BlueprintId /* uuid */;
|
|
2228
|
-
}
|
|
2229
|
-
export interface PathParameters {
|
|
2230
|
-
id: Parameters.Id;
|
|
2231
|
-
}
|
|
2232
|
-
namespace Responses {
|
|
2233
|
-
export type $200 = Components.Schemas.Blueprint;
|
|
2234
|
-
}
|
|
2235
|
-
}
|
|
2236
2323
|
namespace GetEntity {
|
|
2237
2324
|
namespace Parameters {
|
|
2238
2325
|
export type Hydrate = boolean;
|
|
@@ -2371,13 +2458,6 @@ declare namespace Paths {
|
|
|
2371
2458
|
export type $200 = /* The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities. */ Components.Schemas.EntitySchemaItem;
|
|
2372
2459
|
}
|
|
2373
2460
|
}
|
|
2374
|
-
namespace SearchAvailableBlueprints {
|
|
2375
|
-
namespace Responses {
|
|
2376
|
-
export interface $200 {
|
|
2377
|
-
results?: Components.Schemas.Blueprint[];
|
|
2378
|
-
}
|
|
2379
|
-
}
|
|
2380
|
-
}
|
|
2381
2461
|
namespace SearchEntities {
|
|
2382
2462
|
export type RequestBody = Components.Schemas.EntitySearchParams;
|
|
2383
2463
|
namespace Responses {
|
|
@@ -2580,17 +2660,6 @@ export interface OperationMethods {
|
|
|
2580
2660
|
data?: Paths.SearchEntities.RequestBody,
|
|
2581
2661
|
config?: AxiosRequestConfig
|
|
2582
2662
|
): OperationResponse<Paths.SearchEntities.Responses.$200>
|
|
2583
|
-
/**
|
|
2584
|
-
* autocomplete - autocomplete
|
|
2585
|
-
*
|
|
2586
|
-
* Autocomplete entity attributes
|
|
2587
|
-
*
|
|
2588
|
-
*/
|
|
2589
|
-
'autocomplete'(
|
|
2590
|
-
parameters?: Parameters<Paths.Autocomplete.QueryParameters> | null,
|
|
2591
|
-
data?: any,
|
|
2592
|
-
config?: AxiosRequestConfig
|
|
2593
|
-
): OperationResponse<Paths.Autocomplete.Responses.$200>
|
|
2594
2663
|
/**
|
|
2595
2664
|
* createEntity - createEntity
|
|
2596
2665
|
*
|
|
@@ -2748,6 +2817,17 @@ export interface OperationMethods {
|
|
|
2748
2817
|
data?: any,
|
|
2749
2818
|
config?: AxiosRequestConfig
|
|
2750
2819
|
): OperationResponse<Paths.DeleteEntity.Responses.$200>
|
|
2820
|
+
/**
|
|
2821
|
+
* autocomplete - autocomplete
|
|
2822
|
+
*
|
|
2823
|
+
* Autocomplete entity attributes
|
|
2824
|
+
*
|
|
2825
|
+
*/
|
|
2826
|
+
'autocomplete'(
|
|
2827
|
+
parameters?: Parameters<Paths.Autocomplete.QueryParameters> | null,
|
|
2828
|
+
data?: any,
|
|
2829
|
+
config?: AxiosRequestConfig
|
|
2830
|
+
): OperationResponse<Paths.Autocomplete.Responses.$200>
|
|
2751
2831
|
/**
|
|
2752
2832
|
* createActivity - createActivity
|
|
2753
2833
|
*
|
|
@@ -2793,26 +2873,10 @@ export interface OperationMethods {
|
|
|
2793
2873
|
data?: any,
|
|
2794
2874
|
config?: AxiosRequestConfig
|
|
2795
2875
|
): OperationResponse<Paths.GetEntityActivityFeed.Responses.$200>
|
|
2796
|
-
/**
|
|
2797
|
-
* searchAvailableBlueprints - searchAvailableBlueprints
|
|
2798
|
-
*/
|
|
2799
|
-
'searchAvailableBlueprints'(
|
|
2800
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2801
|
-
data?: any,
|
|
2802
|
-
config?: AxiosRequestConfig
|
|
2803
|
-
): OperationResponse<Paths.SearchAvailableBlueprints.Responses.$200>
|
|
2804
|
-
/**
|
|
2805
|
-
* getBlueprint - getBlueprint
|
|
2806
|
-
*/
|
|
2807
|
-
'getBlueprint'(
|
|
2808
|
-
parameters?: Parameters<Paths.GetBlueprint.PathParameters> | null,
|
|
2809
|
-
data?: any,
|
|
2810
|
-
config?: AxiosRequestConfig
|
|
2811
|
-
): OperationResponse<Paths.GetBlueprint.Responses.$200>
|
|
2812
2876
|
}
|
|
2813
2877
|
|
|
2814
2878
|
export interface PathsDictionary {
|
|
2815
|
-
['/schemas']: {
|
|
2879
|
+
['/v1/entity/schemas']: {
|
|
2816
2880
|
/**
|
|
2817
2881
|
* listSchemas - listSchemas
|
|
2818
2882
|
*/
|
|
@@ -2822,7 +2886,7 @@ export interface PathsDictionary {
|
|
|
2822
2886
|
config?: AxiosRequestConfig
|
|
2823
2887
|
): OperationResponse<Paths.ListSchemas.Responses.$200>
|
|
2824
2888
|
}
|
|
2825
|
-
['/schemas/{slug}']: {
|
|
2889
|
+
['/v1/entity/schemas/{slug}']: {
|
|
2826
2890
|
/**
|
|
2827
2891
|
* getSchema - getSchema
|
|
2828
2892
|
*/
|
|
@@ -2848,7 +2912,7 @@ export interface PathsDictionary {
|
|
|
2848
2912
|
config?: AxiosRequestConfig
|
|
2849
2913
|
): OperationResponse<Paths.DeleteSchema.Responses.$204>
|
|
2850
2914
|
}
|
|
2851
|
-
['/entity:search']: {
|
|
2915
|
+
['/v1/entity:search']: {
|
|
2852
2916
|
/**
|
|
2853
2917
|
* searchEntities - searchEntities
|
|
2854
2918
|
*
|
|
@@ -2903,20 +2967,7 @@ export interface PathsDictionary {
|
|
|
2903
2967
|
config?: AxiosRequestConfig
|
|
2904
2968
|
): OperationResponse<Paths.SearchEntities.Responses.$200>
|
|
2905
2969
|
}
|
|
2906
|
-
['/entity
|
|
2907
|
-
/**
|
|
2908
|
-
* autocomplete - autocomplete
|
|
2909
|
-
*
|
|
2910
|
-
* Autocomplete entity attributes
|
|
2911
|
-
*
|
|
2912
|
-
*/
|
|
2913
|
-
'get'(
|
|
2914
|
-
parameters?: Parameters<Paths.Autocomplete.QueryParameters> | null,
|
|
2915
|
-
data?: any,
|
|
2916
|
-
config?: AxiosRequestConfig
|
|
2917
|
-
): OperationResponse<Paths.Autocomplete.Responses.$200>
|
|
2918
|
-
}
|
|
2919
|
-
['/entity/{slug}']: {
|
|
2970
|
+
['/v1/entity/{slug}']: {
|
|
2920
2971
|
/**
|
|
2921
2972
|
* createEntity - createEntity
|
|
2922
2973
|
*
|
|
@@ -2953,7 +3004,7 @@ export interface PathsDictionary {
|
|
|
2953
3004
|
config?: AxiosRequestConfig
|
|
2954
3005
|
): OperationResponse<Paths.CreateEntity.Responses.$201>
|
|
2955
3006
|
}
|
|
2956
|
-
['/entity/{slug}:upsert']: {
|
|
3007
|
+
['/v1/entity/{slug}:upsert']: {
|
|
2957
3008
|
/**
|
|
2958
3009
|
* upsertEntity - upsertEntity
|
|
2959
3010
|
*
|
|
@@ -2974,7 +3025,7 @@ export interface PathsDictionary {
|
|
|
2974
3025
|
config?: AxiosRequestConfig
|
|
2975
3026
|
): OperationResponse<Paths.UpsertEntity.Responses.$200 | Paths.UpsertEntity.Responses.$201>
|
|
2976
3027
|
}
|
|
2977
|
-
['/entity/{slug}/{id}']: {
|
|
3028
|
+
['/v1/entity/{slug}/{id}']: {
|
|
2978
3029
|
/**
|
|
2979
3030
|
* getEntity - getEntity
|
|
2980
3031
|
*
|
|
@@ -3079,7 +3130,20 @@ export interface PathsDictionary {
|
|
|
3079
3130
|
config?: AxiosRequestConfig
|
|
3080
3131
|
): OperationResponse<Paths.DeleteEntity.Responses.$200>
|
|
3081
3132
|
}
|
|
3082
|
-
['/
|
|
3133
|
+
['/v1/entity:autocomplete']: {
|
|
3134
|
+
/**
|
|
3135
|
+
* autocomplete - autocomplete
|
|
3136
|
+
*
|
|
3137
|
+
* Autocomplete entity attributes
|
|
3138
|
+
*
|
|
3139
|
+
*/
|
|
3140
|
+
'get'(
|
|
3141
|
+
parameters?: Parameters<Paths.Autocomplete.QueryParameters> | null,
|
|
3142
|
+
data?: any,
|
|
3143
|
+
config?: AxiosRequestConfig
|
|
3144
|
+
): OperationResponse<Paths.Autocomplete.Responses.$200>
|
|
3145
|
+
}
|
|
3146
|
+
['/v1/entity/activity']: {
|
|
3083
3147
|
/**
|
|
3084
3148
|
* createActivity - createActivity
|
|
3085
3149
|
*
|
|
@@ -3095,7 +3159,7 @@ export interface PathsDictionary {
|
|
|
3095
3159
|
config?: AxiosRequestConfig
|
|
3096
3160
|
): OperationResponse<Paths.CreateActivity.Responses.$200>
|
|
3097
3161
|
}
|
|
3098
|
-
['/activity/{id}']: {
|
|
3162
|
+
['/v1/entity/activity/{id}']: {
|
|
3099
3163
|
/**
|
|
3100
3164
|
* getActivity - getActivity
|
|
3101
3165
|
*
|
|
@@ -3107,7 +3171,7 @@ export interface PathsDictionary {
|
|
|
3107
3171
|
config?: AxiosRequestConfig
|
|
3108
3172
|
): OperationResponse<Paths.GetActivity.Responses.$200>
|
|
3109
3173
|
}
|
|
3110
|
-
['/activity/{id}:attach']: {
|
|
3174
|
+
['/v1/entity/activity/{id}:attach']: {
|
|
3111
3175
|
/**
|
|
3112
3176
|
* attachActivity - attachActivity
|
|
3113
3177
|
*
|
|
@@ -3119,7 +3183,7 @@ export interface PathsDictionary {
|
|
|
3119
3183
|
config?: AxiosRequestConfig
|
|
3120
3184
|
): OperationResponse<Paths.AttachActivity.Responses.$200>
|
|
3121
3185
|
}
|
|
3122
|
-
['/entity/{slug}/{id}/activity']: {
|
|
3186
|
+
['/v1/entity/{slug}/{id}/activity']: {
|
|
3123
3187
|
/**
|
|
3124
3188
|
* getEntityActivityFeed - getEntityActivityFeed
|
|
3125
3189
|
*
|
|
@@ -3132,26 +3196,6 @@ export interface PathsDictionary {
|
|
|
3132
3196
|
config?: AxiosRequestConfig
|
|
3133
3197
|
): OperationResponse<Paths.GetEntityActivityFeed.Responses.$200>
|
|
3134
3198
|
}
|
|
3135
|
-
['/blueprints']: {
|
|
3136
|
-
/**
|
|
3137
|
-
* searchAvailableBlueprints - searchAvailableBlueprints
|
|
3138
|
-
*/
|
|
3139
|
-
'get'(
|
|
3140
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
3141
|
-
data?: any,
|
|
3142
|
-
config?: AxiosRequestConfig
|
|
3143
|
-
): OperationResponse<Paths.SearchAvailableBlueprints.Responses.$200>
|
|
3144
|
-
}
|
|
3145
|
-
['/blueprints/{id}']: {
|
|
3146
|
-
/**
|
|
3147
|
-
* getBlueprint - getBlueprint
|
|
3148
|
-
*/
|
|
3149
|
-
'get'(
|
|
3150
|
-
parameters?: Parameters<Paths.GetBlueprint.PathParameters> | null,
|
|
3151
|
-
data?: any,
|
|
3152
|
-
config?: AxiosRequestConfig
|
|
3153
|
-
): OperationResponse<Paths.GetBlueprint.Responses.$200>
|
|
3154
|
-
}
|
|
3155
3199
|
}
|
|
3156
3200
|
|
|
3157
3201
|
export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|