@salesforce/lds-adapters-industries-clm 1.206.0 → 1.208.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/es/es2018/industries-clm.js +65 -112
- package/package.json +1 -1
- package/sfdc/index.js +66 -113
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* For full license text, see the LICENSE.txt file
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { serializeStructuredKey, deepFreeze, StoreKeyMap } from '@luvio/engine';
|
|
7
|
+
import { serializeStructuredKey, deepFreeze, StoreKeyMap, typeCheckScalars, typeCheckArrayOfScalars } from '@luvio/engine';
|
|
8
8
|
|
|
9
9
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
10
10
|
const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
|
|
@@ -257,10 +257,9 @@ function createResourceParams$i(config) {
|
|
|
257
257
|
}
|
|
258
258
|
function typeCheckConfig$i(untrustedConfig) {
|
|
259
259
|
const config = {};
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
}
|
|
260
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
261
|
+
contractId: 0 /* String */,
|
|
262
|
+
});
|
|
264
263
|
const untrustedConfig_actionInput = untrustedConfig.actionInput;
|
|
265
264
|
const referenceContractActionInputRepresentationValidationError = validate$h(untrustedConfig_actionInput);
|
|
266
265
|
if (referenceContractActionInputRepresentationValidationError === null) {
|
|
@@ -560,14 +559,10 @@ function keyBuilder$k(luvio, config) {
|
|
|
560
559
|
}
|
|
561
560
|
function typeCheckConfig$h(untrustedConfig) {
|
|
562
561
|
const config = {};
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
}
|
|
567
|
-
const untrustedConfig_contractDocumentVersionId = untrustedConfig.contractDocumentVersionId;
|
|
568
|
-
if (typeof untrustedConfig_contractDocumentVersionId === 'string') {
|
|
569
|
-
config.contractDocumentVersionId = untrustedConfig_contractDocumentVersionId;
|
|
570
|
-
}
|
|
562
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
563
|
+
contractId: 0 /* String */,
|
|
564
|
+
contractDocumentVersionId: 0 /* String */,
|
|
565
|
+
});
|
|
571
566
|
return config;
|
|
572
567
|
}
|
|
573
568
|
function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
|
|
@@ -1000,10 +995,9 @@ function createResourceParams$g(config) {
|
|
|
1000
995
|
}
|
|
1001
996
|
function typeCheckConfig$g(untrustedConfig) {
|
|
1002
997
|
const config = {};
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
}
|
|
998
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
999
|
+
contractId: 0 /* String */,
|
|
1000
|
+
});
|
|
1007
1001
|
const untrustedConfig_templateInput = untrustedConfig.templateInput;
|
|
1008
1002
|
const referenceTemplateInputRepresentationValidationError = validate$d(untrustedConfig_templateInput);
|
|
1009
1003
|
if (referenceTemplateInputRepresentationValidationError === null) {
|
|
@@ -1284,10 +1278,9 @@ function keyBuilder$g(luvio, config) {
|
|
|
1284
1278
|
}
|
|
1285
1279
|
function typeCheckConfig$f(untrustedConfig) {
|
|
1286
1280
|
const config = {};
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
}
|
|
1281
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
1282
|
+
contractId: 0 /* String */,
|
|
1283
|
+
});
|
|
1291
1284
|
return config;
|
|
1292
1285
|
}
|
|
1293
1286
|
function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
|
|
@@ -1432,10 +1425,9 @@ function createResourceParams$e(config) {
|
|
|
1432
1425
|
}
|
|
1433
1426
|
function typeCheckConfig$e(untrustedConfig) {
|
|
1434
1427
|
const config = {};
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
}
|
|
1428
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
1429
|
+
contractDocumentVersionId: 0 /* String */,
|
|
1430
|
+
});
|
|
1439
1431
|
const untrustedConfig_templateInput = untrustedConfig.templateInput;
|
|
1440
1432
|
const referenceTemplateInputRepresentationValidationError = validate$d(untrustedConfig_templateInput);
|
|
1441
1433
|
if (referenceTemplateInputRepresentationValidationError === null) {
|
|
@@ -1539,10 +1531,9 @@ function createResourceParams$d(config) {
|
|
|
1539
1531
|
}
|
|
1540
1532
|
function typeCheckConfig$d(untrustedConfig) {
|
|
1541
1533
|
const config = {};
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
}
|
|
1534
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
1535
|
+
contractDocumentVersionId: 0 /* String */,
|
|
1536
|
+
});
|
|
1546
1537
|
return config;
|
|
1547
1538
|
}
|
|
1548
1539
|
function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
|
|
@@ -1644,10 +1635,9 @@ function createResourceParams$c(config) {
|
|
|
1644
1635
|
}
|
|
1645
1636
|
function typeCheckConfig$c(untrustedConfig) {
|
|
1646
1637
|
const config = {};
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
}
|
|
1638
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
1639
|
+
contractDocumentVersionId: 0 /* String */,
|
|
1640
|
+
});
|
|
1651
1641
|
const untrustedConfig_templateInput = untrustedConfig.templateInput;
|
|
1652
1642
|
const referenceTemplateInputRepresentationValidationError = validate$d(untrustedConfig_templateInput);
|
|
1653
1643
|
if (referenceTemplateInputRepresentationValidationError === null) {
|
|
@@ -1848,14 +1838,10 @@ function createResourceParams$b(config) {
|
|
|
1848
1838
|
}
|
|
1849
1839
|
function typeCheckConfig$b(untrustedConfig) {
|
|
1850
1840
|
const config = {};
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
}
|
|
1855
|
-
const untrustedConfig_contentDocumentId = untrustedConfig.contentDocumentId;
|
|
1856
|
-
if (typeof untrustedConfig_contentDocumentId === 'string') {
|
|
1857
|
-
config.contentDocumentId = untrustedConfig_contentDocumentId;
|
|
1858
|
-
}
|
|
1841
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
1842
|
+
contractDocumentVersionId: 0 /* String */,
|
|
1843
|
+
contentDocumentId: 0 /* String */,
|
|
1844
|
+
});
|
|
1859
1845
|
return config;
|
|
1860
1846
|
}
|
|
1861
1847
|
function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
|
|
@@ -1975,10 +1961,9 @@ function keyBuilder$c(luvio, config) {
|
|
|
1975
1961
|
}
|
|
1976
1962
|
function typeCheckConfig$a(untrustedConfig) {
|
|
1977
1963
|
const config = {};
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
}
|
|
1964
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
1965
|
+
contractDocumentVersionId: 0 /* String */,
|
|
1966
|
+
});
|
|
1982
1967
|
return config;
|
|
1983
1968
|
}
|
|
1984
1969
|
function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
|
|
@@ -2120,10 +2105,9 @@ function createResourceParams$9(config) {
|
|
|
2120
2105
|
}
|
|
2121
2106
|
function typeCheckConfig$9(untrustedConfig) {
|
|
2122
2107
|
const config = {};
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
}
|
|
2108
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
2109
|
+
contractDocumentVersionId: 0 /* String */,
|
|
2110
|
+
});
|
|
2127
2111
|
return config;
|
|
2128
2112
|
}
|
|
2129
2113
|
function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
|
|
@@ -2243,10 +2227,9 @@ function keyBuilder$a(luvio, config) {
|
|
|
2243
2227
|
}
|
|
2244
2228
|
function typeCheckConfig$8(untrustedConfig) {
|
|
2245
2229
|
const config = {};
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
}
|
|
2230
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
2231
|
+
contractDocumentVersionId: 0 /* String */,
|
|
2232
|
+
});
|
|
2250
2233
|
return config;
|
|
2251
2234
|
}
|
|
2252
2235
|
function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
|
|
@@ -2509,10 +2492,9 @@ function createResourceParams$7(config) {
|
|
|
2509
2492
|
}
|
|
2510
2493
|
function typeCheckConfig$7(untrustedConfig) {
|
|
2511
2494
|
const config = {};
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
}
|
|
2495
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
2496
|
+
contractDocumentVersionId: 0 /* String */,
|
|
2497
|
+
});
|
|
2516
2498
|
return config;
|
|
2517
2499
|
}
|
|
2518
2500
|
function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
|
|
@@ -2632,10 +2614,9 @@ function keyBuilder$6(luvio, config) {
|
|
|
2632
2614
|
}
|
|
2633
2615
|
function typeCheckConfig$6(untrustedConfig) {
|
|
2634
2616
|
const config = {};
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
}
|
|
2617
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
2618
|
+
contractDocumentVersionId: 0 /* String */,
|
|
2619
|
+
});
|
|
2639
2620
|
return config;
|
|
2640
2621
|
}
|
|
2641
2622
|
function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
|
|
@@ -2872,10 +2853,10 @@ function createResourceParams$5(config) {
|
|
|
2872
2853
|
}
|
|
2873
2854
|
function typeCheckConfig$5(untrustedConfig) {
|
|
2874
2855
|
const config = {};
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
}
|
|
2856
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
2857
|
+
contractDocumentVersionId: 0 /* String */,
|
|
2858
|
+
sendEmailNotification: 1 /* Boolean */,
|
|
2859
|
+
});
|
|
2879
2860
|
const untrustedConfig_reviewers = untrustedConfig.reviewers;
|
|
2880
2861
|
if (ArrayIsArray$1(untrustedConfig_reviewers)) {
|
|
2881
2862
|
const untrustedConfig_reviewers_array = [];
|
|
@@ -2890,10 +2871,6 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
2890
2871
|
}
|
|
2891
2872
|
config.reviewers = untrustedConfig_reviewers_array;
|
|
2892
2873
|
}
|
|
2893
|
-
const untrustedConfig_sendEmailNotification = untrustedConfig.sendEmailNotification;
|
|
2894
|
-
if (typeof untrustedConfig_sendEmailNotification === 'boolean') {
|
|
2895
|
-
config.sendEmailNotification = untrustedConfig_sendEmailNotification;
|
|
2896
|
-
}
|
|
2897
2874
|
return config;
|
|
2898
2875
|
}
|
|
2899
2876
|
function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
|
|
@@ -2995,10 +2972,10 @@ function createResourceParams$4(config) {
|
|
|
2995
2972
|
}
|
|
2996
2973
|
function typeCheckConfig$4(untrustedConfig) {
|
|
2997
2974
|
const config = {};
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
}
|
|
2975
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
2976
|
+
contractDocumentVersionId: 0 /* String */,
|
|
2977
|
+
sendEmailNotification: 1 /* Boolean */,
|
|
2978
|
+
});
|
|
3002
2979
|
const untrustedConfig_reviewers = untrustedConfig.reviewers;
|
|
3003
2980
|
if (ArrayIsArray$1(untrustedConfig_reviewers)) {
|
|
3004
2981
|
const untrustedConfig_reviewers_array = [];
|
|
@@ -3013,10 +2990,6 @@ function typeCheckConfig$4(untrustedConfig) {
|
|
|
3013
2990
|
}
|
|
3014
2991
|
config.reviewers = untrustedConfig_reviewers_array;
|
|
3015
2992
|
}
|
|
3016
|
-
const untrustedConfig_sendEmailNotification = untrustedConfig.sendEmailNotification;
|
|
3017
|
-
if (typeof untrustedConfig_sendEmailNotification === 'boolean') {
|
|
3018
|
-
config.sendEmailNotification = untrustedConfig_sendEmailNotification;
|
|
3019
|
-
}
|
|
3020
2993
|
return config;
|
|
3021
2994
|
}
|
|
3022
2995
|
function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
|
|
@@ -3115,10 +3088,9 @@ function createResourceParams$3(config) {
|
|
|
3115
3088
|
}
|
|
3116
3089
|
function typeCheckConfig$3(untrustedConfig) {
|
|
3117
3090
|
const config = {};
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
}
|
|
3091
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
3092
|
+
contractDocumentVersionId: 0 /* String */,
|
|
3093
|
+
});
|
|
3122
3094
|
return config;
|
|
3123
3095
|
}
|
|
3124
3096
|
function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
@@ -3477,10 +3449,9 @@ function keyBuilder$3(luvio, config) {
|
|
|
3477
3449
|
}
|
|
3478
3450
|
function typeCheckConfig$2(untrustedConfig) {
|
|
3479
3451
|
const config = {};
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
}
|
|
3452
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
3453
|
+
contractDocumentVersionId: 0 /* String */,
|
|
3454
|
+
});
|
|
3484
3455
|
return config;
|
|
3485
3456
|
}
|
|
3486
3457
|
function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
@@ -3772,33 +3743,15 @@ function keyBuilder$1(luvio, config) {
|
|
|
3772
3743
|
}
|
|
3773
3744
|
function typeCheckConfig$1(untrustedConfig) {
|
|
3774
3745
|
const config = {};
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
if (typeof untrustedConfig_documentTemplateTypes_item === 'string') {
|
|
3785
|
-
untrustedConfig_documentTemplateTypes_array.push(untrustedConfig_documentTemplateTypes_item);
|
|
3786
|
-
}
|
|
3787
|
-
}
|
|
3788
|
-
config.documentTemplateTypes = untrustedConfig_documentTemplateTypes_array;
|
|
3789
|
-
}
|
|
3790
|
-
const untrustedConfig_isActive = untrustedConfig.isActive;
|
|
3791
|
-
if (typeof untrustedConfig_isActive === 'boolean') {
|
|
3792
|
-
config.isActive = untrustedConfig_isActive;
|
|
3793
|
-
}
|
|
3794
|
-
const untrustedConfig_type = untrustedConfig.type;
|
|
3795
|
-
if (typeof untrustedConfig_type === 'string') {
|
|
3796
|
-
config.type = untrustedConfig_type;
|
|
3797
|
-
}
|
|
3798
|
-
const untrustedConfig_usageType = untrustedConfig.usageType;
|
|
3799
|
-
if (typeof untrustedConfig_usageType === 'string') {
|
|
3800
|
-
config.usageType = untrustedConfig_usageType;
|
|
3801
|
-
}
|
|
3746
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
3747
|
+
contractId: 0 /* String */,
|
|
3748
|
+
isActive: 1 /* Boolean */,
|
|
3749
|
+
type: 0 /* String */,
|
|
3750
|
+
usageType: 0 /* String */,
|
|
3751
|
+
});
|
|
3752
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
3753
|
+
documentTemplateTypes: 0 /* String */,
|
|
3754
|
+
});
|
|
3802
3755
|
return config;
|
|
3803
3756
|
}
|
|
3804
3757
|
function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
|
package/package.json
CHANGED
package/sfdc/index.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
/* proxy-compat-disable */
|
|
15
15
|
import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createImperativeAdapter } from 'force/ldsBindings';
|
|
16
16
|
import { withDefaultLuvio } from 'force/ldsEngine';
|
|
17
|
-
import { serializeStructuredKey, deepFreeze, StoreKeyMap } from 'force/luvioEngine';
|
|
17
|
+
import { serializeStructuredKey, deepFreeze, StoreKeyMap, typeCheckScalars, typeCheckArrayOfScalars } from 'force/luvioEngine';
|
|
18
18
|
|
|
19
19
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
20
20
|
const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
|
|
@@ -225,10 +225,9 @@ function createResourceParams$i(config) {
|
|
|
225
225
|
}
|
|
226
226
|
function typeCheckConfig$i(untrustedConfig) {
|
|
227
227
|
const config = {};
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
}
|
|
228
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
229
|
+
contractDocumentVersionId: 0 /* String */,
|
|
230
|
+
});
|
|
232
231
|
return config;
|
|
233
232
|
}
|
|
234
233
|
function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
|
|
@@ -618,10 +617,9 @@ function createResourceParams$h(config) {
|
|
|
618
617
|
}
|
|
619
618
|
function typeCheckConfig$h(untrustedConfig) {
|
|
620
619
|
const config = {};
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
}
|
|
620
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
621
|
+
contractDocumentVersionId: 0 /* String */,
|
|
622
|
+
});
|
|
625
623
|
const untrustedConfig_templateInput = untrustedConfig.templateInput;
|
|
626
624
|
const referenceTemplateInputRepresentationValidationError = validate$g(untrustedConfig_templateInput);
|
|
627
625
|
if (referenceTemplateInputRepresentationValidationError === null) {
|
|
@@ -728,10 +726,9 @@ function createResourceParams$g(config) {
|
|
|
728
726
|
}
|
|
729
727
|
function typeCheckConfig$g(untrustedConfig) {
|
|
730
728
|
const config = {};
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
}
|
|
729
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
730
|
+
contractId: 0 /* String */,
|
|
731
|
+
});
|
|
735
732
|
const untrustedConfig_templateInput = untrustedConfig.templateInput;
|
|
736
733
|
const referenceTemplateInputRepresentationValidationError = validate$g(untrustedConfig_templateInput);
|
|
737
734
|
if (referenceTemplateInputRepresentationValidationError === null) {
|
|
@@ -932,14 +929,10 @@ function createResourceParams$f(config) {
|
|
|
932
929
|
}
|
|
933
930
|
function typeCheckConfig$f(untrustedConfig) {
|
|
934
931
|
const config = {};
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
}
|
|
939
|
-
const untrustedConfig_contentDocumentId = untrustedConfig.contentDocumentId;
|
|
940
|
-
if (typeof untrustedConfig_contentDocumentId === 'string') {
|
|
941
|
-
config.contentDocumentId = untrustedConfig_contentDocumentId;
|
|
942
|
-
}
|
|
932
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
933
|
+
contractDocumentVersionId: 0 /* String */,
|
|
934
|
+
contentDocumentId: 0 /* String */,
|
|
935
|
+
});
|
|
943
936
|
return config;
|
|
944
937
|
}
|
|
945
938
|
function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
|
|
@@ -1159,10 +1152,9 @@ function createResourceParams$e(config) {
|
|
|
1159
1152
|
}
|
|
1160
1153
|
function typeCheckConfig$e(untrustedConfig) {
|
|
1161
1154
|
const config = {};
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
}
|
|
1155
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
1156
|
+
contractDocumentVersionId: 0 /* String */,
|
|
1157
|
+
});
|
|
1166
1158
|
return config;
|
|
1167
1159
|
}
|
|
1168
1160
|
function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
|
|
@@ -1303,10 +1295,9 @@ function createResourceParams$d(config) {
|
|
|
1303
1295
|
}
|
|
1304
1296
|
function typeCheckConfig$d(untrustedConfig) {
|
|
1305
1297
|
const config = {};
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
}
|
|
1298
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
1299
|
+
contractId: 0 /* String */,
|
|
1300
|
+
});
|
|
1310
1301
|
const untrustedConfig_actionInput = untrustedConfig.actionInput;
|
|
1311
1302
|
const referenceContractActionInputRepresentationValidationError = validate$a(untrustedConfig_actionInput);
|
|
1312
1303
|
if (referenceContractActionInputRepresentationValidationError === null) {
|
|
@@ -1438,10 +1429,9 @@ function keyBuilder$f(luvio, config) {
|
|
|
1438
1429
|
}
|
|
1439
1430
|
function typeCheckConfig$c(untrustedConfig) {
|
|
1440
1431
|
const config = {};
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
}
|
|
1432
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
1433
|
+
contractDocumentVersionId: 0 /* String */,
|
|
1434
|
+
});
|
|
1445
1435
|
return config;
|
|
1446
1436
|
}
|
|
1447
1437
|
function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
|
|
@@ -1801,10 +1791,9 @@ function keyBuilder$c(luvio, config) {
|
|
|
1801
1791
|
}
|
|
1802
1792
|
function typeCheckConfig$b(untrustedConfig) {
|
|
1803
1793
|
const config = {};
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
}
|
|
1794
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
1795
|
+
contractId: 0 /* String */,
|
|
1796
|
+
});
|
|
1808
1797
|
return config;
|
|
1809
1798
|
}
|
|
1810
1799
|
function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
|
|
@@ -2176,14 +2165,10 @@ function keyBuilder$a(luvio, config) {
|
|
|
2176
2165
|
}
|
|
2177
2166
|
function typeCheckConfig$a(untrustedConfig) {
|
|
2178
2167
|
const config = {};
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
}
|
|
2183
|
-
const untrustedConfig_contractDocumentVersionId = untrustedConfig.contractDocumentVersionId;
|
|
2184
|
-
if (typeof untrustedConfig_contractDocumentVersionId === 'string') {
|
|
2185
|
-
config.contractDocumentVersionId = untrustedConfig_contractDocumentVersionId;
|
|
2186
|
-
}
|
|
2168
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
2169
|
+
contractId: 0 /* String */,
|
|
2170
|
+
contractDocumentVersionId: 0 /* String */,
|
|
2171
|
+
});
|
|
2187
2172
|
return config;
|
|
2188
2173
|
}
|
|
2189
2174
|
function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
|
|
@@ -2353,10 +2338,9 @@ function keyBuilder$8(luvio, config) {
|
|
|
2353
2338
|
}
|
|
2354
2339
|
function typeCheckConfig$9(untrustedConfig) {
|
|
2355
2340
|
const config = {};
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
}
|
|
2341
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
2342
|
+
contractDocumentVersionId: 0 /* String */,
|
|
2343
|
+
});
|
|
2360
2344
|
return config;
|
|
2361
2345
|
}
|
|
2362
2346
|
function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
|
|
@@ -2792,10 +2776,9 @@ function keyBuilder$6(luvio, config) {
|
|
|
2792
2776
|
}
|
|
2793
2777
|
function typeCheckConfig$8(untrustedConfig) {
|
|
2794
2778
|
const config = {};
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
}
|
|
2779
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
2780
|
+
contractDocumentVersionId: 0 /* String */,
|
|
2781
|
+
});
|
|
2799
2782
|
return config;
|
|
2800
2783
|
}
|
|
2801
2784
|
function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
|
|
@@ -2965,10 +2948,9 @@ function keyBuilder$4(luvio, config) {
|
|
|
2965
2948
|
}
|
|
2966
2949
|
function typeCheckConfig$7(untrustedConfig) {
|
|
2967
2950
|
const config = {};
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
}
|
|
2951
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
2952
|
+
contractDocumentVersionId: 0 /* String */,
|
|
2953
|
+
});
|
|
2972
2954
|
return config;
|
|
2973
2955
|
}
|
|
2974
2956
|
function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
|
|
@@ -3294,33 +3276,15 @@ function keyBuilder$2(luvio, config) {
|
|
|
3294
3276
|
}
|
|
3295
3277
|
function typeCheckConfig$6(untrustedConfig) {
|
|
3296
3278
|
const config = {};
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
if (typeof untrustedConfig_documentTemplateTypes_item === 'string') {
|
|
3307
|
-
untrustedConfig_documentTemplateTypes_array.push(untrustedConfig_documentTemplateTypes_item);
|
|
3308
|
-
}
|
|
3309
|
-
}
|
|
3310
|
-
config.documentTemplateTypes = untrustedConfig_documentTemplateTypes_array;
|
|
3311
|
-
}
|
|
3312
|
-
const untrustedConfig_isActive = untrustedConfig.isActive;
|
|
3313
|
-
if (typeof untrustedConfig_isActive === 'boolean') {
|
|
3314
|
-
config.isActive = untrustedConfig_isActive;
|
|
3315
|
-
}
|
|
3316
|
-
const untrustedConfig_type = untrustedConfig.type;
|
|
3317
|
-
if (typeof untrustedConfig_type === 'string') {
|
|
3318
|
-
config.type = untrustedConfig_type;
|
|
3319
|
-
}
|
|
3320
|
-
const untrustedConfig_usageType = untrustedConfig.usageType;
|
|
3321
|
-
if (typeof untrustedConfig_usageType === 'string') {
|
|
3322
|
-
config.usageType = untrustedConfig_usageType;
|
|
3323
|
-
}
|
|
3279
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
3280
|
+
contractId: 0 /* String */,
|
|
3281
|
+
isActive: 1 /* Boolean */,
|
|
3282
|
+
type: 0 /* String */,
|
|
3283
|
+
usageType: 0 /* String */,
|
|
3284
|
+
});
|
|
3285
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
3286
|
+
documentTemplateTypes: 0 /* String */,
|
|
3287
|
+
});
|
|
3324
3288
|
return config;
|
|
3325
3289
|
}
|
|
3326
3290
|
function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
|
|
@@ -3462,10 +3426,9 @@ function createResourceParams$5(config) {
|
|
|
3462
3426
|
}
|
|
3463
3427
|
function typeCheckConfig$5(untrustedConfig) {
|
|
3464
3428
|
const config = {};
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
}
|
|
3429
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
3430
|
+
contractDocumentVersionId: 0 /* String */,
|
|
3431
|
+
});
|
|
3469
3432
|
return config;
|
|
3470
3433
|
}
|
|
3471
3434
|
function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
|
|
@@ -3659,10 +3622,10 @@ function createResourceParams$4(config) {
|
|
|
3659
3622
|
}
|
|
3660
3623
|
function typeCheckConfig$4(untrustedConfig) {
|
|
3661
3624
|
const config = {};
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
}
|
|
3625
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
3626
|
+
contractDocumentVersionId: 0 /* String */,
|
|
3627
|
+
sendEmailNotification: 1 /* Boolean */,
|
|
3628
|
+
});
|
|
3666
3629
|
const untrustedConfig_reviewers = untrustedConfig.reviewers;
|
|
3667
3630
|
if (ArrayIsArray$1(untrustedConfig_reviewers)) {
|
|
3668
3631
|
const untrustedConfig_reviewers_array = [];
|
|
@@ -3677,10 +3640,6 @@ function typeCheckConfig$4(untrustedConfig) {
|
|
|
3677
3640
|
}
|
|
3678
3641
|
config.reviewers = untrustedConfig_reviewers_array;
|
|
3679
3642
|
}
|
|
3680
|
-
const untrustedConfig_sendEmailNotification = untrustedConfig.sendEmailNotification;
|
|
3681
|
-
if (typeof untrustedConfig_sendEmailNotification === 'boolean') {
|
|
3682
|
-
config.sendEmailNotification = untrustedConfig_sendEmailNotification;
|
|
3683
|
-
}
|
|
3684
3643
|
return config;
|
|
3685
3644
|
}
|
|
3686
3645
|
function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
|
|
@@ -3782,10 +3741,10 @@ function createResourceParams$3(config) {
|
|
|
3782
3741
|
}
|
|
3783
3742
|
function typeCheckConfig$3(untrustedConfig) {
|
|
3784
3743
|
const config = {};
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
}
|
|
3744
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
3745
|
+
contractDocumentVersionId: 0 /* String */,
|
|
3746
|
+
sendEmailNotification: 1 /* Boolean */,
|
|
3747
|
+
});
|
|
3789
3748
|
const untrustedConfig_reviewers = untrustedConfig.reviewers;
|
|
3790
3749
|
if (ArrayIsArray$1(untrustedConfig_reviewers)) {
|
|
3791
3750
|
const untrustedConfig_reviewers_array = [];
|
|
@@ -3800,10 +3759,6 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
3800
3759
|
}
|
|
3801
3760
|
config.reviewers = untrustedConfig_reviewers_array;
|
|
3802
3761
|
}
|
|
3803
|
-
const untrustedConfig_sendEmailNotification = untrustedConfig.sendEmailNotification;
|
|
3804
|
-
if (typeof untrustedConfig_sendEmailNotification === 'boolean') {
|
|
3805
|
-
config.sendEmailNotification = untrustedConfig_sendEmailNotification;
|
|
3806
|
-
}
|
|
3807
3762
|
return config;
|
|
3808
3763
|
}
|
|
3809
3764
|
function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
@@ -4113,10 +4068,9 @@ function createResourceParams$1(config) {
|
|
|
4113
4068
|
}
|
|
4114
4069
|
function typeCheckConfig$1(untrustedConfig) {
|
|
4115
4070
|
const config = {};
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
}
|
|
4071
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
4072
|
+
contractDocumentVersionId: 0 /* String */,
|
|
4073
|
+
});
|
|
4120
4074
|
return config;
|
|
4121
4075
|
}
|
|
4122
4076
|
function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
|
|
@@ -4218,10 +4172,9 @@ function createResourceParams(config) {
|
|
|
4218
4172
|
}
|
|
4219
4173
|
function typeCheckConfig(untrustedConfig) {
|
|
4220
4174
|
const config = {};
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
}
|
|
4175
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
4176
|
+
contractDocumentVersionId: 0 /* String */,
|
|
4177
|
+
});
|
|
4225
4178
|
const untrustedConfig_templateInput = untrustedConfig.templateInput;
|
|
4226
4179
|
const referenceTemplateInputRepresentationValidationError = validate$g(untrustedConfig_templateInput);
|
|
4227
4180
|
if (referenceTemplateInputRepresentationValidationError === null) {
|
|
@@ -4392,4 +4345,4 @@ withDefaultLuvio((luvio) => {
|
|
|
4392
4345
|
});
|
|
4393
4346
|
|
|
4394
4347
|
export { checkIn, checkoutContractDocumentVersion, createContractDocumentVersionAndInitializeGenerateDocumentProcess, deleteAttachment, deleteContractDocumentVersionReview, executeContractAction, getContentDocument, getContentDocumentNotifyChange, getContentDocument_imperative, getContractActions, getContractActionsNotifyChange, getContractActions_imperative, getContractDocumentVersion, getContractDocumentVersionReview, getContractDocumentVersionReviewNotifyChange, getContractDocumentVersionReview_imperative, getContractDocumentVersion_imperative, getDocumentGenerationProcessDetails, getDocumentGenerationProcessDetails_imperative, getExternalReviewDocument, getExternalReviewDocumentNotifyChange, getExternalReviewDocument_imperative, getTemplates, getTemplates_imperative, lockContractDocumentVersion, patchContractDocumentVersionReview, postContractDocumentVersionReview, saveExternalDocument, unlock, updateContractDocumentVersionWithTemplate };
|
|
4395
|
-
// version: 1.
|
|
4348
|
+
// version: 1.208.0-027673bd6
|