@salesforce/lds-adapters-cdp-document-processing 1.420.0 → 1.421.1

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 = "ebd36487f80835fe72a1426120808b99";
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,10 +711,12 @@ 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
- const obj_sourceDmoDeveloperName = obj.sourceDmoDeveloperName;
715
- const path_sourceDmoDeveloperName = path + '.sourceDmoDeveloperName';
716
- if (typeof obj_sourceDmoDeveloperName !== 'string') {
717
- return new TypeError('Expected "string" but received "' + typeof obj_sourceDmoDeveloperName + '" (at "' + path_sourceDmoDeveloperName + '")');
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
+ }
718
720
  }
719
721
  })();
720
722
  return v_error === undefined ? null : v_error;
@@ -815,7 +817,7 @@ const createIdpConfiguration_ConfigPropertyMetadata = [
815
817
  generateParamConfigMetadata('name', true, 2 /* Body */, 0 /* String */),
816
818
  generateParamConfigMetadata('configMetadata', true, 2 /* Body */, 4 /* Unsupported */),
817
819
  generateParamConfigMetadata('schemaConfig', true, 2 /* Body */, 0 /* String */),
818
- generateParamConfigMetadata('sourceDmoDeveloperName', true, 2 /* Body */, 0 /* String */),
820
+ generateParamConfigMetadata('sourceDmoDeveloperName', false, 2 /* Body */, 0 /* String */),
819
821
  ];
820
822
  const createIdpConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, createIdpConfiguration_ConfigPropertyMetadata);
821
823
  const createResourceParams$6 = /*#__PURE__*/ createResourceParams$8(createIdpConfiguration_ConfigPropertyMetadata);
@@ -1164,7 +1166,7 @@ const updateIdpConfiguration_ConfigPropertyMetadata = [
1164
1166
  generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
1165
1167
  generateParamConfigMetadata('mlModel', false, 2 /* Body */, 0 /* String */),
1166
1168
  generateParamConfigMetadata('schemaConfig', false, 2 /* Body */, 0 /* String */),
1167
- generateParamConfigMetadata('sourceDmoDeveloperName', true, 2 /* Body */, 0 /* String */),
1169
+ generateParamConfigMetadata('sourceDmoDeveloperName', false, 2 /* Body */, 0 /* String */),
1168
1170
  ];
1169
1171
  const updateIdpConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, updateIdpConfiguration_ConfigPropertyMetadata);
1170
1172
  const createResourceParams$3 = /*#__PURE__*/ createResourceParams$8(updateIdpConfiguration_ConfigPropertyMetadata);
@@ -18,7 +18,7 @@ export interface CreateIdpConfigurationConfig {
18
18
  builderType: string;
19
19
  };
20
20
  schemaConfig: string;
21
- sourceDmoDeveloperName: string;
21
+ sourceDmoDeveloperName?: string;
22
22
  }
23
23
  export declare const createResourceParams: (config: CreateIdpConfigurationConfig) => resources_postSsotDocumentProcessingConfigurations_ResourceRequestConfig;
24
24
  export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateIdpConfigurationConfig>): adapter$45$utils_Untrusted<CreateIdpConfigurationConfig>;
@@ -12,7 +12,7 @@ export interface UpdateIdpConfigurationConfig {
12
12
  label?: string;
13
13
  mlModel?: string;
14
14
  schemaConfig?: string;
15
- sourceDmoDeveloperName: string;
15
+ sourceDmoDeveloperName?: string;
16
16
  }
17
17
  export declare const createResourceParams: (config: UpdateIdpConfigurationConfig) => resources_patchSsotDocumentProcessingConfigurationsByIdOrApiName_ResourceRequestConfig;
18
18
  export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdateIdpConfigurationConfig>): adapter$45$utils_Untrusted<UpdateIdpConfigurationConfig>;
@@ -10,7 +10,7 @@ export interface ResourceRequestConfig {
10
10
  label?: string;
11
11
  mlModel?: string;
12
12
  schemaConfig?: string;
13
- sourceDmoDeveloperName: string;
13
+ sourceDmoDeveloperName?: string;
14
14
  };
15
15
  }
16
16
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
@@ -14,7 +14,7 @@ export interface ResourceRequestConfig {
14
14
  builderType: string;
15
15
  };
16
16
  schemaConfig: string;
17
- sourceDmoDeveloperName: string;
17
+ sourceDmoDeveloperName?: string;
18
18
  };
19
19
  }
20
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 = "ebd36487f80835fe72a1426120808b99";
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 {
@@ -47,7 +47,7 @@ export interface IdpConfigurationDetailsRepresentationNormalized {
47
47
  /** The schema of the data to be extracted */
48
48
  schemaConfig: string;
49
49
  /** The API name of the unstructured DMO used as input to the data extraction process */
50
- sourceDmoDeveloperName: string;
50
+ sourceDmoDeveloperName?: string;
51
51
  }
52
52
  /**
53
53
  * Idp Configuration Details Representation
@@ -67,5 +67,5 @@ export interface IdpConfigurationDetailsRepresentation {
67
67
  name: string;
68
68
  runtimeStatus: string | null;
69
69
  schemaConfig: string;
70
- sourceDmoDeveloperName: string;
70
+ sourceDmoDeveloperName?: string;
71
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 = "84a86aa6549fd085b5563252ef155956";
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;
@@ -38,7 +38,7 @@ export interface IdpConfigurationInputRepresentationNormalized {
38
38
  /** The schema of the data to be extracted */
39
39
  schemaConfig: string;
40
40
  /** The API name of the unstructured DMO used as input to the data extraction process */
41
- sourceDmoDeveloperName: string;
41
+ sourceDmoDeveloperName?: string;
42
42
  }
43
43
  /**
44
44
  * The input representation for Idp Configuration
@@ -59,5 +59,5 @@ export interface IdpConfigurationInputRepresentation {
59
59
  mlModel: string;
60
60
  name: string;
61
61
  schemaConfig: string;
62
- sourceDmoDeveloperName: string;
62
+ sourceDmoDeveloperName?: string;
63
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 = "f965d15328e7f841b0d39c57d25d251d";
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;
@@ -26,7 +26,7 @@ export interface IdpConfigurationPatchInputRepresentationNormalized {
26
26
  /** The schema of the data to be extracted */
27
27
  schemaConfig?: string;
28
28
  /** The API name of the unstructured DMO used as input to the data extraction process */
29
- sourceDmoDeveloperName: string;
29
+ sourceDmoDeveloperName?: string;
30
30
  }
31
31
  /**
32
32
  * The update input representation for Idp Configuration
@@ -40,5 +40,5 @@ export interface IdpConfigurationPatchInputRepresentation {
40
40
  label?: string;
41
41
  mlModel?: string;
42
42
  schemaConfig?: string;
43
- sourceDmoDeveloperName: string;
43
+ sourceDmoDeveloperName?: string;
44
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-cdp-document-processing",
3
- "version": "1.420.0",
3
+ "version": "1.421.1",
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.420.0"
45
+ "@salesforce/lds-bindings": "^1.421.1"
46
46
  },
47
47
  "devDependencies": {
48
- "@salesforce/lds-compiler-plugins": "^1.420.0"
48
+ "@salesforce/lds-compiler-plugins": "^1.421.1"
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 = "ebd36487f80835fe72a1426120808b99";
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,10 +206,12 @@ 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
- const obj_sourceDmoDeveloperName = obj.sourceDmoDeveloperName;
210
- const path_sourceDmoDeveloperName = path + '.sourceDmoDeveloperName';
211
- if (typeof obj_sourceDmoDeveloperName !== 'string') {
212
- return new TypeError('Expected "string" but received "' + typeof obj_sourceDmoDeveloperName + '" (at "' + path_sourceDmoDeveloperName + '")');
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
+ }
213
215
  }
214
216
  })();
215
217
  return v_error === undefined ? null : v_error;
@@ -310,7 +312,7 @@ const createIdpConfiguration_ConfigPropertyMetadata = [
310
312
  generateParamConfigMetadata('name', true, 2 /* Body */, 0 /* String */),
311
313
  generateParamConfigMetadata('configMetadata', true, 2 /* Body */, 4 /* Unsupported */),
312
314
  generateParamConfigMetadata('schemaConfig', true, 2 /* Body */, 0 /* String */),
313
- generateParamConfigMetadata('sourceDmoDeveloperName', true, 2 /* Body */, 0 /* String */),
315
+ generateParamConfigMetadata('sourceDmoDeveloperName', false, 2 /* Body */, 0 /* String */),
314
316
  ];
315
317
  const createIdpConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, createIdpConfiguration_ConfigPropertyMetadata);
316
318
  const createResourceParams$7 = /*#__PURE__*/ createResourceParams$8(createIdpConfiguration_ConfigPropertyMetadata);
@@ -2058,7 +2060,7 @@ const updateIdpConfiguration_ConfigPropertyMetadata = [
2058
2060
  generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
2059
2061
  generateParamConfigMetadata('mlModel', false, 2 /* Body */, 0 /* String */),
2060
2062
  generateParamConfigMetadata('schemaConfig', false, 2 /* Body */, 0 /* String */),
2061
- generateParamConfigMetadata('sourceDmoDeveloperName', true, 2 /* Body */, 0 /* String */),
2063
+ generateParamConfigMetadata('sourceDmoDeveloperName', false, 2 /* Body */, 0 /* String */),
2062
2064
  ];
2063
2065
  const updateIdpConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, updateIdpConfiguration_ConfigPropertyMetadata);
2064
2066
  const createResourceParams = /*#__PURE__*/ createResourceParams$8(updateIdpConfiguration_ConfigPropertyMetadata);
@@ -2191,4 +2193,4 @@ withDefaultLuvio((luvio) => {
2191
2193
  });
2192
2194
 
2193
2195
  export { createIdpConfiguration, deleteIdpConfiguration, extractDataUsingIdpConfiguration, extractDataUsingIdpConfiguration_imperative, generateIdpConfigurationSchema, getIdpConfiguration, getIdpConfigurationNotifyChange, getIdpConfiguration_imperative, getIdpConfigurations, getIdpConfigurations_imperative, getIdpGlobalConfig, getIdpGlobalConfig_imperative, updateIdpConfiguration };
2194
- // version: 1.420.0-576a1ea316
2196
+ // version: 1.421.1-00b4791b5e
package/src/raml/api.raml CHANGED
@@ -136,6 +136,7 @@ types:
136
136
  sourceDmoDeveloperName:
137
137
  description: The API name of the unstructured DMO used as input to the data extraction process
138
138
  type: string
139
+ required: false
139
140
  schemaConfig:
140
141
  description: The schema of the data to be extracted
141
142
  type: string
@@ -215,6 +216,7 @@ types:
215
216
  sourceDmoDeveloperName:
216
217
  description: The API name of the unstructured DMO used as input to the data extraction process
217
218
  type: string
219
+ required: false
218
220
  IdpConfigurationPatchInputRepresentation:
219
221
  description: The update input representation for Idp Configuration
220
222
  type: object
@@ -246,6 +248,7 @@ types:
246
248
  sourceDmoDeveloperName:
247
249
  description: The API name of the unstructured DMO used as input to the data extraction process
248
250
  type: string
251
+ required: false
249
252
  IdpConfigurationRepresentation:
250
253
  description: Idp Configuration Representation
251
254
  type: IdpConfigurationBaseRepresentation