@salesforce/lds-adapters-industries-context 1.436.0 → 1.438.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.
Files changed (34) hide show
  1. package/dist/es/es2018/industries-context.js +3390 -2345
  2. package/dist/es/es2018/types/src/generated/adapters/buildAndQueryRecordsFilter.d.ts +22 -0
  3. package/dist/es/es2018/types/src/generated/adapters/buildContext.d.ts +17 -0
  4. package/dist/es/es2018/types/src/generated/adapters/buildContextAndQuery.d.ts +28 -0
  5. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +3 -0
  6. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +4 -1
  7. package/dist/es/es2018/types/src/generated/resources/postConnectContext.d.ts +2 -1
  8. package/dist/es/es2018/types/src/generated/resources/postConnectContextQuery.d.ts +25 -0
  9. package/dist/es/es2018/types/src/generated/resources/postConnectContexts.d.ts +14 -0
  10. package/dist/es/es2018/types/src/generated/resources/postConnectContextsFiltering.d.ts +19 -0
  11. package/dist/es/es2018/types/src/generated/types/ContextAllQueriesInputRepresentation.d.ts +39 -0
  12. package/dist/es/es2018/types/src/generated/types/ContextAllQueriesOutputRepresentation.d.ts +31 -0
  13. package/dist/es/es2018/types/src/generated/types/ContextAndQueryInputRepresentation.d.ts +56 -0
  14. package/dist/es/es2018/types/src/generated/types/ContextAndQueryOutputRepresentation.d.ts +63 -0
  15. package/dist/es/es2018/types/src/generated/types/ContextAttributeTagToAttributeRepresentation.d.ts +31 -0
  16. package/dist/es/es2018/types/src/generated/types/ContextAttributeUpdateWithTagsRepresentation.d.ts +29 -0
  17. package/dist/es/es2018/types/src/generated/types/ContextFilterInputRepresentation.d.ts +43 -0
  18. package/dist/es/es2018/types/src/generated/types/ContextFilterOutputRepresentation.d.ts +52 -0
  19. package/dist/es/es2018/types/src/generated/types/ContextInputRepresentation.d.ts +4 -4
  20. package/dist/es/es2018/types/src/generated/types/ContextMetaColumnListInputRepresentation.d.ts +28 -0
  21. package/dist/es/es2018/types/src/generated/types/ContextMetaDataInputRepresentation.d.ts +10 -7
  22. package/dist/es/es2018/types/src/generated/types/ContextNodeTagToAttributesRepresentation.d.ts +32 -0
  23. package/dist/es/es2018/types/src/generated/types/ContextTagDataRepresentation.d.ts +31 -0
  24. package/dist/es/es2018/types/src/generated/types/FilterConditionInputRepresentation.d.ts +34 -0
  25. package/dist/es/es2018/types/src/generated/types/PersistContextInputRepresentation.d.ts +40 -0
  26. package/dist/es/es2018/types/src/generated/types/PersistContextOutputRepresentation.d.ts +28 -0
  27. package/dist/es/es2018/types/src/generated/types/QueryContextRecordStatusAttributesResultRepresentation.d.ts +53 -0
  28. package/dist/es/es2018/types/src/generated/types/QueryContextRecordsAndChildrenInputRepresentation.d.ts +35 -0
  29. package/dist/es/es2018/types/src/generated/types/QueryTagsInputRepresentation.d.ts +35 -0
  30. package/dist/es/es2018/types/src/generated/types/QueryTagsResultRepresentation.d.ts +34 -0
  31. package/package.json +4 -4
  32. package/sfdc/index.js +2386 -1332
  33. package/src/raml/api.raml +389 -1
  34. package/src/raml/luvio.raml +21 -0
package/src/raml/api.raml CHANGED
@@ -1559,7 +1559,7 @@ types:
1559
1559
  type: string
1560
1560
  metadata:
1561
1561
  description: Context Metadata
1562
- type: object
1562
+ type: ContextMetaDataInputRepresentation
1563
1563
  # TODO Hand-rolled W-8334626
1564
1564
  ContextMappingInputWrapperRepresentation:
1565
1565
  description: Wrapper Input representation for ContextMappingInputRepresentation
@@ -1774,15 +1774,22 @@ types:
1774
1774
  type: array
1775
1775
  items:
1776
1776
  type: object
1777
+ required: false
1777
1778
  contextDefinitionId:
1778
1779
  description: Context Definition Id
1779
1780
  type: string
1780
1781
  contextLifecycleCustomizer:
1781
1782
  description: Context Lifecycle Customizer
1782
1783
  type: string
1784
+ required: false
1783
1785
  mappingId:
1784
1786
  description: Context Mapping Id
1785
1787
  type: string
1788
+ required: false
1789
+ mappingName:
1790
+ description: Context Mapping Name
1791
+ type: string
1792
+ required: false
1786
1793
  # TODO Hand-rolled W-8334626
1787
1794
  ContextNodeInputWrapperRepresentation:
1788
1795
  description: Wrapper Input representation for ContextNodeInputRepresentation
@@ -2479,6 +2486,345 @@ types:
2479
2486
  totalMatchCount:
2480
2487
  description: total match count
2481
2488
  type: integer
2489
+ ContextAllQueriesOutputRepresentation:
2490
+ description: Output representation of All Queries
2491
+ type: object
2492
+ properties:
2493
+ queryRecordResponse:
2494
+ description: Context Query Record Representation
2495
+ type: any
2496
+ required: false
2497
+ queryTagsResponse:
2498
+ description: Context Query Tag Representation
2499
+ type: any
2500
+ required: false
2501
+ PersistContextOutputRepresentation:
2502
+ description: Output representation of Context Peristence
2503
+ type: object
2504
+ properties:
2505
+ referenceId:
2506
+ description: Id to track processing details of the request/response
2507
+ type: string
2508
+ QueryContextRecordStatusAttributesResultRepresentation:
2509
+ description: Output representation of QueryResult-ContextRecordStatus
2510
+ type: object
2511
+ properties:
2512
+ contextDataPathToErrorListMap:
2513
+ description: Context Record Error List Representation
2514
+ type: object
2515
+ required: false
2516
+ properties:
2517
+ //:
2518
+ type: array
2519
+ items:
2520
+ type: string
2521
+ contextDataPathToProcessingStatus:
2522
+ description: Context Record Processing Status Representation
2523
+ type: object
2524
+ required: false
2525
+ properties:
2526
+ //:
2527
+ type: string
2528
+ timestampMap:
2529
+ description: Context Record Timestamp Representation
2530
+ type: object
2531
+ required: false
2532
+ properties:
2533
+ //:
2534
+ type: string
2535
+ updatedTimestampMap:
2536
+ description: Context Record Updated Timestamp Representation
2537
+ type: object
2538
+ required: false
2539
+ properties:
2540
+ //:
2541
+ type: string
2542
+ FilterConditionInputRepresentation:
2543
+ description: Input representation for filter condition
2544
+ type: object
2545
+ properties:
2546
+ field:
2547
+ description: Field name
2548
+ type: string
2549
+ operator:
2550
+ description: Operator (e.g., EQUALS, CONTAINS)
2551
+ type: string
2552
+ value:
2553
+ description: Filter value
2554
+ type: any
2555
+ QueryTagsInputRepresentation:
2556
+ description: Input representation for querying tags
2557
+ type: object
2558
+ properties:
2559
+ contextId:
2560
+ description: Context ID
2561
+ type: string
2562
+ tags:
2563
+ description: List of tags
2564
+ type: array
2565
+ items:
2566
+ type: string
2567
+ required: false
2568
+ filter:
2569
+ description: Filter conditions
2570
+ type: array
2571
+ items:
2572
+ type: FilterConditionInputRepresentation
2573
+ required: false
2574
+ ContextAllQueriesInputRepresentation:
2575
+ description: Input representation for all queries
2576
+ type: object
2577
+ properties:
2578
+ iteration:
2579
+ description: Iteration number
2580
+ type: integer
2581
+ required: false
2582
+ queryTags:
2583
+ description: Query tags input
2584
+ type: QueryTagsInputRepresentation
2585
+ required: false
2586
+ queryRecords:
2587
+ description: Query records input
2588
+ type: QueryContextRecordInputRepresentation
2589
+ required: false
2590
+ queryRecordsWithChildren:
2591
+ description: Flag to query records with children
2592
+ type: boolean
2593
+ required: false
2594
+ ContextMetaColumnListInputRepresentation:
2595
+ description: Input representation for context meta column list
2596
+ type: object
2597
+ properties:
2598
+ columnsTypes:
2599
+ description: List of column types
2600
+ type: array
2601
+ items:
2602
+ type: string
2603
+ ContextAttributeTagToAttributeRepresentation:
2604
+ description: Representation for attribute tag to attribute mapping
2605
+ type: object
2606
+ properties:
2607
+ attributeTag:
2608
+ description: Attribute tag
2609
+ type: string
2610
+ attributeValue:
2611
+ description: Attribute value
2612
+ type: any
2613
+ ContextNodeTagToAttributesRepresentation:
2614
+ description: Representation for node tag to attributes mapping
2615
+ type: object
2616
+ properties:
2617
+ nodeTag:
2618
+ description: Node tag
2619
+ type: string
2620
+ contextAttributeTagToAttributeRepresentationList:
2621
+ description: List of attribute tag to attribute mappings
2622
+ type: array
2623
+ items:
2624
+ type: ContextAttributeTagToAttributeRepresentation
2625
+ ContextAttributeUpdateWithTagsRepresentation:
2626
+ description: Representation for context attribute update with tags
2627
+ type: object
2628
+ properties:
2629
+ nodeTagToAttributesRepresentations:
2630
+ description: List of node tag to attributes representations
2631
+ type: array
2632
+ items:
2633
+ type: ContextNodeTagToAttributesRepresentation
2634
+ ContextAndQueryInputRepresentation:
2635
+ description: Input representation of Context and Query
2636
+ type: object
2637
+ properties:
2638
+ attributeUpdateWithTagsRepresentation:
2639
+ description: Context attribute update with tags representation
2640
+ type: ContextAttributeUpdateWithTagsRepresentation
2641
+ required: false
2642
+ build:
2643
+ description: Build Context Payload
2644
+ type: ContextInputRepresentation
2645
+ required: false
2646
+ contextMetaColumnListInputRepresentation:
2647
+ description: Context meta column list input representation
2648
+ type: ContextMetaColumnListInputRepresentation
2649
+ required: false
2650
+ delete:
2651
+ description: Delete Context
2652
+ type: boolean
2653
+ required: false
2654
+ persist:
2655
+ description: Persist data configuration
2656
+ type: PersistContextInputRepresentation
2657
+ required: false
2658
+ query:
2659
+ description: Fetch all queries data
2660
+ type: ContextAllQueriesInputRepresentation
2661
+ required: false
2662
+ queryRecordStatusAttempts:
2663
+ description: Get Record Status Context
2664
+ type: integer
2665
+ required: false
2666
+ tags:
2667
+ description: Set Tags
2668
+ type: array
2669
+ items:
2670
+ type: string
2671
+ required: false
2672
+ waitTime:
2673
+ description: Set wait time value
2674
+ type: integer
2675
+ required: false
2676
+ ContextAndQueryOutputRepresentation:
2677
+ description: Output representation of Context And Query
2678
+ type: object
2679
+ properties:
2680
+ contextAndQueryId:
2681
+ description: Unique Id - Optional, using buildResponse.contextId for caching
2682
+ type: string
2683
+ required: false
2684
+ buildResponse:
2685
+ description: Context Build Representation
2686
+ type: ContextInfoRepresentation
2687
+ required: true
2688
+ deleteResponse:
2689
+ description: Delete Representation
2690
+ type: boolean
2691
+ required: false
2692
+ isSuccess:
2693
+ description: Success
2694
+ type: boolean
2695
+ required: false
2696
+ persistResponse:
2697
+ description: Persist Representation
2698
+ type: PersistContextOutputRepresentation
2699
+ required: false
2700
+ queriesResponse:
2701
+ description: Context Query Representation
2702
+ type: ContextAllQueriesOutputRepresentation
2703
+ required: false
2704
+ queryContextRecordStatus:
2705
+ description: queryContextRecordStatus
2706
+ type: QueryContextRecordStatusAttributesResultRepresentation
2707
+ required: false
2708
+ recordStatusResponse:
2709
+ description: Get Record Status Representation
2710
+ type: boolean
2711
+ required: false
2712
+ ContextTagDataRepresentation:
2713
+ description: Context Tag Data Representation
2714
+ type: object
2715
+ properties:
2716
+ tagName:
2717
+ description: Tag name
2718
+ type: string
2719
+ tagValue:
2720
+ description: Tag value
2721
+ type: string
2722
+ required: false
2723
+ QueryTagsResultRepresentation:
2724
+ description: Output representation of QueryResult-ContextTags
2725
+ type: object
2726
+ properties:
2727
+ isDone:
2728
+ description: Done
2729
+ type: boolean
2730
+ required: false
2731
+ isSuccess:
2732
+ description: Success
2733
+ type: boolean
2734
+ required: false
2735
+ queryResult:
2736
+ description: Map of Tag and TagData
2737
+ type: any
2738
+ required: false
2739
+ PersistContextInputRepresentation:
2740
+ description: Input representation for persisting context
2741
+ type: object
2742
+ properties:
2743
+ contextId:
2744
+ description: Context ID
2745
+ type: string
2746
+ targetMappingId:
2747
+ description: Target Mapping ID
2748
+ type: string
2749
+ required: false
2750
+ targetMappingName:
2751
+ description: Target Mapping Name
2752
+ type: string
2753
+ required: false
2754
+ correlationId:
2755
+ description: Correlation ID for tracking
2756
+ type: string
2757
+ required: false
2758
+ txnChangesOnly:
2759
+ description: Flag to persist only transaction changes
2760
+ type: boolean
2761
+ required: false
2762
+ QueryContextRecordsAndChildrenInputRepresentation:
2763
+ description: Input representation for querying context records and children
2764
+ type: object
2765
+ properties:
2766
+ contextId:
2767
+ description: Context ID
2768
+ type: string
2769
+ mappingId:
2770
+ description: Context Mapping ID
2771
+ type: string
2772
+ required: false
2773
+ queryPaths:
2774
+ description: List of query data paths
2775
+ type: array
2776
+ items:
2777
+ type: ContextDataPathInputRepresentation
2778
+ required: false
2779
+ ContextFilterInputRepresentation:
2780
+ description: Filter input representation of Context
2781
+ type: object
2782
+ properties:
2783
+ build:
2784
+ description: Build Context Payload
2785
+ type: ContextInputRepresentation
2786
+ required: false
2787
+ filter:
2788
+ description: Filter Criteria
2789
+ type: string
2790
+ required: false
2791
+ persist:
2792
+ description: Persist records of context
2793
+ type: PersistContextInputRepresentation
2794
+ required: false
2795
+ query:
2796
+ description: Query Records and Children Payload
2797
+ type: QueryContextRecordsAndChildrenInputRepresentation
2798
+ required: false
2799
+ type:
2800
+ description: Type of query to perform i.e, Build, Query Records or Query Record
2801
+ and Children
2802
+ type: string
2803
+ required: false
2804
+ ContextFilterOutputRepresentation:
2805
+ description: Filter output representation of Context
2806
+ type: object
2807
+ properties:
2808
+ contextFilterOutputId:
2809
+ description: Unique Id - Optional, using contextInfoRepresentation.contextId for caching
2810
+ type: string
2811
+ required: false
2812
+ contextInfoRepresentation:
2813
+ description: Context Info Representation
2814
+ type: ContextInfoRepresentation
2815
+ required: true
2816
+ persistError:
2817
+ description: Context Persistence Error
2818
+ type: string
2819
+ required: false
2820
+ persistResponse:
2821
+ description: Context Persistence response
2822
+ type: string
2823
+ required: false
2824
+ records:
2825
+ description: Context Query Records
2826
+ type: QueryRecordsResultRepresentation
2827
+ required: false
2482
2828
  /connect:
2483
2829
  /context:
2484
2830
  post:
@@ -3719,6 +4065,34 @@ types:
3719
4065
  type: string
3720
4066
  required: true
3721
4067
  /contexts:
4068
+ post:
4069
+ displayName: postBuildContext
4070
+ description: Build Context
4071
+ responses:
4072
+ '200':
4073
+ description: Success
4074
+ body:
4075
+ application/json:
4076
+ type: ContextInfoRepresentation
4077
+ body:
4078
+ application/json:
4079
+ type: ContextInputRepresentation
4080
+ (oas-body-name): contextInput
4081
+ /filtering:
4082
+ post:
4083
+ displayName: postBuildAndQueryRecordsFilter
4084
+ description: Building Context, Querying Records, and Querying Record & Children
4085
+ with Filtering
4086
+ responses:
4087
+ '200':
4088
+ description: Success
4089
+ body:
4090
+ application/json:
4091
+ type: ContextFilterOutputRepresentation
4092
+ body:
4093
+ application/json:
4094
+ type: ContextFilterInputRepresentation
4095
+ (oas-body-name): filterInput
3722
4096
  /query-records:
3723
4097
  post:
3724
4098
  displayName: postQueryRecords
@@ -3790,6 +4164,20 @@ types:
3790
4164
  description: Unique ID to represent a Context Mapping
3791
4165
  type: string
3792
4166
  required: true
4167
+ /context-query:
4168
+ post:
4169
+ displayName: postBuildContextAndQueryRecords
4170
+ description: Build Context And Query Records
4171
+ responses:
4172
+ '200':
4173
+ description: Success
4174
+ body:
4175
+ application/json:
4176
+ type: ContextAndQueryOutputRepresentation
4177
+ body:
4178
+ application/json:
4179
+ type: ContextAndQueryInputRepresentation
4180
+ (oas-body-name): contextAndQuery
3793
4181
  /contextservice/access/{preferenceName}/{uniqueIdentifier}:
3794
4182
  get:
3795
4183
  displayName: getContextServiceAccess
@@ -123,6 +123,16 @@ types:
123
123
  (luvio.ttl): 1000
124
124
  (luvio.key):
125
125
  id: contextDefinitionTransformationId
126
+ ContextAndQueryOutputRepresentation:
127
+ (luvio.ttl): 1000
128
+ (luvio.opaque): true
129
+ (luvio.key):
130
+ id: buildResponse.contextId
131
+ ContextFilterOutputRepresentation:
132
+ (luvio.ttl): 1000
133
+ (luvio.opaque): true
134
+ (luvio.key):
135
+ id: contextInfoRepresentation.contextId
126
136
 
127
137
  /connect:
128
138
  /context:
@@ -462,6 +472,13 @@ types:
462
472
  uriParameters:
463
473
  contextNodeMappingId:
464
474
  /contexts:
475
+ post:
476
+ (luvio.adapter):
477
+ name: buildContext
478
+ /filtering:
479
+ post:
480
+ (luvio.adapter):
481
+ name: buildAndQueryRecordsFilter
465
482
  /query-records:
466
483
  post:
467
484
  (luvio.adapter):
@@ -509,6 +526,10 @@ types:
509
526
  contextMappingId:
510
527
  type: string
511
528
  required: true
529
+ /context-query:
530
+ post:
531
+ (luvio.adapter):
532
+ name: buildContextAndQuery
512
533
  /contextservice/access/{preferenceName}/{uniqueIdentifier}:
513
534
  get:
514
535
  (luvio.adapter):