@salesforce/lds-adapters-sales-pathassistant 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/sales-pathassistant.js +691 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/getPathAssistant.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getPathAssistantDaysInStage.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/updateCollapsibleDrawerUserPref.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +6 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectPathassistantByRecordId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectPathassistantDaysInStageByRecordId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/patchConnectPathassistantCollapsibleDrawerUserPref.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/types/CollapsibleDrawerUserPrefRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/PathAssistantDaysInStageRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/PathAssistantMetadataRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +72 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +748 -0
- package/src/raml/api.raml +108 -0
- package/src/raml/luvio.raml +31 -0
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
#%RAML 1.0
|
|
2
|
+
securedBy:
|
|
3
|
+
- OAuth2
|
|
4
|
+
title: Salesforce Connect API
|
|
5
|
+
version: '60.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
|
+
CollapsibleDrawerUserPrefRepresentation:
|
|
29
|
+
description: Represents the Collapsible Drawer User Pref result
|
|
30
|
+
type: object
|
|
31
|
+
properties:
|
|
32
|
+
apiName:
|
|
33
|
+
description: Value representing the apiName field
|
|
34
|
+
type: string
|
|
35
|
+
isSuccess:
|
|
36
|
+
description: Value representing the isSuccess field
|
|
37
|
+
type: boolean
|
|
38
|
+
PathAssistantDaysInStageRepresentation:
|
|
39
|
+
description: Represents the Path Assistant days-in-stage data
|
|
40
|
+
type: object
|
|
41
|
+
properties:
|
|
42
|
+
picklistValuesToDays:
|
|
43
|
+
description: Value representing Path Assistant days-in-stage data
|
|
44
|
+
type: any
|
|
45
|
+
PathAssistantMetadataRepresentation:
|
|
46
|
+
description: Represents all Path Assistant related metadata
|
|
47
|
+
type: object
|
|
48
|
+
properties:
|
|
49
|
+
extraData:
|
|
50
|
+
description: Value representing extra data related to Path Assistant
|
|
51
|
+
type: any
|
|
52
|
+
pathAssistant:
|
|
53
|
+
description: Value representing the Path Assistant
|
|
54
|
+
type: any
|
|
55
|
+
recordData:
|
|
56
|
+
description: Value representing the parent record
|
|
57
|
+
type: any
|
|
58
|
+
/connect/pathassistant:
|
|
59
|
+
/collapsibleDrawerUserPref:
|
|
60
|
+
patch:
|
|
61
|
+
displayName: patchCollapsibleDrawerUserPref
|
|
62
|
+
description: Update Path Assistant Collapsible Drawer User Pref
|
|
63
|
+
responses:
|
|
64
|
+
'200':
|
|
65
|
+
description: Success
|
|
66
|
+
body:
|
|
67
|
+
application/json:
|
|
68
|
+
type: CollapsibleDrawerUserPrefRepresentation
|
|
69
|
+
queryParameters:
|
|
70
|
+
isCollapsed:
|
|
71
|
+
type: boolean
|
|
72
|
+
required: false
|
|
73
|
+
/{recordId}:
|
|
74
|
+
get:
|
|
75
|
+
displayName: getPathAssistant
|
|
76
|
+
description: Query Path Assistant metadata
|
|
77
|
+
responses:
|
|
78
|
+
'200':
|
|
79
|
+
description: Success
|
|
80
|
+
body:
|
|
81
|
+
application/json:
|
|
82
|
+
type: PathAssistantMetadataRepresentation
|
|
83
|
+
queryParameters:
|
|
84
|
+
picklistFieldApiName:
|
|
85
|
+
type: string
|
|
86
|
+
required: false
|
|
87
|
+
uriParameters:
|
|
88
|
+
recordId:
|
|
89
|
+
type: string
|
|
90
|
+
required: true
|
|
91
|
+
/{recordId}/daysInStage:
|
|
92
|
+
get:
|
|
93
|
+
displayName: getPathAssistantDaysInStage
|
|
94
|
+
description: Query Path Assistant days-in-stage data
|
|
95
|
+
responses:
|
|
96
|
+
'200':
|
|
97
|
+
description: Success
|
|
98
|
+
body:
|
|
99
|
+
application/json:
|
|
100
|
+
type: PathAssistantDaysInStageRepresentation
|
|
101
|
+
queryParameters:
|
|
102
|
+
picklistFieldApiName:
|
|
103
|
+
type: string
|
|
104
|
+
required: false
|
|
105
|
+
uriParameters:
|
|
106
|
+
recordId:
|
|
107
|
+
type: string
|
|
108
|
+
required: true
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
#%RAML 1.0 Overlay
|
|
2
|
+
extends: ./api.raml
|
|
3
|
+
|
|
4
|
+
uses:
|
|
5
|
+
luvio: luvio://annotations.raml
|
|
6
|
+
|
|
7
|
+
(luvio.keyPrefix): 'pathassistant'
|
|
8
|
+
|
|
9
|
+
types:
|
|
10
|
+
PathAssistantDaysInStageRepresentation:
|
|
11
|
+
(luvio.ttl): 30000
|
|
12
|
+
PathAssistantMetadataRepresentation:
|
|
13
|
+
(luvio.ttl): 30000
|
|
14
|
+
CollapsibleDrawerUserPrefRepresentation:
|
|
15
|
+
(luvio.ttl): 30000
|
|
16
|
+
(luvio.key):
|
|
17
|
+
apiName: apiName
|
|
18
|
+
|
|
19
|
+
/connect/pathassistant:
|
|
20
|
+
/{recordId}:
|
|
21
|
+
get:
|
|
22
|
+
(luvio.adapter):
|
|
23
|
+
name: getPathAssistant
|
|
24
|
+
/{recordId}/daysInStage:
|
|
25
|
+
get:
|
|
26
|
+
(luvio.adapter):
|
|
27
|
+
name: getPathAssistantDaysInStage
|
|
28
|
+
/collapsibleDrawerUserPref:
|
|
29
|
+
patch:
|
|
30
|
+
(luvio.adapter):
|
|
31
|
+
name: updateCollapsibleDrawerUserPref
|