@rlvt/datasources-openapi-client 1.0.400 → 1.0.401
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,6 +16,12 @@ 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;
|
|
19
25
|
private listDatagraphSchemas;
|
|
20
26
|
private createSchema;
|
|
21
27
|
private validateDatagraphSchema;
|
|
@@ -23,12 +29,6 @@ export default class {
|
|
|
23
29
|
private updateDatagraphSchema;
|
|
24
30
|
private deleteDatagraphSchema;
|
|
25
31
|
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,7 +9872,8 @@ export default class {
|
|
|
9872
9872
|
}, any, {}>>;
|
|
9873
9873
|
};
|
|
9874
9874
|
get Datagraph(): {
|
|
9875
|
-
|
|
9875
|
+
listEntities: (params: {
|
|
9876
|
+
name?: string | undefined;
|
|
9876
9877
|
page?: number | undefined;
|
|
9877
9878
|
perPage?: number | undefined;
|
|
9878
9879
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
@@ -9884,6 +9885,9 @@ export default class {
|
|
|
9884
9885
|
} & {
|
|
9885
9886
|
datetime: string;
|
|
9886
9887
|
data: {
|
|
9888
|
+
readonly id: string & {
|
|
9889
|
+
readonly?: "__readonly" | undefined;
|
|
9890
|
+
};
|
|
9887
9891
|
readonly companyId: string & {
|
|
9888
9892
|
readonly?: "__readonly" | undefined;
|
|
9889
9893
|
};
|
|
@@ -9892,50 +9896,39 @@ export default class {
|
|
|
9892
9896
|
readonly companyId: string & {
|
|
9893
9897
|
readonly?: "__readonly" | undefined;
|
|
9894
9898
|
};
|
|
9895
|
-
readonly state: import("./definitions").
|
|
9899
|
+
readonly state: import("./definitions").DatagraphEntityVersionState & {
|
|
9896
9900
|
readonly?: "__readonly" | undefined;
|
|
9897
9901
|
};
|
|
9898
9902
|
_id: string;
|
|
9899
9903
|
__v: number;
|
|
9900
9904
|
readonly definition: {
|
|
9905
|
+
readonly?: "__readonly" | undefined;
|
|
9901
9906
|
name: string;
|
|
9902
|
-
description
|
|
9903
|
-
|
|
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: {
|
|
9907
|
+
description: string | null;
|
|
9908
|
+
options: {
|
|
9915
9909
|
name: string;
|
|
9916
|
-
|
|
9917
|
-
|
|
9918
|
-
|
|
9910
|
+
index: number;
|
|
9911
|
+
primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
|
|
9912
|
+
shortDescription: string;
|
|
9913
|
+
fullDescription: string | null;
|
|
9914
|
+
optional?: boolean | undefined;
|
|
9919
9915
|
}[];
|
|
9920
|
-
|
|
9921
|
-
|
|
9916
|
+
sql: string | null;
|
|
9917
|
+
readonly answers: {
|
|
9922
9918
|
name: string;
|
|
9923
|
-
description?: string | undefined;
|
|
9924
9919
|
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";
|
|
9925
|
-
}[]
|
|
9926
|
-
|
|
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
|
-
}[];
|
|
9920
|
+
}[];
|
|
9921
|
+
};
|
|
9937
9922
|
})[];
|
|
9938
|
-
archivedAt: string
|
|
9923
|
+
readonly archivedAt: string & {
|
|
9924
|
+
readonly?: "__readonly" | undefined;
|
|
9925
|
+
};
|
|
9926
|
+
readonly createdAt: string & {
|
|
9927
|
+
readonly?: "__readonly" | undefined;
|
|
9928
|
+
};
|
|
9929
|
+
readonly updatedAt: string & {
|
|
9930
|
+
readonly?: "__readonly" | undefined;
|
|
9931
|
+
};
|
|
9939
9932
|
}[];
|
|
9940
9933
|
program: string;
|
|
9941
9934
|
version: string;
|
|
@@ -9943,126 +9936,69 @@ export default class {
|
|
|
9943
9936
|
code?: number | undefined;
|
|
9944
9937
|
message: string;
|
|
9945
9938
|
}, any, {}>>;
|
|
9946
|
-
|
|
9947
|
-
|
|
9939
|
+
createEntity: (params: Record<string, never>, data: {
|
|
9940
|
+
entity: {
|
|
9948
9941
|
name: string;
|
|
9949
|
-
description?: string | undefined;
|
|
9950
|
-
|
|
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: {
|
|
9942
|
+
description?: string | null | undefined;
|
|
9943
|
+
options: {
|
|
9962
9944
|
name: string;
|
|
9963
|
-
|
|
9964
|
-
|
|
9965
|
-
|
|
9945
|
+
index: number;
|
|
9946
|
+
primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
|
|
9947
|
+
shortDescription: string;
|
|
9948
|
+
fullDescription: string | null;
|
|
9949
|
+
optional?: boolean | undefined;
|
|
9966
9950
|
}[];
|
|
9967
|
-
|
|
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;
|
|
9951
|
+
sql: string | null;
|
|
9990
9952
|
};
|
|
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;
|
|
9999
9953
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
10000
9954
|
status: "success";
|
|
10001
9955
|
} & {
|
|
10002
9956
|
datetime: string;
|
|
10003
9957
|
data: {
|
|
10004
|
-
|
|
10005
|
-
|
|
10006
|
-
|
|
9958
|
+
readonly id: string & {
|
|
9959
|
+
readonly?: "__readonly" | undefined;
|
|
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;
|
|
10007
9976
|
name: string;
|
|
10008
|
-
description
|
|
10009
|
-
|
|
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: {
|
|
9977
|
+
description: string | null;
|
|
9978
|
+
options: {
|
|
10021
9979
|
name: string;
|
|
10022
|
-
|
|
10023
|
-
|
|
10024
|
-
|
|
9980
|
+
index: number;
|
|
9981
|
+
primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
|
|
9982
|
+
shortDescription: string;
|
|
9983
|
+
fullDescription: string | null;
|
|
9984
|
+
optional?: boolean | undefined;
|
|
10025
9985
|
}[];
|
|
10026
|
-
|
|
10027
|
-
|
|
9986
|
+
sql: string | null;
|
|
9987
|
+
readonly answers: {
|
|
10028
9988
|
name: string;
|
|
10029
|
-
description?: string | undefined;
|
|
10030
9989
|
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;
|
|
10050
9990
|
}[];
|
|
10051
9991
|
};
|
|
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;
|
|
10052
10001
|
};
|
|
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
|
-
}[];
|
|
10066
10002
|
};
|
|
10067
10003
|
program: string;
|
|
10068
10004
|
version: string;
|
|
@@ -10070,115 +10006,23 @@ export default class {
|
|
|
10070
10006
|
code?: number | undefined;
|
|
10071
10007
|
message: string;
|
|
10072
10008
|
}, any, {}>>;
|
|
10073
|
-
|
|
10009
|
+
getEntity: (params: {
|
|
10074
10010
|
id: string;
|
|
10075
10011
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
10076
10012
|
status: "success";
|
|
10077
10013
|
} & {
|
|
10078
10014
|
datetime: string;
|
|
10079
10015
|
data: {
|
|
10080
|
-
|
|
10081
|
-
|
|
10082
|
-
|
|
10083
|
-
|
|
10084
|
-
|
|
10085
|
-
|
|
10086
|
-
|
|
10087
|
-
|
|
10088
|
-
|
|
10089
|
-
|
|
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;
|
|
10016
|
+
readonly id: string & {
|
|
10017
|
+
readonly?: "__readonly" | undefined;
|
|
10018
|
+
};
|
|
10019
|
+
readonly companyId: string & {
|
|
10020
|
+
readonly?: "__readonly" | undefined;
|
|
10021
|
+
};
|
|
10022
|
+
readonly resourceGroupIds: string[];
|
|
10023
|
+
readonly versions: (string | {
|
|
10024
|
+
readonly companyId: string & {
|
|
10025
|
+
readonly?: "__readonly" | undefined;
|
|
10182
10026
|
};
|
|
10183
10027
|
readonly state: import("./definitions").DatagraphEntityVersionState & {
|
|
10184
10028
|
readonly?: "__readonly" | undefined;
|
|
@@ -10213,14 +10057,16 @@ export default class {
|
|
|
10213
10057
|
readonly updatedAt: string & {
|
|
10214
10058
|
readonly?: "__readonly" | undefined;
|
|
10215
10059
|
};
|
|
10216
|
-
}
|
|
10060
|
+
};
|
|
10217
10061
|
program: string;
|
|
10218
10062
|
version: string;
|
|
10219
10063
|
status: string;
|
|
10220
10064
|
code?: number | undefined;
|
|
10221
10065
|
message: string;
|
|
10222
10066
|
}, any, {}>>;
|
|
10223
|
-
|
|
10067
|
+
updateEntity: (params: {
|
|
10068
|
+
id: string;
|
|
10069
|
+
}, data: {
|
|
10224
10070
|
entity: {
|
|
10225
10071
|
name: string;
|
|
10226
10072
|
description?: string | null | undefined;
|
|
@@ -10290,7 +10136,10 @@ export default class {
|
|
|
10290
10136
|
code?: number | undefined;
|
|
10291
10137
|
message: string;
|
|
10292
10138
|
}, any, {}>>;
|
|
10293
|
-
|
|
10139
|
+
deleteEntity: (params: {
|
|
10140
|
+
id: string;
|
|
10141
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
10142
|
+
publishEntity: (params: {
|
|
10294
10143
|
id: string;
|
|
10295
10144
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
10296
10145
|
status: "success";
|
|
@@ -10348,30 +10197,18 @@ export default class {
|
|
|
10348
10197
|
code?: number | undefined;
|
|
10349
10198
|
message: string;
|
|
10350
10199
|
}, any, {}>>;
|
|
10351
|
-
|
|
10352
|
-
|
|
10353
|
-
|
|
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
|
-
};
|
|
10200
|
+
listSchemas: (params: {
|
|
10201
|
+
page?: number | undefined;
|
|
10202
|
+
perPage?: number | undefined;
|
|
10367
10203
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
10204
|
+
paginationCount: number;
|
|
10205
|
+
paginationPage: number;
|
|
10206
|
+
paginationLimit: number;
|
|
10207
|
+
} & {
|
|
10368
10208
|
status: "success";
|
|
10369
10209
|
} & {
|
|
10370
10210
|
datetime: string;
|
|
10371
10211
|
data: {
|
|
10372
|
-
readonly id: string & {
|
|
10373
|
-
readonly?: "__readonly" | undefined;
|
|
10374
|
-
};
|
|
10375
10212
|
readonly companyId: string & {
|
|
10376
10213
|
readonly?: "__readonly" | undefined;
|
|
10377
10214
|
};
|
|
@@ -10380,39 +10217,101 @@ export default class {
|
|
|
10380
10217
|
readonly companyId: string & {
|
|
10381
10218
|
readonly?: "__readonly" | undefined;
|
|
10382
10219
|
};
|
|
10383
|
-
readonly state: import("./definitions").
|
|
10220
|
+
readonly state: import("./definitions").DatagraphSchemaVersionState & {
|
|
10384
10221
|
readonly?: "__readonly" | undefined;
|
|
10385
10222
|
};
|
|
10386
10223
|
_id: string;
|
|
10387
10224
|
__v: number;
|
|
10388
10225
|
readonly definition: {
|
|
10389
|
-
readonly?: "__readonly" | undefined;
|
|
10390
10226
|
name: string;
|
|
10391
|
-
description
|
|
10392
|
-
|
|
10227
|
+
description?: string | undefined;
|
|
10228
|
+
relations?: {
|
|
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: {
|
|
10393
10245
|
name: string;
|
|
10394
|
-
|
|
10395
|
-
|
|
10396
|
-
|
|
10397
|
-
fullDescription: string | null;
|
|
10398
|
-
optional?: boolean | undefined;
|
|
10246
|
+
description?: string | undefined;
|
|
10247
|
+
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";
|
|
10248
|
+
default?: string | number | boolean | undefined;
|
|
10399
10249
|
}[];
|
|
10400
|
-
|
|
10401
|
-
|
|
10250
|
+
virtualColumns?: {
|
|
10251
|
+
query: string;
|
|
10402
10252
|
name: string;
|
|
10253
|
+
description?: string | undefined;
|
|
10403
10254
|
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";
|
|
10404
|
-
}[];
|
|
10405
|
-
|
|
10255
|
+
}[] | undefined;
|
|
10256
|
+
uniqueKeys?: {
|
|
10257
|
+
description?: string | undefined;
|
|
10258
|
+
type: "UniqueKey";
|
|
10259
|
+
columns: string[];
|
|
10260
|
+
}[] | undefined;
|
|
10261
|
+
}[];
|
|
10406
10262
|
})[];
|
|
10407
|
-
|
|
10408
|
-
|
|
10409
|
-
|
|
10410
|
-
|
|
10411
|
-
|
|
10412
|
-
|
|
10413
|
-
|
|
10414
|
-
|
|
10415
|
-
|
|
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[];
|
|
10283
|
+
};
|
|
10284
|
+
}[] | undefined;
|
|
10285
|
+
datasourceId: string;
|
|
10286
|
+
indexes?: {
|
|
10287
|
+
description?: string | undefined;
|
|
10288
|
+
type: "Index";
|
|
10289
|
+
columns: string[];
|
|
10290
|
+
}[] | undefined;
|
|
10291
|
+
columns: {
|
|
10292
|
+
name: string;
|
|
10293
|
+
description?: string | undefined;
|
|
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;
|
|
10416
10315
|
};
|
|
10417
10316
|
program: string;
|
|
10418
10317
|
version: string;
|
|
@@ -10420,60 +10319,161 @@ export default class {
|
|
|
10420
10319
|
code?: number | undefined;
|
|
10421
10320
|
message: string;
|
|
10422
10321
|
}, any, {}>>;
|
|
10423
|
-
|
|
10424
|
-
|
|
10425
|
-
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
10426
|
-
publishEntity: (params: {
|
|
10427
|
-
id: string;
|
|
10322
|
+
validateSchema: (params: Record<string, never>, data: {
|
|
10323
|
+
schema: unknown;
|
|
10428
10324
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
10429
10325
|
status: "success";
|
|
10430
10326
|
} & {
|
|
10431
10327
|
datetime: string;
|
|
10432
10328
|
data: {
|
|
10433
|
-
|
|
10434
|
-
|
|
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;
|
|
10329
|
+
validation: {
|
|
10330
|
+
success: true;
|
|
10331
|
+
data: {
|
|
10451
10332
|
name: string;
|
|
10452
|
-
description
|
|
10453
|
-
|
|
10333
|
+
description?: string | undefined;
|
|
10334
|
+
relations?: {
|
|
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: {
|
|
10454
10351
|
name: string;
|
|
10455
|
-
|
|
10456
|
-
|
|
10457
|
-
|
|
10458
|
-
fullDescription: string | null;
|
|
10459
|
-
optional?: boolean | undefined;
|
|
10352
|
+
description?: string | undefined;
|
|
10353
|
+
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";
|
|
10354
|
+
default?: string | number | boolean | undefined;
|
|
10460
10355
|
}[];
|
|
10461
|
-
|
|
10462
|
-
|
|
10356
|
+
virtualColumns?: {
|
|
10357
|
+
query: string;
|
|
10463
10358
|
name: string;
|
|
10359
|
+
description?: string | undefined;
|
|
10464
10360
|
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;
|
|
10465
10375
|
}[];
|
|
10466
10376
|
};
|
|
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;
|
|
10476
10377
|
};
|
|
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;
|