@salesforce/lds-adapters-service-ecm 1.451.0-dev1 → 1.451.0-dev10
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';
|
|
@@ -2720,6 +2748,62 @@ function validate$z(obj, path = 'IntakeFormOutputRepresentation') {
|
|
|
2720
2748
|
return new TypeError(message);
|
|
2721
2749
|
}
|
|
2722
2750
|
}
|
|
2751
|
+
if (obj.supportsProcessTypeIdInput !== undefined) {
|
|
2752
|
+
const obj_supportsProcessTypeIdInput = obj.supportsProcessTypeIdInput;
|
|
2753
|
+
const path_supportsProcessTypeIdInput = path + '.supportsProcessTypeIdInput';
|
|
2754
|
+
let obj_supportsProcessTypeIdInput_union0 = null;
|
|
2755
|
+
const obj_supportsProcessTypeIdInput_union0_error = (() => {
|
|
2756
|
+
if (typeof obj_supportsProcessTypeIdInput !== 'boolean') {
|
|
2757
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_supportsProcessTypeIdInput + '" (at "' + path_supportsProcessTypeIdInput + '")');
|
|
2758
|
+
}
|
|
2759
|
+
})();
|
|
2760
|
+
if (obj_supportsProcessTypeIdInput_union0_error != null) {
|
|
2761
|
+
obj_supportsProcessTypeIdInput_union0 = obj_supportsProcessTypeIdInput_union0_error.message;
|
|
2762
|
+
}
|
|
2763
|
+
let obj_supportsProcessTypeIdInput_union1 = null;
|
|
2764
|
+
const obj_supportsProcessTypeIdInput_union1_error = (() => {
|
|
2765
|
+
if (obj_supportsProcessTypeIdInput !== null) {
|
|
2766
|
+
return new TypeError('Expected "null" but received "' + typeof obj_supportsProcessTypeIdInput + '" (at "' + path_supportsProcessTypeIdInput + '")');
|
|
2767
|
+
}
|
|
2768
|
+
})();
|
|
2769
|
+
if (obj_supportsProcessTypeIdInput_union1_error != null) {
|
|
2770
|
+
obj_supportsProcessTypeIdInput_union1 = obj_supportsProcessTypeIdInput_union1_error.message;
|
|
2771
|
+
}
|
|
2772
|
+
if (obj_supportsProcessTypeIdInput_union0 && obj_supportsProcessTypeIdInput_union1) {
|
|
2773
|
+
let message = 'Object doesn\'t match union (at "' + path_supportsProcessTypeIdInput + '")';
|
|
2774
|
+
message += '\n' + obj_supportsProcessTypeIdInput_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2775
|
+
message += '\n' + obj_supportsProcessTypeIdInput_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2776
|
+
return new TypeError(message);
|
|
2777
|
+
}
|
|
2778
|
+
}
|
|
2779
|
+
if (obj.supportsSubmitUpdate !== undefined) {
|
|
2780
|
+
const obj_supportsSubmitUpdate = obj.supportsSubmitUpdate;
|
|
2781
|
+
const path_supportsSubmitUpdate = path + '.supportsSubmitUpdate';
|
|
2782
|
+
let obj_supportsSubmitUpdate_union0 = null;
|
|
2783
|
+
const obj_supportsSubmitUpdate_union0_error = (() => {
|
|
2784
|
+
if (typeof obj_supportsSubmitUpdate !== 'boolean') {
|
|
2785
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_supportsSubmitUpdate + '" (at "' + path_supportsSubmitUpdate + '")');
|
|
2786
|
+
}
|
|
2787
|
+
})();
|
|
2788
|
+
if (obj_supportsSubmitUpdate_union0_error != null) {
|
|
2789
|
+
obj_supportsSubmitUpdate_union0 = obj_supportsSubmitUpdate_union0_error.message;
|
|
2790
|
+
}
|
|
2791
|
+
let obj_supportsSubmitUpdate_union1 = null;
|
|
2792
|
+
const obj_supportsSubmitUpdate_union1_error = (() => {
|
|
2793
|
+
if (obj_supportsSubmitUpdate !== null) {
|
|
2794
|
+
return new TypeError('Expected "null" but received "' + typeof obj_supportsSubmitUpdate + '" (at "' + path_supportsSubmitUpdate + '")');
|
|
2795
|
+
}
|
|
2796
|
+
})();
|
|
2797
|
+
if (obj_supportsSubmitUpdate_union1_error != null) {
|
|
2798
|
+
obj_supportsSubmitUpdate_union1 = obj_supportsSubmitUpdate_union1_error.message;
|
|
2799
|
+
}
|
|
2800
|
+
if (obj_supportsSubmitUpdate_union0 && obj_supportsSubmitUpdate_union1) {
|
|
2801
|
+
let message = 'Object doesn\'t match union (at "' + path_supportsSubmitUpdate + '")';
|
|
2802
|
+
message += '\n' + obj_supportsSubmitUpdate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2803
|
+
message += '\n' + obj_supportsSubmitUpdate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2804
|
+
return new TypeError(message);
|
|
2805
|
+
}
|
|
2806
|
+
}
|
|
2723
2807
|
if (obj.type !== undefined) {
|
|
2724
2808
|
const obj_type = obj.type;
|
|
2725
2809
|
const path_type = path + '.type';
|
|
@@ -2785,6 +2869,11 @@ const select$H = function IntakeFormOutputRepresentationSelect() {
|
|
|
2785
2869
|
version: VERSION$r,
|
|
2786
2870
|
private: [],
|
|
2787
2871
|
selections: [
|
|
2872
|
+
{
|
|
2873
|
+
name: 'hasProductIdInput',
|
|
2874
|
+
kind: 'Scalar',
|
|
2875
|
+
required: false
|
|
2876
|
+
},
|
|
2788
2877
|
{
|
|
2789
2878
|
name: 'id',
|
|
2790
2879
|
kind: 'Scalar',
|
|
@@ -2815,6 +2904,16 @@ const select$H = function IntakeFormOutputRepresentationSelect() {
|
|
|
2815
2904
|
kind: 'Scalar',
|
|
2816
2905
|
required: false
|
|
2817
2906
|
},
|
|
2907
|
+
{
|
|
2908
|
+
name: 'supportsProcessTypeIdInput',
|
|
2909
|
+
kind: 'Scalar',
|
|
2910
|
+
required: false
|
|
2911
|
+
},
|
|
2912
|
+
{
|
|
2913
|
+
name: 'supportsSubmitUpdate',
|
|
2914
|
+
kind: 'Scalar',
|
|
2915
|
+
required: false
|
|
2916
|
+
},
|
|
2818
2917
|
{
|
|
2819
2918
|
name: 'type',
|
|
2820
2919
|
kind: 'Scalar',
|
|
@@ -2829,6 +2928,19 @@ const select$H = function IntakeFormOutputRepresentationSelect() {
|
|
|
2829
2928
|
};
|
|
2830
2929
|
};
|
|
2831
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
|
+
}
|
|
2832
2944
|
const existing_id = existing.id;
|
|
2833
2945
|
const incoming_id = incoming.id;
|
|
2834
2946
|
// if at least one of these optionals is defined
|
|
@@ -2907,6 +3019,32 @@ function equals$r(existing, incoming) {
|
|
|
2907
3019
|
return false;
|
|
2908
3020
|
}
|
|
2909
3021
|
}
|
|
3022
|
+
const existing_supportsProcessTypeIdInput = existing.supportsProcessTypeIdInput;
|
|
3023
|
+
const incoming_supportsProcessTypeIdInput = incoming.supportsProcessTypeIdInput;
|
|
3024
|
+
// if at least one of these optionals is defined
|
|
3025
|
+
if (existing_supportsProcessTypeIdInput !== undefined || incoming_supportsProcessTypeIdInput !== undefined) {
|
|
3026
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3027
|
+
// not equal
|
|
3028
|
+
if (existing_supportsProcessTypeIdInput === undefined || incoming_supportsProcessTypeIdInput === undefined) {
|
|
3029
|
+
return false;
|
|
3030
|
+
}
|
|
3031
|
+
if (!(existing_supportsProcessTypeIdInput === incoming_supportsProcessTypeIdInput)) {
|
|
3032
|
+
return false;
|
|
3033
|
+
}
|
|
3034
|
+
}
|
|
3035
|
+
const existing_supportsSubmitUpdate = existing.supportsSubmitUpdate;
|
|
3036
|
+
const incoming_supportsSubmitUpdate = incoming.supportsSubmitUpdate;
|
|
3037
|
+
// if at least one of these optionals is defined
|
|
3038
|
+
if (existing_supportsSubmitUpdate !== undefined || incoming_supportsSubmitUpdate !== undefined) {
|
|
3039
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3040
|
+
// not equal
|
|
3041
|
+
if (existing_supportsSubmitUpdate === undefined || incoming_supportsSubmitUpdate === undefined) {
|
|
3042
|
+
return false;
|
|
3043
|
+
}
|
|
3044
|
+
if (!(existing_supportsSubmitUpdate === incoming_supportsSubmitUpdate)) {
|
|
3045
|
+
return false;
|
|
3046
|
+
}
|
|
3047
|
+
}
|
|
2910
3048
|
const existing_type = existing.type;
|
|
2911
3049
|
const incoming_type = incoming.type;
|
|
2912
3050
|
// 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 */
|
|
@@ -26,6 +28,10 @@ export interface IntakeFormOutputRepresentationNormalized {
|
|
|
26
28
|
omniScriptSubType?: string | null;
|
|
27
29
|
/** OmniScript Type */
|
|
28
30
|
omniScriptType?: string | null;
|
|
31
|
+
/** Indicates whether users can enter the process type ID (true) or not (false). The default value is false. */
|
|
32
|
+
supportsProcessTypeIdInput?: boolean | null;
|
|
33
|
+
/** Indicates whether users can submit the request changes (true) or not (false). The default value is false. */
|
|
34
|
+
supportsSubmitUpdate?: boolean | null;
|
|
29
35
|
/** Intake Form Type */
|
|
30
36
|
type?: string | null;
|
|
31
37
|
/** Unique Name */
|
|
@@ -38,12 +44,15 @@ export interface IntakeFormOutputRepresentationNormalized {
|
|
|
38
44
|
* (none)
|
|
39
45
|
*/
|
|
40
46
|
export interface IntakeFormOutputRepresentation {
|
|
47
|
+
hasProductIdInput?: boolean | null;
|
|
41
48
|
id?: string | null;
|
|
42
49
|
intakeFormId?: string | null;
|
|
43
50
|
omniProcessId?: string | null;
|
|
44
51
|
omniScriptLanguage?: string | null;
|
|
45
52
|
omniScriptSubType?: string | null;
|
|
46
53
|
omniScriptType?: string | null;
|
|
54
|
+
supportsProcessTypeIdInput?: boolean | null;
|
|
55
|
+
supportsSubmitUpdate?: boolean | null;
|
|
47
56
|
type?: string | null;
|
|
48
57
|
uniqueName?: string | null;
|
|
49
58
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-service-ecm",
|
|
3
|
-
"version": "1.451.0-
|
|
3
|
+
"version": "1.451.0-dev10",
|
|
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.451.0-
|
|
43
|
+
"@salesforce/lds-bindings": "^1.451.0-dev10"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.451.0-
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.451.0-dev10"
|
|
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';
|
|
@@ -3739,6 +3767,62 @@ function validate$v(obj, path = 'IntakeFormOutputRepresentation') {
|
|
|
3739
3767
|
return new TypeError(message);
|
|
3740
3768
|
}
|
|
3741
3769
|
}
|
|
3770
|
+
if (obj.supportsProcessTypeIdInput !== undefined) {
|
|
3771
|
+
const obj_supportsProcessTypeIdInput = obj.supportsProcessTypeIdInput;
|
|
3772
|
+
const path_supportsProcessTypeIdInput = path + '.supportsProcessTypeIdInput';
|
|
3773
|
+
let obj_supportsProcessTypeIdInput_union0 = null;
|
|
3774
|
+
const obj_supportsProcessTypeIdInput_union0_error = (() => {
|
|
3775
|
+
if (typeof obj_supportsProcessTypeIdInput !== 'boolean') {
|
|
3776
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_supportsProcessTypeIdInput + '" (at "' + path_supportsProcessTypeIdInput + '")');
|
|
3777
|
+
}
|
|
3778
|
+
})();
|
|
3779
|
+
if (obj_supportsProcessTypeIdInput_union0_error != null) {
|
|
3780
|
+
obj_supportsProcessTypeIdInput_union0 = obj_supportsProcessTypeIdInput_union0_error.message;
|
|
3781
|
+
}
|
|
3782
|
+
let obj_supportsProcessTypeIdInput_union1 = null;
|
|
3783
|
+
const obj_supportsProcessTypeIdInput_union1_error = (() => {
|
|
3784
|
+
if (obj_supportsProcessTypeIdInput !== null) {
|
|
3785
|
+
return new TypeError('Expected "null" but received "' + typeof obj_supportsProcessTypeIdInput + '" (at "' + path_supportsProcessTypeIdInput + '")');
|
|
3786
|
+
}
|
|
3787
|
+
})();
|
|
3788
|
+
if (obj_supportsProcessTypeIdInput_union1_error != null) {
|
|
3789
|
+
obj_supportsProcessTypeIdInput_union1 = obj_supportsProcessTypeIdInput_union1_error.message;
|
|
3790
|
+
}
|
|
3791
|
+
if (obj_supportsProcessTypeIdInput_union0 && obj_supportsProcessTypeIdInput_union1) {
|
|
3792
|
+
let message = 'Object doesn\'t match union (at "' + path_supportsProcessTypeIdInput + '")';
|
|
3793
|
+
message += '\n' + obj_supportsProcessTypeIdInput_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3794
|
+
message += '\n' + obj_supportsProcessTypeIdInput_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3795
|
+
return new TypeError(message);
|
|
3796
|
+
}
|
|
3797
|
+
}
|
|
3798
|
+
if (obj.supportsSubmitUpdate !== undefined) {
|
|
3799
|
+
const obj_supportsSubmitUpdate = obj.supportsSubmitUpdate;
|
|
3800
|
+
const path_supportsSubmitUpdate = path + '.supportsSubmitUpdate';
|
|
3801
|
+
let obj_supportsSubmitUpdate_union0 = null;
|
|
3802
|
+
const obj_supportsSubmitUpdate_union0_error = (() => {
|
|
3803
|
+
if (typeof obj_supportsSubmitUpdate !== 'boolean') {
|
|
3804
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_supportsSubmitUpdate + '" (at "' + path_supportsSubmitUpdate + '")');
|
|
3805
|
+
}
|
|
3806
|
+
})();
|
|
3807
|
+
if (obj_supportsSubmitUpdate_union0_error != null) {
|
|
3808
|
+
obj_supportsSubmitUpdate_union0 = obj_supportsSubmitUpdate_union0_error.message;
|
|
3809
|
+
}
|
|
3810
|
+
let obj_supportsSubmitUpdate_union1 = null;
|
|
3811
|
+
const obj_supportsSubmitUpdate_union1_error = (() => {
|
|
3812
|
+
if (obj_supportsSubmitUpdate !== null) {
|
|
3813
|
+
return new TypeError('Expected "null" but received "' + typeof obj_supportsSubmitUpdate + '" (at "' + path_supportsSubmitUpdate + '")');
|
|
3814
|
+
}
|
|
3815
|
+
})();
|
|
3816
|
+
if (obj_supportsSubmitUpdate_union1_error != null) {
|
|
3817
|
+
obj_supportsSubmitUpdate_union1 = obj_supportsSubmitUpdate_union1_error.message;
|
|
3818
|
+
}
|
|
3819
|
+
if (obj_supportsSubmitUpdate_union0 && obj_supportsSubmitUpdate_union1) {
|
|
3820
|
+
let message = 'Object doesn\'t match union (at "' + path_supportsSubmitUpdate + '")';
|
|
3821
|
+
message += '\n' + obj_supportsSubmitUpdate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3822
|
+
message += '\n' + obj_supportsSubmitUpdate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3823
|
+
return new TypeError(message);
|
|
3824
|
+
}
|
|
3825
|
+
}
|
|
3742
3826
|
if (obj.type !== undefined) {
|
|
3743
3827
|
const obj_type = obj.type;
|
|
3744
3828
|
const path_type = path + '.type';
|
|
@@ -3804,6 +3888,11 @@ const select$B = function IntakeFormOutputRepresentationSelect() {
|
|
|
3804
3888
|
version: VERSION$n,
|
|
3805
3889
|
private: [],
|
|
3806
3890
|
selections: [
|
|
3891
|
+
{
|
|
3892
|
+
name: 'hasProductIdInput',
|
|
3893
|
+
kind: 'Scalar',
|
|
3894
|
+
required: false
|
|
3895
|
+
},
|
|
3807
3896
|
{
|
|
3808
3897
|
name: 'id',
|
|
3809
3898
|
kind: 'Scalar',
|
|
@@ -3834,6 +3923,16 @@ const select$B = function IntakeFormOutputRepresentationSelect() {
|
|
|
3834
3923
|
kind: 'Scalar',
|
|
3835
3924
|
required: false
|
|
3836
3925
|
},
|
|
3926
|
+
{
|
|
3927
|
+
name: 'supportsProcessTypeIdInput',
|
|
3928
|
+
kind: 'Scalar',
|
|
3929
|
+
required: false
|
|
3930
|
+
},
|
|
3931
|
+
{
|
|
3932
|
+
name: 'supportsSubmitUpdate',
|
|
3933
|
+
kind: 'Scalar',
|
|
3934
|
+
required: false
|
|
3935
|
+
},
|
|
3837
3936
|
{
|
|
3838
3937
|
name: 'type',
|
|
3839
3938
|
kind: 'Scalar',
|
|
@@ -3848,6 +3947,19 @@ const select$B = function IntakeFormOutputRepresentationSelect() {
|
|
|
3848
3947
|
};
|
|
3849
3948
|
};
|
|
3850
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
|
+
}
|
|
3851
3963
|
const existing_id = existing.id;
|
|
3852
3964
|
const incoming_id = incoming.id;
|
|
3853
3965
|
// if at least one of these optionals is defined
|
|
@@ -3926,6 +4038,32 @@ function equals$n(existing, incoming) {
|
|
|
3926
4038
|
return false;
|
|
3927
4039
|
}
|
|
3928
4040
|
}
|
|
4041
|
+
const existing_supportsProcessTypeIdInput = existing.supportsProcessTypeIdInput;
|
|
4042
|
+
const incoming_supportsProcessTypeIdInput = incoming.supportsProcessTypeIdInput;
|
|
4043
|
+
// if at least one of these optionals is defined
|
|
4044
|
+
if (existing_supportsProcessTypeIdInput !== undefined || incoming_supportsProcessTypeIdInput !== undefined) {
|
|
4045
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4046
|
+
// not equal
|
|
4047
|
+
if (existing_supportsProcessTypeIdInput === undefined || incoming_supportsProcessTypeIdInput === undefined) {
|
|
4048
|
+
return false;
|
|
4049
|
+
}
|
|
4050
|
+
if (!(existing_supportsProcessTypeIdInput === incoming_supportsProcessTypeIdInput)) {
|
|
4051
|
+
return false;
|
|
4052
|
+
}
|
|
4053
|
+
}
|
|
4054
|
+
const existing_supportsSubmitUpdate = existing.supportsSubmitUpdate;
|
|
4055
|
+
const incoming_supportsSubmitUpdate = incoming.supportsSubmitUpdate;
|
|
4056
|
+
// if at least one of these optionals is defined
|
|
4057
|
+
if (existing_supportsSubmitUpdate !== undefined || incoming_supportsSubmitUpdate !== undefined) {
|
|
4058
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4059
|
+
// not equal
|
|
4060
|
+
if (existing_supportsSubmitUpdate === undefined || incoming_supportsSubmitUpdate === undefined) {
|
|
4061
|
+
return false;
|
|
4062
|
+
}
|
|
4063
|
+
if (!(existing_supportsSubmitUpdate === incoming_supportsSubmitUpdate)) {
|
|
4064
|
+
return false;
|
|
4065
|
+
}
|
|
4066
|
+
}
|
|
3929
4067
|
const existing_type = existing.type;
|
|
3930
4068
|
const incoming_type = incoming.type;
|
|
3931
4069
|
// if at least one of these optionals is defined
|
|
@@ -12572,4 +12710,4 @@ withDefaultLuvio((luvio) => {
|
|
|
12572
12710
|
});
|
|
12573
12711
|
|
|
12574
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 };
|
|
12575
|
-
// version: 1.451.0-
|
|
12713
|
+
// version: 1.451.0-dev10-1dd3380fb3
|
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
|
|
@@ -821,6 +825,14 @@ types:
|
|
|
821
825
|
required: false
|
|
822
826
|
description: OmniScript Type
|
|
823
827
|
type: string | nil
|
|
828
|
+
supportsProcessTypeIdInput:
|
|
829
|
+
required: false
|
|
830
|
+
description: Indicates whether users can enter the process type ID (true) or not (false). The default value is false.
|
|
831
|
+
type: boolean | nil
|
|
832
|
+
supportsSubmitUpdate:
|
|
833
|
+
required: false
|
|
834
|
+
description: Indicates whether users can submit the request changes (true) or not (false). The default value is false.
|
|
835
|
+
type: boolean | nil
|
|
824
836
|
type:
|
|
825
837
|
required: false
|
|
826
838
|
description: Intake Form Type
|