@salesforce/lds-adapters-industries-context 1.421.1 → 1.422.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-context.js +66 -2
- package/dist/es/es2018/types/src/generated/types/ContextDefinitionInfoRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ContextDefinitionRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ContextDefinitionTransformationRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ContextDefinitionsInputRepresentation.d.ts +4 -1
- package/package.json +4 -4
- package/sfdc/index.js +67 -3
- package/src/raml/api.raml +16 -0
|
@@ -1223,7 +1223,7 @@ function equals$t(existing, incoming) {
|
|
|
1223
1223
|
}
|
|
1224
1224
|
|
|
1225
1225
|
const TTL$n = 1000;
|
|
1226
|
-
const VERSION$s = "
|
|
1226
|
+
const VERSION$s = "747f52291b9f06be828d163214c2ba62";
|
|
1227
1227
|
function validate$L(obj, path = 'ContextDefinitionInfoRepresentation') {
|
|
1228
1228
|
const v_error = (() => {
|
|
1229
1229
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1367,6 +1367,13 @@ function validate$L(obj, path = 'ContextDefinitionInfoRepresentation') {
|
|
|
1367
1367
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isSuccess + '" (at "' + path_isSuccess + '")');
|
|
1368
1368
|
}
|
|
1369
1369
|
}
|
|
1370
|
+
if (obj.isTransformationEnabled !== undefined) {
|
|
1371
|
+
const obj_isTransformationEnabled = obj.isTransformationEnabled;
|
|
1372
|
+
const path_isTransformationEnabled = path + '.isTransformationEnabled';
|
|
1373
|
+
if (typeof obj_isTransformationEnabled !== 'boolean') {
|
|
1374
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isTransformationEnabled + '" (at "' + path_isTransformationEnabled + '")');
|
|
1375
|
+
}
|
|
1376
|
+
}
|
|
1370
1377
|
if (obj.isUpgradeAvailable !== undefined) {
|
|
1371
1378
|
const obj_isUpgradeAvailable = obj.isUpgradeAvailable;
|
|
1372
1379
|
const path_isUpgradeAvailable = path + '.isUpgradeAvailable';
|
|
@@ -1544,6 +1551,11 @@ const select$19 = function ContextDefinitionInfoRepresentationSelect() {
|
|
|
1544
1551
|
kind: 'Scalar',
|
|
1545
1552
|
required: false
|
|
1546
1553
|
},
|
|
1554
|
+
{
|
|
1555
|
+
name: 'isTransformationEnabled',
|
|
1556
|
+
kind: 'Scalar',
|
|
1557
|
+
required: false
|
|
1558
|
+
},
|
|
1547
1559
|
{
|
|
1548
1560
|
name: 'isUpgradeAvailable',
|
|
1549
1561
|
kind: 'Scalar',
|
|
@@ -1676,6 +1688,19 @@ function equals$s(existing, incoming) {
|
|
|
1676
1688
|
return false;
|
|
1677
1689
|
}
|
|
1678
1690
|
}
|
|
1691
|
+
const existing_isTransformationEnabled = existing.isTransformationEnabled;
|
|
1692
|
+
const incoming_isTransformationEnabled = incoming.isTransformationEnabled;
|
|
1693
|
+
// if at least one of these optionals is defined
|
|
1694
|
+
if (existing_isTransformationEnabled !== undefined || incoming_isTransformationEnabled !== undefined) {
|
|
1695
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1696
|
+
// not equal
|
|
1697
|
+
if (existing_isTransformationEnabled === undefined || incoming_isTransformationEnabled === undefined) {
|
|
1698
|
+
return false;
|
|
1699
|
+
}
|
|
1700
|
+
if (!(existing_isTransformationEnabled === incoming_isTransformationEnabled)) {
|
|
1701
|
+
return false;
|
|
1702
|
+
}
|
|
1703
|
+
}
|
|
1679
1704
|
const existing_isUpgradeAvailable = existing.isUpgradeAvailable;
|
|
1680
1705
|
const incoming_isUpgradeAvailable = incoming.isUpgradeAvailable;
|
|
1681
1706
|
// if at least one of these optionals is defined
|
|
@@ -2364,6 +2389,13 @@ function validate$H(obj, path = 'ContextDefinitionsInputRepresentation') {
|
|
|
2364
2389
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isActive + '" (at "' + path_isActive + '")');
|
|
2365
2390
|
}
|
|
2366
2391
|
}
|
|
2392
|
+
if (obj.isTransformationEnabled !== undefined) {
|
|
2393
|
+
const obj_isTransformationEnabled = obj.isTransformationEnabled;
|
|
2394
|
+
const path_isTransformationEnabled = path + '.isTransformationEnabled';
|
|
2395
|
+
if (typeof obj_isTransformationEnabled !== 'boolean') {
|
|
2396
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isTransformationEnabled + '" (at "' + path_isTransformationEnabled + '")');
|
|
2397
|
+
}
|
|
2398
|
+
}
|
|
2367
2399
|
if (obj.name !== undefined) {
|
|
2368
2400
|
const obj_name = obj.name;
|
|
2369
2401
|
const path_name = path + '.name';
|
|
@@ -2906,6 +2938,13 @@ function validate$E(obj, path = 'ContextDefinitionTransformationRepresentation')
|
|
|
2906
2938
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2907
2939
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2908
2940
|
}
|
|
2941
|
+
if (obj.apiName !== undefined) {
|
|
2942
|
+
const obj_apiName = obj.apiName;
|
|
2943
|
+
const path_apiName = path + '.apiName';
|
|
2944
|
+
if (typeof obj_apiName !== 'string') {
|
|
2945
|
+
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
2946
|
+
}
|
|
2947
|
+
}
|
|
2909
2948
|
if (obj.baseReference !== undefined) {
|
|
2910
2949
|
const obj_baseReference = obj.baseReference;
|
|
2911
2950
|
const path_baseReference = path + '.baseReference';
|
|
@@ -5274,7 +5313,7 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5274
5313
|
}
|
|
5275
5314
|
|
|
5276
5315
|
const TTL$c = 1000;
|
|
5277
|
-
const VERSION$g = "
|
|
5316
|
+
const VERSION$g = "e07f559e3f80b556537a5f72ed9914f5";
|
|
5278
5317
|
function validate$t(obj, path = 'ContextDefinitionRepresentation') {
|
|
5279
5318
|
const v_error = (() => {
|
|
5280
5319
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -5381,6 +5420,13 @@ function validate$t(obj, path = 'ContextDefinitionRepresentation') {
|
|
|
5381
5420
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isSuccess + '" (at "' + path_isSuccess + '")');
|
|
5382
5421
|
}
|
|
5383
5422
|
}
|
|
5423
|
+
if (obj.isTransformationEnabled !== undefined) {
|
|
5424
|
+
const obj_isTransformationEnabled = obj.isTransformationEnabled;
|
|
5425
|
+
const path_isTransformationEnabled = path + '.isTransformationEnabled';
|
|
5426
|
+
if (typeof obj_isTransformationEnabled !== 'boolean') {
|
|
5427
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isTransformationEnabled + '" (at "' + path_isTransformationEnabled + '")');
|
|
5428
|
+
}
|
|
5429
|
+
}
|
|
5384
5430
|
if (obj.isUpgradeAvailable !== undefined) {
|
|
5385
5431
|
const obj_isUpgradeAvailable = obj.isUpgradeAvailable;
|
|
5386
5432
|
const path_isUpgradeAvailable = path + '.isUpgradeAvailable';
|
|
@@ -5514,6 +5560,11 @@ const select$V = function ContextDefinitionRepresentationSelect() {
|
|
|
5514
5560
|
kind: 'Scalar',
|
|
5515
5561
|
required: false
|
|
5516
5562
|
},
|
|
5563
|
+
{
|
|
5564
|
+
name: 'isTransformationEnabled',
|
|
5565
|
+
kind: 'Scalar',
|
|
5566
|
+
required: false
|
|
5567
|
+
},
|
|
5517
5568
|
{
|
|
5518
5569
|
name: 'isUpgradeAvailable',
|
|
5519
5570
|
kind: 'Scalar',
|
|
@@ -5595,6 +5646,19 @@ function equals$g(existing, incoming) {
|
|
|
5595
5646
|
return false;
|
|
5596
5647
|
}
|
|
5597
5648
|
}
|
|
5649
|
+
const existing_isTransformationEnabled = existing.isTransformationEnabled;
|
|
5650
|
+
const incoming_isTransformationEnabled = incoming.isTransformationEnabled;
|
|
5651
|
+
// if at least one of these optionals is defined
|
|
5652
|
+
if (existing_isTransformationEnabled !== undefined || incoming_isTransformationEnabled !== undefined) {
|
|
5653
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5654
|
+
// not equal
|
|
5655
|
+
if (existing_isTransformationEnabled === undefined || incoming_isTransformationEnabled === undefined) {
|
|
5656
|
+
return false;
|
|
5657
|
+
}
|
|
5658
|
+
if (!(existing_isTransformationEnabled === incoming_isTransformationEnabled)) {
|
|
5659
|
+
return false;
|
|
5660
|
+
}
|
|
5661
|
+
}
|
|
5598
5662
|
const existing_isUpgradeAvailable = existing.isUpgradeAvailable;
|
|
5599
5663
|
const incoming_isUpgradeAvailable = incoming.isUpgradeAvailable;
|
|
5600
5664
|
// if at least one of these optionals is defined
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ContextDefinitionReferenceRepresentation as ContextDefinitionReferenceRepresentation_ContextDefinitionReferenceRepresentation } from './ContextDefinitionReferenceRepresentation';
|
|
2
2
|
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, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
3
|
export declare const TTL = 1000;
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "747f52291b9f06be828d163214c2ba62";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -63,6 +63,8 @@ export interface ContextDefinitionInfoRepresentationNormalized {
|
|
|
63
63
|
isEditable?: boolean;
|
|
64
64
|
/** Success */
|
|
65
65
|
isSuccess?: boolean;
|
|
66
|
+
/** is Transformation Enabled */
|
|
67
|
+
isTransformationEnabled?: boolean;
|
|
66
68
|
/** Is Upgrade Available */
|
|
67
69
|
isUpgradeAvailable?: boolean;
|
|
68
70
|
/** Last Modified By */
|
|
@@ -104,6 +106,7 @@ export interface ContextDefinitionInfoRepresentation {
|
|
|
104
106
|
isApexRefreshRequire?: boolean;
|
|
105
107
|
isEditable?: boolean;
|
|
106
108
|
isSuccess?: boolean;
|
|
109
|
+
isTransformationEnabled?: boolean;
|
|
107
110
|
isUpgradeAvailable?: boolean;
|
|
108
111
|
lastModifiedBy?: string;
|
|
109
112
|
lastModifiedDate?: string;
|
|
@@ -2,7 +2,7 @@ import { ContextDefinitionReferenceRepresentation as ContextDefinitionReferenceR
|
|
|
2
2
|
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, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
3
|
import { ContextDefinitionVersionRepresentation as ContextDefinitionVersionRepresentation_ContextDefinitionVersionRepresentation } from './ContextDefinitionVersionRepresentation';
|
|
4
4
|
export declare const TTL = 1000;
|
|
5
|
-
export declare const VERSION = "
|
|
5
|
+
export declare const VERSION = "e07f559e3f80b556537a5f72ed9914f5";
|
|
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 {
|
|
@@ -63,6 +63,8 @@ export interface ContextDefinitionRepresentationNormalized {
|
|
|
63
63
|
isEditable?: boolean;
|
|
64
64
|
/** Success */
|
|
65
65
|
isSuccess?: boolean;
|
|
66
|
+
/** Is Transformation Enabled */
|
|
67
|
+
isTransformationEnabled?: boolean;
|
|
66
68
|
/** Is Upgrade Available */
|
|
67
69
|
isUpgradeAvailable?: boolean;
|
|
68
70
|
/** Adding reference definitions for definitions it refers to */
|
|
@@ -89,6 +91,7 @@ export interface ContextDefinitionRepresentation {
|
|
|
89
91
|
isActive?: boolean;
|
|
90
92
|
isEditable?: boolean;
|
|
91
93
|
isSuccess?: boolean;
|
|
94
|
+
isTransformationEnabled?: boolean;
|
|
92
95
|
isUpgradeAvailable?: boolean;
|
|
93
96
|
referenceContextDefinitions?: Array<ContextDefinitionReferenceRepresentation_ContextDefinitionReferenceRepresentation>;
|
|
94
97
|
}
|
package/dist/es/es2018/types/src/generated/types/ContextDefinitionTransformationRepresentation.d.ts
CHANGED
|
@@ -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 = "b9c45afac5a1c4dc782239611c4e3956";
|
|
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: ContextDefinitionTransformationRepresentation, existing: ContextDefinitionTransformationRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextDefinitionTransformationRepresentationNormalized;
|
|
@@ -14,6 +14,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
14
14
|
* (none)
|
|
15
15
|
*/
|
|
16
16
|
export interface ContextDefinitionTransformationRepresentationNormalized {
|
|
17
|
+
/** Transformation Source Developer Name */
|
|
18
|
+
apiName?: string;
|
|
17
19
|
/** Represents inherited ContextDefinitionTransformation in this definition. */
|
|
18
20
|
baseReference?: string;
|
|
19
21
|
/** Context Definition Transformation Id */
|
|
@@ -44,6 +46,7 @@ export interface ContextDefinitionTransformationRepresentationNormalized {
|
|
|
44
46
|
* (none)
|
|
45
47
|
*/
|
|
46
48
|
export interface ContextDefinitionTransformationRepresentation {
|
|
49
|
+
apiName?: string;
|
|
47
50
|
baseReference?: string;
|
|
48
51
|
contextDefinitionTransformationId: string;
|
|
49
52
|
contextDefinitionVersionId?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ContextDefinitionReferenceListInputRepresentation as ContextDefinitionReferenceListInputRepresentation_ContextDefinitionReferenceListInputRepresentation } from './ContextDefinitionReferenceListInputRepresentation';
|
|
2
2
|
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';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "9a926f5545f0e23dfec60d64271f16c7";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: ContextDefinitionsInputRepresentation, existing: ContextDefinitionsInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextDefinitionsInputRepresentationNormalized;
|
|
@@ -37,6 +37,8 @@ export interface ContextDefinitionsInputRepresentationNormalized {
|
|
|
37
37
|
hasSystemTags?: boolean;
|
|
38
38
|
/** Is Active */
|
|
39
39
|
isActive?: boolean;
|
|
40
|
+
/** Is Transformation Enabled */
|
|
41
|
+
isTransformationEnabled?: boolean;
|
|
40
42
|
/** Name of ContextDefinition */
|
|
41
43
|
name?: string;
|
|
42
44
|
/** JSON Payload to create ContextDefinition */
|
|
@@ -66,6 +68,7 @@ export interface ContextDefinitionsInputRepresentation {
|
|
|
66
68
|
generateApex?: boolean;
|
|
67
69
|
hasSystemTags?: boolean;
|
|
68
70
|
isActive?: boolean;
|
|
71
|
+
isTransformationEnabled?: boolean;
|
|
69
72
|
name?: string;
|
|
70
73
|
payload?: string;
|
|
71
74
|
referenceContextDefinitions?: ContextDefinitionReferenceListInputRepresentation_ContextDefinitionReferenceListInputRepresentation;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-context",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.422.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Normandy Context Service",
|
|
6
6
|
"main": "dist/es/es2018/industries-context.js",
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
"test:unit": "jest --config=./jest.config.js"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@salesforce/lds-bindings": "^1.
|
|
47
|
+
"@salesforce/lds-bindings": "^1.422.0"
|
|
48
48
|
},
|
|
49
49
|
"volta": {
|
|
50
50
|
"extends": "../../package.json"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
54
|
-
"@salesforce/lds-karma": "^1.
|
|
53
|
+
"@salesforce/lds-compiler-plugins": "^1.422.0",
|
|
54
|
+
"@salesforce/lds-karma": "^1.422.0"
|
|
55
55
|
},
|
|
56
56
|
"nx": {
|
|
57
57
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -5289,6 +5289,13 @@ function validate$m(obj, path = 'ContextDefinitionsInputRepresentation') {
|
|
|
5289
5289
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isActive + '" (at "' + path_isActive + '")');
|
|
5290
5290
|
}
|
|
5291
5291
|
}
|
|
5292
|
+
if (obj.isTransformationEnabled !== undefined) {
|
|
5293
|
+
const obj_isTransformationEnabled = obj.isTransformationEnabled;
|
|
5294
|
+
const path_isTransformationEnabled = path + '.isTransformationEnabled';
|
|
5295
|
+
if (typeof obj_isTransformationEnabled !== 'boolean') {
|
|
5296
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isTransformationEnabled + '" (at "' + path_isTransformationEnabled + '")');
|
|
5297
|
+
}
|
|
5298
|
+
}
|
|
5292
5299
|
if (obj.name !== undefined) {
|
|
5293
5300
|
const obj_name = obj.name;
|
|
5294
5301
|
const path_name = path + '.name';
|
|
@@ -5468,7 +5475,7 @@ function equals$g(existing, incoming) {
|
|
|
5468
5475
|
}
|
|
5469
5476
|
|
|
5470
5477
|
const TTL$a = 1000;
|
|
5471
|
-
const VERSION$f = "
|
|
5478
|
+
const VERSION$f = "747f52291b9f06be828d163214c2ba62";
|
|
5472
5479
|
function validate$k(obj, path = 'ContextDefinitionInfoRepresentation') {
|
|
5473
5480
|
const v_error = (() => {
|
|
5474
5481
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -5612,6 +5619,13 @@ function validate$k(obj, path = 'ContextDefinitionInfoRepresentation') {
|
|
|
5612
5619
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isSuccess + '" (at "' + path_isSuccess + '")');
|
|
5613
5620
|
}
|
|
5614
5621
|
}
|
|
5622
|
+
if (obj.isTransformationEnabled !== undefined) {
|
|
5623
|
+
const obj_isTransformationEnabled = obj.isTransformationEnabled;
|
|
5624
|
+
const path_isTransformationEnabled = path + '.isTransformationEnabled';
|
|
5625
|
+
if (typeof obj_isTransformationEnabled !== 'boolean') {
|
|
5626
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isTransformationEnabled + '" (at "' + path_isTransformationEnabled + '")');
|
|
5627
|
+
}
|
|
5628
|
+
}
|
|
5615
5629
|
if (obj.isUpgradeAvailable !== undefined) {
|
|
5616
5630
|
const obj_isUpgradeAvailable = obj.isUpgradeAvailable;
|
|
5617
5631
|
const path_isUpgradeAvailable = path + '.isUpgradeAvailable';
|
|
@@ -5789,6 +5803,11 @@ const select$P = function ContextDefinitionInfoRepresentationSelect() {
|
|
|
5789
5803
|
kind: 'Scalar',
|
|
5790
5804
|
required: false
|
|
5791
5805
|
},
|
|
5806
|
+
{
|
|
5807
|
+
name: 'isTransformationEnabled',
|
|
5808
|
+
kind: 'Scalar',
|
|
5809
|
+
required: false
|
|
5810
|
+
},
|
|
5792
5811
|
{
|
|
5793
5812
|
name: 'isUpgradeAvailable',
|
|
5794
5813
|
kind: 'Scalar',
|
|
@@ -5921,6 +5940,19 @@ function equals$f(existing, incoming) {
|
|
|
5921
5940
|
return false;
|
|
5922
5941
|
}
|
|
5923
5942
|
}
|
|
5943
|
+
const existing_isTransformationEnabled = existing.isTransformationEnabled;
|
|
5944
|
+
const incoming_isTransformationEnabled = incoming.isTransformationEnabled;
|
|
5945
|
+
// if at least one of these optionals is defined
|
|
5946
|
+
if (existing_isTransformationEnabled !== undefined || incoming_isTransformationEnabled !== undefined) {
|
|
5947
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5948
|
+
// not equal
|
|
5949
|
+
if (existing_isTransformationEnabled === undefined || incoming_isTransformationEnabled === undefined) {
|
|
5950
|
+
return false;
|
|
5951
|
+
}
|
|
5952
|
+
if (!(existing_isTransformationEnabled === incoming_isTransformationEnabled)) {
|
|
5953
|
+
return false;
|
|
5954
|
+
}
|
|
5955
|
+
}
|
|
5924
5956
|
const existing_isUpgradeAvailable = existing.isUpgradeAvailable;
|
|
5925
5957
|
const incoming_isUpgradeAvailable = incoming.isUpgradeAvailable;
|
|
5926
5958
|
// if at least one of these optionals is defined
|
|
@@ -7273,6 +7305,13 @@ function validate$g(obj, path = 'ContextDefinitionTransformationRepresentation')
|
|
|
7273
7305
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7274
7306
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
7275
7307
|
}
|
|
7308
|
+
if (obj.apiName !== undefined) {
|
|
7309
|
+
const obj_apiName = obj.apiName;
|
|
7310
|
+
const path_apiName = path + '.apiName';
|
|
7311
|
+
if (typeof obj_apiName !== 'string') {
|
|
7312
|
+
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
7313
|
+
}
|
|
7314
|
+
}
|
|
7276
7315
|
if (obj.baseReference !== undefined) {
|
|
7277
7316
|
const obj_baseReference = obj.baseReference;
|
|
7278
7317
|
const path_baseReference = path + '.baseReference';
|
|
@@ -7517,7 +7556,7 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7517
7556
|
}
|
|
7518
7557
|
|
|
7519
7558
|
const TTL$6 = 1000;
|
|
7520
|
-
const VERSION$b = "
|
|
7559
|
+
const VERSION$b = "e07f559e3f80b556537a5f72ed9914f5";
|
|
7521
7560
|
function validate$e(obj, path = 'ContextDefinitionRepresentation') {
|
|
7522
7561
|
const v_error = (() => {
|
|
7523
7562
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -7624,6 +7663,13 @@ function validate$e(obj, path = 'ContextDefinitionRepresentation') {
|
|
|
7624
7663
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isSuccess + '" (at "' + path_isSuccess + '")');
|
|
7625
7664
|
}
|
|
7626
7665
|
}
|
|
7666
|
+
if (obj.isTransformationEnabled !== undefined) {
|
|
7667
|
+
const obj_isTransformationEnabled = obj.isTransformationEnabled;
|
|
7668
|
+
const path_isTransformationEnabled = path + '.isTransformationEnabled';
|
|
7669
|
+
if (typeof obj_isTransformationEnabled !== 'boolean') {
|
|
7670
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isTransformationEnabled + '" (at "' + path_isTransformationEnabled + '")');
|
|
7671
|
+
}
|
|
7672
|
+
}
|
|
7627
7673
|
if (obj.isUpgradeAvailable !== undefined) {
|
|
7628
7674
|
const obj_isUpgradeAvailable = obj.isUpgradeAvailable;
|
|
7629
7675
|
const path_isUpgradeAvailable = path + '.isUpgradeAvailable';
|
|
@@ -7757,6 +7803,11 @@ const select$J = function ContextDefinitionRepresentationSelect() {
|
|
|
7757
7803
|
kind: 'Scalar',
|
|
7758
7804
|
required: false
|
|
7759
7805
|
},
|
|
7806
|
+
{
|
|
7807
|
+
name: 'isTransformationEnabled',
|
|
7808
|
+
kind: 'Scalar',
|
|
7809
|
+
required: false
|
|
7810
|
+
},
|
|
7760
7811
|
{
|
|
7761
7812
|
name: 'isUpgradeAvailable',
|
|
7762
7813
|
kind: 'Scalar',
|
|
@@ -7838,6 +7889,19 @@ function equals$b(existing, incoming) {
|
|
|
7838
7889
|
return false;
|
|
7839
7890
|
}
|
|
7840
7891
|
}
|
|
7892
|
+
const existing_isTransformationEnabled = existing.isTransformationEnabled;
|
|
7893
|
+
const incoming_isTransformationEnabled = incoming.isTransformationEnabled;
|
|
7894
|
+
// if at least one of these optionals is defined
|
|
7895
|
+
if (existing_isTransformationEnabled !== undefined || incoming_isTransformationEnabled !== undefined) {
|
|
7896
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
7897
|
+
// not equal
|
|
7898
|
+
if (existing_isTransformationEnabled === undefined || incoming_isTransformationEnabled === undefined) {
|
|
7899
|
+
return false;
|
|
7900
|
+
}
|
|
7901
|
+
if (!(existing_isTransformationEnabled === incoming_isTransformationEnabled)) {
|
|
7902
|
+
return false;
|
|
7903
|
+
}
|
|
7904
|
+
}
|
|
7841
7905
|
const existing_isUpgradeAvailable = existing.isUpgradeAvailable;
|
|
7842
7906
|
const incoming_isUpgradeAvailable = incoming.isUpgradeAvailable;
|
|
7843
7907
|
// if at least one of these optionals is defined
|
|
@@ -15314,4 +15378,4 @@ withDefaultLuvio((luvio) => {
|
|
|
15314
15378
|
});
|
|
15315
15379
|
|
|
15316
15380
|
export { cloneContextMappings, createContextAttributeMapping, createContextAttributeMappings, createContextAttributes, createContextFilters, createContextMapping, createContextMappings, createContextNodeMapping, createContextNodeMappings, createContextNodes, createContextQueryRecords, createContextServiceDefinition, createContextTags, deleteContext, deleteContextAttributeMapping, deleteContextFilter, deleteContextMapping, deleteContextNodeMapping, deleteContextServiceAttribute, deleteContextServiceAttributeMapping, deleteContextServiceDefinition, deleteContextServiceMapping, deleteContextServiceNode, deleteContextServiceNodeMapping, deleteContextServiceTag, getContext, getContextAttributeMapping, getContextAttributeMappingNotifyChange, getContextAttributeMapping_imperative, getContextDefinitions, getContextDefinitions_imperative, getContextFilter, getContextFilterNotifyChange, getContextFilter_imperative, getContextFilters, getContextFiltersNotifyChange, getContextFilters_imperative, getContextInfo, getContextInfoNotifyChange, getContextInfo_imperative, getContextMapping, getContextMappingNotifyChange, getContextMapping_imperative, getContextNodeMapping, getContextNodeMappingNotifyChange, getContextNodeMapping_imperative, getContextNotifyChange, getContextServiceAccess, getContextServiceAccessNotifyChange, getContextServiceAccess_imperative, getContextServiceAttribute, getContextServiceAttributeMapping, getContextServiceAttributeMappingNotifyChange, getContextServiceAttributeMapping_imperative, getContextServiceAttributeNotifyChange, getContextServiceAttribute_imperative, getContextServiceDefinition, getContextServiceDefinitionInfo, getContextServiceDefinitionInfoNotifyChange, getContextServiceDefinitionInfo_imperative, getContextServiceDefinitionNotifyChange, getContextServiceDefinition_imperative, getContextServiceMapping, getContextServiceMappingNotifyChange, getContextServiceMapping_imperative, getContextServiceNode, getContextServiceNodeMapping, getContextServiceNodeMappingNotifyChange, getContextServiceNodeMapping_imperative, getContextServiceNodeNotifyChange, getContextServiceNode_imperative, getContextServiceTag, getContextServiceTagNotifyChange, getContextServiceTag_imperative, getContextTags, getContextTagsNotifyChange, getContextTags_imperative, getContextTranslation, getContextTranslation_imperative, getContext_imperative, getDynamicAttributes, getDynamicAttributesNotifyChange, getDynamicAttributes_imperative, putContextServiceAccess, queryContextRecordAndChildren, updateContextAttributeMapping, updateContextAttributeMappings, updateContextAttributes, updateContextFilter, updateContextMapping, updateContextMappings, updateContextNodeMapping, updateContextNodeMappings, updateContextNodes, updateContextServiceDefinition, updateContextTags, upgradeContextServiceDefinition };
|
|
15317
|
-
// version: 1.
|
|
15381
|
+
// version: 1.422.0-9f6d0160d8
|
package/src/raml/api.raml
CHANGED
|
@@ -958,6 +958,10 @@ types:
|
|
|
958
958
|
description: Success
|
|
959
959
|
type: boolean
|
|
960
960
|
required: false
|
|
961
|
+
isTransformationEnabled:
|
|
962
|
+
description: is Transformation Enabled
|
|
963
|
+
type: boolean
|
|
964
|
+
required: false
|
|
961
965
|
isUpgradeAvailable:
|
|
962
966
|
description: Is Upgrade Available
|
|
963
967
|
type: boolean
|
|
@@ -1097,6 +1101,10 @@ types:
|
|
|
1097
1101
|
description: Output representation of Context Definition Transformation
|
|
1098
1102
|
type: object
|
|
1099
1103
|
properties:
|
|
1104
|
+
apiName:
|
|
1105
|
+
description: Transformation Source Developer Name
|
|
1106
|
+
type: string
|
|
1107
|
+
required: false
|
|
1100
1108
|
baseReference:
|
|
1101
1109
|
description: Represents inherited ContextDefinitionTransformation in this
|
|
1102
1110
|
definition.
|
|
@@ -1268,6 +1276,10 @@ types:
|
|
|
1268
1276
|
description: Is Editable
|
|
1269
1277
|
type: boolean
|
|
1270
1278
|
required: false
|
|
1279
|
+
isTransformationEnabled:
|
|
1280
|
+
description: Is Transformation Enabled
|
|
1281
|
+
type: boolean
|
|
1282
|
+
required: false
|
|
1271
1283
|
isUpgradeAvailable:
|
|
1272
1284
|
description: Is Upgrade Available
|
|
1273
1285
|
type: boolean
|
|
@@ -1460,6 +1472,10 @@ types:
|
|
|
1460
1472
|
description: Is Active
|
|
1461
1473
|
type: boolean
|
|
1462
1474
|
required: false # TODO Hand-rolled W-12486791
|
|
1475
|
+
isTransformationEnabled:
|
|
1476
|
+
description: Is Transformation Enabled
|
|
1477
|
+
type: boolean
|
|
1478
|
+
required: false
|
|
1463
1479
|
name:
|
|
1464
1480
|
description: Name of ContextDefinition
|
|
1465
1481
|
type: string
|