@rlvt/datasources-openapi-client 1.0.407 → 1.0.408
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 +1962 -1962
- package/build/api.js +67 -67
- package/build/definitions.d.ts +949 -949
- package/build/definitions.js +14 -14
- package/package.json +1 -1
package/build/definitions.d.ts
CHANGED
|
@@ -5139,282 +5139,520 @@ export declare type InternalResponse_url_string = {
|
|
|
5139
5139
|
url: string;
|
|
5140
5140
|
};
|
|
5141
5141
|
};
|
|
5142
|
-
export declare type
|
|
5142
|
+
export declare type CreateSchemaBody = {
|
|
5143
|
+
schema: {
|
|
5144
|
+
name: string;
|
|
5145
|
+
datasourceId: string;
|
|
5146
|
+
columns: {
|
|
5147
|
+
name: string;
|
|
5148
|
+
type: FieldMapType;
|
|
5149
|
+
default?: string | number | (false) | (true) | string;
|
|
5150
|
+
description?: string;
|
|
5151
|
+
}[];
|
|
5152
|
+
description?: string;
|
|
5153
|
+
virtualColumns?: {
|
|
5154
|
+
name: string;
|
|
5155
|
+
type: FieldMapType;
|
|
5156
|
+
query: string;
|
|
5157
|
+
description?: string;
|
|
5158
|
+
}[];
|
|
5159
|
+
uniqueKeys?: {
|
|
5160
|
+
type: "UniqueKey";
|
|
5161
|
+
columns: string[];
|
|
5162
|
+
description?: string;
|
|
5163
|
+
}[];
|
|
5164
|
+
indexes?: {
|
|
5165
|
+
type: "Index";
|
|
5166
|
+
columns: string[];
|
|
5167
|
+
description?: string;
|
|
5168
|
+
}[];
|
|
5169
|
+
relations?: {
|
|
5170
|
+
type: "Relation";
|
|
5171
|
+
columns: string[];
|
|
5172
|
+
reference: {
|
|
5173
|
+
table: string;
|
|
5174
|
+
datasourceId: string;
|
|
5175
|
+
columns: string[];
|
|
5176
|
+
};
|
|
5177
|
+
description?: string;
|
|
5178
|
+
}[];
|
|
5179
|
+
}[];
|
|
5180
|
+
};
|
|
5181
|
+
export declare type SchemaValidationIssue = {
|
|
5182
|
+
path: (string | number)[];
|
|
5183
|
+
message: string;
|
|
5184
|
+
code: string;
|
|
5185
|
+
};
|
|
5186
|
+
export declare type RelationAnalysisResult = {
|
|
5187
|
+
fromDatasourceId: string;
|
|
5188
|
+
fromTable: string;
|
|
5189
|
+
fromColumn: string;
|
|
5190
|
+
fromDistinctCount: number | null;
|
|
5191
|
+
toDatasourceId: string;
|
|
5192
|
+
toTable: string;
|
|
5193
|
+
toColumn: string;
|
|
5194
|
+
toDistinctCount: number | null;
|
|
5195
|
+
matchCount: number | null;
|
|
5196
|
+
matchPercentage: number | null;
|
|
5197
|
+
error?: string;
|
|
5198
|
+
};
|
|
5199
|
+
export declare type ValidateSchemaResponse = {
|
|
5200
|
+
validation: {
|
|
5201
|
+
success: true;
|
|
5202
|
+
data: {
|
|
5203
|
+
name: string;
|
|
5204
|
+
datasourceId: string;
|
|
5205
|
+
columns: {
|
|
5206
|
+
name: string;
|
|
5207
|
+
type: "string" | "number" | "boolean" | "name" | "url" | "datetime" | "datetime_iso" | "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";
|
|
5208
|
+
default?: string | number | (false) | (true) | string;
|
|
5209
|
+
description?: string;
|
|
5210
|
+
}[];
|
|
5211
|
+
description?: string;
|
|
5212
|
+
virtualColumns?: {
|
|
5213
|
+
name: string;
|
|
5214
|
+
type: "string" | "number" | "boolean" | "name" | "url" | "datetime" | "datetime_iso" | "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";
|
|
5215
|
+
query: string;
|
|
5216
|
+
description?: string;
|
|
5217
|
+
}[];
|
|
5218
|
+
uniqueKeys?: {
|
|
5219
|
+
type: "UniqueKey";
|
|
5220
|
+
columns: string[];
|
|
5221
|
+
description?: string;
|
|
5222
|
+
}[];
|
|
5223
|
+
indexes?: {
|
|
5224
|
+
type: "Index";
|
|
5225
|
+
columns: string[];
|
|
5226
|
+
description?: string;
|
|
5227
|
+
}[];
|
|
5228
|
+
relations?: {
|
|
5229
|
+
type: "Relation";
|
|
5230
|
+
columns: string[];
|
|
5231
|
+
reference: {
|
|
5232
|
+
table: string;
|
|
5233
|
+
datasourceId: string;
|
|
5234
|
+
columns: string[];
|
|
5235
|
+
};
|
|
5236
|
+
description?: string;
|
|
5237
|
+
}[];
|
|
5238
|
+
}[];
|
|
5239
|
+
} | {
|
|
5240
|
+
success: false;
|
|
5241
|
+
error: {
|
|
5242
|
+
issues: SchemaValidationIssue[];
|
|
5243
|
+
};
|
|
5244
|
+
};
|
|
5245
|
+
relations: RelationAnalysisResult[];
|
|
5246
|
+
};
|
|
5247
|
+
export declare type InternalResponse_ValidateSchemaResponse = {
|
|
5143
5248
|
program: string;
|
|
5144
5249
|
version: string;
|
|
5145
5250
|
datetime: string;
|
|
5146
5251
|
status: string;
|
|
5147
5252
|
code?: number;
|
|
5148
5253
|
message: string;
|
|
5149
|
-
data:
|
|
5150
|
-
current: {
|
|
5151
|
-
name: "configure_name";
|
|
5152
|
-
} | {
|
|
5153
|
-
name: "configure_resource_group_ids";
|
|
5154
|
-
} | {
|
|
5155
|
-
name: "configure_sources";
|
|
5156
|
-
} | {
|
|
5157
|
-
name: "configure_fields";
|
|
5158
|
-
} | {
|
|
5159
|
-
name: "configure_field";
|
|
5160
|
-
field: {
|
|
5161
|
-
name: string;
|
|
5162
|
-
type: FieldMapType;
|
|
5163
|
-
};
|
|
5164
|
-
} | {
|
|
5165
|
-
name: "create_oauth_client";
|
|
5166
|
-
configurationId: string;
|
|
5167
|
-
} | {
|
|
5168
|
-
name: "authorize_oauth_client";
|
|
5169
|
-
slug: string;
|
|
5170
|
-
} | {
|
|
5171
|
-
name: "configure_thresholds";
|
|
5172
|
-
} | {
|
|
5173
|
-
name: "configure_api_key";
|
|
5174
|
-
slug: "partoo";
|
|
5175
|
-
} | {
|
|
5176
|
-
name: "patch";
|
|
5177
|
-
} | {
|
|
5178
|
-
name: "validate";
|
|
5179
|
-
} | {
|
|
5180
|
-
name: "configure_google_tag_manager";
|
|
5181
|
-
} | {
|
|
5182
|
-
name: "configure_reelevant_analytics_script";
|
|
5183
|
-
} | {
|
|
5184
|
-
name: "configure_product_datasource_source";
|
|
5185
|
-
} | {
|
|
5186
|
-
name: "configure_tracking_datasource_source";
|
|
5187
|
-
} | {
|
|
5188
|
-
name: "configure_best_product_query";
|
|
5189
|
-
} | {
|
|
5190
|
-
name: "configure_best_product_field";
|
|
5191
|
-
} | {
|
|
5192
|
-
name: "configure_fetcher";
|
|
5193
|
-
} | {
|
|
5194
|
-
name: "configure_merge_datasource_source";
|
|
5195
|
-
} | {
|
|
5196
|
-
name: "configure_merge_datasource_dependency";
|
|
5197
|
-
} | {
|
|
5198
|
-
name: "configure_merge_mapping";
|
|
5199
|
-
} | {
|
|
5200
|
-
name: "configure_bought_together";
|
|
5201
|
-
} | {
|
|
5202
|
-
name: "configure_top_attributes";
|
|
5203
|
-
} | {
|
|
5204
|
-
name: "configure_destination";
|
|
5205
|
-
type: "smtp";
|
|
5206
|
-
} | {
|
|
5207
|
-
name: "configure_hierarchy";
|
|
5208
|
-
};
|
|
5209
|
-
next: ({
|
|
5210
|
-
name: "configure_name";
|
|
5211
|
-
} | {
|
|
5212
|
-
name: "configure_resource_group_ids";
|
|
5213
|
-
} | {
|
|
5214
|
-
name: "configure_sources";
|
|
5215
|
-
} | {
|
|
5216
|
-
name: "configure_fields";
|
|
5217
|
-
} | {
|
|
5218
|
-
name: "configure_field";
|
|
5219
|
-
field: {
|
|
5220
|
-
name: string;
|
|
5221
|
-
type: FieldMapType;
|
|
5222
|
-
};
|
|
5223
|
-
} | {
|
|
5224
|
-
name: "create_oauth_client";
|
|
5225
|
-
configurationId: string;
|
|
5226
|
-
} | {
|
|
5227
|
-
name: "authorize_oauth_client";
|
|
5228
|
-
slug: string;
|
|
5229
|
-
} | {
|
|
5230
|
-
name: "configure_thresholds";
|
|
5231
|
-
} | {
|
|
5232
|
-
name: "configure_api_key";
|
|
5233
|
-
slug: "partoo";
|
|
5234
|
-
} | {
|
|
5235
|
-
name: "patch";
|
|
5236
|
-
} | {
|
|
5237
|
-
name: "validate";
|
|
5238
|
-
} | {
|
|
5239
|
-
name: "configure_google_tag_manager";
|
|
5240
|
-
} | {
|
|
5241
|
-
name: "configure_reelevant_analytics_script";
|
|
5242
|
-
} | {
|
|
5243
|
-
name: "configure_product_datasource_source";
|
|
5244
|
-
} | {
|
|
5245
|
-
name: "configure_tracking_datasource_source";
|
|
5246
|
-
} | {
|
|
5247
|
-
name: "configure_best_product_query";
|
|
5248
|
-
} | {
|
|
5249
|
-
name: "configure_best_product_field";
|
|
5250
|
-
} | {
|
|
5251
|
-
name: "configure_fetcher";
|
|
5252
|
-
} | {
|
|
5253
|
-
name: "configure_merge_datasource_source";
|
|
5254
|
-
} | {
|
|
5255
|
-
name: "configure_merge_datasource_dependency";
|
|
5256
|
-
} | {
|
|
5257
|
-
name: "configure_merge_mapping";
|
|
5258
|
-
} | {
|
|
5259
|
-
name: "configure_bought_together";
|
|
5260
|
-
} | {
|
|
5261
|
-
name: "configure_top_attributes";
|
|
5262
|
-
} | {
|
|
5263
|
-
name: "configure_destination";
|
|
5264
|
-
type: "smtp";
|
|
5265
|
-
} | {
|
|
5266
|
-
name: "configure_hierarchy";
|
|
5267
|
-
})[];
|
|
5268
|
-
};
|
|
5269
|
-
};
|
|
5270
|
-
export declare type SampleObj_Partial = {
|
|
5271
|
-
sample?: {
|
|
5272
|
-
[key: string]: AnyValue;
|
|
5273
|
-
};
|
|
5274
|
-
};
|
|
5275
|
-
export declare type DatasourceSourceOptions = {
|
|
5276
|
-
id: string;
|
|
5277
|
-
};
|
|
5278
|
-
export declare type BigQuerySourceOptions = {
|
|
5279
|
-
table: string;
|
|
5280
|
-
dataset: string;
|
|
5281
|
-
privateKey?: string;
|
|
5282
|
-
clientEmail?: string;
|
|
5283
|
-
projectId?: string;
|
|
5284
|
-
query?: string;
|
|
5285
|
-
tableProjectId?: string;
|
|
5286
|
-
timestampField?: string;
|
|
5287
|
-
timestampFieldType?: "datetime" | "timestamp";
|
|
5288
|
-
customOAuthClientId?: string;
|
|
5289
|
-
location?: string;
|
|
5254
|
+
data: ValidateSchemaResponse;
|
|
5290
5255
|
};
|
|
5291
|
-
export declare type
|
|
5292
|
-
|
|
5293
|
-
enum?: (string | number)[];
|
|
5294
|
-
required: boolean;
|
|
5295
|
-
unique: boolean;
|
|
5256
|
+
export declare type ValidateSchemaBody = {
|
|
5257
|
+
schema: AnyValue;
|
|
5296
5258
|
};
|
|
5297
|
-
export declare type
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
|
-
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
-
|
|
5326
|
-
};
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
|
|
5348
|
-
|
|
5349
|
-
|
|
5350
|
-
|
|
5351
|
-
|
|
5352
|
-
|
|
5353
|
-
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
|
|
5358
|
-
type: "pageToken";
|
|
5359
|
-
value: string;
|
|
5360
|
-
param: string;
|
|
5361
|
-
removeParams?: boolean;
|
|
5362
|
-
} & {
|
|
5363
|
-
maximumPage?: number;
|
|
5364
|
-
}) | ({
|
|
5365
|
-
type: "linkHeader";
|
|
5366
|
-
} & {
|
|
5367
|
-
maximumPage?: number;
|
|
5368
|
-
}) | ({
|
|
5369
|
-
type: "entryToken";
|
|
5370
|
-
value: string;
|
|
5371
|
-
param: string;
|
|
5372
|
-
removeParams?: boolean;
|
|
5259
|
+
export declare type Document = {};
|
|
5260
|
+
export declare enum DatagraphSchemaVersionState {
|
|
5261
|
+
DRAFT = "draft",
|
|
5262
|
+
LIVE = "live",
|
|
5263
|
+
INACTIVE = "inactive"
|
|
5264
|
+
}
|
|
5265
|
+
export declare type Serialize_DatagraphSchemaVersion = {
|
|
5266
|
+
readonly companyId: (ObjectId) & readonlyP;
|
|
5267
|
+
readonly state: (DatagraphSchemaVersionState) & readonlyP;
|
|
5268
|
+
readonly definition: ({
|
|
5269
|
+
name: string;
|
|
5270
|
+
datasourceId: string;
|
|
5271
|
+
description?: string;
|
|
5272
|
+
columns: {
|
|
5273
|
+
name: string;
|
|
5274
|
+
type: "string" | "number" | "boolean" | "name" | "url" | "datetime" | "datetime_iso" | "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";
|
|
5275
|
+
default?: string | number | (false) | (true) | string;
|
|
5276
|
+
description?: string;
|
|
5277
|
+
}[];
|
|
5278
|
+
virtualColumns?: {
|
|
5279
|
+
name: string;
|
|
5280
|
+
type: "string" | "number" | "boolean" | "name" | "url" | "datetime" | "datetime_iso" | "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";
|
|
5281
|
+
query: string;
|
|
5282
|
+
description?: string;
|
|
5283
|
+
}[];
|
|
5284
|
+
uniqueKeys?: {
|
|
5285
|
+
type: "UniqueKey";
|
|
5286
|
+
columns: string[];
|
|
5287
|
+
description?: string;
|
|
5288
|
+
}[];
|
|
5289
|
+
indexes?: {
|
|
5290
|
+
type: "Index";
|
|
5291
|
+
columns: string[];
|
|
5292
|
+
description?: string;
|
|
5293
|
+
}[];
|
|
5294
|
+
relations?: {
|
|
5295
|
+
type: "Relation";
|
|
5296
|
+
columns: string[];
|
|
5297
|
+
reference: {
|
|
5298
|
+
table: string;
|
|
5299
|
+
datasourceId: string;
|
|
5300
|
+
columns: string[];
|
|
5301
|
+
};
|
|
5302
|
+
description?: string;
|
|
5303
|
+
}[];
|
|
5304
|
+
}[]) & readonlyP;
|
|
5305
|
+
};
|
|
5306
|
+
export declare type DatagraphSchemaVersion = Serialize_DatagraphSchemaVersion;
|
|
5307
|
+
export declare type IObjectWithTypegooseFunction = {};
|
|
5308
|
+
export declare type InternalResponse_Array_SerializedDatagraphSchema = {
|
|
5309
|
+
program: string;
|
|
5310
|
+
version: string;
|
|
5311
|
+
datetime: string;
|
|
5312
|
+
status: string;
|
|
5313
|
+
code?: number;
|
|
5314
|
+
message: string;
|
|
5315
|
+
data: {
|
|
5316
|
+
readonly companyId: (ObjectId) & readonlyP;
|
|
5317
|
+
readonly resourceGroupIds: (ObjectId[]) & readonlyP;
|
|
5318
|
+
readonly versions: ((ObjectId | (Document & DatagraphSchemaVersion & {
|
|
5319
|
+
_id: ObjectId;
|
|
5373
5320
|
} & {
|
|
5374
|
-
|
|
5375
|
-
});
|
|
5376
|
-
|
|
5377
|
-
|
|
5378
|
-
|
|
5379
|
-
|
|
5321
|
+
__v: number;
|
|
5322
|
+
} & IObjectWithTypegooseFunction))[]) & readonlyP;
|
|
5323
|
+
archivedAt: string | null;
|
|
5324
|
+
}[];
|
|
5325
|
+
};
|
|
5326
|
+
export declare type UpdateSchemaBody = {
|
|
5327
|
+
schema: {
|
|
5328
|
+
name: string;
|
|
5329
|
+
datasourceId: string;
|
|
5330
|
+
columns: {
|
|
5331
|
+
name: string;
|
|
5332
|
+
type: FieldMapType;
|
|
5333
|
+
default?: string | number | (false) | (true) | string;
|
|
5334
|
+
description?: string;
|
|
5335
|
+
}[];
|
|
5336
|
+
description?: string;
|
|
5337
|
+
virtualColumns?: {
|
|
5338
|
+
name: string;
|
|
5339
|
+
type: FieldMapType;
|
|
5340
|
+
query: string;
|
|
5341
|
+
description?: string;
|
|
5342
|
+
}[];
|
|
5343
|
+
uniqueKeys?: {
|
|
5344
|
+
type: "UniqueKey";
|
|
5345
|
+
columns: string[];
|
|
5346
|
+
description?: string;
|
|
5347
|
+
}[];
|
|
5348
|
+
indexes?: {
|
|
5349
|
+
type: "Index";
|
|
5350
|
+
columns: string[];
|
|
5351
|
+
description?: string;
|
|
5352
|
+
}[];
|
|
5353
|
+
relations?: {
|
|
5354
|
+
type: "Relation";
|
|
5355
|
+
columns: string[];
|
|
5356
|
+
reference: {
|
|
5357
|
+
table: string;
|
|
5358
|
+
datasourceId: string;
|
|
5359
|
+
columns: string[];
|
|
5380
5360
|
};
|
|
5381
|
-
|
|
5382
|
-
|
|
5383
|
-
|
|
5361
|
+
description?: string;
|
|
5362
|
+
}[];
|
|
5363
|
+
}[];
|
|
5364
|
+
};
|
|
5365
|
+
export declare type InternalResponse_entries_Array_distance_Union_undefined_number_rlvt_lat_Union_undefined_number_rlvt_lng_Union_undefined_number_count_number = {
|
|
5366
|
+
program: string;
|
|
5367
|
+
version: string;
|
|
5368
|
+
datetime: string;
|
|
5369
|
+
status: string;
|
|
5370
|
+
code?: number;
|
|
5371
|
+
message: string;
|
|
5372
|
+
data: {
|
|
5373
|
+
entries: {
|
|
5374
|
+
distance?: number;
|
|
5375
|
+
rlvt_lat?: number;
|
|
5376
|
+
rlvt_lng?: number;
|
|
5377
|
+
[key: string]: AnyValue;
|
|
5378
|
+
}[];
|
|
5379
|
+
count: number;
|
|
5384
5380
|
};
|
|
5385
5381
|
};
|
|
5386
|
-
export declare type
|
|
5387
|
-
|
|
5388
|
-
|
|
5382
|
+
export declare type EntityParameterAndGroup = {
|
|
5383
|
+
$and: {
|
|
5384
|
+
[key: string]: string | number | (false) | (true);
|
|
5385
|
+
}[];
|
|
5389
5386
|
};
|
|
5390
|
-
export declare type
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
warehouse: string;
|
|
5395
|
-
privateKey?: string;
|
|
5396
|
-
schema: string;
|
|
5397
|
-
database: string;
|
|
5398
|
-
table: string;
|
|
5399
|
-
query?: string;
|
|
5400
|
-
timestampColumn?: string;
|
|
5387
|
+
export declare type EntityParameterOrGroup = {
|
|
5388
|
+
$or: {
|
|
5389
|
+
[key: string]: string | number | (false) | (true);
|
|
5390
|
+
}[];
|
|
5401
5391
|
};
|
|
5402
|
-
export declare type
|
|
5403
|
-
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5392
|
+
export declare type EntityParameter = {
|
|
5393
|
+
name: string;
|
|
5394
|
+
shortDescription: string;
|
|
5395
|
+
fullDescription: string | null;
|
|
5396
|
+
primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
|
|
5397
|
+
index: number;
|
|
5398
|
+
optional?: boolean;
|
|
5399
|
+
};
|
|
5400
|
+
export declare type DatagraphEntityDefinitionBody = {
|
|
5401
|
+
name: string;
|
|
5402
|
+
description?: string | null;
|
|
5403
|
+
sql: string | null;
|
|
5404
|
+
options: EntityParameter[];
|
|
5405
|
+
};
|
|
5406
|
+
export declare type QueryEntityBody = {
|
|
5407
|
+
options?: {
|
|
5408
|
+
[key: string]: string | number | (false) | (true);
|
|
5412
5409
|
} | {
|
|
5413
|
-
|
|
5414
|
-
|
|
5410
|
+
$or: ({
|
|
5411
|
+
[key: string]: string | number | (false) | (true);
|
|
5412
|
+
} | EntityParameterAndGroup)[];
|
|
5415
5413
|
} | {
|
|
5416
|
-
|
|
5417
|
-
|
|
5414
|
+
$and: ({
|
|
5415
|
+
[key: string]: string | number | (false) | (true);
|
|
5416
|
+
} | EntityParameterOrGroup)[];
|
|
5417
|
+
};
|
|
5418
|
+
userIds?: string[];
|
|
5419
|
+
entity?: DatagraphEntityDefinitionBody;
|
|
5420
|
+
};
|
|
5421
|
+
export declare enum DatagraphEntityVersionState {
|
|
5422
|
+
DRAFT = "draft",
|
|
5423
|
+
INACTIVE = "inactive",
|
|
5424
|
+
LIVE = "live"
|
|
5425
|
+
}
|
|
5426
|
+
export declare type EntityAnswer = {
|
|
5427
|
+
name: string;
|
|
5428
|
+
type: "string" | "number" | "boolean" | "name" | "url" | "datetime" | "datetime_iso" | "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";
|
|
5429
|
+
};
|
|
5430
|
+
export declare type Entity = {
|
|
5431
|
+
name: string;
|
|
5432
|
+
description: string | null;
|
|
5433
|
+
sql: string | null;
|
|
5434
|
+
options: EntityParameter[];
|
|
5435
|
+
readonly answers: (EntityAnswer[]) & readonlyP;
|
|
5436
|
+
};
|
|
5437
|
+
export declare type DatagraphEntityVersion = {
|
|
5438
|
+
readonly companyId: (ObjectId) & readonlyP;
|
|
5439
|
+
readonly state: (DatagraphEntityVersionState) & readonlyP;
|
|
5440
|
+
readonly definition: (Entity) & readonlyP;
|
|
5441
|
+
readonly lastSavedBy?: (ObjectId) & readonlyP;
|
|
5442
|
+
changeDescription?: string;
|
|
5443
|
+
};
|
|
5444
|
+
export declare type Serialize_DatagraphEntity = {
|
|
5445
|
+
readonly companyId: (ObjectId) & readonlyP;
|
|
5446
|
+
readonly resourceGroupIds: (ObjectId[]) & readonlyP;
|
|
5447
|
+
readonly versions: ((ObjectId | (Document & DatagraphEntityVersion & {
|
|
5448
|
+
_id: ObjectId;
|
|
5449
|
+
} & {
|
|
5450
|
+
__v: number;
|
|
5451
|
+
} & IObjectWithTypegooseFunction))[]) & readonlyP;
|
|
5452
|
+
readonly archivedAt: (string | null) & readonlyP;
|
|
5453
|
+
};
|
|
5454
|
+
export declare type DatagraphEntity = Serialize_DatagraphEntity & {
|
|
5455
|
+
readonly id: (string) & readonlyP;
|
|
5456
|
+
} & {
|
|
5457
|
+
readonly createdAt: (string) & readonlyP;
|
|
5458
|
+
readonly updatedAt: (string) & readonlyP;
|
|
5459
|
+
};
|
|
5460
|
+
export declare type InternalResponse_DatagraphEntity = {
|
|
5461
|
+
program: string;
|
|
5462
|
+
version: string;
|
|
5463
|
+
datetime: string;
|
|
5464
|
+
status: string;
|
|
5465
|
+
code?: number;
|
|
5466
|
+
message: string;
|
|
5467
|
+
data: DatagraphEntity;
|
|
5468
|
+
};
|
|
5469
|
+
export declare type CreateEntityBody = {
|
|
5470
|
+
entity: DatagraphEntityDefinitionBody;
|
|
5471
|
+
};
|
|
5472
|
+
export declare type InternalResponse_Array_DatagraphEntity = {
|
|
5473
|
+
program: string;
|
|
5474
|
+
version: string;
|
|
5475
|
+
datetime: string;
|
|
5476
|
+
status: string;
|
|
5477
|
+
code?: number;
|
|
5478
|
+
message: string;
|
|
5479
|
+
data: DatagraphEntity[];
|
|
5480
|
+
};
|
|
5481
|
+
export declare type UpdateEntityBody = {
|
|
5482
|
+
entity: DatagraphEntityDefinitionBody;
|
|
5483
|
+
};
|
|
5484
|
+
export declare type PublishEntityBody = {
|
|
5485
|
+
changeDescription?: string;
|
|
5486
|
+
};
|
|
5487
|
+
export declare type InternalResponse_current_Union_null_name_CONFIGURE_NAME_name_CONFIGURE_RESOURCE_GROUP_IDS_name_CONFIGURE_SOURCES_name_CONFIGURE_FIELDS_name_CONFIGURE_FIELD_field_name_string_type_Union_STRING_NUMBER_DATETIME_DATETIME_ISO_BOOLEAN_ADDRESS_1_ADDRESS_2_ADDRESS_3_ADDRESS_4_CITY_ZIPCODE_COUNTRY_LATITUDE_LONGITUDE_REFERENCE_ID_REFERENCE_IDS_PRODUCT_ID_PRICE_URL_IMAGE_URL_NAME_DESCRIPTION_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_name_CREATE_OAUTH_CLIENT_configurationId_string_name_AUTHORIZE_OAUTH_CLIENT_slug_string_name_CONFIGURE_THRESHOLDS_name_CONFIGURE_API_KEY_slug_partoo_name_PATCH_name_VALIDATE_name_CONFIGURE_GOOGLE_TAG_MANAGER_name_CONFIGURE_REELEVANT_ANALYTICS_SCRIPT_name_CONFIGURE_PRODUCT_DATASOURCE_SOURCE_name_CONFIGURE_TRACKING_DATASOURCE_SOURCE_name_CONFIGURE_BEST_PRODUCT_QUERY_name_CONFIGURE_BEST_PRODUCT_FIELD_name_CONFIGURE_FETCHER_name_CONFIGURE_MERGE_DATASOURCE_SOURCE_name_CONFIGURE_MERGE_DATASOURCE_DEPENDENCY_name_CONFIGURE_MERGE_MAPPING_name_CONFIGURE_BOUGHT_TOGETHER_name_CONFIGURE_TOP_ATTRIBUTES_name_CONFIGURE_DESTINATION_type_smtp_name_CONFIGURE_HIERARCHY_next_Array_Union_name_CONFIGURE_NAME_name_CONFIGURE_RESOURCE_GROUP_IDS_name_CONFIGURE_SOURCES_name_CONFIGURE_FIELDS_name_CONFIGURE_FIELD_field_name_string_type_Union_STRING_NUMBER_DATETIME_DATETIME_ISO_BOOLEAN_ADDRESS_1_ADDRESS_2_ADDRESS_3_ADDRESS_4_CITY_ZIPCODE_COUNTRY_LATITUDE_LONGITUDE_REFERENCE_ID_REFERENCE_IDS_PRODUCT_ID_PRICE_URL_IMAGE_URL_NAME_DESCRIPTION_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_name_CREATE_OAUTH_CLIENT_configurationId_string_name_AUTHORIZE_OAUTH_CLIENT_slug_string_name_CONFIGURE_THRESHOLDS_name_CONFIGURE_API_KEY_slug_partoo_name_PATCH_name_VALIDATE_name_CONFIGURE_GOOGLE_TAG_MANAGER_name_CONFIGURE_REELEVANT_ANALYTICS_SCRIPT_name_CONFIGURE_PRODUCT_DATASOURCE_SOURCE_name_CONFIGURE_TRACKING_DATASOURCE_SOURCE_name_CONFIGURE_BEST_PRODUCT_QUERY_name_CONFIGURE_BEST_PRODUCT_FIELD_name_CONFIGURE_FETCHER_name_CONFIGURE_MERGE_DATASOURCE_SOURCE_name_CONFIGURE_MERGE_DATASOURCE_DEPENDENCY_name_CONFIGURE_MERGE_MAPPING_name_CONFIGURE_BOUGHT_TOGETHER_name_CONFIGURE_TOP_ATTRIBUTES_name_CONFIGURE_DESTINATION_type_smtp_name_CONFIGURE_HIERARCHY = {
|
|
5488
|
+
program: string;
|
|
5489
|
+
version: string;
|
|
5490
|
+
datetime: string;
|
|
5491
|
+
status: string;
|
|
5492
|
+
code?: number;
|
|
5493
|
+
message: string;
|
|
5494
|
+
data: {
|
|
5495
|
+
current: {
|
|
5496
|
+
name: "configure_name";
|
|
5497
|
+
} | {
|
|
5498
|
+
name: "configure_resource_group_ids";
|
|
5499
|
+
} | {
|
|
5500
|
+
name: "configure_sources";
|
|
5501
|
+
} | {
|
|
5502
|
+
name: "configure_fields";
|
|
5503
|
+
} | {
|
|
5504
|
+
name: "configure_field";
|
|
5505
|
+
field: {
|
|
5506
|
+
name: string;
|
|
5507
|
+
type: FieldMapType;
|
|
5508
|
+
};
|
|
5509
|
+
} | {
|
|
5510
|
+
name: "create_oauth_client";
|
|
5511
|
+
configurationId: string;
|
|
5512
|
+
} | {
|
|
5513
|
+
name: "authorize_oauth_client";
|
|
5514
|
+
slug: string;
|
|
5515
|
+
} | {
|
|
5516
|
+
name: "configure_thresholds";
|
|
5517
|
+
} | {
|
|
5518
|
+
name: "configure_api_key";
|
|
5519
|
+
slug: "partoo";
|
|
5520
|
+
} | {
|
|
5521
|
+
name: "patch";
|
|
5522
|
+
} | {
|
|
5523
|
+
name: "validate";
|
|
5524
|
+
} | {
|
|
5525
|
+
name: "configure_google_tag_manager";
|
|
5526
|
+
} | {
|
|
5527
|
+
name: "configure_reelevant_analytics_script";
|
|
5528
|
+
} | {
|
|
5529
|
+
name: "configure_product_datasource_source";
|
|
5530
|
+
} | {
|
|
5531
|
+
name: "configure_tracking_datasource_source";
|
|
5532
|
+
} | {
|
|
5533
|
+
name: "configure_best_product_query";
|
|
5534
|
+
} | {
|
|
5535
|
+
name: "configure_best_product_field";
|
|
5536
|
+
} | {
|
|
5537
|
+
name: "configure_fetcher";
|
|
5538
|
+
} | {
|
|
5539
|
+
name: "configure_merge_datasource_source";
|
|
5540
|
+
} | {
|
|
5541
|
+
name: "configure_merge_datasource_dependency";
|
|
5542
|
+
} | {
|
|
5543
|
+
name: "configure_merge_mapping";
|
|
5544
|
+
} | {
|
|
5545
|
+
name: "configure_bought_together";
|
|
5546
|
+
} | {
|
|
5547
|
+
name: "configure_top_attributes";
|
|
5548
|
+
} | {
|
|
5549
|
+
name: "configure_destination";
|
|
5550
|
+
type: "smtp";
|
|
5551
|
+
} | {
|
|
5552
|
+
name: "configure_hierarchy";
|
|
5553
|
+
};
|
|
5554
|
+
next: ({
|
|
5555
|
+
name: "configure_name";
|
|
5556
|
+
} | {
|
|
5557
|
+
name: "configure_resource_group_ids";
|
|
5558
|
+
} | {
|
|
5559
|
+
name: "configure_sources";
|
|
5560
|
+
} | {
|
|
5561
|
+
name: "configure_fields";
|
|
5562
|
+
} | {
|
|
5563
|
+
name: "configure_field";
|
|
5564
|
+
field: {
|
|
5565
|
+
name: string;
|
|
5566
|
+
type: FieldMapType;
|
|
5567
|
+
};
|
|
5568
|
+
} | {
|
|
5569
|
+
name: "create_oauth_client";
|
|
5570
|
+
configurationId: string;
|
|
5571
|
+
} | {
|
|
5572
|
+
name: "authorize_oauth_client";
|
|
5573
|
+
slug: string;
|
|
5574
|
+
} | {
|
|
5575
|
+
name: "configure_thresholds";
|
|
5576
|
+
} | {
|
|
5577
|
+
name: "configure_api_key";
|
|
5578
|
+
slug: "partoo";
|
|
5579
|
+
} | {
|
|
5580
|
+
name: "patch";
|
|
5581
|
+
} | {
|
|
5582
|
+
name: "validate";
|
|
5583
|
+
} | {
|
|
5584
|
+
name: "configure_google_tag_manager";
|
|
5585
|
+
} | {
|
|
5586
|
+
name: "configure_reelevant_analytics_script";
|
|
5587
|
+
} | {
|
|
5588
|
+
name: "configure_product_datasource_source";
|
|
5589
|
+
} | {
|
|
5590
|
+
name: "configure_tracking_datasource_source";
|
|
5591
|
+
} | {
|
|
5592
|
+
name: "configure_best_product_query";
|
|
5593
|
+
} | {
|
|
5594
|
+
name: "configure_best_product_field";
|
|
5595
|
+
} | {
|
|
5596
|
+
name: "configure_fetcher";
|
|
5597
|
+
} | {
|
|
5598
|
+
name: "configure_merge_datasource_source";
|
|
5599
|
+
} | {
|
|
5600
|
+
name: "configure_merge_datasource_dependency";
|
|
5601
|
+
} | {
|
|
5602
|
+
name: "configure_merge_mapping";
|
|
5603
|
+
} | {
|
|
5604
|
+
name: "configure_bought_together";
|
|
5605
|
+
} | {
|
|
5606
|
+
name: "configure_top_attributes";
|
|
5607
|
+
} | {
|
|
5608
|
+
name: "configure_destination";
|
|
5609
|
+
type: "smtp";
|
|
5610
|
+
} | {
|
|
5611
|
+
name: "configure_hierarchy";
|
|
5612
|
+
})[];
|
|
5613
|
+
};
|
|
5614
|
+
};
|
|
5615
|
+
export declare type SampleObj_Partial = {
|
|
5616
|
+
sample?: {
|
|
5617
|
+
[key: string]: AnyValue;
|
|
5618
|
+
};
|
|
5619
|
+
};
|
|
5620
|
+
export declare type DatasourceSourceOptions = {
|
|
5621
|
+
id: string;
|
|
5622
|
+
};
|
|
5623
|
+
export declare type BigQuerySourceOptions = {
|
|
5624
|
+
table: string;
|
|
5625
|
+
dataset: string;
|
|
5626
|
+
privateKey?: string;
|
|
5627
|
+
clientEmail?: string;
|
|
5628
|
+
projectId?: string;
|
|
5629
|
+
query?: string;
|
|
5630
|
+
tableProjectId?: string;
|
|
5631
|
+
timestampField?: string;
|
|
5632
|
+
timestampFieldType?: "datetime" | "timestamp";
|
|
5633
|
+
customOAuthClientId?: string;
|
|
5634
|
+
location?: string;
|
|
5635
|
+
};
|
|
5636
|
+
export declare type QueriableField_With_Name_Enum_Required_Unique = {
|
|
5637
|
+
name: string;
|
|
5638
|
+
enum?: (string | number)[];
|
|
5639
|
+
required: boolean;
|
|
5640
|
+
unique: boolean;
|
|
5641
|
+
};
|
|
5642
|
+
export declare type UrlSourceOptions = {
|
|
5643
|
+
url: string;
|
|
5644
|
+
format?: {
|
|
5645
|
+
type: "csv";
|
|
5646
|
+
options: {
|
|
5647
|
+
csvDelimiter?: string;
|
|
5648
|
+
csvColumns?: string[];
|
|
5649
|
+
};
|
|
5650
|
+
} | {
|
|
5651
|
+
type: "ndjson";
|
|
5652
|
+
options: {};
|
|
5653
|
+
} | {
|
|
5654
|
+
type: "json";
|
|
5655
|
+
options: {
|
|
5418
5656
|
rootPath: string;
|
|
5419
5657
|
};
|
|
5420
5658
|
} | {
|
|
@@ -5436,21 +5674,128 @@ export declare type KafkaSourceOptions = {
|
|
|
5436
5674
|
options: {};
|
|
5437
5675
|
};
|
|
5438
5676
|
textEncoding?: string;
|
|
5439
|
-
|
|
5440
|
-
|
|
5441
|
-
|
|
5442
|
-
|
|
5443
|
-
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
|
|
5448
|
-
|
|
5449
|
-
|
|
5450
|
-
|
|
5451
|
-
|
|
5452
|
-
|
|
5453
|
-
|
|
5677
|
+
pgpPrivateKey?: string;
|
|
5678
|
+
pgpPassphrase?: string;
|
|
5679
|
+
options?: {
|
|
5680
|
+
method?: "GET" | "PATCH" | "POST" | "PUT";
|
|
5681
|
+
body?: string;
|
|
5682
|
+
headers?: {
|
|
5683
|
+
[key: string]: string;
|
|
5684
|
+
};
|
|
5685
|
+
query?: {
|
|
5686
|
+
[key: string]: string | string[];
|
|
5687
|
+
};
|
|
5688
|
+
oauth?: string;
|
|
5689
|
+
timeout?: number;
|
|
5690
|
+
pagination?: ({
|
|
5691
|
+
type: "query" | "body";
|
|
5692
|
+
value: string;
|
|
5693
|
+
startAt?: number;
|
|
5694
|
+
subtype?: "page" | "offset";
|
|
5695
|
+
} & {
|
|
5696
|
+
maximumPage?: number;
|
|
5697
|
+
}) | ({
|
|
5698
|
+
type: "hypermediaAttribute";
|
|
5699
|
+
value: string;
|
|
5700
|
+
} & {
|
|
5701
|
+
maximumPage?: number;
|
|
5702
|
+
}) | ({
|
|
5703
|
+
type: "pageToken";
|
|
5704
|
+
value: string;
|
|
5705
|
+
param: string;
|
|
5706
|
+
removeParams?: boolean;
|
|
5707
|
+
} & {
|
|
5708
|
+
maximumPage?: number;
|
|
5709
|
+
}) | ({
|
|
5710
|
+
type: "linkHeader";
|
|
5711
|
+
} & {
|
|
5712
|
+
maximumPage?: number;
|
|
5713
|
+
}) | ({
|
|
5714
|
+
type: "entryToken";
|
|
5715
|
+
value: string;
|
|
5716
|
+
param: string;
|
|
5717
|
+
removeParams?: boolean;
|
|
5718
|
+
} & {
|
|
5719
|
+
maximumPage?: number;
|
|
5720
|
+
});
|
|
5721
|
+
variables?: (QueriableField_With_Name_Enum_Required_Unique & {
|
|
5722
|
+
default: string | number | string[] | number[] | {
|
|
5723
|
+
value: string;
|
|
5724
|
+
dynamic: true;
|
|
5725
|
+
};
|
|
5726
|
+
sortable?: boolean;
|
|
5727
|
+
primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
|
|
5728
|
+
})[];
|
|
5729
|
+
};
|
|
5730
|
+
};
|
|
5731
|
+
export declare type PgpDecryptionOptions = {
|
|
5732
|
+
pgpPrivateKey?: string;
|
|
5733
|
+
pgpPassphrase?: string;
|
|
5734
|
+
};
|
|
5735
|
+
export declare type SnowflakeSourceOptions = {
|
|
5736
|
+
account: string;
|
|
5737
|
+
username: string;
|
|
5738
|
+
password?: string;
|
|
5739
|
+
warehouse: string;
|
|
5740
|
+
privateKey?: string;
|
|
5741
|
+
schema: string;
|
|
5742
|
+
database: string;
|
|
5743
|
+
table: string;
|
|
5744
|
+
query?: string;
|
|
5745
|
+
timestampColumn?: string;
|
|
5746
|
+
};
|
|
5747
|
+
export declare type KafkaSourceOptions = {
|
|
5748
|
+
brokers: string[];
|
|
5749
|
+
topic: string;
|
|
5750
|
+
groupPrefix?: string;
|
|
5751
|
+
format?: {
|
|
5752
|
+
type: "csv";
|
|
5753
|
+
options: {
|
|
5754
|
+
csvDelimiter?: string;
|
|
5755
|
+
csvColumns?: string[];
|
|
5756
|
+
};
|
|
5757
|
+
} | {
|
|
5758
|
+
type: "ndjson";
|
|
5759
|
+
options: {};
|
|
5760
|
+
} | {
|
|
5761
|
+
type: "json";
|
|
5762
|
+
options: {
|
|
5763
|
+
rootPath: string;
|
|
5764
|
+
};
|
|
5765
|
+
} | {
|
|
5766
|
+
type: "xml";
|
|
5767
|
+
options: {
|
|
5768
|
+
rootPath: string;
|
|
5769
|
+
};
|
|
5770
|
+
} | {
|
|
5771
|
+
type: "xlsx";
|
|
5772
|
+
options: {};
|
|
5773
|
+
} | {
|
|
5774
|
+
type: "parquet";
|
|
5775
|
+
options: {
|
|
5776
|
+
columnsList?: string[];
|
|
5777
|
+
version?: string;
|
|
5778
|
+
};
|
|
5779
|
+
} | {
|
|
5780
|
+
type: "avro";
|
|
5781
|
+
options: {};
|
|
5782
|
+
};
|
|
5783
|
+
textEncoding?: string;
|
|
5784
|
+
username?: string;
|
|
5785
|
+
password?: string;
|
|
5786
|
+
ssl?: boolean;
|
|
5787
|
+
registry?: {
|
|
5788
|
+
url: string;
|
|
5789
|
+
username: string;
|
|
5790
|
+
password: string;
|
|
5791
|
+
};
|
|
5792
|
+
};
|
|
5793
|
+
export declare type SourceInput_Without_FieldsRules = {
|
|
5794
|
+
filter?: {
|
|
5795
|
+
$and: ({
|
|
5796
|
+
$and: ({
|
|
5797
|
+
[key: string]: {
|
|
5798
|
+
$eq: string | number | (false) | (true) | string[] | {}[];
|
|
5454
5799
|
} | {
|
|
5455
5800
|
$ne: string | number | (false) | (true) | string[] | {}[];
|
|
5456
5801
|
} | {
|
|
@@ -18350,9 +18695,7 @@ export declare type InternalResponse_DatasourceSettings = {
|
|
|
18350
18695
|
message: string;
|
|
18351
18696
|
data: DatasourceSettings;
|
|
18352
18697
|
};
|
|
18353
|
-
export declare type Document = {};
|
|
18354
18698
|
export declare type LogLevel = 0 | 1 | 2;
|
|
18355
|
-
export declare type IObjectWithTypegooseFunction = {};
|
|
18356
18699
|
export declare type InternalResponse_Array_Intersection_Document_Omit_IObjectWithTypegooseFunction = {
|
|
18357
18700
|
program: string;
|
|
18358
18701
|
version: string;
|
|
@@ -18607,14 +18950,14 @@ export declare type Serialize_PushDatasource = {
|
|
|
18607
18950
|
mode: "push";
|
|
18608
18951
|
companyId: ObjectId;
|
|
18609
18952
|
resourceGroupIds: ObjectId[];
|
|
18610
|
-
readonly configurationUpdatedAt: (string) & readonlyP;
|
|
18611
|
-
readonly archivedAt: (string | null) & readonlyP;
|
|
18612
18953
|
versions: (ObjectId | (Document & DatasourceVersion & {
|
|
18613
18954
|
_id: ObjectId;
|
|
18614
18955
|
} & {
|
|
18615
18956
|
__v: number;
|
|
18616
18957
|
} & IObjectWithTypegooseFunction))[];
|
|
18958
|
+
readonly archivedAt: (string | null) & readonlyP;
|
|
18617
18959
|
status: DatasourceStatus;
|
|
18960
|
+
readonly configurationUpdatedAt: (string) & readonlyP;
|
|
18618
18961
|
readonly lastSuccessfulIngestion?: (string) & readonlyP;
|
|
18619
18962
|
readonly lastFailedIngestion?: (string) & readonlyP;
|
|
18620
18963
|
readonly lastFailureReason?: (string) & readonlyP;
|
|
@@ -18831,14 +19174,14 @@ export declare type Serialize_WorkerDatasource = {
|
|
|
18831
19174
|
mode: "worker";
|
|
18832
19175
|
companyId: ObjectId;
|
|
18833
19176
|
resourceGroupIds: ObjectId[];
|
|
18834
|
-
readonly configurationUpdatedAt: (string) & readonlyP;
|
|
18835
|
-
readonly archivedAt: (string | null) & readonlyP;
|
|
18836
19177
|
versions: (ObjectId | (Document & WorkerDatasourceVersion & {
|
|
18837
19178
|
_id: ObjectId;
|
|
18838
19179
|
} & {
|
|
18839
19180
|
__v: number;
|
|
18840
19181
|
} & IObjectWithTypegooseFunction))[];
|
|
19182
|
+
readonly archivedAt: (string | null) & readonlyP;
|
|
18841
19183
|
status: DatasourceStatus;
|
|
19184
|
+
readonly configurationUpdatedAt: (string) & readonlyP;
|
|
18842
19185
|
readonly lastSuccessfulIngestion?: (string) & readonlyP;
|
|
18843
19186
|
readonly lastFailedIngestion?: (string) & readonlyP;
|
|
18844
19187
|
readonly lastFailureReason?: (string) & readonlyP;
|
|
@@ -19069,14 +19412,14 @@ export declare type Serialize_ProxyDatasource = {
|
|
|
19069
19412
|
mode: "proxy";
|
|
19070
19413
|
companyId: ObjectId;
|
|
19071
19414
|
resourceGroupIds: ObjectId[];
|
|
19072
|
-
readonly configurationUpdatedAt: (string) & readonlyP;
|
|
19073
|
-
readonly archivedAt: (string | null) & readonlyP;
|
|
19074
19415
|
versions: (ObjectId | (Document & ProxyDatasourceVersion & {
|
|
19075
19416
|
_id: ObjectId;
|
|
19076
19417
|
} & {
|
|
19077
19418
|
__v: number;
|
|
19078
19419
|
} & IObjectWithTypegooseFunction))[];
|
|
19420
|
+
readonly archivedAt: (string | null) & readonlyP;
|
|
19079
19421
|
status: DatasourceStatus;
|
|
19422
|
+
readonly configurationUpdatedAt: (string) & readonlyP;
|
|
19080
19423
|
readonly lastSuccessfulIngestion?: (string) & readonlyP;
|
|
19081
19424
|
readonly lastFailedIngestion?: (string) & readonlyP;
|
|
19082
19425
|
readonly lastFailureReason?: (string) & readonlyP;
|
|
@@ -19304,14 +19647,14 @@ export declare type Serialize_IngesterDatasource = {
|
|
|
19304
19647
|
mode: "ingester";
|
|
19305
19648
|
companyId: ObjectId;
|
|
19306
19649
|
resourceGroupIds: ObjectId[];
|
|
19307
|
-
readonly configurationUpdatedAt: (string) & readonlyP;
|
|
19308
|
-
readonly archivedAt: (string | null) & readonlyP;
|
|
19309
19650
|
versions: (ObjectId | (Document & IngesterDatasourceVersion & {
|
|
19310
19651
|
_id: ObjectId;
|
|
19311
19652
|
} & {
|
|
19312
19653
|
__v: number;
|
|
19313
19654
|
} & IObjectWithTypegooseFunction))[];
|
|
19655
|
+
readonly archivedAt: (string | null) & readonlyP;
|
|
19314
19656
|
status: DatasourceStatus;
|
|
19657
|
+
readonly configurationUpdatedAt: (string) & readonlyP;
|
|
19315
19658
|
readonly lastSuccessfulIngestion?: (string) & readonlyP;
|
|
19316
19659
|
readonly lastFailedIngestion?: (string) & readonlyP;
|
|
19317
19660
|
readonly lastFailureReason?: (string) & readonlyP;
|
|
@@ -19504,601 +19847,117 @@ export declare type Serialize_PubsubDatasource = {
|
|
|
19504
19847
|
params: {};
|
|
19505
19848
|
} | {
|
|
19506
19849
|
name: "generic-proxy-lock";
|
|
19507
|
-
params: {
|
|
19508
|
-
ttl: number;
|
|
19509
|
-
};
|
|
19510
|
-
} | {
|
|
19511
|
-
name: "generic-proxy-aggregation";
|
|
19512
|
-
params: {
|
|
19513
|
-
targetField: string;
|
|
19514
|
-
aggregationType: "sum" | "avg" | "min" | "max";
|
|
19515
|
-
outputField: string;
|
|
19516
|
-
};
|
|
19517
|
-
}) & readonlyP;
|
|
19518
|
-
storageOptions: {
|
|
19519
|
-
destinations: {
|
|
19520
|
-
type: "bigquery";
|
|
19521
|
-
dataset: string;
|
|
19522
|
-
tableName: string;
|
|
19523
|
-
deduplicateOptions?: {
|
|
19524
|
-
enabled: boolean;
|
|
19525
|
-
};
|
|
19526
|
-
}[];
|
|
19527
|
-
partitionCount: number;
|
|
19528
|
-
segments: {
|
|
19529
|
-
offlineSize: number;
|
|
19530
|
-
offlineReplication: number;
|
|
19531
|
-
realtimeSize: number;
|
|
19532
|
-
realtimeReplication: number;
|
|
19533
|
-
};
|
|
19534
|
-
retention?: {
|
|
19535
|
-
value: number;
|
|
19536
|
-
unit: "DAYS";
|
|
19537
|
-
};
|
|
19538
|
-
};
|
|
19539
|
-
mode: "pubsub";
|
|
19540
|
-
companyId: ObjectId;
|
|
19541
|
-
resourceGroupIds: ObjectId[];
|
|
19542
|
-
readonly configurationUpdatedAt: (string) & readonlyP;
|
|
19543
|
-
readonly archivedAt: (string | null) & readonlyP;
|
|
19544
|
-
versions: (ObjectId | (Document & PubsubDatasourceVersion & {
|
|
19545
|
-
_id: ObjectId;
|
|
19546
|
-
} & {
|
|
19547
|
-
__v: number;
|
|
19548
|
-
} & IObjectWithTypegooseFunction))[];
|
|
19549
|
-
status: DatasourceStatus;
|
|
19550
|
-
readonly lastSuccessfulIngestion?: (string) & readonlyP;
|
|
19551
|
-
readonly lastFailedIngestion?: (string) & readonlyP;
|
|
19552
|
-
readonly lastFailureReason?: (string) & readonlyP;
|
|
19553
|
-
hierarchy: string[];
|
|
19554
|
-
readonly hasWarnings: (boolean) & readonlyP;
|
|
19555
|
-
};
|
|
19556
|
-
export declare type PubsubDatasource = Serialize_PubsubDatasource & {
|
|
19557
|
-
readonly id: (string) & readonlyP;
|
|
19558
|
-
} & {
|
|
19559
|
-
readonly createdAt: (string) & readonlyP;
|
|
19560
|
-
readonly updatedAt: (string) & readonlyP;
|
|
19561
|
-
};
|
|
19562
|
-
export declare type InternalResponse_Array_Union_PushDatasource_WorkerDatasource_ProxyDatasource_IngesterDatasource_PubsubDatasource = {
|
|
19563
|
-
program: string;
|
|
19564
|
-
version: string;
|
|
19565
|
-
datetime: string;
|
|
19566
|
-
status: string;
|
|
19567
|
-
code?: number;
|
|
19568
|
-
message: string;
|
|
19569
|
-
data: (PushDatasource | WorkerDatasource | ProxyDatasource | IngesterDatasource | PubsubDatasource)[];
|
|
19570
|
-
};
|
|
19571
|
-
export declare type FieldMap_With_Name_Type_Primitive = {
|
|
19572
|
-
name: string;
|
|
19573
|
-
type: FieldMapType;
|
|
19574
|
-
readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
|
|
19575
|
-
};
|
|
19576
|
-
export declare type QueriableField = FieldMap_With_Name_Type_Primitive & {
|
|
19577
|
-
required: boolean;
|
|
19578
|
-
unique: boolean;
|
|
19579
|
-
sortable: boolean;
|
|
19580
|
-
enum?: (string | number)[];
|
|
19581
|
-
allowedOperators: (("$eq" | "$ne" | "$contains" | "$notcontains" | "$startswith" | "$endswith" | "$empty" | "eq" | "ne" | "contains" | "notcontains" | "startswith" | "endswith" | "empty" | "$neq" | "$nne" | "$lt" | "$lte" | "$gt" | "$gte" | "neq" | "nne" | "lt" | "lte" | "gt" | "gte" | "$rangefuture" | "$rangepast" | "$nrangefuture" | "$nrangepast" | "rangefuture" | "rangepast" | "nrangefuture" | "nrangepast") | ("$eq" | "$ne" | "$contains" | "$notcontains" | "$startswith" | "$endswith" | "$empty" | "eq" | "ne" | "contains" | "notcontains" | "startswith" | "endswith" | "empty" | "$neq" | "$nne" | "$lt" | "$lte" | "$gt" | "$gte" | "neq" | "nne" | "lt" | "lte" | "gt" | "gte" | "$rangefuture" | "$rangepast" | "$nrangefuture" | "$nrangepast" | "rangefuture" | "rangepast" | "nrangefuture" | "nrangepast"))[];
|
|
19582
|
-
};
|
|
19583
|
-
export declare type InternalResponse_Union_Intersection_PushDatasource_example_Union_undefined_Record_queriableFields_Union_undefined_Array_QueriableField_Intersection_WorkerDatasource_example_Union_undefined_Record_queriableFields_Union_undefined_Array_QueriableField_Intersection_ProxyDatasource_example_Union_undefined_Record_queriableFields_Union_undefined_Array_QueriableField_Intersection_IngesterDatasource_example_Union_undefined_Record_queriableFields_Union_undefined_Array_QueriableField_Intersection_PubsubDatasource_example_Union_undefined_Record_queriableFields_Union_undefined_Array_QueriableField = {
|
|
19584
|
-
program: string;
|
|
19585
|
-
version: string;
|
|
19586
|
-
datetime: string;
|
|
19587
|
-
status: string;
|
|
19588
|
-
code?: number;
|
|
19589
|
-
message: string;
|
|
19590
|
-
data: (PushDatasource & {
|
|
19591
|
-
example?: {
|
|
19592
|
-
[key: string]: AnyValue;
|
|
19593
|
-
};
|
|
19594
|
-
queriableFields?: QueriableField[];
|
|
19595
|
-
}) | (WorkerDatasource & {
|
|
19596
|
-
example?: {
|
|
19597
|
-
[key: string]: AnyValue;
|
|
19598
|
-
};
|
|
19599
|
-
queriableFields?: QueriableField[];
|
|
19600
|
-
}) | (ProxyDatasource & {
|
|
19601
|
-
example?: {
|
|
19602
|
-
[key: string]: AnyValue;
|
|
19603
|
-
};
|
|
19604
|
-
queriableFields?: QueriableField[];
|
|
19605
|
-
}) | (IngesterDatasource & {
|
|
19606
|
-
example?: {
|
|
19607
|
-
[key: string]: AnyValue;
|
|
19608
|
-
};
|
|
19609
|
-
queriableFields?: QueriableField[];
|
|
19610
|
-
}) | (PubsubDatasource & {
|
|
19611
|
-
example?: {
|
|
19612
|
-
[key: string]: AnyValue;
|
|
19613
|
-
};
|
|
19614
|
-
queriableFields?: QueriableField[];
|
|
19615
|
-
});
|
|
19616
|
-
};
|
|
19617
|
-
export declare type InternalResponse_example_Record = {
|
|
19618
|
-
program: string;
|
|
19619
|
-
version: string;
|
|
19620
|
-
datetime: string;
|
|
19621
|
-
status: string;
|
|
19622
|
-
code?: number;
|
|
19623
|
-
message: string;
|
|
19624
|
-
data: {
|
|
19625
|
-
example: {
|
|
19626
|
-
[key: string]: AnyValue;
|
|
19627
|
-
};
|
|
19628
|
-
};
|
|
19629
|
-
};
|
|
19630
|
-
export declare type InternalResponse_Union_PushDatasource_WorkerDatasource_ProxyDatasource_IngesterDatasource_PubsubDatasource = {
|
|
19631
|
-
program: string;
|
|
19632
|
-
version: string;
|
|
19633
|
-
datetime: string;
|
|
19634
|
-
status: string;
|
|
19635
|
-
code?: number;
|
|
19636
|
-
message: string;
|
|
19637
|
-
data: PushDatasource | WorkerDatasource | ProxyDatasource | IngesterDatasource | PubsubDatasource;
|
|
19638
|
-
};
|
|
19639
|
-
export declare type DatasourcePush = {
|
|
19640
|
-
name: "push";
|
|
19641
|
-
subtype: "email";
|
|
19642
|
-
};
|
|
19643
|
-
export declare type DatasourceGeneric = {
|
|
19644
|
-
name: "generic";
|
|
19645
|
-
subtype: DatasourceGenericSubType;
|
|
19646
|
-
};
|
|
19647
|
-
export declare type DatasourceCRM = {
|
|
19648
|
-
name: "crm";
|
|
19649
|
-
subtype: DatasourceCRMSubType;
|
|
19650
|
-
};
|
|
19651
|
-
export declare type DatasourceProduct = {
|
|
19652
|
-
name: "product";
|
|
19653
|
-
subtype: DatasourceProductSubType;
|
|
19654
|
-
};
|
|
19655
|
-
export declare type DatasourceLocation = {
|
|
19656
|
-
name: "location";
|
|
19657
|
-
subtype: DatasourceLocationSubType;
|
|
19658
|
-
};
|
|
19659
|
-
export declare type DatasourceLoop = {
|
|
19660
|
-
name: "loop";
|
|
19661
|
-
subtype: DatasourceLoopSubType;
|
|
19662
|
-
};
|
|
19663
|
-
export declare type InternalResponse_anonymized_number = {
|
|
19664
|
-
program: string;
|
|
19665
|
-
version: string;
|
|
19666
|
-
datetime: string;
|
|
19667
|
-
status: string;
|
|
19668
|
-
code?: number;
|
|
19669
|
-
message: string;
|
|
19670
|
-
data: {
|
|
19671
|
-
anonymized: number;
|
|
19672
|
-
};
|
|
19673
|
-
};
|
|
19674
|
-
export declare type InternalResponse_fields_Array_Intersection_FieldMapPlain_rulesPerSources_Record = {
|
|
19675
|
-
program: string;
|
|
19676
|
-
version: string;
|
|
19677
|
-
datetime: string;
|
|
19678
|
-
status: string;
|
|
19679
|
-
code?: number;
|
|
19680
|
-
message: string;
|
|
19681
|
-
data: {
|
|
19682
|
-
fields: ({
|
|
19683
|
-
name: string;
|
|
19684
|
-
type: FieldMapType;
|
|
19685
|
-
source?: FieldSource;
|
|
19686
|
-
selected: boolean;
|
|
19687
|
-
ignoreIfMissing?: boolean;
|
|
19688
|
-
metadata?: {
|
|
19689
|
-
locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en";
|
|
19690
|
-
};
|
|
19691
|
-
readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
|
|
19692
|
-
} & {
|
|
19693
|
-
rulesPerSources: {
|
|
19694
|
-
[key: string]: (({
|
|
19695
|
-
name: "static";
|
|
19696
|
-
params: {
|
|
19697
|
-
value: string | number;
|
|
19698
|
-
};
|
|
19699
|
-
} | {
|
|
19700
|
-
name: "path";
|
|
19701
|
-
params: {
|
|
19702
|
-
value: string;
|
|
19703
|
-
};
|
|
19704
|
-
} | {
|
|
19705
|
-
name: "path";
|
|
19706
|
-
params: {
|
|
19707
|
-
fromRoot: true;
|
|
19708
|
-
value: string;
|
|
19709
|
-
};
|
|
19710
|
-
}) | ({
|
|
19711
|
-
name: "static";
|
|
19712
|
-
params: {
|
|
19713
|
-
value: string | number;
|
|
19714
|
-
};
|
|
19715
|
-
} | {
|
|
19716
|
-
name: "path";
|
|
19717
|
-
params: {
|
|
19718
|
-
value: string;
|
|
19719
|
-
};
|
|
19720
|
-
} | {
|
|
19721
|
-
name: "path";
|
|
19722
|
-
params: {
|
|
19723
|
-
fromRoot: true;
|
|
19724
|
-
value: string;
|
|
19725
|
-
};
|
|
19726
|
-
} | {
|
|
19727
|
-
name: "array_find";
|
|
19728
|
-
params: {
|
|
19729
|
-
key: string;
|
|
19730
|
-
operator: "=" | "!=";
|
|
19731
|
-
value: string | number;
|
|
19732
|
-
};
|
|
19733
|
-
} | {
|
|
19734
|
-
name: "array_find";
|
|
19735
|
-
params: {
|
|
19736
|
-
conditions: Condition[];
|
|
19737
|
-
};
|
|
19738
|
-
} | {
|
|
19739
|
-
name: "array_find";
|
|
19740
|
-
params: {
|
|
19741
|
-
key: string;
|
|
19742
|
-
operator: "=" | "!=";
|
|
19743
|
-
valuePath: string;
|
|
19744
|
-
fromFormatted?: boolean;
|
|
19745
|
-
};
|
|
19746
|
-
} | {
|
|
19747
|
-
name: "array_find";
|
|
19748
|
-
params: {
|
|
19749
|
-
conditions: (Condition_Without_Value & {
|
|
19750
|
-
evaluateValue: string;
|
|
19751
|
-
})[];
|
|
19752
|
-
};
|
|
19753
|
-
} | {
|
|
19754
|
-
name: "fallback";
|
|
19755
|
-
params: FieldMapFallbackRulePayload;
|
|
19756
|
-
} | {
|
|
19757
|
-
name: "fallback";
|
|
19758
|
-
params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
|
|
19759
|
-
staticValue: string | number | string[] | number[] | {
|
|
19760
|
-
[key: string]: string;
|
|
19761
|
-
} | {
|
|
19762
|
-
[key: string]: number;
|
|
19763
|
-
};
|
|
19764
|
-
};
|
|
19765
|
-
} | {
|
|
19766
|
-
name: "fallback_if";
|
|
19767
|
-
params: FieldMapFallbackRulePayload & {
|
|
19768
|
-
conditions: (Condition | (Condition_Without_Value & {
|
|
19769
|
-
evaluateValue: string;
|
|
19770
|
-
}))[];
|
|
19771
|
-
};
|
|
19772
|
-
} | {
|
|
19773
|
-
name: "exclude_from_record";
|
|
19774
|
-
params: {
|
|
19775
|
-
keys: string[];
|
|
19776
|
-
};
|
|
19777
|
-
} | {
|
|
19778
|
-
name: "decrypt";
|
|
19779
|
-
params: {
|
|
19780
|
-
passwordPrefixPath?: string;
|
|
19781
|
-
};
|
|
19782
|
-
} | {
|
|
19783
|
-
name: "interpolate";
|
|
19784
|
-
params: {
|
|
19785
|
-
value: string;
|
|
19786
|
-
};
|
|
19787
|
-
} | {
|
|
19788
|
-
name: "custom";
|
|
19789
|
-
params: {
|
|
19790
|
-
value: string;
|
|
19791
|
-
};
|
|
19792
|
-
} | {
|
|
19793
|
-
name: "split";
|
|
19794
|
-
params: {
|
|
19795
|
-
separator: string;
|
|
19796
|
-
};
|
|
19797
|
-
} | {
|
|
19798
|
-
name: "case";
|
|
19799
|
-
params: {
|
|
19800
|
-
cases: {
|
|
19801
|
-
conditions: Condition_Without_Path[];
|
|
19802
|
-
value: string;
|
|
19803
|
-
}[];
|
|
19804
|
-
};
|
|
19805
|
-
} | {
|
|
19806
|
-
name: "hash";
|
|
19807
|
-
params: {
|
|
19808
|
-
algorithm: string;
|
|
19809
|
-
salt?: string;
|
|
19810
|
-
};
|
|
19811
|
-
} | {
|
|
19812
|
-
name: "decipher";
|
|
19813
|
-
params: {
|
|
19814
|
-
algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
|
|
19815
|
-
key: string;
|
|
19816
|
-
iv?: string;
|
|
19817
|
-
inputEncoding?: "hex" | "base64";
|
|
19818
|
-
};
|
|
19819
|
-
}))[];
|
|
19820
|
-
};
|
|
19821
|
-
})[];
|
|
19822
|
-
};
|
|
19823
|
-
};
|
|
19824
|
-
export declare type InternalResponse_Intersection_bucket_string_path_string_format_Union_type_csv_options_csvDelimiter_Union_undefined_string_csvColumns_Union_undefined_Array_string_type_ndjson_options__type_json_options_rootPath_string_type_xml_options_rootPath_string_type_xlsx_options__type_parquet_options_columnsList_Union_undefined_Array_string_version_Union_undefined_string_type_avro_options__textEncoding_string_PgpDecryptionOptions = {
|
|
19825
|
-
program: string;
|
|
19826
|
-
version: string;
|
|
19827
|
-
datetime: string;
|
|
19828
|
-
status: string;
|
|
19829
|
-
code?: number;
|
|
19830
|
-
message: string;
|
|
19831
|
-
data: {
|
|
19832
|
-
bucket: string;
|
|
19833
|
-
path: string;
|
|
19834
|
-
format: {
|
|
19835
|
-
type: "csv";
|
|
19836
|
-
options: {
|
|
19837
|
-
csvDelimiter?: string;
|
|
19838
|
-
csvColumns?: string[];
|
|
19839
|
-
};
|
|
19840
|
-
} | {
|
|
19841
|
-
type: "ndjson";
|
|
19842
|
-
options: {};
|
|
19843
|
-
} | {
|
|
19844
|
-
type: "json";
|
|
19845
|
-
options: {
|
|
19846
|
-
rootPath: string;
|
|
19847
|
-
};
|
|
19848
|
-
} | {
|
|
19849
|
-
type: "xml";
|
|
19850
|
-
options: {
|
|
19851
|
-
rootPath: string;
|
|
19852
|
-
};
|
|
19853
|
-
} | {
|
|
19854
|
-
type: "xlsx";
|
|
19855
|
-
options: {};
|
|
19856
|
-
} | {
|
|
19857
|
-
type: "parquet";
|
|
19858
|
-
options: {
|
|
19859
|
-
columnsList?: string[];
|
|
19860
|
-
version?: string;
|
|
19861
|
-
};
|
|
19862
|
-
} | {
|
|
19863
|
-
type: "avro";
|
|
19864
|
-
options: {};
|
|
19865
|
-
};
|
|
19866
|
-
textEncoding: string;
|
|
19867
|
-
} & PgpDecryptionOptions;
|
|
19868
|
-
};
|
|
19869
|
-
export declare type InternalResponse_password_string = {
|
|
19870
|
-
program: string;
|
|
19871
|
-
version: string;
|
|
19872
|
-
datetime: string;
|
|
19873
|
-
status: string;
|
|
19874
|
-
code?: number;
|
|
19875
|
-
message: string;
|
|
19876
|
-
data: {
|
|
19877
|
-
password: string;
|
|
19878
|
-
};
|
|
19879
|
-
};
|
|
19880
|
-
export declare type CreateSchemaBody = {
|
|
19881
|
-
schema: {
|
|
19882
|
-
name: string;
|
|
19883
|
-
datasourceId: string;
|
|
19884
|
-
columns: {
|
|
19885
|
-
name: string;
|
|
19886
|
-
type: FieldMapType;
|
|
19887
|
-
default?: string | number | (false) | (true) | string;
|
|
19888
|
-
description?: string;
|
|
19889
|
-
}[];
|
|
19890
|
-
description?: string;
|
|
19891
|
-
indexes?: {
|
|
19892
|
-
type: "Index";
|
|
19893
|
-
columns: string[];
|
|
19894
|
-
description?: string;
|
|
19895
|
-
}[];
|
|
19896
|
-
virtualColumns?: {
|
|
19897
|
-
name: string;
|
|
19898
|
-
type: FieldMapType;
|
|
19899
|
-
query: string;
|
|
19900
|
-
description?: string;
|
|
19901
|
-
}[];
|
|
19902
|
-
uniqueKeys?: {
|
|
19903
|
-
type: "UniqueKey";
|
|
19904
|
-
columns: string[];
|
|
19905
|
-
description?: string;
|
|
19906
|
-
}[];
|
|
19907
|
-
relations?: {
|
|
19908
|
-
type: "Relation";
|
|
19909
|
-
columns: string[];
|
|
19910
|
-
reference: {
|
|
19911
|
-
table: string;
|
|
19912
|
-
datasourceId: string;
|
|
19913
|
-
columns: string[];
|
|
19914
|
-
};
|
|
19915
|
-
description?: string;
|
|
19916
|
-
}[];
|
|
19917
|
-
}[];
|
|
19918
|
-
};
|
|
19919
|
-
export declare type SchemaValidationIssue = {
|
|
19920
|
-
path: (string | number)[];
|
|
19921
|
-
message: string;
|
|
19922
|
-
code: string;
|
|
19923
|
-
};
|
|
19924
|
-
export declare type RelationAnalysisResult = {
|
|
19925
|
-
fromDatasourceId: string;
|
|
19926
|
-
fromTable: string;
|
|
19927
|
-
fromColumn: string;
|
|
19928
|
-
fromDistinctCount: number | null;
|
|
19929
|
-
toDatasourceId: string;
|
|
19930
|
-
toTable: string;
|
|
19931
|
-
toColumn: string;
|
|
19932
|
-
toDistinctCount: number | null;
|
|
19933
|
-
matchCount: number | null;
|
|
19934
|
-
matchPercentage: number | null;
|
|
19935
|
-
error?: string;
|
|
19936
|
-
};
|
|
19937
|
-
export declare type ValidateSchemaResponse = {
|
|
19938
|
-
validation: {
|
|
19939
|
-
success: true;
|
|
19940
|
-
data: {
|
|
19941
|
-
name: string;
|
|
19942
|
-
datasourceId: string;
|
|
19943
|
-
columns: {
|
|
19944
|
-
name: string;
|
|
19945
|
-
type: "string" | "number" | "boolean" | "name" | "url" | "datetime" | "datetime_iso" | "description" | "locale" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "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";
|
|
19946
|
-
default?: string | number | (false) | (true) | string;
|
|
19947
|
-
description?: string;
|
|
19948
|
-
}[];
|
|
19949
|
-
description?: string;
|
|
19950
|
-
indexes?: {
|
|
19951
|
-
type: "Index";
|
|
19952
|
-
columns: string[];
|
|
19953
|
-
description?: string;
|
|
19954
|
-
}[];
|
|
19955
|
-
virtualColumns?: {
|
|
19956
|
-
name: string;
|
|
19957
|
-
type: "string" | "number" | "boolean" | "name" | "url" | "datetime" | "datetime_iso" | "description" | "locale" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "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";
|
|
19958
|
-
query: string;
|
|
19959
|
-
description?: string;
|
|
19960
|
-
}[];
|
|
19961
|
-
uniqueKeys?: {
|
|
19962
|
-
type: "UniqueKey";
|
|
19963
|
-
columns: string[];
|
|
19964
|
-
description?: string;
|
|
19965
|
-
}[];
|
|
19966
|
-
relations?: {
|
|
19967
|
-
type: "Relation";
|
|
19968
|
-
columns: string[];
|
|
19969
|
-
reference: {
|
|
19970
|
-
table: string;
|
|
19971
|
-
datasourceId: string;
|
|
19972
|
-
columns: string[];
|
|
19973
|
-
};
|
|
19974
|
-
description?: string;
|
|
19975
|
-
}[];
|
|
19976
|
-
}[];
|
|
19850
|
+
params: {
|
|
19851
|
+
ttl: number;
|
|
19852
|
+
};
|
|
19977
19853
|
} | {
|
|
19978
|
-
|
|
19979
|
-
|
|
19980
|
-
|
|
19854
|
+
name: "generic-proxy-aggregation";
|
|
19855
|
+
params: {
|
|
19856
|
+
targetField: string;
|
|
19857
|
+
aggregationType: "sum" | "avg" | "min" | "max";
|
|
19858
|
+
outputField: string;
|
|
19859
|
+
};
|
|
19860
|
+
}) & readonlyP;
|
|
19861
|
+
storageOptions: {
|
|
19862
|
+
destinations: {
|
|
19863
|
+
type: "bigquery";
|
|
19864
|
+
dataset: string;
|
|
19865
|
+
tableName: string;
|
|
19866
|
+
deduplicateOptions?: {
|
|
19867
|
+
enabled: boolean;
|
|
19868
|
+
};
|
|
19869
|
+
}[];
|
|
19870
|
+
partitionCount: number;
|
|
19871
|
+
segments: {
|
|
19872
|
+
offlineSize: number;
|
|
19873
|
+
offlineReplication: number;
|
|
19874
|
+
realtimeSize: number;
|
|
19875
|
+
realtimeReplication: number;
|
|
19876
|
+
};
|
|
19877
|
+
retention?: {
|
|
19878
|
+
value: number;
|
|
19879
|
+
unit: "DAYS";
|
|
19981
19880
|
};
|
|
19982
19881
|
};
|
|
19983
|
-
|
|
19882
|
+
mode: "pubsub";
|
|
19883
|
+
companyId: ObjectId;
|
|
19884
|
+
resourceGroupIds: ObjectId[];
|
|
19885
|
+
versions: (ObjectId | (Document & PubsubDatasourceVersion & {
|
|
19886
|
+
_id: ObjectId;
|
|
19887
|
+
} & {
|
|
19888
|
+
__v: number;
|
|
19889
|
+
} & IObjectWithTypegooseFunction))[];
|
|
19890
|
+
readonly archivedAt: (string | null) & readonlyP;
|
|
19891
|
+
status: DatasourceStatus;
|
|
19892
|
+
readonly configurationUpdatedAt: (string) & readonlyP;
|
|
19893
|
+
readonly lastSuccessfulIngestion?: (string) & readonlyP;
|
|
19894
|
+
readonly lastFailedIngestion?: (string) & readonlyP;
|
|
19895
|
+
readonly lastFailureReason?: (string) & readonlyP;
|
|
19896
|
+
hierarchy: string[];
|
|
19897
|
+
readonly hasWarnings: (boolean) & readonlyP;
|
|
19984
19898
|
};
|
|
19985
|
-
export declare type
|
|
19899
|
+
export declare type PubsubDatasource = Serialize_PubsubDatasource & {
|
|
19900
|
+
readonly id: (string) & readonlyP;
|
|
19901
|
+
} & {
|
|
19902
|
+
readonly createdAt: (string) & readonlyP;
|
|
19903
|
+
readonly updatedAt: (string) & readonlyP;
|
|
19904
|
+
};
|
|
19905
|
+
export declare type InternalResponse_Array_Union_PushDatasource_WorkerDatasource_ProxyDatasource_IngesterDatasource_PubsubDatasource = {
|
|
19986
19906
|
program: string;
|
|
19987
19907
|
version: string;
|
|
19988
19908
|
datetime: string;
|
|
19989
19909
|
status: string;
|
|
19990
19910
|
code?: number;
|
|
19991
19911
|
message: string;
|
|
19992
|
-
data:
|
|
19912
|
+
data: (PushDatasource | WorkerDatasource | ProxyDatasource | IngesterDatasource | PubsubDatasource)[];
|
|
19993
19913
|
};
|
|
19994
|
-
export declare type
|
|
19995
|
-
|
|
19914
|
+
export declare type FieldMap_With_Name_Type_Primitive = {
|
|
19915
|
+
name: string;
|
|
19916
|
+
type: FieldMapType;
|
|
19917
|
+
readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
|
|
19996
19918
|
};
|
|
19997
|
-
export declare
|
|
19998
|
-
|
|
19999
|
-
|
|
20000
|
-
|
|
20001
|
-
|
|
20002
|
-
|
|
20003
|
-
readonly companyId: (ObjectId) & readonlyP;
|
|
20004
|
-
readonly state: (DatagraphSchemaVersionState) & readonlyP;
|
|
20005
|
-
readonly definition: ({
|
|
20006
|
-
name: string;
|
|
20007
|
-
datasourceId: string;
|
|
20008
|
-
description?: string;
|
|
20009
|
-
indexes?: {
|
|
20010
|
-
type: "Index";
|
|
20011
|
-
columns: string[];
|
|
20012
|
-
description?: string;
|
|
20013
|
-
}[];
|
|
20014
|
-
columns: {
|
|
20015
|
-
name: string;
|
|
20016
|
-
type: "string" | "number" | "boolean" | "name" | "url" | "datetime" | "datetime_iso" | "description" | "locale" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "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";
|
|
20017
|
-
default?: string | number | (false) | (true) | string;
|
|
20018
|
-
description?: string;
|
|
20019
|
-
}[];
|
|
20020
|
-
virtualColumns?: {
|
|
20021
|
-
name: string;
|
|
20022
|
-
type: "string" | "number" | "boolean" | "name" | "url" | "datetime" | "datetime_iso" | "description" | "locale" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "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";
|
|
20023
|
-
query: string;
|
|
20024
|
-
description?: string;
|
|
20025
|
-
}[];
|
|
20026
|
-
uniqueKeys?: {
|
|
20027
|
-
type: "UniqueKey";
|
|
20028
|
-
columns: string[];
|
|
20029
|
-
description?: string;
|
|
20030
|
-
}[];
|
|
20031
|
-
relations?: {
|
|
20032
|
-
type: "Relation";
|
|
20033
|
-
columns: string[];
|
|
20034
|
-
reference: {
|
|
20035
|
-
table: string;
|
|
20036
|
-
datasourceId: string;
|
|
20037
|
-
columns: string[];
|
|
20038
|
-
};
|
|
20039
|
-
description?: string;
|
|
20040
|
-
}[];
|
|
20041
|
-
}[]) & readonlyP;
|
|
19919
|
+
export declare type QueriableField = FieldMap_With_Name_Type_Primitive & {
|
|
19920
|
+
required: boolean;
|
|
19921
|
+
unique: boolean;
|
|
19922
|
+
sortable: boolean;
|
|
19923
|
+
enum?: (string | number)[];
|
|
19924
|
+
allowedOperators: (("$eq" | "$ne" | "$contains" | "$notcontains" | "$startswith" | "$endswith" | "$empty" | "eq" | "ne" | "contains" | "notcontains" | "startswith" | "endswith" | "empty" | "$neq" | "$nne" | "$lt" | "$lte" | "$gt" | "$gte" | "neq" | "nne" | "lt" | "lte" | "gt" | "gte" | "$rangefuture" | "$rangepast" | "$nrangefuture" | "$nrangepast" | "rangefuture" | "rangepast" | "nrangefuture" | "nrangepast") | ("$eq" | "$ne" | "$contains" | "$notcontains" | "$startswith" | "$endswith" | "$empty" | "eq" | "ne" | "contains" | "notcontains" | "startswith" | "endswith" | "empty" | "$neq" | "$nne" | "$lt" | "$lte" | "$gt" | "$gte" | "neq" | "nne" | "lt" | "lte" | "gt" | "gte" | "$rangefuture" | "$rangepast" | "$nrangefuture" | "$nrangepast" | "rangefuture" | "rangepast" | "nrangefuture" | "nrangepast"))[];
|
|
20042
19925
|
};
|
|
20043
|
-
export declare type
|
|
20044
|
-
export declare type InternalResponse_Array_SerializedDatagraphSchema = {
|
|
19926
|
+
export declare type InternalResponse_Union_Intersection_PushDatasource_example_Union_undefined_Record_queriableFields_Union_undefined_Array_QueriableField_Intersection_WorkerDatasource_example_Union_undefined_Record_queriableFields_Union_undefined_Array_QueriableField_Intersection_ProxyDatasource_example_Union_undefined_Record_queriableFields_Union_undefined_Array_QueriableField_Intersection_IngesterDatasource_example_Union_undefined_Record_queriableFields_Union_undefined_Array_QueriableField_Intersection_PubsubDatasource_example_Union_undefined_Record_queriableFields_Union_undefined_Array_QueriableField = {
|
|
20045
19927
|
program: string;
|
|
20046
19928
|
version: string;
|
|
20047
19929
|
datetime: string;
|
|
20048
19930
|
status: string;
|
|
20049
19931
|
code?: number;
|
|
20050
19932
|
message: string;
|
|
20051
|
-
data: {
|
|
20052
|
-
|
|
20053
|
-
|
|
20054
|
-
|
|
20055
|
-
|
|
20056
|
-
|
|
20057
|
-
|
|
20058
|
-
|
|
20059
|
-
}
|
|
20060
|
-
|
|
20061
|
-
}
|
|
20062
|
-
|
|
20063
|
-
|
|
20064
|
-
|
|
20065
|
-
|
|
20066
|
-
|
|
20067
|
-
|
|
20068
|
-
|
|
20069
|
-
|
|
20070
|
-
|
|
20071
|
-
|
|
20072
|
-
|
|
20073
|
-
|
|
20074
|
-
|
|
20075
|
-
|
|
20076
|
-
|
|
20077
|
-
}[];
|
|
20078
|
-
virtualColumns?: {
|
|
20079
|
-
name: string;
|
|
20080
|
-
type: FieldMapType;
|
|
20081
|
-
query: string;
|
|
20082
|
-
description?: string;
|
|
20083
|
-
}[];
|
|
20084
|
-
uniqueKeys?: {
|
|
20085
|
-
type: "UniqueKey";
|
|
20086
|
-
columns: string[];
|
|
20087
|
-
description?: string;
|
|
20088
|
-
}[];
|
|
20089
|
-
relations?: {
|
|
20090
|
-
type: "Relation";
|
|
20091
|
-
columns: string[];
|
|
20092
|
-
reference: {
|
|
20093
|
-
table: string;
|
|
20094
|
-
datasourceId: string;
|
|
20095
|
-
columns: string[];
|
|
20096
|
-
};
|
|
20097
|
-
description?: string;
|
|
20098
|
-
}[];
|
|
20099
|
-
}[];
|
|
19933
|
+
data: (PushDatasource & {
|
|
19934
|
+
example?: {
|
|
19935
|
+
[key: string]: AnyValue;
|
|
19936
|
+
};
|
|
19937
|
+
queriableFields?: QueriableField[];
|
|
19938
|
+
}) | (WorkerDatasource & {
|
|
19939
|
+
example?: {
|
|
19940
|
+
[key: string]: AnyValue;
|
|
19941
|
+
};
|
|
19942
|
+
queriableFields?: QueriableField[];
|
|
19943
|
+
}) | (ProxyDatasource & {
|
|
19944
|
+
example?: {
|
|
19945
|
+
[key: string]: AnyValue;
|
|
19946
|
+
};
|
|
19947
|
+
queriableFields?: QueriableField[];
|
|
19948
|
+
}) | (IngesterDatasource & {
|
|
19949
|
+
example?: {
|
|
19950
|
+
[key: string]: AnyValue;
|
|
19951
|
+
};
|
|
19952
|
+
queriableFields?: QueriableField[];
|
|
19953
|
+
}) | (PubsubDatasource & {
|
|
19954
|
+
example?: {
|
|
19955
|
+
[key: string]: AnyValue;
|
|
19956
|
+
};
|
|
19957
|
+
queriableFields?: QueriableField[];
|
|
19958
|
+
});
|
|
20100
19959
|
};
|
|
20101
|
-
export declare type
|
|
19960
|
+
export declare type InternalResponse_example_Record = {
|
|
20102
19961
|
program: string;
|
|
20103
19962
|
version: string;
|
|
20104
19963
|
datetime: string;
|
|
@@ -20106,119 +19965,260 @@ export declare type InternalResponse_entries_Array_distance_Union_undefined_numb
|
|
|
20106
19965
|
code?: number;
|
|
20107
19966
|
message: string;
|
|
20108
19967
|
data: {
|
|
20109
|
-
|
|
20110
|
-
distance?: number;
|
|
20111
|
-
rlvt_lat?: number;
|
|
20112
|
-
rlvt_lng?: number;
|
|
19968
|
+
example: {
|
|
20113
19969
|
[key: string]: AnyValue;
|
|
20114
|
-
}
|
|
20115
|
-
count: number;
|
|
19970
|
+
};
|
|
20116
19971
|
};
|
|
20117
19972
|
};
|
|
20118
|
-
export declare type
|
|
20119
|
-
|
|
20120
|
-
|
|
20121
|
-
|
|
20122
|
-
|
|
20123
|
-
|
|
20124
|
-
|
|
20125
|
-
|
|
20126
|
-
}[];
|
|
20127
|
-
};
|
|
20128
|
-
export declare type EntityParameter = {
|
|
20129
|
-
name: string;
|
|
20130
|
-
shortDescription: string;
|
|
20131
|
-
fullDescription: string | null;
|
|
20132
|
-
primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
|
|
20133
|
-
index: number;
|
|
20134
|
-
optional?: boolean;
|
|
20135
|
-
};
|
|
20136
|
-
export declare type DatagraphEntityDefinitionBody = {
|
|
20137
|
-
name: string;
|
|
20138
|
-
description?: string | null;
|
|
20139
|
-
sql: string | null;
|
|
20140
|
-
options: EntityParameter[];
|
|
20141
|
-
};
|
|
20142
|
-
export declare type QueryEntityBody = {
|
|
20143
|
-
options?: {
|
|
20144
|
-
[key: string]: string | number | (false) | (true);
|
|
20145
|
-
} | {
|
|
20146
|
-
$or: ({
|
|
20147
|
-
[key: string]: string | number | (false) | (true);
|
|
20148
|
-
} | EntityParameterAndGroup)[];
|
|
20149
|
-
} | {
|
|
20150
|
-
$and: ({
|
|
20151
|
-
[key: string]: string | number | (false) | (true);
|
|
20152
|
-
} | EntityParameterOrGroup)[];
|
|
20153
|
-
};
|
|
20154
|
-
userIds?: string[];
|
|
20155
|
-
entity?: DatagraphEntityDefinitionBody;
|
|
19973
|
+
export declare type InternalResponse_Union_PushDatasource_WorkerDatasource_ProxyDatasource_IngesterDatasource_PubsubDatasource = {
|
|
19974
|
+
program: string;
|
|
19975
|
+
version: string;
|
|
19976
|
+
datetime: string;
|
|
19977
|
+
status: string;
|
|
19978
|
+
code?: number;
|
|
19979
|
+
message: string;
|
|
19980
|
+
data: PushDatasource | WorkerDatasource | ProxyDatasource | IngesterDatasource | PubsubDatasource;
|
|
20156
19981
|
};
|
|
20157
|
-
export declare
|
|
20158
|
-
|
|
20159
|
-
|
|
20160
|
-
LIVE = "live"
|
|
20161
|
-
}
|
|
20162
|
-
export declare type EntityAnswer = {
|
|
20163
|
-
name: string;
|
|
20164
|
-
type: "string" | "number" | "boolean" | "name" | "url" | "datetime" | "datetime_iso" | "description" | "locale" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "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";
|
|
19982
|
+
export declare type DatasourcePush = {
|
|
19983
|
+
name: "push";
|
|
19984
|
+
subtype: "email";
|
|
20165
19985
|
};
|
|
20166
|
-
export declare type
|
|
20167
|
-
name:
|
|
20168
|
-
|
|
20169
|
-
sql: string | null;
|
|
20170
|
-
options: EntityParameter[];
|
|
20171
|
-
readonly answers: (EntityAnswer[]) & readonlyP;
|
|
19986
|
+
export declare type DatasourceGeneric = {
|
|
19987
|
+
name: "generic";
|
|
19988
|
+
subtype: DatasourceGenericSubType;
|
|
20172
19989
|
};
|
|
20173
|
-
export declare type
|
|
20174
|
-
|
|
20175
|
-
|
|
20176
|
-
readonly definition: (Entity) & readonlyP;
|
|
20177
|
-
readonly lastSavedBy?: (ObjectId) & readonlyP;
|
|
20178
|
-
changeDescription?: string;
|
|
19990
|
+
export declare type DatasourceCRM = {
|
|
19991
|
+
name: "crm";
|
|
19992
|
+
subtype: DatasourceCRMSubType;
|
|
20179
19993
|
};
|
|
20180
|
-
export declare type
|
|
20181
|
-
|
|
20182
|
-
|
|
20183
|
-
readonly archivedAt: (string | null) & readonlyP;
|
|
20184
|
-
readonly versions: ((ObjectId | (Document & DatagraphEntityVersion & {
|
|
20185
|
-
_id: ObjectId;
|
|
20186
|
-
} & {
|
|
20187
|
-
__v: number;
|
|
20188
|
-
} & IObjectWithTypegooseFunction))[]) & readonlyP;
|
|
19994
|
+
export declare type DatasourceProduct = {
|
|
19995
|
+
name: "product";
|
|
19996
|
+
subtype: DatasourceProductSubType;
|
|
20189
19997
|
};
|
|
20190
|
-
export declare type
|
|
20191
|
-
|
|
20192
|
-
|
|
20193
|
-
readonly createdAt: (string) & readonlyP;
|
|
20194
|
-
readonly updatedAt: (string) & readonlyP;
|
|
19998
|
+
export declare type DatasourceLocation = {
|
|
19999
|
+
name: "location";
|
|
20000
|
+
subtype: DatasourceLocationSubType;
|
|
20195
20001
|
};
|
|
20196
|
-
export declare type
|
|
20002
|
+
export declare type DatasourceLoop = {
|
|
20003
|
+
name: "loop";
|
|
20004
|
+
subtype: DatasourceLoopSubType;
|
|
20005
|
+
};
|
|
20006
|
+
export declare type InternalResponse_anonymized_number = {
|
|
20197
20007
|
program: string;
|
|
20198
20008
|
version: string;
|
|
20199
20009
|
datetime: string;
|
|
20200
20010
|
status: string;
|
|
20201
20011
|
code?: number;
|
|
20202
20012
|
message: string;
|
|
20203
|
-
data:
|
|
20204
|
-
|
|
20205
|
-
|
|
20206
|
-
entity: DatagraphEntityDefinitionBody;
|
|
20013
|
+
data: {
|
|
20014
|
+
anonymized: number;
|
|
20015
|
+
};
|
|
20207
20016
|
};
|
|
20208
|
-
export declare type
|
|
20017
|
+
export declare type InternalResponse_Intersection_bucket_string_path_string_format_Union_type_csv_options_csvDelimiter_Union_undefined_string_csvColumns_Union_undefined_Array_string_type_ndjson_options__type_json_options_rootPath_string_type_xml_options_rootPath_string_type_xlsx_options__type_parquet_options_columnsList_Union_undefined_Array_string_version_Union_undefined_string_type_avro_options__textEncoding_string_PgpDecryptionOptions = {
|
|
20209
20018
|
program: string;
|
|
20210
20019
|
version: string;
|
|
20211
20020
|
datetime: string;
|
|
20212
20021
|
status: string;
|
|
20213
20022
|
code?: number;
|
|
20214
20023
|
message: string;
|
|
20215
|
-
data:
|
|
20024
|
+
data: {
|
|
20025
|
+
bucket: string;
|
|
20026
|
+
path: string;
|
|
20027
|
+
format: {
|
|
20028
|
+
type: "csv";
|
|
20029
|
+
options: {
|
|
20030
|
+
csvDelimiter?: string;
|
|
20031
|
+
csvColumns?: string[];
|
|
20032
|
+
};
|
|
20033
|
+
} | {
|
|
20034
|
+
type: "ndjson";
|
|
20035
|
+
options: {};
|
|
20036
|
+
} | {
|
|
20037
|
+
type: "json";
|
|
20038
|
+
options: {
|
|
20039
|
+
rootPath: string;
|
|
20040
|
+
};
|
|
20041
|
+
} | {
|
|
20042
|
+
type: "xml";
|
|
20043
|
+
options: {
|
|
20044
|
+
rootPath: string;
|
|
20045
|
+
};
|
|
20046
|
+
} | {
|
|
20047
|
+
type: "xlsx";
|
|
20048
|
+
options: {};
|
|
20049
|
+
} | {
|
|
20050
|
+
type: "parquet";
|
|
20051
|
+
options: {
|
|
20052
|
+
columnsList?: string[];
|
|
20053
|
+
version?: string;
|
|
20054
|
+
};
|
|
20055
|
+
} | {
|
|
20056
|
+
type: "avro";
|
|
20057
|
+
options: {};
|
|
20058
|
+
};
|
|
20059
|
+
textEncoding: string;
|
|
20060
|
+
} & PgpDecryptionOptions;
|
|
20216
20061
|
};
|
|
20217
|
-
export declare type
|
|
20218
|
-
|
|
20062
|
+
export declare type InternalResponse_password_string = {
|
|
20063
|
+
program: string;
|
|
20064
|
+
version: string;
|
|
20065
|
+
datetime: string;
|
|
20066
|
+
status: string;
|
|
20067
|
+
code?: number;
|
|
20068
|
+
message: string;
|
|
20069
|
+
data: {
|
|
20070
|
+
password: string;
|
|
20071
|
+
};
|
|
20219
20072
|
};
|
|
20220
|
-
export declare type
|
|
20221
|
-
|
|
20073
|
+
export declare type InternalResponse_fields_Array_Intersection_FieldMapPlain_rulesPerSources_Record = {
|
|
20074
|
+
program: string;
|
|
20075
|
+
version: string;
|
|
20076
|
+
datetime: string;
|
|
20077
|
+
status: string;
|
|
20078
|
+
code?: number;
|
|
20079
|
+
message: string;
|
|
20080
|
+
data: {
|
|
20081
|
+
fields: ({
|
|
20082
|
+
name: string;
|
|
20083
|
+
type: FieldMapType;
|
|
20084
|
+
source?: FieldSource;
|
|
20085
|
+
selected: boolean;
|
|
20086
|
+
ignoreIfMissing?: boolean;
|
|
20087
|
+
metadata?: {
|
|
20088
|
+
locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en";
|
|
20089
|
+
};
|
|
20090
|
+
readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
|
|
20091
|
+
} & {
|
|
20092
|
+
rulesPerSources: {
|
|
20093
|
+
[key: string]: (({
|
|
20094
|
+
name: "static";
|
|
20095
|
+
params: {
|
|
20096
|
+
value: string | number;
|
|
20097
|
+
};
|
|
20098
|
+
} | {
|
|
20099
|
+
name: "path";
|
|
20100
|
+
params: {
|
|
20101
|
+
value: string;
|
|
20102
|
+
};
|
|
20103
|
+
} | {
|
|
20104
|
+
name: "path";
|
|
20105
|
+
params: {
|
|
20106
|
+
fromRoot: true;
|
|
20107
|
+
value: string;
|
|
20108
|
+
};
|
|
20109
|
+
}) | ({
|
|
20110
|
+
name: "static";
|
|
20111
|
+
params: {
|
|
20112
|
+
value: string | number;
|
|
20113
|
+
};
|
|
20114
|
+
} | {
|
|
20115
|
+
name: "path";
|
|
20116
|
+
params: {
|
|
20117
|
+
value: string;
|
|
20118
|
+
};
|
|
20119
|
+
} | {
|
|
20120
|
+
name: "path";
|
|
20121
|
+
params: {
|
|
20122
|
+
fromRoot: true;
|
|
20123
|
+
value: string;
|
|
20124
|
+
};
|
|
20125
|
+
} | {
|
|
20126
|
+
name: "array_find";
|
|
20127
|
+
params: {
|
|
20128
|
+
key: string;
|
|
20129
|
+
operator: "=" | "!=";
|
|
20130
|
+
value: string | number;
|
|
20131
|
+
};
|
|
20132
|
+
} | {
|
|
20133
|
+
name: "array_find";
|
|
20134
|
+
params: {
|
|
20135
|
+
conditions: Condition[];
|
|
20136
|
+
};
|
|
20137
|
+
} | {
|
|
20138
|
+
name: "array_find";
|
|
20139
|
+
params: {
|
|
20140
|
+
key: string;
|
|
20141
|
+
operator: "=" | "!=";
|
|
20142
|
+
valuePath: string;
|
|
20143
|
+
fromFormatted?: boolean;
|
|
20144
|
+
};
|
|
20145
|
+
} | {
|
|
20146
|
+
name: "array_find";
|
|
20147
|
+
params: {
|
|
20148
|
+
conditions: (Condition_Without_Value & {
|
|
20149
|
+
evaluateValue: string;
|
|
20150
|
+
})[];
|
|
20151
|
+
};
|
|
20152
|
+
} | {
|
|
20153
|
+
name: "fallback";
|
|
20154
|
+
params: FieldMapFallbackRulePayload;
|
|
20155
|
+
} | {
|
|
20156
|
+
name: "fallback";
|
|
20157
|
+
params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & {
|
|
20158
|
+
staticValue: string | number | string[] | number[] | {
|
|
20159
|
+
[key: string]: string;
|
|
20160
|
+
} | {
|
|
20161
|
+
[key: string]: number;
|
|
20162
|
+
};
|
|
20163
|
+
};
|
|
20164
|
+
} | {
|
|
20165
|
+
name: "fallback_if";
|
|
20166
|
+
params: FieldMapFallbackRulePayload & {
|
|
20167
|
+
conditions: (Condition | (Condition_Without_Value & {
|
|
20168
|
+
evaluateValue: string;
|
|
20169
|
+
}))[];
|
|
20170
|
+
};
|
|
20171
|
+
} | {
|
|
20172
|
+
name: "exclude_from_record";
|
|
20173
|
+
params: {
|
|
20174
|
+
keys: string[];
|
|
20175
|
+
};
|
|
20176
|
+
} | {
|
|
20177
|
+
name: "decrypt";
|
|
20178
|
+
params: {
|
|
20179
|
+
passwordPrefixPath?: string;
|
|
20180
|
+
};
|
|
20181
|
+
} | {
|
|
20182
|
+
name: "interpolate";
|
|
20183
|
+
params: {
|
|
20184
|
+
value: string;
|
|
20185
|
+
};
|
|
20186
|
+
} | {
|
|
20187
|
+
name: "custom";
|
|
20188
|
+
params: {
|
|
20189
|
+
value: string;
|
|
20190
|
+
};
|
|
20191
|
+
} | {
|
|
20192
|
+
name: "split";
|
|
20193
|
+
params: {
|
|
20194
|
+
separator: string;
|
|
20195
|
+
};
|
|
20196
|
+
} | {
|
|
20197
|
+
name: "case";
|
|
20198
|
+
params: {
|
|
20199
|
+
cases: {
|
|
20200
|
+
conditions: Condition_Without_Path[];
|
|
20201
|
+
value: string;
|
|
20202
|
+
}[];
|
|
20203
|
+
};
|
|
20204
|
+
} | {
|
|
20205
|
+
name: "hash";
|
|
20206
|
+
params: {
|
|
20207
|
+
algorithm: string;
|
|
20208
|
+
salt?: string;
|
|
20209
|
+
};
|
|
20210
|
+
} | {
|
|
20211
|
+
name: "decipher";
|
|
20212
|
+
params: {
|
|
20213
|
+
algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
|
|
20214
|
+
key: string;
|
|
20215
|
+
iv?: string;
|
|
20216
|
+
inputEncoding?: "hex" | "base64";
|
|
20217
|
+
};
|
|
20218
|
+
}))[];
|
|
20219
|
+
};
|
|
20220
|
+
})[];
|
|
20221
|
+
};
|
|
20222
20222
|
};
|
|
20223
20223
|
export declare enum FieldMapRuleName {
|
|
20224
20224
|
STATIC = "static",
|