@salesforce/lds-adapters-service-ecm 1.453.0 → 1.454.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.
|
@@ -2546,12 +2546,40 @@ function equals$s(existing, incoming) {
|
|
|
2546
2546
|
return true;
|
|
2547
2547
|
}
|
|
2548
2548
|
|
|
2549
|
-
const VERSION$r = "
|
|
2549
|
+
const VERSION$r = "23fe4d1947aa3d80f67e3e11f942ae86";
|
|
2550
2550
|
function validate$z(obj, path = 'IntakeFormOutputRepresentation') {
|
|
2551
2551
|
const v_error = (() => {
|
|
2552
2552
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2553
2553
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2554
2554
|
}
|
|
2555
|
+
if (obj.hasProductIdInput !== undefined) {
|
|
2556
|
+
const obj_hasProductIdInput = obj.hasProductIdInput;
|
|
2557
|
+
const path_hasProductIdInput = path + '.hasProductIdInput';
|
|
2558
|
+
let obj_hasProductIdInput_union0 = null;
|
|
2559
|
+
const obj_hasProductIdInput_union0_error = (() => {
|
|
2560
|
+
if (typeof obj_hasProductIdInput !== 'boolean') {
|
|
2561
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_hasProductIdInput + '" (at "' + path_hasProductIdInput + '")');
|
|
2562
|
+
}
|
|
2563
|
+
})();
|
|
2564
|
+
if (obj_hasProductIdInput_union0_error != null) {
|
|
2565
|
+
obj_hasProductIdInput_union0 = obj_hasProductIdInput_union0_error.message;
|
|
2566
|
+
}
|
|
2567
|
+
let obj_hasProductIdInput_union1 = null;
|
|
2568
|
+
const obj_hasProductIdInput_union1_error = (() => {
|
|
2569
|
+
if (obj_hasProductIdInput !== null) {
|
|
2570
|
+
return new TypeError('Expected "null" but received "' + typeof obj_hasProductIdInput + '" (at "' + path_hasProductIdInput + '")');
|
|
2571
|
+
}
|
|
2572
|
+
})();
|
|
2573
|
+
if (obj_hasProductIdInput_union1_error != null) {
|
|
2574
|
+
obj_hasProductIdInput_union1 = obj_hasProductIdInput_union1_error.message;
|
|
2575
|
+
}
|
|
2576
|
+
if (obj_hasProductIdInput_union0 && obj_hasProductIdInput_union1) {
|
|
2577
|
+
let message = 'Object doesn\'t match union (at "' + path_hasProductIdInput + '")';
|
|
2578
|
+
message += '\n' + obj_hasProductIdInput_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2579
|
+
message += '\n' + obj_hasProductIdInput_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2580
|
+
return new TypeError(message);
|
|
2581
|
+
}
|
|
2582
|
+
}
|
|
2555
2583
|
if (obj.id !== undefined) {
|
|
2556
2584
|
const obj_id = obj.id;
|
|
2557
2585
|
const path_id = path + '.id';
|
|
@@ -2841,6 +2869,11 @@ const select$H = function IntakeFormOutputRepresentationSelect() {
|
|
|
2841
2869
|
version: VERSION$r,
|
|
2842
2870
|
private: [],
|
|
2843
2871
|
selections: [
|
|
2872
|
+
{
|
|
2873
|
+
name: 'hasProductIdInput',
|
|
2874
|
+
kind: 'Scalar',
|
|
2875
|
+
required: false
|
|
2876
|
+
},
|
|
2844
2877
|
{
|
|
2845
2878
|
name: 'id',
|
|
2846
2879
|
kind: 'Scalar',
|
|
@@ -2895,6 +2928,19 @@ const select$H = function IntakeFormOutputRepresentationSelect() {
|
|
|
2895
2928
|
};
|
|
2896
2929
|
};
|
|
2897
2930
|
function equals$r(existing, incoming) {
|
|
2931
|
+
const existing_hasProductIdInput = existing.hasProductIdInput;
|
|
2932
|
+
const incoming_hasProductIdInput = incoming.hasProductIdInput;
|
|
2933
|
+
// if at least one of these optionals is defined
|
|
2934
|
+
if (existing_hasProductIdInput !== undefined || incoming_hasProductIdInput !== undefined) {
|
|
2935
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2936
|
+
// not equal
|
|
2937
|
+
if (existing_hasProductIdInput === undefined || incoming_hasProductIdInput === undefined) {
|
|
2938
|
+
return false;
|
|
2939
|
+
}
|
|
2940
|
+
if (!(existing_hasProductIdInput === incoming_hasProductIdInput)) {
|
|
2941
|
+
return false;
|
|
2942
|
+
}
|
|
2943
|
+
}
|
|
2898
2944
|
const existing_id = existing.id;
|
|
2899
2945
|
const incoming_id = incoming.id;
|
|
2900
2946
|
// if at least one of these optionals is defined
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "23fe4d1947aa3d80f67e3e11f942ae86";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: IntakeFormOutputRepresentation, existing: IntakeFormOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): IntakeFormOutputRepresentationNormalized;
|
|
@@ -14,6 +14,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
14
14
|
* (none)
|
|
15
15
|
*/
|
|
16
16
|
export interface IntakeFormOutputRepresentationNormalized {
|
|
17
|
+
/** Indicates whether the active intake flow version has a productId input variable (true) or not (false). */
|
|
18
|
+
hasProductIdInput?: boolean | null;
|
|
17
19
|
/** Id */
|
|
18
20
|
id?: string | null;
|
|
19
21
|
/** Intake Form Id */
|
|
@@ -42,6 +44,7 @@ export interface IntakeFormOutputRepresentationNormalized {
|
|
|
42
44
|
* (none)
|
|
43
45
|
*/
|
|
44
46
|
export interface IntakeFormOutputRepresentation {
|
|
47
|
+
hasProductIdInput?: boolean | null;
|
|
45
48
|
id?: string | null;
|
|
46
49
|
intakeFormId?: string | null;
|
|
47
50
|
omniProcessId?: string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-service-ecm",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.454.0",
|
|
4
4
|
"description": "Service Automation Request",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/service-ecm.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.454.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.454.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -3565,12 +3565,40 @@ function equals$o(existing, incoming) {
|
|
|
3565
3565
|
return true;
|
|
3566
3566
|
}
|
|
3567
3567
|
|
|
3568
|
-
const VERSION$n = "
|
|
3568
|
+
const VERSION$n = "23fe4d1947aa3d80f67e3e11f942ae86";
|
|
3569
3569
|
function validate$v(obj, path = 'IntakeFormOutputRepresentation') {
|
|
3570
3570
|
const v_error = (() => {
|
|
3571
3571
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3572
3572
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3573
3573
|
}
|
|
3574
|
+
if (obj.hasProductIdInput !== undefined) {
|
|
3575
|
+
const obj_hasProductIdInput = obj.hasProductIdInput;
|
|
3576
|
+
const path_hasProductIdInput = path + '.hasProductIdInput';
|
|
3577
|
+
let obj_hasProductIdInput_union0 = null;
|
|
3578
|
+
const obj_hasProductIdInput_union0_error = (() => {
|
|
3579
|
+
if (typeof obj_hasProductIdInput !== 'boolean') {
|
|
3580
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_hasProductIdInput + '" (at "' + path_hasProductIdInput + '")');
|
|
3581
|
+
}
|
|
3582
|
+
})();
|
|
3583
|
+
if (obj_hasProductIdInput_union0_error != null) {
|
|
3584
|
+
obj_hasProductIdInput_union0 = obj_hasProductIdInput_union0_error.message;
|
|
3585
|
+
}
|
|
3586
|
+
let obj_hasProductIdInput_union1 = null;
|
|
3587
|
+
const obj_hasProductIdInput_union1_error = (() => {
|
|
3588
|
+
if (obj_hasProductIdInput !== null) {
|
|
3589
|
+
return new TypeError('Expected "null" but received "' + typeof obj_hasProductIdInput + '" (at "' + path_hasProductIdInput + '")');
|
|
3590
|
+
}
|
|
3591
|
+
})();
|
|
3592
|
+
if (obj_hasProductIdInput_union1_error != null) {
|
|
3593
|
+
obj_hasProductIdInput_union1 = obj_hasProductIdInput_union1_error.message;
|
|
3594
|
+
}
|
|
3595
|
+
if (obj_hasProductIdInput_union0 && obj_hasProductIdInput_union1) {
|
|
3596
|
+
let message = 'Object doesn\'t match union (at "' + path_hasProductIdInput + '")';
|
|
3597
|
+
message += '\n' + obj_hasProductIdInput_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3598
|
+
message += '\n' + obj_hasProductIdInput_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3599
|
+
return new TypeError(message);
|
|
3600
|
+
}
|
|
3601
|
+
}
|
|
3574
3602
|
if (obj.id !== undefined) {
|
|
3575
3603
|
const obj_id = obj.id;
|
|
3576
3604
|
const path_id = path + '.id';
|
|
@@ -3860,6 +3888,11 @@ const select$B = function IntakeFormOutputRepresentationSelect() {
|
|
|
3860
3888
|
version: VERSION$n,
|
|
3861
3889
|
private: [],
|
|
3862
3890
|
selections: [
|
|
3891
|
+
{
|
|
3892
|
+
name: 'hasProductIdInput',
|
|
3893
|
+
kind: 'Scalar',
|
|
3894
|
+
required: false
|
|
3895
|
+
},
|
|
3863
3896
|
{
|
|
3864
3897
|
name: 'id',
|
|
3865
3898
|
kind: 'Scalar',
|
|
@@ -3914,6 +3947,19 @@ const select$B = function IntakeFormOutputRepresentationSelect() {
|
|
|
3914
3947
|
};
|
|
3915
3948
|
};
|
|
3916
3949
|
function equals$n(existing, incoming) {
|
|
3950
|
+
const existing_hasProductIdInput = existing.hasProductIdInput;
|
|
3951
|
+
const incoming_hasProductIdInput = incoming.hasProductIdInput;
|
|
3952
|
+
// if at least one of these optionals is defined
|
|
3953
|
+
if (existing_hasProductIdInput !== undefined || incoming_hasProductIdInput !== undefined) {
|
|
3954
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3955
|
+
// not equal
|
|
3956
|
+
if (existing_hasProductIdInput === undefined || incoming_hasProductIdInput === undefined) {
|
|
3957
|
+
return false;
|
|
3958
|
+
}
|
|
3959
|
+
if (!(existing_hasProductIdInput === incoming_hasProductIdInput)) {
|
|
3960
|
+
return false;
|
|
3961
|
+
}
|
|
3962
|
+
}
|
|
3917
3963
|
const existing_id = existing.id;
|
|
3918
3964
|
const incoming_id = incoming.id;
|
|
3919
3965
|
// if at least one of these optionals is defined
|
|
@@ -12664,4 +12710,4 @@ withDefaultLuvio((luvio) => {
|
|
|
12664
12710
|
});
|
|
12665
12711
|
|
|
12666
12712
|
export { createAgentAction, createAgentFlow, createCatalogItem, deployTemplate, downloadServiceProcessTemplate, downloadServiceProcessTemplate_imperative, generateIntakeForm, generateOmniScript, getAgentActions, getAgentActions_imperative, getAllServiceAutomationDep, getAllServiceAutomationDep_imperative, getAllServiceProcessTemplate, getAllServiceProcessTemplate_imperative, getCatalogItem, getCatalogItem_imperative, getEligibilityRuleMetadata, getEligibilityRuleMetadata_imperative, getServiceRequest, getServiceRequest_imperative, saveEligibilityRule, updateCatalogItem, updateEpcCategories };
|
|
12667
|
-
// version: 1.
|
|
12713
|
+
// version: 1.454.0-761808c4e9
|
package/src/raml/api.raml
CHANGED
|
@@ -797,6 +797,10 @@ types:
|
|
|
797
797
|
description: Output Representation for Intake Forms
|
|
798
798
|
type: object
|
|
799
799
|
properties:
|
|
800
|
+
hasProductIdInput:
|
|
801
|
+
required: false
|
|
802
|
+
description: Indicates whether the active intake flow version has a productId input variable (true) or not (false).
|
|
803
|
+
type: boolean | nil
|
|
800
804
|
id:
|
|
801
805
|
required: false
|
|
802
806
|
description: Id
|