@salesforce/lds-adapters-industries-clm 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 (105) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/industries-clm.js +5636 -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/checkIn.d.ts +15 -0
  5. package/dist/es/es2018/types/src/generated/adapters/checkoutContractDocumentVersion.d.ts +17 -0
  6. package/dist/es/es2018/types/src/generated/adapters/createContractDocumentVersionAndInitializeGenerateDocumentProcess.d.ts +17 -0
  7. package/dist/es/es2018/types/src/generated/adapters/createContractDocumentVersionReview.d.ts +17 -0
  8. package/dist/es/es2018/types/src/generated/adapters/createExternalReviewDocument.d.ts +15 -0
  9. package/dist/es/es2018/types/src/generated/adapters/createExtractionContextMapping.d.ts +16 -0
  10. package/dist/es/es2018/types/src/generated/adapters/deleteAttachment.d.ts +15 -0
  11. package/dist/es/es2018/types/src/generated/adapters/deleteContractDocumentVersionReview.d.ts +14 -0
  12. package/dist/es/es2018/types/src/generated/adapters/deleteExtractionContextMapping.d.ts +14 -0
  13. package/dist/es/es2018/types/src/generated/adapters/executeContractAction.d.ts +17 -0
  14. package/dist/es/es2018/types/src/generated/adapters/getContentDocument.d.ts +28 -0
  15. package/dist/es/es2018/types/src/generated/adapters/getContractActions.d.ts +28 -0
  16. package/dist/es/es2018/types/src/generated/adapters/getContractDocumentVersion.d.ts +28 -0
  17. package/dist/es/es2018/types/src/generated/adapters/getContractDocumentVersionReview.d.ts +28 -0
  18. package/dist/es/es2018/types/src/generated/adapters/getDocumentGenerationProcessDetails.d.ts +27 -0
  19. package/dist/es/es2018/types/src/generated/adapters/getDocumentRecipientAndStatus.d.ts +27 -0
  20. package/dist/es/es2018/types/src/generated/adapters/getExternalDocumentReviewCC.d.ts +27 -0
  21. package/dist/es/es2018/types/src/generated/adapters/getExtractionContextMapping.d.ts +28 -0
  22. package/dist/es/es2018/types/src/generated/adapters/getLatestContractDocumentVersionCC.d.ts +29 -0
  23. package/dist/es/es2018/types/src/generated/adapters/getTemplates.d.ts +31 -0
  24. package/dist/es/es2018/types/src/generated/adapters/lockContractDocumentVersion.d.ts +15 -0
  25. package/dist/es/es2018/types/src/generated/adapters/saveExternalDocument.d.ts +16 -0
  26. package/dist/es/es2018/types/src/generated/adapters/unlock.d.ts +15 -0
  27. package/dist/es/es2018/types/src/generated/adapters/updateContractDocumentVersionReview.d.ts +17 -0
  28. package/dist/es/es2018/types/src/generated/adapters/updateContractDocumentVersionWithTemplate.d.ts +17 -0
  29. package/dist/es/es2018/types/src/generated/adapters/updateExtractionContextMapping.d.ts +17 -0
  30. package/dist/es/es2018/types/src/generated/adapters/updateSharingOnAttachment.d.ts +17 -0
  31. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +27 -0
  32. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +43 -0
  33. package/dist/es/es2018/types/src/generated/resources/deleteConnectClmContractDocumentVersionContentDocumentsByContractDocumentVersionId.d.ts +15 -0
  34. package/dist/es/es2018/types/src/generated/resources/deleteConnectClmContractDocumentVersionReviewByContractDocumentVersionId.d.ts +12 -0
  35. package/dist/es/es2018/types/src/generated/resources/deleteConnectClmExtractionContextMappingsByContextUseCaseMappingId.d.ts +12 -0
  36. package/dist/es/es2018/types/src/generated/resources/getConnectClmCcContractContractDocumentVersionByContractId.d.ts +19 -0
  37. package/dist/es/es2018/types/src/generated/resources/getConnectClmCcDocumentRecipient.d.ts +15 -0
  38. package/dist/es/es2018/types/src/generated/resources/getConnectClmCcExternalDocument.d.ts +15 -0
  39. package/dist/es/es2018/types/src/generated/resources/getConnectClmContractContractActionsByContractId.d.ts +16 -0
  40. package/dist/es/es2018/types/src/generated/resources/getConnectClmContractContractDocumentVersionByContractId.d.ts +18 -0
  41. package/dist/es/es2018/types/src/generated/resources/getConnectClmContractDocumentVersionContentDocumentsByContractDocumentVersionId.d.ts +16 -0
  42. package/dist/es/es2018/types/src/generated/resources/getConnectClmContractDocumentVersionReviewByContractDocumentVersionId.d.ts +16 -0
  43. package/dist/es/es2018/types/src/generated/resources/getConnectClmDocumentGenerationProcessStatus.d.ts +15 -0
  44. package/dist/es/es2018/types/src/generated/resources/getConnectClmDocumentTemplate.d.ts +19 -0
  45. package/dist/es/es2018/types/src/generated/resources/getConnectClmExtractionContextMappingsByContextUseCaseMappingId.d.ts +16 -0
  46. package/dist/es/es2018/types/src/generated/resources/patchConnectClmContractByContractId.d.ts +16 -0
  47. package/dist/es/es2018/types/src/generated/resources/patchConnectClmContractDocumentVersionByContractDocumentVersionId.d.ts +16 -0
  48. package/dist/es/es2018/types/src/generated/resources/patchConnectClmContractDocumentVersionCheckInByContractDocumentVersionId.d.ts +12 -0
  49. package/dist/es/es2018/types/src/generated/resources/patchConnectClmContractDocumentVersionContentDocumentsByContractDocumentVersionId.d.ts +16 -0
  50. package/dist/es/es2018/types/src/generated/resources/patchConnectClmContractDocumentVersionLockByContractDocumentVersionId.d.ts +12 -0
  51. package/dist/es/es2018/types/src/generated/resources/patchConnectClmContractDocumentVersionReviewByContractDocumentVersionId.d.ts +16 -0
  52. package/dist/es/es2018/types/src/generated/resources/patchConnectClmContractDocumentVersionUnlockByContractDocumentVersionId.d.ts +12 -0
  53. package/dist/es/es2018/types/src/generated/resources/patchConnectClmExternalDocumentResource.d.ts +13 -0
  54. package/dist/es/es2018/types/src/generated/resources/patchConnectClmExtractionContextMappingsByContextUseCaseMappingId.d.ts +16 -0
  55. package/dist/es/es2018/types/src/generated/resources/postConnectClmContractContractDocumentVersionByContractId.d.ts +16 -0
  56. package/dist/es/es2018/types/src/generated/resources/postConnectClmContractDocumentVersionCheckoutByContractDocumentVersionId.d.ts +16 -0
  57. package/dist/es/es2018/types/src/generated/resources/postConnectClmContractDocumentVersionExternalReviewDocumentByContractDocumentVersionId.d.ts +12 -0
  58. package/dist/es/es2018/types/src/generated/resources/postConnectClmContractDocumentVersionReviewByContractDocumentVersionId.d.ts +16 -0
  59. package/dist/es/es2018/types/src/generated/resources/postConnectClmExtractionContextMappings.d.ts +13 -0
  60. package/dist/es/es2018/types/src/generated/types/ContentDocumentListRepresentation.d.ts +42 -0
  61. package/dist/es/es2018/types/src/generated/types/ContentDocumentRepresentation.d.ts +52 -0
  62. package/dist/es/es2018/types/src/generated/types/ContractActionInputRepresentation.d.ts +38 -0
  63. package/dist/es/es2018/types/src/generated/types/ContractActionInputRepresentationWrapper.d.ts +29 -0
  64. package/dist/es/es2018/types/src/generated/types/ContractActionListRepresentation.d.ts +42 -0
  65. package/dist/es/es2018/types/src/generated/types/ContractActionRepresentation.d.ts +50 -0
  66. package/dist/es/es2018/types/src/generated/types/ContractDocumentVersionCCRepresentation.d.ts +60 -0
  67. package/dist/es/es2018/types/src/generated/types/ContractDocumentVersionRepresentation.d.ts +77 -0
  68. package/dist/es/es2018/types/src/generated/types/ContractDocumentVersionReviewInputRepresentation.d.ts +35 -0
  69. package/dist/es/es2018/types/src/generated/types/ContractDocumentVersionReviewInputRepresentationWrapper.d.ts +38 -0
  70. package/dist/es/es2018/types/src/generated/types/ContractDocumentVersionReviewOutputRepresentation.d.ts +44 -0
  71. package/dist/es/es2018/types/src/generated/types/ContractDocumentVersionReviewerInputRepresentation.d.ts +35 -0
  72. package/dist/es/es2018/types/src/generated/types/ContractDocumentVersionReviewerOutputRepresentation.d.ts +38 -0
  73. package/dist/es/es2018/types/src/generated/types/ContractDocumentVersionReviewersListOutputRepresentation.d.ts +42 -0
  74. package/dist/es/es2018/types/src/generated/types/ContractDocumentVersionsListRepresentation.d.ts +33 -0
  75. package/dist/es/es2018/types/src/generated/types/ContractInputRepresentation.d.ts +37 -0
  76. package/dist/es/es2018/types/src/generated/types/ContractInputRepresentationWrapper.d.ts +29 -0
  77. package/dist/es/es2018/types/src/generated/types/ContractOutputResponseRepresentation.d.ts +28 -0
  78. package/dist/es/es2018/types/src/generated/types/DocumentGenerateRepresentation.d.ts +48 -0
  79. package/dist/es/es2018/types/src/generated/types/DocumentGenerationProcessStatusRepresentation.d.ts +47 -0
  80. package/dist/es/es2018/types/src/generated/types/DocumentRecipientStatusCCRepresentation.d.ts +48 -0
  81. package/dist/es/es2018/types/src/generated/types/ExternalDocumentReviewCCRepresentation.d.ts +41 -0
  82. package/dist/es/es2018/types/src/generated/types/ExtractionContextAttributeMappingInputRepresentation.d.ts +31 -0
  83. package/dist/es/es2018/types/src/generated/types/ExtractionContextAttributeMappingRepresentation.d.ts +40 -0
  84. package/dist/es/es2018/types/src/generated/types/ExtractionContextDefinitionRepresentation.d.ts +34 -0
  85. package/dist/es/es2018/types/src/generated/types/ExtractionContextMappingInputRepresentation.d.ts +32 -0
  86. package/dist/es/es2018/types/src/generated/types/ExtractionContextMappingOutputRepresentation.d.ts +57 -0
  87. package/dist/es/es2018/types/src/generated/types/ExtractionContextMappingRepresentation.d.ts +41 -0
  88. package/dist/es/es2018/types/src/generated/types/ExtractionContextMappingsOutputRepresentation.d.ts +44 -0
  89. package/dist/es/es2018/types/src/generated/types/ExtractionContextUseCaseMappingInputRepresentation.d.ts +41 -0
  90. package/dist/es/es2018/types/src/generated/types/ExtractionContextUseCaseMappingRepresentation.d.ts +52 -0
  91. package/dist/es/es2018/types/src/generated/types/GenericOutputRepresentation.d.ts +41 -0
  92. package/dist/es/es2018/types/src/generated/types/RecipientOutputRepresentation.d.ts +43 -0
  93. package/dist/es/es2018/types/src/generated/types/SaveExternalDocumentInputRepresentation.d.ts +28 -0
  94. package/dist/es/es2018/types/src/generated/types/SaveExternalDocumentInputRepresentationWrapper.d.ts +29 -0
  95. package/dist/es/es2018/types/src/generated/types/SaveExternalDocumentRepresentation.d.ts +44 -0
  96. package/dist/es/es2018/types/src/generated/types/TemplateInputRepresentation.d.ts +40 -0
  97. package/dist/es/es2018/types/src/generated/types/TemplateInputRepresentationWrapper.d.ts +29 -0
  98. package/dist/es/es2018/types/src/generated/types/TemplateListRepresentation.d.ts +36 -0
  99. package/dist/es/es2018/types/src/generated/types/TemplateRepresentation.d.ts +40 -0
  100. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
  101. package/package.json +71 -0
  102. package/sfdc/index.d.ts +1 -0
  103. package/sfdc/index.js +6044 -0
  104. package/src/raml/api.raml +1198 -0
  105. package/src/raml/luvio.raml +341 -0
@@ -0,0 +1,1198 @@
1
+ #%RAML 1.0
2
+ securedBy:
3
+ - OAuth2
4
+ title: Salesforce Connect API
5
+ version: '61.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
+ 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
+ documentType:
60
+ description: Document type for the current Document
61
+ type: string
62
+ required: false
63
+ fileExtension:
64
+ description: The fileExtension of ContentDocument
65
+ type: string
66
+ required: false
67
+ isSharedExternally:
68
+ description: If true, file can be viewed by all the users
69
+ type: boolean
70
+ required: false
71
+ lastModifiedDate:
72
+ description: The lastModifiedDate of ContentDocument
73
+ type: string
74
+ title:
75
+ description: The title of ContentDocument
76
+ type: string
77
+ ContractDocumentVersionCCRepresentation:
78
+ description: ContractDocumentVersion record
79
+ type: object
80
+ properties:
81
+ attachments:
82
+ description: List of attachments details associated to the ContractDocumentVersion
83
+ type: array
84
+ required: false
85
+ items:
86
+ type: ContentDocumentRepresentation
87
+ canCurrentUserReview:
88
+ description: Can current user review the document
89
+ type: boolean
90
+ required: false
91
+ contractDocumentVersionId:
92
+ description: The record Id of ContractDocumentVersion
93
+ type: string
94
+ contractDocuments:
95
+ description: List of documents details associated to the Contract
96
+ type: array
97
+ required: false
98
+ items:
99
+ type: ContentDocumentRepresentation
100
+ contractId:
101
+ description: The record Id of parent Contract
102
+ type: string
103
+ isDocumentVersionLocked:
104
+ description: Is Current Contract Document Version Locked
105
+ type: boolean
106
+ required: false
107
+ name:
108
+ description: The version Name of ContractDocumentVersion
109
+ type: string
110
+ status:
111
+ description: The status of ContractDocumentVersion
112
+ type: string
113
+ ContractActionInputRepresentation:
114
+ description: Input representation to get action details for the contract
115
+ type: object
116
+ properties:
117
+ actionApiName:
118
+ description: API name for respective contract action
119
+ type: string
120
+ required: false # TODO Hand-rolled W-9314597
121
+ actionData:
122
+ description: action body with supported format string, string for contract
123
+ action
124
+ type: object
125
+ properties:
126
+ //:
127
+ type: string
128
+ required: false # TODO Hand-rolled W-9314597
129
+ actionId:
130
+ description: action Id for the respective Contract Action
131
+ type: string
132
+ required: false # TODO Hand-rolled W-9314597
133
+ ContractActionListRepresentation:
134
+ description: Output representation of Contract Actions
135
+ type: object
136
+ properties:
137
+ actions:
138
+ description: The list of actions
139
+ type: array
140
+ items:
141
+ type: ContractActionRepresentation
142
+ contractId:
143
+ description: contract Id
144
+ type: string
145
+ ContractActionRepresentation:
146
+ description: Contract Actions
147
+ type: object
148
+ properties:
149
+ actionId:
150
+ description: Id for the Object State Action Definition
151
+ type: string
152
+ required: true
153
+ uiText:
154
+ description: The localized text for the action
155
+ type: string
156
+ actionType:
157
+ description: Action type for state action object, whether it's Apex or Reference Object
158
+ type: string
159
+ required: false
160
+ apiName:
161
+ description: The api name for the action
162
+ type: string
163
+ invocableClassName:
164
+ description: The name of Apex invocable class
165
+ type: string
166
+ required: false
167
+ invocableMethodName:
168
+ description: The name of Apex invocable class method
169
+ type: string
170
+ required: false
171
+ referenceObject:
172
+ description: The Reference Object associated with the Object State Action Definition
173
+ type: string
174
+ required: false
175
+ referenceObjectId:
176
+ description: The Reference Object ID associated with the Object State Action Definition
177
+ type: string
178
+ required: false
179
+ ContractDocumentVersionRepresentation:
180
+ description: ContractDocumentVersion record
181
+ type: object
182
+ properties:
183
+ contractDocumentVersionId:
184
+ description: The record Id of ContractDocumentVersion
185
+ type: string
186
+ contractId:
187
+ description: The record Id of parent Contract
188
+ type: string
189
+ createdByFullName:
190
+ description: The status of ContractDocumentVersion
191
+ type: string
192
+ required: false
193
+ createdDate:
194
+ description: The createdDate of ContractDocumentVersion
195
+ type: string
196
+ creationProcessType:
197
+ description: The creationProcessType of ContractDocumentVersion
198
+ type: string
199
+ required: false
200
+ documentTemplateId:
201
+ description: The templateId used for ContractDocumentVersion
202
+ type: string
203
+ required: false
204
+ isDocumentVersionLocked:
205
+ description: The isDocumentVersionLocked flag of ContractDocumentVersion
206
+ type: boolean
207
+ lastModifiedDate:
208
+ description: The lastModifiedDate of ContractDocumentVersion
209
+ type: string
210
+ lockType:
211
+ description: The lockType of ContractDocumentVersion
212
+ type: string
213
+ required: false
214
+ lockedByUserName:
215
+ description: The lockedByUserName of ContractDocumentVersion
216
+ type: string
217
+ required: false
218
+ name:
219
+ description: The versionName of ContractDocumentVersion
220
+ type: string
221
+ status:
222
+ description: The status of ContractDocumentVersion
223
+ type: string
224
+ versionNumber:
225
+ description: The versionNumber of ContractDocumentVersion
226
+ type: string
227
+ ContractDocumentVersionReviewInputRepresentation:
228
+ description: Input representation of a contract document review
229
+ type: object
230
+ properties:
231
+ reviewers:
232
+ description: List of reviewers assigned by the contract author
233
+ type: array
234
+ items:
235
+ type: object
236
+ sendEmailNotification:
237
+ description: whether to send email notifications for the reviewers or not
238
+ type: boolean
239
+ message:
240
+ description: Personalized message to be sent with the invitation email
241
+ type: string
242
+ required: false
243
+ ContractDocumentVersionReviewOutputRepresentation:
244
+ description: Output representation for createContractDocumentVersionReview
245
+ type: object
246
+ properties:
247
+ contractDocumentVersionId:
248
+ description: The record Id of ContractDocumentVersion
249
+ type: string
250
+ isSuccess:
251
+ description: whether create is sucessful or not
252
+ type: boolean
253
+ message:
254
+ description: error/warning message if any
255
+ type: string
256
+ ContractDocumentVersionReviewerInputRepresentation:
257
+ description: Input representation of a contract document reviewer
258
+ type: object
259
+ properties:
260
+ access:
261
+ description: access given to the reviewer by the contract author
262
+ type: string
263
+ userId:
264
+ description: Id of the reviewer user ID in external provider
265
+ type: string
266
+ email:
267
+ description: Id of the reviewer in external provider
268
+ type: string
269
+ ContractDocumentVersionReviewerOutputRepresentation:
270
+ description: Output representation for Contract Document Version Reviewer
271
+ type: object
272
+ properties:
273
+ accessType:
274
+ description: accessType given to the reviewer by the author
275
+ type: string
276
+ displayName:
277
+ description: display name of the reviewer
278
+ type: string
279
+ email:
280
+ description: The ID of the User in External provider eg. Microsoft/Google
281
+ type: string
282
+ contractDocumentReviewRecordId:
283
+ description: The ID of the Contract Document Review entity
284
+ type: string
285
+ ContractDocumentVersionReviewersListOutputRepresentation:
286
+ description: Output representation for Contract Document Version Reviewers
287
+ type: object
288
+ properties:
289
+ contractDocumentVersionId:
290
+ description: ContractDocumentVersion ID for which list of Reviewers fetched
291
+ type: string
292
+ reviewersData:
293
+ description: Data of the list of reviewers
294
+ type: array
295
+ items:
296
+ type: ContractDocumentVersionReviewerOutputRepresentation
297
+ ContractDocumentVersionsListRepresentation:
298
+ description: ContractDocumentVersions record list
299
+ type: object
300
+ properties:
301
+ contractId:
302
+ description: Contract ID for which list of contractDocumentVersions fetched
303
+ type: string
304
+ data:
305
+ description: List of ContractDocumentVersions details associated to the Contract
306
+ type: array
307
+ required: false
308
+ items:
309
+ type: ContractDocumentVersionRepresentation
310
+ ContractInputRepresentation:
311
+ description: An Input Representation for create and update Contract Api.
312
+ type: object
313
+ properties:
314
+ isAutoDocgenRequired:
315
+ description: 'Is Auto Document Generation Required. '
316
+ type: boolean
317
+ recordTypeName:
318
+ description: Contract RecordType Name
319
+ type: string
320
+ sourceObjectId:
321
+ description: Source Record Id.
322
+ type: string
323
+ templateName:
324
+ description: Document Template Name for Document Generation.
325
+ type: string
326
+ ContractOutputResponseRepresentation:
327
+ description: Contract List
328
+ type: object
329
+ properties:
330
+ data:
331
+ description: 'The record Ids of the Contacts '
332
+ type: array
333
+ items:
334
+ type: string
335
+ DocumentGenerateRepresentation:
336
+ description: DocumentGenerateRepresentation record
337
+ type: object
338
+ properties:
339
+ contentDocuments:
340
+ description: List of Generated Content Document details associated to the
341
+ ContractDocumentVersion
342
+ type: array
343
+ required: false
344
+ items:
345
+ type: ContentDocumentRepresentation
346
+ contractDocumentVersionId:
347
+ description: The record Id of ContractDocumentVersion
348
+ type: string
349
+ contractId:
350
+ description: The record Id of Contract
351
+ type: string
352
+ jobId:
353
+ description: The Job ID of generate document process enqueued after contractDocumentVersion
354
+ creation
355
+ type: string
356
+ required: false
357
+ DocumentGenerationProcessStatusRepresentation:
358
+ description: Output representation of Document Generation Process
359
+ type: object
360
+ properties:
361
+ contentDocuments:
362
+ description: List of Generated Content Document details associated to the
363
+ ContractDocumentVersion
364
+ type: array
365
+ required: false
366
+ items:
367
+ type: ContentDocumentRepresentation
368
+ contractDocumentVersionId:
369
+ description: contractDocumentVersionId
370
+ type: string
371
+ documentGenerationProcessId:
372
+ description: DocumentGenerationProcessId
373
+ type: string
374
+ required: false
375
+ documentUrl:
376
+ description: Document Url for the external Document
377
+ type: string
378
+ required: false
379
+ name:
380
+ description: Name
381
+ type: string
382
+ required: false
383
+ responseText:
384
+ description: responseText
385
+ type: string
386
+ required: false
387
+ status:
388
+ description: Status
389
+ type: string
390
+ required: false
391
+ ExtractionContextAttributeMappingInputRepresentation:
392
+ description: Input representation of Extraction ContextAttributeMapping
393
+ type: object
394
+ properties:
395
+ attributeId:
396
+ description: ID of the ContextAttributeMapping - Required for Update
397
+ type: string
398
+ description:
399
+ description: Description of ContextAttributeMapping
400
+ type: string
401
+ ExtractionContextAttributeMappingRepresentation:
402
+ description: Output representation of Extraction Context Attribute Mapping
403
+ type: object
404
+ properties:
405
+ attributeId:
406
+ description: Id of this Extraction ContextAttributeMapping
407
+ type: string
408
+ attributeName:
409
+ description: Name of Extraction ContextAttribute
410
+ type: string
411
+ required: false
412
+ description:
413
+ description: Description of Extraction attribute mapping
414
+ type: string
415
+ required: false
416
+ isCustom:
417
+ description: Custom
418
+ type: boolean
419
+ required: false
420
+ targetObjectField:
421
+ description: target object field
422
+ type: string
423
+ required: false
424
+ ExtractionContextDefinitionRepresentation:
425
+ description: Output representation of Extraction Context Definition
426
+ type: object
427
+ properties:
428
+ developerName:
429
+ description: DeveloperName of Extraction ContextDefinition
430
+ type: string
431
+ id:
432
+ description: Id of Extraction ContextDefinition
433
+ type: string
434
+ name:
435
+ description: Name of Extraction ContextDefinition
436
+ type: string
437
+ required: false
438
+ ExtractionContextMappingInputRepresentation:
439
+ description: Input representation of a extraction context mapping
440
+ type: object
441
+ properties:
442
+ contextAttributeMapping:
443
+ description: Extraction Context Attribute Mapping
444
+ type: array
445
+ items:
446
+ type: any
447
+ contextUseCaseMapping:
448
+ description: Extraction Context UseCase Mapping
449
+ type: any
450
+ ExtractionContextMappingOutputRepresentation:
451
+ description: Output representation of extraction context mapping.
452
+ type: object
453
+ properties:
454
+ contextUseCaseMappingId:
455
+ description: The reocrd Id of contextUseCaseMapping
456
+ type: string
457
+ contextAttributeMapping:
458
+ description: Extraction ContextAttributeMappingListRepresentation details.
459
+ type: array
460
+ items:
461
+ type: ExtractionContextAttributeMappingRepresentation
462
+ contextUseCaseMapping:
463
+ description: Extraction ContextUseCaseMapping details.
464
+ type: ExtractionContextUseCaseMappingRepresentation
465
+ isSuccess:
466
+ description: Success
467
+ type: boolean
468
+ required: false
469
+ ExtractionContextMappingRepresentation:
470
+ description: Output representation of Extraction Context Mapping
471
+ type: object
472
+ properties:
473
+ id:
474
+ description: Id of Extraction ContextMapping
475
+ type: string
476
+ name:
477
+ description: Name of Extraction ContextMapping
478
+ type: string
479
+ required: false
480
+ ExtractionContextMappingsOutputRepresentation:
481
+ description: Output Representation for create and update extraction context mapping
482
+ type: object
483
+ properties:
484
+ id:
485
+ description: id
486
+ type: string
487
+ isSuccess:
488
+ description: API success status
489
+ type: boolean
490
+ required: false
491
+ message:
492
+ description: error/warning message if any
493
+ type: string
494
+ required: false
495
+ ExtractionContextUseCaseMappingInputRepresentation:
496
+ description: Input representation of Extraction ContextUseCaseMapping
497
+ type: object
498
+ properties:
499
+ contextDefinitionDeveloperName:
500
+ description: contextDefinitionDeveloperName
501
+ type: string
502
+ mappingName:
503
+ description: MappingName
504
+ type: string
505
+ recordType:
506
+ description: RecordType
507
+ type: string
508
+ targetObject:
509
+ description: TargetObject
510
+ type: string
511
+ templateName:
512
+ description: TemplateName
513
+ type: string
514
+ ExtractionContextUseCaseMappingRepresentation:
515
+ description: Output representation of Extraction Context UseCase Mapping
516
+ type: object
517
+ properties:
518
+ contextDefinition:
519
+ description: ContextDefinitionDetails of this extraction ContextUseCaseMappingId
520
+ type: ExtractionContextDefinitionRepresentation
521
+ contextMapping:
522
+ description: ContextMappingDetails of this extraction ContextUseCaseMappingId
523
+ type: ExtractionContextMappingRepresentation
524
+ recordType:
525
+ description: Name of the record type of this extraction ContextUseCaseMappingId
526
+ type: string
527
+ required: false
528
+ targetObject:
529
+ description: Name of the Target object of this extraction ContextUseCaseMappingId
530
+ type: string
531
+ required: false
532
+ templateName:
533
+ description: Name of template
534
+ type: string
535
+ required: false
536
+ GenericOutputRepresentation:
537
+ description: Generic Output Representation
538
+ type: object
539
+ properties:
540
+ id:
541
+ description: id
542
+ type: string
543
+ isSuccess:
544
+ description: API success status
545
+ type: boolean
546
+ required: false
547
+ TemplateInputRepresentation:
548
+ description: Input representation to get TemplateId
549
+ type: object
550
+ properties:
551
+ externalReviewType:
552
+ description: External Review Type
553
+ type: string
554
+ required: false
555
+ isExternalReviewImport:
556
+ description: Flag for whether the checkout is for external review import
557
+ type: boolean
558
+ required: false
559
+ templateId:
560
+ description: Template Id with Key Prefix 2dt
561
+ type: string
562
+ pdfDocumentId:
563
+ description: contract pdf document id
564
+ type: string
565
+ required: false # TODO Hand-rolled W-9314597
566
+ wordDocumentId:
567
+ description: contract word document id
568
+ type: string
569
+ required: false # TODO Hand-rolled W-9314597
570
+ TemplateListRepresentation:
571
+ description: Output representation of Templates
572
+ type: object
573
+ properties:
574
+ code:
575
+ description: API code
576
+ type: string
577
+ required: false
578
+ data:
579
+ description: The list of templates
580
+ type: array
581
+ items:
582
+ type: TemplateRepresentation
583
+ message:
584
+ description: API message
585
+ type: string
586
+ required: false
587
+ TemplateRepresentation:
588
+ description: Template Record
589
+ type: object
590
+ properties:
591
+ id:
592
+ description: The record Id of the Template
593
+ type: string
594
+ isActive:
595
+ description: The status of the Template
596
+ type: boolean
597
+ name:
598
+ description: The name of the Template
599
+ type: string
600
+ type:
601
+ description: The type of the Template
602
+ type: string
603
+ version:
604
+ description: The version of the Template
605
+ type: integer
606
+ SaveExternalDocumentInputRepresentation:
607
+ description: Input representation to save external document to salesforce
608
+ type: object
609
+ properties:
610
+ extDocumentId:
611
+ description: External Document ID
612
+ type: string
613
+ SaveExternalDocumentRepresentation:
614
+ description: Output representation for Save External Document
615
+ type: object
616
+ properties:
617
+ id:
618
+ description: Id of the document
619
+ type: string
620
+ isSuccess:
621
+ description: The isSuccess flag for SaveExternalDocument
622
+ type: boolean
623
+ message:
624
+ description: The response message for SaveExternalDocument
625
+ type: string
626
+ required: false
627
+ # TODO Hand-Rolled due to issue #28 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAMmFgP)
628
+ TemplateInputRepresentationWrapper:
629
+ description: Wrapper for TemplateInputRepresentation
630
+ type: object
631
+ properties:
632
+ templateInput:
633
+ type: TemplateInputRepresentation
634
+ description: Input representation to get TemplateId
635
+ # TODO Hand-Rolled due to issue #28 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAMmFgP)
636
+ ContractActionInputRepresentationWrapper:
637
+ description: Wrapper for ContractActionInputRepresentation
638
+ type: object
639
+ properties:
640
+ actionInput:
641
+ type: ContractActionInputRepresentation
642
+ description: Input representation to get apiName for Contract action
643
+ # TODO Hand-Rolled due to issue #28 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAMmFgP)
644
+ ContractInputRepresentationWrapper:
645
+ description: Wrapper for ContractInputRepresentation
646
+ type: object
647
+ properties:
648
+ contractInputPayload:
649
+ type: ContractInputRepresentation
650
+ description: An Input Representation for create and update Contract Api.
651
+ SaveExternalDocumentInputRepresentationWrapper:
652
+ description: Wrapper for SaveExternalDocumentInputRepresentation
653
+ type: object
654
+ properties:
655
+ externalDocumentInput:
656
+ type: SaveExternalDocumentInputRepresentation
657
+ description: Input representation to save external document to salesforce
658
+ ContractDocumentVersionReviewInputRepresentationWrapper:
659
+ description: Wrapper for ContractDocumentVersionReviewInput
660
+ type: object
661
+ properties:
662
+ review:
663
+ type: ContractDocumentVersionReviewInputRepresentation
664
+ description: Input representation of a contract document review
665
+ DocumentRecipientStatusCCRepresentation:
666
+ description: Document Recipients Statuses
667
+ type: object
668
+ properties:
669
+ contractDocumentVersionId:
670
+ description: Record Id for the Contract Document Version
671
+ type: string
672
+ hasCurrentUserSigned:
673
+ description: Is document Signed by Current User
674
+ type: boolean
675
+ required: false
676
+ isCurrentUserRecipient:
677
+ description: Is Current User also a signer
678
+ type: boolean
679
+ required: false
680
+ precedingSignersExists:
681
+ description: Is Document signed by preceding signers
682
+ type: boolean
683
+ required: false
684
+ precedingSignersSigned:
685
+ description: Has it been signed by Preceding Signers
686
+ type: boolean
687
+ required: false
688
+ recipientSequence:
689
+ description: Sequence number for the current User
690
+ type: integer
691
+ required: false
692
+ recipients:
693
+ description: List of Signers
694
+ type: array
695
+ required: false
696
+ items:
697
+ type: RecipientOutputRepresentation
698
+ RecipientOutputRepresentation:
699
+ description: Document Recipient Details
700
+ type: object
701
+ properties:
702
+ declinedReason:
703
+ description: The declined reason for the signature
704
+ required: false
705
+ type: string
706
+ email:
707
+ description: The email address of the recipient
708
+ type: string
709
+ finalStatusDateTime:
710
+ description: The final Date Time for the current status
711
+ type: string
712
+ name:
713
+ description: The name of the recipient
714
+ type: string
715
+ status:
716
+ description: The status of the recipient
717
+ type: string
718
+ type:
719
+ description: The type of the recipient
720
+ required: false
721
+ type: string
722
+ ExternalDocumentReviewCCRepresentation:
723
+ description: External Document Version Review
724
+ type: object
725
+ properties:
726
+ contentVersionId:
727
+ description: The record Id of ContentVersion associated to External Document
728
+ type: string
729
+ required: false
730
+ contractDocumentVersionId:
731
+ description: The record Id of ContractDocumentVersion
732
+ type: string
733
+ externalDocumentId:
734
+ description: The record Id of External Document
735
+ type: string
736
+ isReviewCompletedByCurrentUser:
737
+ description: Has current User completed the review for the document
738
+ type: boolean
739
+ required: false
740
+ url:
741
+ description: the url of the external Document
742
+ type: string
743
+ required: false
744
+ /connect:
745
+ /clm:
746
+ /cc:
747
+ /contract/{contractId}/contract-document-version:
748
+ get:
749
+ displayName: getContractDocumentVersionCC
750
+ description: Get Latest Contract Document Version details based on Contract
751
+ Id
752
+ responses:
753
+ '200':
754
+ description: Success
755
+ body:
756
+ application/json:
757
+ type: ContractDocumentVersionCCRepresentation
758
+ queryParameters:
759
+ showDetails:
760
+ type: boolean
761
+ required: false
762
+ uriParameters:
763
+ contractId:
764
+ type: string
765
+ required: true
766
+ /documentRecipient:
767
+ get:
768
+ displayName: getDocumentRecipientStatusCC
769
+ description: Get Document Recipients and their status
770
+ responses:
771
+ '200':
772
+ description: Success
773
+ body:
774
+ application/json:
775
+ type: DocumentRecipientStatusCCRepresentation
776
+ queryParameters:
777
+ contractDocumentVersionId:
778
+ type: string
779
+ required: false
780
+ /external-document:
781
+ get:
782
+ displayName: getExternalDocumentReviewCC
783
+ description: Get External document details for review using latest contract
784
+ document version
785
+ responses:
786
+ '200':
787
+ description: Success
788
+ body:
789
+ application/json:
790
+ type: ExternalDocumentReviewCCRepresentation
791
+ queryParameters:
792
+ contractDocumentVersionId:
793
+ type: string
794
+ required: false
795
+ /contract:
796
+ # TODO: Hand rolled
797
+ # patch:
798
+ # description: Update contract details based on object Id
799
+ # responses:
800
+ # '200':
801
+ # description: Success
802
+ # body:
803
+ # application/json:
804
+ # type: ContractOutputResponseRepresentation
805
+ # body:
806
+ # application/json:
807
+ # # TODO Hand-Rolled due to issue #28 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAMmFgP)
808
+ # type: ContractInputRepresentationWrapper
809
+ # # TODO: Hand-rolled due to issue #22 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
810
+ # # required: false
811
+ # (oas-body-name): contractInputPayload
812
+ # post:
813
+ # description: Create contract based on the object id
814
+ # responses:
815
+ # '200':
816
+ # description: Success
817
+ # body:
818
+ # application/json:
819
+ # type: ContractOutputResponseRepresentation
820
+ # body:
821
+ # application/json:
822
+ # # TODO Hand-Rolled due to issue #28 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAMmFgP)
823
+ # type: ContractInputRepresentationWrapper
824
+ # # TODO: Hand-rolled due to issue #22 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
825
+ # # required: false
826
+ # (oas-body-name): contractInputPayload
827
+ /contract/{contractId}:
828
+ /contract-document-version:
829
+ get:
830
+ displayName: getContractDocumentVersion
831
+ description: Get contract document version details based on id
832
+ responses:
833
+ '200':
834
+ description: Success
835
+ body:
836
+ application/json:
837
+ type: ContractDocumentVersionsListRepresentation
838
+ queryParameters:
839
+ contractDocumentVersionId:
840
+ type: string
841
+ required: false
842
+ post:
843
+ displayName: postContractDocumentVersion
844
+ description: Create contract document version for input contractId and generateDocument
845
+ w.r.t. templateId passed
846
+ responses:
847
+ '200':
848
+ description: Success
849
+ body:
850
+ application/json:
851
+ type: DocumentGenerateRepresentation
852
+ body:
853
+ application/json:
854
+ # TODO Hand-Rolled due to issue #28 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAMmFgP)
855
+ type: TemplateInputRepresentationWrapper
856
+ # TODO: Hand-rolled due to issue #22 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
857
+ # required: false
858
+ (oas-body-name): templateInput
859
+ uriParameters:
860
+ contractId:
861
+ type: string
862
+ required: true
863
+ patch:
864
+ displayName: patchContractAction
865
+ description: Executes given action on the provided contract
866
+ responses:
867
+ '200':
868
+ description: Success
869
+ body:
870
+ application/json:
871
+ type: GenericOutputRepresentation
872
+ body:
873
+ application/json:
874
+ # TODO Hand-Rolled due to issue #28 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAMmFgP)
875
+ type: ContractActionInputRepresentationWrapper
876
+ # TODO: Hand-rolled due to issue #22 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
877
+ # required: false
878
+ (oas-body-name): actionInput
879
+ uriParameters:
880
+ contractId:
881
+ type: string
882
+ required: true
883
+ /contract-actions:
884
+ get:
885
+ displayName: getContractActionList
886
+ description: Get list of actions possible for the particular contract
887
+ responses:
888
+ '200':
889
+ description: Success
890
+ body:
891
+ application/json:
892
+ type: ContractActionListRepresentation
893
+ uriParameters:
894
+ contractId:
895
+ type: string
896
+ required: true
897
+
898
+ /contract-document-version/{contractDocumentVersionId}:
899
+ patch:
900
+ displayName: patchContractDocumentVersionWithTemplate
901
+ description: Update the Contract Document Version when template is changed
902
+ responses:
903
+ '200':
904
+ description: Success
905
+ body:
906
+ application/json:
907
+ type: DocumentGenerateRepresentation
908
+ body:
909
+ application/json:
910
+ # TODO Hand-Rolled due to issue #28 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAMmFgP)
911
+ type: TemplateInputRepresentationWrapper
912
+ # TODO: Hand-rolled due to issue #22 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
913
+ # required: false
914
+ (oas-body-name): templateInput
915
+ uriParameters:
916
+ contractDocumentVersionId:
917
+ type: string
918
+ required: true
919
+ /checkIn:
920
+ patch:
921
+ displayName: patchContractDocumentCheckInVersion
922
+ description: CheckIn a Contract Document Version using Contract Document Version
923
+ ID
924
+ responses:
925
+ '200':
926
+ description: Success
927
+ body:
928
+ application/json:
929
+ type: GenericOutputRepresentation
930
+ uriParameters:
931
+ contractDocumentVersionId:
932
+ type: string
933
+ required: true
934
+ /checkout:
935
+ post:
936
+ displayName: postContractDocumentVersionCheckout
937
+ description: Checkout contract document version
938
+ responses:
939
+ '200':
940
+ description: Success
941
+ body:
942
+ application/json:
943
+ type: DocumentGenerateRepresentation
944
+ body:
945
+ application/json:
946
+ # TODO Hand-Rolled due to issue #28 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAMmFgP)
947
+ type: TemplateInputRepresentationWrapper
948
+ # TODO: Hand-rolled due to issue #22 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
949
+ # required: false
950
+ (oas-body-name): templateInput
951
+ uriParameters:
952
+ contractDocumentVersionId:
953
+ type: string
954
+ required: true
955
+ /content-documents:
956
+ delete:
957
+ displayName: deleteContentDocument
958
+ description: Delete attachments based on contentDocumentId & contractDocumentVersionId
959
+ responses:
960
+ '200':
961
+ description: Success
962
+ queryParameters:
963
+ contentDocumentId:
964
+ type: string
965
+ required: false
966
+ patch:
967
+ displayName: patchContentDocument
968
+ description: Share/Unshare attachments based on the share flag to Internal
969
+ or All users
970
+ responses:
971
+ '200':
972
+ description: Success
973
+ body:
974
+ application/json:
975
+ type: GenericOutputRepresentation
976
+ queryParameters:
977
+ contentDocumentId:
978
+ type: string
979
+ required: false
980
+ share:
981
+ type: boolean
982
+ required: false
983
+ get:
984
+ displayName: getContentDocument
985
+ description: Get content documents for given contractDocumentVersionId
986
+ responses:
987
+ '200':
988
+ description: Success
989
+ body:
990
+ application/json:
991
+ type: ContentDocumentListRepresentation
992
+ uriParameters:
993
+ contractDocumentVersionId:
994
+ type: string
995
+ required: true
996
+ /lock:
997
+ patch:
998
+ displayName: patchContractDocumentVersionLock
999
+ description: Lock contract document version
1000
+ responses:
1001
+ '200':
1002
+ description: Success
1003
+ body:
1004
+ application/json:
1005
+ type: GenericOutputRepresentation
1006
+ uriParameters:
1007
+ contractDocumentVersionId:
1008
+ type: string
1009
+ required: true
1010
+ /externalReviewDocument:
1011
+ post:
1012
+ displayName: postContractExternalReviewDocument
1013
+ description: Contract document version for external review
1014
+ responses:
1015
+ '200':
1016
+ description: Success
1017
+ body:
1018
+ application/json:
1019
+ type: GenericOutputRepresentation
1020
+ uriParameters:
1021
+ contractDocumentVersionId:
1022
+ type: string
1023
+ required: true
1024
+ /review:
1025
+ delete:
1026
+ displayName: deleteContractDocumentVersionReview
1027
+ description: delete/cancel review for a given contractDocumentVersion
1028
+ responses:
1029
+ '200':
1030
+ description: Success
1031
+ get:
1032
+ displayName: getContractDocumentVersionReview
1033
+ description: Get contract document version review details based on id
1034
+ responses:
1035
+ '200':
1036
+ description: Success
1037
+ body:
1038
+ application/json:
1039
+ type: ContractDocumentVersionReviewersListOutputRepresentation
1040
+ patch:
1041
+ displayName: updateContractDocumentVersionReview
1042
+ description: Modify review with the specified list of reviewers for a given
1043
+ contractDocVersion
1044
+ responses:
1045
+ '200':
1046
+ description: Success
1047
+ body:
1048
+ application/json:
1049
+ type: ContractDocumentVersionReviewOutputRepresentation
1050
+ body:
1051
+ application/json:
1052
+ type: ContractDocumentVersionReviewInputRepresentationWrapper
1053
+ # TODO: Hand-rolled due to issue #22 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
1054
+ #required: false
1055
+ (oas-body-name): review
1056
+ post:
1057
+ displayName: createContractDocumentVersionReview
1058
+ description: Create/Initialize review with the specified list of reviewers
1059
+ for a given contractDocVersion
1060
+ responses:
1061
+ '200':
1062
+ description: Success
1063
+ body:
1064
+ application/json:
1065
+ type: ContractDocumentVersionReviewOutputRepresentation
1066
+ body:
1067
+ application/json:
1068
+ type: ContractDocumentVersionReviewInputRepresentationWrapper
1069
+ # TODO: Hand-rolled due to issue #22 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
1070
+ # required: false
1071
+ (oas-body-name): review
1072
+ uriParameters:
1073
+ contractDocumentVersionId:
1074
+ type: string
1075
+ required: true
1076
+ /unlock:
1077
+ patch:
1078
+ displayName: patchContractDocumentVersionUnlock
1079
+ description: Unlock a Contract Document Version using Contract Document Version
1080
+ ID
1081
+ responses:
1082
+ '200':
1083
+ description: Success
1084
+ body:
1085
+ application/json:
1086
+ type: GenericOutputRepresentation
1087
+ uriParameters:
1088
+ contractDocumentVersionId:
1089
+ type: string
1090
+ required: true
1091
+ /document-generation-process/status:
1092
+ get:
1093
+ displayName: getDocumentGenerationProcessStatus
1094
+ description: Get Template details based on version id
1095
+ responses:
1096
+ '200':
1097
+ description: Success
1098
+ body:
1099
+ application/json:
1100
+ type: DocumentGenerationProcessStatusRepresentation
1101
+ queryParameters:
1102
+ contractDocumentVersionId:
1103
+ type: string
1104
+ required: false
1105
+ /document-template:
1106
+ get:
1107
+ displayName: getDocumentTemplate
1108
+ description: Get Template details based on version id
1109
+ responses:
1110
+ '200':
1111
+ description: Success
1112
+ body:
1113
+ application/json:
1114
+ type: TemplateListRepresentation
1115
+ queryParameters:
1116
+ contractId:
1117
+ type: string
1118
+ required: false
1119
+ documentTemplateTypes:
1120
+ type: array
1121
+ required: false
1122
+ items:
1123
+ type: string
1124
+ enum:
1125
+ - Microsoft365Word
1126
+ - MicrosoftPowerpoint
1127
+ - MicrosoftWord
1128
+ - Web
1129
+ (oas-collectionFormat): csv
1130
+ isActive:
1131
+ type: boolean
1132
+ required: false
1133
+ type:
1134
+ type: string
1135
+ required: false
1136
+ usageType:
1137
+ type: string
1138
+ required: false
1139
+ /external-document-resource:
1140
+ patch:
1141
+ description: Saves the external document to salesforce
1142
+ responses:
1143
+ '200':
1144
+ description: Success
1145
+ body:
1146
+ application/json:
1147
+ type: SaveExternalDocumentRepresentation
1148
+ body:
1149
+ application/json:
1150
+ type: SaveExternalDocumentInputRepresentationWrapper
1151
+ (oas-body-name): externalDocumentInput
1152
+ /extraction-context-mappings:
1153
+ post:
1154
+ displayName: postExtractionContextMappings
1155
+ description: Create extraction context mappings
1156
+ responses:
1157
+ '200':
1158
+ description: Success
1159
+ body:
1160
+ application/json:
1161
+ type: ExtractionContextMappingsOutputRepresentation
1162
+ body:
1163
+ application/json:
1164
+ type: ExtractionContextMappingInputRepresentation
1165
+ (oas-body-name): extractionContextMappingInput
1166
+ /extraction-context-mappings/{contextUseCaseMappingId}:
1167
+ delete:
1168
+ displayName: deleteExtractionContextMapping
1169
+ description: Delete extraction context mappings
1170
+ responses:
1171
+ '200':
1172
+ description: Success
1173
+ get:
1174
+ displayName: getExtractionContextMapping
1175
+ description: Get extraction context mapping details based on contextUseCaseMappingId
1176
+ responses:
1177
+ '200':
1178
+ description: Success
1179
+ body:
1180
+ application/json:
1181
+ type: ExtractionContextMappingOutputRepresentation
1182
+ patch:
1183
+ displayName: patchExtractionContextMapping
1184
+ description: Update extraction context mappings
1185
+ responses:
1186
+ '200':
1187
+ description: Success
1188
+ body:
1189
+ application/json:
1190
+ type: ExtractionContextMappingsOutputRepresentation
1191
+ body:
1192
+ application/json:
1193
+ type: ExtractionContextMappingInputRepresentation
1194
+ (oas-body-name): updateExtractionContextMapping
1195
+ uriParameters:
1196
+ contextUseCaseMappingId:
1197
+ type: string
1198
+ required: true