@salesforce/lds-adapters-cdp-document-processing 1.358.0 → 1.360.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/dist/es/es2018/cdp-document-processing.js +544 -228
- package/dist/es/es2018/types/src/generated/adapters/generateIdpConfigurationSchema.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/adapters/updateIdpConfiguration.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
- package/dist/es/es2018/types/src/generated/resources/patchSsotDocumentProcessingConfigurationsByIdOrApiName.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotDocumentProcessingActionsGenerateSchema.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/types/IdpConfigurationPatchInputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/IdpGenerateSchemaFileInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/IdpGenerateSchemaInputRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/IdpGeneratedSchemaRepresentation.d.ts +41 -0
- package/package.json +3 -3
- package/sfdc/index.js +548 -226
- package/src/raml/api.raml +72 -0
- package/src/raml/luvio.raml +25 -0
package/src/raml/api.raml
CHANGED
|
@@ -200,6 +200,22 @@ types:
|
|
|
200
200
|
schemaConfig:
|
|
201
201
|
description: The schema of the data to be extracted
|
|
202
202
|
type: string
|
|
203
|
+
IdpConfigurationPatchInputRepresentation:
|
|
204
|
+
description: The update input representation for Idp Configuration
|
|
205
|
+
type: object
|
|
206
|
+
properties:
|
|
207
|
+
activationStatus:
|
|
208
|
+
description: The updated activation status - Activated/Deactivated
|
|
209
|
+
type: string
|
|
210
|
+
enum:
|
|
211
|
+
- Activated
|
|
212
|
+
- Deactivated
|
|
213
|
+
description:
|
|
214
|
+
description: The updated description of the IDP configuration to be created
|
|
215
|
+
type: string
|
|
216
|
+
label:
|
|
217
|
+
description: The updated label of the IDP configuration to be created
|
|
218
|
+
type: string
|
|
203
219
|
IdpConfigurationRepresentation:
|
|
204
220
|
description: Idp Configuration Representation
|
|
205
221
|
type: IdpConfigurationBaseRepresentation
|
|
@@ -276,6 +292,35 @@ types:
|
|
|
276
292
|
status:
|
|
277
293
|
description: E.g. ENABLED, DISABLED
|
|
278
294
|
type: string
|
|
295
|
+
IdpGenerateSchemaFileInputRepresentation:
|
|
296
|
+
description: The generate schema file input representation for Idp Configuration
|
|
297
|
+
type: object
|
|
298
|
+
properties:
|
|
299
|
+
fileId:
|
|
300
|
+
description: Either a Salesforce file Id or a URI to SF Drive
|
|
301
|
+
type: string
|
|
302
|
+
IdpGenerateSchemaInputRepresentation:
|
|
303
|
+
description: The generate schema input representation for Idp Configuration
|
|
304
|
+
type: object
|
|
305
|
+
properties:
|
|
306
|
+
files:
|
|
307
|
+
description: The list of unstructured source files to extract the schema from
|
|
308
|
+
type: array
|
|
309
|
+
items:
|
|
310
|
+
type: IdpGenerateSchemaFileInputRepresentation
|
|
311
|
+
mlModel:
|
|
312
|
+
description: The ID of the ML model to use for schema extraction
|
|
313
|
+
type: string
|
|
314
|
+
IdpGeneratedSchemaRepresentation:
|
|
315
|
+
description: Idp Generated Schema Representation
|
|
316
|
+
type: object
|
|
317
|
+
properties:
|
|
318
|
+
error:
|
|
319
|
+
description: Error message if schema generation fails
|
|
320
|
+
type: string | nil
|
|
321
|
+
schema:
|
|
322
|
+
description: The generated schema in JSON format
|
|
323
|
+
type: string
|
|
279
324
|
IdpExtractDataInputRepresentation:
|
|
280
325
|
description: The extract data input representation for Idp Configuration
|
|
281
326
|
type: object
|
|
@@ -374,6 +419,19 @@ types:
|
|
|
374
419
|
body:
|
|
375
420
|
application/json:
|
|
376
421
|
type: IdpConfigurationDetailsRepresentation
|
|
422
|
+
patch:
|
|
423
|
+
displayName: updateIdpConfiguration
|
|
424
|
+
description: updates the details of a specific idp configuration record
|
|
425
|
+
responses:
|
|
426
|
+
'200':
|
|
427
|
+
description: Success
|
|
428
|
+
body:
|
|
429
|
+
application/json:
|
|
430
|
+
type: IdpConfigurationDetailsRepresentation
|
|
431
|
+
body:
|
|
432
|
+
application/json:
|
|
433
|
+
type: IdpConfigurationPatchInputRepresentation
|
|
434
|
+
(oas-body-name): patchIdpConfigurationRecord
|
|
377
435
|
uriParameters:
|
|
378
436
|
idOrApiName:
|
|
379
437
|
description: Document processing Config ID
|
|
@@ -389,6 +447,20 @@ types:
|
|
|
389
447
|
body:
|
|
390
448
|
application/json:
|
|
391
449
|
type: IdpGlobalConfigRepresentation
|
|
450
|
+
/actions/generate-schema:
|
|
451
|
+
post:
|
|
452
|
+
displayName: generateIdpConfigurationSchema
|
|
453
|
+
description: generate schema for idp configuration
|
|
454
|
+
responses:
|
|
455
|
+
'200':
|
|
456
|
+
description: Success
|
|
457
|
+
body:
|
|
458
|
+
application/json:
|
|
459
|
+
type: IdpGeneratedSchemaRepresentation
|
|
460
|
+
body:
|
|
461
|
+
application/json:
|
|
462
|
+
type: IdpGenerateSchemaInputRepresentation
|
|
463
|
+
(oas-body-name): generateIdpConfigurationSchema
|
|
392
464
|
/actions/extract-data:
|
|
393
465
|
post:
|
|
394
466
|
displayName: extractDataUsingIdpConfiguration
|
package/src/raml/luvio.raml
CHANGED
|
@@ -46,6 +46,22 @@ types:
|
|
|
46
46
|
(luvio.key):
|
|
47
47
|
id: id
|
|
48
48
|
|
|
49
|
+
IdpConfigurationPatchInputRepresentation:
|
|
50
|
+
(luvio.ttl): 500
|
|
51
|
+
(luvio.opaque): true
|
|
52
|
+
|
|
53
|
+
IdpGenerateSchemaFileInputRepresentation:
|
|
54
|
+
(luvio.opaque): true
|
|
55
|
+
|
|
56
|
+
IdpGenerateSchemaInputRepresentation:
|
|
57
|
+
(luvio.ttl): 500
|
|
58
|
+
(luvio.opaque): true
|
|
59
|
+
|
|
60
|
+
IdpGeneratedSchemaRepresentation:
|
|
61
|
+
(luvio.ttl): 1200000
|
|
62
|
+
(luvio.key):
|
|
63
|
+
schema: schema
|
|
64
|
+
|
|
49
65
|
IdpExtractDataInputRepresentation:
|
|
50
66
|
(luvio.ttl): 500
|
|
51
67
|
(luvio.opaque): true
|
|
@@ -79,11 +95,20 @@ types:
|
|
|
79
95
|
(luvio.key):
|
|
80
96
|
id: urlParams.idOrApiName
|
|
81
97
|
|
|
98
|
+
patch:
|
|
99
|
+
(luvio.adapter):
|
|
100
|
+
name: updateIdpConfiguration
|
|
101
|
+
|
|
82
102
|
/global-config:
|
|
83
103
|
get:
|
|
84
104
|
(luvio.adapter):
|
|
85
105
|
name: getIdpGlobalConfig
|
|
86
106
|
|
|
107
|
+
/actions/generate-schema:
|
|
108
|
+
post:
|
|
109
|
+
(luvio.adapter):
|
|
110
|
+
name: generateIdpConfigurationSchema
|
|
111
|
+
|
|
87
112
|
/actions/extract-data:
|
|
88
113
|
post:
|
|
89
114
|
(luvio.adapter):
|