@salesforce/lds-adapters-industries-contextrules 1.293.0 → 1.295.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/src/raml/api.raml CHANGED
@@ -102,6 +102,35 @@ types:
102
102
  type: array
103
103
  items:
104
104
  type: RuleLibraryTagMappingsReadOutputRepresentation
105
+ UsageTypeOutputRepresentation:
106
+ description: Output representation of context rule usageType
107
+ type: object
108
+ properties:
109
+ mappingNames:
110
+ description: mapping names
111
+ type: array
112
+ items:
113
+ type: string
114
+ usageSubtypes:
115
+ description: Usage Subtypes
116
+ type: array
117
+ items:
118
+ type: UsageSubtypeOutputRepresentation
119
+ usageType:
120
+ description: Usage type
121
+ type: string
122
+ UsageSubtypeOutputRepresentation:
123
+ description: Output representation of context rule usageSubtype
124
+ type: object
125
+ properties:
126
+ subtypeMappingNames:
127
+ description: subType Mapping names
128
+ type: array
129
+ items:
130
+ type: string
131
+ usageSubtype:
132
+ description: Usage Subtype
133
+ type: string
105
134
  /connect/context-rules:
106
135
  /context-tag-mappings/rule-library-api-name/{ruleLibraryApiName}/version-number/{versionNumber}:
107
136
  get:
@@ -176,3 +205,17 @@ types:
176
205
  versionNumber:
177
206
  type: string
178
207
  required: true
208
+ /usage-types/{usageType}:
209
+ get:
210
+ displayName: getContextRuleUsageType
211
+ description: Get UsageType detail
212
+ responses:
213
+ '200':
214
+ description: Success
215
+ body:
216
+ application/json:
217
+ type: UsageTypeOutputRepresentation
218
+ uriParameters:
219
+ usageType:
220
+ type: string
221
+ required: true
@@ -21,6 +21,11 @@ types:
21
21
  (luvio.opaque): true
22
22
  (luvio.key):
23
23
  id: mappingName
24
+ UsageTypeOutputRepresentation:
25
+ (luvio.ttl): 1000
26
+ (luvio.opaque): true
27
+ (luvio.key):
28
+ id: usageType
24
29
 
25
30
  /connect/context-rules:
26
31
  /context-tag-mappings/rule-library-api-name/{ruleLibraryApiName}/version-number/{versionNumber}:
@@ -44,3 +49,9 @@ types:
44
49
  name: deleteContextTagMapping
45
50
  (luvio.key):
46
51
  id: urlParams.mappingName
52
+ /usage-types/{usageType}:
53
+ get:
54
+ (luvio.adapter):
55
+ name: getUsageTypeDetail
56
+ (luvio.key):
57
+ id: urlParams.usageType