@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.
Files changed (19) hide show
  1. package/dist/es/es2018/cdp-document-processing.js +645 -267
  2. package/dist/es/es2018/types/src/generated/adapters/createIdpConfiguration.d.ts +3 -0
  3. package/dist/es/es2018/types/src/generated/adapters/generateIdpConfigurationSchema.d.ts +17 -0
  4. package/dist/es/es2018/types/src/generated/adapters/updateIdpConfiguration.d.ts +18 -0
  5. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
  6. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
  7. package/dist/es/es2018/types/src/generated/resources/patchSsotDocumentProcessingConfigurationsByIdOrApiName.d.ts +17 -0
  8. package/dist/es/es2018/types/src/generated/resources/postSsotDocumentProcessingActionsGenerateSchema.d.ts +14 -0
  9. package/dist/es/es2018/types/src/generated/resources/postSsotDocumentProcessingConfigurations.d.ts +3 -0
  10. package/dist/es/es2018/types/src/generated/types/IdpConfigurationDetailsRepresentation.d.ts +36 -9
  11. package/dist/es/es2018/types/src/generated/types/IdpConfigurationInputRepresentation.d.ts +9 -1
  12. package/dist/es/es2018/types/src/generated/types/IdpConfigurationPatchInputRepresentation.d.ts +35 -0
  13. package/dist/es/es2018/types/src/generated/types/IdpGenerateSchemaFileInputRepresentation.d.ts +28 -0
  14. package/dist/es/es2018/types/src/generated/types/IdpGenerateSchemaInputRepresentation.d.ts +33 -0
  15. package/dist/es/es2018/types/src/generated/types/IdpGeneratedSchemaRepresentation.d.ts +41 -0
  16. package/package.json +3 -3
  17. package/sfdc/index.js +697 -313
  18. package/src/raml/api.raml +109 -2
  19. package/src/raml/luvio.raml +29 -3
package/sfdc/index.js CHANGED
@@ -14,7 +14,7 @@
14
14
  /* proxy-compat-disable */
15
15
  import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createImperativeAdapter } from 'force/ldsBindings';
16
16
  import { withDefaultLuvio } from 'force/ldsEngine';
17
- import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$6, typeCheckConfig as typeCheckConfig$6, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$4 } from 'force/luvioEngine';
17
+ import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$8, typeCheckConfig as typeCheckConfig$8, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$4 } from 'force/luvioEngine';
18
18
 
19
19
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
20
20
  const { keys: ObjectKeys, create: ObjectCreate } = Object;
@@ -102,125 +102,175 @@ function createLink(ref) {
102
102
  };
103
103
  }
104
104
 
105
- const TTL$4 = 500;
106
- const VERSION$4 = "673ad526d1c602ea355962b1db5ce9d8";
107
- function validate$a(obj, path = 'IdpConfigurationDetailsRepresentation') {
105
+ const TTL$5 = 500;
106
+ const VERSION$5 = "8bf201cc7509ac5c7e3db70eba261ab8";
107
+ function validate$c(obj, path = 'IdpConfigurationDetailsRepresentation') {
108
108
  const v_error = (() => {
109
109
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
110
110
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
111
111
  }
112
+ const obj_createdBy = obj.createdBy;
113
+ const path_createdBy = path + '.createdBy';
114
+ if (obj_createdBy === undefined) {
115
+ return new TypeError('Expected "defined" but received "' + typeof obj_createdBy + '" (at "' + path_createdBy + '")');
116
+ }
117
+ const obj_createdDate = obj.createdDate;
118
+ const path_createdDate = path + '.createdDate';
119
+ if (typeof obj_createdDate !== 'string') {
120
+ return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
121
+ }
122
+ const obj_description = obj.description;
123
+ const path_description = path + '.description';
124
+ if (obj_description === undefined) {
125
+ return new TypeError('Expected "defined" but received "' + typeof obj_description + '" (at "' + path_description + '")');
126
+ }
127
+ const obj_id = obj.id;
128
+ const path_id = path + '.id';
129
+ if (typeof obj_id !== 'string') {
130
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
131
+ }
132
+ const obj_label = obj.label;
133
+ const path_label = path + '.label';
134
+ if (typeof obj_label !== 'string') {
135
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
136
+ }
137
+ const obj_lastModifiedBy = obj.lastModifiedBy;
138
+ const path_lastModifiedBy = path + '.lastModifiedBy';
139
+ if (obj_lastModifiedBy === undefined) {
140
+ return new TypeError('Expected "defined" but received "' + typeof obj_lastModifiedBy + '" (at "' + path_lastModifiedBy + '")');
141
+ }
142
+ const obj_lastModifiedDate = obj.lastModifiedDate;
143
+ const path_lastModifiedDate = path + '.lastModifiedDate';
144
+ if (typeof obj_lastModifiedDate !== 'string') {
145
+ return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
146
+ }
147
+ const obj_mlModel = obj.mlModel;
148
+ const path_mlModel = path + '.mlModel';
149
+ let obj_mlModel_union0 = null;
150
+ const obj_mlModel_union0_error = (() => {
151
+ if (typeof obj_mlModel !== 'string') {
152
+ return new TypeError('Expected "string" but received "' + typeof obj_mlModel + '" (at "' + path_mlModel + '")');
153
+ }
154
+ })();
155
+ if (obj_mlModel_union0_error != null) {
156
+ obj_mlModel_union0 = obj_mlModel_union0_error.message;
157
+ }
158
+ let obj_mlModel_union1 = null;
159
+ const obj_mlModel_union1_error = (() => {
160
+ if (obj_mlModel !== null) {
161
+ return new TypeError('Expected "null" but received "' + typeof obj_mlModel + '" (at "' + path_mlModel + '")');
162
+ }
163
+ })();
164
+ if (obj_mlModel_union1_error != null) {
165
+ obj_mlModel_union1 = obj_mlModel_union1_error.message;
166
+ }
167
+ if (obj_mlModel_union0 && obj_mlModel_union1) {
168
+ let message = 'Object doesn\'t match union (at "' + path_mlModel + '")';
169
+ message += '\n' + obj_mlModel_union0.split('\n').map((line) => '\t' + line).join('\n');
170
+ message += '\n' + obj_mlModel_union1.split('\n').map((line) => '\t' + line).join('\n');
171
+ return new TypeError(message);
172
+ }
112
173
  const obj_name = obj.name;
113
174
  const path_name = path + '.name';
114
175
  if (typeof obj_name !== 'string') {
115
176
  return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
116
177
  }
117
- const obj_schemaConfig = obj.schemaConfig;
118
- const path_schemaConfig = path + '.schemaConfig';
119
- let obj_schemaConfig_union0 = null;
120
- const obj_schemaConfig_union0_error = (() => {
121
- if (typeof obj_schemaConfig !== 'string') {
122
- return new TypeError('Expected "string" but received "' + typeof obj_schemaConfig + '" (at "' + path_schemaConfig + '")');
178
+ const obj_runtimeStatus = obj.runtimeStatus;
179
+ const path_runtimeStatus = path + '.runtimeStatus';
180
+ let obj_runtimeStatus_union0 = null;
181
+ const obj_runtimeStatus_union0_error = (() => {
182
+ if (typeof obj_runtimeStatus !== 'string') {
183
+ return new TypeError('Expected "string" but received "' + typeof obj_runtimeStatus + '" (at "' + path_runtimeStatus + '")');
123
184
  }
124
185
  })();
125
- if (obj_schemaConfig_union0_error != null) {
126
- obj_schemaConfig_union0 = obj_schemaConfig_union0_error.message;
186
+ if (obj_runtimeStatus_union0_error != null) {
187
+ obj_runtimeStatus_union0 = obj_runtimeStatus_union0_error.message;
127
188
  }
128
- let obj_schemaConfig_union1 = null;
129
- const obj_schemaConfig_union1_error = (() => {
130
- if (obj_schemaConfig !== null) {
131
- return new TypeError('Expected "null" but received "' + typeof obj_schemaConfig + '" (at "' + path_schemaConfig + '")');
189
+ let obj_runtimeStatus_union1 = null;
190
+ const obj_runtimeStatus_union1_error = (() => {
191
+ if (obj_runtimeStatus !== null) {
192
+ return new TypeError('Expected "null" but received "' + typeof obj_runtimeStatus + '" (at "' + path_runtimeStatus + '")');
132
193
  }
133
194
  })();
134
- if (obj_schemaConfig_union1_error != null) {
135
- obj_schemaConfig_union1 = obj_schemaConfig_union1_error.message;
195
+ if (obj_runtimeStatus_union1_error != null) {
196
+ obj_runtimeStatus_union1 = obj_runtimeStatus_union1_error.message;
136
197
  }
137
- if (obj_schemaConfig_union0 && obj_schemaConfig_union1) {
138
- let message = 'Object doesn\'t match union (at "' + path_schemaConfig + '")';
139
- message += '\n' + obj_schemaConfig_union0.split('\n').map((line) => '\t' + line).join('\n');
140
- message += '\n' + obj_schemaConfig_union1.split('\n').map((line) => '\t' + line).join('\n');
198
+ if (obj_runtimeStatus_union0 && obj_runtimeStatus_union1) {
199
+ let message = 'Object doesn\'t match union (at "' + path_runtimeStatus + '")';
200
+ message += '\n' + obj_runtimeStatus_union0.split('\n').map((line) => '\t' + line).join('\n');
201
+ message += '\n' + obj_runtimeStatus_union1.split('\n').map((line) => '\t' + line).join('\n');
141
202
  return new TypeError(message);
142
203
  }
204
+ const obj_schemaConfig = obj.schemaConfig;
205
+ const path_schemaConfig = path + '.schemaConfig';
206
+ if (typeof obj_schemaConfig !== 'string') {
207
+ return new TypeError('Expected "string" but received "' + typeof obj_schemaConfig + '" (at "' + path_schemaConfig + '")');
208
+ }
143
209
  })();
144
210
  return v_error === undefined ? null : v_error;
145
211
  }
146
- const RepresentationType$4 = 'IdpConfigurationDetailsRepresentation';
147
- function keyBuilder$9(luvio, config) {
148
- return keyPrefix + '::' + RepresentationType$4 + ':' + config.name;
212
+ const RepresentationType$5 = 'IdpConfigurationDetailsRepresentation';
213
+ function keyBuilder$a(luvio, config) {
214
+ return keyPrefix + '::' + RepresentationType$5 + ':' + config.id;
149
215
  }
150
- function keyBuilderFromType(luvio, object) {
216
+ function keyBuilderFromType$1(luvio, object) {
151
217
  const keyParams = {
152
- name: object.name
218
+ id: object.id
153
219
  };
154
- return keyBuilder$9(luvio, keyParams);
220
+ return keyBuilder$a(luvio, keyParams);
155
221
  }
156
- function normalize$4(input, existing, path, luvio, store, timestamp) {
222
+ function normalize$5(input, existing, path, luvio, store, timestamp) {
157
223
  return input;
158
224
  }
159
- const select$9 = function IdpConfigurationDetailsRepresentationSelect() {
225
+ const select$c = function IdpConfigurationDetailsRepresentationSelect() {
160
226
  return {
161
227
  kind: 'Fragment',
162
- version: VERSION$4,
228
+ version: VERSION$5,
163
229
  private: [],
164
- selections: [
165
- {
166
- name: 'name',
167
- kind: 'Scalar'
168
- },
169
- {
170
- name: 'schemaConfig',
171
- kind: 'Scalar'
172
- }
173
- ]
230
+ opaque: true
174
231
  };
175
232
  };
176
- function equals$8(existing, incoming) {
177
- const existing_name = existing.name;
178
- const incoming_name = incoming.name;
179
- if (!(existing_name === incoming_name)) {
180
- return false;
181
- }
182
- const existing_schemaConfig = existing.schemaConfig;
183
- const incoming_schemaConfig = incoming.schemaConfig;
184
- if (!(existing_schemaConfig === incoming_schemaConfig)) {
233
+ function equals$9(existing, incoming) {
234
+ if (JSONStringify(incoming) !== JSONStringify(existing)) {
185
235
  return false;
186
236
  }
187
237
  return true;
188
238
  }
189
- const ingest$4 = function IdpConfigurationDetailsRepresentationIngest(input, path, luvio, store, timestamp) {
239
+ const ingest$5 = function IdpConfigurationDetailsRepresentationIngest(input, path, luvio, store, timestamp) {
190
240
  if (process.env.NODE_ENV !== 'production') {
191
- const validateError = validate$a(input);
241
+ const validateError = validate$c(input);
192
242
  if (validateError !== null) {
193
243
  throw validateError;
194
244
  }
195
245
  }
196
- const key = keyBuilderFromType(luvio, input);
197
- const ttlToUse = TTL$4;
198
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "document-processing", VERSION$4, RepresentationType$4, equals$8);
246
+ const key = keyBuilderFromType$1(luvio, input);
247
+ const ttlToUse = TTL$5;
248
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "document-processing", VERSION$5, RepresentationType$5, equals$9);
199
249
  return createLink(key);
200
250
  };
201
- function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
251
+ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
202
252
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
203
- const rootKey = keyBuilderFromType(luvio, input);
253
+ const rootKey = keyBuilderFromType$1(luvio, input);
204
254
  rootKeySet.set(rootKey, {
205
255
  namespace: keyPrefix,
206
- representationName: RepresentationType$4,
256
+ representationName: RepresentationType$5,
207
257
  mergeable: false
208
258
  });
209
259
  }
210
260
 
211
- function select$8(luvio, params) {
212
- return select$9();
261
+ function select$b(luvio, params) {
262
+ return select$c();
213
263
  }
214
- function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
215
- getTypeCacheKeys$4(storeKeyMap, luvio, response);
264
+ function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
265
+ getTypeCacheKeys$5(storeKeyMap, luvio, response);
216
266
  }
217
- function ingestSuccess$4(luvio, resourceParams, response) {
267
+ function ingestSuccess$6(luvio, resourceParams, response) {
218
268
  const { body } = response;
219
- const key = keyBuilderFromType(luvio, body);
220
- luvio.storeIngest(key, ingest$4, body);
269
+ const key = keyBuilderFromType$1(luvio, body);
270
+ luvio.storeIngest(key, ingest$5, body);
221
271
  const snapshot = luvio.storeLookup({
222
272
  recordId: key,
223
- node: select$8(),
273
+ node: select$b(),
224
274
  variables: {},
225
275
  });
226
276
  if (process.env.NODE_ENV !== 'production') {
@@ -231,7 +281,7 @@ function ingestSuccess$4(luvio, resourceParams, response) {
231
281
  deepFreeze(snapshot.data);
232
282
  return snapshot;
233
283
  }
234
- function createResourceRequest$5(config) {
284
+ function createResourceRequest$7(config) {
235
285
  const headers = {};
236
286
  return {
237
287
  baseUri: '/services/data/v64.0',
@@ -245,7 +295,7 @@ function createResourceRequest$5(config) {
245
295
  };
246
296
  }
247
297
 
248
- const adapterName$5 = 'createIdpConfiguration';
298
+ const adapterName$7 = 'createIdpConfiguration';
249
299
  const createIdpConfiguration_ConfigPropertyMetadata = [
250
300
  generateParamConfigMetadata('activationStatus', true, 2 /* Body */, 0 /* String */),
251
301
  generateParamConfigMetadata('description', true, 2 /* Body */, 0 /* String */),
@@ -253,13 +303,14 @@ const createIdpConfiguration_ConfigPropertyMetadata = [
253
303
  generateParamConfigMetadata('label', true, 2 /* Body */, 0 /* String */),
254
304
  generateParamConfigMetadata('mlModel', true, 2 /* Body */, 0 /* String */),
255
305
  generateParamConfigMetadata('name', true, 2 /* Body */, 0 /* String */),
306
+ generateParamConfigMetadata('configMetadata', true, 2 /* Body */, 4 /* Unsupported */),
256
307
  generateParamConfigMetadata('schemaConfig', true, 2 /* Body */, 0 /* String */),
257
308
  ];
258
- const createIdpConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, createIdpConfiguration_ConfigPropertyMetadata);
259
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$6(createIdpConfiguration_ConfigPropertyMetadata);
260
- function typeCheckConfig$5(untrustedConfig) {
309
+ const createIdpConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, createIdpConfiguration_ConfigPropertyMetadata);
310
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$8(createIdpConfiguration_ConfigPropertyMetadata);
311
+ function typeCheckConfig$7(untrustedConfig) {
261
312
  const config = {};
262
- typeCheckConfig$6(untrustedConfig, config, createIdpConfiguration_ConfigPropertyMetadata);
313
+ typeCheckConfig$8(untrustedConfig, config, createIdpConfiguration_ConfigPropertyMetadata);
263
314
  const untrustedConfig_fileConfig = untrustedConfig.fileConfig;
264
315
  if (untrustedIsObject(untrustedConfig_fileConfig)) {
265
316
  const untrustedConfig_fileConfig_object = {};
@@ -278,32 +329,43 @@ function typeCheckConfig$5(untrustedConfig) {
278
329
  config.fileConfig = untrustedConfig_fileConfig_object;
279
330
  }
280
331
  }
332
+ const untrustedConfig_configMetadata = untrustedConfig.configMetadata;
333
+ if (untrustedIsObject(untrustedConfig_configMetadata)) {
334
+ const untrustedConfig_configMetadata_object = {};
335
+ const untrustedConfig_configMetadata_builderType = untrustedConfig_configMetadata.builderType;
336
+ if (typeof untrustedConfig_configMetadata_builderType === 'string') {
337
+ untrustedConfig_configMetadata_object.builderType = untrustedConfig_configMetadata_builderType;
338
+ }
339
+ if (untrustedConfig_configMetadata_object !== undefined && Object.keys(untrustedConfig_configMetadata_object).length >= 0) {
340
+ config.configMetadata = untrustedConfig_configMetadata_object;
341
+ }
342
+ }
281
343
  return config;
282
344
  }
283
- function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
345
+ function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
284
346
  if (!untrustedIsObject(untrustedConfig)) {
285
347
  return null;
286
348
  }
287
349
  if (process.env.NODE_ENV !== 'production') {
288
350
  validateConfig(untrustedConfig, configPropertyNames);
289
351
  }
290
- const config = typeCheckConfig$5(untrustedConfig);
352
+ const config = typeCheckConfig$7(untrustedConfig);
291
353
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
292
354
  return null;
293
355
  }
294
356
  return config;
295
357
  }
296
- function buildNetworkSnapshot$5(luvio, config, options) {
297
- const resourceParams = createResourceParams$5(config);
298
- const request = createResourceRequest$5(resourceParams);
358
+ function buildNetworkSnapshot$7(luvio, config, options) {
359
+ const resourceParams = createResourceParams$7(config);
360
+ const request = createResourceRequest$7(resourceParams);
299
361
  return luvio.dispatchResourceRequest(request, options)
300
362
  .then((response) => {
301
363
  return luvio.handleSuccessResponse(() => {
302
- const snapshot = ingestSuccess$4(luvio, resourceParams, response);
364
+ const snapshot = ingestSuccess$6(luvio, resourceParams, response);
303
365
  return luvio.storeBroadcast().then(() => snapshot);
304
366
  }, () => {
305
367
  const cache = new StoreKeyMap();
306
- getResponseCacheKeys$5(cache, luvio, resourceParams, response.body);
368
+ getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
307
369
  return cache;
308
370
  });
309
371
  }, (response) => {
@@ -313,33 +375,33 @@ function buildNetworkSnapshot$5(luvio, config, options) {
313
375
  }
314
376
  const createIdpConfigurationAdapterFactory = (luvio) => {
315
377
  return function createIdpConfiguration(untrustedConfig) {
316
- const config = validateAdapterConfig$5(untrustedConfig, createIdpConfiguration_ConfigPropertyNames);
378
+ const config = validateAdapterConfig$7(untrustedConfig, createIdpConfiguration_ConfigPropertyNames);
317
379
  // Invalid or incomplete config
318
380
  if (config === null) {
319
381
  throw new Error('Invalid config for "createIdpConfiguration"');
320
382
  }
321
- return buildNetworkSnapshot$5(luvio, config);
383
+ return buildNetworkSnapshot$7(luvio, config);
322
384
  };
323
385
  };
324
386
 
325
- function keyBuilder$8(luvio, params) {
326
- return keyBuilder$9(luvio, {
327
- name: params.urlParams.idOrApiName
387
+ function keyBuilder$9(luvio, params) {
388
+ return keyBuilder$a(luvio, {
389
+ id: params.urlParams.idOrApiName
328
390
  });
329
391
  }
330
- function getResponseCacheKeys$4(cacheKeyMap, luvio, resourceParams) {
331
- const key = keyBuilder$8(luvio, resourceParams);
392
+ function getResponseCacheKeys$6(cacheKeyMap, luvio, resourceParams) {
393
+ const key = keyBuilder$9(luvio, resourceParams);
332
394
  cacheKeyMap.set(key, {
333
395
  namespace: keyPrefix,
334
- representationName: RepresentationType$4,
396
+ representationName: RepresentationType$5,
335
397
  mergeable: false
336
398
  });
337
399
  }
338
400
  function evictSuccess(luvio, resourceParams) {
339
- const key = keyBuilder$8(luvio, resourceParams);
401
+ const key = keyBuilder$9(luvio, resourceParams);
340
402
  luvio.storeEvict(key);
341
403
  }
342
- function createResourceRequest$4(config) {
404
+ function createResourceRequest$6(config) {
343
405
  const headers = {};
344
406
  return {
345
407
  baseUri: '/services/data/v64.0',
@@ -353,33 +415,33 @@ function createResourceRequest$4(config) {
353
415
  };
354
416
  }
355
417
 
356
- const adapterName$4 = 'deleteIdpConfiguration';
418
+ const adapterName$6 = 'deleteIdpConfiguration';
357
419
  const deleteIdpConfiguration_ConfigPropertyMetadata = [
358
420
  generateParamConfigMetadata('idOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
359
421
  ];
360
- const deleteIdpConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, deleteIdpConfiguration_ConfigPropertyMetadata);
361
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$6(deleteIdpConfiguration_ConfigPropertyMetadata);
362
- function typeCheckConfig$4(untrustedConfig) {
422
+ const deleteIdpConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, deleteIdpConfiguration_ConfigPropertyMetadata);
423
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$8(deleteIdpConfiguration_ConfigPropertyMetadata);
424
+ function typeCheckConfig$6(untrustedConfig) {
363
425
  const config = {};
364
- typeCheckConfig$6(untrustedConfig, config, deleteIdpConfiguration_ConfigPropertyMetadata);
426
+ typeCheckConfig$8(untrustedConfig, config, deleteIdpConfiguration_ConfigPropertyMetadata);
365
427
  return config;
366
428
  }
367
- function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
429
+ function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
368
430
  if (!untrustedIsObject(untrustedConfig)) {
369
431
  return null;
370
432
  }
371
433
  if (process.env.NODE_ENV !== 'production') {
372
434
  validateConfig(untrustedConfig, configPropertyNames);
373
435
  }
374
- const config = typeCheckConfig$4(untrustedConfig);
436
+ const config = typeCheckConfig$6(untrustedConfig);
375
437
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
376
438
  return null;
377
439
  }
378
440
  return config;
379
441
  }
380
- function buildNetworkSnapshot$4(luvio, config, options) {
381
- const resourceParams = createResourceParams$4(config);
382
- const request = createResourceRequest$4(resourceParams);
442
+ function buildNetworkSnapshot$6(luvio, config, options) {
443
+ const resourceParams = createResourceParams$6(config);
444
+ const request = createResourceRequest$6(resourceParams);
383
445
  return luvio.dispatchResourceRequest(request, options)
384
446
  .then(() => {
385
447
  return luvio.handleSuccessResponse(() => {
@@ -387,7 +449,7 @@ function buildNetworkSnapshot$4(luvio, config, options) {
387
449
  return luvio.storeBroadcast();
388
450
  }, () => {
389
451
  const cache = new StoreKeyMap();
390
- getResponseCacheKeys$4(cache, luvio, resourceParams);
452
+ getResponseCacheKeys$6(cache, luvio, resourceParams);
391
453
  return cache;
392
454
  });
393
455
  }, (response) => {
@@ -397,17 +459,17 @@ function buildNetworkSnapshot$4(luvio, config, options) {
397
459
  }
398
460
  const deleteIdpConfigurationAdapterFactory = (luvio) => {
399
461
  return function documentProcessingdeleteIdpConfiguration(untrustedConfig) {
400
- const config = validateAdapterConfig$4(untrustedConfig, deleteIdpConfiguration_ConfigPropertyNames);
462
+ const config = validateAdapterConfig$6(untrustedConfig, deleteIdpConfiguration_ConfigPropertyNames);
401
463
  // Invalid or incomplete config
402
464
  if (config === null) {
403
- throw new Error(`Invalid config for "${adapterName$4}"`);
465
+ throw new Error(`Invalid config for "${adapterName$6}"`);
404
466
  }
405
- return buildNetworkSnapshot$4(luvio, config);
467
+ return buildNetworkSnapshot$6(luvio, config);
406
468
  };
407
469
  };
408
470
 
409
- const VERSION$3 = "fd5a71c6b42febaf6ada5e5a2c32c8f6";
410
- function validate$9(obj, path = 'IdpExtractedFileDataRepresenation') {
471
+ const VERSION$4 = "fd5a71c6b42febaf6ada5e5a2c32c8f6";
472
+ function validate$b(obj, path = 'IdpExtractedFileDataRepresenation') {
411
473
  const v_error = (() => {
412
474
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
413
475
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -446,49 +508,49 @@ function validate$9(obj, path = 'IdpExtractedFileDataRepresenation') {
446
508
  })();
447
509
  return v_error === undefined ? null : v_error;
448
510
  }
449
- const RepresentationType$3 = 'IdpExtractedFileDataRepresenation';
450
- function normalize$3(input, existing, path, luvio, store, timestamp) {
511
+ const RepresentationType$4 = 'IdpExtractedFileDataRepresenation';
512
+ function normalize$4(input, existing, path, luvio, store, timestamp) {
451
513
  return input;
452
514
  }
453
- const select$7 = function IdpExtractedFileDataRepresenationSelect() {
515
+ const select$a = function IdpExtractedFileDataRepresenationSelect() {
454
516
  return {
455
517
  kind: 'Fragment',
456
- version: VERSION$3,
518
+ version: VERSION$4,
457
519
  private: [],
458
520
  opaque: true
459
521
  };
460
522
  };
461
- function equals$7(existing, incoming) {
523
+ function equals$8(existing, incoming) {
462
524
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
463
525
  return false;
464
526
  }
465
527
  return true;
466
528
  }
467
- const ingest$3 = function IdpExtractedFileDataRepresenationIngest(input, path, luvio, store, timestamp) {
529
+ const ingest$4 = function IdpExtractedFileDataRepresenationIngest(input, path, luvio, store, timestamp) {
468
530
  if (process.env.NODE_ENV !== 'production') {
469
- const validateError = validate$9(input);
531
+ const validateError = validate$b(input);
470
532
  if (validateError !== null) {
471
533
  throw validateError;
472
534
  }
473
535
  }
474
536
  const key = path.fullPath;
475
537
  const ttlToUse = path.ttl;
476
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "document-processing", VERSION$3, RepresentationType$3, equals$7);
538
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "document-processing", VERSION$4, RepresentationType$4, equals$8);
477
539
  return createLink(key);
478
540
  };
479
- function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
541
+ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
480
542
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
481
543
  const rootKey = fullPathFactory();
482
544
  rootKeySet.set(rootKey, {
483
545
  namespace: keyPrefix,
484
- representationName: RepresentationType$3,
546
+ representationName: RepresentationType$4,
485
547
  mergeable: false
486
548
  });
487
549
  }
488
550
 
489
- const TTL$3 = 1200000;
490
- const VERSION$2 = "b84ee34ba86306d907f22040f581479c";
491
- function validate$8(obj, path = 'IdpExtractedDataRepresentation') {
551
+ const TTL$4 = 1200000;
552
+ const VERSION$3 = "b84ee34ba86306d907f22040f581479c";
553
+ function validate$a(obj, path = 'IdpExtractedDataRepresentation') {
492
554
  const v_error = (() => {
493
555
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
494
556
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -508,14 +570,14 @@ function validate$8(obj, path = 'IdpExtractedDataRepresentation') {
508
570
  })();
509
571
  return v_error === undefined ? null : v_error;
510
572
  }
511
- const RepresentationType$2 = 'IdpExtractedDataRepresentation';
512
- function normalize$2(input, existing, path, luvio, store, timestamp) {
573
+ const RepresentationType$3 = 'IdpExtractedDataRepresentation';
574
+ function normalize$3(input, existing, path, luvio, store, timestamp) {
513
575
  const input_data = input.data;
514
576
  const input_data_id = path.fullPath + '__data';
515
577
  for (let i = 0; i < input_data.length; i++) {
516
578
  const input_data_item = input_data[i];
517
579
  let input_data_item_id = input_data_id + '__' + i;
518
- input_data[i] = ingest$3(input_data_item, {
580
+ input_data[i] = ingest$4(input_data_item, {
519
581
  fullPath: input_data_item_id,
520
582
  propertyName: i,
521
583
  parent: {
@@ -528,22 +590,22 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
528
590
  }
529
591
  return input;
530
592
  }
531
- const select$6 = function IdpExtractedDataRepresentationSelect() {
593
+ const select$9 = function IdpExtractedDataRepresentationSelect() {
532
594
  return {
533
595
  kind: 'Fragment',
534
- version: VERSION$2,
596
+ version: VERSION$3,
535
597
  private: [],
536
598
  selections: [
537
599
  {
538
600
  name: 'data',
539
601
  kind: 'Link',
540
602
  plural: true,
541
- fragment: select$7()
603
+ fragment: select$a()
542
604
  }
543
605
  ]
544
606
  };
545
607
  };
546
- function equals$6(existing, incoming) {
608
+ function equals$7(existing, incoming) {
547
609
  const existing_data = existing.data;
548
610
  const incoming_data = incoming.data;
549
611
  const equals_data_items = equalsArray(existing_data, incoming_data, (existing_data_item, incoming_data_item) => {
@@ -556,48 +618,48 @@ function equals$6(existing, incoming) {
556
618
  }
557
619
  return true;
558
620
  }
559
- const ingest$2 = function IdpExtractedDataRepresentationIngest(input, path, luvio, store, timestamp) {
621
+ const ingest$3 = function IdpExtractedDataRepresentationIngest(input, path, luvio, store, timestamp) {
560
622
  if (process.env.NODE_ENV !== 'production') {
561
- const validateError = validate$8(input);
623
+ const validateError = validate$a(input);
562
624
  if (validateError !== null) {
563
625
  throw validateError;
564
626
  }
565
627
  }
566
628
  const key = path.fullPath;
567
- const ttlToUse = TTL$3;
568
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "document-processing", VERSION$2, RepresentationType$2, equals$6);
629
+ const ttlToUse = TTL$4;
630
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "document-processing", VERSION$3, RepresentationType$3, equals$7);
569
631
  return createLink(key);
570
632
  };
571
- function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
633
+ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
572
634
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
573
635
  const rootKey = fullPathFactory();
574
636
  rootKeySet.set(rootKey, {
575
637
  namespace: keyPrefix,
576
- representationName: RepresentationType$2,
638
+ representationName: RepresentationType$3,
577
639
  mergeable: false
578
640
  });
579
641
  const input_data_length = input.data.length;
580
642
  for (let i = 0; i < input_data_length; i++) {
581
- getTypeCacheKeys$3(rootKeySet, luvio, input.data[i], () => '');
643
+ getTypeCacheKeys$4(rootKeySet, luvio, input.data[i], () => '');
582
644
  }
583
645
  }
584
646
 
585
- function select$5(luvio, params) {
586
- return select$6();
647
+ function select$8(luvio, params) {
648
+ return select$9();
587
649
  }
588
- function keyBuilder$7(luvio, params) {
650
+ function keyBuilder$8(luvio, params) {
589
651
  return keyPrefix + '::IdpExtractedDataRepresentation:(' + '[' + params.body.files.map(element => 'files.fileId:' + element.fileId).join(',') + ']' + '::' + 'mlModel:' + params.body.mlModel + '::' + 'schemaConfig:' + params.body.schemaConfig + ')';
590
652
  }
591
- function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
592
- getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
653
+ function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
654
+ getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$8(luvio, resourceParams));
593
655
  }
594
- function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
656
+ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
595
657
  const { body } = response;
596
- const key = keyBuilder$7(luvio, resourceParams);
597
- luvio.storeIngest(key, ingest$2, body);
658
+ const key = keyBuilder$8(luvio, resourceParams);
659
+ luvio.storeIngest(key, ingest$3, body);
598
660
  const snapshot = luvio.storeLookup({
599
661
  recordId: key,
600
- node: select$5(),
662
+ node: select$8(),
601
663
  variables: {},
602
664
  }, snapshotRefresh);
603
665
  if (process.env.NODE_ENV !== 'production') {
@@ -609,22 +671,285 @@ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
609
671
  return snapshot;
610
672
  }
611
673
  function ingestError$3(luvio, params, error, snapshotRefresh) {
612
- const key = keyBuilder$7(luvio, params);
674
+ const key = keyBuilder$8(luvio, params);
613
675
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
614
676
  const storeMetadataParams = {
615
- ttl: TTL$3,
677
+ ttl: TTL$4,
616
678
  namespace: keyPrefix,
617
- version: VERSION$2,
618
- representationName: RepresentationType$2
679
+ version: VERSION$3,
680
+ representationName: RepresentationType$3
619
681
  };
620
682
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
621
683
  return errorSnapshot;
622
684
  }
623
- function createResourceRequest$3(config) {
685
+ function createResourceRequest$5(config) {
686
+ const headers = {};
687
+ return {
688
+ baseUri: '/services/data/v64.0',
689
+ basePath: '/ssot/document-processing/actions/extract-data',
690
+ method: 'post',
691
+ body: config.body,
692
+ urlParams: {},
693
+ queryParams: {},
694
+ headers,
695
+ priority: 'normal',
696
+ };
697
+ }
698
+
699
+ const adapterName$5 = 'extractDataUsingIdpConfiguration';
700
+ const extractDataUsingIdpConfiguration_ConfigPropertyMetadata = [
701
+ generateParamConfigMetadata('files', true, 2 /* Body */, 4 /* Unsupported */, true),
702
+ generateParamConfigMetadata('mlModel', true, 2 /* Body */, 0 /* String */),
703
+ generateParamConfigMetadata('schemaConfig', true, 2 /* Body */, 0 /* String */),
704
+ ];
705
+ const extractDataUsingIdpConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, extractDataUsingIdpConfiguration_ConfigPropertyMetadata);
706
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$8(extractDataUsingIdpConfiguration_ConfigPropertyMetadata);
707
+ function keyBuilder$7(luvio, config) {
708
+ const resourceParams = createResourceParams$5(config);
709
+ return keyBuilder$8(luvio, resourceParams);
710
+ }
711
+ function typeCheckConfig$5(untrustedConfig) {
712
+ const config = {};
713
+ typeCheckConfig$8(untrustedConfig, config, extractDataUsingIdpConfiguration_ConfigPropertyMetadata);
714
+ const untrustedConfig_files = untrustedConfig.files;
715
+ if (ArrayIsArray$1(untrustedConfig_files)) {
716
+ const untrustedConfig_files_array = [];
717
+ for (let i = 0, arrayLength = untrustedConfig_files.length; i < arrayLength; i++) {
718
+ const untrustedConfig_files_item = untrustedConfig_files[i];
719
+ if (untrustedIsObject(untrustedConfig_files_item)) {
720
+ const untrustedConfig_files_item_object = {};
721
+ const untrustedConfig_files_item_fileId = untrustedConfig_files_item.fileId;
722
+ if (typeof untrustedConfig_files_item_fileId === 'string') {
723
+ untrustedConfig_files_item_object.fileId = untrustedConfig_files_item_fileId;
724
+ }
725
+ if (untrustedConfig_files_item_object !== undefined && Object.keys(untrustedConfig_files_item_object).length >= 0) {
726
+ untrustedConfig_files_array.push(untrustedConfig_files_item_object);
727
+ }
728
+ }
729
+ }
730
+ config.files = untrustedConfig_files_array;
731
+ }
732
+ return config;
733
+ }
734
+ function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
735
+ if (!untrustedIsObject(untrustedConfig)) {
736
+ return null;
737
+ }
738
+ if (process.env.NODE_ENV !== 'production') {
739
+ validateConfig(untrustedConfig, configPropertyNames);
740
+ }
741
+ const config = typeCheckConfig$5(untrustedConfig);
742
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
743
+ return null;
744
+ }
745
+ return config;
746
+ }
747
+ function adapterFragment$3(luvio, config) {
748
+ createResourceParams$5(config);
749
+ return select$8();
750
+ }
751
+ function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
752
+ const snapshot = ingestSuccess$5(luvio, resourceParams, response, {
753
+ config,
754
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
755
+ });
756
+ return luvio.storeBroadcast().then(() => snapshot);
757
+ }
758
+ function onFetchResponseError$3(luvio, config, resourceParams, response) {
759
+ const snapshot = ingestError$3(luvio, resourceParams, response, {
760
+ config,
761
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
762
+ });
763
+ return luvio.storeBroadcast().then(() => snapshot);
764
+ }
765
+ function buildNetworkSnapshot$5(luvio, config, options) {
766
+ const resourceParams = createResourceParams$5(config);
767
+ const request = createResourceRequest$5(resourceParams);
768
+ return luvio.dispatchResourceRequest(request, options)
769
+ .then((response) => {
770
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$3(luvio, config, resourceParams, response), () => {
771
+ const cache = new StoreKeyMap();
772
+ getResponseCacheKeys$5(cache, luvio, resourceParams, response.body);
773
+ return cache;
774
+ });
775
+ }, (response) => {
776
+ return luvio.handleErrorResponse(() => onFetchResponseError$3(luvio, config, resourceParams, response));
777
+ });
778
+ }
779
+ function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
780
+ return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, 'get', false);
781
+ }
782
+ function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
783
+ const { luvio, config } = context;
784
+ const selector = {
785
+ recordId: keyBuilder$7(luvio, config),
786
+ node: adapterFragment$3(luvio, config),
787
+ variables: {},
788
+ };
789
+ const cacheSnapshot = storeLookup(selector, {
790
+ config,
791
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
792
+ });
793
+ return cacheSnapshot;
794
+ }
795
+ const extractDataUsingIdpConfigurationAdapterFactory = (luvio) => function documentProcessing__extractDataUsingIdpConfiguration(untrustedConfig, requestContext) {
796
+ const config = validateAdapterConfig$5(untrustedConfig, extractDataUsingIdpConfiguration_ConfigPropertyNames);
797
+ // Invalid or incomplete config
798
+ if (config === null) {
799
+ return null;
800
+ }
801
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
802
+ buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
803
+ };
804
+
805
+ function validate$9(obj, path = 'IdpGenerateSchemaFileInputRepresentation') {
806
+ const v_error = (() => {
807
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
808
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
809
+ }
810
+ const obj_fileId = obj.fileId;
811
+ const path_fileId = path + '.fileId';
812
+ if (typeof obj_fileId !== 'string') {
813
+ return new TypeError('Expected "string" but received "' + typeof obj_fileId + '" (at "' + path_fileId + '")');
814
+ }
815
+ })();
816
+ return v_error === undefined ? null : v_error;
817
+ }
818
+
819
+ const TTL$3 = 1200000;
820
+ const VERSION$2 = "4d8b7735653266ae435f6f1fcca047ad";
821
+ function validate$8(obj, path = 'IdpGeneratedSchemaRepresentation') {
822
+ const v_error = (() => {
823
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
824
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
825
+ }
826
+ const obj_error = obj.error;
827
+ const path_error = path + '.error';
828
+ let obj_error_union0 = null;
829
+ const obj_error_union0_error = (() => {
830
+ if (typeof obj_error !== 'string') {
831
+ return new TypeError('Expected "string" but received "' + typeof obj_error + '" (at "' + path_error + '")');
832
+ }
833
+ })();
834
+ if (obj_error_union0_error != null) {
835
+ obj_error_union0 = obj_error_union0_error.message;
836
+ }
837
+ let obj_error_union1 = null;
838
+ const obj_error_union1_error = (() => {
839
+ if (obj_error !== null) {
840
+ return new TypeError('Expected "null" but received "' + typeof obj_error + '" (at "' + path_error + '")');
841
+ }
842
+ })();
843
+ if (obj_error_union1_error != null) {
844
+ obj_error_union1 = obj_error_union1_error.message;
845
+ }
846
+ if (obj_error_union0 && obj_error_union1) {
847
+ let message = 'Object doesn\'t match union (at "' + path_error + '")';
848
+ message += '\n' + obj_error_union0.split('\n').map((line) => '\t' + line).join('\n');
849
+ message += '\n' + obj_error_union1.split('\n').map((line) => '\t' + line).join('\n');
850
+ return new TypeError(message);
851
+ }
852
+ const obj_schema = obj.schema;
853
+ const path_schema = path + '.schema';
854
+ if (typeof obj_schema !== 'string') {
855
+ return new TypeError('Expected "string" but received "' + typeof obj_schema + '" (at "' + path_schema + '")');
856
+ }
857
+ })();
858
+ return v_error === undefined ? null : v_error;
859
+ }
860
+ const RepresentationType$2 = 'IdpGeneratedSchemaRepresentation';
861
+ function keyBuilder$6(luvio, config) {
862
+ return keyPrefix + '::' + RepresentationType$2 + ':' + config.schema;
863
+ }
864
+ function keyBuilderFromType(luvio, object) {
865
+ const keyParams = {
866
+ schema: object.schema
867
+ };
868
+ return keyBuilder$6(luvio, keyParams);
869
+ }
870
+ function normalize$2(input, existing, path, luvio, store, timestamp) {
871
+ return input;
872
+ }
873
+ const select$7 = function IdpGeneratedSchemaRepresentationSelect() {
874
+ return {
875
+ kind: 'Fragment',
876
+ version: VERSION$2,
877
+ private: [],
878
+ selections: [
879
+ {
880
+ name: 'error',
881
+ kind: 'Scalar'
882
+ },
883
+ {
884
+ name: 'schema',
885
+ kind: 'Scalar'
886
+ }
887
+ ]
888
+ };
889
+ };
890
+ function equals$6(existing, incoming) {
891
+ const existing_schema = existing.schema;
892
+ const incoming_schema = incoming.schema;
893
+ if (!(existing_schema === incoming_schema)) {
894
+ return false;
895
+ }
896
+ const existing_error = existing.error;
897
+ const incoming_error = incoming.error;
898
+ if (!(existing_error === incoming_error)) {
899
+ return false;
900
+ }
901
+ return true;
902
+ }
903
+ const ingest$2 = function IdpGeneratedSchemaRepresentationIngest(input, path, luvio, store, timestamp) {
904
+ if (process.env.NODE_ENV !== 'production') {
905
+ const validateError = validate$8(input);
906
+ if (validateError !== null) {
907
+ throw validateError;
908
+ }
909
+ }
910
+ const key = keyBuilderFromType(luvio, input);
911
+ const ttlToUse = TTL$3;
912
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "document-processing", VERSION$2, RepresentationType$2, equals$6);
913
+ return createLink(key);
914
+ };
915
+ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
916
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
917
+ const rootKey = keyBuilderFromType(luvio, input);
918
+ rootKeySet.set(rootKey, {
919
+ namespace: keyPrefix,
920
+ representationName: RepresentationType$2,
921
+ mergeable: false
922
+ });
923
+ }
924
+
925
+ function select$6(luvio, params) {
926
+ return select$7();
927
+ }
928
+ function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
929
+ getTypeCacheKeys$2(storeKeyMap, luvio, response);
930
+ }
931
+ function ingestSuccess$4(luvio, resourceParams, response) {
932
+ const { body } = response;
933
+ const key = keyBuilderFromType(luvio, body);
934
+ luvio.storeIngest(key, ingest$2, body);
935
+ const snapshot = luvio.storeLookup({
936
+ recordId: key,
937
+ node: select$6(),
938
+ variables: {},
939
+ });
940
+ if (process.env.NODE_ENV !== 'production') {
941
+ if (snapshot.state !== 'Fulfilled') {
942
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
943
+ }
944
+ }
945
+ deepFreeze(snapshot.data);
946
+ return snapshot;
947
+ }
948
+ function createResourceRequest$4(config) {
624
949
  const headers = {};
625
950
  return {
626
951
  baseUri: '/services/data/v64.0',
627
- basePath: '/ssot/document-processing/actions/extract-data',
952
+ basePath: '/ssot/document-processing/actions/generate-schema',
628
953
  method: 'post',
629
954
  body: config.body,
630
955
  urlParams: {},
@@ -634,130 +959,90 @@ function createResourceRequest$3(config) {
634
959
  };
635
960
  }
636
961
 
637
- const adapterName$3 = 'extractDataUsingIdpConfiguration';
638
- const extractDataUsingIdpConfiguration_ConfigPropertyMetadata = [
962
+ const adapterName$4 = 'generateIdpConfigurationSchema';
963
+ const generateIdpConfigurationSchema_ConfigPropertyMetadata = [
639
964
  generateParamConfigMetadata('files', true, 2 /* Body */, 4 /* Unsupported */, true),
640
965
  generateParamConfigMetadata('mlModel', true, 2 /* Body */, 0 /* String */),
641
- generateParamConfigMetadata('schemaConfig', true, 2 /* Body */, 0 /* String */),
642
966
  ];
643
- const extractDataUsingIdpConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, extractDataUsingIdpConfiguration_ConfigPropertyMetadata);
644
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$6(extractDataUsingIdpConfiguration_ConfigPropertyMetadata);
645
- function keyBuilder$6(luvio, config) {
646
- const resourceParams = createResourceParams$3(config);
647
- return keyBuilder$7(luvio, resourceParams);
648
- }
649
- function typeCheckConfig$3(untrustedConfig) {
967
+ const generateIdpConfigurationSchema_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, generateIdpConfigurationSchema_ConfigPropertyMetadata);
968
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$8(generateIdpConfigurationSchema_ConfigPropertyMetadata);
969
+ function typeCheckConfig$4(untrustedConfig) {
650
970
  const config = {};
651
- typeCheckConfig$6(untrustedConfig, config, extractDataUsingIdpConfiguration_ConfigPropertyMetadata);
971
+ typeCheckConfig$8(untrustedConfig, config, generateIdpConfigurationSchema_ConfigPropertyMetadata);
652
972
  const untrustedConfig_files = untrustedConfig.files;
653
973
  if (ArrayIsArray$1(untrustedConfig_files)) {
654
974
  const untrustedConfig_files_array = [];
655
975
  for (let i = 0, arrayLength = untrustedConfig_files.length; i < arrayLength; i++) {
656
976
  const untrustedConfig_files_item = untrustedConfig_files[i];
657
- if (untrustedIsObject(untrustedConfig_files_item)) {
658
- const untrustedConfig_files_item_object = {};
659
- const untrustedConfig_files_item_fileId = untrustedConfig_files_item.fileId;
660
- if (typeof untrustedConfig_files_item_fileId === 'string') {
661
- untrustedConfig_files_item_object.fileId = untrustedConfig_files_item_fileId;
662
- }
663
- if (untrustedConfig_files_item_object !== undefined && Object.keys(untrustedConfig_files_item_object).length >= 0) {
664
- untrustedConfig_files_array.push(untrustedConfig_files_item_object);
665
- }
977
+ const referenceIdpGenerateSchemaFileInputRepresentationValidationError = validate$9(untrustedConfig_files_item);
978
+ if (referenceIdpGenerateSchemaFileInputRepresentationValidationError === null) {
979
+ untrustedConfig_files_array.push(untrustedConfig_files_item);
666
980
  }
667
981
  }
668
982
  config.files = untrustedConfig_files_array;
669
983
  }
670
984
  return config;
671
985
  }
672
- function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
986
+ function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
673
987
  if (!untrustedIsObject(untrustedConfig)) {
674
988
  return null;
675
989
  }
676
990
  if (process.env.NODE_ENV !== 'production') {
677
991
  validateConfig(untrustedConfig, configPropertyNames);
678
992
  }
679
- const config = typeCheckConfig$3(untrustedConfig);
993
+ const config = typeCheckConfig$4(untrustedConfig);
680
994
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
681
995
  return null;
682
996
  }
683
997
  return config;
684
998
  }
685
- function adapterFragment$3(luvio, config) {
686
- createResourceParams$3(config);
687
- return select$5();
688
- }
689
- function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
690
- const snapshot = ingestSuccess$3(luvio, resourceParams, response, {
691
- config,
692
- resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
693
- });
694
- return luvio.storeBroadcast().then(() => snapshot);
695
- }
696
- function onFetchResponseError$3(luvio, config, resourceParams, response) {
697
- const snapshot = ingestError$3(luvio, resourceParams, response, {
698
- config,
699
- resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
700
- });
701
- return luvio.storeBroadcast().then(() => snapshot);
702
- }
703
- function buildNetworkSnapshot$3(luvio, config, options) {
704
- const resourceParams = createResourceParams$3(config);
705
- const request = createResourceRequest$3(resourceParams);
999
+ function buildNetworkSnapshot$4(luvio, config, options) {
1000
+ const resourceParams = createResourceParams$4(config);
1001
+ const request = createResourceRequest$4(resourceParams);
706
1002
  return luvio.dispatchResourceRequest(request, options)
707
1003
  .then((response) => {
708
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$3(luvio, config, resourceParams, response), () => {
1004
+ return luvio.handleSuccessResponse(() => {
1005
+ const snapshot = ingestSuccess$4(luvio, resourceParams, response);
1006
+ return luvio.storeBroadcast().then(() => snapshot);
1007
+ }, () => {
709
1008
  const cache = new StoreKeyMap();
710
- getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
1009
+ getResponseCacheKeys$4(cache, luvio, resourceParams, response.body);
711
1010
  return cache;
712
1011
  });
713
1012
  }, (response) => {
714
- return luvio.handleErrorResponse(() => onFetchResponseError$3(luvio, config, resourceParams, response));
1013
+ deepFreeze(response);
1014
+ throw response;
715
1015
  });
716
1016
  }
717
- function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
718
- return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, 'get', false);
719
- }
720
- function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
721
- const { luvio, config } = context;
722
- const selector = {
723
- recordId: keyBuilder$6(luvio, config),
724
- node: adapterFragment$3(luvio, config),
725
- variables: {},
1017
+ const generateIdpConfigurationSchemaAdapterFactory = (luvio) => {
1018
+ return function generateIdpConfigurationSchema(untrustedConfig) {
1019
+ const config = validateAdapterConfig$4(untrustedConfig, generateIdpConfigurationSchema_ConfigPropertyNames);
1020
+ // Invalid or incomplete config
1021
+ if (config === null) {
1022
+ throw new Error('Invalid config for "generateIdpConfigurationSchema"');
1023
+ }
1024
+ return buildNetworkSnapshot$4(luvio, config);
726
1025
  };
727
- const cacheSnapshot = storeLookup(selector, {
728
- config,
729
- resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
730
- });
731
- return cacheSnapshot;
732
- }
733
- const extractDataUsingIdpConfigurationAdapterFactory = (luvio) => function documentProcessing__extractDataUsingIdpConfiguration(untrustedConfig, requestContext) {
734
- const config = validateAdapterConfig$3(untrustedConfig, extractDataUsingIdpConfiguration_ConfigPropertyNames);
735
- // Invalid or incomplete config
736
- if (config === null) {
737
- return null;
738
- }
739
- return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
740
- buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
741
1026
  };
742
1027
 
743
- function select$4(luvio, params) {
744
- return select$9();
1028
+ function select$5(luvio, params) {
1029
+ return select$c();
745
1030
  }
746
1031
  function keyBuilder$5(luvio, params) {
747
- return keyBuilder$9(luvio, {
748
- name: params.urlParams.idOrApiName
1032
+ return keyBuilder$a(luvio, {
1033
+ id: params.urlParams.idOrApiName
749
1034
  });
750
1035
  }
751
- function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
752
- getTypeCacheKeys$4(storeKeyMap, luvio, response);
1036
+ function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
1037
+ getTypeCacheKeys$5(storeKeyMap, luvio, response);
753
1038
  }
754
- function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
1039
+ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
755
1040
  const { body } = response;
756
1041
  const key = keyBuilder$5(luvio, resourceParams);
757
- luvio.storeIngest(key, ingest$4, body);
1042
+ luvio.storeIngest(key, ingest$5, body);
758
1043
  const snapshot = luvio.storeLookup({
759
1044
  recordId: key,
760
- node: select$4(),
1045
+ node: select$5(),
761
1046
  variables: {},
762
1047
  }, snapshotRefresh);
763
1048
  if (process.env.NODE_ENV !== 'production') {
@@ -772,15 +1057,15 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
772
1057
  const key = keyBuilder$5(luvio, params);
773
1058
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
774
1059
  const storeMetadataParams = {
775
- ttl: TTL$4,
1060
+ ttl: TTL$5,
776
1061
  namespace: keyPrefix,
777
- version: VERSION$4,
778
- representationName: RepresentationType$4
1062
+ version: VERSION$5,
1063
+ representationName: RepresentationType$5
779
1064
  };
780
1065
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
781
1066
  return errorSnapshot;
782
1067
  }
783
- function createResourceRequest$2(config) {
1068
+ function createResourceRequest$3(config) {
784
1069
  const headers = {};
785
1070
  return {
786
1071
  baseUri: '/services/data/v64.0',
@@ -797,64 +1082,64 @@ function createResourceRequestFromRepresentation(representation) {
797
1082
  const config = {
798
1083
  urlParams: {},
799
1084
  };
800
- config.urlParams.idOrApiName = representation.name;
801
- return createResourceRequest$2(config);
1085
+ config.urlParams.idOrApiName = representation.id;
1086
+ return createResourceRequest$3(config);
802
1087
  }
803
1088
 
804
- const adapterName$2 = 'getIdpConfiguration';
1089
+ const adapterName$3 = 'getIdpConfiguration';
805
1090
  const getIdpConfiguration_ConfigPropertyMetadata = [
806
1091
  generateParamConfigMetadata('idOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
807
1092
  ];
808
- const getIdpConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getIdpConfiguration_ConfigPropertyMetadata);
809
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$6(getIdpConfiguration_ConfigPropertyMetadata);
1093
+ const getIdpConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getIdpConfiguration_ConfigPropertyMetadata);
1094
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$8(getIdpConfiguration_ConfigPropertyMetadata);
810
1095
  function keyBuilder$4(luvio, config) {
811
- const resourceParams = createResourceParams$2(config);
1096
+ const resourceParams = createResourceParams$3(config);
812
1097
  return keyBuilder$5(luvio, resourceParams);
813
1098
  }
814
- function typeCheckConfig$2(untrustedConfig) {
1099
+ function typeCheckConfig$3(untrustedConfig) {
815
1100
  const config = {};
816
- typeCheckConfig$6(untrustedConfig, config, getIdpConfiguration_ConfigPropertyMetadata);
1101
+ typeCheckConfig$8(untrustedConfig, config, getIdpConfiguration_ConfigPropertyMetadata);
817
1102
  return config;
818
1103
  }
819
- function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
1104
+ function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
820
1105
  if (!untrustedIsObject(untrustedConfig)) {
821
1106
  return null;
822
1107
  }
823
1108
  if (process.env.NODE_ENV !== 'production') {
824
1109
  validateConfig(untrustedConfig, configPropertyNames);
825
1110
  }
826
- const config = typeCheckConfig$2(untrustedConfig);
1111
+ const config = typeCheckConfig$3(untrustedConfig);
827
1112
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
828
1113
  return null;
829
1114
  }
830
1115
  return config;
831
1116
  }
832
1117
  function adapterFragment$2(luvio, config) {
833
- createResourceParams$2(config);
834
- return select$4();
1118
+ createResourceParams$3(config);
1119
+ return select$5();
835
1120
  }
836
1121
  function onFetchResponseSuccess$2(luvio, config, resourceParams, response) {
837
- const snapshot = ingestSuccess$2(luvio, resourceParams, response, {
1122
+ const snapshot = ingestSuccess$3(luvio, resourceParams, response, {
838
1123
  config,
839
- resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
1124
+ resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
840
1125
  });
841
1126
  return luvio.storeBroadcast().then(() => snapshot);
842
1127
  }
843
1128
  function onFetchResponseError$2(luvio, config, resourceParams, response) {
844
1129
  const snapshot = ingestError$2(luvio, resourceParams, response, {
845
1130
  config,
846
- resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
1131
+ resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
847
1132
  });
848
1133
  return luvio.storeBroadcast().then(() => snapshot);
849
1134
  }
850
- function buildNetworkSnapshot$2(luvio, config, options) {
851
- const resourceParams = createResourceParams$2(config);
852
- const request = createResourceRequest$2(resourceParams);
1135
+ function buildNetworkSnapshot$3(luvio, config, options) {
1136
+ const resourceParams = createResourceParams$3(config);
1137
+ const request = createResourceRequest$3(resourceParams);
853
1138
  return luvio.dispatchResourceRequest(request, options)
854
1139
  .then((response) => {
855
1140
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () => {
856
1141
  const cache = new StoreKeyMap();
857
- getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
1142
+ getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
858
1143
  return cache;
859
1144
  });
860
1145
  }, (response) => {
@@ -862,7 +1147,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
862
1147
  });
863
1148
  }
864
1149
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
865
- return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
1150
+ return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
866
1151
  }
867
1152
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
868
1153
  const { luvio, config } = context;
@@ -873,12 +1158,12 @@ function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
873
1158
  };
874
1159
  const cacheSnapshot = storeLookup(selector, {
875
1160
  config,
876
- resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
1161
+ resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
877
1162
  });
878
1163
  return cacheSnapshot;
879
1164
  }
880
1165
  const getIdpConfigurationAdapterFactory = (luvio) => function documentProcessing__getIdpConfiguration(untrustedConfig, requestContext) {
881
- const config = validateAdapterConfig$2(untrustedConfig, getIdpConfiguration_ConfigPropertyNames);
1166
+ const config = validateAdapterConfig$3(untrustedConfig, getIdpConfiguration_ConfigPropertyNames);
882
1167
  // Invalid or incomplete config
883
1168
  if (config === null) {
884
1169
  return null;
@@ -888,7 +1173,7 @@ const getIdpConfigurationAdapterFactory = (luvio) => function documentProcessing
888
1173
  };
889
1174
  const notifyChangeFactory = (luvio, options) => {
890
1175
  return function getSsotDocumentProcessingConfigurationsByIdOrApiNameNotifyChange(configs) {
891
- const keys = configs.map(c => keyBuilder$9(luvio, c));
1176
+ const keys = configs.map(c => keyBuilder$a(luvio, c));
892
1177
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
893
1178
  for (let i = 0, len = entries.length; i < len; i++) {
894
1179
  const { key, record: val } = entries[i];
@@ -897,21 +1182,21 @@ const notifyChangeFactory = (luvio, options) => {
897
1182
  .then((response) => {
898
1183
  return luvio.handleSuccessResponse(() => {
899
1184
  const { body } = response;
900
- luvio.storeIngest(key, ingest$4, body);
1185
+ luvio.storeIngest(key, ingest$5, body);
901
1186
  return luvio.storeBroadcast();
902
1187
  }, () => {
903
1188
  const cache = new StoreKeyMap();
904
- getTypeCacheKeys$4(cache, luvio, response.body);
1189
+ getTypeCacheKeys$5(cache, luvio, response.body);
905
1190
  return cache;
906
1191
  });
907
1192
  }, (error) => {
908
1193
  return luvio.handleErrorResponse(() => {
909
1194
  const errorSnapshot = luvio.errorSnapshot(error);
910
1195
  luvio.storeIngestError(key, errorSnapshot, {
911
- ttl: TTL$4,
1196
+ ttl: TTL$5,
912
1197
  namespace: keyPrefix,
913
- version: VERSION$4,
914
- representationName: RepresentationType$4
1198
+ version: VERSION$5,
1199
+ representationName: RepresentationType$5
915
1200
  });
916
1201
  return luvio.storeBroadcast().then(() => errorSnapshot);
917
1202
  });
@@ -1248,7 +1533,7 @@ const RepresentationType$1 = 'IdpConfigurationsCollectionRepresentation';
1248
1533
  function normalize$1(input, existing, path, luvio, store, timestamp) {
1249
1534
  return input;
1250
1535
  }
1251
- const select$3 = function IdpConfigurationsCollectionRepresentationSelect() {
1536
+ const select$4 = function IdpConfigurationsCollectionRepresentationSelect() {
1252
1537
  return {
1253
1538
  kind: 'Fragment',
1254
1539
  version: VERSION$1,
@@ -1294,22 +1579,22 @@ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
1294
1579
  });
1295
1580
  }
1296
1581
 
1297
- function select$2(luvio, params) {
1298
- return select$3();
1582
+ function select$3(luvio, params) {
1583
+ return select$4();
1299
1584
  }
1300
1585
  function keyBuilder$3(luvio, params) {
1301
1586
  return keyPrefix + '::IdpConfigurationsCollectionRepresentation:(' + 'activationStatus:' + params.queryParams.activationStatus + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ',' + 'search:' + params.queryParams.search + ')';
1302
1587
  }
1303
- function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
1588
+ function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
1304
1589
  getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$3(luvio, resourceParams));
1305
1590
  }
1306
- function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
1591
+ function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
1307
1592
  const { body } = response;
1308
1593
  const key = keyBuilder$3(luvio, resourceParams);
1309
1594
  luvio.storeIngest(key, ingest$1, body);
1310
1595
  const snapshot = luvio.storeLookup({
1311
1596
  recordId: key,
1312
- node: select$2(),
1597
+ node: select$3(),
1313
1598
  variables: {},
1314
1599
  }, snapshotRefresh);
1315
1600
  if (process.env.NODE_ENV !== 'production') {
@@ -1332,7 +1617,7 @@ function ingestError$1(luvio, params, error, snapshotRefresh) {
1332
1617
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
1333
1618
  return errorSnapshot;
1334
1619
  }
1335
- function createResourceRequest$1(config) {
1620
+ function createResourceRequest$2(config) {
1336
1621
  const headers = {};
1337
1622
  return {
1338
1623
  baseUri: '/services/data/v64.0',
@@ -1346,7 +1631,7 @@ function createResourceRequest$1(config) {
1346
1631
  };
1347
1632
  }
1348
1633
 
1349
- const adapterName$1 = 'getIdpConfigurations';
1634
+ const adapterName$2 = 'getIdpConfigurations';
1350
1635
  const getIdpConfigurations_ConfigPropertyMetadata = [
1351
1636
  generateParamConfigMetadata('activationStatus', false, 1 /* QueryParameter */, 0 /* String */),
1352
1637
  generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
@@ -1354,56 +1639,56 @@ const getIdpConfigurations_ConfigPropertyMetadata = [
1354
1639
  generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
1355
1640
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
1356
1641
  ];
1357
- const getIdpConfigurations_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getIdpConfigurations_ConfigPropertyMetadata);
1358
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$6(getIdpConfigurations_ConfigPropertyMetadata);
1642
+ const getIdpConfigurations_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getIdpConfigurations_ConfigPropertyMetadata);
1643
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$8(getIdpConfigurations_ConfigPropertyMetadata);
1359
1644
  function keyBuilder$2(luvio, config) {
1360
- const resourceParams = createResourceParams$1(config);
1645
+ const resourceParams = createResourceParams$2(config);
1361
1646
  return keyBuilder$3(luvio, resourceParams);
1362
1647
  }
1363
- function typeCheckConfig$1(untrustedConfig) {
1648
+ function typeCheckConfig$2(untrustedConfig) {
1364
1649
  const config = {};
1365
- typeCheckConfig$6(untrustedConfig, config, getIdpConfigurations_ConfigPropertyMetadata);
1650
+ typeCheckConfig$8(untrustedConfig, config, getIdpConfigurations_ConfigPropertyMetadata);
1366
1651
  return config;
1367
1652
  }
1368
- function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
1653
+ function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
1369
1654
  if (!untrustedIsObject(untrustedConfig)) {
1370
1655
  return null;
1371
1656
  }
1372
1657
  if (process.env.NODE_ENV !== 'production') {
1373
1658
  validateConfig(untrustedConfig, configPropertyNames);
1374
1659
  }
1375
- const config = typeCheckConfig$1(untrustedConfig);
1660
+ const config = typeCheckConfig$2(untrustedConfig);
1376
1661
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1377
1662
  return null;
1378
1663
  }
1379
1664
  return config;
1380
1665
  }
1381
1666
  function adapterFragment$1(luvio, config) {
1382
- createResourceParams$1(config);
1383
- return select$2();
1667
+ createResourceParams$2(config);
1668
+ return select$3();
1384
1669
  }
1385
1670
  function onFetchResponseSuccess$1(luvio, config, resourceParams, response) {
1386
- const snapshot = ingestSuccess$1(luvio, resourceParams, response, {
1671
+ const snapshot = ingestSuccess$2(luvio, resourceParams, response, {
1387
1672
  config,
1388
- resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
1673
+ resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
1389
1674
  });
1390
1675
  return luvio.storeBroadcast().then(() => snapshot);
1391
1676
  }
1392
1677
  function onFetchResponseError$1(luvio, config, resourceParams, response) {
1393
1678
  const snapshot = ingestError$1(luvio, resourceParams, response, {
1394
1679
  config,
1395
- resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
1680
+ resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
1396
1681
  });
1397
1682
  return luvio.storeBroadcast().then(() => snapshot);
1398
1683
  }
1399
- function buildNetworkSnapshot$1(luvio, config, options) {
1400
- const resourceParams = createResourceParams$1(config);
1401
- const request = createResourceRequest$1(resourceParams);
1684
+ function buildNetworkSnapshot$2(luvio, config, options) {
1685
+ const resourceParams = createResourceParams$2(config);
1686
+ const request = createResourceRequest$2(resourceParams);
1402
1687
  return luvio.dispatchResourceRequest(request, options)
1403
1688
  .then((response) => {
1404
1689
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
1405
1690
  const cache = new StoreKeyMap();
1406
- getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
1691
+ getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
1407
1692
  return cache;
1408
1693
  });
1409
1694
  }, (response) => {
@@ -1411,7 +1696,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
1411
1696
  });
1412
1697
  }
1413
1698
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
1414
- return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
1699
+ return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
1415
1700
  }
1416
1701
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
1417
1702
  const { luvio, config } = context;
@@ -1422,12 +1707,12 @@ function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
1422
1707
  };
1423
1708
  const cacheSnapshot = storeLookup(selector, {
1424
1709
  config,
1425
- resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
1710
+ resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
1426
1711
  });
1427
1712
  return cacheSnapshot;
1428
1713
  }
1429
1714
  const getIdpConfigurationsAdapterFactory = (luvio) => function documentProcessing__getIdpConfigurations(untrustedConfig, requestContext) {
1430
- const config = validateAdapterConfig$1(untrustedConfig, getIdpConfigurations_ConfigPropertyNames);
1715
+ const config = validateAdapterConfig$2(untrustedConfig, getIdpConfigurations_ConfigPropertyNames);
1431
1716
  // Invalid or incomplete config
1432
1717
  if (config === null) {
1433
1718
  return null;
@@ -1548,7 +1833,7 @@ const RepresentationType = 'IdpGlobalConfigRepresentation';
1548
1833
  function normalize(input, existing, path, luvio, store, timestamp) {
1549
1834
  return input;
1550
1835
  }
1551
- const select$1 = function IdpGlobalConfigRepresentationSelect() {
1836
+ const select$2 = function IdpGlobalConfigRepresentationSelect() {
1552
1837
  return {
1553
1838
  kind: 'Fragment',
1554
1839
  version: VERSION,
@@ -1584,22 +1869,22 @@ function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
1584
1869
  });
1585
1870
  }
1586
1871
 
1587
- function select(luvio, params) {
1588
- return select$1();
1872
+ function select$1(luvio, params) {
1873
+ return select$2();
1589
1874
  }
1590
1875
  function keyBuilder$1(luvio, params) {
1591
1876
  return keyPrefix + '::IdpGlobalConfigRepresentation:(' + ')';
1592
1877
  }
1593
- function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
1878
+ function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
1594
1879
  getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1());
1595
1880
  }
1596
- function ingestSuccess(luvio, resourceParams, response, snapshotRefresh) {
1881
+ function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
1597
1882
  const { body } = response;
1598
1883
  const key = keyBuilder$1();
1599
1884
  luvio.storeIngest(key, ingest, body);
1600
1885
  const snapshot = luvio.storeLookup({
1601
1886
  recordId: key,
1602
- node: select(),
1887
+ node: select$1(),
1603
1888
  variables: {},
1604
1889
  }, snapshotRefresh);
1605
1890
  if (process.env.NODE_ENV !== 'production') {
@@ -1622,7 +1907,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
1622
1907
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
1623
1908
  return errorSnapshot;
1624
1909
  }
1625
- function createResourceRequest(config) {
1910
+ function createResourceRequest$1(config) {
1626
1911
  const headers = {};
1627
1912
  return {
1628
1913
  baseUri: '/services/data/v64.0',
@@ -1636,57 +1921,57 @@ function createResourceRequest(config) {
1636
1921
  };
1637
1922
  }
1638
1923
 
1639
- const adapterName = 'getIdpGlobalConfig';
1924
+ const adapterName$1 = 'getIdpGlobalConfig';
1640
1925
  const getIdpGlobalConfig_ConfigPropertyMetadata = [];
1641
- const getIdpGlobalConfig_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getIdpGlobalConfig_ConfigPropertyMetadata);
1642
- const createResourceParams = /*#__PURE__*/ createResourceParams$6(getIdpGlobalConfig_ConfigPropertyMetadata);
1926
+ const getIdpGlobalConfig_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getIdpGlobalConfig_ConfigPropertyMetadata);
1927
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$8(getIdpGlobalConfig_ConfigPropertyMetadata);
1643
1928
  function keyBuilder(luvio, config) {
1644
- createResourceParams(config);
1929
+ createResourceParams$1(config);
1645
1930
  return keyBuilder$1();
1646
1931
  }
1647
- function typeCheckConfig(untrustedConfig) {
1932
+ function typeCheckConfig$1(untrustedConfig) {
1648
1933
  const config = {};
1649
1934
  return config;
1650
1935
  }
1651
- function validateAdapterConfig(untrustedConfig, configPropertyNames) {
1936
+ function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
1652
1937
  if (!untrustedIsObject(untrustedConfig)) {
1653
1938
  return null;
1654
1939
  }
1655
1940
  if (process.env.NODE_ENV !== 'production') {
1656
1941
  validateConfig(untrustedConfig, configPropertyNames);
1657
1942
  }
1658
- const config = typeCheckConfig();
1943
+ const config = typeCheckConfig$1();
1659
1944
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1660
1945
  return null;
1661
1946
  }
1662
1947
  return config;
1663
1948
  }
1664
1949
  function adapterFragment(luvio, config) {
1665
- createResourceParams(config);
1666
- return select();
1950
+ createResourceParams$1(config);
1951
+ return select$1();
1667
1952
  }
1668
1953
  function onFetchResponseSuccess(luvio, config, resourceParams, response) {
1669
- const snapshot = ingestSuccess(luvio, resourceParams, response, {
1954
+ const snapshot = ingestSuccess$1(luvio, resourceParams, response, {
1670
1955
  config,
1671
- resolve: () => buildNetworkSnapshot(luvio, config, snapshotRefreshOptions)
1956
+ resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
1672
1957
  });
1673
1958
  return luvio.storeBroadcast().then(() => snapshot);
1674
1959
  }
1675
1960
  function onFetchResponseError(luvio, config, resourceParams, response) {
1676
1961
  const snapshot = ingestError(luvio, resourceParams, response, {
1677
1962
  config,
1678
- resolve: () => buildNetworkSnapshot(luvio, config, snapshotRefreshOptions)
1963
+ resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
1679
1964
  });
1680
1965
  return luvio.storeBroadcast().then(() => snapshot);
1681
1966
  }
1682
- function buildNetworkSnapshot(luvio, config, options) {
1683
- const resourceParams = createResourceParams(config);
1684
- const request = createResourceRequest();
1967
+ function buildNetworkSnapshot$1(luvio, config, options) {
1968
+ const resourceParams = createResourceParams$1(config);
1969
+ const request = createResourceRequest$1();
1685
1970
  return luvio.dispatchResourceRequest(request, options)
1686
1971
  .then((response) => {
1687
1972
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () => {
1688
1973
  const cache = new StoreKeyMap();
1689
- getResponseCacheKeys(cache, luvio, resourceParams, response.body);
1974
+ getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
1690
1975
  return cache;
1691
1976
  });
1692
1977
  }, (response) => {
@@ -1694,7 +1979,7 @@ function buildNetworkSnapshot(luvio, config, options) {
1694
1979
  });
1695
1980
  }
1696
1981
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
1697
- return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
1982
+ return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
1698
1983
  }
1699
1984
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
1700
1985
  const { luvio, config } = context;
@@ -1705,12 +1990,12 @@ function buildCachedSnapshotCachePolicy(context, storeLookup) {
1705
1990
  };
1706
1991
  const cacheSnapshot = storeLookup(selector, {
1707
1992
  config,
1708
- resolve: () => buildNetworkSnapshot(luvio, config, snapshotRefreshOptions)
1993
+ resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
1709
1994
  });
1710
1995
  return cacheSnapshot;
1711
1996
  }
1712
1997
  const getIdpGlobalConfigAdapterFactory = (luvio) => function documentProcessing__getIdpGlobalConfig(untrustedConfig, requestContext) {
1713
- const config = validateAdapterConfig(untrustedConfig, getIdpGlobalConfig_ConfigPropertyNames);
1998
+ const config = validateAdapterConfig$1(untrustedConfig, getIdpGlobalConfig_ConfigPropertyNames);
1714
1999
  // Invalid or incomplete config
1715
2000
  if (config === null) {
1716
2001
  return null;
@@ -1719,13 +2004,108 @@ const getIdpGlobalConfigAdapterFactory = (luvio) => function documentProcessing_
1719
2004
  buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
1720
2005
  };
1721
2006
 
2007
+ function select(luvio, params) {
2008
+ return select$c();
2009
+ }
2010
+ function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
2011
+ getTypeCacheKeys$5(storeKeyMap, luvio, response);
2012
+ }
2013
+ function ingestSuccess(luvio, resourceParams, response) {
2014
+ const { body } = response;
2015
+ const key = keyBuilderFromType$1(luvio, body);
2016
+ luvio.storeIngest(key, ingest$5, body);
2017
+ const snapshot = luvio.storeLookup({
2018
+ recordId: key,
2019
+ node: select(),
2020
+ variables: {},
2021
+ });
2022
+ if (process.env.NODE_ENV !== 'production') {
2023
+ if (snapshot.state !== 'Fulfilled') {
2024
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
2025
+ }
2026
+ }
2027
+ deepFreeze(snapshot.data);
2028
+ return snapshot;
2029
+ }
2030
+ function createResourceRequest(config) {
2031
+ const headers = {};
2032
+ return {
2033
+ baseUri: '/services/data/v64.0',
2034
+ basePath: '/ssot/document-processing/configurations/' + config.urlParams.idOrApiName + '',
2035
+ method: 'patch',
2036
+ body: config.body,
2037
+ urlParams: config.urlParams,
2038
+ queryParams: {},
2039
+ headers,
2040
+ priority: 'normal',
2041
+ };
2042
+ }
2043
+
2044
+ const adapterName = 'updateIdpConfiguration';
2045
+ const updateIdpConfiguration_ConfigPropertyMetadata = [
2046
+ generateParamConfigMetadata('idOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
2047
+ generateParamConfigMetadata('activationStatus', true, 2 /* Body */, 0 /* String */),
2048
+ generateParamConfigMetadata('description', true, 2 /* Body */, 0 /* String */),
2049
+ generateParamConfigMetadata('label', true, 2 /* Body */, 0 /* String */),
2050
+ ];
2051
+ const updateIdpConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, updateIdpConfiguration_ConfigPropertyMetadata);
2052
+ const createResourceParams = /*#__PURE__*/ createResourceParams$8(updateIdpConfiguration_ConfigPropertyMetadata);
2053
+ function typeCheckConfig(untrustedConfig) {
2054
+ const config = {};
2055
+ typeCheckConfig$8(untrustedConfig, config, updateIdpConfiguration_ConfigPropertyMetadata);
2056
+ return config;
2057
+ }
2058
+ function validateAdapterConfig(untrustedConfig, configPropertyNames) {
2059
+ if (!untrustedIsObject(untrustedConfig)) {
2060
+ return null;
2061
+ }
2062
+ if (process.env.NODE_ENV !== 'production') {
2063
+ validateConfig(untrustedConfig, configPropertyNames);
2064
+ }
2065
+ const config = typeCheckConfig(untrustedConfig);
2066
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
2067
+ return null;
2068
+ }
2069
+ return config;
2070
+ }
2071
+ function buildNetworkSnapshot(luvio, config, options) {
2072
+ const resourceParams = createResourceParams(config);
2073
+ const request = createResourceRequest(resourceParams);
2074
+ return luvio.dispatchResourceRequest(request, options)
2075
+ .then((response) => {
2076
+ return luvio.handleSuccessResponse(() => {
2077
+ const snapshot = ingestSuccess(luvio, resourceParams, response);
2078
+ return luvio.storeBroadcast().then(() => snapshot);
2079
+ }, () => {
2080
+ const cache = new StoreKeyMap();
2081
+ getResponseCacheKeys(cache, luvio, resourceParams, response.body);
2082
+ return cache;
2083
+ });
2084
+ }, (response) => {
2085
+ deepFreeze(response);
2086
+ throw response;
2087
+ });
2088
+ }
2089
+ const updateIdpConfigurationAdapterFactory = (luvio) => {
2090
+ return function updateIdpConfiguration(untrustedConfig) {
2091
+ const config = validateAdapterConfig(untrustedConfig, updateIdpConfiguration_ConfigPropertyNames);
2092
+ // Invalid or incomplete config
2093
+ if (config === null) {
2094
+ throw new Error('Invalid config for "updateIdpConfiguration"');
2095
+ }
2096
+ return buildNetworkSnapshot(luvio, config);
2097
+ };
2098
+ };
2099
+
1722
2100
  let createIdpConfiguration;
1723
2101
  let deleteIdpConfiguration;
1724
2102
  let extractDataUsingIdpConfiguration;
2103
+ let generateIdpConfigurationSchema;
1725
2104
  let getIdpConfiguration;
1726
2105
  let getIdpConfigurationNotifyChange;
1727
2106
  let getIdpConfigurations;
1728
2107
  let getIdpGlobalConfig;
2108
+ let updateIdpConfiguration;
1729
2109
  // Imperative GET Adapters
1730
2110
  let extractDataUsingIdpConfiguration_imperative;
1731
2111
  let getIdpConfiguration_imperative;
@@ -1764,12 +2144,14 @@ function bindExportsTo(luvio) {
1764
2144
  }
1765
2145
  return {
1766
2146
  createIdpConfiguration: unwrapSnapshotData(createIdpConfigurationAdapterFactory),
1767
- deleteIdpConfiguration: createLDSAdapter(luvio, adapterName$4, deleteIdpConfigurationAdapterFactory),
2147
+ deleteIdpConfiguration: createLDSAdapter(luvio, adapterName$6, deleteIdpConfigurationAdapterFactory),
1768
2148
  extractDataUsingIdpConfiguration: createWireAdapterConstructor(luvio, extractDataUsingIdpConfiguration_ldsAdapter, extractDataUsingIdpConfigurationMetadata),
2149
+ generateIdpConfigurationSchema: unwrapSnapshotData(generateIdpConfigurationSchemaAdapterFactory),
1769
2150
  getIdpConfiguration: createWireAdapterConstructor(luvio, getIdpConfiguration_ldsAdapter, getIdpConfigurationMetadata),
1770
2151
  getIdpConfigurationNotifyChange: createLDSAdapter(luvio, 'getIdpConfigurationNotifyChange', notifyChangeFactory),
1771
2152
  getIdpConfigurations: createWireAdapterConstructor(luvio, getIdpConfigurations_ldsAdapter, getIdpConfigurationsMetadata),
1772
2153
  getIdpGlobalConfig: createWireAdapterConstructor(luvio, getIdpGlobalConfig_ldsAdapter, getIdpGlobalConfigMetadata),
2154
+ updateIdpConfiguration: unwrapSnapshotData(updateIdpConfigurationAdapterFactory),
1773
2155
  // Imperative GET Adapters
1774
2156
  extractDataUsingIdpConfiguration_imperative: createImperativeAdapter(luvio, extractDataUsingIdpConfiguration_ldsAdapter, extractDataUsingIdpConfigurationMetadata),
1775
2157
  getIdpConfiguration_imperative: createImperativeAdapter(luvio, getIdpConfiguration_ldsAdapter, getIdpConfigurationMetadata),
@@ -1783,10 +2165,12 @@ withDefaultLuvio((luvio) => {
1783
2165
  createIdpConfiguration,
1784
2166
  deleteIdpConfiguration,
1785
2167
  extractDataUsingIdpConfiguration,
2168
+ generateIdpConfigurationSchema,
1786
2169
  getIdpConfiguration,
1787
2170
  getIdpConfigurationNotifyChange,
1788
2171
  getIdpConfigurations,
1789
2172
  getIdpGlobalConfig,
2173
+ updateIdpConfiguration,
1790
2174
  extractDataUsingIdpConfiguration_imperative,
1791
2175
  getIdpConfiguration_imperative,
1792
2176
  getIdpConfigurations_imperative,
@@ -1794,5 +2178,5 @@ withDefaultLuvio((luvio) => {
1794
2178
  } = bindExportsTo(luvio));
1795
2179
  });
1796
2180
 
1797
- export { createIdpConfiguration, deleteIdpConfiguration, extractDataUsingIdpConfiguration, extractDataUsingIdpConfiguration_imperative, getIdpConfiguration, getIdpConfigurationNotifyChange, getIdpConfiguration_imperative, getIdpConfigurations, getIdpConfigurations_imperative, getIdpGlobalConfig, getIdpGlobalConfig_imperative };
1798
- // version: 1.354.0-dev2-493c24af5a
2181
+ export { createIdpConfiguration, deleteIdpConfiguration, extractDataUsingIdpConfiguration, extractDataUsingIdpConfiguration_imperative, generateIdpConfigurationSchema, getIdpConfiguration, getIdpConfigurationNotifyChange, getIdpConfiguration_imperative, getIdpConfigurations, getIdpConfigurations_imperative, getIdpGlobalConfig, getIdpGlobalConfig_imperative, updateIdpConfiguration };
2182
+ // version: 1.354.0-dev21-5f69ab6bb6