@salesforce/lds-adapters-industries-clm 1.100.2
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/industries-clm.js +3243 -0
- package/dist/types/src/generated/adapters/adapter-utils.d.ts +66 -0
- package/dist/types/src/generated/adapters/checkIn.d.ts +14 -0
- package/dist/types/src/generated/adapters/checkoutContractDocumentVersion.d.ts +16 -0
- package/dist/types/src/generated/adapters/createContractDocumentVersionAndInitializeGenerateDocumentProcess.d.ts +16 -0
- package/dist/types/src/generated/adapters/deleteAttachment.d.ts +14 -0
- package/dist/types/src/generated/adapters/executeContractAction.d.ts +16 -0
- package/dist/types/src/generated/adapters/getContentDocument.d.ts +27 -0
- package/dist/types/src/generated/adapters/getContractActions.d.ts +27 -0
- package/dist/types/src/generated/adapters/getContractDocumentVersion.d.ts +27 -0
- package/dist/types/src/generated/adapters/getDocumentGenerationProcessDetails.d.ts +26 -0
- package/dist/types/src/generated/adapters/getTemplates.d.ts +30 -0
- package/dist/types/src/generated/adapters/lockContractDocumentVersion.d.ts +14 -0
- package/dist/types/src/generated/adapters/saveExternalDocument.d.ts +15 -0
- package/dist/types/src/generated/adapters/unlock.d.ts +14 -0
- package/dist/types/src/generated/adapters/updateContractDocumentVersionWithTemplate.d.ts +16 -0
- package/dist/types/src/generated/artifacts/main.d.ts +14 -0
- package/dist/types/src/generated/artifacts/sfdc.d.ts +22 -0
- package/dist/types/src/generated/resources/deleteConnectClmContractDocumentVersionContentDocumentsByContractDocumentVersionId.d.ts +15 -0
- package/dist/types/src/generated/resources/getConnectClmContractContractActionsByContractId.d.ts +16 -0
- package/dist/types/src/generated/resources/getConnectClmContractContractDocumentVersionByContractId.d.ts +18 -0
- package/dist/types/src/generated/resources/getConnectClmContractDocumentVersionContentDocumentsByContractDocumentVersionId.d.ts +16 -0
- package/dist/types/src/generated/resources/getConnectClmDocumentGenerationProcessStatus.d.ts +15 -0
- package/dist/types/src/generated/resources/getConnectClmDocumentTemplate.d.ts +19 -0
- package/dist/types/src/generated/resources/patchConnectClmContract.d.ts +10 -0
- package/dist/types/src/generated/resources/patchConnectClmContractByContractId.d.ts +16 -0
- package/dist/types/src/generated/resources/patchConnectClmContractDocumentVersionByContractDocumentVersionId.d.ts +16 -0
- package/dist/types/src/generated/resources/patchConnectClmContractDocumentVersionCheckInByContractDocumentVersionId.d.ts +12 -0
- package/dist/types/src/generated/resources/patchConnectClmContractDocumentVersionLockByContractDocumentVersionId.d.ts +12 -0
- package/dist/types/src/generated/resources/patchConnectClmContractDocumentVersionUnlockByContractDocumentVersionId.d.ts +12 -0
- package/dist/types/src/generated/resources/patchConnectClmExternalDocumentResource.d.ts +13 -0
- package/dist/types/src/generated/resources/postConnectClmContract.d.ts +13 -0
- package/dist/types/src/generated/resources/postConnectClmContractContractDocumentVersionByContractId.d.ts +16 -0
- package/dist/types/src/generated/resources/postConnectClmContractDocumentVersionCheckoutByContractDocumentVersionId.d.ts +16 -0
- package/dist/types/src/generated/types/ContentDocumentListRepresentation.d.ts +43 -0
- package/dist/types/src/generated/types/ContentDocumentRepresentation.d.ts +47 -0
- package/dist/types/src/generated/types/ContractActionInputRepresentation.d.ts +39 -0
- package/dist/types/src/generated/types/ContractActionInputRepresentationWrapper.d.ts +30 -0
- package/dist/types/src/generated/types/ContractActionListRepresentation.d.ts +43 -0
- package/dist/types/src/generated/types/ContractActionRepresentation.d.ts +51 -0
- package/dist/types/src/generated/types/ContractDocumentVersionRepresentation.d.ts +78 -0
- package/dist/types/src/generated/types/ContractDocumentVersionsListRepresentation.d.ts +34 -0
- package/dist/types/src/generated/types/ContractInputRepresentation.d.ts +35 -0
- package/dist/types/src/generated/types/ContractInputRepresentationWrapper.d.ts +30 -0
- package/dist/types/src/generated/types/ContractOutputResponseRepresentation.d.ts +29 -0
- package/dist/types/src/generated/types/DocumentGenerateRepresentation.d.ts +49 -0
- package/dist/types/src/generated/types/DocumentGenerationProcessStatusRepresentation.d.ts +48 -0
- package/dist/types/src/generated/types/GenericOutputRepresentation.d.ts +42 -0
- package/dist/types/src/generated/types/SaveExternalDocumentInputRepresentation.d.ts +29 -0
- package/dist/types/src/generated/types/SaveExternalDocumentInputRepresentationWrapper.d.ts +30 -0
- package/dist/types/src/generated/types/SaveExternalDocumentRepresentation.d.ts +45 -0
- package/dist/types/src/generated/types/TemplateInputRepresentation.d.ts +35 -0
- package/dist/types/src/generated/types/TemplateInputRepresentationWrapper.d.ts +30 -0
- package/dist/types/src/generated/types/TemplateListRepresentation.d.ts +37 -0
- package/dist/types/src/generated/types/TemplateRepresentation.d.ts +41 -0
- package/dist/types/src/generated/types/type-utils.d.ts +39 -0
- package/dist/umd/es2018/industries-clm.js +3264 -0
- package/dist/umd/es5/industries-clm.js +3279 -0
- package/package.json +67 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +3417 -0
- package/src/raml/api.raml +649 -0
- package/src/raml/luvio.raml +173 -0
|
@@ -0,0 +1,649 @@
|
|
|
1
|
+
#%RAML 1.0
|
|
2
|
+
securedBy:
|
|
3
|
+
- OAuth2
|
|
4
|
+
title: Salesforce Connect API
|
|
5
|
+
version: '56.0'
|
|
6
|
+
mediaType: application/json
|
|
7
|
+
protocols:
|
|
8
|
+
- https
|
|
9
|
+
baseUri: /services/data/v58.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
|
+
ContentDocumentListRepresentation:
|
|
29
|
+
description: ContentDocument record list
|
|
30
|
+
type: object
|
|
31
|
+
properties:
|
|
32
|
+
contractDocumentVersionId:
|
|
33
|
+
description: ContractDocumentVersion ID for which list of ContentDocuments
|
|
34
|
+
fetched
|
|
35
|
+
type: string
|
|
36
|
+
data:
|
|
37
|
+
description: List of ContentDocument details associated to the ContractDocumentVersion
|
|
38
|
+
type: array
|
|
39
|
+
required: false
|
|
40
|
+
items:
|
|
41
|
+
type: ContentDocumentRepresentation
|
|
42
|
+
ContentDocumentRepresentation:
|
|
43
|
+
description: ContentDocument record
|
|
44
|
+
type: object
|
|
45
|
+
properties:
|
|
46
|
+
contentDocumentId:
|
|
47
|
+
description: The record Id of ContentDocument
|
|
48
|
+
type: string
|
|
49
|
+
contentDocumentLinkId:
|
|
50
|
+
description: The record Id of ContentDocumentLink
|
|
51
|
+
type: string
|
|
52
|
+
required: false
|
|
53
|
+
contractDocumentVersionId:
|
|
54
|
+
description: The record Id of the linked ContractDocumentVersion object
|
|
55
|
+
type: string
|
|
56
|
+
createdDate:
|
|
57
|
+
description: The createdDate of ContentDocument
|
|
58
|
+
type: string
|
|
59
|
+
fileExtension:
|
|
60
|
+
description: The fileExtension of ContentDocument
|
|
61
|
+
type: string
|
|
62
|
+
required: false
|
|
63
|
+
lastModifiedDate:
|
|
64
|
+
description: The lastModifiedDate of ContentDocument
|
|
65
|
+
type: string
|
|
66
|
+
title:
|
|
67
|
+
description: The title of ContentDocument
|
|
68
|
+
type: string
|
|
69
|
+
ContractActionInputRepresentation:
|
|
70
|
+
description: Input representation to get action details for the contract
|
|
71
|
+
type: object
|
|
72
|
+
properties:
|
|
73
|
+
actionApiName:
|
|
74
|
+
description: API name for respective contract action
|
|
75
|
+
type: string
|
|
76
|
+
required: false # TODO Hand-rolled W-9314597
|
|
77
|
+
actionData:
|
|
78
|
+
description: action body with supported format string, string for contract
|
|
79
|
+
action
|
|
80
|
+
type: object
|
|
81
|
+
properties:
|
|
82
|
+
//:
|
|
83
|
+
type: string
|
|
84
|
+
required: false # TODO Hand-rolled W-9314597
|
|
85
|
+
actionId:
|
|
86
|
+
description: action Id for the respective Contract action
|
|
87
|
+
type: string
|
|
88
|
+
required: false # TODO Hand-rolled W-9314597
|
|
89
|
+
ContractActionListRepresentation:
|
|
90
|
+
description: Output representation of Contract Actions
|
|
91
|
+
type: object
|
|
92
|
+
properties:
|
|
93
|
+
actions:
|
|
94
|
+
description: The list of actions
|
|
95
|
+
type: array
|
|
96
|
+
items:
|
|
97
|
+
type: ContractActionRepresentation
|
|
98
|
+
contractId:
|
|
99
|
+
description: contract Id
|
|
100
|
+
type: string
|
|
101
|
+
ContractActionRepresentation:
|
|
102
|
+
description: Contract Actions
|
|
103
|
+
type: object
|
|
104
|
+
properties:
|
|
105
|
+
apiName:
|
|
106
|
+
description: The api name for the action
|
|
107
|
+
type: string
|
|
108
|
+
uiText:
|
|
109
|
+
description: The localized text for the action
|
|
110
|
+
type: string
|
|
111
|
+
actionType:
|
|
112
|
+
description: Action type for state action object, whether it's Apex or Reference Object
|
|
113
|
+
type: string
|
|
114
|
+
required: false
|
|
115
|
+
actionId:
|
|
116
|
+
description: Id for the Object State Action Definition
|
|
117
|
+
type: string
|
|
118
|
+
required: true
|
|
119
|
+
invocableClassName:
|
|
120
|
+
description: The name of Apex invocable class
|
|
121
|
+
type: string
|
|
122
|
+
required: false
|
|
123
|
+
invocableMethodName:
|
|
124
|
+
description: The name of Apex invocable class method
|
|
125
|
+
type: string
|
|
126
|
+
required: false
|
|
127
|
+
referenceObject:
|
|
128
|
+
description: The Reference Object associated with the Object State Action Definition
|
|
129
|
+
type: string
|
|
130
|
+
required: false
|
|
131
|
+
referenceObjectId:
|
|
132
|
+
description: The Reference Object ID associated with the Object State Action Definition
|
|
133
|
+
type: string
|
|
134
|
+
required: false
|
|
135
|
+
ContractDocumentVersionRepresentation:
|
|
136
|
+
description: ContractDocumentVersion record
|
|
137
|
+
type: object
|
|
138
|
+
properties:
|
|
139
|
+
contractDocumentVersionId:
|
|
140
|
+
description: The record Id of ContractDocumentVersion
|
|
141
|
+
type: string
|
|
142
|
+
contractId:
|
|
143
|
+
description: The record Id of parent Contract
|
|
144
|
+
type: string
|
|
145
|
+
createdByFullName:
|
|
146
|
+
description: The status of ContractDocumentVersion
|
|
147
|
+
type: string
|
|
148
|
+
required: false
|
|
149
|
+
createdDate:
|
|
150
|
+
description: The createdDate of ContractDocumentVersion
|
|
151
|
+
type: string
|
|
152
|
+
creationProcessType:
|
|
153
|
+
description: The creationProcessType of ContractDocumentVersion
|
|
154
|
+
type: string
|
|
155
|
+
required: false
|
|
156
|
+
documentTemplateId:
|
|
157
|
+
description: The templateId used for ContractDocumentVersion
|
|
158
|
+
type: string
|
|
159
|
+
required: false
|
|
160
|
+
isDocumentVersionLocked:
|
|
161
|
+
description: The isDocumentVersionLocked flag of ContractDocumentVersion
|
|
162
|
+
type: boolean
|
|
163
|
+
lastModifiedDate:
|
|
164
|
+
description: The lastModifiedDate of ContractDocumentVersion
|
|
165
|
+
type: string
|
|
166
|
+
lockType:
|
|
167
|
+
description: The lockType of ContractDocumentVersion
|
|
168
|
+
type: string
|
|
169
|
+
required: false
|
|
170
|
+
lockedByUserName:
|
|
171
|
+
description: The lockedByUserName of ContractDocumentVersion
|
|
172
|
+
type: string
|
|
173
|
+
required: false
|
|
174
|
+
name:
|
|
175
|
+
description: The versionName of ContractDocumentVersion
|
|
176
|
+
type: string
|
|
177
|
+
status:
|
|
178
|
+
description: The status of ContractDocumentVersion
|
|
179
|
+
type: string
|
|
180
|
+
versionNumber:
|
|
181
|
+
description: The versionNumber of ContractDocumentVersion
|
|
182
|
+
type: string
|
|
183
|
+
ContractDocumentVersionsListRepresentation:
|
|
184
|
+
description: ContractDocumentVersions record list
|
|
185
|
+
type: object
|
|
186
|
+
properties:
|
|
187
|
+
contractId:
|
|
188
|
+
description: Contract ID for which list of contractDocumentVersions fetched
|
|
189
|
+
type: string
|
|
190
|
+
data:
|
|
191
|
+
description: List of ContractDocumentVersions details associated to the Contract
|
|
192
|
+
type: array
|
|
193
|
+
required: false
|
|
194
|
+
items:
|
|
195
|
+
type: ContractDocumentVersionRepresentation
|
|
196
|
+
ContractInputRepresentation:
|
|
197
|
+
description: An Input Representation for create and update Contract Api.
|
|
198
|
+
type: object
|
|
199
|
+
properties:
|
|
200
|
+
isAutoDocgenRequired:
|
|
201
|
+
description: 'Is Auto Document Generation Required. '
|
|
202
|
+
type: boolean
|
|
203
|
+
sourceObjectId:
|
|
204
|
+
description: Source Record Id.
|
|
205
|
+
type: string
|
|
206
|
+
templateName:
|
|
207
|
+
description: Document Template Name for Document Generation.
|
|
208
|
+
type: string
|
|
209
|
+
ContractOutputResponseRepresentation:
|
|
210
|
+
description: Contract List
|
|
211
|
+
type: object
|
|
212
|
+
properties:
|
|
213
|
+
data:
|
|
214
|
+
description: 'The record Ids of the Contacts '
|
|
215
|
+
type: array
|
|
216
|
+
items:
|
|
217
|
+
type: string
|
|
218
|
+
DocumentGenerateRepresentation:
|
|
219
|
+
description: DocumentGenerateRepresentation record
|
|
220
|
+
type: object
|
|
221
|
+
properties:
|
|
222
|
+
contentDocuments:
|
|
223
|
+
description: List of Generated Content Document details associated to the
|
|
224
|
+
ContractDocumentVersion
|
|
225
|
+
type: array
|
|
226
|
+
required: false
|
|
227
|
+
items:
|
|
228
|
+
type: ContentDocumentRepresentation
|
|
229
|
+
contractDocumentVersionId:
|
|
230
|
+
description: The record Id of ContractDocumentVersion
|
|
231
|
+
type: string
|
|
232
|
+
contractId:
|
|
233
|
+
description: The record Id of Contract
|
|
234
|
+
type: string
|
|
235
|
+
jobId:
|
|
236
|
+
description: The Job ID of generate document process enqueued after contractDocumentVersion
|
|
237
|
+
creation
|
|
238
|
+
type: string
|
|
239
|
+
required: false
|
|
240
|
+
DocumentGenerationProcessStatusRepresentation:
|
|
241
|
+
description: Output representation of Document Generation Process
|
|
242
|
+
type: object
|
|
243
|
+
properties:
|
|
244
|
+
contentDocuments:
|
|
245
|
+
description: List of Generated Content Document details associated to the
|
|
246
|
+
ContractDocumentVersion
|
|
247
|
+
type: array
|
|
248
|
+
required: false
|
|
249
|
+
items:
|
|
250
|
+
type: ContentDocumentRepresentation
|
|
251
|
+
contractDocumentVersionId:
|
|
252
|
+
description: contractDocumentVersionId
|
|
253
|
+
type: string
|
|
254
|
+
documentGenerationProcessId:
|
|
255
|
+
description: DocumentGenerationProcessId
|
|
256
|
+
type: string
|
|
257
|
+
required: false
|
|
258
|
+
name:
|
|
259
|
+
description: Name
|
|
260
|
+
type: string
|
|
261
|
+
required: false
|
|
262
|
+
responseText:
|
|
263
|
+
description: responseText
|
|
264
|
+
type: string
|
|
265
|
+
required: false
|
|
266
|
+
status:
|
|
267
|
+
description: Status
|
|
268
|
+
type: string
|
|
269
|
+
required: false
|
|
270
|
+
documentUrl:
|
|
271
|
+
description: Document Url for the external Document
|
|
272
|
+
type: string
|
|
273
|
+
required: false
|
|
274
|
+
GenericOutputRepresentation:
|
|
275
|
+
description: Generic Output Representation
|
|
276
|
+
type: object
|
|
277
|
+
properties:
|
|
278
|
+
id:
|
|
279
|
+
description: id
|
|
280
|
+
type: string
|
|
281
|
+
isSuccess:
|
|
282
|
+
description: API success status
|
|
283
|
+
type: boolean
|
|
284
|
+
required: false
|
|
285
|
+
TemplateInputRepresentation:
|
|
286
|
+
description: Input representation to get TemplateId
|
|
287
|
+
type: object
|
|
288
|
+
properties:
|
|
289
|
+
templateId:
|
|
290
|
+
description: Template Id with Key Prefix 2dt
|
|
291
|
+
type: string
|
|
292
|
+
pdfDocumentId:
|
|
293
|
+
description: contract pdf document id
|
|
294
|
+
type: string
|
|
295
|
+
required: false # TODO Hand-rolled W-9314597
|
|
296
|
+
wordDocumentId:
|
|
297
|
+
description: contract word document id
|
|
298
|
+
type: string
|
|
299
|
+
required: false # TODO Hand-rolled W-9314597
|
|
300
|
+
TemplateListRepresentation:
|
|
301
|
+
description: Output representation of Templates
|
|
302
|
+
type: object
|
|
303
|
+
properties:
|
|
304
|
+
code:
|
|
305
|
+
description: API code
|
|
306
|
+
type: string
|
|
307
|
+
required: false
|
|
308
|
+
data:
|
|
309
|
+
description: The list of templates
|
|
310
|
+
type: array
|
|
311
|
+
items:
|
|
312
|
+
type: TemplateRepresentation
|
|
313
|
+
message:
|
|
314
|
+
description: API message
|
|
315
|
+
type: string
|
|
316
|
+
required: false
|
|
317
|
+
TemplateRepresentation:
|
|
318
|
+
description: Template Record
|
|
319
|
+
type: object
|
|
320
|
+
properties:
|
|
321
|
+
id:
|
|
322
|
+
description: The record Id of the Template
|
|
323
|
+
type: string
|
|
324
|
+
isActive:
|
|
325
|
+
description: The status of the Template
|
|
326
|
+
type: boolean
|
|
327
|
+
name:
|
|
328
|
+
description: The name of the Template
|
|
329
|
+
type: string
|
|
330
|
+
type:
|
|
331
|
+
description: The type of the Template
|
|
332
|
+
type: string
|
|
333
|
+
version:
|
|
334
|
+
description: The version of the Template
|
|
335
|
+
type: integer
|
|
336
|
+
SaveExternalDocumentInputRepresentation:
|
|
337
|
+
description: Input representation to save external document to salesforce
|
|
338
|
+
type: object
|
|
339
|
+
properties:
|
|
340
|
+
extDocumentId:
|
|
341
|
+
description: External Document ID
|
|
342
|
+
type: string
|
|
343
|
+
SaveExternalDocumentRepresentation:
|
|
344
|
+
description: Output representation for Save External Document
|
|
345
|
+
type: object
|
|
346
|
+
properties:
|
|
347
|
+
id:
|
|
348
|
+
description: Id of the document
|
|
349
|
+
type: string
|
|
350
|
+
isSuccess:
|
|
351
|
+
description: The isSuccess flag for SaveExternalDocument
|
|
352
|
+
type: boolean
|
|
353
|
+
message:
|
|
354
|
+
description: The response message for SaveExternalDocument
|
|
355
|
+
type: string
|
|
356
|
+
required: false
|
|
357
|
+
# TODO Hand-Rolled due to issue #28 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAMmFgP)
|
|
358
|
+
TemplateInputRepresentationWrapper:
|
|
359
|
+
description: Wrapper for TemplateInputRepresentation
|
|
360
|
+
type: object
|
|
361
|
+
properties:
|
|
362
|
+
templateInput:
|
|
363
|
+
type: TemplateInputRepresentation
|
|
364
|
+
description: Input representation to get TemplateId
|
|
365
|
+
# TODO Hand-Rolled due to issue #28 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAMmFgP)
|
|
366
|
+
ContractActionInputRepresentationWrapper:
|
|
367
|
+
description: Wrapper for ContractActionInputRepresentation
|
|
368
|
+
type: object
|
|
369
|
+
properties:
|
|
370
|
+
actionInput:
|
|
371
|
+
type: ContractActionInputRepresentation
|
|
372
|
+
description: Input representation to get apiName for Contract action
|
|
373
|
+
# TODO Hand-Rolled due to issue #28 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAMmFgP)
|
|
374
|
+
ContractInputRepresentationWrapper:
|
|
375
|
+
description: Wrapper for ContractInputRepresentation
|
|
376
|
+
type: object
|
|
377
|
+
properties:
|
|
378
|
+
contractInputPayload:
|
|
379
|
+
type: ContractInputRepresentation
|
|
380
|
+
description: An Input Representation for create and update Contract Api.
|
|
381
|
+
SaveExternalDocumentInputRepresentationWrapper:
|
|
382
|
+
description: Wrapper for SaveExternalDocumentInputRepresentation
|
|
383
|
+
type: object
|
|
384
|
+
properties:
|
|
385
|
+
externalDocumentInput:
|
|
386
|
+
type: SaveExternalDocumentInputRepresentation
|
|
387
|
+
description: Input representation to save external document to salesforce
|
|
388
|
+
|
|
389
|
+
/connect:
|
|
390
|
+
/clm:
|
|
391
|
+
/contract:
|
|
392
|
+
patch:
|
|
393
|
+
description: Update contract details based on object Id
|
|
394
|
+
responses:
|
|
395
|
+
'200':
|
|
396
|
+
description: Success
|
|
397
|
+
body:
|
|
398
|
+
application/json:
|
|
399
|
+
type: ContractOutputResponseRepresentation
|
|
400
|
+
body:
|
|
401
|
+
application/json:
|
|
402
|
+
# TODO Hand-Rolled due to issue #28 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAMmFgP)
|
|
403
|
+
type: ContractInputRepresentationWrapper
|
|
404
|
+
# TODO: Hand-rolled due to issue #22 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
|
|
405
|
+
# required: false
|
|
406
|
+
(oas-body-name): contractInputPayload
|
|
407
|
+
post:
|
|
408
|
+
description: Create contract based on the object id
|
|
409
|
+
responses:
|
|
410
|
+
'200':
|
|
411
|
+
description: Success
|
|
412
|
+
body:
|
|
413
|
+
application/json:
|
|
414
|
+
type: ContractOutputResponseRepresentation
|
|
415
|
+
body:
|
|
416
|
+
application/json:
|
|
417
|
+
# TODO Hand-Rolled due to issue #28 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAMmFgP)
|
|
418
|
+
type: ContractInputRepresentationWrapper
|
|
419
|
+
# TODO: Hand-rolled due to issue #22 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
|
|
420
|
+
# required: false
|
|
421
|
+
(oas-body-name): contractInputPayload
|
|
422
|
+
/contract/{contractId}/contract-document-version:
|
|
423
|
+
get:
|
|
424
|
+
description: Get contract document version details based on id
|
|
425
|
+
responses:
|
|
426
|
+
'200':
|
|
427
|
+
description: Success
|
|
428
|
+
body:
|
|
429
|
+
application/json:
|
|
430
|
+
type: ContractDocumentVersionsListRepresentation
|
|
431
|
+
queryParameters:
|
|
432
|
+
contractDocumentVersionId:
|
|
433
|
+
type: string
|
|
434
|
+
required: false
|
|
435
|
+
post:
|
|
436
|
+
description: Create contract document version for input contractId and generateDocument
|
|
437
|
+
w.r.t. templateId passed
|
|
438
|
+
responses:
|
|
439
|
+
'200':
|
|
440
|
+
description: Success
|
|
441
|
+
body:
|
|
442
|
+
application/json:
|
|
443
|
+
type: DocumentGenerateRepresentation
|
|
444
|
+
body:
|
|
445
|
+
application/json:
|
|
446
|
+
# TODO Hand-Rolled due to issue #28 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAMmFgP)
|
|
447
|
+
type: TemplateInputRepresentationWrapper
|
|
448
|
+
# TODO: Hand-rolled due to issue #22 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
|
|
449
|
+
# required: false
|
|
450
|
+
(oas-body-name): templateInput
|
|
451
|
+
uriParameters:
|
|
452
|
+
contractId:
|
|
453
|
+
type: string
|
|
454
|
+
required: true
|
|
455
|
+
/contract/{contractId}:
|
|
456
|
+
patch:
|
|
457
|
+
description: Executes given action on the provided contract
|
|
458
|
+
responses:
|
|
459
|
+
'200':
|
|
460
|
+
description: Success
|
|
461
|
+
body:
|
|
462
|
+
application/json:
|
|
463
|
+
type: GenericOutputRepresentation
|
|
464
|
+
body:
|
|
465
|
+
application/json:
|
|
466
|
+
# TODO Hand-Rolled due to issue #28 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAMmFgP)
|
|
467
|
+
type: ContractActionInputRepresentationWrapper
|
|
468
|
+
# TODO: Hand-rolled due to issue #22 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
|
|
469
|
+
# required: false
|
|
470
|
+
(oas-body-name): actionInput
|
|
471
|
+
uriParameters:
|
|
472
|
+
contractId:
|
|
473
|
+
type: string
|
|
474
|
+
required: true
|
|
475
|
+
/contract-actions:
|
|
476
|
+
get:
|
|
477
|
+
description: Get list of actions possible for the particular contract
|
|
478
|
+
responses:
|
|
479
|
+
'200':
|
|
480
|
+
description: Success
|
|
481
|
+
body:
|
|
482
|
+
application/json:
|
|
483
|
+
type: ContractActionListRepresentation
|
|
484
|
+
uriParameters:
|
|
485
|
+
contractId:
|
|
486
|
+
type: string
|
|
487
|
+
required: true
|
|
488
|
+
/contract-document-version/{contractDocumentVersionId}:
|
|
489
|
+
patch:
|
|
490
|
+
description: Update the Contract Document Version when template is changed
|
|
491
|
+
responses:
|
|
492
|
+
'200':
|
|
493
|
+
description: Success
|
|
494
|
+
body:
|
|
495
|
+
application/json:
|
|
496
|
+
type: DocumentGenerateRepresentation
|
|
497
|
+
body:
|
|
498
|
+
application/json:
|
|
499
|
+
# TODO Hand-Rolled due to issue #28 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAMmFgP)
|
|
500
|
+
type: TemplateInputRepresentationWrapper
|
|
501
|
+
# TODO: Hand-rolled due to issue #22 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
|
|
502
|
+
# required: false
|
|
503
|
+
(oas-body-name): templateInput
|
|
504
|
+
uriParameters:
|
|
505
|
+
contractDocumentVersionId:
|
|
506
|
+
type: string
|
|
507
|
+
required: true
|
|
508
|
+
/checkIn:
|
|
509
|
+
patch:
|
|
510
|
+
description: CheckIn a Contract Document Version using Contract Document Version
|
|
511
|
+
ID
|
|
512
|
+
responses:
|
|
513
|
+
'200':
|
|
514
|
+
description: Success
|
|
515
|
+
body:
|
|
516
|
+
application/json:
|
|
517
|
+
type: GenericOutputRepresentation
|
|
518
|
+
uriParameters:
|
|
519
|
+
contractDocumentVersionId:
|
|
520
|
+
type: string
|
|
521
|
+
required: true
|
|
522
|
+
/checkout:
|
|
523
|
+
post:
|
|
524
|
+
description: Checkout contract document version
|
|
525
|
+
responses:
|
|
526
|
+
'200':
|
|
527
|
+
description: Success
|
|
528
|
+
body:
|
|
529
|
+
application/json:
|
|
530
|
+
type: DocumentGenerateRepresentation
|
|
531
|
+
body:
|
|
532
|
+
application/json:
|
|
533
|
+
# TODO Hand-Rolled due to issue #28 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAMmFgP)
|
|
534
|
+
type: TemplateInputRepresentationWrapper
|
|
535
|
+
# TODO: Hand-rolled due to issue #22 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
|
|
536
|
+
# required: false
|
|
537
|
+
(oas-body-name): templateInput
|
|
538
|
+
uriParameters:
|
|
539
|
+
contractDocumentVersionId:
|
|
540
|
+
type: string
|
|
541
|
+
required: true
|
|
542
|
+
/content-documents:
|
|
543
|
+
delete:
|
|
544
|
+
description: Delete attachments based on contentDocumentId & contractDocumentVersionId
|
|
545
|
+
responses:
|
|
546
|
+
'200':
|
|
547
|
+
description: Success
|
|
548
|
+
queryParameters:
|
|
549
|
+
contentDocumentId:
|
|
550
|
+
type: string
|
|
551
|
+
required: false
|
|
552
|
+
get:
|
|
553
|
+
description: Get content documents for given contractDocumentVersionId
|
|
554
|
+
responses:
|
|
555
|
+
'200':
|
|
556
|
+
description: Success
|
|
557
|
+
body:
|
|
558
|
+
application/json:
|
|
559
|
+
type: ContentDocumentListRepresentation
|
|
560
|
+
uriParameters:
|
|
561
|
+
contractDocumentVersionId:
|
|
562
|
+
type: string
|
|
563
|
+
required: true
|
|
564
|
+
/lock:
|
|
565
|
+
patch:
|
|
566
|
+
description: Lock contract document version
|
|
567
|
+
responses:
|
|
568
|
+
'200':
|
|
569
|
+
description: Success
|
|
570
|
+
body:
|
|
571
|
+
application/json:
|
|
572
|
+
type: GenericOutputRepresentation
|
|
573
|
+
uriParameters:
|
|
574
|
+
contractDocumentVersionId:
|
|
575
|
+
type: string
|
|
576
|
+
required: true
|
|
577
|
+
/unlock:
|
|
578
|
+
patch:
|
|
579
|
+
description: Unlock a Contract Document Version using Contract Document Version
|
|
580
|
+
ID
|
|
581
|
+
responses:
|
|
582
|
+
'200':
|
|
583
|
+
description: Success
|
|
584
|
+
body:
|
|
585
|
+
application/json:
|
|
586
|
+
type: GenericOutputRepresentation
|
|
587
|
+
uriParameters:
|
|
588
|
+
contractDocumentVersionId:
|
|
589
|
+
type: string
|
|
590
|
+
required: true
|
|
591
|
+
/document-generation-process/status:
|
|
592
|
+
get:
|
|
593
|
+
description: Get Template details based on version id
|
|
594
|
+
responses:
|
|
595
|
+
'200':
|
|
596
|
+
description: Success
|
|
597
|
+
body:
|
|
598
|
+
application/json:
|
|
599
|
+
type: DocumentGenerationProcessStatusRepresentation
|
|
600
|
+
queryParameters:
|
|
601
|
+
contractDocumentVersionId:
|
|
602
|
+
type: string
|
|
603
|
+
required: false
|
|
604
|
+
/document-template:
|
|
605
|
+
get:
|
|
606
|
+
description: Get Template details based on version id
|
|
607
|
+
responses:
|
|
608
|
+
'200':
|
|
609
|
+
description: Success
|
|
610
|
+
body:
|
|
611
|
+
application/json:
|
|
612
|
+
type: TemplateListRepresentation
|
|
613
|
+
queryParameters:
|
|
614
|
+
isActive:
|
|
615
|
+
type: boolean
|
|
616
|
+
required: false
|
|
617
|
+
type:
|
|
618
|
+
type: string
|
|
619
|
+
required: false
|
|
620
|
+
usageType:
|
|
621
|
+
type: string
|
|
622
|
+
required: false
|
|
623
|
+
contractId:
|
|
624
|
+
type: string
|
|
625
|
+
required: false
|
|
626
|
+
documentTemplateTypes:
|
|
627
|
+
type: array
|
|
628
|
+
required: false
|
|
629
|
+
items:
|
|
630
|
+
type: string
|
|
631
|
+
enum:
|
|
632
|
+
- MicrosoftPowerpoint
|
|
633
|
+
- MicrosoftWord
|
|
634
|
+
- MicrosoftWordOnline
|
|
635
|
+
- Web
|
|
636
|
+
(oas-collectionFormat): csv
|
|
637
|
+
/external-document-resource:
|
|
638
|
+
patch:
|
|
639
|
+
description: Saves the external document to salesforce
|
|
640
|
+
responses:
|
|
641
|
+
'200':
|
|
642
|
+
description: Success
|
|
643
|
+
body:
|
|
644
|
+
application/json:
|
|
645
|
+
type: SaveExternalDocumentRepresentation
|
|
646
|
+
body:
|
|
647
|
+
application/json:
|
|
648
|
+
type: SaveExternalDocumentInputRepresentationWrapper
|
|
649
|
+
(oas-body-name): externalDocumentInput
|