@rlvt/datasources-openapi-client 1.0.410 → 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 CHANGED
@@ -16,6 +16,13 @@ export default class {
16
16
  private deleteOauthClient;
17
17
  private getAuthorizeUrl;
18
18
  private getAuthorizeUrlForDatasource;
19
+ private listDatagraphEntityGroups;
20
+ private createDatagraphEntityGroup;
21
+ private getDatagraphEntityGroup;
22
+ private updateDatagraphEntityGroup;
23
+ private deleteDatagraphEntityGroup;
24
+ private listDatagraphEntityGroupEntities;
25
+ private publishDatagraphEntityGroup;
19
26
  private listDatagraphSchemas;
20
27
  private createSchema;
21
28
  private validateDatagraphSchema;
@@ -29,13 +36,6 @@ export default class {
29
36
  private updateDatagraphEntity;
30
37
  private deleteDatagraphEntity;
31
38
  private publishDatagraphEntity;
32
- private listDatagraphEntityGroups;
33
- private createDatagraphEntityGroup;
34
- private getDatagraphEntityGroup;
35
- private updateDatagraphEntityGroup;
36
- private deleteDatagraphEntityGroup;
37
- private listDatagraphEntityGroupEntities;
38
- private publishDatagraphEntityGroup;
39
39
  private getCurrentStepDatasource;
40
40
  private validateStepDatasource;
41
41
  private getDatasourceSettings;
@@ -52,12 +52,12 @@ export default class {
52
52
  private deleteDatasource;
53
53
  private getDatasourceExample;
54
54
  private anonymizeDatasource;
55
- private analyzeWorkerDatasource;
56
- private analyzeProxyDatasource;
57
55
  private uploadFileWorkerDatasource;
58
56
  private promoteWorkerDatasource;
59
57
  private pauseWorkerDatasource;
60
58
  private getPushPassword;
59
+ private analyzeWorkerDatasource;
60
+ private analyzeProxyDatasource;
61
61
  get Datasource(): {
62
62
  listTemplates: (params: {
63
63
  name?: string | undefined;
@@ -9879,292 +9879,9 @@ export default class {
9879
9879
  }, any, {}>>;
9880
9880
  };
9881
9881
  get Datagraph(): {
9882
- listSchemas: (params: {
9883
- page?: number | undefined;
9884
- perPage?: number | undefined;
9885
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
9886
- paginationCount: number;
9887
- paginationPage: number;
9888
- paginationLimit: number;
9889
- } & {
9890
- status: "success";
9891
- } & {
9892
- datetime: string;
9893
- data: {
9894
- readonly companyId: string & {
9895
- readonly?: "__readonly" | undefined;
9896
- };
9897
- readonly resourceGroupIds: string[];
9898
- readonly versions: (string | {
9899
- readonly companyId: string & {
9900
- readonly?: "__readonly" | undefined;
9901
- };
9902
- readonly state: import("./definitions").DatagraphSchemaVersionState & {
9903
- readonly?: "__readonly" | undefined;
9904
- };
9905
- _id: string;
9906
- __v: number;
9907
- readonly definition: {
9908
- name: string;
9909
- description?: string | undefined;
9910
- relations?: {
9911
- description?: string | undefined;
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: {
9922
- name: string;
9923
- description?: string | undefined;
9924
- type: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "url" | "name" | "description" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id";
9925
- default?: string | number | boolean | undefined;
9926
- }[];
9927
- virtualColumns?: {
9928
- query: string;
9929
- name: string;
9930
- description?: string | undefined;
9931
- 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";
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
- }[];
9944
- })[];
9945
- archivedAt: string | null;
9946
- }[];
9947
- program: string;
9948
- version: string;
9949
- status: string;
9950
- code?: number | undefined;
9951
- message: string;
9952
- }, any, {}>>;
9953
- createSchema: (params: Record<string, never>, data: {
9954
- schema: {
9955
- name: string;
9956
- description?: string | undefined;
9957
- relations?: {
9958
- description?: string | undefined;
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: {
9969
- name: string;
9970
- description?: string | undefined;
9971
- type: FieldMapType;
9972
- default?: string | number | boolean | undefined;
9973
- }[];
9974
- virtualColumns?: {
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;
9997
- };
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
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10007
- status: "success";
10008
- } & {
10009
- datetime: string;
10010
- data: {
10011
- validation: {
10012
- success: true;
10013
- data: {
10014
- name: string;
10015
- description?: string | undefined;
10016
- relations?: {
10017
- description?: string | undefined;
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;
10035
- name: string;
10036
- description?: string | undefined;
10037
- 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
- }[] | undefined;
10039
- uniqueKeys?: {
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;
10057
- }[];
10058
- };
10059
- };
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
- };
10074
- program: string;
10075
- version: string;
10076
- status: string;
10077
- code?: number | undefined;
10078
- message: string;
10079
- }, any, {}>>;
10080
- getSchema: (params: {
10081
- id: string;
10082
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10083
- 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
- listEntities: (params: {
9882
+ listEntityGroups: (params: {
10167
9883
  name?: string | undefined;
9884
+ entityId?: string | undefined;
10168
9885
  page?: number | undefined;
10169
9886
  perPage?: number | undefined;
10170
9887
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
@@ -10188,7 +9905,7 @@ export default class {
10188
9905
  readonly?: "__readonly" | undefined;
10189
9906
  };
10190
9907
  changeDescription?: string | undefined;
10191
- readonly state: import("./definitions").DatagraphEntityVersionState & {
9908
+ readonly state: import("./definitions").DatagraphEntityGroupVersionState & {
10192
9909
  readonly?: "__readonly" | undefined;
10193
9910
  };
10194
9911
  _id: string;
@@ -10197,19 +9914,15 @@ export default class {
10197
9914
  readonly?: "__readonly" | undefined;
10198
9915
  name: string;
10199
9916
  description: string | null;
10200
- options: {
10201
- name: string;
10202
- index: number;
10203
- primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10204
- shortDescription: string;
10205
- fullDescription: string | null;
10206
- optional?: boolean | undefined;
10207
- }[];
10208
- sql: string | null;
10209
- readonly answers: {
9917
+ label: string;
9918
+ fields: {
10210
9919
  name: string;
9920
+ description: string | null;
10211
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";
9922
+ required: boolean;
9923
+ nullable: boolean;
10212
9924
  }[];
9925
+ entityIds: string[];
10213
9926
  };
10214
9927
  readonly lastSavedBy?: (string & {
10215
9928
  readonly?: "__readonly" | undefined;
@@ -10231,19 +9944,19 @@ export default class {
10231
9944
  code?: number | undefined;
10232
9945
  message: string;
10233
9946
  }, any, {}>>;
10234
- createEntity: (params: Record<string, never>, data: {
10235
- entity: {
9947
+ createEntityGroup: (params: Record<string, never>, data: {
9948
+ group: {
10236
9949
  name: string;
10237
- description?: string | null | undefined;
10238
- options: {
9950
+ description: string | null;
9951
+ label: string;
9952
+ fields: {
10239
9953
  name: string;
10240
- index: number;
10241
- primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10242
- shortDescription: string;
10243
- fullDescription: string | null;
10244
- optional?: boolean | undefined;
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;
10245
9958
  }[];
10246
- sql: string | null;
9959
+ entityIds: string[];
10247
9960
  };
10248
9961
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10249
9962
  status: "success";
@@ -10262,7 +9975,7 @@ export default class {
10262
9975
  readonly?: "__readonly" | undefined;
10263
9976
  };
10264
9977
  changeDescription?: string | undefined;
10265
- readonly state: import("./definitions").DatagraphEntityVersionState & {
9978
+ readonly state: import("./definitions").DatagraphEntityGroupVersionState & {
10266
9979
  readonly?: "__readonly" | undefined;
10267
9980
  };
10268
9981
  _id: string;
@@ -10271,19 +9984,15 @@ export default class {
10271
9984
  readonly?: "__readonly" | undefined;
10272
9985
  name: string;
10273
9986
  description: string | null;
10274
- options: {
10275
- name: string;
10276
- index: number;
10277
- primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10278
- shortDescription: string;
10279
- fullDescription: string | null;
10280
- optional?: boolean | undefined;
10281
- }[];
10282
- sql: string | null;
10283
- readonly answers: {
9987
+ label: string;
9988
+ fields: {
10284
9989
  name: string;
9990
+ description: string | null;
10285
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";
9992
+ required: boolean;
9993
+ nullable: boolean;
10286
9994
  }[];
9995
+ entityIds: string[];
10287
9996
  };
10288
9997
  readonly lastSavedBy?: (string & {
10289
9998
  readonly?: "__readonly" | undefined;
@@ -10305,7 +10014,7 @@ export default class {
10305
10014
  code?: number | undefined;
10306
10015
  message: string;
10307
10016
  }, any, {}>>;
10308
- getEntity: (params: {
10017
+ getEntityGroup: (params: {
10309
10018
  id: string;
10310
10019
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10311
10020
  status: "success";
@@ -10324,7 +10033,7 @@ export default class {
10324
10033
  readonly?: "__readonly" | undefined;
10325
10034
  };
10326
10035
  changeDescription?: string | undefined;
10327
- readonly state: import("./definitions").DatagraphEntityVersionState & {
10036
+ readonly state: import("./definitions").DatagraphEntityGroupVersionState & {
10328
10037
  readonly?: "__readonly" | undefined;
10329
10038
  };
10330
10039
  _id: string;
@@ -10333,19 +10042,15 @@ export default class {
10333
10042
  readonly?: "__readonly" | undefined;
10334
10043
  name: string;
10335
10044
  description: string | null;
10336
- options: {
10337
- name: string;
10338
- index: number;
10339
- primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10340
- shortDescription: string;
10341
- fullDescription: string | null;
10342
- optional?: boolean | undefined;
10343
- }[];
10344
- sql: string | null;
10345
- readonly answers: {
10045
+ label: string;
10046
+ fields: {
10346
10047
  name: string;
10048
+ description: string | null;
10347
10049
  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";
10050
+ required: boolean;
10051
+ nullable: boolean;
10348
10052
  }[];
10053
+ entityIds: string[];
10349
10054
  };
10350
10055
  readonly lastSavedBy?: (string & {
10351
10056
  readonly?: "__readonly" | undefined;
@@ -10367,21 +10072,21 @@ export default class {
10367
10072
  code?: number | undefined;
10368
10073
  message: string;
10369
10074
  }, any, {}>>;
10370
- updateEntity: (params: {
10075
+ updateEntityGroup: (params: {
10371
10076
  id: string;
10372
10077
  }, data: {
10373
- entity: {
10078
+ group: {
10374
10079
  name: string;
10375
- description?: string | null | undefined;
10376
- options: {
10080
+ description: string | null;
10081
+ label: string;
10082
+ fields: {
10377
10083
  name: string;
10378
- index: number;
10379
- primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10380
- shortDescription: string;
10381
- fullDescription: string | null;
10382
- optional?: boolean | undefined;
10084
+ description: string | null;
10085
+ 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";
10086
+ required: boolean;
10087
+ nullable: boolean;
10383
10088
  }[];
10384
- sql: string | null;
10089
+ entityIds: string[];
10385
10090
  };
10386
10091
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10387
10092
  status: "success";
@@ -10400,7 +10105,7 @@ export default class {
10400
10105
  readonly?: "__readonly" | undefined;
10401
10106
  };
10402
10107
  changeDescription?: string | undefined;
10403
- readonly state: import("./definitions").DatagraphEntityVersionState & {
10108
+ readonly state: import("./definitions").DatagraphEntityGroupVersionState & {
10404
10109
  readonly?: "__readonly" | undefined;
10405
10110
  };
10406
10111
  _id: string;
@@ -10409,19 +10114,15 @@ export default class {
10409
10114
  readonly?: "__readonly" | undefined;
10410
10115
  name: string;
10411
10116
  description: string | null;
10412
- options: {
10413
- name: string;
10414
- index: number;
10415
- primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10416
- shortDescription: string;
10417
- fullDescription: string | null;
10418
- optional?: boolean | undefined;
10419
- }[];
10420
- sql: string | null;
10421
- readonly answers: {
10117
+ label: string;
10118
+ fields: {
10422
10119
  name: string;
10120
+ description: string | null;
10423
10121
  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";
10122
+ required: boolean;
10123
+ nullable: boolean;
10424
10124
  }[];
10125
+ entityIds: string[];
10425
10126
  };
10426
10127
  readonly lastSavedBy?: (string & {
10427
10128
  readonly?: "__readonly" | undefined;
@@ -10443,13 +10144,11 @@ export default class {
10443
10144
  code?: number | undefined;
10444
10145
  message: string;
10445
10146
  }, any, {}>>;
10446
- deleteEntity: (params: {
10147
+ deleteEntityGroup: (params: {
10447
10148
  id: string;
10448
10149
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
10449
- publishEntity: (params: {
10150
+ listEntityGroupEntities: (params: {
10450
10151
  id: string;
10451
- }, data: {
10452
- changeDescription?: string | undefined;
10453
10152
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10454
10153
  status: "success";
10455
10154
  } & {
@@ -10503,6 +10202,66 @@ export default class {
10503
10202
  readonly updatedAt: string & {
10504
10203
  readonly?: "__readonly" | undefined;
10505
10204
  };
10205
+ }[];
10206
+ program: string;
10207
+ version: string;
10208
+ status: string;
10209
+ code?: number | undefined;
10210
+ message: string;
10211
+ }, any, {}>>;
10212
+ publishEntityGroup: (params: {
10213
+ id: string;
10214
+ }, data: {
10215
+ changeDescription?: string | undefined;
10216
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10217
+ status: "success";
10218
+ } & {
10219
+ datetime: string;
10220
+ data: {
10221
+ readonly id: string & {
10222
+ readonly?: "__readonly" | undefined;
10223
+ };
10224
+ readonly companyId: string & {
10225
+ readonly?: "__readonly" | undefined;
10226
+ };
10227
+ readonly resourceGroupIds: string[];
10228
+ readonly versions: (string | {
10229
+ readonly companyId: string & {
10230
+ readonly?: "__readonly" | undefined;
10231
+ };
10232
+ changeDescription?: string | undefined;
10233
+ readonly state: import("./definitions").DatagraphEntityGroupVersionState & {
10234
+ readonly?: "__readonly" | undefined;
10235
+ };
10236
+ _id: string;
10237
+ __v: number;
10238
+ readonly definition: {
10239
+ readonly?: "__readonly" | undefined;
10240
+ name: string;
10241
+ description: string | null;
10242
+ label: string;
10243
+ fields: {
10244
+ name: string;
10245
+ description: string | null;
10246
+ 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";
10247
+ required: boolean;
10248
+ nullable: boolean;
10249
+ }[];
10250
+ entityIds: string[];
10251
+ };
10252
+ readonly lastSavedBy?: (string & {
10253
+ readonly?: "__readonly" | undefined;
10254
+ }) | undefined;
10255
+ })[];
10256
+ readonly archivedAt: string & {
10257
+ readonly?: "__readonly" | undefined;
10258
+ };
10259
+ readonly createdAt: string & {
10260
+ readonly?: "__readonly" | undefined;
10261
+ };
10262
+ readonly updatedAt: string & {
10263
+ readonly?: "__readonly" | undefined;
10264
+ };
10506
10265
  };
10507
10266
  program: string;
10508
10267
  version: string;
@@ -10510,9 +10269,292 @@ export default class {
10510
10269
  code?: number | undefined;
10511
10270
  message: string;
10512
10271
  }, any, {}>>;
10513
- listEntityGroups: (params: {
10272
+ listSchemas: (params: {
10273
+ page?: number | undefined;
10274
+ perPage?: number | undefined;
10275
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10276
+ paginationCount: number;
10277
+ paginationPage: number;
10278
+ paginationLimit: number;
10279
+ } & {
10280
+ status: "success";
10281
+ } & {
10282
+ datetime: string;
10283
+ data: {
10284
+ readonly companyId: string & {
10285
+ readonly?: "__readonly" | undefined;
10286
+ };
10287
+ readonly resourceGroupIds: string[];
10288
+ readonly versions: (string | {
10289
+ readonly companyId: string & {
10290
+ readonly?: "__readonly" | undefined;
10291
+ };
10292
+ readonly state: import("./definitions").DatagraphSchemaVersionState & {
10293
+ readonly?: "__readonly" | undefined;
10294
+ };
10295
+ _id: string;
10296
+ __v: number;
10297
+ readonly definition: {
10298
+ name: string;
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: {
10317
+ name: string;
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;
10321
+ }[];
10322
+ virtualColumns?: {
10323
+ query: string;
10324
+ name: string;
10325
+ description?: string | undefined;
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";
10327
+ }[] | undefined;
10328
+ uniqueKeys?: {
10329
+ description?: string | undefined;
10330
+ type: "UniqueKey";
10331
+ columns: string[];
10332
+ }[] | undefined;
10333
+ }[];
10334
+ })[];
10335
+ archivedAt: string | null;
10336
+ }[];
10337
+ program: string;
10338
+ version: string;
10339
+ status: string;
10340
+ code?: number | undefined;
10341
+ message: string;
10342
+ }, any, {}>>;
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
+ }[];
10381
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10382
+ status: "success";
10383
+ } & {
10384
+ datetime: string;
10385
+ data: {
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: {
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" | "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";
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;
10447
+ }[];
10448
+ };
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
+ };
10550
+ program: string;
10551
+ version: string;
10552
+ status: string;
10553
+ code?: number | undefined;
10554
+ message: string;
10555
+ }, any, {}>>;
10556
+ listEntities: (params: {
10514
10557
  name?: string | undefined;
10515
- entityId?: string | undefined;
10516
10558
  page?: number | undefined;
10517
10559
  perPage?: number | undefined;
10518
10560
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
@@ -10536,7 +10578,7 @@ export default class {
10536
10578
  readonly?: "__readonly" | undefined;
10537
10579
  };
10538
10580
  changeDescription?: string | undefined;
10539
- readonly state: import("./definitions").DatagraphEntityGroupVersionState & {
10581
+ readonly state: import("./definitions").DatagraphEntityVersionState & {
10540
10582
  readonly?: "__readonly" | undefined;
10541
10583
  };
10542
10584
  _id: string;
@@ -10545,15 +10587,19 @@ export default class {
10545
10587
  readonly?: "__readonly" | undefined;
10546
10588
  name: string;
10547
10589
  description: string | null;
10548
- label: string;
10549
- fields: {
10590
+ options: {
10591
+ name: string;
10592
+ index: number;
10593
+ primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10594
+ shortDescription: string;
10595
+ fullDescription: string | null;
10596
+ optional?: boolean | undefined;
10597
+ }[];
10598
+ sql: string | null;
10599
+ readonly answers: {
10550
10600
  name: string;
10551
- description: string | null;
10552
10601
  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";
10553
- required: boolean;
10554
- nullable: boolean;
10555
10602
  }[];
10556
- entityIds: string[];
10557
10603
  };
10558
10604
  readonly lastSavedBy?: (string & {
10559
10605
  readonly?: "__readonly" | undefined;
@@ -10575,19 +10621,19 @@ export default class {
10575
10621
  code?: number | undefined;
10576
10622
  message: string;
10577
10623
  }, any, {}>>;
10578
- createEntityGroup: (params: Record<string, never>, data: {
10579
- group: {
10624
+ createEntity: (params: Record<string, never>, data: {
10625
+ entity: {
10580
10626
  name: string;
10581
- description: string | null;
10582
- label: string;
10583
- fields: {
10627
+ description?: string | null | undefined;
10628
+ options: {
10584
10629
  name: string;
10585
- description: string | null;
10586
- 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";
10587
- required: boolean;
10588
- nullable: boolean;
10630
+ index: number;
10631
+ primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10632
+ shortDescription: string;
10633
+ fullDescription: string | null;
10634
+ optional?: boolean | undefined;
10589
10635
  }[];
10590
- entityIds: string[];
10636
+ sql: string | null;
10591
10637
  };
10592
10638
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10593
10639
  status: "success";
@@ -10606,7 +10652,7 @@ export default class {
10606
10652
  readonly?: "__readonly" | undefined;
10607
10653
  };
10608
10654
  changeDescription?: string | undefined;
10609
- readonly state: import("./definitions").DatagraphEntityGroupVersionState & {
10655
+ readonly state: import("./definitions").DatagraphEntityVersionState & {
10610
10656
  readonly?: "__readonly" | undefined;
10611
10657
  };
10612
10658
  _id: string;
@@ -10615,15 +10661,19 @@ export default class {
10615
10661
  readonly?: "__readonly" | undefined;
10616
10662
  name: string;
10617
10663
  description: string | null;
10618
- label: string;
10619
- fields: {
10664
+ options: {
10665
+ name: string;
10666
+ index: number;
10667
+ primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10668
+ shortDescription: string;
10669
+ fullDescription: string | null;
10670
+ optional?: boolean | undefined;
10671
+ }[];
10672
+ sql: string | null;
10673
+ readonly answers: {
10620
10674
  name: string;
10621
- description: string | null;
10622
10675
  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";
10623
- required: boolean;
10624
- nullable: boolean;
10625
10676
  }[];
10626
- entityIds: string[];
10627
10677
  };
10628
10678
  readonly lastSavedBy?: (string & {
10629
10679
  readonly?: "__readonly" | undefined;
@@ -10645,7 +10695,7 @@ export default class {
10645
10695
  code?: number | undefined;
10646
10696
  message: string;
10647
10697
  }, any, {}>>;
10648
- getEntityGroup: (params: {
10698
+ getEntity: (params: {
10649
10699
  id: string;
10650
10700
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10651
10701
  status: "success";
@@ -10664,7 +10714,7 @@ export default class {
10664
10714
  readonly?: "__readonly" | undefined;
10665
10715
  };
10666
10716
  changeDescription?: string | undefined;
10667
- readonly state: import("./definitions").DatagraphEntityGroupVersionState & {
10717
+ readonly state: import("./definitions").DatagraphEntityVersionState & {
10668
10718
  readonly?: "__readonly" | undefined;
10669
10719
  };
10670
10720
  _id: string;
@@ -10673,15 +10723,19 @@ export default class {
10673
10723
  readonly?: "__readonly" | undefined;
10674
10724
  name: string;
10675
10725
  description: string | null;
10676
- label: string;
10677
- fields: {
10726
+ options: {
10727
+ name: string;
10728
+ index: number;
10729
+ primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10730
+ shortDescription: string;
10731
+ fullDescription: string | null;
10732
+ optional?: boolean | undefined;
10733
+ }[];
10734
+ sql: string | null;
10735
+ readonly answers: {
10678
10736
  name: string;
10679
- description: string | null;
10680
10737
  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";
10681
- required: boolean;
10682
- nullable: boolean;
10683
10738
  }[];
10684
- entityIds: string[];
10685
10739
  };
10686
10740
  readonly lastSavedBy?: (string & {
10687
10741
  readonly?: "__readonly" | undefined;
@@ -10703,21 +10757,21 @@ export default class {
10703
10757
  code?: number | undefined;
10704
10758
  message: string;
10705
10759
  }, any, {}>>;
10706
- updateEntityGroup: (params: {
10760
+ updateEntity: (params: {
10707
10761
  id: string;
10708
10762
  }, data: {
10709
- group: {
10763
+ entity: {
10710
10764
  name: string;
10711
- description: string | null;
10712
- label: string;
10713
- fields: {
10765
+ description?: string | null | undefined;
10766
+ options: {
10714
10767
  name: string;
10715
- description: string | null;
10716
- 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";
10717
- required: boolean;
10718
- nullable: boolean;
10768
+ index: number;
10769
+ primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10770
+ shortDescription: string;
10771
+ fullDescription: string | null;
10772
+ optional?: boolean | undefined;
10719
10773
  }[];
10720
- entityIds: string[];
10774
+ sql: string | null;
10721
10775
  };
10722
10776
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10723
10777
  status: "success";
@@ -10736,7 +10790,7 @@ export default class {
10736
10790
  readonly?: "__readonly" | undefined;
10737
10791
  };
10738
10792
  changeDescription?: string | undefined;
10739
- readonly state: import("./definitions").DatagraphEntityGroupVersionState & {
10793
+ readonly state: import("./definitions").DatagraphEntityVersionState & {
10740
10794
  readonly?: "__readonly" | undefined;
10741
10795
  };
10742
10796
  _id: string;
@@ -10745,15 +10799,19 @@ export default class {
10745
10799
  readonly?: "__readonly" | undefined;
10746
10800
  name: string;
10747
10801
  description: string | null;
10748
- label: string;
10749
- fields: {
10802
+ options: {
10803
+ name: string;
10804
+ index: number;
10805
+ primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10806
+ shortDescription: string;
10807
+ fullDescription: string | null;
10808
+ optional?: boolean | undefined;
10809
+ }[];
10810
+ sql: string | null;
10811
+ readonly answers: {
10750
10812
  name: string;
10751
- description: string | null;
10752
10813
  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";
10753
- required: boolean;
10754
- nullable: boolean;
10755
10814
  }[];
10756
- entityIds: string[];
10757
10815
  };
10758
10816
  readonly lastSavedBy?: (string & {
10759
10817
  readonly?: "__readonly" | undefined;
@@ -10775,11 +10833,13 @@ export default class {
10775
10833
  code?: number | undefined;
10776
10834
  message: string;
10777
10835
  }, any, {}>>;
10778
- deleteEntityGroup: (params: {
10836
+ deleteEntity: (params: {
10779
10837
  id: string;
10780
10838
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
10781
- listEntityGroupEntities: (params: {
10839
+ publishEntity: (params: {
10782
10840
  id: string;
10841
+ }, data: {
10842
+ changeDescription?: string | undefined;
10783
10843
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10784
10844
  status: "success";
10785
10845
  } & {
@@ -10833,66 +10893,6 @@ export default class {
10833
10893
  readonly updatedAt: string & {
10834
10894
  readonly?: "__readonly" | undefined;
10835
10895
  };
10836
- }[];
10837
- program: string;
10838
- version: string;
10839
- status: string;
10840
- code?: number | undefined;
10841
- message: string;
10842
- }, any, {}>>;
10843
- publishEntityGroup: (params: {
10844
- id: string;
10845
- }, data: {
10846
- changeDescription?: string | undefined;
10847
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10848
- status: "success";
10849
- } & {
10850
- datetime: string;
10851
- data: {
10852
- readonly id: string & {
10853
- readonly?: "__readonly" | undefined;
10854
- };
10855
- readonly companyId: string & {
10856
- readonly?: "__readonly" | undefined;
10857
- };
10858
- readonly resourceGroupIds: string[];
10859
- readonly versions: (string | {
10860
- readonly companyId: string & {
10861
- readonly?: "__readonly" | undefined;
10862
- };
10863
- changeDescription?: string | undefined;
10864
- readonly state: import("./definitions").DatagraphEntityGroupVersionState & {
10865
- readonly?: "__readonly" | undefined;
10866
- };
10867
- _id: string;
10868
- __v: number;
10869
- readonly definition: {
10870
- readonly?: "__readonly" | undefined;
10871
- name: string;
10872
- description: string | null;
10873
- label: string;
10874
- fields: {
10875
- name: string;
10876
- description: string | null;
10877
- 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";
10878
- required: boolean;
10879
- nullable: boolean;
10880
- }[];
10881
- entityIds: string[];
10882
- };
10883
- readonly lastSavedBy?: (string & {
10884
- readonly?: "__readonly" | undefined;
10885
- }) | undefined;
10886
- })[];
10887
- readonly archivedAt: string & {
10888
- readonly?: "__readonly" | undefined;
10889
- };
10890
- readonly createdAt: string & {
10891
- readonly?: "__readonly" | undefined;
10892
- };
10893
- readonly updatedAt: string & {
10894
- readonly?: "__readonly" | undefined;
10895
- };
10896
10896
  };
10897
10897
  program: string;
10898
10898
  version: string;
@@ -61937,6 +61937,102 @@ export default class {
61937
61937
  code?: number | undefined;
61938
61938
  message: string;
61939
61939
  }, any, {}>>;
61940
+ uploadFile: (params: {
61941
+ id: string;
61942
+ }, data: any, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61943
+ status: "success";
61944
+ } & {
61945
+ datetime: string;
61946
+ data: {
61947
+ path: string;
61948
+ bucket: string;
61949
+ format: {
61950
+ options: {
61951
+ csvDelimiter?: string | undefined;
61952
+ csvColumns?: string[] | undefined;
61953
+ };
61954
+ type: "csv";
61955
+ } | {
61956
+ options: unknown;
61957
+ type: "ndjson";
61958
+ } | {
61959
+ options: {
61960
+ rootPath: string;
61961
+ };
61962
+ type: "json";
61963
+ } | {
61964
+ options: {
61965
+ rootPath: string;
61966
+ };
61967
+ type: "xml";
61968
+ } | {
61969
+ options: unknown;
61970
+ type: "xlsx";
61971
+ } | {
61972
+ options: {
61973
+ version?: string | undefined;
61974
+ columnsList?: string[] | undefined;
61975
+ };
61976
+ type: "parquet";
61977
+ } | {
61978
+ options: unknown;
61979
+ type: "avro";
61980
+ };
61981
+ textEncoding: string;
61982
+ pgpPrivateKey?: string | undefined;
61983
+ pgpPassphrase?: string | undefined;
61984
+ };
61985
+ program: string;
61986
+ version: string;
61987
+ status: string;
61988
+ code?: number | undefined;
61989
+ message: string;
61990
+ }, any, {}>>;
61991
+ promote: (params: {
61992
+ id: string;
61993
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61994
+ status: "success";
61995
+ } & {
61996
+ datetime: string;
61997
+ data: {
61998
+ [x: string]: unknown;
61999
+ };
62000
+ program: string;
62001
+ version: string;
62002
+ status: string;
62003
+ code?: number | undefined;
62004
+ message: string;
62005
+ }, any, {}>>;
62006
+ pause: (params: {
62007
+ id: string;
62008
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
62009
+ status: "success";
62010
+ } & {
62011
+ datetime: string;
62012
+ data: {
62013
+ [x: string]: unknown;
62014
+ };
62015
+ program: string;
62016
+ version: string;
62017
+ status: string;
62018
+ code?: number | undefined;
62019
+ message: string;
62020
+ }, any, {}>>;
62021
+ getPushPassword: (params: {
62022
+ id: string;
62023
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
62024
+ status: "success";
62025
+ } & {
62026
+ datetime: string;
62027
+ data: {
62028
+ password: string;
62029
+ };
62030
+ program: string;
62031
+ version: string;
62032
+ status: string;
62033
+ code?: number | undefined;
62034
+ message: string;
62035
+ }, any, {}>>;
61940
62036
  analyze: (params: {
61941
62037
  id: string;
61942
62038
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
@@ -62118,102 +62214,6 @@ export default class {
62118
62214
  code?: number | undefined;
62119
62215
  message: string;
62120
62216
  }, any, {}>>;
62121
- uploadFile: (params: {
62122
- id: string;
62123
- }, data: any, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
62124
- status: "success";
62125
- } & {
62126
- datetime: string;
62127
- data: {
62128
- path: string;
62129
- bucket: string;
62130
- format: {
62131
- options: {
62132
- csvDelimiter?: string | undefined;
62133
- csvColumns?: string[] | undefined;
62134
- };
62135
- type: "csv";
62136
- } | {
62137
- options: unknown;
62138
- type: "ndjson";
62139
- } | {
62140
- options: {
62141
- rootPath: string;
62142
- };
62143
- type: "json";
62144
- } | {
62145
- options: {
62146
- rootPath: string;
62147
- };
62148
- type: "xml";
62149
- } | {
62150
- options: unknown;
62151
- type: "xlsx";
62152
- } | {
62153
- options: {
62154
- version?: string | undefined;
62155
- columnsList?: string[] | undefined;
62156
- };
62157
- type: "parquet";
62158
- } | {
62159
- options: unknown;
62160
- type: "avro";
62161
- };
62162
- textEncoding: string;
62163
- pgpPrivateKey?: string | undefined;
62164
- pgpPassphrase?: string | undefined;
62165
- };
62166
- program: string;
62167
- version: string;
62168
- status: string;
62169
- code?: number | undefined;
62170
- message: string;
62171
- }, any, {}>>;
62172
- promote: (params: {
62173
- id: string;
62174
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
62175
- status: "success";
62176
- } & {
62177
- datetime: string;
62178
- data: {
62179
- [x: string]: unknown;
62180
- };
62181
- program: string;
62182
- version: string;
62183
- status: string;
62184
- code?: number | undefined;
62185
- message: string;
62186
- }, any, {}>>;
62187
- pause: (params: {
62188
- id: string;
62189
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
62190
- status: "success";
62191
- } & {
62192
- datetime: string;
62193
- data: {
62194
- [x: string]: unknown;
62195
- };
62196
- program: string;
62197
- version: string;
62198
- status: string;
62199
- code?: number | undefined;
62200
- message: string;
62201
- }, any, {}>>;
62202
- getPushPassword: (params: {
62203
- id: string;
62204
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
62205
- status: "success";
62206
- } & {
62207
- datetime: string;
62208
- data: {
62209
- password: string;
62210
- };
62211
- program: string;
62212
- version: string;
62213
- status: string;
62214
- code?: number | undefined;
62215
- message: string;
62216
- }, any, {}>>;
62217
62217
  };
62218
62218
  get ProxyDatasource(): {
62219
62219
  analyze: (params: {