@salesforce/lds-adapters-cdp-document-processing 1.354.0-dev2 → 1.354.0-dev21
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 +645 -267
- package/dist/es/es2018/types/src/generated/adapters/createIdpConfiguration.d.ts +3 -0
- 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/resources/postSsotDocumentProcessingConfigurations.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/types/IdpConfigurationDetailsRepresentation.d.ts +36 -9
- package/dist/es/es2018/types/src/generated/types/IdpConfigurationInputRepresentation.d.ts +9 -1
- 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 +697 -313
- package/src/raml/api.raml +109 -2
- package/src/raml/luvio.raml +29 -3
package/src/raml/api.raml
CHANGED
|
@@ -134,10 +134,37 @@ types:
|
|
|
134
134
|
properties:
|
|
135
135
|
schemaConfig:
|
|
136
136
|
description: The schema of the data to be extracted
|
|
137
|
-
type: string
|
|
137
|
+
type: string
|
|
138
|
+
createdBy:
|
|
139
|
+
description: Created by
|
|
140
|
+
type: any
|
|
141
|
+
createdDate:
|
|
142
|
+
description: Created date
|
|
143
|
+
type: string
|
|
144
|
+
id:
|
|
145
|
+
description: The 18 character ID of the asset
|
|
146
|
+
type: string
|
|
147
|
+
label:
|
|
148
|
+
description: Label of the asset
|
|
149
|
+
type: string
|
|
150
|
+
lastModifiedBy:
|
|
151
|
+
description: Last modified by
|
|
152
|
+
type: any
|
|
153
|
+
lastModifiedDate:
|
|
154
|
+
description: Last modified date
|
|
155
|
+
type: string
|
|
138
156
|
name:
|
|
139
|
-
description:
|
|
157
|
+
description: Name of the asset
|
|
140
158
|
type: string
|
|
159
|
+
description:
|
|
160
|
+
description: description of config
|
|
161
|
+
type: any
|
|
162
|
+
mlModel:
|
|
163
|
+
description: fileConfig
|
|
164
|
+
type: string | nil
|
|
165
|
+
runtimeStatus:
|
|
166
|
+
description: fileConfig
|
|
167
|
+
type: string | nil
|
|
141
168
|
IdpConfigurationInputRepresentation:
|
|
142
169
|
description: The input representation for Idp Configuration
|
|
143
170
|
type: object
|
|
@@ -170,9 +197,32 @@ types:
|
|
|
170
197
|
name:
|
|
171
198
|
description: The API name of the IDP configuration to be created
|
|
172
199
|
type: string
|
|
200
|
+
configMetadata:
|
|
201
|
+
description: A map of custom key-value pairs serialized as JSON
|
|
202
|
+
type: object
|
|
203
|
+
properties:
|
|
204
|
+
builderType:
|
|
205
|
+
description: Source of idp config creation
|
|
206
|
+
type: string
|
|
173
207
|
schemaConfig:
|
|
174
208
|
description: The schema of the data to be extracted
|
|
175
209
|
type: string
|
|
210
|
+
IdpConfigurationPatchInputRepresentation:
|
|
211
|
+
description: The update input representation for Idp Configuration
|
|
212
|
+
type: object
|
|
213
|
+
properties:
|
|
214
|
+
activationStatus:
|
|
215
|
+
description: The updated activation status - Activated/Deactivated
|
|
216
|
+
type: string
|
|
217
|
+
enum:
|
|
218
|
+
- Activated
|
|
219
|
+
- Deactivated
|
|
220
|
+
description:
|
|
221
|
+
description: The updated description of the IDP configuration to be created
|
|
222
|
+
type: string
|
|
223
|
+
label:
|
|
224
|
+
description: The updated label of the IDP configuration to be created
|
|
225
|
+
type: string
|
|
176
226
|
IdpConfigurationRepresentation:
|
|
177
227
|
description: Idp Configuration Representation
|
|
178
228
|
type: IdpConfigurationBaseRepresentation
|
|
@@ -249,6 +299,35 @@ types:
|
|
|
249
299
|
status:
|
|
250
300
|
description: E.g. ENABLED, DISABLED
|
|
251
301
|
type: string
|
|
302
|
+
IdpGenerateSchemaFileInputRepresentation:
|
|
303
|
+
description: The generate schema file input representation for Idp Configuration
|
|
304
|
+
type: object
|
|
305
|
+
properties:
|
|
306
|
+
fileId:
|
|
307
|
+
description: Either a Salesforce file Id or a URI to SF Drive
|
|
308
|
+
type: string
|
|
309
|
+
IdpGenerateSchemaInputRepresentation:
|
|
310
|
+
description: The generate schema input representation for Idp Configuration
|
|
311
|
+
type: object
|
|
312
|
+
properties:
|
|
313
|
+
files:
|
|
314
|
+
description: The list of unstructured source files to extract the schema from
|
|
315
|
+
type: array
|
|
316
|
+
items:
|
|
317
|
+
type: IdpGenerateSchemaFileInputRepresentation
|
|
318
|
+
mlModel:
|
|
319
|
+
description: The ID of the ML model to use for schema extraction
|
|
320
|
+
type: string
|
|
321
|
+
IdpGeneratedSchemaRepresentation:
|
|
322
|
+
description: Idp Generated Schema Representation
|
|
323
|
+
type: object
|
|
324
|
+
properties:
|
|
325
|
+
error:
|
|
326
|
+
description: Error message if schema generation fails
|
|
327
|
+
type: string | nil
|
|
328
|
+
schema:
|
|
329
|
+
description: The generated schema in JSON format
|
|
330
|
+
type: string
|
|
252
331
|
IdpExtractDataInputRepresentation:
|
|
253
332
|
description: The extract data input representation for Idp Configuration
|
|
254
333
|
type: object
|
|
@@ -347,8 +426,22 @@ types:
|
|
|
347
426
|
body:
|
|
348
427
|
application/json:
|
|
349
428
|
type: IdpConfigurationDetailsRepresentation
|
|
429
|
+
patch:
|
|
430
|
+
displayName: updateIdpConfiguration
|
|
431
|
+
description: updates the details of a specific idp configuration record
|
|
432
|
+
responses:
|
|
433
|
+
'200':
|
|
434
|
+
description: Success
|
|
435
|
+
body:
|
|
436
|
+
application/json:
|
|
437
|
+
type: IdpConfigurationDetailsRepresentation
|
|
438
|
+
body:
|
|
439
|
+
application/json:
|
|
440
|
+
type: IdpConfigurationPatchInputRepresentation
|
|
441
|
+
(oas-body-name): patchIdpConfigurationRecord
|
|
350
442
|
uriParameters:
|
|
351
443
|
idOrApiName:
|
|
444
|
+
description: Document processing Config ID
|
|
352
445
|
type: string
|
|
353
446
|
required: true
|
|
354
447
|
/global-config:
|
|
@@ -361,6 +454,20 @@ types:
|
|
|
361
454
|
body:
|
|
362
455
|
application/json:
|
|
363
456
|
type: IdpGlobalConfigRepresentation
|
|
457
|
+
/actions/generate-schema:
|
|
458
|
+
post:
|
|
459
|
+
displayName: generateIdpConfigurationSchema
|
|
460
|
+
description: generate schema for idp configuration
|
|
461
|
+
responses:
|
|
462
|
+
'200':
|
|
463
|
+
description: Success
|
|
464
|
+
body:
|
|
465
|
+
application/json:
|
|
466
|
+
type: IdpGeneratedSchemaRepresentation
|
|
467
|
+
body:
|
|
468
|
+
application/json:
|
|
469
|
+
type: IdpGenerateSchemaInputRepresentation
|
|
470
|
+
(oas-body-name): generateIdpConfigurationSchema
|
|
364
471
|
/actions/extract-data:
|
|
365
472
|
post:
|
|
366
473
|
displayName: extractDataUsingIdpConfiguration
|
package/src/raml/luvio.raml
CHANGED
|
@@ -42,8 +42,25 @@ types:
|
|
|
42
42
|
|
|
43
43
|
IdpConfigurationDetailsRepresentation:
|
|
44
44
|
(luvio.ttl): 500
|
|
45
|
+
(luvio.opaque): true
|
|
45
46
|
(luvio.key):
|
|
46
|
-
|
|
47
|
+
id: id
|
|
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
|
|
47
64
|
|
|
48
65
|
IdpExtractDataInputRepresentation:
|
|
49
66
|
(luvio.ttl): 500
|
|
@@ -70,19 +87,28 @@ types:
|
|
|
70
87
|
(luvio.adapter):
|
|
71
88
|
name: deleteIdpConfiguration
|
|
72
89
|
(luvio.key):
|
|
73
|
-
|
|
90
|
+
id: urlParams.idOrApiName
|
|
74
91
|
|
|
75
92
|
get:
|
|
76
93
|
(luvio.adapter):
|
|
77
94
|
name: getIdpConfiguration
|
|
78
95
|
(luvio.key):
|
|
79
|
-
|
|
96
|
+
id: urlParams.idOrApiName
|
|
97
|
+
|
|
98
|
+
patch:
|
|
99
|
+
(luvio.adapter):
|
|
100
|
+
name: updateIdpConfiguration
|
|
80
101
|
|
|
81
102
|
/global-config:
|
|
82
103
|
get:
|
|
83
104
|
(luvio.adapter):
|
|
84
105
|
name: getIdpGlobalConfig
|
|
85
106
|
|
|
107
|
+
/actions/generate-schema:
|
|
108
|
+
post:
|
|
109
|
+
(luvio.adapter):
|
|
110
|
+
name: generateIdpConfigurationSchema
|
|
111
|
+
|
|
86
112
|
/actions/extract-data:
|
|
87
113
|
post:
|
|
88
114
|
(luvio.adapter):
|