@salesforce/lds-adapters-cdp-document-processing 1.419.0 → 1.421.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.
@@ -608,7 +608,7 @@ const getIdpConfigurationsAdapterFactory = (luvio) => function documentProcessin
608
608
  };
609
609
 
610
610
  const TTL$3 = 500;
611
- const VERSION$4 = "8bf201cc7509ac5c7e3db70eba261ab8";
611
+ const VERSION$4 = "4b5414187ebae827b35dc24fd40ef3b8";
612
612
  function validate$7(obj, path = 'IdpConfigurationDetailsRepresentation') {
613
613
  const v_error = (() => {
614
614
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -711,6 +711,13 @@ function validate$7(obj, path = 'IdpConfigurationDetailsRepresentation') {
711
711
  if (typeof obj_schemaConfig !== 'string') {
712
712
  return new TypeError('Expected "string" but received "' + typeof obj_schemaConfig + '" (at "' + path_schemaConfig + '")');
713
713
  }
714
+ if (obj.sourceDmoDeveloperName !== undefined) {
715
+ const obj_sourceDmoDeveloperName = obj.sourceDmoDeveloperName;
716
+ const path_sourceDmoDeveloperName = path + '.sourceDmoDeveloperName';
717
+ if (typeof obj_sourceDmoDeveloperName !== 'string') {
718
+ return new TypeError('Expected "string" but received "' + typeof obj_sourceDmoDeveloperName + '" (at "' + path_sourceDmoDeveloperName + '")');
719
+ }
720
+ }
714
721
  })();
715
722
  return v_error === undefined ? null : v_error;
716
723
  }
@@ -810,6 +817,7 @@ const createIdpConfiguration_ConfigPropertyMetadata = [
810
817
  generateParamConfigMetadata('name', true, 2 /* Body */, 0 /* String */),
811
818
  generateParamConfigMetadata('configMetadata', true, 2 /* Body */, 4 /* Unsupported */),
812
819
  generateParamConfigMetadata('schemaConfig', true, 2 /* Body */, 0 /* String */),
820
+ generateParamConfigMetadata('sourceDmoDeveloperName', false, 2 /* Body */, 0 /* String */),
813
821
  ];
814
822
  const createIdpConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, createIdpConfiguration_ConfigPropertyMetadata);
815
823
  const createResourceParams$6 = /*#__PURE__*/ createResourceParams$8(createIdpConfiguration_ConfigPropertyMetadata);
@@ -1158,6 +1166,7 @@ const updateIdpConfiguration_ConfigPropertyMetadata = [
1158
1166
  generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
1159
1167
  generateParamConfigMetadata('mlModel', false, 2 /* Body */, 0 /* String */),
1160
1168
  generateParamConfigMetadata('schemaConfig', false, 2 /* Body */, 0 /* String */),
1169
+ generateParamConfigMetadata('sourceDmoDeveloperName', false, 2 /* Body */, 0 /* String */),
1161
1170
  ];
1162
1171
  const updateIdpConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, updateIdpConfiguration_ConfigPropertyMetadata);
1163
1172
  const createResourceParams$3 = /*#__PURE__*/ createResourceParams$8(updateIdpConfiguration_ConfigPropertyMetadata);
@@ -18,6 +18,7 @@ export interface CreateIdpConfigurationConfig {
18
18
  builderType: string;
19
19
  };
20
20
  schemaConfig: string;
21
+ sourceDmoDeveloperName?: string;
21
22
  }
22
23
  export declare const createResourceParams: (config: CreateIdpConfigurationConfig) => resources_postSsotDocumentProcessingConfigurations_ResourceRequestConfig;
23
24
  export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateIdpConfigurationConfig>): adapter$45$utils_Untrusted<CreateIdpConfigurationConfig>;
@@ -12,6 +12,7 @@ export interface UpdateIdpConfigurationConfig {
12
12
  label?: string;
13
13
  mlModel?: string;
14
14
  schemaConfig?: string;
15
+ sourceDmoDeveloperName?: string;
15
16
  }
16
17
  export declare const createResourceParams: (config: UpdateIdpConfigurationConfig) => resources_patchSsotDocumentProcessingConfigurationsByIdOrApiName_ResourceRequestConfig;
17
18
  export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdateIdpConfigurationConfig>): adapter$45$utils_Untrusted<UpdateIdpConfigurationConfig>;
@@ -10,6 +10,7 @@ export interface ResourceRequestConfig {
10
10
  label?: string;
11
11
  mlModel?: string;
12
12
  schemaConfig?: string;
13
+ sourceDmoDeveloperName?: string;
13
14
  };
14
15
  }
15
16
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
@@ -14,6 +14,7 @@ export interface ResourceRequestConfig {
14
14
  builderType: string;
15
15
  };
16
16
  schemaConfig: string;
17
+ sourceDmoDeveloperName?: string;
17
18
  };
18
19
  }
19
20
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
@@ -1,6 +1,6 @@
1
1
  import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
2
  export declare const TTL = 500;
3
- export declare const VERSION = "8bf201cc7509ac5c7e3db70eba261ab8";
3
+ export declare const VERSION = "4b5414187ebae827b35dc24fd40ef3b8";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
5
5
  export declare const RepresentationType: string;
6
6
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -46,6 +46,8 @@ export interface IdpConfigurationDetailsRepresentationNormalized {
46
46
  runtimeStatus: string | null;
47
47
  /** The schema of the data to be extracted */
48
48
  schemaConfig: string;
49
+ /** The API name of the unstructured DMO used as input to the data extraction process */
50
+ sourceDmoDeveloperName?: string;
49
51
  }
50
52
  /**
51
53
  * Idp Configuration Details Representation
@@ -65,4 +67,5 @@ export interface IdpConfigurationDetailsRepresentation {
65
67
  name: string;
66
68
  runtimeStatus: string | null;
67
69
  schemaConfig: string;
70
+ sourceDmoDeveloperName?: string;
68
71
  }
@@ -1,6 +1,6 @@
1
1
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
2
  export declare const TTL = 500;
3
- export declare const VERSION = "0fea29f364be93018445c1bf179d4d70";
3
+ export declare const VERSION = "5397542fad9a6e113bfe485ac5498613";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
5
5
  export declare const RepresentationType: string;
6
6
  export declare function normalize(input: IdpConfigurationInputRepresentation, existing: IdpConfigurationInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): IdpConfigurationInputRepresentationNormalized;
@@ -37,6 +37,8 @@ export interface IdpConfigurationInputRepresentationNormalized {
37
37
  name: string;
38
38
  /** The schema of the data to be extracted */
39
39
  schemaConfig: string;
40
+ /** The API name of the unstructured DMO used as input to the data extraction process */
41
+ sourceDmoDeveloperName?: string;
40
42
  }
41
43
  /**
42
44
  * The input representation for Idp Configuration
@@ -57,4 +59,5 @@ export interface IdpConfigurationInputRepresentation {
57
59
  mlModel: string;
58
60
  name: string;
59
61
  schemaConfig: string;
62
+ sourceDmoDeveloperName?: string;
60
63
  }
@@ -1,6 +1,6 @@
1
1
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
2
  export declare const TTL = 500;
3
- export declare const VERSION = "e845a44d5bb63698f56ef4781a365527";
3
+ export declare const VERSION = "c029b59becc3d8d0630be0f6d9971840";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
5
5
  export declare const RepresentationType: string;
6
6
  export declare function normalize(input: IdpConfigurationPatchInputRepresentation, existing: IdpConfigurationPatchInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): IdpConfigurationPatchInputRepresentationNormalized;
@@ -25,6 +25,8 @@ export interface IdpConfigurationPatchInputRepresentationNormalized {
25
25
  mlModel?: string;
26
26
  /** The schema of the data to be extracted */
27
27
  schemaConfig?: string;
28
+ /** The API name of the unstructured DMO used as input to the data extraction process */
29
+ sourceDmoDeveloperName?: string;
28
30
  }
29
31
  /**
30
32
  * The update input representation for Idp Configuration
@@ -38,4 +40,5 @@ export interface IdpConfigurationPatchInputRepresentation {
38
40
  label?: string;
39
41
  mlModel?: string;
40
42
  schemaConfig?: string;
43
+ sourceDmoDeveloperName?: string;
41
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-cdp-document-processing",
3
- "version": "1.419.0",
3
+ "version": "1.421.0",
4
4
  "description": "",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/cdp-document-processing.js",
@@ -42,10 +42,10 @@
42
42
  "test:unit:debug": "node --inspect-brk ../../node_modules/.bin/jest --runInBand"
43
43
  },
44
44
  "dependencies": {
45
- "@salesforce/lds-bindings": "^1.419.0"
45
+ "@salesforce/lds-bindings": "^1.421.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@salesforce/lds-compiler-plugins": "^1.419.0"
48
+ "@salesforce/lds-compiler-plugins": "^1.421.0"
49
49
  },
50
50
  "nx": {
51
51
  "targets": {
package/sfdc/index.js CHANGED
@@ -103,7 +103,7 @@ function createLink(ref) {
103
103
  }
104
104
 
105
105
  const TTL$5 = 500;
106
- const VERSION$5 = "8bf201cc7509ac5c7e3db70eba261ab8";
106
+ const VERSION$5 = "4b5414187ebae827b35dc24fd40ef3b8";
107
107
  function validate$c(obj, path = 'IdpConfigurationDetailsRepresentation') {
108
108
  const v_error = (() => {
109
109
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -206,6 +206,13 @@ function validate$c(obj, path = 'IdpConfigurationDetailsRepresentation') {
206
206
  if (typeof obj_schemaConfig !== 'string') {
207
207
  return new TypeError('Expected "string" but received "' + typeof obj_schemaConfig + '" (at "' + path_schemaConfig + '")');
208
208
  }
209
+ if (obj.sourceDmoDeveloperName !== undefined) {
210
+ const obj_sourceDmoDeveloperName = obj.sourceDmoDeveloperName;
211
+ const path_sourceDmoDeveloperName = path + '.sourceDmoDeveloperName';
212
+ if (typeof obj_sourceDmoDeveloperName !== 'string') {
213
+ return new TypeError('Expected "string" but received "' + typeof obj_sourceDmoDeveloperName + '" (at "' + path_sourceDmoDeveloperName + '")');
214
+ }
215
+ }
209
216
  })();
210
217
  return v_error === undefined ? null : v_error;
211
218
  }
@@ -305,6 +312,7 @@ const createIdpConfiguration_ConfigPropertyMetadata = [
305
312
  generateParamConfigMetadata('name', true, 2 /* Body */, 0 /* String */),
306
313
  generateParamConfigMetadata('configMetadata', true, 2 /* Body */, 4 /* Unsupported */),
307
314
  generateParamConfigMetadata('schemaConfig', true, 2 /* Body */, 0 /* String */),
315
+ generateParamConfigMetadata('sourceDmoDeveloperName', false, 2 /* Body */, 0 /* String */),
308
316
  ];
309
317
  const createIdpConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, createIdpConfiguration_ConfigPropertyMetadata);
310
318
  const createResourceParams$7 = /*#__PURE__*/ createResourceParams$8(createIdpConfiguration_ConfigPropertyMetadata);
@@ -2052,6 +2060,7 @@ const updateIdpConfiguration_ConfigPropertyMetadata = [
2052
2060
  generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
2053
2061
  generateParamConfigMetadata('mlModel', false, 2 /* Body */, 0 /* String */),
2054
2062
  generateParamConfigMetadata('schemaConfig', false, 2 /* Body */, 0 /* String */),
2063
+ generateParamConfigMetadata('sourceDmoDeveloperName', false, 2 /* Body */, 0 /* String */),
2055
2064
  ];
2056
2065
  const updateIdpConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, updateIdpConfiguration_ConfigPropertyMetadata);
2057
2066
  const createResourceParams = /*#__PURE__*/ createResourceParams$8(updateIdpConfiguration_ConfigPropertyMetadata);
@@ -2184,4 +2193,4 @@ withDefaultLuvio((luvio) => {
2184
2193
  });
2185
2194
 
2186
2195
  export { createIdpConfiguration, deleteIdpConfiguration, extractDataUsingIdpConfiguration, extractDataUsingIdpConfiguration_imperative, generateIdpConfigurationSchema, getIdpConfiguration, getIdpConfigurationNotifyChange, getIdpConfiguration_imperative, getIdpConfigurations, getIdpConfigurations_imperative, getIdpGlobalConfig, getIdpGlobalConfig_imperative, updateIdpConfiguration };
2187
- // version: 1.419.0-8232dcd0ab
2196
+ // version: 1.421.0-45320a2742
package/src/raml/api.raml CHANGED
@@ -133,6 +133,10 @@ types:
133
133
  description: Idp Configuration Details Representation
134
134
  type: object
135
135
  properties:
136
+ sourceDmoDeveloperName:
137
+ description: The API name of the unstructured DMO used as input to the data extraction process
138
+ type: string
139
+ required: false
136
140
  schemaConfig:
137
141
  description: The schema of the data to be extracted
138
142
  type: string
@@ -209,6 +213,10 @@ types:
209
213
  schemaConfig:
210
214
  description: The schema of the data to be extracted
211
215
  type: string
216
+ sourceDmoDeveloperName:
217
+ description: The API name of the unstructured DMO used as input to the data extraction process
218
+ type: string
219
+ required: false
212
220
  IdpConfigurationPatchInputRepresentation:
213
221
  description: The update input representation for Idp Configuration
214
222
  type: object
@@ -237,6 +245,10 @@ types:
237
245
  description: The schema of the data to be extracted
238
246
  type: string
239
247
  required: false
248
+ sourceDmoDeveloperName:
249
+ description: The API name of the unstructured DMO used as input to the data extraction process
250
+ type: string
251
+ required: false
240
252
  IdpConfigurationRepresentation:
241
253
  description: Idp Configuration Representation
242
254
  type: IdpConfigurationBaseRepresentation