@owox/connectors 0.35.0-next-20260917211534 → 0.35.0
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/dist/index.cjs +43 -58
- package/dist/index.js +43 -58
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -97,6 +97,7 @@ var RUN_CONFIG_TYPE = {
|
|
|
97
97
|
INCREMENTAL: "INCREMENTAL",
|
|
98
98
|
MANUAL_BACKFILL: "MANUAL_BACKFILL"
|
|
99
99
|
};
|
|
100
|
+
var MAX_MANUAL_BACKFILL_DAYS = 31;
|
|
100
101
|
var CONFIG_ATTRIBUTES = {
|
|
101
102
|
MANUAL_BACKFILL: "MANUAL_BACKFILL",
|
|
102
103
|
HIDE_IN_CONFIG_FORM: "HIDE_IN_CONFIG_FORM",
|
|
@@ -793,6 +794,9 @@ var AbstractConnector = class AbstractConnector2 {
|
|
|
793
794
|
0,
|
|
794
795
|
Math.floor((endDate.getTime() - startDate.getTime()) / (1e3 * 60 * 60 * 24)) + 1
|
|
795
796
|
);
|
|
797
|
+
if (daysToFetch > MAX_MANUAL_BACKFILL_DAYS) {
|
|
798
|
+
throw new Error(`Manual backfill is limited to ${MAX_MANUAL_BACKFILL_DAYS} days per run (requested ${daysToFetch} days)`);
|
|
799
|
+
}
|
|
796
800
|
return [startDate, daysToFetch];
|
|
797
801
|
}
|
|
798
802
|
//----------------------------------------------------------------
|
|
@@ -2244,12 +2248,13 @@ const Core = {
|
|
|
2244
2248
|
GENERATED_REFRESH_TOKEN_CONFIG_FIELD,
|
|
2245
2249
|
EXECUTION_STATUS,
|
|
2246
2250
|
RUN_CONFIG_TYPE,
|
|
2251
|
+
MAX_MANUAL_BACKFILL_DAYS,
|
|
2247
2252
|
CONFIG_ATTRIBUTES,
|
|
2248
2253
|
OAUTH_CONSTANTS,
|
|
2249
2254
|
OAUTH_SOURCE_CREDENTIALS_KEY
|
|
2250
2255
|
};
|
|
2251
2256
|
const Snowflake = (function() {
|
|
2252
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
2257
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
2253
2258
|
function stripQuotes(value) {
|
|
2254
2259
|
return value ? value.replace(/^"|"$/g, "") : value;
|
|
2255
2260
|
}
|
|
@@ -2898,7 +2903,7 @@ ${columnDef}`);
|
|
|
2898
2903
|
};
|
|
2899
2904
|
})();
|
|
2900
2905
|
const GoogleBigQuery = (function() {
|
|
2901
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
2906
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
2902
2907
|
function quoteBigQueryIdentifier(identifier) {
|
|
2903
2908
|
return `\`${String(identifier).replace(/`/g, "``")}\``;
|
|
2904
2909
|
}
|
|
@@ -3804,7 +3809,7 @@ COMMIT TRANSACTION;`;
|
|
|
3804
3809
|
};
|
|
3805
3810
|
})();
|
|
3806
3811
|
const Databricks = (function() {
|
|
3807
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
3812
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
3808
3813
|
function quoteIdentifier(identifier) {
|
|
3809
3814
|
if (!identifier) return identifier;
|
|
3810
3815
|
if (identifier.startsWith("`") && identifier.endsWith("`")) {
|
|
@@ -4466,7 +4471,7 @@ Query: ${query}`);
|
|
|
4466
4471
|
};
|
|
4467
4472
|
})();
|
|
4468
4473
|
const AwsRedshift = (function() {
|
|
4469
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
4474
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
4470
4475
|
function stripQuotes(value) {
|
|
4471
4476
|
return value ? value.replace(/^"|"$/g, "") : value;
|
|
4472
4477
|
}
|
|
@@ -5304,7 +5309,7 @@ const AwsRedshift = (function() {
|
|
|
5304
5309
|
};
|
|
5305
5310
|
})();
|
|
5306
5311
|
const AwsAthena = (function() {
|
|
5307
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
5312
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
5308
5313
|
function quoteAthenaDdlIdentifier(identifier) {
|
|
5309
5314
|
return `\`${String(identifier).replace(/`/g, "``")}\``;
|
|
5310
5315
|
}
|
|
@@ -6272,7 +6277,7 @@ const Storages = {
|
|
|
6272
6277
|
AwsAthena
|
|
6273
6278
|
};
|
|
6274
6279
|
const XAds = (function() {
|
|
6275
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
6280
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
6276
6281
|
const DAYS_PER_CHUNK = 15;
|
|
6277
6282
|
const XAdsHelper = {
|
|
6278
6283
|
/**
|
|
@@ -7861,12 +7866,12 @@ const XAds = (function() {
|
|
|
7861
7866
|
/**
|
|
7862
7867
|
* Imports every time series node for every account, one date at a time.
|
|
7863
7868
|
*
|
|
7864
|
-
* The loop is date-outer on purpose: the
|
|
7869
|
+
* The loop is date-outer on purpose: the checkpoint may only move once a
|
|
7865
7870
|
* date is complete for *all* accounts and nodes, so a run interrupted midway
|
|
7866
7871
|
* resumes from the last fully imported date instead of restarting the range.
|
|
7867
7872
|
*
|
|
7868
7873
|
* Async nodes submit one job per chunk of dates, so when any of them is selected
|
|
7869
|
-
* the
|
|
7874
|
+
* the checkpoint advances a whole chunk at a time. Otherwise every chunk is one day.
|
|
7870
7875
|
*
|
|
7871
7876
|
* @param {Object} options - Processing options
|
|
7872
7877
|
* @param {Array<string>} options.accountIds - Account IDs to import
|
|
@@ -7895,9 +7900,7 @@ const XAds = (function() {
|
|
|
7895
7900
|
for (const dateChunk of chunks) {
|
|
7896
7901
|
await this.importAsyncNodesForChunk({ dateChunk, asyncNodes, accountIds, fields });
|
|
7897
7902
|
await this.importSyncNodesForChunk({ dateChunk, syncNodes, accountIds, fields, dayLookup });
|
|
7898
|
-
|
|
7899
|
-
this.config.updateLastRequstedDate(dayLookup.get(dateChunk[dateChunk.length - 1]));
|
|
7900
|
-
}
|
|
7903
|
+
this.config.updateLastRequstedDate(dayLookup.get(dateChunk[dateChunk.length - 1]));
|
|
7901
7904
|
}
|
|
7902
7905
|
}
|
|
7903
7906
|
/**
|
|
@@ -8063,7 +8066,7 @@ const XAds = (function() {
|
|
|
8063
8066
|
};
|
|
8064
8067
|
})();
|
|
8065
8068
|
const TikTokAds = (function() {
|
|
8066
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
8069
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
8067
8070
|
class TiktokMarketingApiProvider {
|
|
8068
8071
|
constructor(appId, accessToken, appSecret, isSandbox = false) {
|
|
8069
8072
|
this.BASE_URL = "https://business-api.tiktok.com/open_api/";
|
|
@@ -10196,7 +10199,7 @@ ${error.stack ?? ""}`.trim());
|
|
|
10196
10199
|
};
|
|
10197
10200
|
})();
|
|
10198
10201
|
const Shopify = (function() {
|
|
10199
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
10202
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
10200
10203
|
var tenderTransactionsFields = {
|
|
10201
10204
|
"id": {
|
|
10202
10205
|
"description": "A globally-unique ID.",
|
|
@@ -12271,7 +12274,7 @@ const Shopify = (function() {
|
|
|
12271
12274
|
};
|
|
12272
12275
|
})();
|
|
12273
12276
|
const RedditAds = (function() {
|
|
12274
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
12277
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
12275
12278
|
const RedditAdsHelper = {
|
|
12276
12279
|
/**
|
|
12277
12280
|
* Parse fields string into a structured object
|
|
@@ -15826,7 +15829,7 @@ const RedditAds = (function() {
|
|
|
15826
15829
|
/**
|
|
15827
15830
|
* Imports every time series node for every account, one date at a time.
|
|
15828
15831
|
*
|
|
15829
|
-
* The loop is date-outer on purpose: the
|
|
15832
|
+
* The loop is date-outer on purpose: the checkpoint may only move once a
|
|
15830
15833
|
* date is complete for *all* accounts and nodes, so a run interrupted midway
|
|
15831
15834
|
* resumes from the last fully imported date instead of restarting the range.
|
|
15832
15835
|
*
|
|
@@ -15857,9 +15860,7 @@ const RedditAds = (function() {
|
|
|
15857
15860
|
});
|
|
15858
15861
|
}
|
|
15859
15862
|
}
|
|
15860
|
-
|
|
15861
|
-
this.config.updateLastRequstedDate(currentDate);
|
|
15862
|
-
}
|
|
15863
|
+
this.config.updateLastRequstedDate(currentDate);
|
|
15863
15864
|
}
|
|
15864
15865
|
}
|
|
15865
15866
|
/**
|
|
@@ -15940,7 +15941,7 @@ const RedditAds = (function() {
|
|
|
15940
15941
|
};
|
|
15941
15942
|
})();
|
|
15942
15943
|
const OpenHolidays = (function() {
|
|
15943
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
15944
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
15944
15945
|
var publicHolidaysFields = {
|
|
15945
15946
|
id: {
|
|
15946
15947
|
"type": DATA_TYPES2.STRING,
|
|
@@ -16186,9 +16187,7 @@ const OpenHolidays = (function() {
|
|
|
16186
16187
|
const preparedData = data.length ? this.addMissingFieldsToData(data, fields) : data;
|
|
16187
16188
|
await storage.saveData(preparedData);
|
|
16188
16189
|
}
|
|
16189
|
-
|
|
16190
|
-
this.config.updateLastRequstedDate(new Date(dateRange.endDate));
|
|
16191
|
-
}
|
|
16190
|
+
this.config.updateLastRequstedDate(new Date(dateRange.endDate));
|
|
16192
16191
|
}
|
|
16193
16192
|
/**
|
|
16194
16193
|
* Process a catalog node (placeholder for future use)
|
|
@@ -16256,7 +16255,7 @@ const OpenHolidays = (function() {
|
|
|
16256
16255
|
};
|
|
16257
16256
|
})();
|
|
16258
16257
|
const OpenExchangeRates = (function() {
|
|
16259
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
16258
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
16260
16259
|
var historicalFields = {
|
|
16261
16260
|
"date": {
|
|
16262
16261
|
"type": DATA_TYPES2.DATE,
|
|
@@ -16436,9 +16435,7 @@ const OpenExchangeRates = (function() {
|
|
|
16436
16435
|
const storage = await this.getStorageByNode(nodeName);
|
|
16437
16436
|
await storage.saveData(preparedData);
|
|
16438
16437
|
}
|
|
16439
|
-
|
|
16440
|
-
this.config.updateLastRequstedDate(currentDate);
|
|
16441
|
-
}
|
|
16438
|
+
this.config.updateLastRequstedDate(currentDate);
|
|
16442
16439
|
}
|
|
16443
16440
|
}
|
|
16444
16441
|
/**
|
|
@@ -16494,7 +16491,7 @@ const OpenExchangeRates = (function() {
|
|
|
16494
16491
|
};
|
|
16495
16492
|
})();
|
|
16496
16493
|
const MicrosoftAds = (function() {
|
|
16497
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
16494
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
16498
16495
|
const MicrosoftAdsHelper = {
|
|
16499
16496
|
/**
|
|
16500
16497
|
* Parse fields string into a structured object
|
|
@@ -18403,7 +18400,7 @@ API Response: ${JSON.stringify(statusResult, null, 2)}`);
|
|
|
18403
18400
|
/**
|
|
18404
18401
|
* Imports every time series node for every account, one date at a time.
|
|
18405
18402
|
*
|
|
18406
|
-
* The loop is date-outer on purpose: the
|
|
18403
|
+
* The loop is date-outer on purpose: the checkpoint may only move once a
|
|
18407
18404
|
* date is complete for *all* accounts and nodes, so a run interrupted midway
|
|
18408
18405
|
* resumes from the last fully imported date instead of restarting the range.
|
|
18409
18406
|
*
|
|
@@ -18434,9 +18431,7 @@ API Response: ${JSON.stringify(statusResult, null, 2)}`);
|
|
|
18434
18431
|
});
|
|
18435
18432
|
}
|
|
18436
18433
|
}
|
|
18437
|
-
|
|
18438
|
-
this.config.updateLastRequstedDate(currentDate);
|
|
18439
|
-
}
|
|
18434
|
+
this.config.updateLastRequstedDate(currentDate);
|
|
18440
18435
|
}
|
|
18441
18436
|
}
|
|
18442
18437
|
/**
|
|
@@ -18532,7 +18527,7 @@ API Response: ${JSON.stringify(statusResult, null, 2)}`);
|
|
|
18532
18527
|
};
|
|
18533
18528
|
})();
|
|
18534
18529
|
const LinkedInPages = (function() {
|
|
18535
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
18530
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
18536
18531
|
var followerStatisticsTimeBoundFields = {
|
|
18537
18532
|
"organization_urn": {
|
|
18538
18533
|
"description": "Organization URN",
|
|
@@ -19106,7 +19101,7 @@ const LinkedInPages = (function() {
|
|
|
19106
19101
|
isTimeSeriesNode,
|
|
19107
19102
|
...dateInfo
|
|
19108
19103
|
});
|
|
19109
|
-
if (isTimeSeriesNode
|
|
19104
|
+
if (isTimeSeriesNode) {
|
|
19110
19105
|
this.config.updateLastRequstedDate(dateInfo.actualEndDate);
|
|
19111
19106
|
}
|
|
19112
19107
|
}
|
|
@@ -19198,7 +19193,7 @@ const LinkedInPages = (function() {
|
|
|
19198
19193
|
};
|
|
19199
19194
|
})();
|
|
19200
19195
|
const LinkedInAds = (function() {
|
|
19201
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
19196
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
19202
19197
|
var creativesFields = {
|
|
19203
19198
|
"account": {
|
|
19204
19199
|
"description": "URN identifying the advertising account associated with the creative. This field is read-only.",
|
|
@@ -20533,7 +20528,7 @@ const LinkedInAds = (function() {
|
|
|
20533
20528
|
/**
|
|
20534
20529
|
* Imports every time series node for every account, one date at a time.
|
|
20535
20530
|
*
|
|
20536
|
-
* The loop is date-outer on purpose: the
|
|
20531
|
+
* The loop is date-outer on purpose: the checkpoint may only move once a
|
|
20537
20532
|
* date is complete for *all* accounts and nodes, so a run interrupted midway
|
|
20538
20533
|
* resumes from the last fully imported date instead of restarting the range.
|
|
20539
20534
|
* It also keeps memory bounded to one day of analytics instead of the whole range.
|
|
@@ -20565,9 +20560,7 @@ const LinkedInAds = (function() {
|
|
|
20565
20560
|
});
|
|
20566
20561
|
}
|
|
20567
20562
|
}
|
|
20568
|
-
|
|
20569
|
-
this.config.updateLastRequstedDate(date);
|
|
20570
|
-
}
|
|
20563
|
+
this.config.updateLastRequstedDate(date);
|
|
20571
20564
|
}
|
|
20572
20565
|
this.reportTruncatedAnalytics();
|
|
20573
20566
|
}
|
|
@@ -20664,7 +20657,7 @@ const LinkedInAds = (function() {
|
|
|
20664
20657
|
};
|
|
20665
20658
|
})();
|
|
20666
20659
|
const GoogleSheets = (function() {
|
|
20667
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
20660
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
20668
20661
|
var GOOGLE_SHEETS_MAX_IDENTIFIER_BYTES = 127;
|
|
20669
20662
|
var GOOGLE_SHEETS_PREVIEW_SAMPLE_ROWS = 100;
|
|
20670
20663
|
var GOOGLE_SHEETS_MAX_IMPORT_ROWS = 1e5;
|
|
@@ -21709,7 +21702,7 @@ const GoogleSheets = (function() {
|
|
|
21709
21702
|
};
|
|
21710
21703
|
})();
|
|
21711
21704
|
const GoogleAds = (function() {
|
|
21712
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
21705
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
21713
21706
|
var keywordStatsFields = {
|
|
21714
21707
|
"keyword_id": {
|
|
21715
21708
|
"description": "Keyword Criterion ID",
|
|
@@ -23191,7 +23184,7 @@ const GoogleAds = (function() {
|
|
|
23191
23184
|
/**
|
|
23192
23185
|
* Imports every time series node for every customer, one date at a time.
|
|
23193
23186
|
*
|
|
23194
|
-
* The loop is date-outer on purpose: the
|
|
23187
|
+
* The loop is date-outer on purpose: the checkpoint may only move once a
|
|
23195
23188
|
* date is complete for *all* customers and nodes, so a run interrupted midway
|
|
23196
23189
|
* resumes from the last fully imported date instead of restarting the range.
|
|
23197
23190
|
*
|
|
@@ -23222,9 +23215,7 @@ const GoogleAds = (function() {
|
|
|
23222
23215
|
});
|
|
23223
23216
|
}
|
|
23224
23217
|
}
|
|
23225
|
-
|
|
23226
|
-
this.config.updateLastRequstedDate(currentDate);
|
|
23227
|
-
}
|
|
23218
|
+
this.config.updateLastRequstedDate(currentDate);
|
|
23228
23219
|
}
|
|
23229
23220
|
}
|
|
23230
23221
|
/**
|
|
@@ -23303,7 +23294,7 @@ const GoogleAds = (function() {
|
|
|
23303
23294
|
};
|
|
23304
23295
|
})();
|
|
23305
23296
|
const GitHub = (function() {
|
|
23306
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
23297
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
23307
23298
|
var repositoryStatsFields = {
|
|
23308
23299
|
date: {
|
|
23309
23300
|
type: DATA_TYPES2.DATE,
|
|
@@ -23809,7 +23800,7 @@ const GitHub = (function() {
|
|
|
23809
23800
|
};
|
|
23810
23801
|
})();
|
|
23811
23802
|
const FacebookMarketing = (function() {
|
|
23812
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
23803
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
23813
23804
|
({
|
|
23814
23805
|
"account_currency": {
|
|
23815
23806
|
"type": DATA_TYPES2.STRING
|
|
@@ -31274,9 +31265,7 @@ const FacebookMarketing = (function() {
|
|
|
31274
31265
|
}
|
|
31275
31266
|
}
|
|
31276
31267
|
this._throwIfAllAccountsSkipped(accountsIds, skipped, `for ${DateUtils3.formatDate(startDate)}`);
|
|
31277
|
-
|
|
31278
|
-
this.config.updateLastRequstedDate(startDate);
|
|
31279
|
-
}
|
|
31268
|
+
this.config.updateLastRequstedDate(startDate);
|
|
31280
31269
|
startDate.setDate(startDate.getDate() + 1);
|
|
31281
31270
|
}
|
|
31282
31271
|
}
|
|
@@ -31324,7 +31313,7 @@ const FacebookMarketing = (function() {
|
|
|
31324
31313
|
};
|
|
31325
31314
|
})();
|
|
31326
31315
|
const CriteoAds = (function() {
|
|
31327
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
31316
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
31328
31317
|
var CriteoAdsHelper = {
|
|
31329
31318
|
/**
|
|
31330
31319
|
* Parse fields string into a structured object
|
|
@@ -33145,7 +33134,7 @@ const CriteoAds = (function() {
|
|
|
33145
33134
|
/**
|
|
33146
33135
|
* Imports every node for every advertiser, one date at a time.
|
|
33147
33136
|
*
|
|
33148
|
-
* The loop is date-outer on purpose: the
|
|
33137
|
+
* The loop is date-outer on purpose: the checkpoint may only move once a
|
|
33149
33138
|
* date is complete for *all* advertisers and nodes, so a run interrupted midway
|
|
33150
33139
|
* resumes from the last fully imported date instead of restarting the range.
|
|
33151
33140
|
*
|
|
@@ -33176,9 +33165,7 @@ const CriteoAds = (function() {
|
|
|
33176
33165
|
});
|
|
33177
33166
|
}
|
|
33178
33167
|
}
|
|
33179
|
-
|
|
33180
|
-
this.config.updateLastRequstedDate(currentDate);
|
|
33181
|
-
}
|
|
33168
|
+
this.config.updateLastRequstedDate(currentDate);
|
|
33182
33169
|
}
|
|
33183
33170
|
}
|
|
33184
33171
|
/**
|
|
@@ -33271,7 +33258,7 @@ const CriteoAds = (function() {
|
|
|
33271
33258
|
};
|
|
33272
33259
|
})();
|
|
33273
33260
|
const BankOfCanada = (function() {
|
|
33274
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
33261
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
33275
33262
|
var observationsFields = {
|
|
33276
33263
|
"date": {
|
|
33277
33264
|
"description": "The date for which the exchange rate was recorded.",
|
|
@@ -33477,9 +33464,7 @@ const BankOfCanada = (function() {
|
|
|
33477
33464
|
const storage = await this.getStorageByNode(nodeName);
|
|
33478
33465
|
await storage.saveData(preparedData);
|
|
33479
33466
|
}
|
|
33480
|
-
|
|
33481
|
-
this.config.updateLastRequstedDate(new Date(dateRange.endDate));
|
|
33482
|
-
}
|
|
33467
|
+
this.config.updateLastRequstedDate(new Date(dateRange.endDate));
|
|
33483
33468
|
}
|
|
33484
33469
|
/**
|
|
33485
33470
|
* Process a catalog node (placeholder for future use)
|
package/dist/index.js
CHANGED
|
@@ -95,6 +95,7 @@ var RUN_CONFIG_TYPE = {
|
|
|
95
95
|
INCREMENTAL: "INCREMENTAL",
|
|
96
96
|
MANUAL_BACKFILL: "MANUAL_BACKFILL"
|
|
97
97
|
};
|
|
98
|
+
var MAX_MANUAL_BACKFILL_DAYS = 31;
|
|
98
99
|
var CONFIG_ATTRIBUTES = {
|
|
99
100
|
MANUAL_BACKFILL: "MANUAL_BACKFILL",
|
|
100
101
|
HIDE_IN_CONFIG_FORM: "HIDE_IN_CONFIG_FORM",
|
|
@@ -791,6 +792,9 @@ var AbstractConnector = class AbstractConnector2 {
|
|
|
791
792
|
0,
|
|
792
793
|
Math.floor((endDate.getTime() - startDate.getTime()) / (1e3 * 60 * 60 * 24)) + 1
|
|
793
794
|
);
|
|
795
|
+
if (daysToFetch > MAX_MANUAL_BACKFILL_DAYS) {
|
|
796
|
+
throw new Error(`Manual backfill is limited to ${MAX_MANUAL_BACKFILL_DAYS} days per run (requested ${daysToFetch} days)`);
|
|
797
|
+
}
|
|
794
798
|
return [startDate, daysToFetch];
|
|
795
799
|
}
|
|
796
800
|
//----------------------------------------------------------------
|
|
@@ -2242,12 +2246,13 @@ const Core = {
|
|
|
2242
2246
|
GENERATED_REFRESH_TOKEN_CONFIG_FIELD,
|
|
2243
2247
|
EXECUTION_STATUS,
|
|
2244
2248
|
RUN_CONFIG_TYPE,
|
|
2249
|
+
MAX_MANUAL_BACKFILL_DAYS,
|
|
2245
2250
|
CONFIG_ATTRIBUTES,
|
|
2246
2251
|
OAUTH_CONSTANTS,
|
|
2247
2252
|
OAUTH_SOURCE_CREDENTIALS_KEY
|
|
2248
2253
|
};
|
|
2249
2254
|
const Snowflake = (function() {
|
|
2250
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
2255
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
2251
2256
|
function stripQuotes(value) {
|
|
2252
2257
|
return value ? value.replace(/^"|"$/g, "") : value;
|
|
2253
2258
|
}
|
|
@@ -2896,7 +2901,7 @@ ${columnDef}`);
|
|
|
2896
2901
|
};
|
|
2897
2902
|
})();
|
|
2898
2903
|
const GoogleBigQuery = (function() {
|
|
2899
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
2904
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
2900
2905
|
function quoteBigQueryIdentifier(identifier) {
|
|
2901
2906
|
return `\`${String(identifier).replace(/`/g, "``")}\``;
|
|
2902
2907
|
}
|
|
@@ -3802,7 +3807,7 @@ COMMIT TRANSACTION;`;
|
|
|
3802
3807
|
};
|
|
3803
3808
|
})();
|
|
3804
3809
|
const Databricks = (function() {
|
|
3805
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
3810
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
3806
3811
|
function quoteIdentifier(identifier) {
|
|
3807
3812
|
if (!identifier) return identifier;
|
|
3808
3813
|
if (identifier.startsWith("`") && identifier.endsWith("`")) {
|
|
@@ -4464,7 +4469,7 @@ Query: ${query}`);
|
|
|
4464
4469
|
};
|
|
4465
4470
|
})();
|
|
4466
4471
|
const AwsRedshift = (function() {
|
|
4467
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
4472
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
4468
4473
|
function stripQuotes(value) {
|
|
4469
4474
|
return value ? value.replace(/^"|"$/g, "") : value;
|
|
4470
4475
|
}
|
|
@@ -5302,7 +5307,7 @@ const AwsRedshift = (function() {
|
|
|
5302
5307
|
};
|
|
5303
5308
|
})();
|
|
5304
5309
|
const AwsAthena = (function() {
|
|
5305
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
5310
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
5306
5311
|
function quoteAthenaDdlIdentifier(identifier) {
|
|
5307
5312
|
return `\`${String(identifier).replace(/`/g, "``")}\``;
|
|
5308
5313
|
}
|
|
@@ -6270,7 +6275,7 @@ const Storages = {
|
|
|
6270
6275
|
AwsAthena
|
|
6271
6276
|
};
|
|
6272
6277
|
const XAds = (function() {
|
|
6273
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
6278
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
6274
6279
|
const DAYS_PER_CHUNK = 15;
|
|
6275
6280
|
const XAdsHelper = {
|
|
6276
6281
|
/**
|
|
@@ -7859,12 +7864,12 @@ const XAds = (function() {
|
|
|
7859
7864
|
/**
|
|
7860
7865
|
* Imports every time series node for every account, one date at a time.
|
|
7861
7866
|
*
|
|
7862
|
-
* The loop is date-outer on purpose: the
|
|
7867
|
+
* The loop is date-outer on purpose: the checkpoint may only move once a
|
|
7863
7868
|
* date is complete for *all* accounts and nodes, so a run interrupted midway
|
|
7864
7869
|
* resumes from the last fully imported date instead of restarting the range.
|
|
7865
7870
|
*
|
|
7866
7871
|
* Async nodes submit one job per chunk of dates, so when any of them is selected
|
|
7867
|
-
* the
|
|
7872
|
+
* the checkpoint advances a whole chunk at a time. Otherwise every chunk is one day.
|
|
7868
7873
|
*
|
|
7869
7874
|
* @param {Object} options - Processing options
|
|
7870
7875
|
* @param {Array<string>} options.accountIds - Account IDs to import
|
|
@@ -7893,9 +7898,7 @@ const XAds = (function() {
|
|
|
7893
7898
|
for (const dateChunk of chunks) {
|
|
7894
7899
|
await this.importAsyncNodesForChunk({ dateChunk, asyncNodes, accountIds, fields });
|
|
7895
7900
|
await this.importSyncNodesForChunk({ dateChunk, syncNodes, accountIds, fields, dayLookup });
|
|
7896
|
-
|
|
7897
|
-
this.config.updateLastRequstedDate(dayLookup.get(dateChunk[dateChunk.length - 1]));
|
|
7898
|
-
}
|
|
7901
|
+
this.config.updateLastRequstedDate(dayLookup.get(dateChunk[dateChunk.length - 1]));
|
|
7899
7902
|
}
|
|
7900
7903
|
}
|
|
7901
7904
|
/**
|
|
@@ -8061,7 +8064,7 @@ const XAds = (function() {
|
|
|
8061
8064
|
};
|
|
8062
8065
|
})();
|
|
8063
8066
|
const TikTokAds = (function() {
|
|
8064
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
8067
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
8065
8068
|
class TiktokMarketingApiProvider {
|
|
8066
8069
|
constructor(appId, accessToken, appSecret, isSandbox = false) {
|
|
8067
8070
|
this.BASE_URL = "https://business-api.tiktok.com/open_api/";
|
|
@@ -10194,7 +10197,7 @@ ${error.stack ?? ""}`.trim());
|
|
|
10194
10197
|
};
|
|
10195
10198
|
})();
|
|
10196
10199
|
const Shopify = (function() {
|
|
10197
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
10200
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
10198
10201
|
var tenderTransactionsFields = {
|
|
10199
10202
|
"id": {
|
|
10200
10203
|
"description": "A globally-unique ID.",
|
|
@@ -12269,7 +12272,7 @@ const Shopify = (function() {
|
|
|
12269
12272
|
};
|
|
12270
12273
|
})();
|
|
12271
12274
|
const RedditAds = (function() {
|
|
12272
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
12275
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
12273
12276
|
const RedditAdsHelper = {
|
|
12274
12277
|
/**
|
|
12275
12278
|
* Parse fields string into a structured object
|
|
@@ -15824,7 +15827,7 @@ const RedditAds = (function() {
|
|
|
15824
15827
|
/**
|
|
15825
15828
|
* Imports every time series node for every account, one date at a time.
|
|
15826
15829
|
*
|
|
15827
|
-
* The loop is date-outer on purpose: the
|
|
15830
|
+
* The loop is date-outer on purpose: the checkpoint may only move once a
|
|
15828
15831
|
* date is complete for *all* accounts and nodes, so a run interrupted midway
|
|
15829
15832
|
* resumes from the last fully imported date instead of restarting the range.
|
|
15830
15833
|
*
|
|
@@ -15855,9 +15858,7 @@ const RedditAds = (function() {
|
|
|
15855
15858
|
});
|
|
15856
15859
|
}
|
|
15857
15860
|
}
|
|
15858
|
-
|
|
15859
|
-
this.config.updateLastRequstedDate(currentDate);
|
|
15860
|
-
}
|
|
15861
|
+
this.config.updateLastRequstedDate(currentDate);
|
|
15861
15862
|
}
|
|
15862
15863
|
}
|
|
15863
15864
|
/**
|
|
@@ -15938,7 +15939,7 @@ const RedditAds = (function() {
|
|
|
15938
15939
|
};
|
|
15939
15940
|
})();
|
|
15940
15941
|
const OpenHolidays = (function() {
|
|
15941
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
15942
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
15942
15943
|
var publicHolidaysFields = {
|
|
15943
15944
|
id: {
|
|
15944
15945
|
"type": DATA_TYPES2.STRING,
|
|
@@ -16184,9 +16185,7 @@ const OpenHolidays = (function() {
|
|
|
16184
16185
|
const preparedData = data.length ? this.addMissingFieldsToData(data, fields) : data;
|
|
16185
16186
|
await storage.saveData(preparedData);
|
|
16186
16187
|
}
|
|
16187
|
-
|
|
16188
|
-
this.config.updateLastRequstedDate(new Date(dateRange.endDate));
|
|
16189
|
-
}
|
|
16188
|
+
this.config.updateLastRequstedDate(new Date(dateRange.endDate));
|
|
16190
16189
|
}
|
|
16191
16190
|
/**
|
|
16192
16191
|
* Process a catalog node (placeholder for future use)
|
|
@@ -16254,7 +16253,7 @@ const OpenHolidays = (function() {
|
|
|
16254
16253
|
};
|
|
16255
16254
|
})();
|
|
16256
16255
|
const OpenExchangeRates = (function() {
|
|
16257
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
16256
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
16258
16257
|
var historicalFields = {
|
|
16259
16258
|
"date": {
|
|
16260
16259
|
"type": DATA_TYPES2.DATE,
|
|
@@ -16434,9 +16433,7 @@ const OpenExchangeRates = (function() {
|
|
|
16434
16433
|
const storage = await this.getStorageByNode(nodeName);
|
|
16435
16434
|
await storage.saveData(preparedData);
|
|
16436
16435
|
}
|
|
16437
|
-
|
|
16438
|
-
this.config.updateLastRequstedDate(currentDate);
|
|
16439
|
-
}
|
|
16436
|
+
this.config.updateLastRequstedDate(currentDate);
|
|
16440
16437
|
}
|
|
16441
16438
|
}
|
|
16442
16439
|
/**
|
|
@@ -16492,7 +16489,7 @@ const OpenExchangeRates = (function() {
|
|
|
16492
16489
|
};
|
|
16493
16490
|
})();
|
|
16494
16491
|
const MicrosoftAds = (function() {
|
|
16495
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
16492
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
16496
16493
|
const MicrosoftAdsHelper = {
|
|
16497
16494
|
/**
|
|
16498
16495
|
* Parse fields string into a structured object
|
|
@@ -18401,7 +18398,7 @@ API Response: ${JSON.stringify(statusResult, null, 2)}`);
|
|
|
18401
18398
|
/**
|
|
18402
18399
|
* Imports every time series node for every account, one date at a time.
|
|
18403
18400
|
*
|
|
18404
|
-
* The loop is date-outer on purpose: the
|
|
18401
|
+
* The loop is date-outer on purpose: the checkpoint may only move once a
|
|
18405
18402
|
* date is complete for *all* accounts and nodes, so a run interrupted midway
|
|
18406
18403
|
* resumes from the last fully imported date instead of restarting the range.
|
|
18407
18404
|
*
|
|
@@ -18432,9 +18429,7 @@ API Response: ${JSON.stringify(statusResult, null, 2)}`);
|
|
|
18432
18429
|
});
|
|
18433
18430
|
}
|
|
18434
18431
|
}
|
|
18435
|
-
|
|
18436
|
-
this.config.updateLastRequstedDate(currentDate);
|
|
18437
|
-
}
|
|
18432
|
+
this.config.updateLastRequstedDate(currentDate);
|
|
18438
18433
|
}
|
|
18439
18434
|
}
|
|
18440
18435
|
/**
|
|
@@ -18530,7 +18525,7 @@ API Response: ${JSON.stringify(statusResult, null, 2)}`);
|
|
|
18530
18525
|
};
|
|
18531
18526
|
})();
|
|
18532
18527
|
const LinkedInPages = (function() {
|
|
18533
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
18528
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
18534
18529
|
var followerStatisticsTimeBoundFields = {
|
|
18535
18530
|
"organization_urn": {
|
|
18536
18531
|
"description": "Organization URN",
|
|
@@ -19104,7 +19099,7 @@ const LinkedInPages = (function() {
|
|
|
19104
19099
|
isTimeSeriesNode,
|
|
19105
19100
|
...dateInfo
|
|
19106
19101
|
});
|
|
19107
|
-
if (isTimeSeriesNode
|
|
19102
|
+
if (isTimeSeriesNode) {
|
|
19108
19103
|
this.config.updateLastRequstedDate(dateInfo.actualEndDate);
|
|
19109
19104
|
}
|
|
19110
19105
|
}
|
|
@@ -19196,7 +19191,7 @@ const LinkedInPages = (function() {
|
|
|
19196
19191
|
};
|
|
19197
19192
|
})();
|
|
19198
19193
|
const LinkedInAds = (function() {
|
|
19199
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
19194
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
19200
19195
|
var creativesFields = {
|
|
19201
19196
|
"account": {
|
|
19202
19197
|
"description": "URN identifying the advertising account associated with the creative. This field is read-only.",
|
|
@@ -20531,7 +20526,7 @@ const LinkedInAds = (function() {
|
|
|
20531
20526
|
/**
|
|
20532
20527
|
* Imports every time series node for every account, one date at a time.
|
|
20533
20528
|
*
|
|
20534
|
-
* The loop is date-outer on purpose: the
|
|
20529
|
+
* The loop is date-outer on purpose: the checkpoint may only move once a
|
|
20535
20530
|
* date is complete for *all* accounts and nodes, so a run interrupted midway
|
|
20536
20531
|
* resumes from the last fully imported date instead of restarting the range.
|
|
20537
20532
|
* It also keeps memory bounded to one day of analytics instead of the whole range.
|
|
@@ -20563,9 +20558,7 @@ const LinkedInAds = (function() {
|
|
|
20563
20558
|
});
|
|
20564
20559
|
}
|
|
20565
20560
|
}
|
|
20566
|
-
|
|
20567
|
-
this.config.updateLastRequstedDate(date);
|
|
20568
|
-
}
|
|
20561
|
+
this.config.updateLastRequstedDate(date);
|
|
20569
20562
|
}
|
|
20570
20563
|
this.reportTruncatedAnalytics();
|
|
20571
20564
|
}
|
|
@@ -20662,7 +20655,7 @@ const LinkedInAds = (function() {
|
|
|
20662
20655
|
};
|
|
20663
20656
|
})();
|
|
20664
20657
|
const GoogleSheets = (function() {
|
|
20665
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
20658
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
20666
20659
|
var GOOGLE_SHEETS_MAX_IDENTIFIER_BYTES = 127;
|
|
20667
20660
|
var GOOGLE_SHEETS_PREVIEW_SAMPLE_ROWS = 100;
|
|
20668
20661
|
var GOOGLE_SHEETS_MAX_IMPORT_ROWS = 1e5;
|
|
@@ -21707,7 +21700,7 @@ const GoogleSheets = (function() {
|
|
|
21707
21700
|
};
|
|
21708
21701
|
})();
|
|
21709
21702
|
const GoogleAds = (function() {
|
|
21710
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
21703
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
21711
21704
|
var keywordStatsFields = {
|
|
21712
21705
|
"keyword_id": {
|
|
21713
21706
|
"description": "Keyword Criterion ID",
|
|
@@ -23189,7 +23182,7 @@ const GoogleAds = (function() {
|
|
|
23189
23182
|
/**
|
|
23190
23183
|
* Imports every time series node for every customer, one date at a time.
|
|
23191
23184
|
*
|
|
23192
|
-
* The loop is date-outer on purpose: the
|
|
23185
|
+
* The loop is date-outer on purpose: the checkpoint may only move once a
|
|
23193
23186
|
* date is complete for *all* customers and nodes, so a run interrupted midway
|
|
23194
23187
|
* resumes from the last fully imported date instead of restarting the range.
|
|
23195
23188
|
*
|
|
@@ -23220,9 +23213,7 @@ const GoogleAds = (function() {
|
|
|
23220
23213
|
});
|
|
23221
23214
|
}
|
|
23222
23215
|
}
|
|
23223
|
-
|
|
23224
|
-
this.config.updateLastRequstedDate(currentDate);
|
|
23225
|
-
}
|
|
23216
|
+
this.config.updateLastRequstedDate(currentDate);
|
|
23226
23217
|
}
|
|
23227
23218
|
}
|
|
23228
23219
|
/**
|
|
@@ -23301,7 +23292,7 @@ const GoogleAds = (function() {
|
|
|
23301
23292
|
};
|
|
23302
23293
|
})();
|
|
23303
23294
|
const GitHub = (function() {
|
|
23304
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
23295
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
23305
23296
|
var repositoryStatsFields = {
|
|
23306
23297
|
date: {
|
|
23307
23298
|
type: DATA_TYPES2.DATE,
|
|
@@ -23807,7 +23798,7 @@ const GitHub = (function() {
|
|
|
23807
23798
|
};
|
|
23808
23799
|
})();
|
|
23809
23800
|
const FacebookMarketing = (function() {
|
|
23810
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
23801
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
23811
23802
|
({
|
|
23812
23803
|
"account_currency": {
|
|
23813
23804
|
"type": DATA_TYPES2.STRING
|
|
@@ -31272,9 +31263,7 @@ const FacebookMarketing = (function() {
|
|
|
31272
31263
|
}
|
|
31273
31264
|
}
|
|
31274
31265
|
this._throwIfAllAccountsSkipped(accountsIds, skipped, `for ${DateUtils3.formatDate(startDate)}`);
|
|
31275
|
-
|
|
31276
|
-
this.config.updateLastRequstedDate(startDate);
|
|
31277
|
-
}
|
|
31266
|
+
this.config.updateLastRequstedDate(startDate);
|
|
31278
31267
|
startDate.setDate(startDate.getDate() + 1);
|
|
31279
31268
|
}
|
|
31280
31269
|
}
|
|
@@ -31322,7 +31311,7 @@ const FacebookMarketing = (function() {
|
|
|
31322
31311
|
};
|
|
31323
31312
|
})();
|
|
31324
31313
|
const CriteoAds = (function() {
|
|
31325
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
31314
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
31326
31315
|
var CriteoAdsHelper = {
|
|
31327
31316
|
/**
|
|
31328
31317
|
* Parse fields string into a structured object
|
|
@@ -33143,7 +33132,7 @@ const CriteoAds = (function() {
|
|
|
33143
33132
|
/**
|
|
33144
33133
|
* Imports every node for every advertiser, one date at a time.
|
|
33145
33134
|
*
|
|
33146
|
-
* The loop is date-outer on purpose: the
|
|
33135
|
+
* The loop is date-outer on purpose: the checkpoint may only move once a
|
|
33147
33136
|
* date is complete for *all* advertisers and nodes, so a run interrupted midway
|
|
33148
33137
|
* resumes from the last fully imported date instead of restarting the range.
|
|
33149
33138
|
*
|
|
@@ -33174,9 +33163,7 @@ const CriteoAds = (function() {
|
|
|
33174
33163
|
});
|
|
33175
33164
|
}
|
|
33176
33165
|
}
|
|
33177
|
-
|
|
33178
|
-
this.config.updateLastRequstedDate(currentDate);
|
|
33179
|
-
}
|
|
33166
|
+
this.config.updateLastRequstedDate(currentDate);
|
|
33180
33167
|
}
|
|
33181
33168
|
}
|
|
33182
33169
|
/**
|
|
@@ -33269,7 +33256,7 @@ const CriteoAds = (function() {
|
|
|
33269
33256
|
};
|
|
33270
33257
|
})();
|
|
33271
33258
|
const BankOfCanada = (function() {
|
|
33272
|
-
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
33259
|
+
const { AbstractException: AbstractException2, HttpRequestException: HttpRequestException2, ConnectorConfigurationException: ConnectorConfigurationException2, OauthFlowException: OauthFlowException2, AbstractStorage: AbstractStorage2, AbstractSource: AbstractSource3, AbstractRunConfig: AbstractRunConfig3, AbstractConnector: AbstractConnector3, AbstractConfig: AbstractConfig2, HttpUtils: HttpUtils3, FileUtils: FileUtils3, DateUtils: DateUtils3, CryptoUtils: CryptoUtils3, AsyncUtils: AsyncUtils3, RunConfigDto: RunConfigDto2, OauthCredentialsDto: OauthCredentialsDto2, OauthCredentialsDtoBuilder: OauthCredentialsDtoBuilder2, SourceConfigDto: SourceConfigDto2, StorageConfigDto: StorageConfigDto2, ConfigDto: ConfigDto2, HTTP_STATUS: HTTP_STATUS2, DATA_TYPES: DATA_TYPES2, GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD: GENERATED_REFRESH_TOKEN_CREDENTIAL_FIELD2, GENERATED_REFRESH_TOKEN_CONFIG_FIELD: GENERATED_REFRESH_TOKEN_CONFIG_FIELD2, EXECUTION_STATUS: EXECUTION_STATUS2, RUN_CONFIG_TYPE: RUN_CONFIG_TYPE2, MAX_MANUAL_BACKFILL_DAYS: MAX_MANUAL_BACKFILL_DAYS2, CONFIG_ATTRIBUTES: CONFIG_ATTRIBUTES2, OAUTH_CONSTANTS: OAUTH_CONSTANTS2, OAUTH_SOURCE_CREDENTIALS_KEY: OAUTH_SOURCE_CREDENTIALS_KEY2 } = Core;
|
|
33273
33260
|
var observationsFields = {
|
|
33274
33261
|
"date": {
|
|
33275
33262
|
"description": "The date for which the exchange rate was recorded.",
|
|
@@ -33475,9 +33462,7 @@ const BankOfCanada = (function() {
|
|
|
33475
33462
|
const storage = await this.getStorageByNode(nodeName);
|
|
33476
33463
|
await storage.saveData(preparedData);
|
|
33477
33464
|
}
|
|
33478
|
-
|
|
33479
|
-
this.config.updateLastRequstedDate(new Date(dateRange.endDate));
|
|
33480
|
-
}
|
|
33465
|
+
this.config.updateLastRequstedDate(new Date(dateRange.endDate));
|
|
33481
33466
|
}
|
|
33482
33467
|
/**
|
|
33483
33468
|
* Process a catalog node (placeholder for future use)
|