@salesforce/lds-adapters-industries-dfo 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.
Files changed (22) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/industries-dfo.js +660 -0
  3. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
  4. package/dist/es/es2018/types/src/generated/adapters/getDfoConfigInfo.d.ts +26 -0
  5. package/dist/es/es2018/types/src/generated/adapters/getDroDecompositionViewer.d.ts +28 -0
  6. package/dist/es/es2018/types/src/generated/adapters/putDfoConfigInfo.d.ts +17 -0
  7. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +3 -0
  8. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +6 -0
  9. package/dist/es/es2018/types/src/generated/resources/getConnectDroBySalesTransactionIdAndTypeOfData.d.ts +16 -0
  10. package/dist/es/es2018/types/src/generated/resources/getConnectRevenueDroConfigurations.d.ts +12 -0
  11. package/dist/es/es2018/types/src/generated/resources/putConnectRevenueDroConfigurations.d.ts +14 -0
  12. package/dist/es/es2018/types/src/generated/types/DfoConfigInfoGetOutputRepresentation.d.ts +33 -0
  13. package/dist/es/es2018/types/src/generated/types/DfoConfigInfoInputRepresentation.d.ts +32 -0
  14. package/dist/es/es2018/types/src/generated/types/DfoConfigInfoUpdateOutputRepresentation.d.ts +38 -0
  15. package/dist/es/es2018/types/src/generated/types/DroDecompositionViewerGetOutputRepresentation.d.ts +36 -0
  16. package/dist/es/es2018/types/src/generated/types/DroDecompositionViewerInputRepresentation.d.ts +32 -0
  17. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
  18. package/package.json +66 -0
  19. package/sfdc/index.d.ts +1 -0
  20. package/sfdc/index.js +713 -0
  21. package/src/raml/api.raml +121 -0
  22. package/src/raml/luvio.raml +33 -0
@@ -0,0 +1,121 @@
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
+ DfoConfigInfoGetOutputRepresentation:
29
+ description: DFO get Config Info Output Representation
30
+ type: object
31
+ properties:
32
+ values:
33
+ description: config Info for DfoContextInfo
34
+ type: object
35
+ properties:
36
+ //:
37
+ type: string
38
+ DfoConfigInfoInputRepresentation:
39
+ description: DFO Context Info Api Input Representation
40
+ type: object
41
+ properties:
42
+ values:
43
+ description: Config data for DFO ContextInfo
44
+ type: object
45
+ properties:
46
+ //:
47
+ type: string
48
+ DfoConfigInfoUpdateOutputRepresentation:
49
+ description: DFO DfoUpdateConfigInfoResponse Output Representation
50
+ type: object
51
+ properties:
52
+ status:
53
+ description: status for DfoContextInfo
54
+ type: string
55
+ enum:
56
+ - Failure
57
+ - Success
58
+ DroDecompositionViewerGetOutputRepresentation:
59
+ description: DRO get decomposition viewer Output Representation
60
+ type: object
61
+ properties:
62
+ statusMessage:
63
+ description: Decomposition Viewer Response Status Message
64
+ type: string
65
+ values:
66
+ description: Decomposition Viewer Response
67
+ type: object
68
+ properties:
69
+ //:
70
+ type: any
71
+ DroDecompositionViewerInputRepresentation:
72
+ description: DRO Decomposition Viewer Api Input Representation
73
+ type: object
74
+ properties:
75
+ input:
76
+ description: decomposition viewer related data
77
+ type: object
78
+ properties:
79
+ //:
80
+ type: any
81
+ /connect:
82
+ /dro/{salesTransactionId}/{typeOfData}:
83
+ get:
84
+ displayName: getDroDecompositionViewer
85
+ description: API to get Decomposition Viewer Data
86
+ responses:
87
+ '200':
88
+ description: Success
89
+ body:
90
+ application/json:
91
+ type: DroDecompositionViewerGetOutputRepresentation
92
+ uriParameters:
93
+ salesTransactionId:
94
+ description: SalesTransaction Id
95
+ type: string
96
+ typeOfData:
97
+ description: Type Of Data
98
+ type: string
99
+ /revenue/dro/configurations:
100
+ get:
101
+ displayName: getDfoConfigInfo
102
+ description: API to get Dfo Context Info
103
+ responses:
104
+ '200':
105
+ description: Success
106
+ body:
107
+ application/json:
108
+ type: DfoConfigInfoGetOutputRepresentation
109
+ put:
110
+ displayName: putDfoConfigInfo
111
+ description: API to update Dfo Context Info
112
+ responses:
113
+ '200':
114
+ description: Success
115
+ body:
116
+ application/json:
117
+ type: DfoConfigInfoUpdateOutputRepresentation
118
+ body:
119
+ application/json:
120
+ type: DfoConfigInfoInputRepresentation
121
+ (oas-body-name): dfoConfigInfo
@@ -0,0 +1,33 @@
1
+ #%RAML 1.0 Overlay
2
+ extends: ./api.raml
3
+
4
+ uses:
5
+ luvio: luvio://annotations.raml
6
+
7
+ (luvio.keyPrefix): 'dfo'
8
+ (luvio.ttl): 1000
9
+
10
+ types:
11
+ DfoConfigInfoGetOutputRepresentation:
12
+ (luvio.ttl): 1000
13
+ (luvio.opaque): true
14
+ DfoConfigInfoUpdateOutputRepresentation:
15
+ (luvio.ttl): 1000
16
+ (luvio.opaque): true
17
+ (luvio.key):
18
+ message: status
19
+ DroDecompositionViewerGetOutputRepresentation:
20
+ (luvio.ttl): 1000
21
+ (luvio.opaque): true
22
+ /connect:
23
+ /revenue/dro/configurations:
24
+ get:
25
+ (luvio.adapter):
26
+ name: getDfoConfigInfo
27
+ put:
28
+ (luvio.adapter):
29
+ name: putDfoConfigInfo
30
+ /dro/{salesTransactionId}/{typeOfData}:
31
+ get:
32
+ (luvio.adapter):
33
+ name: getDroDecompositionViewer