@rlvt/datasources-openapi-client 1.0.409 → 1.0.411
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 +342 -342
- package/build/api.js +31 -31
- package/build/definitions.d.ts +138 -138
- package/build/definitions.js +8 -8
- package/package.json +1 -1
package/build/api.d.ts
CHANGED
|
@@ -16,13 +16,6 @@ export default class {
|
|
|
16
16
|
private deleteOauthClient;
|
|
17
17
|
private getAuthorizeUrl;
|
|
18
18
|
private getAuthorizeUrlForDatasource;
|
|
19
|
-
private listDatagraphSchemas;
|
|
20
|
-
private createSchema;
|
|
21
|
-
private validateDatagraphSchema;
|
|
22
|
-
private getDatagraphSchema;
|
|
23
|
-
private updateDatagraphSchema;
|
|
24
|
-
private deleteDatagraphSchema;
|
|
25
|
-
private publishDatagraphSchema;
|
|
26
19
|
private listDatagraphEntityGroups;
|
|
27
20
|
private createDatagraphEntityGroup;
|
|
28
21
|
private getDatagraphEntityGroup;
|
|
@@ -30,6 +23,13 @@ export default class {
|
|
|
30
23
|
private deleteDatagraphEntityGroup;
|
|
31
24
|
private listDatagraphEntityGroupEntities;
|
|
32
25
|
private publishDatagraphEntityGroup;
|
|
26
|
+
private listDatagraphSchemas;
|
|
27
|
+
private createSchema;
|
|
28
|
+
private validateDatagraphSchema;
|
|
29
|
+
private getDatagraphSchema;
|
|
30
|
+
private updateDatagraphSchema;
|
|
31
|
+
private deleteDatagraphSchema;
|
|
32
|
+
private publishDatagraphSchema;
|
|
33
33
|
private listDatagraphEntities;
|
|
34
34
|
private createEntity;
|
|
35
35
|
private getDatagraphEntity;
|
|
@@ -9879,7 +9879,9 @@ export default class {
|
|
|
9879
9879
|
}, any, {}>>;
|
|
9880
9880
|
};
|
|
9881
9881
|
get Datagraph(): {
|
|
9882
|
-
|
|
9882
|
+
listEntityGroups: (params: {
|
|
9883
|
+
name?: string | undefined;
|
|
9884
|
+
entityId?: string | undefined;
|
|
9883
9885
|
page?: number | undefined;
|
|
9884
9886
|
perPage?: number | undefined;
|
|
9885
9887
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
@@ -9891,6 +9893,9 @@ export default class {
|
|
|
9891
9893
|
} & {
|
|
9892
9894
|
datetime: string;
|
|
9893
9895
|
data: {
|
|
9896
|
+
readonly id: string & {
|
|
9897
|
+
readonly?: "__readonly" | undefined;
|
|
9898
|
+
};
|
|
9894
9899
|
readonly companyId: string & {
|
|
9895
9900
|
readonly?: "__readonly" | undefined;
|
|
9896
9901
|
};
|
|
@@ -9899,50 +9904,39 @@ export default class {
|
|
|
9899
9904
|
readonly companyId: string & {
|
|
9900
9905
|
readonly?: "__readonly" | undefined;
|
|
9901
9906
|
};
|
|
9902
|
-
|
|
9907
|
+
changeDescription?: string | undefined;
|
|
9908
|
+
readonly state: import("./definitions").DatagraphEntityGroupVersionState & {
|
|
9903
9909
|
readonly?: "__readonly" | undefined;
|
|
9904
9910
|
};
|
|
9905
9911
|
_id: string;
|
|
9906
9912
|
__v: number;
|
|
9907
9913
|
readonly definition: {
|
|
9914
|
+
readonly?: "__readonly" | undefined;
|
|
9908
9915
|
name: string;
|
|
9909
|
-
description
|
|
9910
|
-
|
|
9911
|
-
|
|
9912
|
-
type: "Relation";
|
|
9913
|
-
columns: string[];
|
|
9914
|
-
reference: {
|
|
9915
|
-
datasourceId: string;
|
|
9916
|
-
table: string;
|
|
9917
|
-
columns: string[];
|
|
9918
|
-
};
|
|
9919
|
-
}[] | undefined;
|
|
9920
|
-
datasourceId: string;
|
|
9921
|
-
columns: {
|
|
9916
|
+
description: string | null;
|
|
9917
|
+
label: string;
|
|
9918
|
+
fields: {
|
|
9922
9919
|
name: string;
|
|
9923
|
-
description
|
|
9920
|
+
description: string | null;
|
|
9924
9921
|
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
|
-
|
|
9922
|
+
required: boolean;
|
|
9923
|
+
nullable: boolean;
|
|
9926
9924
|
}[];
|
|
9927
|
-
|
|
9928
|
-
|
|
9929
|
-
|
|
9930
|
-
|
|
9931
|
-
|
|
9932
|
-
}[] | undefined;
|
|
9933
|
-
uniqueKeys?: {
|
|
9934
|
-
description?: string | undefined;
|
|
9935
|
-
type: "UniqueKey";
|
|
9936
|
-
columns: string[];
|
|
9937
|
-
}[] | undefined;
|
|
9938
|
-
indexes?: {
|
|
9939
|
-
description?: string | undefined;
|
|
9940
|
-
type: "Index";
|
|
9941
|
-
columns: string[];
|
|
9942
|
-
}[] | undefined;
|
|
9943
|
-
}[];
|
|
9925
|
+
entityIds: string[];
|
|
9926
|
+
};
|
|
9927
|
+
readonly lastSavedBy?: (string & {
|
|
9928
|
+
readonly?: "__readonly" | undefined;
|
|
9929
|
+
}) | undefined;
|
|
9944
9930
|
})[];
|
|
9945
|
-
archivedAt: string
|
|
9931
|
+
readonly archivedAt: string & {
|
|
9932
|
+
readonly?: "__readonly" | undefined;
|
|
9933
|
+
};
|
|
9934
|
+
readonly createdAt: string & {
|
|
9935
|
+
readonly?: "__readonly" | undefined;
|
|
9936
|
+
};
|
|
9937
|
+
readonly updatedAt: string & {
|
|
9938
|
+
readonly?: "__readonly" | undefined;
|
|
9939
|
+
};
|
|
9946
9940
|
}[];
|
|
9947
9941
|
program: string;
|
|
9948
9942
|
version: string;
|
|
@@ -9950,126 +9944,69 @@ export default class {
|
|
|
9950
9944
|
code?: number | undefined;
|
|
9951
9945
|
message: string;
|
|
9952
9946
|
}, any, {}>>;
|
|
9953
|
-
|
|
9954
|
-
|
|
9947
|
+
createEntityGroup: (params: Record<string, never>, data: {
|
|
9948
|
+
group: {
|
|
9955
9949
|
name: string;
|
|
9956
|
-
description
|
|
9957
|
-
|
|
9958
|
-
|
|
9959
|
-
type: "Relation";
|
|
9960
|
-
columns: string[];
|
|
9961
|
-
reference: {
|
|
9962
|
-
datasourceId: string;
|
|
9963
|
-
table: string;
|
|
9964
|
-
columns: string[];
|
|
9965
|
-
};
|
|
9966
|
-
}[] | undefined;
|
|
9967
|
-
datasourceId: string;
|
|
9968
|
-
columns: {
|
|
9950
|
+
description: string | null;
|
|
9951
|
+
label: string;
|
|
9952
|
+
fields: {
|
|
9969
9953
|
name: string;
|
|
9970
|
-
description
|
|
9971
|
-
type:
|
|
9972
|
-
|
|
9954
|
+
description: string | null;
|
|
9955
|
+
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";
|
|
9956
|
+
required: boolean;
|
|
9957
|
+
nullable: boolean;
|
|
9973
9958
|
}[];
|
|
9974
|
-
|
|
9975
|
-
query: string;
|
|
9976
|
-
name: string;
|
|
9977
|
-
description?: string | undefined;
|
|
9978
|
-
type: FieldMapType;
|
|
9979
|
-
}[] | undefined;
|
|
9980
|
-
uniqueKeys?: {
|
|
9981
|
-
description?: string | undefined;
|
|
9982
|
-
type: "UniqueKey";
|
|
9983
|
-
columns: string[];
|
|
9984
|
-
}[] | undefined;
|
|
9985
|
-
indexes?: {
|
|
9986
|
-
description?: string | undefined;
|
|
9987
|
-
type: "Index";
|
|
9988
|
-
columns: string[];
|
|
9989
|
-
}[] | undefined;
|
|
9990
|
-
}[];
|
|
9991
|
-
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
9992
|
-
status: "success";
|
|
9993
|
-
} & {
|
|
9994
|
-
datetime: string;
|
|
9995
|
-
data: {
|
|
9996
|
-
[x: string]: unknown;
|
|
9959
|
+
entityIds: string[];
|
|
9997
9960
|
};
|
|
9998
|
-
program: string;
|
|
9999
|
-
version: string;
|
|
10000
|
-
status: string;
|
|
10001
|
-
code?: number | undefined;
|
|
10002
|
-
message: string;
|
|
10003
|
-
}, any, {}>>;
|
|
10004
|
-
validateSchema: (params: Record<string, never>, data: {
|
|
10005
|
-
schema: unknown;
|
|
10006
9961
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
10007
9962
|
status: "success";
|
|
10008
9963
|
} & {
|
|
10009
9964
|
datetime: string;
|
|
10010
9965
|
data: {
|
|
10011
|
-
|
|
10012
|
-
|
|
10013
|
-
|
|
9966
|
+
readonly id: string & {
|
|
9967
|
+
readonly?: "__readonly" | undefined;
|
|
9968
|
+
};
|
|
9969
|
+
readonly companyId: string & {
|
|
9970
|
+
readonly?: "__readonly" | undefined;
|
|
9971
|
+
};
|
|
9972
|
+
readonly resourceGroupIds: string[];
|
|
9973
|
+
readonly versions: (string | {
|
|
9974
|
+
readonly companyId: string & {
|
|
9975
|
+
readonly?: "__readonly" | undefined;
|
|
9976
|
+
};
|
|
9977
|
+
changeDescription?: string | undefined;
|
|
9978
|
+
readonly state: import("./definitions").DatagraphEntityGroupVersionState & {
|
|
9979
|
+
readonly?: "__readonly" | undefined;
|
|
9980
|
+
};
|
|
9981
|
+
_id: string;
|
|
9982
|
+
__v: number;
|
|
9983
|
+
readonly definition: {
|
|
9984
|
+
readonly?: "__readonly" | undefined;
|
|
10014
9985
|
name: string;
|
|
10015
|
-
description
|
|
10016
|
-
|
|
10017
|
-
|
|
10018
|
-
type: "Relation";
|
|
10019
|
-
columns: string[];
|
|
10020
|
-
reference: {
|
|
10021
|
-
datasourceId: string;
|
|
10022
|
-
table: string;
|
|
10023
|
-
columns: string[];
|
|
10024
|
-
};
|
|
10025
|
-
}[] | undefined;
|
|
10026
|
-
datasourceId: string;
|
|
10027
|
-
columns: {
|
|
10028
|
-
name: string;
|
|
10029
|
-
description?: string | undefined;
|
|
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
|
-
default?: string | number | boolean | undefined;
|
|
10032
|
-
}[];
|
|
10033
|
-
virtualColumns?: {
|
|
10034
|
-
query: string;
|
|
9986
|
+
description: string | null;
|
|
9987
|
+
label: string;
|
|
9988
|
+
fields: {
|
|
10035
9989
|
name: string;
|
|
10036
|
-
description
|
|
9990
|
+
description: string | null;
|
|
10037
9991
|
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";
|
|
10038
|
-
|
|
10039
|
-
|
|
10040
|
-
description?: string | undefined;
|
|
10041
|
-
type: "UniqueKey";
|
|
10042
|
-
columns: string[];
|
|
10043
|
-
}[] | undefined;
|
|
10044
|
-
indexes?: {
|
|
10045
|
-
description?: string | undefined;
|
|
10046
|
-
type: "Index";
|
|
10047
|
-
columns: string[];
|
|
10048
|
-
}[] | undefined;
|
|
10049
|
-
}[];
|
|
10050
|
-
} | {
|
|
10051
|
-
success: false;
|
|
10052
|
-
error: {
|
|
10053
|
-
issues: {
|
|
10054
|
-
path: (string | number)[];
|
|
10055
|
-
code: string;
|
|
10056
|
-
message: string;
|
|
9992
|
+
required: boolean;
|
|
9993
|
+
nullable: boolean;
|
|
10057
9994
|
}[];
|
|
9995
|
+
entityIds: string[];
|
|
10058
9996
|
};
|
|
9997
|
+
readonly lastSavedBy?: (string & {
|
|
9998
|
+
readonly?: "__readonly" | undefined;
|
|
9999
|
+
}) | undefined;
|
|
10000
|
+
})[];
|
|
10001
|
+
readonly archivedAt: string & {
|
|
10002
|
+
readonly?: "__readonly" | undefined;
|
|
10003
|
+
};
|
|
10004
|
+
readonly createdAt: string & {
|
|
10005
|
+
readonly?: "__readonly" | undefined;
|
|
10006
|
+
};
|
|
10007
|
+
readonly updatedAt: string & {
|
|
10008
|
+
readonly?: "__readonly" | undefined;
|
|
10059
10009
|
};
|
|
10060
|
-
relations: {
|
|
10061
|
-
error?: string | undefined;
|
|
10062
|
-
fromDatasourceId: string;
|
|
10063
|
-
fromTable: string;
|
|
10064
|
-
fromColumn: string;
|
|
10065
|
-
fromDistinctCount: number | null;
|
|
10066
|
-
toDatasourceId: string;
|
|
10067
|
-
toTable: string;
|
|
10068
|
-
toColumn: string;
|
|
10069
|
-
toDistinctCount: number | null;
|
|
10070
|
-
matchCount: number | null;
|
|
10071
|
-
matchPercentage: number | null;
|
|
10072
|
-
}[];
|
|
10073
10010
|
};
|
|
10074
10011
|
program: string;
|
|
10075
10012
|
version: string;
|
|
@@ -10077,103 +10014,10 @@ export default class {
|
|
|
10077
10014
|
code?: number | undefined;
|
|
10078
10015
|
message: string;
|
|
10079
10016
|
}, any, {}>>;
|
|
10080
|
-
|
|
10017
|
+
getEntityGroup: (params: {
|
|
10081
10018
|
id: string;
|
|
10082
10019
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
10083
10020
|
status: "success";
|
|
10084
|
-
} & {
|
|
10085
|
-
datetime: string;
|
|
10086
|
-
data: {
|
|
10087
|
-
[x: string]: unknown;
|
|
10088
|
-
};
|
|
10089
|
-
program: string;
|
|
10090
|
-
version: string;
|
|
10091
|
-
status: string;
|
|
10092
|
-
code?: number | undefined;
|
|
10093
|
-
message: string;
|
|
10094
|
-
}, any, {}>>;
|
|
10095
|
-
updateSchema: (params: {
|
|
10096
|
-
id: string;
|
|
10097
|
-
}, data: {
|
|
10098
|
-
schema: {
|
|
10099
|
-
name: string;
|
|
10100
|
-
description?: string | undefined;
|
|
10101
|
-
relations?: {
|
|
10102
|
-
description?: string | undefined;
|
|
10103
|
-
type: "Relation";
|
|
10104
|
-
columns: string[];
|
|
10105
|
-
reference: {
|
|
10106
|
-
datasourceId: string;
|
|
10107
|
-
table: string;
|
|
10108
|
-
columns: string[];
|
|
10109
|
-
};
|
|
10110
|
-
}[] | undefined;
|
|
10111
|
-
datasourceId: string;
|
|
10112
|
-
columns: {
|
|
10113
|
-
name: string;
|
|
10114
|
-
description?: string | undefined;
|
|
10115
|
-
type: FieldMapType;
|
|
10116
|
-
default?: string | number | boolean | undefined;
|
|
10117
|
-
}[];
|
|
10118
|
-
virtualColumns?: {
|
|
10119
|
-
query: string;
|
|
10120
|
-
name: string;
|
|
10121
|
-
description?: string | undefined;
|
|
10122
|
-
type: FieldMapType;
|
|
10123
|
-
}[] | undefined;
|
|
10124
|
-
uniqueKeys?: {
|
|
10125
|
-
description?: string | undefined;
|
|
10126
|
-
type: "UniqueKey";
|
|
10127
|
-
columns: string[];
|
|
10128
|
-
}[] | undefined;
|
|
10129
|
-
indexes?: {
|
|
10130
|
-
description?: string | undefined;
|
|
10131
|
-
type: "Index";
|
|
10132
|
-
columns: string[];
|
|
10133
|
-
}[] | undefined;
|
|
10134
|
-
}[];
|
|
10135
|
-
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
10136
|
-
status: "success";
|
|
10137
|
-
} & {
|
|
10138
|
-
datetime: string;
|
|
10139
|
-
data: {
|
|
10140
|
-
[x: string]: unknown;
|
|
10141
|
-
};
|
|
10142
|
-
program: string;
|
|
10143
|
-
version: string;
|
|
10144
|
-
status: string;
|
|
10145
|
-
code?: number | undefined;
|
|
10146
|
-
message: string;
|
|
10147
|
-
}, any, {}>>;
|
|
10148
|
-
deleteSchema: (params: {
|
|
10149
|
-
id: string;
|
|
10150
|
-
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
10151
|
-
publishSchema: (params: {
|
|
10152
|
-
id: string;
|
|
10153
|
-
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
10154
|
-
status: "success";
|
|
10155
|
-
} & {
|
|
10156
|
-
datetime: string;
|
|
10157
|
-
data: {
|
|
10158
|
-
[x: string]: unknown;
|
|
10159
|
-
};
|
|
10160
|
-
program: string;
|
|
10161
|
-
version: string;
|
|
10162
|
-
status: string;
|
|
10163
|
-
code?: number | undefined;
|
|
10164
|
-
message: string;
|
|
10165
|
-
}, any, {}>>;
|
|
10166
|
-
listEntityGroups: (params: {
|
|
10167
|
-
name?: string | undefined;
|
|
10168
|
-
entityId?: string | undefined;
|
|
10169
|
-
page?: number | undefined;
|
|
10170
|
-
perPage?: number | undefined;
|
|
10171
|
-
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
10172
|
-
paginationCount: number;
|
|
10173
|
-
paginationPage: number;
|
|
10174
|
-
paginationLimit: number;
|
|
10175
|
-
} & {
|
|
10176
|
-
status: "success";
|
|
10177
10021
|
} & {
|
|
10178
10022
|
datetime: string;
|
|
10179
10023
|
data: {
|
|
@@ -10221,14 +10065,16 @@ export default class {
|
|
|
10221
10065
|
readonly updatedAt: string & {
|
|
10222
10066
|
readonly?: "__readonly" | undefined;
|
|
10223
10067
|
};
|
|
10224
|
-
}
|
|
10068
|
+
};
|
|
10225
10069
|
program: string;
|
|
10226
10070
|
version: string;
|
|
10227
10071
|
status: string;
|
|
10228
10072
|
code?: number | undefined;
|
|
10229
10073
|
message: string;
|
|
10230
10074
|
}, any, {}>>;
|
|
10231
|
-
|
|
10075
|
+
updateEntityGroup: (params: {
|
|
10076
|
+
id: string;
|
|
10077
|
+
}, data: {
|
|
10232
10078
|
group: {
|
|
10233
10079
|
name: string;
|
|
10234
10080
|
description: string | null;
|
|
@@ -10298,7 +10144,10 @@ export default class {
|
|
|
10298
10144
|
code?: number | undefined;
|
|
10299
10145
|
message: string;
|
|
10300
10146
|
}, any, {}>>;
|
|
10301
|
-
|
|
10147
|
+
deleteEntityGroup: (params: {
|
|
10148
|
+
id: string;
|
|
10149
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
10150
|
+
listEntityGroupEntities: (params: {
|
|
10302
10151
|
id: string;
|
|
10303
10152
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
10304
10153
|
status: "success";
|
|
@@ -10317,7 +10166,7 @@ export default class {
|
|
|
10317
10166
|
readonly?: "__readonly" | undefined;
|
|
10318
10167
|
};
|
|
10319
10168
|
changeDescription?: string | undefined;
|
|
10320
|
-
readonly state: import("./definitions").
|
|
10169
|
+
readonly state: import("./definitions").DatagraphEntityVersionState & {
|
|
10321
10170
|
readonly?: "__readonly" | undefined;
|
|
10322
10171
|
};
|
|
10323
10172
|
_id: string;
|
|
@@ -10326,15 +10175,19 @@ export default class {
|
|
|
10326
10175
|
readonly?: "__readonly" | undefined;
|
|
10327
10176
|
name: string;
|
|
10328
10177
|
description: string | null;
|
|
10329
|
-
|
|
10330
|
-
|
|
10178
|
+
options: {
|
|
10179
|
+
name: string;
|
|
10180
|
+
index: number;
|
|
10181
|
+
primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
|
|
10182
|
+
shortDescription: string;
|
|
10183
|
+
fullDescription: string | null;
|
|
10184
|
+
optional?: boolean | undefined;
|
|
10185
|
+
}[];
|
|
10186
|
+
sql: string | null;
|
|
10187
|
+
readonly answers: {
|
|
10331
10188
|
name: string;
|
|
10332
|
-
description: string | null;
|
|
10333
10189
|
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";
|
|
10334
|
-
required: boolean;
|
|
10335
|
-
nullable: boolean;
|
|
10336
10190
|
}[];
|
|
10337
|
-
entityIds: string[];
|
|
10338
10191
|
};
|
|
10339
10192
|
readonly lastSavedBy?: (string & {
|
|
10340
10193
|
readonly?: "__readonly" | undefined;
|
|
@@ -10349,29 +10202,17 @@ export default class {
|
|
|
10349
10202
|
readonly updatedAt: string & {
|
|
10350
10203
|
readonly?: "__readonly" | undefined;
|
|
10351
10204
|
};
|
|
10352
|
-
};
|
|
10205
|
+
}[];
|
|
10353
10206
|
program: string;
|
|
10354
10207
|
version: string;
|
|
10355
10208
|
status: string;
|
|
10356
10209
|
code?: number | undefined;
|
|
10357
10210
|
message: string;
|
|
10358
10211
|
}, any, {}>>;
|
|
10359
|
-
|
|
10212
|
+
publishEntityGroup: (params: {
|
|
10360
10213
|
id: string;
|
|
10361
10214
|
}, data: {
|
|
10362
|
-
|
|
10363
|
-
name: string;
|
|
10364
|
-
description: string | null;
|
|
10365
|
-
label: string;
|
|
10366
|
-
fields: {
|
|
10367
|
-
name: string;
|
|
10368
|
-
description: string | null;
|
|
10369
|
-
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";
|
|
10370
|
-
required: boolean;
|
|
10371
|
-
nullable: boolean;
|
|
10372
|
-
}[];
|
|
10373
|
-
entityIds: string[];
|
|
10374
|
-
};
|
|
10215
|
+
changeDescription?: string | undefined;
|
|
10375
10216
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
10376
10217
|
status: "success";
|
|
10377
10218
|
} & {
|
|
@@ -10428,19 +10269,18 @@ export default class {
|
|
|
10428
10269
|
code?: number | undefined;
|
|
10429
10270
|
message: string;
|
|
10430
10271
|
}, any, {}>>;
|
|
10431
|
-
|
|
10432
|
-
|
|
10433
|
-
|
|
10434
|
-
listEntityGroupEntities: (params: {
|
|
10435
|
-
id: string;
|
|
10272
|
+
listSchemas: (params: {
|
|
10273
|
+
page?: number | undefined;
|
|
10274
|
+
perPage?: number | undefined;
|
|
10436
10275
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
10276
|
+
paginationCount: number;
|
|
10277
|
+
paginationPage: number;
|
|
10278
|
+
paginationLimit: number;
|
|
10279
|
+
} & {
|
|
10437
10280
|
status: "success";
|
|
10438
10281
|
} & {
|
|
10439
10282
|
datetime: string;
|
|
10440
10283
|
data: {
|
|
10441
|
-
readonly id: string & {
|
|
10442
|
-
readonly?: "__readonly" | undefined;
|
|
10443
|
-
};
|
|
10444
10284
|
readonly companyId: string & {
|
|
10445
10285
|
readonly?: "__readonly" | undefined;
|
|
10446
10286
|
};
|
|
@@ -10449,43 +10289,50 @@ export default class {
|
|
|
10449
10289
|
readonly companyId: string & {
|
|
10450
10290
|
readonly?: "__readonly" | undefined;
|
|
10451
10291
|
};
|
|
10452
|
-
|
|
10453
|
-
readonly state: import("./definitions").DatagraphEntityVersionState & {
|
|
10292
|
+
readonly state: import("./definitions").DatagraphSchemaVersionState & {
|
|
10454
10293
|
readonly?: "__readonly" | undefined;
|
|
10455
10294
|
};
|
|
10456
10295
|
_id: string;
|
|
10457
10296
|
__v: number;
|
|
10458
10297
|
readonly definition: {
|
|
10459
|
-
readonly?: "__readonly" | undefined;
|
|
10460
10298
|
name: string;
|
|
10461
|
-
description
|
|
10462
|
-
|
|
10299
|
+
description?: string | undefined;
|
|
10300
|
+
relations?: {
|
|
10301
|
+
description?: string | undefined;
|
|
10302
|
+
type: "Relation";
|
|
10303
|
+
columns: string[];
|
|
10304
|
+
reference: {
|
|
10305
|
+
datasourceId: string;
|
|
10306
|
+
table: string;
|
|
10307
|
+
columns: string[];
|
|
10308
|
+
};
|
|
10309
|
+
}[] | undefined;
|
|
10310
|
+
datasourceId: string;
|
|
10311
|
+
indexes?: {
|
|
10312
|
+
description?: string | undefined;
|
|
10313
|
+
type: "Index";
|
|
10314
|
+
columns: string[];
|
|
10315
|
+
}[] | undefined;
|
|
10316
|
+
columns: {
|
|
10463
10317
|
name: string;
|
|
10464
|
-
|
|
10465
|
-
|
|
10466
|
-
|
|
10467
|
-
fullDescription: string | null;
|
|
10468
|
-
optional?: boolean | undefined;
|
|
10318
|
+
description?: string | undefined;
|
|
10319
|
+
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";
|
|
10320
|
+
default?: string | number | boolean | undefined;
|
|
10469
10321
|
}[];
|
|
10470
|
-
|
|
10471
|
-
|
|
10322
|
+
virtualColumns?: {
|
|
10323
|
+
query: string;
|
|
10472
10324
|
name: string;
|
|
10325
|
+
description?: string | undefined;
|
|
10473
10326
|
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";
|
|
10474
|
-
}[];
|
|
10475
|
-
|
|
10476
|
-
|
|
10477
|
-
|
|
10478
|
-
|
|
10327
|
+
}[] | undefined;
|
|
10328
|
+
uniqueKeys?: {
|
|
10329
|
+
description?: string | undefined;
|
|
10330
|
+
type: "UniqueKey";
|
|
10331
|
+
columns: string[];
|
|
10332
|
+
}[] | undefined;
|
|
10333
|
+
}[];
|
|
10479
10334
|
})[];
|
|
10480
|
-
|
|
10481
|
-
readonly?: "__readonly" | undefined;
|
|
10482
|
-
};
|
|
10483
|
-
readonly createdAt: string & {
|
|
10484
|
-
readonly?: "__readonly" | undefined;
|
|
10485
|
-
};
|
|
10486
|
-
readonly updatedAt: string & {
|
|
10487
|
-
readonly?: "__readonly" | undefined;
|
|
10488
|
-
};
|
|
10335
|
+
archivedAt: string | null;
|
|
10489
10336
|
}[];
|
|
10490
10337
|
program: string;
|
|
10491
10338
|
version: string;
|
|
@@ -10493,59 +10340,212 @@ export default class {
|
|
|
10493
10340
|
code?: number | undefined;
|
|
10494
10341
|
message: string;
|
|
10495
10342
|
}, any, {}>>;
|
|
10496
|
-
|
|
10497
|
-
|
|
10498
|
-
|
|
10499
|
-
|
|
10343
|
+
createSchema: (params: Record<string, never>, data: {
|
|
10344
|
+
schema: {
|
|
10345
|
+
name: string;
|
|
10346
|
+
description?: string | undefined;
|
|
10347
|
+
relations?: {
|
|
10348
|
+
description?: string | undefined;
|
|
10349
|
+
type: "Relation";
|
|
10350
|
+
columns: string[];
|
|
10351
|
+
reference: {
|
|
10352
|
+
datasourceId: string;
|
|
10353
|
+
table: string;
|
|
10354
|
+
columns: string[];
|
|
10355
|
+
};
|
|
10356
|
+
}[] | undefined;
|
|
10357
|
+
datasourceId: string;
|
|
10358
|
+
indexes?: {
|
|
10359
|
+
description?: string | undefined;
|
|
10360
|
+
type: "Index";
|
|
10361
|
+
columns: string[];
|
|
10362
|
+
}[] | undefined;
|
|
10363
|
+
columns: {
|
|
10364
|
+
name: string;
|
|
10365
|
+
description?: string | undefined;
|
|
10366
|
+
type: FieldMapType;
|
|
10367
|
+
default?: string | number | boolean | undefined;
|
|
10368
|
+
}[];
|
|
10369
|
+
virtualColumns?: {
|
|
10370
|
+
query: string;
|
|
10371
|
+
name: string;
|
|
10372
|
+
description?: string | undefined;
|
|
10373
|
+
type: FieldMapType;
|
|
10374
|
+
}[] | undefined;
|
|
10375
|
+
uniqueKeys?: {
|
|
10376
|
+
description?: string | undefined;
|
|
10377
|
+
type: "UniqueKey";
|
|
10378
|
+
columns: string[];
|
|
10379
|
+
}[] | undefined;
|
|
10380
|
+
}[];
|
|
10500
10381
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
10501
10382
|
status: "success";
|
|
10502
10383
|
} & {
|
|
10503
10384
|
datetime: string;
|
|
10504
10385
|
data: {
|
|
10505
|
-
|
|
10506
|
-
|
|
10507
|
-
|
|
10508
|
-
|
|
10509
|
-
|
|
10510
|
-
|
|
10511
|
-
|
|
10512
|
-
|
|
10513
|
-
|
|
10514
|
-
|
|
10515
|
-
|
|
10516
|
-
|
|
10517
|
-
|
|
10518
|
-
|
|
10519
|
-
|
|
10520
|
-
|
|
10521
|
-
|
|
10522
|
-
|
|
10523
|
-
readonly?: "__readonly" | undefined;
|
|
10386
|
+
[x: string]: unknown;
|
|
10387
|
+
};
|
|
10388
|
+
program: string;
|
|
10389
|
+
version: string;
|
|
10390
|
+
status: string;
|
|
10391
|
+
code?: number | undefined;
|
|
10392
|
+
message: string;
|
|
10393
|
+
}, any, {}>>;
|
|
10394
|
+
validateSchema: (params: Record<string, never>, data: {
|
|
10395
|
+
schema: unknown;
|
|
10396
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
10397
|
+
status: "success";
|
|
10398
|
+
} & {
|
|
10399
|
+
datetime: string;
|
|
10400
|
+
data: {
|
|
10401
|
+
validation: {
|
|
10402
|
+
success: true;
|
|
10403
|
+
data: {
|
|
10524
10404
|
name: string;
|
|
10525
|
-
description
|
|
10526
|
-
|
|
10527
|
-
|
|
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: {
|
|
10528
10423
|
name: string;
|
|
10529
|
-
description
|
|
10424
|
+
description?: string | undefined;
|
|
10530
10425
|
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";
|
|
10531
|
-
|
|
10532
|
-
|
|
10426
|
+
default?: string | number | boolean | undefined;
|
|
10427
|
+
}[];
|
|
10428
|
+
virtualColumns?: {
|
|
10429
|
+
query: string;
|
|
10430
|
+
name: string;
|
|
10431
|
+
description?: string | undefined;
|
|
10432
|
+
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";
|
|
10433
|
+
}[] | undefined;
|
|
10434
|
+
uniqueKeys?: {
|
|
10435
|
+
description?: string | undefined;
|
|
10436
|
+
type: "UniqueKey";
|
|
10437
|
+
columns: string[];
|
|
10438
|
+
}[] | undefined;
|
|
10439
|
+
}[];
|
|
10440
|
+
} | {
|
|
10441
|
+
success: false;
|
|
10442
|
+
error: {
|
|
10443
|
+
issues: {
|
|
10444
|
+
path: (string | number)[];
|
|
10445
|
+
code: string;
|
|
10446
|
+
message: string;
|
|
10533
10447
|
}[];
|
|
10534
|
-
entityIds: string[];
|
|
10535
10448
|
};
|
|
10536
|
-
readonly lastSavedBy?: (string & {
|
|
10537
|
-
readonly?: "__readonly" | undefined;
|
|
10538
|
-
}) | undefined;
|
|
10539
|
-
})[];
|
|
10540
|
-
readonly archivedAt: string & {
|
|
10541
|
-
readonly?: "__readonly" | undefined;
|
|
10542
|
-
};
|
|
10543
|
-
readonly createdAt: string & {
|
|
10544
|
-
readonly?: "__readonly" | undefined;
|
|
10545
|
-
};
|
|
10546
|
-
readonly updatedAt: string & {
|
|
10547
|
-
readonly?: "__readonly" | undefined;
|
|
10548
10449
|
};
|
|
10450
|
+
relations: {
|
|
10451
|
+
error?: string | undefined;
|
|
10452
|
+
fromDatasourceId: string;
|
|
10453
|
+
fromTable: string;
|
|
10454
|
+
fromColumn: string;
|
|
10455
|
+
fromDistinctCount: number | null;
|
|
10456
|
+
toDatasourceId: string;
|
|
10457
|
+
toTable: string;
|
|
10458
|
+
toColumn: string;
|
|
10459
|
+
toDistinctCount: number | null;
|
|
10460
|
+
matchCount: number | null;
|
|
10461
|
+
matchPercentage: number | null;
|
|
10462
|
+
}[];
|
|
10463
|
+
};
|
|
10464
|
+
program: string;
|
|
10465
|
+
version: string;
|
|
10466
|
+
status: string;
|
|
10467
|
+
code?: number | undefined;
|
|
10468
|
+
message: string;
|
|
10469
|
+
}, any, {}>>;
|
|
10470
|
+
getSchema: (params: {
|
|
10471
|
+
id: string;
|
|
10472
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
10473
|
+
status: "success";
|
|
10474
|
+
} & {
|
|
10475
|
+
datetime: string;
|
|
10476
|
+
data: {
|
|
10477
|
+
[x: string]: unknown;
|
|
10478
|
+
};
|
|
10479
|
+
program: string;
|
|
10480
|
+
version: string;
|
|
10481
|
+
status: string;
|
|
10482
|
+
code?: number | undefined;
|
|
10483
|
+
message: string;
|
|
10484
|
+
}, any, {}>>;
|
|
10485
|
+
updateSchema: (params: {
|
|
10486
|
+
id: string;
|
|
10487
|
+
}, data: {
|
|
10488
|
+
schema: {
|
|
10489
|
+
name: string;
|
|
10490
|
+
description?: string | undefined;
|
|
10491
|
+
relations?: {
|
|
10492
|
+
description?: string | undefined;
|
|
10493
|
+
type: "Relation";
|
|
10494
|
+
columns: string[];
|
|
10495
|
+
reference: {
|
|
10496
|
+
datasourceId: string;
|
|
10497
|
+
table: string;
|
|
10498
|
+
columns: string[];
|
|
10499
|
+
};
|
|
10500
|
+
}[] | undefined;
|
|
10501
|
+
datasourceId: string;
|
|
10502
|
+
indexes?: {
|
|
10503
|
+
description?: string | undefined;
|
|
10504
|
+
type: "Index";
|
|
10505
|
+
columns: string[];
|
|
10506
|
+
}[] | undefined;
|
|
10507
|
+
columns: {
|
|
10508
|
+
name: string;
|
|
10509
|
+
description?: string | undefined;
|
|
10510
|
+
type: FieldMapType;
|
|
10511
|
+
default?: string | number | boolean | undefined;
|
|
10512
|
+
}[];
|
|
10513
|
+
virtualColumns?: {
|
|
10514
|
+
query: string;
|
|
10515
|
+
name: string;
|
|
10516
|
+
description?: string | undefined;
|
|
10517
|
+
type: FieldMapType;
|
|
10518
|
+
}[] | undefined;
|
|
10519
|
+
uniqueKeys?: {
|
|
10520
|
+
description?: string | undefined;
|
|
10521
|
+
type: "UniqueKey";
|
|
10522
|
+
columns: string[];
|
|
10523
|
+
}[] | undefined;
|
|
10524
|
+
}[];
|
|
10525
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
10526
|
+
status: "success";
|
|
10527
|
+
} & {
|
|
10528
|
+
datetime: string;
|
|
10529
|
+
data: {
|
|
10530
|
+
[x: string]: unknown;
|
|
10531
|
+
};
|
|
10532
|
+
program: string;
|
|
10533
|
+
version: string;
|
|
10534
|
+
status: string;
|
|
10535
|
+
code?: number | undefined;
|
|
10536
|
+
message: string;
|
|
10537
|
+
}, any, {}>>;
|
|
10538
|
+
deleteSchema: (params: {
|
|
10539
|
+
id: string;
|
|
10540
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
10541
|
+
publishSchema: (params: {
|
|
10542
|
+
id: string;
|
|
10543
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
10544
|
+
status: "success";
|
|
10545
|
+
} & {
|
|
10546
|
+
datetime: string;
|
|
10547
|
+
data: {
|
|
10548
|
+
[x: string]: unknown;
|
|
10549
10549
|
};
|
|
10550
10550
|
program: string;
|
|
10551
10551
|
version: string;
|