@rlvt/datasources-openapi-client 1.0.403 → 1.0.404
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/build/api.d.ts +331 -331
- package/build/api.js +28 -28
- package/build/definitions.d.ts +139 -139
- package/build/definitions.js +8 -8
- package/package.json +1 -1
package/build/api.d.ts
CHANGED
|
@@ -16,12 +16,6 @@ export default class {
|
|
|
16
16
|
private deleteOauthClient;
|
|
17
17
|
private getAuthorizeUrl;
|
|
18
18
|
private getAuthorizeUrlForDatasource;
|
|
19
|
-
private listDatagraphEntities;
|
|
20
|
-
private createEntity;
|
|
21
|
-
private getDatagraphEntity;
|
|
22
|
-
private updateDatagraphEntity;
|
|
23
|
-
private deleteDatagraphEntity;
|
|
24
|
-
private publishDatagraphEntity;
|
|
25
19
|
private listDatagraphSchemas;
|
|
26
20
|
private createSchema;
|
|
27
21
|
private validateDatagraphSchema;
|
|
@@ -29,6 +23,12 @@ export default class {
|
|
|
29
23
|
private updateDatagraphSchema;
|
|
30
24
|
private deleteDatagraphSchema;
|
|
31
25
|
private publishDatagraphSchema;
|
|
26
|
+
private listDatagraphEntities;
|
|
27
|
+
private createEntity;
|
|
28
|
+
private getDatagraphEntity;
|
|
29
|
+
private updateDatagraphEntity;
|
|
30
|
+
private deleteDatagraphEntity;
|
|
31
|
+
private publishDatagraphEntity;
|
|
32
32
|
private getCurrentStepDatasource;
|
|
33
33
|
private validateStepDatasource;
|
|
34
34
|
private getDatasourceSettings;
|
|
@@ -9872,8 +9872,7 @@ export default class {
|
|
|
9872
9872
|
}, any, {}>>;
|
|
9873
9873
|
};
|
|
9874
9874
|
get Datagraph(): {
|
|
9875
|
-
|
|
9876
|
-
name?: string | undefined;
|
|
9875
|
+
listSchemas: (params: {
|
|
9877
9876
|
page?: number | undefined;
|
|
9878
9877
|
perPage?: number | undefined;
|
|
9879
9878
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
@@ -9885,9 +9884,6 @@ export default class {
|
|
|
9885
9884
|
} & {
|
|
9886
9885
|
datetime: string;
|
|
9887
9886
|
data: {
|
|
9888
|
-
readonly id: string & {
|
|
9889
|
-
readonly?: "__readonly" | undefined;
|
|
9890
|
-
};
|
|
9891
9887
|
readonly companyId: string & {
|
|
9892
9888
|
readonly?: "__readonly" | undefined;
|
|
9893
9889
|
};
|
|
@@ -9896,39 +9892,50 @@ export default class {
|
|
|
9896
9892
|
readonly companyId: string & {
|
|
9897
9893
|
readonly?: "__readonly" | undefined;
|
|
9898
9894
|
};
|
|
9899
|
-
readonly state: import("./definitions").
|
|
9895
|
+
readonly state: import("./definitions").DatagraphSchemaVersionState & {
|
|
9900
9896
|
readonly?: "__readonly" | undefined;
|
|
9901
9897
|
};
|
|
9902
9898
|
_id: string;
|
|
9903
9899
|
__v: number;
|
|
9904
9900
|
readonly definition: {
|
|
9905
|
-
readonly?: "__readonly" | undefined;
|
|
9906
9901
|
name: string;
|
|
9907
|
-
description
|
|
9908
|
-
|
|
9902
|
+
description?: string | undefined;
|
|
9903
|
+
relations?: {
|
|
9904
|
+
description?: string | undefined;
|
|
9905
|
+
type: "Relation";
|
|
9906
|
+
columns: string[];
|
|
9907
|
+
reference: {
|
|
9908
|
+
datasourceId: string;
|
|
9909
|
+
table: string;
|
|
9910
|
+
columns: string[];
|
|
9911
|
+
};
|
|
9912
|
+
}[] | undefined;
|
|
9913
|
+
datasourceId: string;
|
|
9914
|
+
columns: {
|
|
9909
9915
|
name: string;
|
|
9910
|
-
|
|
9911
|
-
|
|
9912
|
-
|
|
9913
|
-
fullDescription: string | null;
|
|
9914
|
-
optional?: boolean | undefined;
|
|
9916
|
+
description?: string | undefined;
|
|
9917
|
+
type: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "url" | "name" | "description" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id";
|
|
9918
|
+
default?: string | number | boolean | undefined;
|
|
9915
9919
|
}[];
|
|
9916
|
-
|
|
9917
|
-
|
|
9920
|
+
virtualColumns?: {
|
|
9921
|
+
query: string;
|
|
9918
9922
|
name: string;
|
|
9923
|
+
description?: string | undefined;
|
|
9919
9924
|
type: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "url" | "name" | "description" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id";
|
|
9920
|
-
}[];
|
|
9921
|
-
|
|
9925
|
+
}[] | undefined;
|
|
9926
|
+
uniqueKeys?: {
|
|
9927
|
+
description?: string | undefined;
|
|
9928
|
+
type: "UniqueKey";
|
|
9929
|
+
columns: string[];
|
|
9930
|
+
}[] | undefined;
|
|
9931
|
+
indexes?: {
|
|
9932
|
+
description?: string | undefined;
|
|
9933
|
+
type: "Index";
|
|
9934
|
+
columns: string[];
|
|
9935
|
+
}[] | undefined;
|
|
9936
|
+
}[];
|
|
9922
9937
|
})[];
|
|
9923
|
-
|
|
9924
|
-
readonly?: "__readonly" | undefined;
|
|
9925
|
-
};
|
|
9926
|
-
readonly createdAt: string & {
|
|
9927
|
-
readonly?: "__readonly" | undefined;
|
|
9928
|
-
};
|
|
9929
|
-
readonly updatedAt: string & {
|
|
9930
|
-
readonly?: "__readonly" | undefined;
|
|
9931
|
-
};
|
|
9938
|
+
archivedAt: string | null;
|
|
9932
9939
|
}[];
|
|
9933
9940
|
program: string;
|
|
9934
9941
|
version: string;
|
|
@@ -9936,69 +9943,126 @@ export default class {
|
|
|
9936
9943
|
code?: number | undefined;
|
|
9937
9944
|
message: string;
|
|
9938
9945
|
}, any, {}>>;
|
|
9939
|
-
|
|
9940
|
-
|
|
9946
|
+
createSchema: (params: Record<string, never>, data: {
|
|
9947
|
+
schema: {
|
|
9941
9948
|
name: string;
|
|
9942
|
-
description?: string |
|
|
9943
|
-
|
|
9949
|
+
description?: string | undefined;
|
|
9950
|
+
relations?: {
|
|
9951
|
+
description?: string | undefined;
|
|
9952
|
+
type: "Relation";
|
|
9953
|
+
columns: string[];
|
|
9954
|
+
reference: {
|
|
9955
|
+
datasourceId: string;
|
|
9956
|
+
table: string;
|
|
9957
|
+
columns: string[];
|
|
9958
|
+
};
|
|
9959
|
+
}[] | undefined;
|
|
9960
|
+
datasourceId: string;
|
|
9961
|
+
columns: {
|
|
9944
9962
|
name: string;
|
|
9945
|
-
|
|
9946
|
-
|
|
9947
|
-
|
|
9948
|
-
fullDescription: string | null;
|
|
9949
|
-
optional?: boolean | undefined;
|
|
9963
|
+
description?: string | undefined;
|
|
9964
|
+
type: FieldMapType;
|
|
9965
|
+
default?: string | number | boolean | undefined;
|
|
9950
9966
|
}[];
|
|
9951
|
-
|
|
9967
|
+
virtualColumns?: {
|
|
9968
|
+
query: string;
|
|
9969
|
+
name: string;
|
|
9970
|
+
description?: string | undefined;
|
|
9971
|
+
type: FieldMapType;
|
|
9972
|
+
}[] | undefined;
|
|
9973
|
+
uniqueKeys?: {
|
|
9974
|
+
description?: string | undefined;
|
|
9975
|
+
type: "UniqueKey";
|
|
9976
|
+
columns: string[];
|
|
9977
|
+
}[] | undefined;
|
|
9978
|
+
indexes?: {
|
|
9979
|
+
description?: string | undefined;
|
|
9980
|
+
type: "Index";
|
|
9981
|
+
columns: string[];
|
|
9982
|
+
}[] | undefined;
|
|
9983
|
+
}[];
|
|
9984
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
9985
|
+
status: "success";
|
|
9986
|
+
} & {
|
|
9987
|
+
datetime: string;
|
|
9988
|
+
data: {
|
|
9989
|
+
[x: string]: unknown;
|
|
9952
9990
|
};
|
|
9991
|
+
program: string;
|
|
9992
|
+
version: string;
|
|
9993
|
+
status: string;
|
|
9994
|
+
code?: number | undefined;
|
|
9995
|
+
message: string;
|
|
9996
|
+
}, any, {}>>;
|
|
9997
|
+
validateSchema: (params: Record<string, never>, data: {
|
|
9998
|
+
schema: unknown;
|
|
9953
9999
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
9954
10000
|
status: "success";
|
|
9955
10001
|
} & {
|
|
9956
10002
|
datetime: string;
|
|
9957
10003
|
data: {
|
|
9958
|
-
|
|
9959
|
-
|
|
9960
|
-
|
|
9961
|
-
readonly companyId: string & {
|
|
9962
|
-
readonly?: "__readonly" | undefined;
|
|
9963
|
-
};
|
|
9964
|
-
readonly resourceGroupIds: string[];
|
|
9965
|
-
readonly versions: (string | {
|
|
9966
|
-
readonly companyId: string & {
|
|
9967
|
-
readonly?: "__readonly" | undefined;
|
|
9968
|
-
};
|
|
9969
|
-
readonly state: import("./definitions").DatagraphEntityVersionState & {
|
|
9970
|
-
readonly?: "__readonly" | undefined;
|
|
9971
|
-
};
|
|
9972
|
-
_id: string;
|
|
9973
|
-
__v: number;
|
|
9974
|
-
readonly definition: {
|
|
9975
|
-
readonly?: "__readonly" | undefined;
|
|
10004
|
+
validation: {
|
|
10005
|
+
success: true;
|
|
10006
|
+
data: {
|
|
9976
10007
|
name: string;
|
|
9977
|
-
description
|
|
9978
|
-
|
|
10008
|
+
description?: string | undefined;
|
|
10009
|
+
relations?: {
|
|
10010
|
+
description?: string | undefined;
|
|
10011
|
+
type: "Relation";
|
|
10012
|
+
columns: string[];
|
|
10013
|
+
reference: {
|
|
10014
|
+
datasourceId: string;
|
|
10015
|
+
table: string;
|
|
10016
|
+
columns: string[];
|
|
10017
|
+
};
|
|
10018
|
+
}[] | undefined;
|
|
10019
|
+
datasourceId: string;
|
|
10020
|
+
columns: {
|
|
9979
10021
|
name: string;
|
|
9980
|
-
|
|
9981
|
-
|
|
9982
|
-
|
|
9983
|
-
fullDescription: string | null;
|
|
9984
|
-
optional?: boolean | undefined;
|
|
10022
|
+
description?: string | undefined;
|
|
10023
|
+
type: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "url" | "name" | "description" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id";
|
|
10024
|
+
default?: string | number | boolean | undefined;
|
|
9985
10025
|
}[];
|
|
9986
|
-
|
|
9987
|
-
|
|
10026
|
+
virtualColumns?: {
|
|
10027
|
+
query: string;
|
|
9988
10028
|
name: string;
|
|
10029
|
+
description?: string | undefined;
|
|
9989
10030
|
type: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "url" | "name" | "description" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id";
|
|
10031
|
+
}[] | undefined;
|
|
10032
|
+
uniqueKeys?: {
|
|
10033
|
+
description?: string | undefined;
|
|
10034
|
+
type: "UniqueKey";
|
|
10035
|
+
columns: string[];
|
|
10036
|
+
}[] | undefined;
|
|
10037
|
+
indexes?: {
|
|
10038
|
+
description?: string | undefined;
|
|
10039
|
+
type: "Index";
|
|
10040
|
+
columns: string[];
|
|
10041
|
+
}[] | undefined;
|
|
10042
|
+
}[];
|
|
10043
|
+
} | {
|
|
10044
|
+
success: false;
|
|
10045
|
+
error: {
|
|
10046
|
+
issues: {
|
|
10047
|
+
path: (string | number)[];
|
|
10048
|
+
code: string;
|
|
10049
|
+
message: string;
|
|
9990
10050
|
}[];
|
|
9991
10051
|
};
|
|
9992
|
-
})[];
|
|
9993
|
-
readonly archivedAt: string & {
|
|
9994
|
-
readonly?: "__readonly" | undefined;
|
|
9995
|
-
};
|
|
9996
|
-
readonly createdAt: string & {
|
|
9997
|
-
readonly?: "__readonly" | undefined;
|
|
9998
|
-
};
|
|
9999
|
-
readonly updatedAt: string & {
|
|
10000
|
-
readonly?: "__readonly" | undefined;
|
|
10001
10052
|
};
|
|
10053
|
+
relations: {
|
|
10054
|
+
error?: string | undefined;
|
|
10055
|
+
fromDatasourceId: string;
|
|
10056
|
+
fromTable: string;
|
|
10057
|
+
fromColumn: string;
|
|
10058
|
+
fromDistinctCount: number | null;
|
|
10059
|
+
toDatasourceId: string;
|
|
10060
|
+
toTable: string;
|
|
10061
|
+
toColumn: string;
|
|
10062
|
+
toDistinctCount: number | null;
|
|
10063
|
+
matchCount: number | null;
|
|
10064
|
+
matchPercentage: number | null;
|
|
10065
|
+
}[];
|
|
10002
10066
|
};
|
|
10003
10067
|
program: string;
|
|
10004
10068
|
version: string;
|
|
@@ -10006,23 +10070,115 @@ export default class {
|
|
|
10006
10070
|
code?: number | undefined;
|
|
10007
10071
|
message: string;
|
|
10008
10072
|
}, any, {}>>;
|
|
10009
|
-
|
|
10073
|
+
getSchema: (params: {
|
|
10010
10074
|
id: string;
|
|
10011
10075
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
10012
10076
|
status: "success";
|
|
10013
10077
|
} & {
|
|
10014
10078
|
datetime: string;
|
|
10015
10079
|
data: {
|
|
10016
|
-
|
|
10017
|
-
|
|
10018
|
-
|
|
10019
|
-
|
|
10020
|
-
|
|
10021
|
-
|
|
10022
|
-
|
|
10023
|
-
|
|
10024
|
-
|
|
10025
|
-
|
|
10080
|
+
[x: string]: unknown;
|
|
10081
|
+
};
|
|
10082
|
+
program: string;
|
|
10083
|
+
version: string;
|
|
10084
|
+
status: string;
|
|
10085
|
+
code?: number | undefined;
|
|
10086
|
+
message: string;
|
|
10087
|
+
}, any, {}>>;
|
|
10088
|
+
updateSchema: (params: {
|
|
10089
|
+
id: string;
|
|
10090
|
+
}, data: {
|
|
10091
|
+
schema: {
|
|
10092
|
+
name: string;
|
|
10093
|
+
description?: string | undefined;
|
|
10094
|
+
relations?: {
|
|
10095
|
+
description?: string | undefined;
|
|
10096
|
+
type: "Relation";
|
|
10097
|
+
columns: string[];
|
|
10098
|
+
reference: {
|
|
10099
|
+
datasourceId: string;
|
|
10100
|
+
table: string;
|
|
10101
|
+
columns: string[];
|
|
10102
|
+
};
|
|
10103
|
+
}[] | undefined;
|
|
10104
|
+
datasourceId: string;
|
|
10105
|
+
columns: {
|
|
10106
|
+
name: string;
|
|
10107
|
+
description?: string | undefined;
|
|
10108
|
+
type: FieldMapType;
|
|
10109
|
+
default?: string | number | boolean | undefined;
|
|
10110
|
+
}[];
|
|
10111
|
+
virtualColumns?: {
|
|
10112
|
+
query: string;
|
|
10113
|
+
name: string;
|
|
10114
|
+
description?: string | undefined;
|
|
10115
|
+
type: FieldMapType;
|
|
10116
|
+
}[] | undefined;
|
|
10117
|
+
uniqueKeys?: {
|
|
10118
|
+
description?: string | undefined;
|
|
10119
|
+
type: "UniqueKey";
|
|
10120
|
+
columns: string[];
|
|
10121
|
+
}[] | undefined;
|
|
10122
|
+
indexes?: {
|
|
10123
|
+
description?: string | undefined;
|
|
10124
|
+
type: "Index";
|
|
10125
|
+
columns: string[];
|
|
10126
|
+
}[] | undefined;
|
|
10127
|
+
}[];
|
|
10128
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
10129
|
+
status: "success";
|
|
10130
|
+
} & {
|
|
10131
|
+
datetime: string;
|
|
10132
|
+
data: {
|
|
10133
|
+
[x: string]: unknown;
|
|
10134
|
+
};
|
|
10135
|
+
program: string;
|
|
10136
|
+
version: string;
|
|
10137
|
+
status: string;
|
|
10138
|
+
code?: number | undefined;
|
|
10139
|
+
message: string;
|
|
10140
|
+
}, any, {}>>;
|
|
10141
|
+
deleteSchema: (params: {
|
|
10142
|
+
id: string;
|
|
10143
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
10144
|
+
publishSchema: (params: {
|
|
10145
|
+
id: string;
|
|
10146
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
10147
|
+
status: "success";
|
|
10148
|
+
} & {
|
|
10149
|
+
datetime: string;
|
|
10150
|
+
data: {
|
|
10151
|
+
[x: string]: unknown;
|
|
10152
|
+
};
|
|
10153
|
+
program: string;
|
|
10154
|
+
version: string;
|
|
10155
|
+
status: string;
|
|
10156
|
+
code?: number | undefined;
|
|
10157
|
+
message: string;
|
|
10158
|
+
}, any, {}>>;
|
|
10159
|
+
listEntities: (params: {
|
|
10160
|
+
name?: string | undefined;
|
|
10161
|
+
page?: number | undefined;
|
|
10162
|
+
perPage?: number | undefined;
|
|
10163
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
10164
|
+
paginationCount: number;
|
|
10165
|
+
paginationPage: number;
|
|
10166
|
+
paginationLimit: number;
|
|
10167
|
+
} & {
|
|
10168
|
+
status: "success";
|
|
10169
|
+
} & {
|
|
10170
|
+
datetime: string;
|
|
10171
|
+
data: {
|
|
10172
|
+
readonly id: string & {
|
|
10173
|
+
readonly?: "__readonly" | undefined;
|
|
10174
|
+
};
|
|
10175
|
+
readonly companyId: string & {
|
|
10176
|
+
readonly?: "__readonly" | undefined;
|
|
10177
|
+
};
|
|
10178
|
+
readonly resourceGroupIds: string[];
|
|
10179
|
+
readonly versions: (string | {
|
|
10180
|
+
readonly companyId: string & {
|
|
10181
|
+
readonly?: "__readonly" | undefined;
|
|
10026
10182
|
};
|
|
10027
10183
|
readonly state: import("./definitions").DatagraphEntityVersionState & {
|
|
10028
10184
|
readonly?: "__readonly" | undefined;
|
|
@@ -10057,16 +10213,14 @@ export default class {
|
|
|
10057
10213
|
readonly updatedAt: string & {
|
|
10058
10214
|
readonly?: "__readonly" | undefined;
|
|
10059
10215
|
};
|
|
10060
|
-
};
|
|
10216
|
+
}[];
|
|
10061
10217
|
program: string;
|
|
10062
10218
|
version: string;
|
|
10063
10219
|
status: string;
|
|
10064
10220
|
code?: number | undefined;
|
|
10065
10221
|
message: string;
|
|
10066
10222
|
}, any, {}>>;
|
|
10067
|
-
|
|
10068
|
-
id: string;
|
|
10069
|
-
}, data: {
|
|
10223
|
+
createEntity: (params: Record<string, never>, data: {
|
|
10070
10224
|
entity: {
|
|
10071
10225
|
name: string;
|
|
10072
10226
|
description?: string | null | undefined;
|
|
@@ -10136,10 +10290,7 @@ export default class {
|
|
|
10136
10290
|
code?: number | undefined;
|
|
10137
10291
|
message: string;
|
|
10138
10292
|
}, any, {}>>;
|
|
10139
|
-
|
|
10140
|
-
id: string;
|
|
10141
|
-
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
10142
|
-
publishEntity: (params: {
|
|
10293
|
+
getEntity: (params: {
|
|
10143
10294
|
id: string;
|
|
10144
10295
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
10145
10296
|
status: "success";
|
|
@@ -10197,18 +10348,30 @@ export default class {
|
|
|
10197
10348
|
code?: number | undefined;
|
|
10198
10349
|
message: string;
|
|
10199
10350
|
}, any, {}>>;
|
|
10200
|
-
|
|
10201
|
-
|
|
10202
|
-
|
|
10351
|
+
updateEntity: (params: {
|
|
10352
|
+
id: string;
|
|
10353
|
+
}, data: {
|
|
10354
|
+
entity: {
|
|
10355
|
+
name: string;
|
|
10356
|
+
description?: string | null | undefined;
|
|
10357
|
+
options: {
|
|
10358
|
+
name: string;
|
|
10359
|
+
index: number;
|
|
10360
|
+
primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
|
|
10361
|
+
shortDescription: string;
|
|
10362
|
+
fullDescription: string | null;
|
|
10363
|
+
optional?: boolean | undefined;
|
|
10364
|
+
}[];
|
|
10365
|
+
sql: string | null;
|
|
10366
|
+
};
|
|
10203
10367
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
10204
|
-
paginationCount: number;
|
|
10205
|
-
paginationPage: number;
|
|
10206
|
-
paginationLimit: number;
|
|
10207
|
-
} & {
|
|
10208
10368
|
status: "success";
|
|
10209
10369
|
} & {
|
|
10210
10370
|
datetime: string;
|
|
10211
10371
|
data: {
|
|
10372
|
+
readonly id: string & {
|
|
10373
|
+
readonly?: "__readonly" | undefined;
|
|
10374
|
+
};
|
|
10212
10375
|
readonly companyId: string & {
|
|
10213
10376
|
readonly?: "__readonly" | undefined;
|
|
10214
10377
|
};
|
|
@@ -10217,101 +10380,39 @@ export default class {
|
|
|
10217
10380
|
readonly companyId: string & {
|
|
10218
10381
|
readonly?: "__readonly" | undefined;
|
|
10219
10382
|
};
|
|
10220
|
-
readonly state: import("./definitions").
|
|
10383
|
+
readonly state: import("./definitions").DatagraphEntityVersionState & {
|
|
10221
10384
|
readonly?: "__readonly" | undefined;
|
|
10222
10385
|
};
|
|
10223
10386
|
_id: string;
|
|
10224
10387
|
__v: number;
|
|
10225
10388
|
readonly definition: {
|
|
10389
|
+
readonly?: "__readonly" | undefined;
|
|
10226
10390
|
name: string;
|
|
10227
|
-
description
|
|
10228
|
-
|
|
10229
|
-
description?: string | undefined;
|
|
10230
|
-
type: "Relation";
|
|
10231
|
-
columns: string[];
|
|
10232
|
-
reference: {
|
|
10233
|
-
datasourceId: string;
|
|
10234
|
-
table: string;
|
|
10235
|
-
columns: string[];
|
|
10236
|
-
};
|
|
10237
|
-
}[] | undefined;
|
|
10238
|
-
datasourceId: string;
|
|
10239
|
-
indexes?: {
|
|
10240
|
-
description?: string | undefined;
|
|
10241
|
-
type: "Index";
|
|
10242
|
-
columns: string[];
|
|
10243
|
-
}[] | undefined;
|
|
10244
|
-
columns: {
|
|
10391
|
+
description: string | null;
|
|
10392
|
+
options: {
|
|
10245
10393
|
name: string;
|
|
10246
|
-
|
|
10247
|
-
|
|
10248
|
-
|
|
10394
|
+
index: number;
|
|
10395
|
+
primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
|
|
10396
|
+
shortDescription: string;
|
|
10397
|
+
fullDescription: string | null;
|
|
10398
|
+
optional?: boolean | undefined;
|
|
10249
10399
|
}[];
|
|
10250
|
-
|
|
10251
|
-
|
|
10400
|
+
sql: string | null;
|
|
10401
|
+
readonly answers: {
|
|
10252
10402
|
name: string;
|
|
10253
|
-
description?: string | undefined;
|
|
10254
10403
|
type: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "url" | "name" | "description" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id";
|
|
10255
|
-
}[]
|
|
10256
|
-
uniqueKeys?: {
|
|
10257
|
-
description?: string | undefined;
|
|
10258
|
-
type: "UniqueKey";
|
|
10259
|
-
columns: string[];
|
|
10260
|
-
}[] | undefined;
|
|
10261
|
-
}[];
|
|
10262
|
-
})[];
|
|
10263
|
-
archivedAt: string | null;
|
|
10264
|
-
}[];
|
|
10265
|
-
program: string;
|
|
10266
|
-
version: string;
|
|
10267
|
-
status: string;
|
|
10268
|
-
code?: number | undefined;
|
|
10269
|
-
message: string;
|
|
10270
|
-
}, any, {}>>;
|
|
10271
|
-
createSchema: (params: Record<string, never>, data: {
|
|
10272
|
-
schema: {
|
|
10273
|
-
name: string;
|
|
10274
|
-
description?: string | undefined;
|
|
10275
|
-
relations?: {
|
|
10276
|
-
description?: string | undefined;
|
|
10277
|
-
type: "Relation";
|
|
10278
|
-
columns: string[];
|
|
10279
|
-
reference: {
|
|
10280
|
-
datasourceId: string;
|
|
10281
|
-
table: string;
|
|
10282
|
-
columns: string[];
|
|
10404
|
+
}[];
|
|
10283
10405
|
};
|
|
10284
|
-
}[]
|
|
10285
|
-
|
|
10286
|
-
|
|
10287
|
-
|
|
10288
|
-
|
|
10289
|
-
|
|
10290
|
-
}
|
|
10291
|
-
|
|
10292
|
-
|
|
10293
|
-
|
|
10294
|
-
type: FieldMapType;
|
|
10295
|
-
default?: string | number | boolean | undefined;
|
|
10296
|
-
}[];
|
|
10297
|
-
virtualColumns?: {
|
|
10298
|
-
query: string;
|
|
10299
|
-
name: string;
|
|
10300
|
-
description?: string | undefined;
|
|
10301
|
-
type: FieldMapType;
|
|
10302
|
-
}[] | undefined;
|
|
10303
|
-
uniqueKeys?: {
|
|
10304
|
-
description?: string | undefined;
|
|
10305
|
-
type: "UniqueKey";
|
|
10306
|
-
columns: string[];
|
|
10307
|
-
}[] | undefined;
|
|
10308
|
-
}[];
|
|
10309
|
-
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
10310
|
-
status: "success";
|
|
10311
|
-
} & {
|
|
10312
|
-
datetime: string;
|
|
10313
|
-
data: {
|
|
10314
|
-
[x: string]: unknown;
|
|
10406
|
+
})[];
|
|
10407
|
+
readonly archivedAt: string & {
|
|
10408
|
+
readonly?: "__readonly" | undefined;
|
|
10409
|
+
};
|
|
10410
|
+
readonly createdAt: string & {
|
|
10411
|
+
readonly?: "__readonly" | undefined;
|
|
10412
|
+
};
|
|
10413
|
+
readonly updatedAt: string & {
|
|
10414
|
+
readonly?: "__readonly" | undefined;
|
|
10415
|
+
};
|
|
10315
10416
|
};
|
|
10316
10417
|
program: string;
|
|
10317
10418
|
version: string;
|
|
@@ -10319,161 +10420,60 @@ export default class {
|
|
|
10319
10420
|
code?: number | undefined;
|
|
10320
10421
|
message: string;
|
|
10321
10422
|
}, any, {}>>;
|
|
10322
|
-
|
|
10323
|
-
|
|
10423
|
+
deleteEntity: (params: {
|
|
10424
|
+
id: string;
|
|
10425
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
10426
|
+
publishEntity: (params: {
|
|
10427
|
+
id: string;
|
|
10324
10428
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
10325
10429
|
status: "success";
|
|
10326
10430
|
} & {
|
|
10327
10431
|
datetime: string;
|
|
10328
10432
|
data: {
|
|
10329
|
-
|
|
10330
|
-
|
|
10331
|
-
|
|
10433
|
+
readonly id: string & {
|
|
10434
|
+
readonly?: "__readonly" | undefined;
|
|
10435
|
+
};
|
|
10436
|
+
readonly companyId: string & {
|
|
10437
|
+
readonly?: "__readonly" | undefined;
|
|
10438
|
+
};
|
|
10439
|
+
readonly resourceGroupIds: string[];
|
|
10440
|
+
readonly versions: (string | {
|
|
10441
|
+
readonly companyId: string & {
|
|
10442
|
+
readonly?: "__readonly" | undefined;
|
|
10443
|
+
};
|
|
10444
|
+
readonly state: import("./definitions").DatagraphEntityVersionState & {
|
|
10445
|
+
readonly?: "__readonly" | undefined;
|
|
10446
|
+
};
|
|
10447
|
+
_id: string;
|
|
10448
|
+
__v: number;
|
|
10449
|
+
readonly definition: {
|
|
10450
|
+
readonly?: "__readonly" | undefined;
|
|
10332
10451
|
name: string;
|
|
10333
|
-
description
|
|
10334
|
-
|
|
10335
|
-
description?: string | undefined;
|
|
10336
|
-
type: "Relation";
|
|
10337
|
-
columns: string[];
|
|
10338
|
-
reference: {
|
|
10339
|
-
datasourceId: string;
|
|
10340
|
-
table: string;
|
|
10341
|
-
columns: string[];
|
|
10342
|
-
};
|
|
10343
|
-
}[] | undefined;
|
|
10344
|
-
datasourceId: string;
|
|
10345
|
-
indexes?: {
|
|
10346
|
-
description?: string | undefined;
|
|
10347
|
-
type: "Index";
|
|
10348
|
-
columns: string[];
|
|
10349
|
-
}[] | undefined;
|
|
10350
|
-
columns: {
|
|
10452
|
+
description: string | null;
|
|
10453
|
+
options: {
|
|
10351
10454
|
name: string;
|
|
10352
|
-
|
|
10353
|
-
|
|
10354
|
-
|
|
10455
|
+
index: number;
|
|
10456
|
+
primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
|
|
10457
|
+
shortDescription: string;
|
|
10458
|
+
fullDescription: string | null;
|
|
10459
|
+
optional?: boolean | undefined;
|
|
10355
10460
|
}[];
|
|
10356
|
-
|
|
10357
|
-
|
|
10461
|
+
sql: string | null;
|
|
10462
|
+
readonly answers: {
|
|
10358
10463
|
name: string;
|
|
10359
|
-
description?: string | undefined;
|
|
10360
10464
|
type: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "url" | "name" | "description" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id";
|
|
10361
|
-
}[] | undefined;
|
|
10362
|
-
uniqueKeys?: {
|
|
10363
|
-
description?: string | undefined;
|
|
10364
|
-
type: "UniqueKey";
|
|
10365
|
-
columns: string[];
|
|
10366
|
-
}[] | undefined;
|
|
10367
|
-
}[];
|
|
10368
|
-
} | {
|
|
10369
|
-
success: false;
|
|
10370
|
-
error: {
|
|
10371
|
-
issues: {
|
|
10372
|
-
path: (string | number)[];
|
|
10373
|
-
code: string;
|
|
10374
|
-
message: string;
|
|
10375
10465
|
}[];
|
|
10376
10466
|
};
|
|
10467
|
+
})[];
|
|
10468
|
+
readonly archivedAt: string & {
|
|
10469
|
+
readonly?: "__readonly" | undefined;
|
|
10470
|
+
};
|
|
10471
|
+
readonly createdAt: string & {
|
|
10472
|
+
readonly?: "__readonly" | undefined;
|
|
10473
|
+
};
|
|
10474
|
+
readonly updatedAt: string & {
|
|
10475
|
+
readonly?: "__readonly" | undefined;
|
|
10377
10476
|
};
|
|
10378
|
-
relations: {
|
|
10379
|
-
error?: string | undefined;
|
|
10380
|
-
fromDatasourceId: string;
|
|
10381
|
-
fromTable: string;
|
|
10382
|
-
fromColumn: string;
|
|
10383
|
-
fromDistinctCount: number | null;
|
|
10384
|
-
toDatasourceId: string;
|
|
10385
|
-
toTable: string;
|
|
10386
|
-
toColumn: string;
|
|
10387
|
-
toDistinctCount: number | null;
|
|
10388
|
-
matchCount: number | null;
|
|
10389
|
-
matchPercentage: number | null;
|
|
10390
|
-
}[];
|
|
10391
|
-
};
|
|
10392
|
-
program: string;
|
|
10393
|
-
version: string;
|
|
10394
|
-
status: string;
|
|
10395
|
-
code?: number | undefined;
|
|
10396
|
-
message: string;
|
|
10397
|
-
}, any, {}>>;
|
|
10398
|
-
getSchema: (params: {
|
|
10399
|
-
id: string;
|
|
10400
|
-
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
10401
|
-
status: "success";
|
|
10402
|
-
} & {
|
|
10403
|
-
datetime: string;
|
|
10404
|
-
data: {
|
|
10405
|
-
[x: string]: unknown;
|
|
10406
|
-
};
|
|
10407
|
-
program: string;
|
|
10408
|
-
version: string;
|
|
10409
|
-
status: string;
|
|
10410
|
-
code?: number | undefined;
|
|
10411
|
-
message: string;
|
|
10412
|
-
}, any, {}>>;
|
|
10413
|
-
updateSchema: (params: {
|
|
10414
|
-
id: string;
|
|
10415
|
-
}, data: {
|
|
10416
|
-
schema: {
|
|
10417
|
-
name: string;
|
|
10418
|
-
description?: string | undefined;
|
|
10419
|
-
relations?: {
|
|
10420
|
-
description?: string | undefined;
|
|
10421
|
-
type: "Relation";
|
|
10422
|
-
columns: string[];
|
|
10423
|
-
reference: {
|
|
10424
|
-
datasourceId: string;
|
|
10425
|
-
table: string;
|
|
10426
|
-
columns: string[];
|
|
10427
|
-
};
|
|
10428
|
-
}[] | undefined;
|
|
10429
|
-
datasourceId: string;
|
|
10430
|
-
indexes?: {
|
|
10431
|
-
description?: string | undefined;
|
|
10432
|
-
type: "Index";
|
|
10433
|
-
columns: string[];
|
|
10434
|
-
}[] | undefined;
|
|
10435
|
-
columns: {
|
|
10436
|
-
name: string;
|
|
10437
|
-
description?: string | undefined;
|
|
10438
|
-
type: FieldMapType;
|
|
10439
|
-
default?: string | number | boolean | undefined;
|
|
10440
|
-
}[];
|
|
10441
|
-
virtualColumns?: {
|
|
10442
|
-
query: string;
|
|
10443
|
-
name: string;
|
|
10444
|
-
description?: string | undefined;
|
|
10445
|
-
type: FieldMapType;
|
|
10446
|
-
}[] | undefined;
|
|
10447
|
-
uniqueKeys?: {
|
|
10448
|
-
description?: string | undefined;
|
|
10449
|
-
type: "UniqueKey";
|
|
10450
|
-
columns: string[];
|
|
10451
|
-
}[] | undefined;
|
|
10452
|
-
}[];
|
|
10453
|
-
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
10454
|
-
status: "success";
|
|
10455
|
-
} & {
|
|
10456
|
-
datetime: string;
|
|
10457
|
-
data: {
|
|
10458
|
-
[x: string]: unknown;
|
|
10459
|
-
};
|
|
10460
|
-
program: string;
|
|
10461
|
-
version: string;
|
|
10462
|
-
status: string;
|
|
10463
|
-
code?: number | undefined;
|
|
10464
|
-
message: string;
|
|
10465
|
-
}, any, {}>>;
|
|
10466
|
-
deleteSchema: (params: {
|
|
10467
|
-
id: string;
|
|
10468
|
-
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
10469
|
-
publishSchema: (params: {
|
|
10470
|
-
id: string;
|
|
10471
|
-
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
10472
|
-
status: "success";
|
|
10473
|
-
} & {
|
|
10474
|
-
datetime: string;
|
|
10475
|
-
data: {
|
|
10476
|
-
[x: string]: unknown;
|
|
10477
10477
|
};
|
|
10478
10478
|
program: string;
|
|
10479
10479
|
version: string;
|