@salesforce/lds-adapters-industries-docgen 1.366.0 → 1.367.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
@@ -2,7 +2,7 @@
2
2
  securedBy:
3
3
  - OAuth2
4
4
  title: Salesforce Connect API
5
- version: '64.0'
5
+ version: '65.0'
6
6
  mediaType: application/json
7
7
  protocols:
8
8
  - https
@@ -48,6 +48,60 @@ types:
48
48
  usageType:
49
49
  description: This attribute contains usageType for clause config
50
50
  type: string
51
+ ContentLinkDataSyncDetailRepresentation:
52
+ description: Output representation containing the details of the data sync to
53
+ salesforce Objects.
54
+ type: object
55
+ properties:
56
+ contentLinkId:
57
+ description: Record ID of the content link.
58
+ type: string
59
+ failureReason:
60
+ description: Failure reason.
61
+ type: string
62
+ isSuccess:
63
+ description: Flag representing if the data sync validation was successful.
64
+ type: boolean
65
+ value:
66
+ description: Represents the data for the content.
67
+ type: string
68
+ ContentLinkDataSyncInputRepresentation:
69
+ description: Input representation of the request to sync dataTrueUp token data
70
+ from the document to salesforce objects
71
+ type: object
72
+ properties:
73
+ contentLinkDetailsList:
74
+ description: List of content link details.
75
+ type: array
76
+ items:
77
+ type: any
78
+ partialCommit:
79
+ description: Is commit required in case of partial success.
80
+ type: boolean
81
+ referenceObjectId:
82
+ description: ID of the reference object to fetch the content data from.
83
+ type: string
84
+ ContentLinkDataSyncOutputRepresentation:
85
+ description: Output representation containing the successful and unsuccessful
86
+ details of Data Sync action.
87
+ type: object
88
+ properties:
89
+ failedContentLinkDataList:
90
+ description: List of failed contentLink details
91
+ type: array
92
+ items:
93
+ type: ContentLinkDataSyncDetailRepresentation
94
+ referenceObjectId:
95
+ description: Reference object id
96
+ type: string
97
+ saveCommitted:
98
+ description: Flag representing if the successful transactions are committed.
99
+ type: boolean
100
+ successContentLinkDataList:
101
+ description: List of successful contentLink details
102
+ type: array
103
+ items:
104
+ type: ContentLinkDataSyncDetailRepresentation
51
105
  ContentLinkDetailRepresentation:
52
106
  description: Output representation containing the content link details for the
53
107
  given reference IDs.
@@ -1076,21 +1130,38 @@ types:
1076
1130
  # TODO Hand-Rolled due to issue #28 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAMmFgP)
1077
1131
  #required: false
1078
1132
  (oas-body-name): promotionRequest
1079
- /content-link/load:
1080
- post:
1081
- displayName: postContentLinkLoad
1082
- description: Fetches the Content Data for a given ReferenceId or Set of Content
1083
- Link Ids
1084
- responses:
1085
- '200':
1086
- description: Success
1087
- body:
1088
- application/json:
1089
- type: ContentLinkListRepresentation
1090
- body:
1091
- application/json:
1092
- type: ContentLinkInputRepresentation
1093
- (oas-body-name): getContentLinkInput
1133
+ /content-link:
1134
+ /data-sync:
1135
+ post:
1136
+ displayName: postContentLinkDataSync
1137
+ description: Fetches the Content Data for a given ReferenceId or Set of Content
1138
+ Link Ids
1139
+ responses:
1140
+ '200':
1141
+ description: Success
1142
+ body:
1143
+ application/json:
1144
+ type: ContentLinkDataSyncOutputRepresentation
1145
+ body:
1146
+ application/json:
1147
+ type: ContentLinkDataSyncInputRepresentation
1148
+ #required: false
1149
+ (oas-body-name): getContentLinkDataSyncInput
1150
+ /load:
1151
+ post:
1152
+ displayName: postContentLinkLoad
1153
+ description: Fetches the Content Data for a given ReferenceId or Set of Content
1154
+ Link Ids
1155
+ responses:
1156
+ '200':
1157
+ description: Success
1158
+ body:
1159
+ application/json:
1160
+ type: ContentLinkListRepresentation
1161
+ body:
1162
+ application/json:
1163
+ type: ContentLinkInputRepresentation
1164
+ (oas-body-name): getContentLinkInput
1094
1165
  /docgen:
1095
1166
  /doc-generation-batch-process/{docGenerationBatchProcessId}/{actionName}:
1096
1167
  patch:
@@ -65,6 +65,10 @@ types:
65
65
  (luvio.ttl): 60000
66
66
  (luvio.key):
67
67
  status: status
68
+ ContentLinkDataSyncOutputRepresentation:
69
+ (luvio.ttl): 60000
70
+ (luvio.key):
71
+ referenceObjectId: referenceObjectId
68
72
  /connect:
69
73
  /docgen:
70
74
  /doc-generation-batch-process/{docGenerationBatchProcessId}/{actionName}:
@@ -258,7 +262,12 @@ types:
258
262
  post:
259
263
  (luvio.adapter):
260
264
  name: postDocumentClausePromotion
261
- /content-link/load:
262
- post:
263
- (luvio.adapter):
264
- name: getContentLinkInput
265
+ /content-link:
266
+ /load:
267
+ post:
268
+ (luvio.adapter):
269
+ name: getContentLinkInput
270
+ /data-sync:
271
+ post:
272
+ (luvio.adapter):
273
+ name: getContentLinkDataSyncInput