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