@salesforce/lds-adapters-analytics-wave 1.141.0 → 1.141.1
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.
|
@@ -1267,7 +1267,7 @@ function getTypeCacheKeys$H(luvio, input, fullPathFactory) {
|
|
|
1267
1267
|
return rootKeySet;
|
|
1268
1268
|
}
|
|
1269
1269
|
|
|
1270
|
-
const VERSION$1K = "
|
|
1270
|
+
const VERSION$1K = "8d6671abfda59d314a631ca61312f86c";
|
|
1271
1271
|
function validate$2t(obj, path = 'MonthlyRelativeScheduleRepresentation') {
|
|
1272
1272
|
const validateScheduleRepresentation_validateError = validate$2q(obj, path);
|
|
1273
1273
|
if (validateScheduleRepresentation_validateError !== null) {
|
|
@@ -1277,15 +1277,19 @@ function validate$2t(obj, path = 'MonthlyRelativeScheduleRepresentation') {
|
|
|
1277
1277
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1278
1278
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1279
1279
|
}
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1280
|
+
if (obj.dayInWeek !== undefined) {
|
|
1281
|
+
const obj_dayInWeek = obj.dayInWeek;
|
|
1282
|
+
const path_dayInWeek = path + '.dayInWeek';
|
|
1283
|
+
if (typeof obj_dayInWeek !== 'string') {
|
|
1284
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dayInWeek + '" (at "' + path_dayInWeek + '")');
|
|
1285
|
+
}
|
|
1284
1286
|
}
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1287
|
+
if (obj.weekInMonth !== undefined) {
|
|
1288
|
+
const obj_weekInMonth = obj.weekInMonth;
|
|
1289
|
+
const path_weekInMonth = path + '.weekInMonth';
|
|
1290
|
+
if (typeof obj_weekInMonth !== 'string') {
|
|
1291
|
+
return new TypeError('Expected "string" but received "' + typeof obj_weekInMonth + '" (at "' + path_weekInMonth + '")');
|
|
1292
|
+
}
|
|
1289
1293
|
}
|
|
1290
1294
|
})();
|
|
1291
1295
|
return v_error === undefined ? null : v_error;
|
|
@@ -1307,11 +1311,13 @@ const select$2x = function MonthlyRelativeScheduleRepresentationSelect() {
|
|
|
1307
1311
|
...ScheduleRepresentationSelections,
|
|
1308
1312
|
{
|
|
1309
1313
|
name: 'dayInWeek',
|
|
1310
|
-
kind: 'Scalar'
|
|
1314
|
+
kind: 'Scalar',
|
|
1315
|
+
required: false
|
|
1311
1316
|
},
|
|
1312
1317
|
{
|
|
1313
1318
|
name: 'weekInMonth',
|
|
1314
|
-
kind: 'Scalar'
|
|
1319
|
+
kind: 'Scalar',
|
|
1320
|
+
required: false
|
|
1315
1321
|
}
|
|
1316
1322
|
]
|
|
1317
1323
|
};
|
|
@@ -1322,13 +1328,29 @@ function equals$1H(existing, incoming) {
|
|
|
1322
1328
|
}
|
|
1323
1329
|
const existing_dayInWeek = existing.dayInWeek;
|
|
1324
1330
|
const incoming_dayInWeek = incoming.dayInWeek;
|
|
1325
|
-
if
|
|
1326
|
-
|
|
1331
|
+
// if at least one of these optionals is defined
|
|
1332
|
+
if (existing_dayInWeek !== undefined || incoming_dayInWeek !== undefined) {
|
|
1333
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1334
|
+
// not equal
|
|
1335
|
+
if (existing_dayInWeek === undefined || incoming_dayInWeek === undefined) {
|
|
1336
|
+
return false;
|
|
1337
|
+
}
|
|
1338
|
+
if (!(existing_dayInWeek === incoming_dayInWeek)) {
|
|
1339
|
+
return false;
|
|
1340
|
+
}
|
|
1327
1341
|
}
|
|
1328
1342
|
const existing_weekInMonth = existing.weekInMonth;
|
|
1329
1343
|
const incoming_weekInMonth = incoming.weekInMonth;
|
|
1330
|
-
if
|
|
1331
|
-
|
|
1344
|
+
// if at least one of these optionals is defined
|
|
1345
|
+
if (existing_weekInMonth !== undefined || incoming_weekInMonth !== undefined) {
|
|
1346
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1347
|
+
// not equal
|
|
1348
|
+
if (existing_weekInMonth === undefined || incoming_weekInMonth === undefined) {
|
|
1349
|
+
return false;
|
|
1350
|
+
}
|
|
1351
|
+
if (!(existing_weekInMonth === incoming_weekInMonth)) {
|
|
1352
|
+
return false;
|
|
1353
|
+
}
|
|
1332
1354
|
}
|
|
1333
1355
|
return true;
|
|
1334
1356
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { keyBuilder as ScheduleRepresentation_keyBuilder, ScheduleRepresentation as ScheduleRepresentation_ScheduleRepresentation } from './ScheduleRepresentation';
|
|
2
2
|
import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "8d6671abfda59d314a631ca61312f86c";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: Parameters<typeof ScheduleRepresentation_keyBuilder>[1]): string;
|
|
@@ -20,9 +20,9 @@ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: M
|
|
|
20
20
|
*/
|
|
21
21
|
export interface MonthlyRelativeScheduleRepresentationNormalized extends ScheduleRepresentation_ScheduleRepresentation {
|
|
22
22
|
/** Day within a week. */
|
|
23
|
-
dayInWeek
|
|
23
|
+
dayInWeek?: string;
|
|
24
24
|
/** Week within a month. */
|
|
25
|
-
weekInMonth
|
|
25
|
+
weekInMonth?: string;
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* Schedule which runs monthly on a relative day within the month.
|
|
@@ -31,7 +31,7 @@ export interface MonthlyRelativeScheduleRepresentationNormalized extends Schedul
|
|
|
31
31
|
* id (string): assetId
|
|
32
32
|
*/
|
|
33
33
|
export interface MonthlyRelativeScheduleRepresentation extends ScheduleRepresentation_ScheduleRepresentation {
|
|
34
|
-
dayInWeek
|
|
35
|
-
weekInMonth
|
|
34
|
+
dayInWeek?: string;
|
|
35
|
+
weekInMonth?: string;
|
|
36
36
|
frequency: 'monthlyrelative';
|
|
37
37
|
}
|
package/package.json
CHANGED
package/sfdc/index.js
CHANGED
|
@@ -5255,7 +5255,7 @@ function getTypeCacheKeys$H(luvio, input, fullPathFactory) {
|
|
|
5255
5255
|
return rootKeySet;
|
|
5256
5256
|
}
|
|
5257
5257
|
|
|
5258
|
-
const VERSION$1o = "
|
|
5258
|
+
const VERSION$1o = "8d6671abfda59d314a631ca61312f86c";
|
|
5259
5259
|
function validate$25(obj, path = 'MonthlyRelativeScheduleRepresentation') {
|
|
5260
5260
|
const validateScheduleRepresentation_validateError = validate$22(obj, path);
|
|
5261
5261
|
if (validateScheduleRepresentation_validateError !== null) {
|
|
@@ -5265,15 +5265,19 @@ function validate$25(obj, path = 'MonthlyRelativeScheduleRepresentation') {
|
|
|
5265
5265
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5266
5266
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
5267
5267
|
}
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
|
|
5271
|
-
|
|
5268
|
+
if (obj.dayInWeek !== undefined) {
|
|
5269
|
+
const obj_dayInWeek = obj.dayInWeek;
|
|
5270
|
+
const path_dayInWeek = path + '.dayInWeek';
|
|
5271
|
+
if (typeof obj_dayInWeek !== 'string') {
|
|
5272
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dayInWeek + '" (at "' + path_dayInWeek + '")');
|
|
5273
|
+
}
|
|
5272
5274
|
}
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
|
|
5275
|
+
if (obj.weekInMonth !== undefined) {
|
|
5276
|
+
const obj_weekInMonth = obj.weekInMonth;
|
|
5277
|
+
const path_weekInMonth = path + '.weekInMonth';
|
|
5278
|
+
if (typeof obj_weekInMonth !== 'string') {
|
|
5279
|
+
return new TypeError('Expected "string" but received "' + typeof obj_weekInMonth + '" (at "' + path_weekInMonth + '")');
|
|
5280
|
+
}
|
|
5277
5281
|
}
|
|
5278
5282
|
})();
|
|
5279
5283
|
return v_error === undefined ? null : v_error;
|
|
@@ -5295,11 +5299,13 @@ const select$2c = function MonthlyRelativeScheduleRepresentationSelect() {
|
|
|
5295
5299
|
...ScheduleRepresentationSelections,
|
|
5296
5300
|
{
|
|
5297
5301
|
name: 'dayInWeek',
|
|
5298
|
-
kind: 'Scalar'
|
|
5302
|
+
kind: 'Scalar',
|
|
5303
|
+
required: false
|
|
5299
5304
|
},
|
|
5300
5305
|
{
|
|
5301
5306
|
name: 'weekInMonth',
|
|
5302
|
-
kind: 'Scalar'
|
|
5307
|
+
kind: 'Scalar',
|
|
5308
|
+
required: false
|
|
5303
5309
|
}
|
|
5304
5310
|
]
|
|
5305
5311
|
};
|
|
@@ -5310,13 +5316,29 @@ function equals$1l(existing, incoming) {
|
|
|
5310
5316
|
}
|
|
5311
5317
|
const existing_dayInWeek = existing.dayInWeek;
|
|
5312
5318
|
const incoming_dayInWeek = incoming.dayInWeek;
|
|
5313
|
-
if
|
|
5314
|
-
|
|
5319
|
+
// if at least one of these optionals is defined
|
|
5320
|
+
if (existing_dayInWeek !== undefined || incoming_dayInWeek !== undefined) {
|
|
5321
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5322
|
+
// not equal
|
|
5323
|
+
if (existing_dayInWeek === undefined || incoming_dayInWeek === undefined) {
|
|
5324
|
+
return false;
|
|
5325
|
+
}
|
|
5326
|
+
if (!(existing_dayInWeek === incoming_dayInWeek)) {
|
|
5327
|
+
return false;
|
|
5328
|
+
}
|
|
5315
5329
|
}
|
|
5316
5330
|
const existing_weekInMonth = existing.weekInMonth;
|
|
5317
5331
|
const incoming_weekInMonth = incoming.weekInMonth;
|
|
5318
|
-
if
|
|
5319
|
-
|
|
5332
|
+
// if at least one of these optionals is defined
|
|
5333
|
+
if (existing_weekInMonth !== undefined || incoming_weekInMonth !== undefined) {
|
|
5334
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5335
|
+
// not equal
|
|
5336
|
+
if (existing_weekInMonth === undefined || incoming_weekInMonth === undefined) {
|
|
5337
|
+
return false;
|
|
5338
|
+
}
|
|
5339
|
+
if (!(existing_weekInMonth === incoming_weekInMonth)) {
|
|
5340
|
+
return false;
|
|
5341
|
+
}
|
|
5320
5342
|
}
|
|
5321
5343
|
return true;
|
|
5322
5344
|
}
|
|
@@ -32375,4 +32397,4 @@ withDefaultLuvio((luvio) => {
|
|
|
32375
32397
|
});
|
|
32376
32398
|
|
|
32377
32399
|
export { createDataConnector, createDataflowJob, createDataset, createDatasetVersion, createReplicatedDataset, deleteDataConnector, deleteDataset, deleteRecipe, deleteReplicatedDataset, executeQuery, executeQuery_imperative, getActions, getActions_imperative, getAnalyticsLimits, getAnalyticsLimits_imperative, getDataConnector, getDataConnectorNotifyChange, getDataConnectorSourceFields, getDataConnectorSourceFieldsNotifyChange, getDataConnectorSourceFields_imperative, getDataConnectorSourceObject, getDataConnectorSourceObjectDataPreviewWithFields, getDataConnectorSourceObjectDataPreviewWithFields_imperative, getDataConnectorSourceObjectNotifyChange, getDataConnectorSourceObject_imperative, getDataConnectorSourceObjects, getDataConnectorSourceObjects_imperative, getDataConnectorStatus, getDataConnectorStatus_imperative, getDataConnectorTypes, getDataConnectorTypes_imperative, getDataConnector_imperative, getDataConnectors, getDataConnectors_imperative, getDataflowJob, getDataflowJobNode, getDataflowJobNodeNotifyChange, getDataflowJobNode_imperative, getDataflowJobNodes, getDataflowJobNodes_imperative, getDataflowJobNotifyChange, getDataflowJob_imperative, getDataflowJobs, getDataflowJobs_imperative, getDataflows, getDataflows_imperative, getDataset, getDatasetNotifyChange, getDatasetVersion, getDatasetVersionNotifyChange, getDatasetVersion_imperative, getDatasetVersions, getDatasetVersions_imperative, getDataset_imperative, getDatasets, getDatasets_imperative, getDependencies, getDependencies_imperative, getRecipe, getRecipeNotification, getRecipeNotificationNotifyChange, getRecipeNotification_imperative, getRecipeNotifyChange, getRecipe_imperative, getRecipes, getRecipes_imperative, getReplicatedDataset, getReplicatedDatasetNotifyChange, getReplicatedDataset_imperative, getReplicatedDatasets, getReplicatedDatasets_imperative, getReplicatedFields, getReplicatedFieldsNotifyChange, getReplicatedFields_imperative, getSchedule, getScheduleNotifyChange, getSchedule_imperative, getSecurityCoverageDatasetVersion, getSecurityCoverageDatasetVersion_imperative, getWaveFolders, getWaveFolders_imperative, getWaveTemplate, getWaveTemplateConfig, getWaveTemplateConfigNotifyChange, getWaveTemplateConfig_imperative, getWaveTemplateNotifyChange, getWaveTemplateReleaseNotes, getWaveTemplateReleaseNotesNotifyChange, getWaveTemplateReleaseNotes_imperative, getWaveTemplate_imperative, getWaveTemplates, getWaveTemplates_imperative, getXmd, getXmd_imperative, ingestDataConnector, updateDataConnector, updateDataflowJob, updateDataset, updateDatasetVersion, updateRecipe, updateRecipeNotification, updateReplicatedDataset, updateReplicatedFields, updateSchedule, updateXmd, validateWaveTemplate };
|
|
32378
|
-
// version: 1.141.
|
|
32400
|
+
// version: 1.141.1-8f6d93cad
|
package/src/raml/api.raml
CHANGED
|
@@ -2132,6 +2132,7 @@ types:
|
|
|
2132
2132
|
dayInWeek:
|
|
2133
2133
|
description: Day within a week.
|
|
2134
2134
|
type: string
|
|
2135
|
+
required: false # TODO Hand-rolled W-8253396
|
|
2135
2136
|
enum:
|
|
2136
2137
|
- Friday
|
|
2137
2138
|
- Monday
|
|
@@ -2143,6 +2144,7 @@ types:
|
|
|
2143
2144
|
weekInMonth:
|
|
2144
2145
|
description: Week within a month.
|
|
2145
2146
|
type: string
|
|
2147
|
+
required: false # TODO Hand-rolled W-8253396
|
|
2146
2148
|
enum:
|
|
2147
2149
|
- First
|
|
2148
2150
|
- Fourth
|