@salesforce/lds-adapters-industries-context 1.130.10 → 1.131.0-dev11
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 +2007 -1435
- package/dist/es/es2018/types/src/generated/adapters/getContextServiceAccess.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/putContextServiceAccess.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/resources/getConnectContextserviceAccessByPreferenceNameAndUniqueIdentifier.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/putConnectContextserviceAccessByPreferenceNameAndUniqueIdentifier.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/types/ContextAttributeMappingRepresentation.d.ts +7 -7
- package/dist/es/es2018/types/src/generated/types/ContextAttributeRepresentation.d.ts +9 -9
- package/dist/es/es2018/types/src/generated/types/ContextAttributeTagRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/ContextDataRecordRepresentation.d.ts +17 -17
- package/dist/es/es2018/types/src/generated/types/ContextDefinitionRepresentation.d.ts +5 -5
- package/dist/es/es2018/types/src/generated/types/ContextDefinitionVersionRepresentation.d.ts +7 -7
- package/dist/es/es2018/types/src/generated/types/ContextInfoRepresentation.d.ts +5 -5
- package/dist/es/es2018/types/src/generated/types/ContextMappingRepresentation.d.ts +5 -5
- package/dist/es/es2018/types/src/generated/types/ContextNodeMappingRepresentation.d.ts +5 -5
- package/dist/es/es2018/types/src/generated/types/ContextNodeRepresentation.d.ts +5 -5
- package/dist/es/es2018/types/src/generated/types/ContextQueryRecordRepresentation.d.ts +5 -5
- package/dist/es/es2018/types/src/generated/types/ContextServiceAccessInputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ContextServiceAccessInputWrapperRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ContextServiceAccessRepresentation.d.ts +42 -0
- package/package.json +4 -4
- package/sfdc/index.js +2088 -1465
- package/src/raml/api.raml +92 -4
- package/src/raml/luvio.raml +20 -0
package/src/raml/api.raml
CHANGED
|
@@ -73,7 +73,7 @@ types:
|
|
|
73
73
|
queryAttribute:
|
|
74
74
|
description: Query Attribute
|
|
75
75
|
type: string
|
|
76
|
-
required: false
|
|
76
|
+
required: false
|
|
77
77
|
sObjectDomain:
|
|
78
78
|
description: SObject Domain
|
|
79
79
|
type: string
|
|
@@ -198,12 +198,14 @@ types:
|
|
|
198
198
|
contextAttributeId:
|
|
199
199
|
description: Reference to ContextAttribute
|
|
200
200
|
type: string
|
|
201
|
+
required: false
|
|
201
202
|
contextAttributeMappingId:
|
|
202
203
|
description: Id of this ContextAttributeMapping
|
|
203
204
|
type: string
|
|
204
205
|
hydrationSource:
|
|
205
206
|
description: Hydration Source
|
|
206
207
|
type: string
|
|
208
|
+
required: false
|
|
207
209
|
isSuccess:
|
|
208
210
|
description: Success
|
|
209
211
|
type: boolean
|
|
@@ -211,6 +213,7 @@ types:
|
|
|
211
213
|
parentNodeMappingId:
|
|
212
214
|
description: Id of (Parent) ContextNodeMapping
|
|
213
215
|
type: string
|
|
216
|
+
required: false
|
|
214
217
|
ContextAttributeRepresentation:
|
|
215
218
|
description: Output representation of Context Attribute
|
|
216
219
|
type: object
|
|
@@ -226,9 +229,11 @@ types:
|
|
|
226
229
|
dataType:
|
|
227
230
|
description: DataType
|
|
228
231
|
type: string
|
|
232
|
+
required: false
|
|
229
233
|
fieldType:
|
|
230
234
|
description: Field Type
|
|
231
235
|
type: string
|
|
236
|
+
required: false
|
|
232
237
|
isKey:
|
|
233
238
|
description: Is Key?
|
|
234
239
|
type: boolean
|
|
@@ -244,9 +249,11 @@ types:
|
|
|
244
249
|
name:
|
|
245
250
|
description: Name
|
|
246
251
|
type: string
|
|
252
|
+
required: false
|
|
247
253
|
parentNodeId:
|
|
248
254
|
description: Id of (Parent) ContextNode
|
|
249
255
|
type: string
|
|
256
|
+
required: false
|
|
250
257
|
# TODO Hand-rolled W-8334626
|
|
251
258
|
ContextAttributeTagInputWrapperRepresentation:
|
|
252
259
|
description: Wrapper Input representation for ContextAttributeTagInputRepresentation
|
|
@@ -306,6 +313,7 @@ types:
|
|
|
306
313
|
name:
|
|
307
314
|
description: Name
|
|
308
315
|
type: string
|
|
316
|
+
required: false
|
|
309
317
|
ContextDataRecordRepresentation:
|
|
310
318
|
description: Output representation of Context Data Record
|
|
311
319
|
type: object
|
|
@@ -319,18 +327,23 @@ types:
|
|
|
319
327
|
contextDataRecordId:
|
|
320
328
|
description: Id of (this) Context Data Record
|
|
321
329
|
type: string
|
|
330
|
+
required: false
|
|
322
331
|
contextDefinitionId:
|
|
323
332
|
description: Id of Context Definition
|
|
324
333
|
type: string
|
|
334
|
+
required: false
|
|
325
335
|
contextMappingId:
|
|
326
336
|
description: Id of Context Mapping
|
|
327
337
|
type: string
|
|
338
|
+
required: false
|
|
328
339
|
currentState:
|
|
329
340
|
description: Current State
|
|
330
341
|
type: string
|
|
342
|
+
required: false
|
|
331
343
|
errorCode:
|
|
332
344
|
description: Error Code
|
|
333
345
|
type: string
|
|
346
|
+
required: false
|
|
334
347
|
errorMessages:
|
|
335
348
|
description: Error Messages
|
|
336
349
|
type: array
|
|
@@ -339,12 +352,41 @@ types:
|
|
|
339
352
|
lastProcessedTimeStamp:
|
|
340
353
|
description: Last Processed Timestamp
|
|
341
354
|
type: string
|
|
355
|
+
required: false
|
|
342
356
|
lastUpdatedTimeStamp:
|
|
343
357
|
description: Last Updated Timestamp
|
|
344
358
|
type: string
|
|
359
|
+
required: false
|
|
345
360
|
processingStatus:
|
|
346
361
|
description: Processing Status
|
|
347
362
|
type: string
|
|
363
|
+
required: false
|
|
364
|
+
# TODO Hand-rolled
|
|
365
|
+
ContextServiceAccessInputWrapperRepresentation:
|
|
366
|
+
description: Wrapper Input representation for ContextServiceAccessInputRepresentation
|
|
367
|
+
type: object
|
|
368
|
+
properties:
|
|
369
|
+
contextServiceAccessInput:
|
|
370
|
+
description: Input representation of service access
|
|
371
|
+
type: ContextServiceAccessInputRepresentation
|
|
372
|
+
ContextServiceAccessInputRepresentation:
|
|
373
|
+
description: Input representation of Context Service Access
|
|
374
|
+
type: object
|
|
375
|
+
properties:
|
|
376
|
+
isEnabled:
|
|
377
|
+
description: Is Enabled
|
|
378
|
+
type: boolean
|
|
379
|
+
ContextServiceAccessRepresentation:
|
|
380
|
+
description: Context Definition access Representation
|
|
381
|
+
type: object
|
|
382
|
+
properties:
|
|
383
|
+
isEnabled:
|
|
384
|
+
description: Is Enabled
|
|
385
|
+
type: boolean
|
|
386
|
+
required: false
|
|
387
|
+
uniqueIdentifier:
|
|
388
|
+
description: Unique identifier
|
|
389
|
+
type: string
|
|
348
390
|
ContextDefinitionInfoRepresentation:
|
|
349
391
|
description: Output representation of Context Definition Info
|
|
350
392
|
type: object
|
|
@@ -352,7 +394,7 @@ types:
|
|
|
352
394
|
activeVersionId:
|
|
353
395
|
description: Active Context Definition Version Id
|
|
354
396
|
type: string
|
|
355
|
-
required: false
|
|
397
|
+
required: false
|
|
356
398
|
contextDefinitionId:
|
|
357
399
|
description: Id of Context Definition
|
|
358
400
|
type: string
|
|
@@ -387,7 +429,7 @@ types:
|
|
|
387
429
|
isSuccess:
|
|
388
430
|
description: Success
|
|
389
431
|
type: boolean
|
|
390
|
-
required: false
|
|
432
|
+
required: false
|
|
391
433
|
lastModifiedBy:
|
|
392
434
|
description: Last Modified By
|
|
393
435
|
type: string
|
|
@@ -456,7 +498,7 @@ types:
|
|
|
456
498
|
activeVersionId:
|
|
457
499
|
description: Active Context Definition Version ID
|
|
458
500
|
type: string
|
|
459
|
-
required: false
|
|
501
|
+
required: false
|
|
460
502
|
contextDefinitionId:
|
|
461
503
|
description: Context Definition Id
|
|
462
504
|
type: string
|
|
@@ -468,6 +510,7 @@ types:
|
|
|
468
510
|
definition:
|
|
469
511
|
description: Definition
|
|
470
512
|
type: string
|
|
513
|
+
required: false
|
|
471
514
|
description:
|
|
472
515
|
description: Description
|
|
473
516
|
type: string
|
|
@@ -483,6 +526,7 @@ types:
|
|
|
483
526
|
isSuccess:
|
|
484
527
|
description: Success
|
|
485
528
|
type: boolean
|
|
529
|
+
required: false
|
|
486
530
|
# TODO Hand-rolled W-8334626
|
|
487
531
|
ContextDefinitionVersionInputWrapperRepresentation:
|
|
488
532
|
description: Wrapper Input representation for ContextDefinitionVersionInputRepresentation
|
|
@@ -529,17 +573,20 @@ types:
|
|
|
529
573
|
contextDefinitionId:
|
|
530
574
|
description: Id of ContextDefinition
|
|
531
575
|
type: string
|
|
576
|
+
required: false
|
|
532
577
|
contextDefinitionVersionId:
|
|
533
578
|
description: Id of ContextDefinitionVersion
|
|
534
579
|
type: string
|
|
535
580
|
contextMappings:
|
|
536
581
|
description: List of Context Mappings
|
|
537
582
|
type: array
|
|
583
|
+
required: false
|
|
538
584
|
items:
|
|
539
585
|
type: ContextMappingRepresentation
|
|
540
586
|
contextNodes:
|
|
541
587
|
description: List of Context Nodes
|
|
542
588
|
type: array
|
|
589
|
+
required: false
|
|
543
590
|
items:
|
|
544
591
|
type: ContextNodeRepresentation
|
|
545
592
|
endDate:
|
|
@@ -575,9 +622,11 @@ types:
|
|
|
575
622
|
contextMappingId:
|
|
576
623
|
description: Context Mapping
|
|
577
624
|
type: string
|
|
625
|
+
required: false
|
|
578
626
|
isSuccess:
|
|
579
627
|
description: Success
|
|
580
628
|
type: boolean
|
|
629
|
+
required: false
|
|
581
630
|
ContextInputRepresentation:
|
|
582
631
|
description: Input representation of Context
|
|
583
632
|
type: object
|
|
@@ -623,6 +672,7 @@ types:
|
|
|
623
672
|
contextDefinitionVersionId:
|
|
624
673
|
description: Id of ContextDefinitionVersion
|
|
625
674
|
type: string
|
|
675
|
+
required: false
|
|
626
676
|
contextMappingId:
|
|
627
677
|
description: Id of ContextMapping
|
|
628
678
|
type: string
|
|
@@ -642,6 +692,7 @@ types:
|
|
|
642
692
|
name:
|
|
643
693
|
description: Name of ContextMapping
|
|
644
694
|
type: string
|
|
695
|
+
required: false
|
|
645
696
|
ContextMetaDataInputRepresentation:
|
|
646
697
|
description: Input representation of Context Metadata
|
|
647
698
|
type: object
|
|
@@ -742,9 +793,11 @@ types:
|
|
|
742
793
|
contextMappingId:
|
|
743
794
|
description: Id of ContextMapping
|
|
744
795
|
type: string
|
|
796
|
+
required: false
|
|
745
797
|
contextNodeId:
|
|
746
798
|
description: Id of (From) ContextNode
|
|
747
799
|
type: string
|
|
800
|
+
required: false
|
|
748
801
|
contextNodeMappingId:
|
|
749
802
|
description: Id of this ContextNodeMapping
|
|
750
803
|
type: string
|
|
@@ -775,6 +828,7 @@ types:
|
|
|
775
828
|
contextDefinitionVersionId:
|
|
776
829
|
description: Id of ContextDefinitionVersion
|
|
777
830
|
type: string
|
|
831
|
+
required: false
|
|
778
832
|
contextNodeId:
|
|
779
833
|
description: Id of this ContextNode
|
|
780
834
|
type: string
|
|
@@ -789,6 +843,7 @@ types:
|
|
|
789
843
|
name:
|
|
790
844
|
description: Name
|
|
791
845
|
type: string
|
|
846
|
+
required: false
|
|
792
847
|
parentNodeId:
|
|
793
848
|
description: Id of (Parent) ContextNode
|
|
794
849
|
type: string
|
|
@@ -814,11 +869,13 @@ types:
|
|
|
814
869
|
childQueryRecords:
|
|
815
870
|
description: List of Child Query Records
|
|
816
871
|
type: array
|
|
872
|
+
required: false
|
|
817
873
|
items:
|
|
818
874
|
type: ContextQueryRecordRepresentation
|
|
819
875
|
record:
|
|
820
876
|
description: Context Data Record
|
|
821
877
|
type: ContextDataRecordRepresentation
|
|
878
|
+
required: false
|
|
822
879
|
ContextQueryResultRepresentation:
|
|
823
880
|
description: Output representation of Context Query Result
|
|
824
881
|
type: object
|
|
@@ -1414,3 +1471,34 @@ types:
|
|
|
1414
1471
|
description: Unique ID to represent a Context Mapping
|
|
1415
1472
|
type: string
|
|
1416
1473
|
required: true
|
|
1474
|
+
/contextservice/access/{preferenceName}/{uniqueIdentifier}:
|
|
1475
|
+
get:
|
|
1476
|
+
displayName: getContextServiceAccess
|
|
1477
|
+
description: Get if context definition is enabled
|
|
1478
|
+
responses:
|
|
1479
|
+
'200':
|
|
1480
|
+
description: Success
|
|
1481
|
+
body:
|
|
1482
|
+
application/json:
|
|
1483
|
+
type: ContextServiceAccessRepresentation
|
|
1484
|
+
put:
|
|
1485
|
+
displayName: putContextServiceAccess
|
|
1486
|
+
description: Update a Context Definition Access
|
|
1487
|
+
responses:
|
|
1488
|
+
'200':
|
|
1489
|
+
description: Success
|
|
1490
|
+
body:
|
|
1491
|
+
application/json:
|
|
1492
|
+
type: ContextServiceAccessRepresentation
|
|
1493
|
+
body:
|
|
1494
|
+
application/json:
|
|
1495
|
+
type: ContextServiceAccessInputWrapperRepresentation
|
|
1496
|
+
#required: false
|
|
1497
|
+
(oas-body-name): contextServiceAccessInput
|
|
1498
|
+
uriParameters:
|
|
1499
|
+
preferenceName:
|
|
1500
|
+
description: Name of the preference to enable or disable
|
|
1501
|
+
type: string
|
|
1502
|
+
uniqueIdentifier:
|
|
1503
|
+
description: Unique Identifier
|
|
1504
|
+
type: string
|
package/src/raml/luvio.raml
CHANGED
|
@@ -14,6 +14,10 @@ types:
|
|
|
14
14
|
id: contextDefinitionId
|
|
15
15
|
ContextDefinitionListRepresentation:
|
|
16
16
|
(luvio.ttl): 10000
|
|
17
|
+
ContextServiceAccessRepresentation:
|
|
18
|
+
(luvio.ttl): 100
|
|
19
|
+
(luvio.key):
|
|
20
|
+
id: uniqueIdentifier
|
|
17
21
|
ContextAttributeTagListRepresentation:
|
|
18
22
|
(luvio.ttl): 10000
|
|
19
23
|
(luvio.opaque): true
|
|
@@ -238,3 +242,19 @@ types:
|
|
|
238
242
|
name: updateContextNodeMapping
|
|
239
243
|
uriParameters:
|
|
240
244
|
contextNodeMappingId:
|
|
245
|
+
/contextservice/access/{preferenceName}/{uniqueIdentifier}:
|
|
246
|
+
get:
|
|
247
|
+
(luvio.adapter):
|
|
248
|
+
name: getContextServiceAccess
|
|
249
|
+
(luvio.key):
|
|
250
|
+
id: urlParams.preferenceName
|
|
251
|
+
put:
|
|
252
|
+
(luvio.adapter):
|
|
253
|
+
name: putContextServiceAccess
|
|
254
|
+
uriParameters:
|
|
255
|
+
preferenceName:
|
|
256
|
+
type: string
|
|
257
|
+
required: true
|
|
258
|
+
uniqueIdentifier:
|
|
259
|
+
type: string
|
|
260
|
+
required: true
|