@salesforce/lds-adapters-service-salesforcejourney 0.1.0-dev1
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/LICENSE.txt +82 -0
- package/dist/es/es2018/service-salesforcejourney.js +3495 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/createContactUsLeadRequest.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/adapters/getCapabilities.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getCapabilityContentDocument.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getCapabilitySearchResult.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getCategoriesMetadata.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getInitiatives.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getJourneyMapMetadata.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/upsertCapabilityUserPreference.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/adapters/upsertInitiativeUserPreference.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +9 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSalesforceJourneyCapabilityContentByCapabilityContentId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSalesforceJourneyCapabilitySearchByCloudOwnership.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSalesforceJourneyCategoriesByCloudOwnership.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSalesforceJourneyJourneyMapMetadataByCloudOwnership.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectSalesforceJourneyCapabilitiesByCloudOwnership.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectSalesforceJourneyCapabilityUserPreference.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectSalesforceJourneyContactUs.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectSalesforceJourneyJourneyMapInitiativesByCloudOwnership.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectSalesforceJourneyJourneyMapInitiativesUserPreference.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/types/CapabilitiesCollectionOutputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/CapabilityContactUsInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/CapabilityContactUsOutputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/CapabilityContentOutputRepresentation.d.ts +82 -0
- package/dist/es/es2018/types/src/generated/types/CapabilityOutputRepresentation.d.ts +58 -0
- package/dist/es/es2018/types/src/generated/types/CapabilitySearchInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/CapabilitySearchResultOutputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/CapabilityUserPreferenceInputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/CategoriesMetadataOutputRepresentation.d.ts +45 -0
- package/dist/es/es2018/types/src/generated/types/CategoryTreeNodeOutputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/FilterConditionCollectionInputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/FilterConditionInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/InitiativeOutputRepresentation.d.ts +61 -0
- package/dist/es/es2018/types/src/generated/types/InitiativeUserPreferenceInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/InitiativesCollectionOutputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/JourneyMapMetadataOutputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/MyCapabilityOutputRepresentation.d.ts +52 -0
- package/dist/es/es2018/types/src/generated/types/MyInitiativeOutputRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/TermOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +68 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +3593 -0
- package/src/raml/api.raml +554 -0
- package/src/raml/luvio.raml +61 -0
|
@@ -0,0 +1,554 @@
|
|
|
1
|
+
#%RAML 1.0
|
|
2
|
+
securedBy:
|
|
3
|
+
- OAuth2
|
|
4
|
+
title: Salesforce Connect API
|
|
5
|
+
version: '64.0'
|
|
6
|
+
mediaType: application/json
|
|
7
|
+
protocols:
|
|
8
|
+
- https
|
|
9
|
+
baseUri: /services/data/v66.0
|
|
10
|
+
securitySchemes:
|
|
11
|
+
OAuth2:
|
|
12
|
+
type: OAuth 2.0
|
|
13
|
+
settings:
|
|
14
|
+
authorizationUri: https://example.com/oauth/authorize
|
|
15
|
+
accessTokenUri: ''
|
|
16
|
+
authorizationGrants:
|
|
17
|
+
- implicit
|
|
18
|
+
annotationTypes:
|
|
19
|
+
oas-readOnly:
|
|
20
|
+
type: boolean
|
|
21
|
+
allowedTargets: TypeDeclaration
|
|
22
|
+
oas-collectionFormat:
|
|
23
|
+
type: string
|
|
24
|
+
oas-body-name:
|
|
25
|
+
type: string
|
|
26
|
+
allowedTargets: TypeDeclaration
|
|
27
|
+
types:
|
|
28
|
+
CapabilitiesCollectionOutputRepresentation:
|
|
29
|
+
description: Represents a collection of capabilities
|
|
30
|
+
type: object
|
|
31
|
+
properties:
|
|
32
|
+
capabilities:
|
|
33
|
+
description: The capabilities
|
|
34
|
+
type: array
|
|
35
|
+
items:
|
|
36
|
+
type: CapabilityOutputRepresentation
|
|
37
|
+
CapabilityContactUsInputRepresentation:
|
|
38
|
+
description: Represents contactus input
|
|
39
|
+
type: object
|
|
40
|
+
properties:
|
|
41
|
+
capabilityId:
|
|
42
|
+
description: The Capability Id
|
|
43
|
+
type: string
|
|
44
|
+
notes:
|
|
45
|
+
description: The user notes for contactUs
|
|
46
|
+
type: string
|
|
47
|
+
reason:
|
|
48
|
+
description: The reason for contactUs
|
|
49
|
+
type: string
|
|
50
|
+
CapabilityContactUsOutputRepresentation:
|
|
51
|
+
description: output representation for contactUs
|
|
52
|
+
type: object
|
|
53
|
+
properties:
|
|
54
|
+
isSuccess:
|
|
55
|
+
description: ContactUs Result
|
|
56
|
+
type: boolean
|
|
57
|
+
CapabilityContentOutputRepresentation:
|
|
58
|
+
description: Represents a capability content
|
|
59
|
+
type: object
|
|
60
|
+
properties:
|
|
61
|
+
addonRequired:
|
|
62
|
+
description: Indicates whether need a Salesforce add-on for the capability
|
|
63
|
+
that user should contact Salesforce for the capability
|
|
64
|
+
type: boolean | nil
|
|
65
|
+
businessGoals:
|
|
66
|
+
description: The business goals associated with the capability
|
|
67
|
+
type: array
|
|
68
|
+
items:
|
|
69
|
+
type: TermOutputRepresentation
|
|
70
|
+
complete:
|
|
71
|
+
description: Indicates whether the capability content is complete
|
|
72
|
+
type: boolean
|
|
73
|
+
description:
|
|
74
|
+
description: The capability description
|
|
75
|
+
type: string
|
|
76
|
+
implBestPractices:
|
|
77
|
+
description: The implementation best practices associated with the capability
|
|
78
|
+
type: string | nil
|
|
79
|
+
measures:
|
|
80
|
+
description: The measures associated with the capability
|
|
81
|
+
type: string | nil
|
|
82
|
+
minimumEdition:
|
|
83
|
+
description: The minimum edition required for the capability
|
|
84
|
+
type: TermOutputRepresentation | nil
|
|
85
|
+
productAndLicensing:
|
|
86
|
+
description: The product and licensing information associated with the capability
|
|
87
|
+
type: string | nil
|
|
88
|
+
release:
|
|
89
|
+
description: The release associated with the capability
|
|
90
|
+
type: string | nil
|
|
91
|
+
resources:
|
|
92
|
+
description: The resources associated with the capability
|
|
93
|
+
type: array
|
|
94
|
+
items:
|
|
95
|
+
type: object
|
|
96
|
+
properties:
|
|
97
|
+
//:
|
|
98
|
+
type: any #it changed from type: string otherwise the assertion for expected resources fails
|
|
99
|
+
salesforceCloud:
|
|
100
|
+
description: The Salesforce cloud associated with the capability
|
|
101
|
+
type: string | nil
|
|
102
|
+
salesforceGoLinks:
|
|
103
|
+
description: The salesforce Go links associated with the capability
|
|
104
|
+
type: array
|
|
105
|
+
items:
|
|
106
|
+
type: object
|
|
107
|
+
properties:
|
|
108
|
+
//:
|
|
109
|
+
type: any #hand roll. Match the type with the resources field.
|
|
110
|
+
tags:
|
|
111
|
+
description: The tags associated with the capability
|
|
112
|
+
type: array
|
|
113
|
+
items:
|
|
114
|
+
type: TermOutputRepresentation
|
|
115
|
+
title:
|
|
116
|
+
description: The capability title
|
|
117
|
+
type: string
|
|
118
|
+
usageBestPractices:
|
|
119
|
+
description: The usage best practices associated with the capability
|
|
120
|
+
type: string | nil
|
|
121
|
+
videoLink:
|
|
122
|
+
description: The embedded video url associated with the capability
|
|
123
|
+
type: string | nil
|
|
124
|
+
CapabilityOutputRepresentation:
|
|
125
|
+
description: Represents a capability info
|
|
126
|
+
type: object
|
|
127
|
+
properties:
|
|
128
|
+
businessGoals:
|
|
129
|
+
description: The categories business goals
|
|
130
|
+
type: array
|
|
131
|
+
items:
|
|
132
|
+
type: TermOutputRepresentation
|
|
133
|
+
categoryParents:
|
|
134
|
+
description: The capability parents
|
|
135
|
+
type: array
|
|
136
|
+
items:
|
|
137
|
+
type: CategoryTreeNodeOutputRepresentation
|
|
138
|
+
contentDurableId:
|
|
139
|
+
description: The capability id
|
|
140
|
+
type: string
|
|
141
|
+
description:
|
|
142
|
+
description: The capability description
|
|
143
|
+
type: string
|
|
144
|
+
myCapability:
|
|
145
|
+
description: The user data for the capability
|
|
146
|
+
type: MyCapabilityOutputRepresentation | nil
|
|
147
|
+
name:
|
|
148
|
+
description: The capability name
|
|
149
|
+
type: string
|
|
150
|
+
tags:
|
|
151
|
+
description: The categories tags
|
|
152
|
+
type: array
|
|
153
|
+
items:
|
|
154
|
+
type: TermOutputRepresentation
|
|
155
|
+
CapabilitySearchInputRepresentation:
|
|
156
|
+
description: Represents a search input
|
|
157
|
+
type: object
|
|
158
|
+
properties:
|
|
159
|
+
searchTerm:
|
|
160
|
+
description: Search Terms
|
|
161
|
+
type: string
|
|
162
|
+
CapabilitySearchResultOutputRepresentation:
|
|
163
|
+
description: Represents a search result (The capabilities IDs that match the search)
|
|
164
|
+
type: object
|
|
165
|
+
properties:
|
|
166
|
+
contentDurableIds:
|
|
167
|
+
description: The ID's that match the search
|
|
168
|
+
type: array
|
|
169
|
+
items:
|
|
170
|
+
type: string
|
|
171
|
+
CapabilityUserPreferenceInputRepresentation:
|
|
172
|
+
description: Represents capability user preference
|
|
173
|
+
type: object
|
|
174
|
+
properties:
|
|
175
|
+
contentDurableId:
|
|
176
|
+
description: The capability id
|
|
177
|
+
type: string
|
|
178
|
+
id:
|
|
179
|
+
description: The user data id of a capability info
|
|
180
|
+
type: string
|
|
181
|
+
required: false
|
|
182
|
+
lastContactRequestDate:
|
|
183
|
+
description: The last contact request data time in UTC
|
|
184
|
+
type: string
|
|
185
|
+
required: false
|
|
186
|
+
stage:
|
|
187
|
+
description: The stage state for capability info user data
|
|
188
|
+
type: string
|
|
189
|
+
required: false
|
|
190
|
+
starred:
|
|
191
|
+
description: The starred state for capability info user data
|
|
192
|
+
type: boolean
|
|
193
|
+
required: false
|
|
194
|
+
status:
|
|
195
|
+
description: The status state for capability info user data
|
|
196
|
+
type: string
|
|
197
|
+
required: false
|
|
198
|
+
CategoriesMetadataOutputRepresentation:
|
|
199
|
+
description: Represents the categories metadata
|
|
200
|
+
type: object
|
|
201
|
+
properties:
|
|
202
|
+
businessGoals:
|
|
203
|
+
description: The categories business goals
|
|
204
|
+
type: array
|
|
205
|
+
items:
|
|
206
|
+
type: TermOutputRepresentation
|
|
207
|
+
categories:
|
|
208
|
+
description: The categories structure
|
|
209
|
+
type: array
|
|
210
|
+
items:
|
|
211
|
+
type: CategoryTreeNodeOutputRepresentation
|
|
212
|
+
editions:
|
|
213
|
+
description: The categories editions
|
|
214
|
+
type: array
|
|
215
|
+
items:
|
|
216
|
+
type: TermOutputRepresentation
|
|
217
|
+
stages:
|
|
218
|
+
description: The available stages for a capability
|
|
219
|
+
type: array
|
|
220
|
+
items:
|
|
221
|
+
type: TermOutputRepresentation
|
|
222
|
+
statuses:
|
|
223
|
+
description: The available statuses for a capability
|
|
224
|
+
type: array
|
|
225
|
+
items:
|
|
226
|
+
type: TermOutputRepresentation
|
|
227
|
+
tags:
|
|
228
|
+
description: The categories tags
|
|
229
|
+
type: array
|
|
230
|
+
items:
|
|
231
|
+
type: TermOutputRepresentation
|
|
232
|
+
CategoryTreeNodeOutputRepresentation:
|
|
233
|
+
description: Represents single category
|
|
234
|
+
type: object
|
|
235
|
+
properties:
|
|
236
|
+
children:
|
|
237
|
+
description: Category's children
|
|
238
|
+
type: array
|
|
239
|
+
items:
|
|
240
|
+
type: any # the recursive structure is not yet supported
|
|
241
|
+
# type: CategoryTreeNodeOutputRepresentation
|
|
242
|
+
parents:
|
|
243
|
+
description: Category's parents
|
|
244
|
+
type: array
|
|
245
|
+
items:
|
|
246
|
+
type: any # the recursive structure is not yet supported
|
|
247
|
+
# type: CategoryTreeNodeOutputRepresentation
|
|
248
|
+
term:
|
|
249
|
+
description: The category term
|
|
250
|
+
type: TermOutputRepresentation
|
|
251
|
+
FilterConditionCollectionInputRepresentation:
|
|
252
|
+
description: Represents a collections of filter conditions
|
|
253
|
+
type: object
|
|
254
|
+
properties:
|
|
255
|
+
filterConditions:
|
|
256
|
+
description: The filter conditions
|
|
257
|
+
type: array
|
|
258
|
+
items:
|
|
259
|
+
type: FilterConditionInputRepresentation # it changed from type: object
|
|
260
|
+
FilterConditionInputRepresentation:
|
|
261
|
+
description: Represents a filter conditions
|
|
262
|
+
type: object
|
|
263
|
+
properties:
|
|
264
|
+
filterType:
|
|
265
|
+
description: The filter condition type
|
|
266
|
+
type: string
|
|
267
|
+
values:
|
|
268
|
+
description: The filter condition values
|
|
269
|
+
type: array
|
|
270
|
+
items:
|
|
271
|
+
type: string
|
|
272
|
+
InitiativeOutputRepresentation:
|
|
273
|
+
description: Represents an initiative info
|
|
274
|
+
type: object
|
|
275
|
+
properties:
|
|
276
|
+
businessGoals:
|
|
277
|
+
description: The initiative business goals
|
|
278
|
+
type: array
|
|
279
|
+
items:
|
|
280
|
+
type: TermOutputRepresentation
|
|
281
|
+
category:
|
|
282
|
+
description: The categories structure
|
|
283
|
+
type: TermOutputRepresentation
|
|
284
|
+
contentDurableId:
|
|
285
|
+
description: The initiative id
|
|
286
|
+
type: string
|
|
287
|
+
description:
|
|
288
|
+
description: The initiative description
|
|
289
|
+
type: string
|
|
290
|
+
myInitiative:
|
|
291
|
+
description: The user data for the initiative
|
|
292
|
+
type: MyInitiativeOutputRepresentation | nil
|
|
293
|
+
name:
|
|
294
|
+
description: The initiative name
|
|
295
|
+
type: string
|
|
296
|
+
relatedCapabilities:
|
|
297
|
+
description: The initiative related capabilities
|
|
298
|
+
type: array
|
|
299
|
+
items:
|
|
300
|
+
type: string
|
|
301
|
+
stage:
|
|
302
|
+
description: The initiative stage
|
|
303
|
+
type: TermOutputRepresentation
|
|
304
|
+
tags:
|
|
305
|
+
description: The initiative tags
|
|
306
|
+
type: array
|
|
307
|
+
items:
|
|
308
|
+
type: TermOutputRepresentation
|
|
309
|
+
InitiativeUserPreferenceInputRepresentation:
|
|
310
|
+
description: Represents user initiative preference
|
|
311
|
+
type: object
|
|
312
|
+
properties:
|
|
313
|
+
contentDurableId:
|
|
314
|
+
description: The initiative id
|
|
315
|
+
type: string
|
|
316
|
+
id:
|
|
317
|
+
description: The user data id of a initiative info
|
|
318
|
+
type: string
|
|
319
|
+
required: false
|
|
320
|
+
stage:
|
|
321
|
+
description: The stage state for initiative info user data
|
|
322
|
+
type: string
|
|
323
|
+
required: false
|
|
324
|
+
status:
|
|
325
|
+
description: The status state for initiative info user data
|
|
326
|
+
type: string
|
|
327
|
+
required: false
|
|
328
|
+
InitiativesCollectionOutputRepresentation:
|
|
329
|
+
description: Represents a collection of Initiatives
|
|
330
|
+
type: object
|
|
331
|
+
properties:
|
|
332
|
+
initiatives:
|
|
333
|
+
description: The initiatives
|
|
334
|
+
type: array
|
|
335
|
+
items:
|
|
336
|
+
type: InitiativeOutputRepresentation
|
|
337
|
+
JourneyMapMetadataOutputRepresentation:
|
|
338
|
+
description: Represents the journey map metadata
|
|
339
|
+
type: object
|
|
340
|
+
properties:
|
|
341
|
+
businessGoals:
|
|
342
|
+
description: The Journey Map business goals
|
|
343
|
+
type: array
|
|
344
|
+
items:
|
|
345
|
+
type: TermOutputRepresentation
|
|
346
|
+
categories:
|
|
347
|
+
description: The categories structure
|
|
348
|
+
type: array
|
|
349
|
+
items:
|
|
350
|
+
type: TermOutputRepresentation
|
|
351
|
+
stages:
|
|
352
|
+
description: The available stages for an initiative
|
|
353
|
+
type: array
|
|
354
|
+
items:
|
|
355
|
+
type: TermOutputRepresentation
|
|
356
|
+
statuses:
|
|
357
|
+
description: The available statuses for an initiatives
|
|
358
|
+
type: array
|
|
359
|
+
items:
|
|
360
|
+
type: TermOutputRepresentation
|
|
361
|
+
MyCapabilityOutputRepresentation:
|
|
362
|
+
description: Represents a capability user data info
|
|
363
|
+
type: object
|
|
364
|
+
properties:
|
|
365
|
+
contentDurableId:
|
|
366
|
+
description: The capability id
|
|
367
|
+
type: string
|
|
368
|
+
id:
|
|
369
|
+
description: The user data id of a capability info
|
|
370
|
+
type: string
|
|
371
|
+
lastContactRequestDate:
|
|
372
|
+
description: The last contact request data time in UTC
|
|
373
|
+
type: string | nil
|
|
374
|
+
stage:
|
|
375
|
+
description: The stage state for capability info user data
|
|
376
|
+
type: string
|
|
377
|
+
starred:
|
|
378
|
+
description: The starred state for capability info user data
|
|
379
|
+
type: boolean
|
|
380
|
+
status:
|
|
381
|
+
description: The status state for capability info user data
|
|
382
|
+
type: string
|
|
383
|
+
MyInitiativeOutputRepresentation:
|
|
384
|
+
description: Represents an initiative user data info
|
|
385
|
+
type: object
|
|
386
|
+
properties:
|
|
387
|
+
contentDurableId:
|
|
388
|
+
description: The initiative id
|
|
389
|
+
type: string
|
|
390
|
+
id:
|
|
391
|
+
description: The user data id of a initiative info
|
|
392
|
+
type: string
|
|
393
|
+
stage:
|
|
394
|
+
description: The stage state for initiative info user data
|
|
395
|
+
type: string
|
|
396
|
+
status:
|
|
397
|
+
description: The status state for initiative info user data
|
|
398
|
+
type: string
|
|
399
|
+
TermOutputRepresentation:
|
|
400
|
+
description: Category term such as business goals or tags
|
|
401
|
+
type: object
|
|
402
|
+
properties:
|
|
403
|
+
label:
|
|
404
|
+
description: Term label
|
|
405
|
+
type: string | nil
|
|
406
|
+
value:
|
|
407
|
+
description: Term value
|
|
408
|
+
type: string
|
|
409
|
+
/connect/salesforce-journey:
|
|
410
|
+
/capability-content/{capabilityContentId}:
|
|
411
|
+
get:
|
|
412
|
+
displayName: getCapabilityContent
|
|
413
|
+
description: Returns the capability content
|
|
414
|
+
responses:
|
|
415
|
+
'200':
|
|
416
|
+
description: Success
|
|
417
|
+
body:
|
|
418
|
+
application/json:
|
|
419
|
+
type: CapabilityContentOutputRepresentation
|
|
420
|
+
uriParameters:
|
|
421
|
+
capabilityContentId:
|
|
422
|
+
type: string
|
|
423
|
+
required: true
|
|
424
|
+
/capability-user-preference:
|
|
425
|
+
post:
|
|
426
|
+
displayName: postCapabilityUserPreference
|
|
427
|
+
description: upsert capability user preference
|
|
428
|
+
responses:
|
|
429
|
+
'200':
|
|
430
|
+
description: Success
|
|
431
|
+
body:
|
|
432
|
+
application/json:
|
|
433
|
+
type: MyCapabilityOutputRepresentation
|
|
434
|
+
body:
|
|
435
|
+
application/json:
|
|
436
|
+
type: CapabilityUserPreferenceInputRepresentation
|
|
437
|
+
#required: false # TODO hand rolled. W-9275477
|
|
438
|
+
(oas-body-name): capabilityUserPreferenceInput
|
|
439
|
+
/contact-us:
|
|
440
|
+
post:
|
|
441
|
+
displayName: postCapabilityContactUs
|
|
442
|
+
description: create contact us lead request
|
|
443
|
+
responses:
|
|
444
|
+
'200':
|
|
445
|
+
description: Success
|
|
446
|
+
body:
|
|
447
|
+
application/json:
|
|
448
|
+
type: CapabilityContactUsOutputRepresentation
|
|
449
|
+
body:
|
|
450
|
+
application/json:
|
|
451
|
+
type: CapabilityContactUsInputRepresentation
|
|
452
|
+
#required: false # TODO hand rolled. W-9275477
|
|
453
|
+
(oas-body-name): capabilityContactUsInput
|
|
454
|
+
/journey-map/initiatives/user-preference:
|
|
455
|
+
post:
|
|
456
|
+
displayName: postInitiativeUserPreference
|
|
457
|
+
description: upsert initiative user preference
|
|
458
|
+
responses:
|
|
459
|
+
'200':
|
|
460
|
+
description: Success
|
|
461
|
+
body:
|
|
462
|
+
application/json:
|
|
463
|
+
type: MyInitiativeOutputRepresentation
|
|
464
|
+
body:
|
|
465
|
+
application/json:
|
|
466
|
+
type: InitiativeUserPreferenceInputRepresentation
|
|
467
|
+
#required: false # TODO hand rolled. W-9275477
|
|
468
|
+
(oas-body-name): initiativeUserPreferenceInput
|
|
469
|
+
/{cloudOwnership}:
|
|
470
|
+
/capabilities:
|
|
471
|
+
post:
|
|
472
|
+
displayName: postCapabilities
|
|
473
|
+
description: Returns capabilities by filters
|
|
474
|
+
responses:
|
|
475
|
+
'200':
|
|
476
|
+
description: Success
|
|
477
|
+
body:
|
|
478
|
+
application/json:
|
|
479
|
+
type: CapabilitiesCollectionOutputRepresentation
|
|
480
|
+
body:
|
|
481
|
+
application/json:
|
|
482
|
+
type: FilterConditionCollectionInputRepresentation
|
|
483
|
+
#required: false # TODO hand rolled. W-9275477
|
|
484
|
+
(oas-body-name): filterConditionsInput
|
|
485
|
+
uriParameters:
|
|
486
|
+
cloudOwnership:
|
|
487
|
+
type: string
|
|
488
|
+
required: true
|
|
489
|
+
/capability-search:
|
|
490
|
+
get:
|
|
491
|
+
displayName: getCapabilitySearch
|
|
492
|
+
description: Returns the Ids that matches the search term
|
|
493
|
+
responses:
|
|
494
|
+
'200':
|
|
495
|
+
description: Success
|
|
496
|
+
body:
|
|
497
|
+
application/json:
|
|
498
|
+
type: CapabilitySearchResultOutputRepresentation
|
|
499
|
+
queryParameters:
|
|
500
|
+
searchTerm:
|
|
501
|
+
type: string
|
|
502
|
+
required: false
|
|
503
|
+
uriParameters:
|
|
504
|
+
cloudOwnership:
|
|
505
|
+
type: string
|
|
506
|
+
required: true
|
|
507
|
+
/categories:
|
|
508
|
+
get:
|
|
509
|
+
displayName: getCategories
|
|
510
|
+
description: Returns the categories metadata
|
|
511
|
+
responses:
|
|
512
|
+
'200':
|
|
513
|
+
description: Success
|
|
514
|
+
body:
|
|
515
|
+
application/json:
|
|
516
|
+
type: CategoriesMetadataOutputRepresentation
|
|
517
|
+
uriParameters:
|
|
518
|
+
cloudOwnership:
|
|
519
|
+
type: string
|
|
520
|
+
required: true
|
|
521
|
+
/journey-map:
|
|
522
|
+
/initiatives:
|
|
523
|
+
post:
|
|
524
|
+
displayName: postInitiatives
|
|
525
|
+
description: Returns initiatives by filters
|
|
526
|
+
responses:
|
|
527
|
+
'200':
|
|
528
|
+
description: Success
|
|
529
|
+
body:
|
|
530
|
+
application/json:
|
|
531
|
+
type: InitiativesCollectionOutputRepresentation
|
|
532
|
+
body:
|
|
533
|
+
application/json:
|
|
534
|
+
type: FilterConditionCollectionInputRepresentation
|
|
535
|
+
#required: false # TODO hand rolled. W-9275477
|
|
536
|
+
(oas-body-name): filterConditionsInput
|
|
537
|
+
uriParameters:
|
|
538
|
+
cloudOwnership:
|
|
539
|
+
type: string
|
|
540
|
+
required: true
|
|
541
|
+
/metadata:
|
|
542
|
+
get:
|
|
543
|
+
displayName: getJourneyMapMetadata
|
|
544
|
+
description: Returns the Journey Map metadata
|
|
545
|
+
responses:
|
|
546
|
+
'200':
|
|
547
|
+
description: Success
|
|
548
|
+
body:
|
|
549
|
+
application/json:
|
|
550
|
+
type: JourneyMapMetadataOutputRepresentation
|
|
551
|
+
uriParameters:
|
|
552
|
+
cloudOwnership:
|
|
553
|
+
type: string
|
|
554
|
+
required: true
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
#%RAML 1.0 Overlay
|
|
2
|
+
extends: ./api.raml
|
|
3
|
+
|
|
4
|
+
uses:
|
|
5
|
+
luvio: luvio://annotations.raml
|
|
6
|
+
|
|
7
|
+
(luvio.keyPrefix): 'salesforceJourney'
|
|
8
|
+
(luvio.ttl): 200
|
|
9
|
+
|
|
10
|
+
types:
|
|
11
|
+
MyCapabilityOutputRepresentation:
|
|
12
|
+
(luvio.key):
|
|
13
|
+
id: id
|
|
14
|
+
CapabilityContactUsOutputRepresentation:
|
|
15
|
+
(luvio.key):
|
|
16
|
+
isSuccess: isSuccess
|
|
17
|
+
(luvio.ttl): 100 # Almost no-cache
|
|
18
|
+
MyInitiativeOutputRepresentation:
|
|
19
|
+
(luvio.key):
|
|
20
|
+
id: id
|
|
21
|
+
|
|
22
|
+
/connect/salesforce-journey:
|
|
23
|
+
/capability-content/{capabilityContentId}:
|
|
24
|
+
get:
|
|
25
|
+
(luvio.adapter):
|
|
26
|
+
name: getCapabilityContentDocument
|
|
27
|
+
/capability-user-preference:
|
|
28
|
+
post:
|
|
29
|
+
(luvio.adapter):
|
|
30
|
+
name: upsertCapabilityUserPreference
|
|
31
|
+
/journey-map/initiatives/user-preference:
|
|
32
|
+
post:
|
|
33
|
+
(luvio.adapter):
|
|
34
|
+
name: upsertInitiativeUserPreference
|
|
35
|
+
/{cloudOwnership}:
|
|
36
|
+
/capabilities:
|
|
37
|
+
post:
|
|
38
|
+
(luvio.adapter):
|
|
39
|
+
name: getCapabilities
|
|
40
|
+
(luvio.method): get # the API is not creating, updating, or deleting data
|
|
41
|
+
/capability-search:
|
|
42
|
+
get:
|
|
43
|
+
(luvio.adapter):
|
|
44
|
+
name: getCapabilitySearchResult
|
|
45
|
+
/categories:
|
|
46
|
+
get:
|
|
47
|
+
(luvio.adapter):
|
|
48
|
+
name: getCategoriesMetadata
|
|
49
|
+
/journey-map/metadata:
|
|
50
|
+
get:
|
|
51
|
+
(luvio.adapter):
|
|
52
|
+
name: getJourneyMapMetadata
|
|
53
|
+
/journey-map/initiatives:
|
|
54
|
+
post:
|
|
55
|
+
(luvio.adapter):
|
|
56
|
+
name: getInitiatives
|
|
57
|
+
(luvio.method): get # the API is not creating, updating, or deleting data
|
|
58
|
+
/contact-us:
|
|
59
|
+
post:
|
|
60
|
+
(luvio.adapter):
|
|
61
|
+
name: createContactUsLeadRequest
|