@salesforce/lds-adapters-analytics-unifiedanalytics 1.404.0-dev16 → 1.404.0-dev19
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/es/es2018/analytics-unifiedanalytics.js +74 -2
- package/dist/es/es2018/types/src/generated/adapters/createDataAlert.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/updateDataAlert.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postTableauDataAlerts.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putTableauDataAlertsByDataAlertId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/DataAlertRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/DataAssetRequestRepresentation.d.ts +4 -1
- package/package.json +3 -3
- package/sfdc/index.js +75 -3
- package/src/raml/api.raml +12 -0
|
@@ -3834,12 +3834,40 @@ function validate$$(obj, path = 'DataAlertThresholdsRepresentation') {
|
|
|
3834
3834
|
}
|
|
3835
3835
|
|
|
3836
3836
|
const TTL$o = 500;
|
|
3837
|
-
const VERSION$z = "
|
|
3837
|
+
const VERSION$z = "cc2fad25cb7d5a43adddf76b7e121810";
|
|
3838
3838
|
function validate$_(obj, path = 'DataAlertRepresentation') {
|
|
3839
3839
|
const v_error = (() => {
|
|
3840
3840
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3841
3841
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3842
3842
|
}
|
|
3843
|
+
if (obj.agent !== undefined) {
|
|
3844
|
+
const obj_agent = obj.agent;
|
|
3845
|
+
const path_agent = path + '.agent';
|
|
3846
|
+
let obj_agent_union0 = null;
|
|
3847
|
+
const obj_agent_union0_error = (() => {
|
|
3848
|
+
if (typeof obj_agent !== 'string') {
|
|
3849
|
+
return new TypeError('Expected "string" but received "' + typeof obj_agent + '" (at "' + path_agent + '")');
|
|
3850
|
+
}
|
|
3851
|
+
})();
|
|
3852
|
+
if (obj_agent_union0_error != null) {
|
|
3853
|
+
obj_agent_union0 = obj_agent_union0_error.message;
|
|
3854
|
+
}
|
|
3855
|
+
let obj_agent_union1 = null;
|
|
3856
|
+
const obj_agent_union1_error = (() => {
|
|
3857
|
+
if (obj_agent !== null) {
|
|
3858
|
+
return new TypeError('Expected "null" but received "' + typeof obj_agent + '" (at "' + path_agent + '")');
|
|
3859
|
+
}
|
|
3860
|
+
})();
|
|
3861
|
+
if (obj_agent_union1_error != null) {
|
|
3862
|
+
obj_agent_union1 = obj_agent_union1_error.message;
|
|
3863
|
+
}
|
|
3864
|
+
if (obj_agent_union0 && obj_agent_union1) {
|
|
3865
|
+
let message = 'Object doesn\'t match union (at "' + path_agent + '")';
|
|
3866
|
+
message += '\n' + obj_agent_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3867
|
+
message += '\n' + obj_agent_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3868
|
+
return new TypeError(message);
|
|
3869
|
+
}
|
|
3870
|
+
}
|
|
3843
3871
|
const obj_alertName = obj.alertName;
|
|
3844
3872
|
const path_alertName = path + '.alertName';
|
|
3845
3873
|
if (typeof obj_alertName !== 'string') {
|
|
@@ -4417,6 +4445,7 @@ const createDataAlert_ConfigPropertyMetadata = [
|
|
|
4417
4445
|
generateParamConfigMetadata('schedule', true, 2 /* Body */, 4 /* Unsupported */),
|
|
4418
4446
|
generateParamConfigMetadata('thresholds', true, 2 /* Body */, 4 /* Unsupported */),
|
|
4419
4447
|
generateParamConfigMetadata('utterance', true, 2 /* Body */, 0 /* String */),
|
|
4448
|
+
generateParamConfigMetadata('agent', false, 2 /* Body */, 4 /* Unsupported */),
|
|
4420
4449
|
];
|
|
4421
4450
|
const createDataAlert_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$O, createDataAlert_ConfigPropertyMetadata);
|
|
4422
4451
|
const createResourceParams$O = /*#__PURE__*/ createResourceParams$_(createDataAlert_ConfigPropertyMetadata);
|
|
@@ -4443,6 +4472,13 @@ function typeCheckConfig$O(untrustedConfig) {
|
|
|
4443
4472
|
if (referenceDataAlertThresholdsInputRepresentationValidationError === null) {
|
|
4444
4473
|
config.thresholds = untrustedConfig_thresholds;
|
|
4445
4474
|
}
|
|
4475
|
+
const untrustedConfig_agent = untrustedConfig.agent;
|
|
4476
|
+
if (typeof untrustedConfig_agent === 'string') {
|
|
4477
|
+
config.agent = untrustedConfig_agent;
|
|
4478
|
+
}
|
|
4479
|
+
if (untrustedConfig_agent === null) {
|
|
4480
|
+
config.agent = untrustedConfig_agent;
|
|
4481
|
+
}
|
|
4446
4482
|
return config;
|
|
4447
4483
|
}
|
|
4448
4484
|
function validateAdapterConfig$O(untrustedConfig, configPropertyNames) {
|
|
@@ -4758,6 +4794,7 @@ const updateDataAlert_ConfigPropertyMetadata = [
|
|
|
4758
4794
|
generateParamConfigMetadata('schedule', true, 2 /* Body */, 4 /* Unsupported */),
|
|
4759
4795
|
generateParamConfigMetadata('thresholds', true, 2 /* Body */, 4 /* Unsupported */),
|
|
4760
4796
|
generateParamConfigMetadata('utterance', true, 2 /* Body */, 0 /* String */),
|
|
4797
|
+
generateParamConfigMetadata('agent', false, 2 /* Body */, 4 /* Unsupported */),
|
|
4761
4798
|
];
|
|
4762
4799
|
const updateDataAlert_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$L, updateDataAlert_ConfigPropertyMetadata);
|
|
4763
4800
|
const createResourceParams$L = /*#__PURE__*/ createResourceParams$_(updateDataAlert_ConfigPropertyMetadata);
|
|
@@ -4784,6 +4821,13 @@ function typeCheckConfig$L(untrustedConfig) {
|
|
|
4784
4821
|
if (referenceDataAlertThresholdsInputRepresentationValidationError === null) {
|
|
4785
4822
|
config.thresholds = untrustedConfig_thresholds;
|
|
4786
4823
|
}
|
|
4824
|
+
const untrustedConfig_agent = untrustedConfig.agent;
|
|
4825
|
+
if (typeof untrustedConfig_agent === 'string') {
|
|
4826
|
+
config.agent = untrustedConfig_agent;
|
|
4827
|
+
}
|
|
4828
|
+
if (untrustedConfig_agent === null) {
|
|
4829
|
+
config.agent = untrustedConfig_agent;
|
|
4830
|
+
}
|
|
4787
4831
|
return config;
|
|
4788
4832
|
}
|
|
4789
4833
|
function validateAdapterConfig$L(untrustedConfig, configPropertyNames) {
|
|
@@ -5275,7 +5319,7 @@ function validate$L(obj, path = 'DataAssetRequestAdditionalInfoRepresentation')
|
|
|
5275
5319
|
}
|
|
5276
5320
|
|
|
5277
5321
|
const TTL$l = 500;
|
|
5278
|
-
const VERSION$w = "
|
|
5322
|
+
const VERSION$w = "1d2e5c2c71da23d28ca538bf1ec5ea7f";
|
|
5279
5323
|
function validate$K(obj, path = 'DataAssetRequestRepresentation') {
|
|
5280
5324
|
const v_error = (() => {
|
|
5281
5325
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -5562,6 +5606,34 @@ function validate$K(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
5562
5606
|
message += '\n' + obj_failedDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
5563
5607
|
return new TypeError(message);
|
|
5564
5608
|
}
|
|
5609
|
+
if (obj.hasUnsupportedDloForGuidedPromotions !== undefined) {
|
|
5610
|
+
const obj_hasUnsupportedDloForGuidedPromotions = obj.hasUnsupportedDloForGuidedPromotions;
|
|
5611
|
+
const path_hasUnsupportedDloForGuidedPromotions = path + '.hasUnsupportedDloForGuidedPromotions';
|
|
5612
|
+
let obj_hasUnsupportedDloForGuidedPromotions_union0 = null;
|
|
5613
|
+
const obj_hasUnsupportedDloForGuidedPromotions_union0_error = (() => {
|
|
5614
|
+
if (typeof obj_hasUnsupportedDloForGuidedPromotions !== 'boolean') {
|
|
5615
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_hasUnsupportedDloForGuidedPromotions + '" (at "' + path_hasUnsupportedDloForGuidedPromotions + '")');
|
|
5616
|
+
}
|
|
5617
|
+
})();
|
|
5618
|
+
if (obj_hasUnsupportedDloForGuidedPromotions_union0_error != null) {
|
|
5619
|
+
obj_hasUnsupportedDloForGuidedPromotions_union0 = obj_hasUnsupportedDloForGuidedPromotions_union0_error.message;
|
|
5620
|
+
}
|
|
5621
|
+
let obj_hasUnsupportedDloForGuidedPromotions_union1 = null;
|
|
5622
|
+
const obj_hasUnsupportedDloForGuidedPromotions_union1_error = (() => {
|
|
5623
|
+
if (obj_hasUnsupportedDloForGuidedPromotions !== null) {
|
|
5624
|
+
return new TypeError('Expected "null" but received "' + typeof obj_hasUnsupportedDloForGuidedPromotions + '" (at "' + path_hasUnsupportedDloForGuidedPromotions + '")');
|
|
5625
|
+
}
|
|
5626
|
+
})();
|
|
5627
|
+
if (obj_hasUnsupportedDloForGuidedPromotions_union1_error != null) {
|
|
5628
|
+
obj_hasUnsupportedDloForGuidedPromotions_union1 = obj_hasUnsupportedDloForGuidedPromotions_union1_error.message;
|
|
5629
|
+
}
|
|
5630
|
+
if (obj_hasUnsupportedDloForGuidedPromotions_union0 && obj_hasUnsupportedDloForGuidedPromotions_union1) {
|
|
5631
|
+
let message = 'Object doesn\'t match union (at "' + path_hasUnsupportedDloForGuidedPromotions + '")';
|
|
5632
|
+
message += '\n' + obj_hasUnsupportedDloForGuidedPromotions_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
5633
|
+
message += '\n' + obj_hasUnsupportedDloForGuidedPromotions_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
5634
|
+
return new TypeError(message);
|
|
5635
|
+
}
|
|
5636
|
+
}
|
|
5565
5637
|
const obj_id = obj.id;
|
|
5566
5638
|
const path_id = path + '.id';
|
|
5567
5639
|
if (typeof obj_id !== 'string') {
|
|
@@ -19,6 +19,7 @@ export interface CreateDataAlertConfig {
|
|
|
19
19
|
schedule: types_DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation | types_DataAlertWeeklyScheduleInputRepresentation_DataAlertWeeklyScheduleInputRepresentation | types_DataAlertEveryNMinutesScheduleInputRepresentation_DataAlertEveryNMinutesScheduleInputRepresentation;
|
|
20
20
|
thresholds: types_DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation;
|
|
21
21
|
utterance: string;
|
|
22
|
+
agent?: string | null;
|
|
22
23
|
}
|
|
23
24
|
export declare const createResourceParams: (config: CreateDataAlertConfig) => resources_postTableauDataAlerts_ResourceRequestConfig;
|
|
24
25
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateDataAlertConfig>): adapter$45$utils_Untrusted<CreateDataAlertConfig>;
|
|
@@ -20,6 +20,7 @@ export interface UpdateDataAlertConfig {
|
|
|
20
20
|
schedule: types_DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation | types_DataAlertWeeklyScheduleInputRepresentation_DataAlertWeeklyScheduleInputRepresentation | types_DataAlertEveryNMinutesScheduleInputRepresentation_DataAlertEveryNMinutesScheduleInputRepresentation;
|
|
21
21
|
thresholds: types_DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation;
|
|
22
22
|
utterance: string;
|
|
23
|
+
agent?: string | null;
|
|
23
24
|
}
|
|
24
25
|
export declare const createResourceParams: (config: UpdateDataAlertConfig) => resources_putTableauDataAlertsByDataAlertId_ResourceRequestConfig;
|
|
25
26
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdateDataAlertConfig>): adapter$45$utils_Untrusted<UpdateDataAlertConfig>;
|
|
@@ -17,6 +17,7 @@ export interface ResourceRequestConfig {
|
|
|
17
17
|
schedule: types_DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation | types_DataAlertWeeklyScheduleInputRepresentation_DataAlertWeeklyScheduleInputRepresentation | types_DataAlertEveryNMinutesScheduleInputRepresentation_DataAlertEveryNMinutesScheduleInputRepresentation;
|
|
18
18
|
thresholds: types_DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation;
|
|
19
19
|
utterance: string;
|
|
20
|
+
agent?: string | null;
|
|
20
21
|
};
|
|
21
22
|
}
|
|
22
23
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -20,6 +20,7 @@ export interface ResourceRequestConfig {
|
|
|
20
20
|
schedule: types_DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation | types_DataAlertWeeklyScheduleInputRepresentation_DataAlertWeeklyScheduleInputRepresentation | types_DataAlertEveryNMinutesScheduleInputRepresentation_DataAlertEveryNMinutesScheduleInputRepresentation;
|
|
21
21
|
thresholds: types_DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation;
|
|
22
22
|
utterance: string;
|
|
23
|
+
agent?: string | null;
|
|
23
24
|
};
|
|
24
25
|
}
|
|
25
26
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -7,7 +7,7 @@ import { DataAlertMetricContentInputRepresentation as DataAlertMetricContentInpu
|
|
|
7
7
|
import { DataAlertDailyScheduleInputRepresentation as DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation } from './DataAlertDailyScheduleInputRepresentation';
|
|
8
8
|
import { DataAlertWeeklyScheduleInputRepresentation as DataAlertWeeklyScheduleInputRepresentation_DataAlertWeeklyScheduleInputRepresentation } from './DataAlertWeeklyScheduleInputRepresentation';
|
|
9
9
|
import { DataAlertEveryNMinutesScheduleInputRepresentation as DataAlertEveryNMinutesScheduleInputRepresentation_DataAlertEveryNMinutesScheduleInputRepresentation } from './DataAlertEveryNMinutesScheduleInputRepresentation';
|
|
10
|
-
export declare const VERSION = "
|
|
10
|
+
export declare const VERSION = "5bbf01be227a6e0c9aa6f938027ceab1";
|
|
11
11
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
12
12
|
export declare const RepresentationType: string;
|
|
13
13
|
export declare function normalize(input: DataAlertInputRepresentation, existing: DataAlertInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataAlertInputRepresentationNormalized;
|
|
@@ -22,6 +22,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
22
22
|
* (none)
|
|
23
23
|
*/
|
|
24
24
|
export interface DataAlertInputRepresentationNormalized {
|
|
25
|
+
/** ID of the associated BotDefinition agent. */
|
|
26
|
+
agent?: string | null;
|
|
25
27
|
content: DataAlertContentInputRepresentation_DataAlertContentInputRepresentation;
|
|
26
28
|
/** Type of data alert */
|
|
27
29
|
dataAlertType: string;
|
|
@@ -38,6 +40,7 @@ export interface DataAlertInputRepresentationNormalized {
|
|
|
38
40
|
* (none)
|
|
39
41
|
*/
|
|
40
42
|
export interface DataAlertInputRepresentation {
|
|
43
|
+
agent?: string | null;
|
|
41
44
|
content: DataAlertMetricContentInputRepresentation_DataAlertMetricContentInputRepresentation;
|
|
42
45
|
dataAlertType: string;
|
|
43
46
|
deliveryConfigurations: DataAlertDeliveryConfigurationInputRepresentation_DataAlertDeliveryConfigurationInputRepresentation;
|
|
@@ -4,7 +4,7 @@ import { DataAlertScheduleRepresentation as DataAlertScheduleRepresentation_Data
|
|
|
4
4
|
import { DataAlertThresholdsRepresentation as DataAlertThresholdsRepresentation_DataAlertThresholdsRepresentation } from './DataAlertThresholdsRepresentation';
|
|
5
5
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
6
6
|
export declare const TTL = 500;
|
|
7
|
-
export declare const VERSION = "
|
|
7
|
+
export declare const VERSION = "cc2fad25cb7d5a43adddf76b7e121810";
|
|
8
8
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
9
9
|
export declare const RepresentationType: string;
|
|
10
10
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -28,6 +28,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
28
28
|
* dataAlertId (string): id
|
|
29
29
|
*/
|
|
30
30
|
export interface DataAlertRepresentationNormalized {
|
|
31
|
+
/** ID of the associated BotDefinition agent. */
|
|
32
|
+
agent?: string | null;
|
|
31
33
|
/** User entered alert name. */
|
|
32
34
|
alertName: string;
|
|
33
35
|
/** Notification content configuration. Contains the config needed to generate the notification content. */
|
|
@@ -52,6 +54,7 @@ export interface DataAlertRepresentationNormalized {
|
|
|
52
54
|
* dataAlertId (string): id
|
|
53
55
|
*/
|
|
54
56
|
export interface DataAlertRepresentation {
|
|
57
|
+
agent?: string | null;
|
|
55
58
|
alertName: string;
|
|
56
59
|
content: DataAlertContentRepresentation_DataAlertContentRepresentation;
|
|
57
60
|
createdDate: string;
|
|
@@ -2,7 +2,7 @@ import { AnalyticsUserRepresentation as AnalyticsUserRepresentation_AnalyticsUse
|
|
|
2
2
|
import { DataAssetRequestAdditionalInfoRepresentation as DataAssetRequestAdditionalInfoRepresentation_DataAssetRequestAdditionalInfoRepresentation } from './DataAssetRequestAdditionalInfoRepresentation';
|
|
3
3
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
4
4
|
export declare const TTL = 500;
|
|
5
|
-
export declare const VERSION = "
|
|
5
|
+
export declare const VERSION = "1d2e5c2c71da23d28ca538bf1ec5ea7f";
|
|
6
6
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
7
|
export declare const RepresentationType: string;
|
|
8
8
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -48,6 +48,8 @@ export interface DataAssetRequestRepresentationNormalized {
|
|
|
48
48
|
errorCode?: string | null;
|
|
49
49
|
/** Failed date */
|
|
50
50
|
failedDate: string | null;
|
|
51
|
+
/** Indicates whether the promotion request includes a DLO that is unsupported for guided promotions (e.g., non-CSV file type) */
|
|
52
|
+
hasUnsupportedDloForGuidedPromotions?: boolean | null;
|
|
51
53
|
/** Data Asset Request Id */
|
|
52
54
|
id: string;
|
|
53
55
|
/** Installed date */
|
|
@@ -117,6 +119,7 @@ export interface DataAssetRequestRepresentation {
|
|
|
117
119
|
completedDate: string | null;
|
|
118
120
|
errorCode?: string | null;
|
|
119
121
|
failedDate: string | null;
|
|
122
|
+
hasUnsupportedDloForGuidedPromotions?: boolean | null;
|
|
120
123
|
id: string;
|
|
121
124
|
installedDate: string | null;
|
|
122
125
|
label: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-analytics-unifiedanalytics",
|
|
3
|
-
"version": "1.404.0-
|
|
3
|
+
"version": "1.404.0-dev19",
|
|
4
4
|
"description": "Tableau Unified Analytics Platform",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/analytics-unifiedanalytics.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.404.0-
|
|
43
|
+
"@salesforce/lds-bindings": "^1.404.0-dev19"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.404.0-
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.404.0-dev19"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -2558,12 +2558,40 @@ function validate$10(obj, path = 'DataAlertThresholdsRepresentation') {
|
|
|
2558
2558
|
}
|
|
2559
2559
|
|
|
2560
2560
|
const TTL$r = 500;
|
|
2561
|
-
const VERSION$D = "
|
|
2561
|
+
const VERSION$D = "cc2fad25cb7d5a43adddf76b7e121810";
|
|
2562
2562
|
function validate$$(obj, path = 'DataAlertRepresentation') {
|
|
2563
2563
|
const v_error = (() => {
|
|
2564
2564
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2565
2565
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2566
2566
|
}
|
|
2567
|
+
if (obj.agent !== undefined) {
|
|
2568
|
+
const obj_agent = obj.agent;
|
|
2569
|
+
const path_agent = path + '.agent';
|
|
2570
|
+
let obj_agent_union0 = null;
|
|
2571
|
+
const obj_agent_union0_error = (() => {
|
|
2572
|
+
if (typeof obj_agent !== 'string') {
|
|
2573
|
+
return new TypeError('Expected "string" but received "' + typeof obj_agent + '" (at "' + path_agent + '")');
|
|
2574
|
+
}
|
|
2575
|
+
})();
|
|
2576
|
+
if (obj_agent_union0_error != null) {
|
|
2577
|
+
obj_agent_union0 = obj_agent_union0_error.message;
|
|
2578
|
+
}
|
|
2579
|
+
let obj_agent_union1 = null;
|
|
2580
|
+
const obj_agent_union1_error = (() => {
|
|
2581
|
+
if (obj_agent !== null) {
|
|
2582
|
+
return new TypeError('Expected "null" but received "' + typeof obj_agent + '" (at "' + path_agent + '")');
|
|
2583
|
+
}
|
|
2584
|
+
})();
|
|
2585
|
+
if (obj_agent_union1_error != null) {
|
|
2586
|
+
obj_agent_union1 = obj_agent_union1_error.message;
|
|
2587
|
+
}
|
|
2588
|
+
if (obj_agent_union0 && obj_agent_union1) {
|
|
2589
|
+
let message = 'Object doesn\'t match union (at "' + path_agent + '")';
|
|
2590
|
+
message += '\n' + obj_agent_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2591
|
+
message += '\n' + obj_agent_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2592
|
+
return new TypeError(message);
|
|
2593
|
+
}
|
|
2594
|
+
}
|
|
2567
2595
|
const obj_alertName = obj.alertName;
|
|
2568
2596
|
const path_alertName = path + '.alertName';
|
|
2569
2597
|
if (typeof obj_alertName !== 'string') {
|
|
@@ -2771,6 +2799,7 @@ const createDataAlert_ConfigPropertyMetadata = [
|
|
|
2771
2799
|
generateParamConfigMetadata('schedule', true, 2 /* Body */, 4 /* Unsupported */),
|
|
2772
2800
|
generateParamConfigMetadata('thresholds', true, 2 /* Body */, 4 /* Unsupported */),
|
|
2773
2801
|
generateParamConfigMetadata('utterance', true, 2 /* Body */, 0 /* String */),
|
|
2802
|
+
generateParamConfigMetadata('agent', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2774
2803
|
];
|
|
2775
2804
|
const createDataAlert_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$W, createDataAlert_ConfigPropertyMetadata);
|
|
2776
2805
|
const createResourceParams$W = /*#__PURE__*/ createResourceParams$_(createDataAlert_ConfigPropertyMetadata);
|
|
@@ -2797,6 +2826,13 @@ function typeCheckConfig$W(untrustedConfig) {
|
|
|
2797
2826
|
if (referenceDataAlertThresholdsInputRepresentationValidationError === null) {
|
|
2798
2827
|
config.thresholds = untrustedConfig_thresholds;
|
|
2799
2828
|
}
|
|
2829
|
+
const untrustedConfig_agent = untrustedConfig.agent;
|
|
2830
|
+
if (typeof untrustedConfig_agent === 'string') {
|
|
2831
|
+
config.agent = untrustedConfig_agent;
|
|
2832
|
+
}
|
|
2833
|
+
if (untrustedConfig_agent === null) {
|
|
2834
|
+
config.agent = untrustedConfig_agent;
|
|
2835
|
+
}
|
|
2800
2836
|
return config;
|
|
2801
2837
|
}
|
|
2802
2838
|
function validateAdapterConfig$W(untrustedConfig, configPropertyNames) {
|
|
@@ -3134,7 +3170,7 @@ function validate$T(obj, path = 'DataAssetRequestAdditionalInfoRepresentation')
|
|
|
3134
3170
|
}
|
|
3135
3171
|
|
|
3136
3172
|
const TTL$q = 500;
|
|
3137
|
-
const VERSION$C = "
|
|
3173
|
+
const VERSION$C = "1d2e5c2c71da23d28ca538bf1ec5ea7f";
|
|
3138
3174
|
function validate$S(obj, path = 'DataAssetRequestRepresentation') {
|
|
3139
3175
|
const v_error = (() => {
|
|
3140
3176
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3421,6 +3457,34 @@ function validate$S(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3421
3457
|
message += '\n' + obj_failedDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3422
3458
|
return new TypeError(message);
|
|
3423
3459
|
}
|
|
3460
|
+
if (obj.hasUnsupportedDloForGuidedPromotions !== undefined) {
|
|
3461
|
+
const obj_hasUnsupportedDloForGuidedPromotions = obj.hasUnsupportedDloForGuidedPromotions;
|
|
3462
|
+
const path_hasUnsupportedDloForGuidedPromotions = path + '.hasUnsupportedDloForGuidedPromotions';
|
|
3463
|
+
let obj_hasUnsupportedDloForGuidedPromotions_union0 = null;
|
|
3464
|
+
const obj_hasUnsupportedDloForGuidedPromotions_union0_error = (() => {
|
|
3465
|
+
if (typeof obj_hasUnsupportedDloForGuidedPromotions !== 'boolean') {
|
|
3466
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_hasUnsupportedDloForGuidedPromotions + '" (at "' + path_hasUnsupportedDloForGuidedPromotions + '")');
|
|
3467
|
+
}
|
|
3468
|
+
})();
|
|
3469
|
+
if (obj_hasUnsupportedDloForGuidedPromotions_union0_error != null) {
|
|
3470
|
+
obj_hasUnsupportedDloForGuidedPromotions_union0 = obj_hasUnsupportedDloForGuidedPromotions_union0_error.message;
|
|
3471
|
+
}
|
|
3472
|
+
let obj_hasUnsupportedDloForGuidedPromotions_union1 = null;
|
|
3473
|
+
const obj_hasUnsupportedDloForGuidedPromotions_union1_error = (() => {
|
|
3474
|
+
if (obj_hasUnsupportedDloForGuidedPromotions !== null) {
|
|
3475
|
+
return new TypeError('Expected "null" but received "' + typeof obj_hasUnsupportedDloForGuidedPromotions + '" (at "' + path_hasUnsupportedDloForGuidedPromotions + '")');
|
|
3476
|
+
}
|
|
3477
|
+
})();
|
|
3478
|
+
if (obj_hasUnsupportedDloForGuidedPromotions_union1_error != null) {
|
|
3479
|
+
obj_hasUnsupportedDloForGuidedPromotions_union1 = obj_hasUnsupportedDloForGuidedPromotions_union1_error.message;
|
|
3480
|
+
}
|
|
3481
|
+
if (obj_hasUnsupportedDloForGuidedPromotions_union0 && obj_hasUnsupportedDloForGuidedPromotions_union1) {
|
|
3482
|
+
let message = 'Object doesn\'t match union (at "' + path_hasUnsupportedDloForGuidedPromotions + '")';
|
|
3483
|
+
message += '\n' + obj_hasUnsupportedDloForGuidedPromotions_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3484
|
+
message += '\n' + obj_hasUnsupportedDloForGuidedPromotions_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3485
|
+
return new TypeError(message);
|
|
3486
|
+
}
|
|
3487
|
+
}
|
|
3424
3488
|
const obj_id = obj.id;
|
|
3425
3489
|
const path_id = path + '.id';
|
|
3426
3490
|
if (typeof obj_id !== 'string') {
|
|
@@ -14606,6 +14670,7 @@ const updateDataAlert_ConfigPropertyMetadata = [
|
|
|
14606
14670
|
generateParamConfigMetadata('schedule', true, 2 /* Body */, 4 /* Unsupported */),
|
|
14607
14671
|
generateParamConfigMetadata('thresholds', true, 2 /* Body */, 4 /* Unsupported */),
|
|
14608
14672
|
generateParamConfigMetadata('utterance', true, 2 /* Body */, 0 /* String */),
|
|
14673
|
+
generateParamConfigMetadata('agent', false, 2 /* Body */, 4 /* Unsupported */),
|
|
14609
14674
|
];
|
|
14610
14675
|
const updateDataAlert_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, updateDataAlert_ConfigPropertyMetadata);
|
|
14611
14676
|
const createResourceParams$6 = /*#__PURE__*/ createResourceParams$_(updateDataAlert_ConfigPropertyMetadata);
|
|
@@ -14632,6 +14697,13 @@ function typeCheckConfig$6(untrustedConfig) {
|
|
|
14632
14697
|
if (referenceDataAlertThresholdsInputRepresentationValidationError === null) {
|
|
14633
14698
|
config.thresholds = untrustedConfig_thresholds;
|
|
14634
14699
|
}
|
|
14700
|
+
const untrustedConfig_agent = untrustedConfig.agent;
|
|
14701
|
+
if (typeof untrustedConfig_agent === 'string') {
|
|
14702
|
+
config.agent = untrustedConfig_agent;
|
|
14703
|
+
}
|
|
14704
|
+
if (untrustedConfig_agent === null) {
|
|
14705
|
+
config.agent = untrustedConfig_agent;
|
|
14706
|
+
}
|
|
14635
14707
|
return config;
|
|
14636
14708
|
}
|
|
14637
14709
|
function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
|
|
@@ -15839,4 +15911,4 @@ withDefaultLuvio((luvio) => {
|
|
|
15839
15911
|
});
|
|
15840
15912
|
|
|
15841
15913
|
export { createAnnotation, createAssetSlackChannel, createDashboard, createDataAlert, createDataAssetRequest, createLoglines, createRecordShares, createTemplate, createVisualization, createWorkspace, createWorkspaceAsset, deleteAllShares, deleteDashboard, deleteDataAlert, deleteRecordShare, deleteVisualization, deleteWorkspace, deleteWorkspaceAsset, follow, generateSFDriveCredentials, generateSFDrivePresignedCredentials, getAnnotations, getAnnotations_imperative, getAssetSlackChannels, getAssetSlackChannels_imperative, getDashboardByName, getDashboardByNameNotifyChange, getDashboardByName_imperative, getDashboards, getDashboards_imperative, getDataAlert, getDataAlertCollection, getDataAlertCollection_imperative, getDataAlertNotifyChange, getDataAlert_imperative, getDataAssetDependencies, getDataAssetDependencies_imperative, getDataAssetRequestByIdOrApiName, getDataAssetRequestByIdOrApiNameNotifyChange, getDataAssetRequestByIdOrApiName_imperative, getDataAssetRequests, getDataAssetRequestsCount, getDataAssetRequestsCount_imperative, getDataAssetRequests_imperative, getFlowByName, getFlowByName_imperative, getFlows, getFlows_imperative, getFollowedAssets, getFollowedAssets_imperative, getFollowers, getFollowers_imperative, getMarketplaceListingInstallationProgress, getMarketplaceListingInstallationProgress_imperative, getOrg, getOrg_imperative, getShares, getShares_imperative, getSlackAppInfo, getSlackAppInfo_imperative, getSubscriptionDigestConfig, getSubscriptionDigestConfigNotifyChange, getSubscriptionDigestConfig_imperative, getUnifiedAnalyticsLibraryAssets, getUniqueFollowerCount, getUniqueFollowerCount_imperative, getVisualization, getVisualizationBundle, getVisualizationBundleNotifyChange, getVisualizationBundle_imperative, getVisualizationNotifyChange, getVisualization_imperative, getVisualizations, getVisualizations_imperative, getWorkspaceByIdOrName, getWorkspaceByIdOrNameNotifyChange, getWorkspaceByIdOrName_imperative, getWorkspaces, getWorkspaces_imperative, initiateMarketplaceListingInstallation, initiateMarketplaceListingInstallation_imperative, notifySharesUpdateAvailable, postDataAlertRun, publish, publishToMarketplace, queryAssets, queryUsers, unfollow, updateDashboard, updateDataAlert, updateDataAssetRequest, updateFollowedAsset, updateRecordShares, updateSubscriptionDigestConfig, updateVisualization, updateWorkspace };
|
|
15842
|
-
// version: 1.404.0-
|
|
15914
|
+
// version: 1.404.0-dev19-909c19a5d0
|
package/src/raml/api.raml
CHANGED
|
@@ -1410,6 +1410,10 @@ types:
|
|
|
1410
1410
|
utterance:
|
|
1411
1411
|
description: user entered utterance
|
|
1412
1412
|
type: string
|
|
1413
|
+
agent:
|
|
1414
|
+
description: ID of the associated BotDefinition agent.
|
|
1415
|
+
type: string | nil
|
|
1416
|
+
required: false
|
|
1413
1417
|
DataAlertNotificationRecipientsInputRepresentation:
|
|
1414
1418
|
description: 'List of UNS recipients for Data alerts. May contain user or group
|
|
1415
1419
|
Ids. '
|
|
@@ -1654,6 +1658,10 @@ types:
|
|
|
1654
1658
|
thresholds:
|
|
1655
1659
|
description: Thresholds to be evaluated.
|
|
1656
1660
|
type: DataAlertThresholdsRepresentation
|
|
1661
|
+
agent:
|
|
1662
|
+
description: ID of the associated BotDefinition agent.
|
|
1663
|
+
type: string | nil
|
|
1664
|
+
required: false
|
|
1657
1665
|
DataAlertScheduleRepresentation:
|
|
1658
1666
|
description: Represents the schedule for a data alert
|
|
1659
1667
|
type: object
|
|
@@ -1940,6 +1948,10 @@ types:
|
|
|
1940
1948
|
enum:
|
|
1941
1949
|
- Bespoke
|
|
1942
1950
|
- Cli
|
|
1951
|
+
hasUnsupportedDloForGuidedPromotions:
|
|
1952
|
+
description: Indicates whether the promotion request includes a DLO that is unsupported for guided promotions (e.g., non-CSV file type)
|
|
1953
|
+
type: boolean | nil
|
|
1954
|
+
required: false
|
|
1943
1955
|
DataSpaceInfoRepresentation:
|
|
1944
1956
|
description: DataSpace Info Representation
|
|
1945
1957
|
type: object
|