@epilot/entity-client 4.1.7 → 4.3.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/definition.js +1 -1
- package/dist/openapi.d.ts +362 -8
- package/dist/openapi.json +371 -6
- package/package.json +2 -3
- package/LICENSE +0 -21
package/dist/openapi.d.ts
CHANGED
|
@@ -1054,6 +1054,25 @@ declare namespace Components {
|
|
|
1054
1054
|
classic_view?: string; // uri
|
|
1055
1055
|
}
|
|
1056
1056
|
export type EntityId = string; // uuid
|
|
1057
|
+
export interface EntityImportParams {
|
|
1058
|
+
S3Reference: {
|
|
1059
|
+
/**
|
|
1060
|
+
* example:
|
|
1061
|
+
* epilot-files-prod
|
|
1062
|
+
*/
|
|
1063
|
+
bucket: string;
|
|
1064
|
+
/**
|
|
1065
|
+
* example:
|
|
1066
|
+
* 123/4d689aeb-1497-4410-a9fe-b36ca9ac4389/document.pdf
|
|
1067
|
+
*/
|
|
1068
|
+
key: string;
|
|
1069
|
+
};
|
|
1070
|
+
/**
|
|
1071
|
+
* example:
|
|
1072
|
+
* contact
|
|
1073
|
+
*/
|
|
1074
|
+
schema: string;
|
|
1075
|
+
}
|
|
1057
1076
|
/**
|
|
1058
1077
|
* example:
|
|
1059
1078
|
* {
|
|
@@ -1582,6 +1601,9 @@ declare namespace Components {
|
|
|
1582
1601
|
*/
|
|
1583
1602
|
sort?: string;
|
|
1584
1603
|
from?: number;
|
|
1604
|
+
/**
|
|
1605
|
+
* Max search size is 1000 with higher values defaulting to 1000
|
|
1606
|
+
*/
|
|
1585
1607
|
size?: number;
|
|
1586
1608
|
/**
|
|
1587
1609
|
* When true, enables entity hydration to resolve nested $relation & $relation_ref references in-place.
|
|
@@ -1597,6 +1619,10 @@ declare namespace Components {
|
|
|
1597
1619
|
* ]
|
|
1598
1620
|
*/
|
|
1599
1621
|
fields?: string[];
|
|
1622
|
+
/**
|
|
1623
|
+
* Adds a `_score` number field to results that can be used to rank by match score
|
|
1624
|
+
*/
|
|
1625
|
+
include_scores?: boolean;
|
|
1600
1626
|
}
|
|
1601
1627
|
export interface EntitySearchResults {
|
|
1602
1628
|
/**
|
|
@@ -2128,6 +2154,10 @@ declare namespace Components {
|
|
|
2128
2154
|
protected?: boolean;
|
|
2129
2155
|
type?: "invitation_email";
|
|
2130
2156
|
}
|
|
2157
|
+
/**
|
|
2158
|
+
* Pass 'true' to generate import template
|
|
2159
|
+
*/
|
|
2160
|
+
export type IsTemplate = boolean;
|
|
2131
2161
|
/**
|
|
2132
2162
|
* Link with title and href
|
|
2133
2163
|
*/
|
|
@@ -2801,6 +2831,14 @@ declare namespace Components {
|
|
|
2801
2831
|
* When enable_relation_tags is set to true the user will be able to set tags(labels) in each relation item.
|
|
2802
2832
|
*/
|
|
2803
2833
|
enable_relation_tags?: boolean;
|
|
2834
|
+
/**
|
|
2835
|
+
* Optional label for the add button. The translated value for add_button_lable is used, if found else the string is used as is.
|
|
2836
|
+
*/
|
|
2837
|
+
add_button_label?: string;
|
|
2838
|
+
/**
|
|
2839
|
+
* Optional placeholder text for the relation search input. The translated value for search_placeholder is used, if found else the string is used as is.
|
|
2840
|
+
*/
|
|
2841
|
+
search_placeholder?: string;
|
|
2804
2842
|
}
|
|
2805
2843
|
/**
|
|
2806
2844
|
* example:
|
|
@@ -2841,6 +2879,10 @@ declare namespace Components {
|
|
|
2841
2879
|
entity_id: EntityId /* uuid */;
|
|
2842
2880
|
attribute: string;
|
|
2843
2881
|
_tags?: string[];
|
|
2882
|
+
/**
|
|
2883
|
+
* Whether this is a reverse relation
|
|
2884
|
+
*/
|
|
2885
|
+
reverse?: boolean;
|
|
2844
2886
|
}
|
|
2845
2887
|
/**
|
|
2846
2888
|
* Repeatable (add N number of fields)
|
|
@@ -2925,6 +2967,113 @@ declare namespace Components {
|
|
|
2925
2967
|
*/
|
|
2926
2968
|
enable_relation_picker?: boolean;
|
|
2927
2969
|
}
|
|
2970
|
+
/**
|
|
2971
|
+
* A saved entity view
|
|
2972
|
+
*/
|
|
2973
|
+
export interface SavedView {
|
|
2974
|
+
/**
|
|
2975
|
+
* list of schemas a view can belong to
|
|
2976
|
+
*/
|
|
2977
|
+
slug: /**
|
|
2978
|
+
* URL-friendly identifier for the entity schema
|
|
2979
|
+
* example:
|
|
2980
|
+
* contact
|
|
2981
|
+
*/
|
|
2982
|
+
EntitySlug[];
|
|
2983
|
+
/**
|
|
2984
|
+
* User-friendly identifier for the saved view
|
|
2985
|
+
* example:
|
|
2986
|
+
* View listing German customers
|
|
2987
|
+
*/
|
|
2988
|
+
name: string;
|
|
2989
|
+
created_by: {
|
|
2990
|
+
/**
|
|
2991
|
+
* example:
|
|
2992
|
+
* 10598
|
|
2993
|
+
*/
|
|
2994
|
+
user_id?: string;
|
|
2995
|
+
} | {
|
|
2996
|
+
[name: string]: any;
|
|
2997
|
+
source?: "SYSTEM" | "BLUEPRINT";
|
|
2998
|
+
};
|
|
2999
|
+
/**
|
|
3000
|
+
* example:
|
|
3001
|
+
* {
|
|
3002
|
+
* "filters": {
|
|
3003
|
+
* "customer_name": "suresh test",
|
|
3004
|
+
* "_tags": "360"
|
|
3005
|
+
* },
|
|
3006
|
+
* "table_layout": {
|
|
3007
|
+
* "opportunity": {
|
|
3008
|
+
* "page": 1,
|
|
3009
|
+
* "sort": "_created_at:desc",
|
|
3010
|
+
* "pageSize": 25,
|
|
3011
|
+
* "columnSettings": []
|
|
3012
|
+
* }
|
|
3013
|
+
* }
|
|
3014
|
+
* }
|
|
3015
|
+
*/
|
|
3016
|
+
ui_config: {
|
|
3017
|
+
[key: string]: any;
|
|
3018
|
+
};
|
|
3019
|
+
}
|
|
3020
|
+
/**
|
|
3021
|
+
* Generated uuid for a saved view
|
|
3022
|
+
*/
|
|
3023
|
+
export type SavedViewId = string; // uuid
|
|
3024
|
+
/**
|
|
3025
|
+
* A saved entity view
|
|
3026
|
+
*/
|
|
3027
|
+
export interface SavedViewItem {
|
|
3028
|
+
id?: /* Generated uuid for a saved view */ SavedViewId /* uuid */;
|
|
3029
|
+
created_at?: string;
|
|
3030
|
+
updated_at?: string;
|
|
3031
|
+
/**
|
|
3032
|
+
* list of schemas a view can belong to
|
|
3033
|
+
*/
|
|
3034
|
+
slug: /**
|
|
3035
|
+
* URL-friendly identifier for the entity schema
|
|
3036
|
+
* example:
|
|
3037
|
+
* contact
|
|
3038
|
+
*/
|
|
3039
|
+
EntitySlug[];
|
|
3040
|
+
/**
|
|
3041
|
+
* User-friendly identifier for the saved view
|
|
3042
|
+
* example:
|
|
3043
|
+
* View listing German customers
|
|
3044
|
+
*/
|
|
3045
|
+
name: string;
|
|
3046
|
+
created_by: {
|
|
3047
|
+
/**
|
|
3048
|
+
* example:
|
|
3049
|
+
* 10598
|
|
3050
|
+
*/
|
|
3051
|
+
user_id?: string;
|
|
3052
|
+
} | {
|
|
3053
|
+
[name: string]: any;
|
|
3054
|
+
source?: "SYSTEM" | "BLUEPRINT";
|
|
3055
|
+
};
|
|
3056
|
+
/**
|
|
3057
|
+
* example:
|
|
3058
|
+
* {
|
|
3059
|
+
* "filters": {
|
|
3060
|
+
* "customer_name": "suresh test",
|
|
3061
|
+
* "_tags": "360"
|
|
3062
|
+
* },
|
|
3063
|
+
* "table_layout": {
|
|
3064
|
+
* "opportunity": {
|
|
3065
|
+
* "page": 1,
|
|
3066
|
+
* "sort": "_created_at:desc",
|
|
3067
|
+
* "pageSize": 25,
|
|
3068
|
+
* "columnSettings": []
|
|
3069
|
+
* }
|
|
3070
|
+
* }
|
|
3071
|
+
* }
|
|
3072
|
+
*/
|
|
3073
|
+
ui_config: {
|
|
3074
|
+
[key: string]: any;
|
|
3075
|
+
};
|
|
3076
|
+
}
|
|
2928
3077
|
/**
|
|
2929
3078
|
* Generated uuid for schema
|
|
2930
3079
|
*/
|
|
@@ -3648,6 +3797,12 @@ declare namespace Paths {
|
|
|
3648
3797
|
export type $200 = /* The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities. */ Components.Schemas.EntitySchemaItem;
|
|
3649
3798
|
}
|
|
3650
3799
|
}
|
|
3800
|
+
namespace CreateSavedView {
|
|
3801
|
+
export type RequestBody = /* A saved entity view */ Components.Schemas.SavedView;
|
|
3802
|
+
namespace Responses {
|
|
3803
|
+
export type $201 = /* A saved entity view */ Components.Schemas.SavedViewItem;
|
|
3804
|
+
}
|
|
3805
|
+
}
|
|
3651
3806
|
namespace DeleteEntity {
|
|
3652
3807
|
namespace Parameters {
|
|
3653
3808
|
export type ActivityId = /**
|
|
@@ -3699,6 +3854,18 @@ declare namespace Paths {
|
|
|
3699
3854
|
}
|
|
3700
3855
|
}
|
|
3701
3856
|
}
|
|
3857
|
+
namespace DeleteSavedView {
|
|
3858
|
+
namespace Parameters {
|
|
3859
|
+
export type Id = /* Generated uuid for a saved view */ Components.Schemas.SavedViewId /* uuid */;
|
|
3860
|
+
}
|
|
3861
|
+
export interface PathParameters {
|
|
3862
|
+
id: Parameters.Id;
|
|
3863
|
+
}
|
|
3864
|
+
namespace Responses {
|
|
3865
|
+
export interface $200 {
|
|
3866
|
+
}
|
|
3867
|
+
}
|
|
3868
|
+
}
|
|
3702
3869
|
namespace DeleteSchemaById {
|
|
3703
3870
|
namespace Parameters {
|
|
3704
3871
|
export type Id = /* Generated uuid for schema */ Components.Schemas.SchemaId /* uuid */;
|
|
@@ -3722,10 +3889,12 @@ declare namespace Paths {
|
|
|
3722
3889
|
}
|
|
3723
3890
|
namespace ExportEntities {
|
|
3724
3891
|
namespace Parameters {
|
|
3892
|
+
export type IsTemplate = /* Pass 'true' to generate import template */ Components.Schemas.IsTemplate;
|
|
3725
3893
|
export type JobId = /* Export Job Id to get the result */ Components.Schemas.ExportJobId;
|
|
3726
3894
|
}
|
|
3727
3895
|
export interface QueryParameters {
|
|
3728
3896
|
job_id?: Parameters.JobId;
|
|
3897
|
+
is_template?: Parameters.IsTemplate;
|
|
3729
3898
|
}
|
|
3730
3899
|
export type RequestBody = Components.Schemas.EntitySearchParams;
|
|
3731
3900
|
namespace Responses {
|
|
@@ -3851,6 +4020,7 @@ declare namespace Paths {
|
|
|
3851
4020
|
namespace Parameters {
|
|
3852
4021
|
export type Hydrate = boolean;
|
|
3853
4022
|
export type Id = Components.Schemas.EntityId /* uuid */;
|
|
4023
|
+
export type IncludeReverse = boolean;
|
|
3854
4024
|
export type Slug = /**
|
|
3855
4025
|
* URL-friendly identifier for the entity schema
|
|
3856
4026
|
* example:
|
|
@@ -3864,11 +4034,25 @@ declare namespace Paths {
|
|
|
3864
4034
|
}
|
|
3865
4035
|
export interface QueryParameters {
|
|
3866
4036
|
hydrate?: Parameters.Hydrate;
|
|
4037
|
+
include_reverse?: Parameters.IncludeReverse;
|
|
3867
4038
|
}
|
|
3868
4039
|
namespace Responses {
|
|
3869
4040
|
export type $200 = Components.Schemas.GetRelationsResp;
|
|
3870
4041
|
}
|
|
3871
4042
|
}
|
|
4043
|
+
namespace GetSavedView {
|
|
4044
|
+
namespace Parameters {
|
|
4045
|
+
export type Id = /* Generated uuid for a saved view */ Components.Schemas.SavedViewId /* uuid */;
|
|
4046
|
+
}
|
|
4047
|
+
export interface PathParameters {
|
|
4048
|
+
id: Parameters.Id;
|
|
4049
|
+
}
|
|
4050
|
+
namespace Responses {
|
|
4051
|
+
export interface $200 {
|
|
4052
|
+
view?: /* A saved entity view */ Components.Schemas.SavedViewItem;
|
|
4053
|
+
}
|
|
4054
|
+
}
|
|
4055
|
+
}
|
|
3872
4056
|
namespace GetSchema {
|
|
3873
4057
|
namespace Parameters {
|
|
3874
4058
|
export type Id = /* Generated uuid for schema */ Components.Schemas.SchemaId /* uuid */;
|
|
@@ -3908,6 +4092,26 @@ declare namespace Paths {
|
|
|
3908
4092
|
}
|
|
3909
4093
|
}
|
|
3910
4094
|
}
|
|
4095
|
+
namespace ImportEntities {
|
|
4096
|
+
namespace Parameters {
|
|
4097
|
+
export type JobId = /* Export Job Id to get the result */ Components.Schemas.ExportJobId;
|
|
4098
|
+
}
|
|
4099
|
+
export interface QueryParameters {
|
|
4100
|
+
job_id?: Parameters.JobId;
|
|
4101
|
+
}
|
|
4102
|
+
export type RequestBody = Components.Schemas.EntityImportParams;
|
|
4103
|
+
namespace Responses {
|
|
4104
|
+
export interface $201 {
|
|
4105
|
+
}
|
|
4106
|
+
}
|
|
4107
|
+
}
|
|
4108
|
+
namespace ListSavedViews {
|
|
4109
|
+
namespace Responses {
|
|
4110
|
+
export interface $200 {
|
|
4111
|
+
results?: /* A saved entity view */ Components.Schemas.SavedViewItem[];
|
|
4112
|
+
}
|
|
4113
|
+
}
|
|
4114
|
+
}
|
|
3911
4115
|
namespace ListSchemaBlueprints {
|
|
3912
4116
|
namespace Responses {
|
|
3913
4117
|
export interface $200 {
|
|
@@ -4001,6 +4205,18 @@ declare namespace Paths {
|
|
|
4001
4205
|
export type $200 = Components.Schemas.RelationItem;
|
|
4002
4206
|
}
|
|
4003
4207
|
}
|
|
4208
|
+
namespace UpdateSavedView {
|
|
4209
|
+
namespace Parameters {
|
|
4210
|
+
export type Id = /* Generated uuid for a saved view */ Components.Schemas.SavedViewId /* uuid */;
|
|
4211
|
+
}
|
|
4212
|
+
export interface PathParameters {
|
|
4213
|
+
id: Parameters.Id;
|
|
4214
|
+
}
|
|
4215
|
+
export type RequestBody = /* A saved entity view */ Components.Schemas.SavedView;
|
|
4216
|
+
namespace Responses {
|
|
4217
|
+
export type $200 = /* A saved entity view */ Components.Schemas.SavedViewItem;
|
|
4218
|
+
}
|
|
4219
|
+
}
|
|
4004
4220
|
namespace UpsertEntity {
|
|
4005
4221
|
namespace Parameters {
|
|
4006
4222
|
export type ActivityId = /**
|
|
@@ -4443,7 +4659,12 @@ export interface OperationMethods {
|
|
|
4443
4659
|
/**
|
|
4444
4660
|
* getRelations - getRelations
|
|
4445
4661
|
*
|
|
4446
|
-
*
|
|
4662
|
+
* Returns 1st level direct relations for an entity.
|
|
4663
|
+
*
|
|
4664
|
+
* You can control whether to return the full entity or just the relation item with the `?hydrate` query param.
|
|
4665
|
+
*
|
|
4666
|
+
* Reverse relations i.e. entities referring to this entity are included with the `?include_reverse` query param.
|
|
4667
|
+
*
|
|
4447
4668
|
*/
|
|
4448
4669
|
'getRelations'(
|
|
4449
4670
|
parameters?: Parameters<Paths.GetRelations.PathParameters & Paths.GetRelations.QueryParameters> | null,
|
|
@@ -4453,7 +4674,7 @@ export interface OperationMethods {
|
|
|
4453
4674
|
/**
|
|
4454
4675
|
* addRelations - addRelations
|
|
4455
4676
|
*
|
|
4456
|
-
*
|
|
4677
|
+
* Relates one or more entities to parent entity by adding items to a relation attribute
|
|
4457
4678
|
*/
|
|
4458
4679
|
'addRelations'(
|
|
4459
4680
|
parameters?: Parameters<Paths.AddRelations.PathParameters> | null,
|
|
@@ -4463,7 +4684,7 @@ export interface OperationMethods {
|
|
|
4463
4684
|
/**
|
|
4464
4685
|
* updateRelation - updateRelation
|
|
4465
4686
|
*
|
|
4466
|
-
*
|
|
4687
|
+
* Updates an existing relation between two entities.
|
|
4467
4688
|
*/
|
|
4468
4689
|
'updateRelation'(
|
|
4469
4690
|
parameters?: Parameters<Paths.UpdateRelation.PathParameters> | null,
|
|
@@ -4473,7 +4694,7 @@ export interface OperationMethods {
|
|
|
4473
4694
|
/**
|
|
4474
4695
|
* deleteRelation - deleteRelation
|
|
4475
4696
|
*
|
|
4476
|
-
*
|
|
4697
|
+
* Removes relation between two entities
|
|
4477
4698
|
*/
|
|
4478
4699
|
'deleteRelation'(
|
|
4479
4700
|
parameters?: Parameters<Paths.DeleteRelation.PathParameters> | null,
|
|
@@ -4490,6 +4711,66 @@ export interface OperationMethods {
|
|
|
4490
4711
|
data?: Paths.ExportEntities.RequestBody,
|
|
4491
4712
|
config?: AxiosRequestConfig
|
|
4492
4713
|
): OperationResponse<Paths.ExportEntities.Responses.$201>
|
|
4714
|
+
/**
|
|
4715
|
+
* importEntities - importEntities
|
|
4716
|
+
*
|
|
4717
|
+
* import entity data from
|
|
4718
|
+
*/
|
|
4719
|
+
'importEntities'(
|
|
4720
|
+
parameters?: Parameters<Paths.ImportEntities.QueryParameters> | null,
|
|
4721
|
+
data?: Paths.ImportEntities.RequestBody,
|
|
4722
|
+
config?: AxiosRequestConfig
|
|
4723
|
+
): OperationResponse<Paths.ImportEntities.Responses.$201>
|
|
4724
|
+
/**
|
|
4725
|
+
* listSavedViews - listSavedViews
|
|
4726
|
+
*
|
|
4727
|
+
* Get the Saved Views based on the schema
|
|
4728
|
+
*/
|
|
4729
|
+
'listSavedViews'(
|
|
4730
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
4731
|
+
data?: any,
|
|
4732
|
+
config?: AxiosRequestConfig
|
|
4733
|
+
): OperationResponse<Paths.ListSavedViews.Responses.$200>
|
|
4734
|
+
/**
|
|
4735
|
+
* createSavedView - createSavedView
|
|
4736
|
+
*
|
|
4737
|
+
* Creates a new saved view
|
|
4738
|
+
*/
|
|
4739
|
+
'createSavedView'(
|
|
4740
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
4741
|
+
data?: Paths.CreateSavedView.RequestBody,
|
|
4742
|
+
config?: AxiosRequestConfig
|
|
4743
|
+
): OperationResponse<Paths.CreateSavedView.Responses.$201>
|
|
4744
|
+
/**
|
|
4745
|
+
* getSavedView - getSavedView
|
|
4746
|
+
*
|
|
4747
|
+
* Gets Saved View configuration by id.
|
|
4748
|
+
*/
|
|
4749
|
+
'getSavedView'(
|
|
4750
|
+
parameters?: Parameters<Paths.GetSavedView.PathParameters> | null,
|
|
4751
|
+
data?: any,
|
|
4752
|
+
config?: AxiosRequestConfig
|
|
4753
|
+
): OperationResponse<Paths.GetSavedView.Responses.$200>
|
|
4754
|
+
/**
|
|
4755
|
+
* updateSavedView - updateSavedView
|
|
4756
|
+
*
|
|
4757
|
+
* Updates a saved view
|
|
4758
|
+
*/
|
|
4759
|
+
'updateSavedView'(
|
|
4760
|
+
parameters?: Parameters<Paths.UpdateSavedView.PathParameters> | null,
|
|
4761
|
+
data?: Paths.UpdateSavedView.RequestBody,
|
|
4762
|
+
config?: AxiosRequestConfig
|
|
4763
|
+
): OperationResponse<Paths.UpdateSavedView.Responses.$200>
|
|
4764
|
+
/**
|
|
4765
|
+
* deleteSavedView - deleteSavedView
|
|
4766
|
+
*
|
|
4767
|
+
* Deletes a saved view
|
|
4768
|
+
*/
|
|
4769
|
+
'deleteSavedView'(
|
|
4770
|
+
parameters?: Parameters<Paths.DeleteSavedView.PathParameters> | null,
|
|
4771
|
+
data?: any,
|
|
4772
|
+
config?: AxiosRequestConfig
|
|
4773
|
+
): OperationResponse<Paths.DeleteSavedView.Responses.$200>
|
|
4493
4774
|
}
|
|
4494
4775
|
|
|
4495
4776
|
export interface PathsDictionary {
|
|
@@ -4891,7 +5172,12 @@ export interface PathsDictionary {
|
|
|
4891
5172
|
/**
|
|
4892
5173
|
* getRelations - getRelations
|
|
4893
5174
|
*
|
|
4894
|
-
*
|
|
5175
|
+
* Returns 1st level direct relations for an entity.
|
|
5176
|
+
*
|
|
5177
|
+
* You can control whether to return the full entity or just the relation item with the `?hydrate` query param.
|
|
5178
|
+
*
|
|
5179
|
+
* Reverse relations i.e. entities referring to this entity are included with the `?include_reverse` query param.
|
|
5180
|
+
*
|
|
4895
5181
|
*/
|
|
4896
5182
|
'get'(
|
|
4897
5183
|
parameters?: Parameters<Paths.GetRelations.PathParameters & Paths.GetRelations.QueryParameters> | null,
|
|
@@ -4901,7 +5187,7 @@ export interface PathsDictionary {
|
|
|
4901
5187
|
/**
|
|
4902
5188
|
* addRelations - addRelations
|
|
4903
5189
|
*
|
|
4904
|
-
*
|
|
5190
|
+
* Relates one or more entities to parent entity by adding items to a relation attribute
|
|
4905
5191
|
*/
|
|
4906
5192
|
'post'(
|
|
4907
5193
|
parameters?: Parameters<Paths.AddRelations.PathParameters> | null,
|
|
@@ -4913,7 +5199,7 @@ export interface PathsDictionary {
|
|
|
4913
5199
|
/**
|
|
4914
5200
|
* updateRelation - updateRelation
|
|
4915
5201
|
*
|
|
4916
|
-
*
|
|
5202
|
+
* Updates an existing relation between two entities.
|
|
4917
5203
|
*/
|
|
4918
5204
|
'put'(
|
|
4919
5205
|
parameters?: Parameters<Paths.UpdateRelation.PathParameters> | null,
|
|
@@ -4923,7 +5209,7 @@ export interface PathsDictionary {
|
|
|
4923
5209
|
/**
|
|
4924
5210
|
* deleteRelation - deleteRelation
|
|
4925
5211
|
*
|
|
4926
|
-
*
|
|
5212
|
+
* Removes relation between two entities
|
|
4927
5213
|
*/
|
|
4928
5214
|
'delete'(
|
|
4929
5215
|
parameters?: Parameters<Paths.DeleteRelation.PathParameters> | null,
|
|
@@ -4943,6 +5229,74 @@ export interface PathsDictionary {
|
|
|
4943
5229
|
config?: AxiosRequestConfig
|
|
4944
5230
|
): OperationResponse<Paths.ExportEntities.Responses.$201>
|
|
4945
5231
|
}
|
|
5232
|
+
['/v1/entity:import']: {
|
|
5233
|
+
/**
|
|
5234
|
+
* importEntities - importEntities
|
|
5235
|
+
*
|
|
5236
|
+
* import entity data from
|
|
5237
|
+
*/
|
|
5238
|
+
'post'(
|
|
5239
|
+
parameters?: Parameters<Paths.ImportEntities.QueryParameters> | null,
|
|
5240
|
+
data?: Paths.ImportEntities.RequestBody,
|
|
5241
|
+
config?: AxiosRequestConfig
|
|
5242
|
+
): OperationResponse<Paths.ImportEntities.Responses.$201>
|
|
5243
|
+
}
|
|
5244
|
+
['/v1/entity/views']: {
|
|
5245
|
+
/**
|
|
5246
|
+
* listSavedViews - listSavedViews
|
|
5247
|
+
*
|
|
5248
|
+
* Get the Saved Views based on the schema
|
|
5249
|
+
*/
|
|
5250
|
+
'get'(
|
|
5251
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
5252
|
+
data?: any,
|
|
5253
|
+
config?: AxiosRequestConfig
|
|
5254
|
+
): OperationResponse<Paths.ListSavedViews.Responses.$200>
|
|
5255
|
+
}
|
|
5256
|
+
['/v1/entity/view']: {
|
|
5257
|
+
/**
|
|
5258
|
+
* createSavedView - createSavedView
|
|
5259
|
+
*
|
|
5260
|
+
* Creates a new saved view
|
|
5261
|
+
*/
|
|
5262
|
+
'post'(
|
|
5263
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
5264
|
+
data?: Paths.CreateSavedView.RequestBody,
|
|
5265
|
+
config?: AxiosRequestConfig
|
|
5266
|
+
): OperationResponse<Paths.CreateSavedView.Responses.$201>
|
|
5267
|
+
}
|
|
5268
|
+
['/v1/entity/view/{id}']: {
|
|
5269
|
+
/**
|
|
5270
|
+
* getSavedView - getSavedView
|
|
5271
|
+
*
|
|
5272
|
+
* Gets Saved View configuration by id.
|
|
5273
|
+
*/
|
|
5274
|
+
'get'(
|
|
5275
|
+
parameters?: Parameters<Paths.GetSavedView.PathParameters> | null,
|
|
5276
|
+
data?: any,
|
|
5277
|
+
config?: AxiosRequestConfig
|
|
5278
|
+
): OperationResponse<Paths.GetSavedView.Responses.$200>
|
|
5279
|
+
/**
|
|
5280
|
+
* updateSavedView - updateSavedView
|
|
5281
|
+
*
|
|
5282
|
+
* Updates a saved view
|
|
5283
|
+
*/
|
|
5284
|
+
'put'(
|
|
5285
|
+
parameters?: Parameters<Paths.UpdateSavedView.PathParameters> | null,
|
|
5286
|
+
data?: Paths.UpdateSavedView.RequestBody,
|
|
5287
|
+
config?: AxiosRequestConfig
|
|
5288
|
+
): OperationResponse<Paths.UpdateSavedView.Responses.$200>
|
|
5289
|
+
/**
|
|
5290
|
+
* deleteSavedView - deleteSavedView
|
|
5291
|
+
*
|
|
5292
|
+
* Deletes a saved view
|
|
5293
|
+
*/
|
|
5294
|
+
'delete'(
|
|
5295
|
+
parameters?: Parameters<Paths.DeleteSavedView.PathParameters> | null,
|
|
5296
|
+
data?: any,
|
|
5297
|
+
config?: AxiosRequestConfig
|
|
5298
|
+
): OperationResponse<Paths.DeleteSavedView.Responses.$200>
|
|
5299
|
+
}
|
|
4946
5300
|
}
|
|
4947
5301
|
|
|
4948
5302
|
export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|