@salesforce/lds-adapters-industries-context 1.441.0 → 1.443.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 (21) hide show
  1. package/dist/es/es2018/industries-context.js +2724 -2435
  2. package/dist/es/es2018/types/src/generated/adapters/createContextQueryTags.d.ts +2 -14
  3. package/dist/es/es2018/types/src/generated/adapters/createContextUpdateAttribute.d.ts +17 -0
  4. package/dist/es/es2018/types/src/generated/adapters/createWriteThroughTags.d.ts +17 -0
  5. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
  6. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -2
  7. package/dist/es/es2018/types/src/generated/resources/patchConnectContextsAttributes.d.ts +14 -0
  8. package/dist/es/es2018/types/src/generated/resources/patchConnectContextsWriteThroughTags.d.ts +14 -0
  9. package/dist/es/es2018/types/src/generated/resources/postConnectContextsQueryTags.d.ts +2 -5
  10. package/dist/es/es2018/types/src/generated/types/ContextAttributeValueInputRepresentation.d.ts +31 -0
  11. package/dist/es/es2018/types/src/generated/types/ContextOutputRepresentation.d.ts +18 -5
  12. package/dist/es/es2018/types/src/generated/types/ContextTagValueInputRepresentation.d.ts +31 -0
  13. package/dist/es/es2018/types/src/generated/types/NodePathAndAttributesInputRepresentation.d.ts +8 -10
  14. package/dist/es/es2018/types/src/generated/types/NodePathAndTagValuesInputRepresentation.d.ts +33 -0
  15. package/dist/es/es2018/types/src/generated/types/QueryTagsResultRepresentation.d.ts +16 -4
  16. package/dist/es/es2018/types/src/generated/types/UpdateContextAttributesInputRepresentation.d.ts +4 -7
  17. package/dist/es/es2018/types/src/generated/types/WriteThroughTagsInputRepresentation.d.ts +32 -0
  18. package/package.json +4 -4
  19. package/sfdc/index.js +1885 -1599
  20. package/src/raml/api.raml +86 -13
  21. package/src/raml/luvio.raml +15 -1
package/src/raml/api.raml CHANGED
@@ -2101,6 +2101,9 @@ types:
2101
2101
  description: Context Output Representation
2102
2102
  type: object
2103
2103
  properties:
2104
+ contextId:
2105
+ description: Identifier of the context the operation was performed on
2106
+ type: string
2104
2107
  isSuccess:
2105
2108
  description: Success
2106
2109
  type: boolean
@@ -2158,21 +2161,28 @@ types:
2158
2161
  isSuccess:
2159
2162
  description: Success
2160
2163
  type: boolean
2164
+ ContextAttributeValueInputRepresentation:
2165
+ description: Input representation for Context Attribute Value
2166
+ type: object
2167
+ properties:
2168
+ attributeName:
2169
+ description: Context Attribute Name
2170
+ type: string
2171
+ attributeValue:
2172
+ description: Context Attribute Value
2173
+ type: any
2161
2174
  NodePathAndAttributesInputRepresentation:
2162
2175
  description: Input representation for NodePath and Attributes
2163
2176
  type: object
2164
2177
  properties:
2165
2178
  attributes:
2166
- description: Map of Attributes
2167
- type: object
2168
- properties:
2169
- //:
2170
- type: object
2171
- nodePath:
2172
- description: Node Path
2179
+ description: List of Context Attribute Values
2173
2180
  type: array
2174
2181
  items:
2175
- type: string
2182
+ type: ContextAttributeValueInputRepresentation
2183
+ nodePath:
2184
+ description: Node Path
2185
+ type: ContextDataPathInputRepresentation
2176
2186
  # TODO Hand-rolled W-8334626
2177
2187
  QueryContextRecordInputWrapperRepresentation:
2178
2188
  description: Wrapper Input representation for QueryContextRecordInputRepresentation
@@ -2386,6 +2396,9 @@ types:
2386
2396
  description: Output representation of QueryResult-ContextTags
2387
2397
  type: object
2388
2398
  properties:
2399
+ contextId:
2400
+ description: Identifier of the context the operation was performed on
2401
+ type: string
2389
2402
  isDone:
2390
2403
  description: Done
2391
2404
  type: boolean
@@ -2505,14 +2518,46 @@ types:
2505
2518
  contextId:
2506
2519
  description: Context Id
2507
2520
  type: string
2508
- nodePathToAttributeList:
2521
+ nodePathAndAttributes:
2509
2522
  description: List of Node Path to Attribute
2510
2523
  type: array
2511
2524
  items:
2512
- type: object
2513
- properties:
2514
- //:
2515
- type: object
2525
+ type: NodePathAndAttributesInputRepresentation
2526
+
2527
+ WriteThroughTagsInputRepresentation:
2528
+ description: Input representation for updating Context Attributes through Tags
2529
+ type: object
2530
+ properties:
2531
+ contextId:
2532
+ description: Context Id
2533
+ type: string
2534
+ nodePathAndTagValues:
2535
+ description: List of Node Path to tag values
2536
+ type: array
2537
+ items:
2538
+ type: NodePathAndTagValuesInputRepresentation
2539
+ NodePathAndTagValuesInputRepresentation:
2540
+ description: Input representation for NodePath and Tag Values
2541
+ type: object
2542
+ properties:
2543
+ nodePath:
2544
+ description: Node Path
2545
+ type: ContextDataPathInputRepresentation
2546
+ tagValues:
2547
+ description: Tag Value Map
2548
+ type: array
2549
+ items:
2550
+ type: ContextTagValueInputRepresentation
2551
+ ContextTagValueInputRepresentation:
2552
+ description: Input representation for Context Tag Value
2553
+ type: object
2554
+ properties:
2555
+ tagName:
2556
+ description: Context Tag Name
2557
+ type: string
2558
+ tagValue:
2559
+ description: Context Tag Value
2560
+ type: any
2516
2561
 
2517
2562
  DynamicAttributeByMappingSearchResultRepresentation:
2518
2563
  description: Output representation of DynamicAttributeByMappingSearchResult
@@ -4152,6 +4197,34 @@ types:
4152
4197
  application/json:
4153
4198
  type: QueryTagsInputRepresentation
4154
4199
  (oas-body-name): queryTagsInput
4200
+ /write-through-tags:
4201
+ patch:
4202
+ displayName: writeThroughTags
4203
+ description: Update Context Attributes through Tags
4204
+ responses:
4205
+ '200':
4206
+ description: Success
4207
+ body:
4208
+ application/json:
4209
+ type: ContextOutputRepresentation
4210
+ body:
4211
+ application/json:
4212
+ type: WriteThroughTagsInputRepresentation
4213
+ (oas-body-name): writeThroughTagsInput
4214
+ /attributes:
4215
+ patch:
4216
+ displayName: updateContextAttributes
4217
+ description: Update Context Attributes
4218
+ responses:
4219
+ '200':
4220
+ description: Success
4221
+ body:
4222
+ application/json:
4223
+ type: ContextOutputRepresentation
4224
+ body:
4225
+ application/json:
4226
+ type: UpdateContextAttributesInputRepresentation
4227
+ (oas-body-name): updateContextAttributesInput
4155
4228
  /{contextId}:
4156
4229
  delete:
4157
4230
  displayName: deleteContext
@@ -104,6 +104,8 @@ types:
104
104
  QueryTagsResultRepresentation:
105
105
  (luvio.ttl): 1000
106
106
  (luvio.opaque): true
107
+ (luvio.key):
108
+ id: contextId
107
109
  ContextTranslationServiceRecordRepresentation:
108
110
  (luvio.ttl): 1000
109
111
  DynamicAttributeSearchResultRepresentation:
@@ -126,6 +128,11 @@ types:
126
128
  (luvio.ttl): 1000
127
129
  (luvio.key):
128
130
  id: contextDefinitionTransformationId
131
+ ContextOutputRepresentation:
132
+ (luvio.ttl): 1000
133
+ (luvio.opaque): true
134
+ (luvio.key):
135
+ id: contextId
129
136
  ContextAndQueryOutputRepresentation:
130
137
  (luvio.ttl): 1000
131
138
  (luvio.opaque): true
@@ -488,9 +495,16 @@ types:
488
495
  name: createContextQueryRecords
489
496
  /query-tags:
490
497
  post:
491
- (luvio.method): get
492
498
  (luvio.adapter):
493
499
  name: createContextQueryTags
500
+ /write-through-tags:
501
+ patch:
502
+ (luvio.adapter):
503
+ name: createWriteThroughTags
504
+ /attributes:
505
+ patch:
506
+ (luvio.adapter):
507
+ name: createContextUpdateAttribute
494
508
  /{contextId}:
495
509
  get:
496
510
  (luvio.adapter):