@salesforce/lds-adapters-service-einsteinllm 1.451.0-dev2 → 1.451.0-dev4

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.
@@ -168,7 +168,7 @@ function createLink(ref) {
168
168
  };
169
169
  }
170
170
 
171
- function validate$O(obj, path = 'EinsteinLlmEmbeddingsAdditionalConfigInputRepresentation') {
171
+ function validate$P(obj, path = 'EinsteinLlmEmbeddingsAdditionalConfigInputRepresentation') {
172
172
  const v_error = (() => {
173
173
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
174
174
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -212,7 +212,7 @@ function validate$O(obj, path = 'EinsteinLlmEmbeddingsAdditionalConfigInputRepre
212
212
  return v_error === undefined ? null : v_error;
213
213
  }
214
214
 
215
- function validate$N(obj, path = 'WrappedListString') {
215
+ function validate$O(obj, path = 'WrappedListString') {
216
216
  const v_error = (() => {
217
217
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
218
218
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -233,14 +233,14 @@ function validate$N(obj, path = 'WrappedListString') {
233
233
  return v_error === undefined ? null : v_error;
234
234
  }
235
235
 
236
- function validate$M(obj, path = 'EinsteinLlmEmbeddingsInputRepresentation') {
236
+ function validate$N(obj, path = 'EinsteinLlmEmbeddingsInputRepresentation') {
237
237
  const v_error = (() => {
238
238
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
239
239
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
240
240
  }
241
241
  const obj_additionalConfig = obj.additionalConfig;
242
242
  const path_additionalConfig = path + '.additionalConfig';
243
- const referencepath_additionalConfigValidationError = validate$O(obj_additionalConfig, path_additionalConfig);
243
+ const referencepath_additionalConfigValidationError = validate$P(obj_additionalConfig, path_additionalConfig);
244
244
  if (referencepath_additionalConfigValidationError !== null) {
245
245
  let message = 'Object doesn\'t match EinsteinLlmEmbeddingsAdditionalConfigInputRepresentation (at "' + path_additionalConfig + '")\n';
246
246
  message += referencepath_additionalConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -248,7 +248,7 @@ function validate$M(obj, path = 'EinsteinLlmEmbeddingsInputRepresentation') {
248
248
  }
249
249
  const obj_prompts = obj.prompts;
250
250
  const path_prompts = path + '.prompts';
251
- const referencepath_promptsValidationError = validate$N(obj_prompts, path_prompts);
251
+ const referencepath_promptsValidationError = validate$O(obj_prompts, path_prompts);
252
252
  if (referencepath_promptsValidationError !== null) {
253
253
  let message = 'Object doesn\'t match WrappedListString (at "' + path_prompts + '")\n';
254
254
  message += referencepath_promptsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -265,8 +265,8 @@ function validate$M(obj, path = 'EinsteinLlmEmbeddingsInputRepresentation') {
265
265
  return v_error === undefined ? null : v_error;
266
266
  }
267
267
 
268
- const VERSION$C = "5ed5ccc6fa6f15691ec0fc1080e41fe6";
269
- function validate$L(obj, path = 'EinsteinLlmEmbeddingItemRepresentation') {
268
+ const VERSION$D = "5ed5ccc6fa6f15691ec0fc1080e41fe6";
269
+ function validate$M(obj, path = 'EinsteinLlmEmbeddingItemRepresentation') {
270
270
  const v_error = (() => {
271
271
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
272
272
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -287,10 +287,10 @@ function validate$L(obj, path = 'EinsteinLlmEmbeddingItemRepresentation') {
287
287
  })();
288
288
  return v_error === undefined ? null : v_error;
289
289
  }
290
- const select$W = function EinsteinLlmEmbeddingItemRepresentationSelect() {
290
+ const select$X = function EinsteinLlmEmbeddingItemRepresentationSelect() {
291
291
  return {
292
292
  kind: 'Fragment',
293
- version: VERSION$C,
293
+ version: VERSION$D,
294
294
  private: [],
295
295
  selections: [
296
296
  {
@@ -305,7 +305,7 @@ const select$W = function EinsteinLlmEmbeddingItemRepresentationSelect() {
305
305
  ]
306
306
  };
307
307
  };
308
- function equals$C(existing, incoming) {
308
+ function equals$D(existing, incoming) {
309
309
  const existing_index = existing.index;
310
310
  const incoming_index = incoming.index;
311
311
  if (!(existing_index === incoming_index)) {
@@ -325,8 +325,8 @@ function equals$C(existing, incoming) {
325
325
  }
326
326
 
327
327
  const TTL$d = 100;
328
- const VERSION$B = "d9873651f09d29764ef4d4231eb653d7";
329
- function validate$K(obj, path = 'EinsteinLlmEmbeddingsRepresentation') {
328
+ const VERSION$C = "d9873651f09d29764ef4d4231eb653d7";
329
+ function validate$L(obj, path = 'EinsteinLlmEmbeddingsRepresentation') {
330
330
  const v_error = (() => {
331
331
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
332
332
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -339,7 +339,7 @@ function validate$K(obj, path = 'EinsteinLlmEmbeddingsRepresentation') {
339
339
  for (let i = 0; i < obj_embeddings.length; i++) {
340
340
  const obj_embeddings_item = obj_embeddings[i];
341
341
  const path_embeddings_item = path_embeddings + '[' + i + ']';
342
- const referencepath_embeddings_itemValidationError = validate$L(obj_embeddings_item, path_embeddings_item);
342
+ const referencepath_embeddings_itemValidationError = validate$M(obj_embeddings_item, path_embeddings_item);
343
343
  if (referencepath_embeddings_itemValidationError !== null) {
344
344
  let message = 'Object doesn\'t match EinsteinLlmEmbeddingItemRepresentation (at "' + path_embeddings_item + '")\n';
345
345
  message += referencepath_embeddings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -367,11 +367,11 @@ const RepresentationType$d = 'EinsteinLlmEmbeddingsRepresentation';
367
367
  function normalize$d(input, existing, path, luvio, store, timestamp) {
368
368
  return input;
369
369
  }
370
- const select$V = function EinsteinLlmEmbeddingsRepresentationSelect() {
371
- const { selections: EinsteinLlmEmbeddingItemRepresentation__selections, opaque: EinsteinLlmEmbeddingItemRepresentation__opaque, } = select$W();
370
+ const select$W = function EinsteinLlmEmbeddingsRepresentationSelect() {
371
+ const { selections: EinsteinLlmEmbeddingItemRepresentation__selections, opaque: EinsteinLlmEmbeddingItemRepresentation__opaque, } = select$X();
372
372
  return {
373
373
  kind: 'Fragment',
374
- version: VERSION$B,
374
+ version: VERSION$C,
375
375
  private: [],
376
376
  selections: [
377
377
  {
@@ -388,11 +388,11 @@ const select$V = function EinsteinLlmEmbeddingsRepresentationSelect() {
388
388
  ]
389
389
  };
390
390
  };
391
- function equals$B(existing, incoming) {
391
+ function equals$C(existing, incoming) {
392
392
  const existing_embeddings = existing.embeddings;
393
393
  const incoming_embeddings = incoming.embeddings;
394
394
  const equals_embeddings_items = equalsArray(existing_embeddings, incoming_embeddings, (existing_embeddings_item, incoming_embeddings_item) => {
395
- if (!(equals$C(existing_embeddings_item, incoming_embeddings_item))) {
395
+ if (!(equals$D(existing_embeddings_item, incoming_embeddings_item))) {
396
396
  return false;
397
397
  }
398
398
  });
@@ -413,14 +413,14 @@ function equals$B(existing, incoming) {
413
413
  }
414
414
  const ingest$d = function EinsteinLlmEmbeddingsRepresentationIngest(input, path, luvio, store, timestamp) {
415
415
  if (process.env.NODE_ENV !== 'production') {
416
- const validateError = validate$K(input);
416
+ const validateError = validate$L(input);
417
417
  if (validateError !== null) {
418
418
  throw validateError;
419
419
  }
420
420
  }
421
421
  const key = path.fullPath;
422
422
  const ttlToUse = TTL$d;
423
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "EinsteinLLM", VERSION$B, RepresentationType$d, equals$B);
423
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "EinsteinLLM", VERSION$C, RepresentationType$d, equals$C);
424
424
  return createLink(key);
425
425
  };
426
426
  function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
@@ -433,8 +433,8 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
433
433
  });
434
434
  }
435
435
 
436
- function select$U(luvio, params) {
437
- return select$V();
436
+ function select$V(luvio, params) {
437
+ return select$W();
438
438
  }
439
439
  function keyBuilder$s(luvio, params) {
440
440
  return keyPrefix + '::EinsteinLlmEmbeddingsRepresentation:(' + stableJSONStringify(params.body.embeddingsInput.additionalConfig.additionalParameters) + '::' + 'embeddingsInput.additionalConfig.applicationName:' + params.body.embeddingsInput.additionalConfig.applicationName + '::' + (params.body.embeddingsInput.additionalConfig.enablePiiMasking === undefined ? 'embeddingsInput.additionalConfig.enablePiiMasking' : 'embeddingsInput.additionalConfig.enablePiiMasking:' + params.body.embeddingsInput.additionalConfig.enablePiiMasking) + '::' + (params.body.embeddingsInput.additionalConfig.model === undefined ? 'embeddingsInput.additionalConfig.model' : 'embeddingsInput.additionalConfig.model:' + params.body.embeddingsInput.additionalConfig.model) + '::' + 'embeddingsInput.prompts.wrappedListString:' + params.body.embeddingsInput.prompts.wrappedListString + '::' + (params.body.embeddingsInput.provider === undefined ? 'embeddingsInput.provider' : 'embeddingsInput.provider:' + params.body.embeddingsInput.provider) + ')';
@@ -448,7 +448,7 @@ function ingestSuccess$j(luvio, resourceParams, response, snapshotRefresh) {
448
448
  luvio.storeIngest(key, ingest$d, body);
449
449
  const snapshot = luvio.storeLookup({
450
450
  recordId: key,
451
- node: select$U(),
451
+ node: select$V(),
452
452
  variables: {},
453
453
  }, snapshotRefresh);
454
454
  if (process.env.NODE_ENV !== 'production') {
@@ -465,7 +465,7 @@ function ingestError$b(luvio, params, error, snapshotRefresh) {
465
465
  const storeMetadataParams = {
466
466
  ttl: TTL$d,
467
467
  namespace: keyPrefix,
468
- version: VERSION$B,
468
+ version: VERSION$C,
469
469
  representationName: RepresentationType$d
470
470
  };
471
471
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
@@ -498,7 +498,7 @@ function keyBuilder$r(luvio, config) {
498
498
  function typeCheckConfig$j(untrustedConfig) {
499
499
  const config = {};
500
500
  const untrustedConfig_embeddingsInput = untrustedConfig.embeddingsInput;
501
- const referenceEinsteinLlmEmbeddingsInputRepresentationValidationError = validate$M(untrustedConfig_embeddingsInput);
501
+ const referenceEinsteinLlmEmbeddingsInputRepresentationValidationError = validate$N(untrustedConfig_embeddingsInput);
502
502
  if (referenceEinsteinLlmEmbeddingsInputRepresentationValidationError === null) {
503
503
  config.embeddingsInput = untrustedConfig_embeddingsInput;
504
504
  }
@@ -519,7 +519,7 @@ function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
519
519
  }
520
520
  function adapterFragment$b(luvio, config) {
521
521
  createResourceParams$j(config);
522
- return select$U();
522
+ return select$V();
523
523
  }
524
524
  function onFetchResponseSuccess$b(luvio, config, resourceParams, response) {
525
525
  const snapshot = ingestSuccess$j(luvio, resourceParams, response, {
@@ -575,7 +575,7 @@ const createEmbeddingsAdapterFactory = (luvio) => function EinsteinLLM__createEm
575
575
  buildCachedSnapshotCachePolicy$b, buildNetworkSnapshotCachePolicy$b);
576
576
  };
577
577
 
578
- function validate$J(obj, path = 'EinsteinLlmFeedbackInputRepresentation') {
578
+ function validate$K(obj, path = 'EinsteinLlmFeedbackInputRepresentation') {
579
579
  const v_error = (() => {
580
580
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
581
581
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -623,8 +623,8 @@ function validate$J(obj, path = 'EinsteinLlmFeedbackInputRepresentation') {
623
623
  }
624
624
 
625
625
  const TTL$c = 100;
626
- const VERSION$A = "4033328f65865dd5d80c68a7573a4522";
627
- function validate$I(obj, path = 'EinsteinLlmFeedbackRepresentation') {
626
+ const VERSION$B = "4033328f65865dd5d80c68a7573a4522";
627
+ function validate$J(obj, path = 'EinsteinLlmFeedbackRepresentation') {
628
628
  const v_error = (() => {
629
629
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
630
630
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -650,10 +650,10 @@ function keyBuilderFromType$4(luvio, object) {
650
650
  function normalize$c(input, existing, path, luvio, store, timestamp) {
651
651
  return input;
652
652
  }
653
- const select$T = function EinsteinLlmFeedbackRepresentationSelect() {
653
+ const select$U = function EinsteinLlmFeedbackRepresentationSelect() {
654
654
  return {
655
655
  kind: 'Fragment',
656
- version: VERSION$A,
656
+ version: VERSION$B,
657
657
  private: [],
658
658
  selections: [
659
659
  {
@@ -663,7 +663,7 @@ const select$T = function EinsteinLlmFeedbackRepresentationSelect() {
663
663
  ]
664
664
  };
665
665
  };
666
- function equals$A(existing, incoming) {
666
+ function equals$B(existing, incoming) {
667
667
  const existing_message = existing.message;
668
668
  const incoming_message = incoming.message;
669
669
  if (!(existing_message === incoming_message)) {
@@ -673,14 +673,14 @@ function equals$A(existing, incoming) {
673
673
  }
674
674
  const ingest$c = function EinsteinLlmFeedbackRepresentationIngest(input, path, luvio, store, timestamp) {
675
675
  if (process.env.NODE_ENV !== 'production') {
676
- const validateError = validate$I(input);
676
+ const validateError = validate$J(input);
677
677
  if (validateError !== null) {
678
678
  throw validateError;
679
679
  }
680
680
  }
681
681
  const key = keyBuilderFromType$4(luvio, input);
682
682
  const ttlToUse = TTL$c;
683
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "EinsteinLLM", VERSION$A, RepresentationType$c, equals$A);
683
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "EinsteinLLM", VERSION$B, RepresentationType$c, equals$B);
684
684
  return createLink(key);
685
685
  };
686
686
  function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
@@ -693,8 +693,8 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
693
693
  });
694
694
  }
695
695
 
696
- function select$S(luvio, params) {
697
- return select$T();
696
+ function select$T(luvio, params) {
697
+ return select$U();
698
698
  }
699
699
  function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
700
700
  getTypeCacheKeys$c(storeKeyMap, luvio, response);
@@ -705,7 +705,7 @@ function ingestSuccess$i(luvio, resourceParams, response) {
705
705
  luvio.storeIngest(key, ingest$c, body);
706
706
  const snapshot = luvio.storeLookup({
707
707
  recordId: key,
708
- node: select$S(),
708
+ node: select$T(),
709
709
  variables: {},
710
710
  });
711
711
  if (process.env.NODE_ENV !== 'production') {
@@ -739,7 +739,7 @@ const createResourceParams$i = /*#__PURE__*/ createResourceParams$k(createFeedba
739
739
  function typeCheckConfig$i(untrustedConfig) {
740
740
  const config = {};
741
741
  const untrustedConfig_feedbackInput = untrustedConfig.feedbackInput;
742
- const referenceEinsteinLlmFeedbackInputRepresentationValidationError = validate$J(untrustedConfig_feedbackInput);
742
+ const referenceEinsteinLlmFeedbackInputRepresentationValidationError = validate$K(untrustedConfig_feedbackInput);
743
743
  if (referenceEinsteinLlmFeedbackInputRepresentationValidationError === null) {
744
744
  config.feedbackInput = untrustedConfig_feedbackInput;
745
745
  }
@@ -787,7 +787,7 @@ const createFeedbackAdapterFactory = (luvio) => {
787
787
  };
788
788
  };
789
789
 
790
- function validate$H(obj, path = 'EinsteinLlmAdditionalConfigInputRepresentation') {
790
+ function validate$I(obj, path = 'EinsteinLlmAdditionalConfigInputRepresentation') {
791
791
  const v_error = (() => {
792
792
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
793
793
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -870,7 +870,7 @@ function validate$H(obj, path = 'EinsteinLlmAdditionalConfigInputRepresentation'
870
870
  return v_error === undefined ? null : v_error;
871
871
  }
872
872
 
873
- function validate$G(obj, path = 'EinsteinLlmGenerationsInputRepresentation') {
873
+ function validate$H(obj, path = 'EinsteinLlmGenerationsInputRepresentation') {
874
874
  const v_error = (() => {
875
875
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
876
876
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -878,7 +878,7 @@ function validate$G(obj, path = 'EinsteinLlmGenerationsInputRepresentation') {
878
878
  if (obj.additionalConfig !== undefined) {
879
879
  const obj_additionalConfig = obj.additionalConfig;
880
880
  const path_additionalConfig = path + '.additionalConfig';
881
- const referencepath_additionalConfigValidationError = validate$H(obj_additionalConfig, path_additionalConfig);
881
+ const referencepath_additionalConfigValidationError = validate$I(obj_additionalConfig, path_additionalConfig);
882
882
  if (referencepath_additionalConfigValidationError !== null) {
883
883
  let message = 'Object doesn\'t match EinsteinLlmAdditionalConfigInputRepresentation (at "' + path_additionalConfig + '")\n';
884
884
  message += referencepath_additionalConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -901,8 +901,8 @@ function validate$G(obj, path = 'EinsteinLlmGenerationsInputRepresentation') {
901
901
  return v_error === undefined ? null : v_error;
902
902
  }
903
903
 
904
- const VERSION$z = "9ebac74e6f964c363d5fd1913df363af";
905
- function validate$F(obj, path = 'EinsteinLlmGenerationsContentQualityRepresentation') {
904
+ const VERSION$A = "9ebac74e6f964c363d5fd1913df363af";
905
+ function validate$G(obj, path = 'EinsteinLlmGenerationsContentQualityRepresentation') {
906
906
  const v_error = (() => {
907
907
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
908
908
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -938,10 +938,10 @@ function validate$F(obj, path = 'EinsteinLlmGenerationsContentQualityRepresentat
938
938
  })();
939
939
  return v_error === undefined ? null : v_error;
940
940
  }
941
- const select$R = function EinsteinLlmGenerationsContentQualityRepresentationSelect() {
941
+ const select$S = function EinsteinLlmGenerationsContentQualityRepresentationSelect() {
942
942
  return {
943
943
  kind: 'Fragment',
944
- version: VERSION$z,
944
+ version: VERSION$A,
945
945
  private: [],
946
946
  selections: [
947
947
  {
@@ -952,7 +952,7 @@ const select$R = function EinsteinLlmGenerationsContentQualityRepresentationSele
952
952
  ]
953
953
  };
954
954
  };
955
- function equals$z(existing, incoming) {
955
+ function equals$A(existing, incoming) {
956
956
  const existing_isToxicityDetected = existing.isToxicityDetected;
957
957
  const incoming_isToxicityDetected = incoming.isToxicityDetected;
958
958
  // if at least one of these optionals is defined
@@ -969,8 +969,8 @@ function equals$z(existing, incoming) {
969
969
  return true;
970
970
  }
971
971
 
972
- const VERSION$y = "77af44a252cb5b45b4d9a8101368d2aa";
973
- function validate$E(obj, path = 'EinsteinLlmGenerationsSafetyScoreRepresentation') {
972
+ const VERSION$z = "77af44a252cb5b45b4d9a8101368d2aa";
973
+ function validate$F(obj, path = 'EinsteinLlmGenerationsSafetyScoreRepresentation') {
974
974
  const v_error = (() => {
975
975
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
976
976
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1174,10 +1174,10 @@ function validate$E(obj, path = 'EinsteinLlmGenerationsSafetyScoreRepresentation
1174
1174
  })();
1175
1175
  return v_error === undefined ? null : v_error;
1176
1176
  }
1177
- const select$Q = function EinsteinLlmGenerationsSafetyScoreRepresentationSelect() {
1177
+ const select$R = function EinsteinLlmGenerationsSafetyScoreRepresentationSelect() {
1178
1178
  return {
1179
1179
  kind: 'Fragment',
1180
- version: VERSION$y,
1180
+ version: VERSION$z,
1181
1181
  private: [],
1182
1182
  selections: [
1183
1183
  {
@@ -1218,7 +1218,7 @@ const select$Q = function EinsteinLlmGenerationsSafetyScoreRepresentationSelect(
1218
1218
  ]
1219
1219
  };
1220
1220
  };
1221
- function equals$y(existing, incoming) {
1221
+ function equals$z(existing, incoming) {
1222
1222
  const existing_hateScore = existing.hateScore;
1223
1223
  const incoming_hateScore = incoming.hateScore;
1224
1224
  // if at least one of these optionals is defined
@@ -1313,8 +1313,8 @@ function equals$y(existing, incoming) {
1313
1313
  return true;
1314
1314
  }
1315
1315
 
1316
- const VERSION$x = "4a07778ff6c595d91c575188146647a1";
1317
- function validate$D(obj, path = 'EinsteinLlmGenerationItemRepresentation') {
1316
+ const VERSION$y = "4a07778ff6c595d91c575188146647a1";
1317
+ function validate$E(obj, path = 'EinsteinLlmGenerationItemRepresentation') {
1318
1318
  const v_error = (() => {
1319
1319
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1320
1320
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1324,7 +1324,7 @@ function validate$D(obj, path = 'EinsteinLlmGenerationItemRepresentation') {
1324
1324
  const path_contentQualityRepresentation = path + '.contentQualityRepresentation';
1325
1325
  let obj_contentQualityRepresentation_union0 = null;
1326
1326
  const obj_contentQualityRepresentation_union0_error = (() => {
1327
- const referencepath_contentQualityRepresentationValidationError = validate$F(obj_contentQualityRepresentation, path_contentQualityRepresentation);
1327
+ const referencepath_contentQualityRepresentationValidationError = validate$G(obj_contentQualityRepresentation, path_contentQualityRepresentation);
1328
1328
  if (referencepath_contentQualityRepresentationValidationError !== null) {
1329
1329
  let message = 'Object doesn\'t match EinsteinLlmGenerationsContentQualityRepresentation (at "' + path_contentQualityRepresentation + '")\n';
1330
1330
  message += referencepath_contentQualityRepresentationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1372,7 +1372,7 @@ function validate$D(obj, path = 'EinsteinLlmGenerationItemRepresentation') {
1372
1372
  const path_safetyScoreRepresentation = path + '.safetyScoreRepresentation';
1373
1373
  let obj_safetyScoreRepresentation_union0 = null;
1374
1374
  const obj_safetyScoreRepresentation_union0_error = (() => {
1375
- const referencepath_safetyScoreRepresentationValidationError = validate$E(obj_safetyScoreRepresentation, path_safetyScoreRepresentation);
1375
+ const referencepath_safetyScoreRepresentationValidationError = validate$F(obj_safetyScoreRepresentation, path_safetyScoreRepresentation);
1376
1376
  if (referencepath_safetyScoreRepresentationValidationError !== null) {
1377
1377
  let message = 'Object doesn\'t match EinsteinLlmGenerationsSafetyScoreRepresentation (at "' + path_safetyScoreRepresentation + '")\n';
1378
1378
  message += referencepath_safetyScoreRepresentationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1406,12 +1406,12 @@ function validate$D(obj, path = 'EinsteinLlmGenerationItemRepresentation') {
1406
1406
  })();
1407
1407
  return v_error === undefined ? null : v_error;
1408
1408
  }
1409
- const select$P = function EinsteinLlmGenerationItemRepresentationSelect() {
1410
- const { selections: EinsteinLlmGenerationsContentQualityRepresentation__selections, opaque: EinsteinLlmGenerationsContentQualityRepresentation__opaque, } = select$R();
1411
- const { selections: EinsteinLlmGenerationsSafetyScoreRepresentation__selections, opaque: EinsteinLlmGenerationsSafetyScoreRepresentation__opaque, } = select$Q();
1409
+ const select$Q = function EinsteinLlmGenerationItemRepresentationSelect() {
1410
+ const { selections: EinsteinLlmGenerationsContentQualityRepresentation__selections, opaque: EinsteinLlmGenerationsContentQualityRepresentation__opaque, } = select$S();
1411
+ const { selections: EinsteinLlmGenerationsSafetyScoreRepresentation__selections, opaque: EinsteinLlmGenerationsSafetyScoreRepresentation__opaque, } = select$R();
1412
1412
  return {
1413
1413
  kind: 'Fragment',
1414
- version: VERSION$x,
1414
+ version: VERSION$y,
1415
1415
  private: [],
1416
1416
  selections: [
1417
1417
  {
@@ -1448,7 +1448,7 @@ const select$P = function EinsteinLlmGenerationItemRepresentationSelect() {
1448
1448
  ]
1449
1449
  };
1450
1450
  };
1451
- function equals$x(existing, incoming) {
1451
+ function equals$y(existing, incoming) {
1452
1452
  const existing_isSummarized = existing.isSummarized;
1453
1453
  const incoming_isSummarized = incoming.isSummarized;
1454
1454
  // if at least one of these optionals is defined
@@ -1489,7 +1489,7 @@ function equals$x(existing, incoming) {
1489
1489
  if (!(existing_contentQualityRepresentation === incoming_contentQualityRepresentation
1490
1490
  || (existing_contentQualityRepresentation != null &&
1491
1491
  incoming_contentQualityRepresentation != null &&
1492
- equals$z(existing_contentQualityRepresentation, incoming_contentQualityRepresentation)))) {
1492
+ equals$A(existing_contentQualityRepresentation, incoming_contentQualityRepresentation)))) {
1493
1493
  return false;
1494
1494
  }
1495
1495
  }
@@ -1505,15 +1505,15 @@ function equals$x(existing, incoming) {
1505
1505
  if (!(existing_safetyScoreRepresentation === incoming_safetyScoreRepresentation
1506
1506
  || (existing_safetyScoreRepresentation != null &&
1507
1507
  incoming_safetyScoreRepresentation != null &&
1508
- equals$y(existing_safetyScoreRepresentation, incoming_safetyScoreRepresentation)))) {
1508
+ equals$z(existing_safetyScoreRepresentation, incoming_safetyScoreRepresentation)))) {
1509
1509
  return false;
1510
1510
  }
1511
1511
  }
1512
1512
  return true;
1513
1513
  }
1514
1514
 
1515
- const VERSION$w = "379fd960d1a0118f506f458ab2c8dd7e";
1516
- function validate$C(obj, path = 'WrappedMap') {
1515
+ const VERSION$x = "379fd960d1a0118f506f458ab2c8dd7e";
1516
+ function validate$D(obj, path = 'WrappedMap') {
1517
1517
  const v_error = (() => {
1518
1518
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1519
1519
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1535,10 +1535,10 @@ function validate$C(obj, path = 'WrappedMap') {
1535
1535
  })();
1536
1536
  return v_error === undefined ? null : v_error;
1537
1537
  }
1538
- const select$O = function WrappedMapSelect() {
1538
+ const select$P = function WrappedMapSelect() {
1539
1539
  return {
1540
1540
  kind: 'Fragment',
1541
- version: VERSION$w,
1541
+ version: VERSION$x,
1542
1542
  private: [],
1543
1543
  selections: [
1544
1544
  {
@@ -1549,7 +1549,7 @@ const select$O = function WrappedMapSelect() {
1549
1549
  ]
1550
1550
  };
1551
1551
  };
1552
- function equals$w(existing, incoming) {
1552
+ function equals$x(existing, incoming) {
1553
1553
  const existing_wrappedMap = existing.wrappedMap;
1554
1554
  const incoming_wrappedMap = incoming.wrappedMap;
1555
1555
  const equals_wrappedMap_props = equalsObject(existing_wrappedMap, incoming_wrappedMap, (existing_wrappedMap_prop, incoming_wrappedMap_prop) => {
@@ -1564,8 +1564,8 @@ function equals$w(existing, incoming) {
1564
1564
  }
1565
1565
 
1566
1566
  const TTL$b = 100;
1567
- const VERSION$v = "d8abd72a42e842b253da1c38954dafbc";
1568
- function validate$B(obj, path = 'EinsteinLlmGenerationsRepresentation') {
1567
+ const VERSION$w = "d8abd72a42e842b253da1c38954dafbc";
1568
+ function validate$C(obj, path = 'EinsteinLlmGenerationsRepresentation') {
1569
1569
  const v_error = (() => {
1570
1570
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1571
1571
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1578,7 +1578,7 @@ function validate$B(obj, path = 'EinsteinLlmGenerationsRepresentation') {
1578
1578
  for (let i = 0; i < obj_generations.length; i++) {
1579
1579
  const obj_generations_item = obj_generations[i];
1580
1580
  const path_generations_item = path_generations + '[' + i + ']';
1581
- const referencepath_generations_itemValidationError = validate$D(obj_generations_item, path_generations_item);
1581
+ const referencepath_generations_itemValidationError = validate$E(obj_generations_item, path_generations_item);
1582
1582
  if (referencepath_generations_itemValidationError !== null) {
1583
1583
  let message = 'Object doesn\'t match EinsteinLlmGenerationItemRepresentation (at "' + path_generations_item + '")\n';
1584
1584
  message += referencepath_generations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1589,7 +1589,7 @@ function validate$B(obj, path = 'EinsteinLlmGenerationsRepresentation') {
1589
1589
  const path_parameters = path + '.parameters';
1590
1590
  let obj_parameters_union0 = null;
1591
1591
  const obj_parameters_union0_error = (() => {
1592
- const referencepath_parametersValidationError = validate$C(obj_parameters, path_parameters);
1592
+ const referencepath_parametersValidationError = validate$D(obj_parameters, path_parameters);
1593
1593
  if (referencepath_parametersValidationError !== null) {
1594
1594
  let message = 'Object doesn\'t match WrappedMap (at "' + path_parameters + '")\n';
1595
1595
  message += referencepath_parametersValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1661,12 +1661,12 @@ function keyBuilderFromType$3(luvio, object) {
1661
1661
  function normalize$b(input, existing, path, luvio, store, timestamp) {
1662
1662
  return input;
1663
1663
  }
1664
- const select$N = function EinsteinLlmGenerationsRepresentationSelect() {
1665
- const { selections: EinsteinLlmGenerationItemRepresentation__selections, opaque: EinsteinLlmGenerationItemRepresentation__opaque, } = select$P();
1666
- const { selections: WrappedMap__selections, opaque: WrappedMap__opaque, } = select$O();
1664
+ const select$O = function EinsteinLlmGenerationsRepresentationSelect() {
1665
+ const { selections: EinsteinLlmGenerationItemRepresentation__selections, opaque: EinsteinLlmGenerationItemRepresentation__opaque, } = select$Q();
1666
+ const { selections: WrappedMap__selections, opaque: WrappedMap__opaque, } = select$P();
1667
1667
  return {
1668
1668
  kind: 'Fragment',
1669
- version: VERSION$v,
1669
+ version: VERSION$w,
1670
1670
  private: [],
1671
1671
  selections: [
1672
1672
  {
@@ -1692,7 +1692,7 @@ const select$N = function EinsteinLlmGenerationsRepresentationSelect() {
1692
1692
  ]
1693
1693
  };
1694
1694
  };
1695
- function equals$v(existing, incoming) {
1695
+ function equals$w(existing, incoming) {
1696
1696
  const existing_requestId = existing.requestId;
1697
1697
  const incoming_requestId = incoming.requestId;
1698
1698
  if (!(existing_requestId === incoming_requestId)) {
@@ -1701,7 +1701,7 @@ function equals$v(existing, incoming) {
1701
1701
  const existing_generations = existing.generations;
1702
1702
  const incoming_generations = incoming.generations;
1703
1703
  const equals_generations_items = equalsArray(existing_generations, incoming_generations, (existing_generations_item, incoming_generations_item) => {
1704
- if (!(equals$x(existing_generations_item, incoming_generations_item))) {
1704
+ if (!(equals$y(existing_generations_item, incoming_generations_item))) {
1705
1705
  return false;
1706
1706
  }
1707
1707
  });
@@ -1713,7 +1713,7 @@ function equals$v(existing, incoming) {
1713
1713
  if (!(existing_parameters === incoming_parameters
1714
1714
  || (existing_parameters != null &&
1715
1715
  incoming_parameters != null &&
1716
- equals$w(existing_parameters, incoming_parameters)))) {
1716
+ equals$x(existing_parameters, incoming_parameters)))) {
1717
1717
  return false;
1718
1718
  }
1719
1719
  const existing_prompt = existing.prompt;
@@ -1725,14 +1725,14 @@ function equals$v(existing, incoming) {
1725
1725
  }
1726
1726
  const ingest$b = function EinsteinLlmGenerationsRepresentationIngest(input, path, luvio, store, timestamp) {
1727
1727
  if (process.env.NODE_ENV !== 'production') {
1728
- const validateError = validate$B(input);
1728
+ const validateError = validate$C(input);
1729
1729
  if (validateError !== null) {
1730
1730
  throw validateError;
1731
1731
  }
1732
1732
  }
1733
1733
  const key = keyBuilderFromType$3(luvio, input);
1734
1734
  const ttlToUse = TTL$b;
1735
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "EinsteinLLM", VERSION$v, RepresentationType$b, equals$v);
1735
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "EinsteinLLM", VERSION$w, RepresentationType$b, equals$w);
1736
1736
  return createLink(key);
1737
1737
  };
1738
1738
  function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
@@ -1745,8 +1745,8 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
1745
1745
  });
1746
1746
  }
1747
1747
 
1748
- function select$M(luvio, params) {
1749
- return select$N();
1748
+ function select$N(luvio, params) {
1749
+ return select$O();
1750
1750
  }
1751
1751
  function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
1752
1752
  getTypeCacheKeys$b(storeKeyMap, luvio, response);
@@ -1757,7 +1757,7 @@ function ingestSuccess$h(luvio, resourceParams, response) {
1757
1757
  luvio.storeIngest(key, ingest$b, body);
1758
1758
  const snapshot = luvio.storeLookup({
1759
1759
  recordId: key,
1760
- node: select$M(),
1760
+ node: select$N(),
1761
1761
  variables: {},
1762
1762
  });
1763
1763
  if (process.env.NODE_ENV !== 'production') {
@@ -1791,7 +1791,7 @@ const createResourceParams$h = /*#__PURE__*/ createResourceParams$k(createGenera
1791
1791
  function typeCheckConfig$h(untrustedConfig) {
1792
1792
  const config = {};
1793
1793
  const untrustedConfig_generationsInput = untrustedConfig.generationsInput;
1794
- const referenceEinsteinLlmGenerationsInputRepresentationValidationError = validate$G(untrustedConfig_generationsInput);
1794
+ const referenceEinsteinLlmGenerationsInputRepresentationValidationError = validate$H(untrustedConfig_generationsInput);
1795
1795
  if (referenceEinsteinLlmGenerationsInputRepresentationValidationError === null) {
1796
1796
  config.generationsInput = untrustedConfig_generationsInput;
1797
1797
  }
@@ -1839,7 +1839,7 @@ const createGenerationsAdapterFactory = (luvio) => {
1839
1839
  };
1840
1840
  };
1841
1841
 
1842
- function validate$A(obj, path = 'EinsteinPromptRecordFieldRepresentation') {
1842
+ function validate$B(obj, path = 'EinsteinPromptRecordFieldRepresentation') {
1843
1843
  const v_error = (() => {
1844
1844
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1845
1845
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1917,8 +1917,8 @@ function validate$A(obj, path = 'EinsteinPromptRecordFieldRepresentation') {
1917
1917
  }
1918
1918
 
1919
1919
  const TTL$a = 100;
1920
- const VERSION$u = "2d1628544b54fc1701aa9b4eff05127b";
1921
- function validate$z(obj, path = 'EinsteinPromptRecordRepresentation') {
1920
+ const VERSION$v = "2d1628544b54fc1701aa9b4eff05127b";
1921
+ function validate$A(obj, path = 'EinsteinPromptRecordRepresentation') {
1922
1922
  const v_error = (() => {
1923
1923
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1924
1924
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1947,7 +1947,7 @@ function validate$z(obj, path = 'EinsteinPromptRecordRepresentation') {
1947
1947
  for (let i = 0; i < obj_childRelationships_prop.length; i++) {
1948
1948
  const obj_childRelationships_prop_item = obj_childRelationships_prop[i];
1949
1949
  const path_childRelationships_prop_item = path_childRelationships_prop + '[' + i + ']';
1950
- const referencepath_childRelationships_prop_itemValidationError = validate$z(obj_childRelationships_prop_item, path_childRelationships_prop_item);
1950
+ const referencepath_childRelationships_prop_itemValidationError = validate$A(obj_childRelationships_prop_item, path_childRelationships_prop_item);
1951
1951
  if (referencepath_childRelationships_prop_itemValidationError !== null) {
1952
1952
  let message = 'Object doesn\'t match EinsteinPromptRecordRepresentation (at "' + path_childRelationships_prop_item + '")\n';
1953
1953
  message += referencepath_childRelationships_prop_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1967,7 +1967,7 @@ function validate$z(obj, path = 'EinsteinPromptRecordRepresentation') {
1967
1967
  const key = obj_fields_keys[i];
1968
1968
  const obj_fields_prop = obj_fields[key];
1969
1969
  const path_fields_prop = path_fields + '["' + key + '"]';
1970
- const referencepath_fields_propValidationError = validate$A(obj_fields_prop, path_fields_prop);
1970
+ const referencepath_fields_propValidationError = validate$B(obj_fields_prop, path_fields_prop);
1971
1971
  if (referencepath_fields_propValidationError !== null) {
1972
1972
  let message = 'Object doesn\'t match EinsteinPromptRecordFieldRepresentation (at "' + path_fields_prop + '")\n';
1973
1973
  message += referencepath_fields_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1989,15 +1989,15 @@ const RepresentationType$a = 'EinsteinPromptRecordRepresentation';
1989
1989
  function normalize$a(input, existing, path, luvio, store, timestamp) {
1990
1990
  return input;
1991
1991
  }
1992
- const select$L = function EinsteinPromptRecordRepresentationSelect() {
1992
+ const select$M = function EinsteinPromptRecordRepresentationSelect() {
1993
1993
  return {
1994
1994
  kind: 'Fragment',
1995
- version: VERSION$u,
1995
+ version: VERSION$v,
1996
1996
  private: [],
1997
1997
  opaque: true
1998
1998
  };
1999
1999
  };
2000
- function equals$u(existing, incoming) {
2000
+ function equals$v(existing, incoming) {
2001
2001
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
2002
2002
  return false;
2003
2003
  }
@@ -2005,14 +2005,14 @@ function equals$u(existing, incoming) {
2005
2005
  }
2006
2006
  const ingest$a = function EinsteinPromptRecordRepresentationIngest(input, path, luvio, store, timestamp) {
2007
2007
  if (process.env.NODE_ENV !== 'production') {
2008
- const validateError = validate$z(input);
2008
+ const validateError = validate$A(input);
2009
2009
  if (validateError !== null) {
2010
2010
  throw validateError;
2011
2011
  }
2012
2012
  }
2013
2013
  const key = path.fullPath;
2014
2014
  const ttlToUse = TTL$a;
2015
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "EinsteinLLM", VERSION$u, RepresentationType$a, equals$u);
2015
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "EinsteinLLM", VERSION$v, RepresentationType$a, equals$v);
2016
2016
  return createLink(key);
2017
2017
  };
2018
2018
  function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
@@ -2026,8 +2026,8 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
2026
2026
  }
2027
2027
 
2028
2028
  const TTL$9 = 100;
2029
- const VERSION$t = "5fd7b8a03d155ba601bcb4ee725e0893";
2030
- function validate$y(obj, path = 'EinsteinPromptRecordCollectionOutputRepresentation') {
2029
+ const VERSION$u = "5fd7b8a03d155ba601bcb4ee725e0893";
2030
+ function validate$z(obj, path = 'EinsteinPromptRecordCollectionOutputRepresentation') {
2031
2031
  const v_error = (() => {
2032
2032
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2033
2033
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2046,7 +2046,7 @@ function validate$y(obj, path = 'EinsteinPromptRecordCollectionOutputRepresentat
2046
2046
  for (let i = 0; i < obj_promptRecords.length; i++) {
2047
2047
  const obj_promptRecords_item = obj_promptRecords[i];
2048
2048
  const path_promptRecords_item = path_promptRecords + '[' + i + ']';
2049
- const referencepath_promptRecords_itemValidationError = validate$z(obj_promptRecords_item, path_promptRecords_item);
2049
+ const referencepath_promptRecords_itemValidationError = validate$A(obj_promptRecords_item, path_promptRecords_item);
2050
2050
  if (referencepath_promptRecords_itemValidationError !== null) {
2051
2051
  let message = 'Object doesn\'t match EinsteinPromptRecordRepresentation (at "' + path_promptRecords_item + '")\n';
2052
2052
  message += referencepath_promptRecords_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2066,15 +2066,15 @@ const RepresentationType$9 = 'EinsteinPromptRecordCollectionOutputRepresentation
2066
2066
  function normalize$9(input, existing, path, luvio, store, timestamp) {
2067
2067
  return input;
2068
2068
  }
2069
- const select$K = function EinsteinPromptRecordCollectionOutputRepresentationSelect() {
2069
+ const select$L = function EinsteinPromptRecordCollectionOutputRepresentationSelect() {
2070
2070
  return {
2071
2071
  kind: 'Fragment',
2072
- version: VERSION$t,
2072
+ version: VERSION$u,
2073
2073
  private: [],
2074
2074
  opaque: true
2075
2075
  };
2076
2076
  };
2077
- function equals$t(existing, incoming) {
2077
+ function equals$u(existing, incoming) {
2078
2078
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
2079
2079
  return false;
2080
2080
  }
@@ -2082,14 +2082,14 @@ function equals$t(existing, incoming) {
2082
2082
  }
2083
2083
  const ingest$9 = function EinsteinPromptRecordCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2084
2084
  if (process.env.NODE_ENV !== 'production') {
2085
- const validateError = validate$y(input);
2085
+ const validateError = validate$z(input);
2086
2086
  if (validateError !== null) {
2087
2087
  throw validateError;
2088
2088
  }
2089
2089
  }
2090
2090
  const key = path.fullPath;
2091
2091
  const ttlToUse = TTL$9;
2092
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "EinsteinLLM", VERSION$t, RepresentationType$9, equals$t);
2092
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "EinsteinLLM", VERSION$u, RepresentationType$9, equals$u);
2093
2093
  return createLink(key);
2094
2094
  };
2095
2095
  function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
@@ -2102,8 +2102,8 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
2102
2102
  });
2103
2103
  }
2104
2104
 
2105
- function select$J(luvio, params) {
2106
- return select$K();
2105
+ function select$K(luvio, params) {
2106
+ return select$L();
2107
2107
  }
2108
2108
  function keyBuilder$o(luvio, params) {
2109
2109
  return keyPrefix + '::EinsteinPromptRecordCollectionOutputRepresentation:(' + 'isActive:' + params.queryParams.isActive + ',' + 'fields:' + params.queryParams.fields + ',' + 'relatedEntity:' + params.queryParams.relatedEntity + ',' + 'offset:' + params.queryParams.offset + ',' + 'pageLimit:' + params.queryParams.pageLimit + ',' + 'type:' + params.queryParams.type + ',' + 'query:' + params.queryParams.query + ',' + 'sortBy:' + params.queryParams.sortBy + ')';
@@ -2117,7 +2117,7 @@ function ingestSuccess$g(luvio, resourceParams, response, snapshotRefresh) {
2117
2117
  luvio.storeIngest(key, ingest$9, body);
2118
2118
  const snapshot = luvio.storeLookup({
2119
2119
  recordId: key,
2120
- node: select$J(),
2120
+ node: select$K(),
2121
2121
  variables: {},
2122
2122
  }, snapshotRefresh);
2123
2123
  if (process.env.NODE_ENV !== 'production') {
@@ -2134,7 +2134,7 @@ function ingestError$a(luvio, params, error, snapshotRefresh) {
2134
2134
  const storeMetadataParams = {
2135
2135
  ttl: TTL$9,
2136
2136
  namespace: keyPrefix,
2137
- version: VERSION$t,
2137
+ version: VERSION$u,
2138
2138
  representationName: RepresentationType$9
2139
2139
  };
2140
2140
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
@@ -2191,7 +2191,7 @@ function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
2191
2191
  }
2192
2192
  function adapterFragment$a(luvio, config) {
2193
2193
  createResourceParams$g(config);
2194
- return select$J();
2194
+ return select$K();
2195
2195
  }
2196
2196
  function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
2197
2197
  const snapshot = ingestSuccess$g(luvio, resourceParams, response, {
@@ -2248,8 +2248,8 @@ const getPromptTemplatesAdapterFactory = (luvio) => function EinsteinLLM__getPro
2248
2248
  };
2249
2249
 
2250
2250
  const TTL$8 = 100;
2251
- const VERSION$s = "a90a51578e2fdd7a9741d310bed22b1d";
2252
- function validate$x(obj, path = 'EinsteinPromptTemplateRepresentation') {
2251
+ const VERSION$t = "a90a51578e2fdd7a9741d310bed22b1d";
2252
+ function validate$y(obj, path = 'EinsteinPromptTemplateRepresentation') {
2253
2253
  const v_error = (() => {
2254
2254
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2255
2255
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2257,7 +2257,7 @@ function validate$x(obj, path = 'EinsteinPromptTemplateRepresentation') {
2257
2257
  if (obj.additionalData !== undefined) {
2258
2258
  const obj_additionalData = obj.additionalData;
2259
2259
  const path_additionalData = path + '.additionalData';
2260
- const referencepath_additionalDataValidationError = validate$C(obj_additionalData, path_additionalData);
2260
+ const referencepath_additionalDataValidationError = validate$D(obj_additionalData, path_additionalData);
2261
2261
  if (referencepath_additionalDataValidationError !== null) {
2262
2262
  let message = 'Object doesn\'t match WrappedMap (at "' + path_additionalData + '")\n';
2263
2263
  message += referencepath_additionalDataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2338,11 +2338,11 @@ function keyBuilderFromType$2(luvio, object) {
2338
2338
  function normalize$8(input, existing, path, luvio, store, timestamp) {
2339
2339
  return input;
2340
2340
  }
2341
- const select$I = function EinsteinPromptTemplateRepresentationSelect() {
2342
- const { selections: WrappedMap__selections, opaque: WrappedMap__opaque, } = select$O();
2341
+ const select$J = function EinsteinPromptTemplateRepresentationSelect() {
2342
+ const { selections: WrappedMap__selections, opaque: WrappedMap__opaque, } = select$P();
2343
2343
  return {
2344
2344
  kind: 'Fragment',
2345
- version: VERSION$s,
2345
+ version: VERSION$t,
2346
2346
  private: [],
2347
2347
  selections: [
2348
2348
  {
@@ -2390,7 +2390,7 @@ const select$I = function EinsteinPromptTemplateRepresentationSelect() {
2390
2390
  ]
2391
2391
  };
2392
2392
  };
2393
- function equals$s(existing, incoming) {
2393
+ function equals$t(existing, incoming) {
2394
2394
  const existing_hasWarning = existing.hasWarning;
2395
2395
  const incoming_hasWarning = incoming.hasWarning;
2396
2396
  if (!(existing_hasWarning === incoming_hasWarning)) {
@@ -2446,7 +2446,7 @@ function equals$s(existing, incoming) {
2446
2446
  if (existing_additionalData === undefined || incoming_additionalData === undefined) {
2447
2447
  return false;
2448
2448
  }
2449
- if (!(equals$w(existing_additionalData, incoming_additionalData))) {
2449
+ if (!(equals$x(existing_additionalData, incoming_additionalData))) {
2450
2450
  return false;
2451
2451
  }
2452
2452
  }
@@ -2474,14 +2474,14 @@ function equals$s(existing, incoming) {
2474
2474
  }
2475
2475
  const ingest$8 = function EinsteinPromptTemplateRepresentationIngest(input, path, luvio, store, timestamp) {
2476
2476
  if (process.env.NODE_ENV !== 'production') {
2477
- const validateError = validate$x(input);
2477
+ const validateError = validate$y(input);
2478
2478
  if (validateError !== null) {
2479
2479
  throw validateError;
2480
2480
  }
2481
2481
  }
2482
2482
  const key = keyBuilderFromType$2(luvio, input);
2483
2483
  const ttlToUse = TTL$8;
2484
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "EinsteinLLM", VERSION$s, RepresentationType$8, equals$s);
2484
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "EinsteinLLM", VERSION$t, RepresentationType$8, equals$t);
2485
2485
  return createLink(key);
2486
2486
  };
2487
2487
  function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
@@ -2494,8 +2494,8 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
2494
2494
  });
2495
2495
  }
2496
2496
 
2497
- function select$H(luvio, params) {
2498
- return select$I();
2497
+ function select$I(luvio, params) {
2498
+ return select$J();
2499
2499
  }
2500
2500
  function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
2501
2501
  getTypeCacheKeys$8(storeKeyMap, luvio, response);
@@ -2506,7 +2506,7 @@ function ingestSuccess$f(luvio, resourceParams, response) {
2506
2506
  luvio.storeIngest(key, ingest$8, body);
2507
2507
  const snapshot = luvio.storeLookup({
2508
2508
  recordId: key,
2509
- node: select$H(),
2509
+ node: select$I(),
2510
2510
  variables: {},
2511
2511
  });
2512
2512
  if (process.env.NODE_ENV !== 'production') {
@@ -2617,7 +2617,7 @@ const createPromptTemplateAdapterFactory = (luvio) => {
2617
2617
  };
2618
2618
  };
2619
2619
 
2620
- function validate$w(obj, path = 'PromptTemplateDataProviderOutputParamRepresentation') {
2620
+ function validate$x(obj, path = 'PromptTemplateDataProviderOutputParamRepresentation') {
2621
2621
  const v_error = (() => {
2622
2622
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2623
2623
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2643,7 +2643,7 @@ function validate$w(obj, path = 'PromptTemplateDataProviderOutputParamRepresenta
2643
2643
  return v_error === undefined ? null : v_error;
2644
2644
  }
2645
2645
 
2646
- function validate$v(obj, path = 'PromptTemplateDataProviderInputParamRepresentation') {
2646
+ function validate$w(obj, path = 'PromptTemplateDataProviderInputParamRepresentation') {
2647
2647
  const v_error = (() => {
2648
2648
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2649
2649
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2673,8 +2673,8 @@ function validate$v(obj, path = 'PromptTemplateDataProviderInputParamRepresentat
2673
2673
  }
2674
2674
 
2675
2675
  const TTL$7 = 300;
2676
- const VERSION$r = "fa3851cb23dffdbba0de38938eecbcaa";
2677
- function validate$u(obj, path = 'PromptTemplateDataProviderInstanceConfigRepresentation') {
2676
+ const VERSION$s = "fa3851cb23dffdbba0de38938eecbcaa";
2677
+ function validate$v(obj, path = 'PromptTemplateDataProviderInstanceConfigRepresentation') {
2678
2678
  const v_error = (() => {
2679
2679
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2680
2680
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2703,7 +2703,7 @@ function validate$u(obj, path = 'PromptTemplateDataProviderInstanceConfigReprese
2703
2703
  if (obj.defaultOutputParam !== undefined) {
2704
2704
  const obj_defaultOutputParam = obj.defaultOutputParam;
2705
2705
  const path_defaultOutputParam = path + '.defaultOutputParam';
2706
- const referencepath_defaultOutputParamValidationError = validate$w(obj_defaultOutputParam, path_defaultOutputParam);
2706
+ const referencepath_defaultOutputParamValidationError = validate$x(obj_defaultOutputParam, path_defaultOutputParam);
2707
2707
  if (referencepath_defaultOutputParamValidationError !== null) {
2708
2708
  let message = 'Object doesn\'t match PromptTemplateDataProviderOutputParamRepresentation (at "' + path_defaultOutputParam + '")\n';
2709
2709
  message += referencepath_defaultOutputParamValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2757,7 +2757,7 @@ function validate$u(obj, path = 'PromptTemplateDataProviderInstanceConfigReprese
2757
2757
  for (let i = 0; i < obj_inputParams.length; i++) {
2758
2758
  const obj_inputParams_item = obj_inputParams[i];
2759
2759
  const path_inputParams_item = path_inputParams + '[' + i + ']';
2760
- const referencepath_inputParams_itemValidationError = validate$v(obj_inputParams_item, path_inputParams_item);
2760
+ const referencepath_inputParams_itemValidationError = validate$w(obj_inputParams_item, path_inputParams_item);
2761
2761
  if (referencepath_inputParams_itemValidationError !== null) {
2762
2762
  let message = 'Object doesn\'t match PromptTemplateDataProviderInputParamRepresentation (at "' + path_inputParams_item + '")\n';
2763
2763
  message += referencepath_inputParams_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2830,7 +2830,7 @@ function validate$u(obj, path = 'PromptTemplateDataProviderInstanceConfigReprese
2830
2830
  for (let i = 0; i < obj_outputParams.length; i++) {
2831
2831
  const obj_outputParams_item = obj_outputParams[i];
2832
2832
  const path_outputParams_item = path_outputParams + '[' + i + ']';
2833
- const referencepath_outputParams_itemValidationError = validate$w(obj_outputParams_item, path_outputParams_item);
2833
+ const referencepath_outputParams_itemValidationError = validate$x(obj_outputParams_item, path_outputParams_item);
2834
2834
  if (referencepath_outputParams_itemValidationError !== null) {
2835
2835
  let message = 'Object doesn\'t match PromptTemplateDataProviderOutputParamRepresentation (at "' + path_outputParams_item + '")\n';
2836
2836
  message += referencepath_outputParams_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2906,15 +2906,15 @@ const RepresentationType$7 = 'PromptTemplateDataProviderInstanceConfigRepresenta
2906
2906
  function normalize$7(input, existing, path, luvio, store, timestamp) {
2907
2907
  return input;
2908
2908
  }
2909
- const select$G = function PromptTemplateDataProviderInstanceConfigRepresentationSelect() {
2909
+ const select$H = function PromptTemplateDataProviderInstanceConfigRepresentationSelect() {
2910
2910
  return {
2911
2911
  kind: 'Fragment',
2912
- version: VERSION$r,
2912
+ version: VERSION$s,
2913
2913
  private: [],
2914
2914
  opaque: true
2915
2915
  };
2916
2916
  };
2917
- function equals$r(existing, incoming) {
2917
+ function equals$s(existing, incoming) {
2918
2918
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
2919
2919
  return false;
2920
2920
  }
@@ -2922,14 +2922,14 @@ function equals$r(existing, incoming) {
2922
2922
  }
2923
2923
  const ingest$7 = function PromptTemplateDataProviderInstanceConfigRepresentationIngest(input, path, luvio, store, timestamp) {
2924
2924
  if (process.env.NODE_ENV !== 'production') {
2925
- const validateError = validate$u(input);
2925
+ const validateError = validate$v(input);
2926
2926
  if (validateError !== null) {
2927
2927
  throw validateError;
2928
2928
  }
2929
2929
  }
2930
2930
  const key = path.fullPath;
2931
2931
  const ttlToUse = TTL$7;
2932
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "EinsteinLLM", VERSION$r, RepresentationType$7, equals$r);
2932
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "EinsteinLLM", VERSION$s, RepresentationType$7, equals$s);
2933
2933
  return createLink(key);
2934
2934
  };
2935
2935
  function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
@@ -2943,8 +2943,8 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
2943
2943
  }
2944
2944
 
2945
2945
  const TTL$6 = 300;
2946
- const VERSION$q = "3a6ecdfe18eb2af8f8f6aaa1a30b194c";
2947
- function validate$t(obj, path = 'PromptTemplateDataProviderInstanceConfigCollectionRepresentation') {
2946
+ const VERSION$r = "3a6ecdfe18eb2af8f8f6aaa1a30b194c";
2947
+ function validate$u(obj, path = 'PromptTemplateDataProviderInstanceConfigCollectionRepresentation') {
2948
2948
  const v_error = (() => {
2949
2949
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2950
2950
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2957,7 +2957,7 @@ function validate$t(obj, path = 'PromptTemplateDataProviderInstanceConfigCollect
2957
2957
  for (let i = 0; i < obj_dataProviderInstanceConfigs.length; i++) {
2958
2958
  const obj_dataProviderInstanceConfigs_item = obj_dataProviderInstanceConfigs[i];
2959
2959
  const path_dataProviderInstanceConfigs_item = path_dataProviderInstanceConfigs + '[' + i + ']';
2960
- const referencepath_dataProviderInstanceConfigs_itemValidationError = validate$u(obj_dataProviderInstanceConfigs_item, path_dataProviderInstanceConfigs_item);
2960
+ const referencepath_dataProviderInstanceConfigs_itemValidationError = validate$v(obj_dataProviderInstanceConfigs_item, path_dataProviderInstanceConfigs_item);
2961
2961
  if (referencepath_dataProviderInstanceConfigs_itemValidationError !== null) {
2962
2962
  let message = 'Object doesn\'t match PromptTemplateDataProviderInstanceConfigRepresentation (at "' + path_dataProviderInstanceConfigs_item + '")\n';
2963
2963
  message += referencepath_dataProviderInstanceConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2971,15 +2971,15 @@ const RepresentationType$6 = 'PromptTemplateDataProviderInstanceConfigCollection
2971
2971
  function normalize$6(input, existing, path, luvio, store, timestamp) {
2972
2972
  return input;
2973
2973
  }
2974
- const select$F = function PromptTemplateDataProviderInstanceConfigCollectionRepresentationSelect() {
2974
+ const select$G = function PromptTemplateDataProviderInstanceConfigCollectionRepresentationSelect() {
2975
2975
  return {
2976
2976
  kind: 'Fragment',
2977
- version: VERSION$q,
2977
+ version: VERSION$r,
2978
2978
  private: [],
2979
2979
  opaque: true
2980
2980
  };
2981
2981
  };
2982
- function equals$q(existing, incoming) {
2982
+ function equals$r(existing, incoming) {
2983
2983
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
2984
2984
  return false;
2985
2985
  }
@@ -2987,14 +2987,14 @@ function equals$q(existing, incoming) {
2987
2987
  }
2988
2988
  const ingest$6 = function PromptTemplateDataProviderInstanceConfigCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
2989
2989
  if (process.env.NODE_ENV !== 'production') {
2990
- const validateError = validate$t(input);
2990
+ const validateError = validate$u(input);
2991
2991
  if (validateError !== null) {
2992
2992
  throw validateError;
2993
2993
  }
2994
2994
  }
2995
2995
  const key = path.fullPath;
2996
2996
  const ttlToUse = TTL$6;
2997
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "EinsteinLLM", VERSION$q, RepresentationType$6, equals$q);
2997
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "EinsteinLLM", VERSION$r, RepresentationType$6, equals$r);
2998
2998
  return createLink(key);
2999
2999
  };
3000
3000
  function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
@@ -3007,8 +3007,8 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
3007
3007
  });
3008
3008
  }
3009
3009
 
3010
- function select$E(luvio, params) {
3011
- return select$F();
3010
+ function select$F(luvio, params) {
3011
+ return select$G();
3012
3012
  }
3013
3013
  function keyBuilder$l(luvio, params) {
3014
3014
  return keyPrefix + '::PromptTemplateDataProviderInstanceConfigCollectionRepresentation:(' + (params.body.groupName === undefined ? 'groupName' : 'groupName:' + params.body.groupName) + '::' + (params.body.target === undefined ? 'target' : 'target:' + params.body.target) + '::' + 'templateInputs:' + params.body.templateInputs + '::' + 'templateTypeName:' + params.body.templateTypeName + ')';
@@ -3022,7 +3022,7 @@ function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
3022
3022
  luvio.storeIngest(key, ingest$6, body);
3023
3023
  const snapshot = luvio.storeLookup({
3024
3024
  recordId: key,
3025
- node: select$E(),
3025
+ node: select$F(),
3026
3026
  variables: {},
3027
3027
  }, snapshotRefresh);
3028
3028
  if (process.env.NODE_ENV !== 'production') {
@@ -3039,7 +3039,7 @@ function ingestError$9(luvio, params, error, snapshotRefresh) {
3039
3039
  const storeMetadataParams = {
3040
3040
  ttl: TTL$6,
3041
3041
  namespace: keyPrefix,
3042
- version: VERSION$q,
3042
+ version: VERSION$r,
3043
3043
  representationName: RepresentationType$6
3044
3044
  };
3045
3045
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
@@ -3101,7 +3101,7 @@ function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
3101
3101
  }
3102
3102
  function adapterFragment$9(luvio, config) {
3103
3103
  createResourceParams$e(config);
3104
- return select$E();
3104
+ return select$F();
3105
3105
  }
3106
3106
  function onFetchResponseSuccess$9(luvio, config, resourceParams, response) {
3107
3107
  const snapshot = ingestSuccess$e(luvio, resourceParams, response, {
@@ -3157,8 +3157,8 @@ const getInputMappedDataProvidersAdapterFactory = (luvio) => function EinsteinLL
3157
3157
  buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
3158
3158
  };
3159
3159
 
3160
- function select$D(luvio, params) {
3161
- return select$F();
3160
+ function select$E(luvio, params) {
3161
+ return select$G();
3162
3162
  }
3163
3163
  function keyBuilder$j(luvio, params) {
3164
3164
  return keyPrefix + '::PromptTemplateDataProviderInstanceConfigCollectionRepresentation:(' + 'groupNames:' + params.queryParams.groupNames + ',' + 'targets:' + params.queryParams.targets + ',' + 'templateType:' + params.urlParams.templateType + ')';
@@ -3172,7 +3172,7 @@ function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
3172
3172
  luvio.storeIngest(key, ingest$6, body);
3173
3173
  const snapshot = luvio.storeLookup({
3174
3174
  recordId: key,
3175
- node: select$D(),
3175
+ node: select$E(),
3176
3176
  variables: {},
3177
3177
  }, snapshotRefresh);
3178
3178
  if (process.env.NODE_ENV !== 'production') {
@@ -3189,7 +3189,7 @@ function ingestError$8(luvio, params, error, snapshotRefresh) {
3189
3189
  const storeMetadataParams = {
3190
3190
  ttl: TTL$6,
3191
3191
  namespace: keyPrefix,
3192
- version: VERSION$q,
3192
+ version: VERSION$r,
3193
3193
  representationName: RepresentationType$6
3194
3194
  };
3195
3195
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
@@ -3241,7 +3241,7 @@ function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
3241
3241
  }
3242
3242
  function adapterFragment$8(luvio, config) {
3243
3243
  createResourceParams$d(config);
3244
- return select$D();
3244
+ return select$E();
3245
3245
  }
3246
3246
  function onFetchResponseSuccess$8(luvio, config, resourceParams, response) {
3247
3247
  const snapshot = ingestSuccess$d(luvio, resourceParams, response, {
@@ -3297,8 +3297,8 @@ const getDataProvidersAdapterFactory = (luvio) => function EinsteinLLM__getDataP
3297
3297
  buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$8);
3298
3298
  };
3299
3299
 
3300
- function select$C(luvio, params) {
3301
- return select$G();
3300
+ function select$D(luvio, params) {
3301
+ return select$H();
3302
3302
  }
3303
3303
  function keyBuilder$h(luvio, params) {
3304
3304
  return keyPrefix + '::PromptTemplateDataProviderInstanceConfigRepresentation:(' + stableJSONStringify(params.body.additionalParam) + '::' + 'definition:' + params.body.definition + '::' + 'groupName:' + params.body.groupName + ')';
@@ -3312,7 +3312,7 @@ function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
3312
3312
  luvio.storeIngest(key, ingest$7, body);
3313
3313
  const snapshot = luvio.storeLookup({
3314
3314
  recordId: key,
3315
- node: select$C(),
3315
+ node: select$D(),
3316
3316
  variables: {},
3317
3317
  }, snapshotRefresh);
3318
3318
  if (process.env.NODE_ENV !== 'production') {
@@ -3329,7 +3329,7 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
3329
3329
  const storeMetadataParams = {
3330
3330
  ttl: TTL$7,
3331
3331
  namespace: keyPrefix,
3332
- version: VERSION$r,
3332
+ version: VERSION$s,
3333
3333
  representationName: RepresentationType$7
3334
3334
  };
3335
3335
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
@@ -3396,7 +3396,7 @@ function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
3396
3396
  }
3397
3397
  function adapterFragment$7(luvio, config) {
3398
3398
  createResourceParams$c(config);
3399
- return select$C();
3399
+ return select$D();
3400
3400
  }
3401
3401
  function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
3402
3402
  const snapshot = ingestSuccess$c(luvio, resourceParams, response, {
@@ -3452,7 +3452,7 @@ const getDataProviderInstanceConfigAdapterFactory = (luvio) => function Einstein
3452
3452
  buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
3453
3453
  };
3454
3454
 
3455
- function validate$s(obj, path = 'PromptTemplateDataProviderTypeConfigRepresentation') {
3455
+ function validate$t(obj, path = 'PromptTemplateDataProviderTypeConfigRepresentation') {
3456
3456
  const v_error = (() => {
3457
3457
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3458
3458
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3503,8 +3503,8 @@ function validate$s(obj, path = 'PromptTemplateDataProviderTypeConfigRepresentat
3503
3503
  }
3504
3504
 
3505
3505
  const TTL$5 = 300;
3506
- const VERSION$p = "212332dac1decc071b476742df3440fb";
3507
- function validate$r(obj, path = 'PromptTemplateDataProviderTypeConfigCollectionRepresentation') {
3506
+ const VERSION$q = "212332dac1decc071b476742df3440fb";
3507
+ function validate$s(obj, path = 'PromptTemplateDataProviderTypeConfigCollectionRepresentation') {
3508
3508
  const v_error = (() => {
3509
3509
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3510
3510
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3517,7 +3517,7 @@ function validate$r(obj, path = 'PromptTemplateDataProviderTypeConfigCollectionR
3517
3517
  for (let i = 0; i < obj_dataProviderTypeConfigs.length; i++) {
3518
3518
  const obj_dataProviderTypeConfigs_item = obj_dataProviderTypeConfigs[i];
3519
3519
  const path_dataProviderTypeConfigs_item = path_dataProviderTypeConfigs + '[' + i + ']';
3520
- const referencepath_dataProviderTypeConfigs_itemValidationError = validate$s(obj_dataProviderTypeConfigs_item, path_dataProviderTypeConfigs_item);
3520
+ const referencepath_dataProviderTypeConfigs_itemValidationError = validate$t(obj_dataProviderTypeConfigs_item, path_dataProviderTypeConfigs_item);
3521
3521
  if (referencepath_dataProviderTypeConfigs_itemValidationError !== null) {
3522
3522
  let message = 'Object doesn\'t match PromptTemplateDataProviderTypeConfigRepresentation (at "' + path_dataProviderTypeConfigs_item + '")\n';
3523
3523
  message += referencepath_dataProviderTypeConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3531,15 +3531,15 @@ const RepresentationType$5 = 'PromptTemplateDataProviderTypeConfigCollectionRepr
3531
3531
  function normalize$5(input, existing, path, luvio, store, timestamp) {
3532
3532
  return input;
3533
3533
  }
3534
- const select$B = function PromptTemplateDataProviderTypeConfigCollectionRepresentationSelect() {
3534
+ const select$C = function PromptTemplateDataProviderTypeConfigCollectionRepresentationSelect() {
3535
3535
  return {
3536
3536
  kind: 'Fragment',
3537
- version: VERSION$p,
3537
+ version: VERSION$q,
3538
3538
  private: [],
3539
3539
  opaque: true
3540
3540
  };
3541
3541
  };
3542
- function equals$p(existing, incoming) {
3542
+ function equals$q(existing, incoming) {
3543
3543
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
3544
3544
  return false;
3545
3545
  }
@@ -3547,14 +3547,14 @@ function equals$p(existing, incoming) {
3547
3547
  }
3548
3548
  const ingest$5 = function PromptTemplateDataProviderTypeConfigCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
3549
3549
  if (process.env.NODE_ENV !== 'production') {
3550
- const validateError = validate$r(input);
3550
+ const validateError = validate$s(input);
3551
3551
  if (validateError !== null) {
3552
3552
  throw validateError;
3553
3553
  }
3554
3554
  }
3555
3555
  const key = path.fullPath;
3556
3556
  const ttlToUse = TTL$5;
3557
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "EinsteinLLM", VERSION$p, RepresentationType$5, equals$p);
3557
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "EinsteinLLM", VERSION$q, RepresentationType$5, equals$q);
3558
3558
  return createLink(key);
3559
3559
  };
3560
3560
  function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
@@ -3567,8 +3567,8 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
3567
3567
  });
3568
3568
  }
3569
3569
 
3570
- function select$A(luvio, params) {
3571
- return select$B();
3570
+ function select$B(luvio, params) {
3571
+ return select$C();
3572
3572
  }
3573
3573
  function keyBuilder$f(luvio, params) {
3574
3574
  return keyPrefix + '::PromptTemplateDataProviderTypeConfigCollectionRepresentation:(' + 'templateType:' + params.urlParams.templateType + ')';
@@ -3582,7 +3582,7 @@ function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
3582
3582
  luvio.storeIngest(key, ingest$5, body);
3583
3583
  const snapshot = luvio.storeLookup({
3584
3584
  recordId: key,
3585
- node: select$A(),
3585
+ node: select$B(),
3586
3586
  variables: {},
3587
3587
  }, snapshotRefresh);
3588
3588
  if (process.env.NODE_ENV !== 'production') {
@@ -3599,7 +3599,7 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
3599
3599
  const storeMetadataParams = {
3600
3600
  ttl: TTL$5,
3601
3601
  namespace: keyPrefix,
3602
- version: VERSION$p,
3602
+ version: VERSION$q,
3603
3603
  representationName: RepresentationType$5
3604
3604
  };
3605
3605
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
@@ -3649,7 +3649,7 @@ function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
3649
3649
  }
3650
3650
  function adapterFragment$6(luvio, config) {
3651
3651
  createResourceParams$b(config);
3652
- return select$A();
3652
+ return select$B();
3653
3653
  }
3654
3654
  function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
3655
3655
  const snapshot = ingestSuccess$b(luvio, resourceParams, response, {
@@ -3705,8 +3705,8 @@ const getDataProviderTypeConfigsAdapterFactory = (luvio) => function EinsteinLLM
3705
3705
  buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
3706
3706
  };
3707
3707
 
3708
- function select$z(luvio, params) {
3709
- return select$L();
3708
+ function select$A(luvio, params) {
3709
+ return select$M();
3710
3710
  }
3711
3711
  function keyBuilder$d(luvio, params) {
3712
3712
  return keyPrefix + '::EinsteinPromptRecordRepresentation:(' + 'versionId:' + params.queryParams.versionId + ',' + 'promptTemplateDevName:' + params.urlParams.promptTemplateDevName + ')';
@@ -3720,7 +3720,7 @@ function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
3720
3720
  luvio.storeIngest(key, ingest$a, body);
3721
3721
  const snapshot = luvio.storeLookup({
3722
3722
  recordId: key,
3723
- node: select$z(),
3723
+ node: select$A(),
3724
3724
  variables: {},
3725
3725
  }, snapshotRefresh);
3726
3726
  if (process.env.NODE_ENV !== 'production') {
@@ -3737,7 +3737,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
3737
3737
  const storeMetadataParams = {
3738
3738
  ttl: TTL$a,
3739
3739
  namespace: keyPrefix,
3740
- version: VERSION$u,
3740
+ version: VERSION$v,
3741
3741
  representationName: RepresentationType$a
3742
3742
  };
3743
3743
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
@@ -3788,7 +3788,7 @@ function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
3788
3788
  }
3789
3789
  function adapterFragment$5(luvio, config) {
3790
3790
  createResourceParams$a(config);
3791
- return select$z();
3791
+ return select$A();
3792
3792
  }
3793
3793
  function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
3794
3794
  const snapshot = ingestSuccess$a(luvio, resourceParams, response, {
@@ -3845,8 +3845,8 @@ const getPromptTemplateAdapterFactory = (luvio) => function EinsteinLLM__getProm
3845
3845
  };
3846
3846
 
3847
3847
  const TTL$4 = 100;
3848
- const VERSION$o = "ecde90304d12947c5205ddc7c99d747b";
3849
- function validate$q(obj, path = 'EinsteinPromptTemplateStatusRepresentation') {
3848
+ const VERSION$p = "ecde90304d12947c5205ddc7c99d747b";
3849
+ function validate$r(obj, path = 'EinsteinPromptTemplateStatusRepresentation') {
3850
3850
  const v_error = (() => {
3851
3851
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3852
3852
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3854,7 +3854,7 @@ function validate$q(obj, path = 'EinsteinPromptTemplateStatusRepresentation') {
3854
3854
  if (obj.additionalData !== undefined) {
3855
3855
  const obj_additionalData = obj.additionalData;
3856
3856
  const path_additionalData = path + '.additionalData';
3857
- const referencepath_additionalDataValidationError = validate$C(obj_additionalData, path_additionalData);
3857
+ const referencepath_additionalDataValidationError = validate$D(obj_additionalData, path_additionalData);
3858
3858
  if (referencepath_additionalDataValidationError !== null) {
3859
3859
  let message = 'Object doesn\'t match WrappedMap (at "' + path_additionalData + '")\n';
3860
3860
  message += referencepath_additionalDataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3930,11 +3930,11 @@ function keyBuilderFromType$1(luvio, object) {
3930
3930
  function normalize$4(input, existing, path, luvio, store, timestamp) {
3931
3931
  return input;
3932
3932
  }
3933
- const select$y = function EinsteinPromptTemplateStatusRepresentationSelect() {
3934
- const { selections: WrappedMap__selections, opaque: WrappedMap__opaque, } = select$O();
3933
+ const select$z = function EinsteinPromptTemplateStatusRepresentationSelect() {
3934
+ const { selections: WrappedMap__selections, opaque: WrappedMap__opaque, } = select$P();
3935
3935
  return {
3936
3936
  kind: 'Fragment',
3937
- version: VERSION$o,
3937
+ version: VERSION$p,
3938
3938
  private: [],
3939
3939
  selections: [
3940
3940
  {
@@ -3978,7 +3978,7 @@ const select$y = function EinsteinPromptTemplateStatusRepresentationSelect() {
3978
3978
  ]
3979
3979
  };
3980
3980
  };
3981
- function equals$o(existing, incoming) {
3981
+ function equals$p(existing, incoming) {
3982
3982
  const existing_hasWarning = existing.hasWarning;
3983
3983
  const incoming_hasWarning = incoming.hasWarning;
3984
3984
  if (!(existing_hasWarning === incoming_hasWarning)) {
@@ -4029,7 +4029,7 @@ function equals$o(existing, incoming) {
4029
4029
  if (existing_additionalData === undefined || incoming_additionalData === undefined) {
4030
4030
  return false;
4031
4031
  }
4032
- if (!(equals$w(existing_additionalData, incoming_additionalData))) {
4032
+ if (!(equals$x(existing_additionalData, incoming_additionalData))) {
4033
4033
  return false;
4034
4034
  }
4035
4035
  }
@@ -4057,14 +4057,14 @@ function equals$o(existing, incoming) {
4057
4057
  }
4058
4058
  const ingest$4 = function EinsteinPromptTemplateStatusRepresentationIngest(input, path, luvio, store, timestamp) {
4059
4059
  if (process.env.NODE_ENV !== 'production') {
4060
- const validateError = validate$q(input);
4060
+ const validateError = validate$r(input);
4061
4061
  if (validateError !== null) {
4062
4062
  throw validateError;
4063
4063
  }
4064
4064
  }
4065
4065
  const key = keyBuilderFromType$1(luvio, input);
4066
4066
  const ttlToUse = TTL$4;
4067
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "EinsteinLLM", VERSION$o, RepresentationType$4, equals$o);
4067
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "EinsteinLLM", VERSION$p, RepresentationType$4, equals$p);
4068
4068
  return createLink(key);
4069
4069
  };
4070
4070
  function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
@@ -4077,8 +4077,8 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
4077
4077
  });
4078
4078
  }
4079
4079
 
4080
- function select$x(luvio, params) {
4081
- return select$y();
4080
+ function select$y(luvio, params) {
4081
+ return select$z();
4082
4082
  }
4083
4083
  function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
4084
4084
  getTypeCacheKeys$4(storeKeyMap, luvio, response);
@@ -4089,7 +4089,7 @@ function ingestSuccess$9(luvio, resourceParams, response) {
4089
4089
  luvio.storeIngest(key, ingest$4, body);
4090
4090
  const snapshot = luvio.storeLookup({
4091
4091
  recordId: key,
4092
- node: select$x(),
4092
+ node: select$y(),
4093
4093
  variables: {},
4094
4094
  });
4095
4095
  if (process.env.NODE_ENV !== 'production') {
@@ -4169,8 +4169,8 @@ const putEinsteinPromptTemplateStatusAdapterFactory = (luvio) => {
4169
4169
  };
4170
4170
 
4171
4171
  const TTL$3 = 100;
4172
- const VERSION$n = "fb53643f64759f6cff6a161f34c670fb";
4173
- function validate$p(obj, path = 'EinsteinPromptTemplateReferencesRepresentation') {
4172
+ const VERSION$o = "fb53643f64759f6cff6a161f34c670fb";
4173
+ function validate$q(obj, path = 'EinsteinPromptTemplateReferencesRepresentation') {
4174
4174
  const v_error = (() => {
4175
4175
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4176
4176
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4178,7 +4178,7 @@ function validate$p(obj, path = 'EinsteinPromptTemplateReferencesRepresentation'
4178
4178
  if (obj.additionalData !== undefined) {
4179
4179
  const obj_additionalData = obj.additionalData;
4180
4180
  const path_additionalData = path + '.additionalData';
4181
- const referencepath_additionalDataValidationError = validate$C(obj_additionalData, path_additionalData);
4181
+ const referencepath_additionalDataValidationError = validate$D(obj_additionalData, path_additionalData);
4182
4182
  if (referencepath_additionalDataValidationError !== null) {
4183
4183
  let message = 'Object doesn\'t match WrappedMap (at "' + path_additionalData + '")\n';
4184
4184
  message += referencepath_additionalDataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4245,15 +4245,15 @@ const RepresentationType$3 = 'EinsteinPromptTemplateReferencesRepresentation';
4245
4245
  function normalize$3(input, existing, path, luvio, store, timestamp) {
4246
4246
  return input;
4247
4247
  }
4248
- const select$w = function EinsteinPromptTemplateReferencesRepresentationSelect() {
4248
+ const select$x = function EinsteinPromptTemplateReferencesRepresentationSelect() {
4249
4249
  return {
4250
4250
  kind: 'Fragment',
4251
- version: VERSION$n,
4251
+ version: VERSION$o,
4252
4252
  private: [],
4253
4253
  opaque: true
4254
4254
  };
4255
4255
  };
4256
- function equals$n(existing, incoming) {
4256
+ function equals$o(existing, incoming) {
4257
4257
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
4258
4258
  return false;
4259
4259
  }
@@ -4261,14 +4261,14 @@ function equals$n(existing, incoming) {
4261
4261
  }
4262
4262
  const ingest$3 = function EinsteinPromptTemplateReferencesRepresentationIngest(input, path, luvio, store, timestamp) {
4263
4263
  if (process.env.NODE_ENV !== 'production') {
4264
- const validateError = validate$p(input);
4264
+ const validateError = validate$q(input);
4265
4265
  if (validateError !== null) {
4266
4266
  throw validateError;
4267
4267
  }
4268
4268
  }
4269
4269
  const key = path.fullPath;
4270
4270
  const ttlToUse = TTL$3;
4271
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "EinsteinLLM", VERSION$n, RepresentationType$3, equals$n);
4271
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "EinsteinLLM", VERSION$o, RepresentationType$3, equals$o);
4272
4272
  return createLink(key);
4273
4273
  };
4274
4274
  function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
@@ -4281,8 +4281,8 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
4281
4281
  });
4282
4282
  }
4283
4283
 
4284
- function select$v(luvio, params) {
4285
- return select$w();
4284
+ function select$w(luvio, params) {
4285
+ return select$x();
4286
4286
  }
4287
4287
  function keyBuilder$a(luvio, params) {
4288
4288
  return keyPrefix + '::EinsteinPromptTemplateReferencesRepresentation:(' + 'promptTemplateDevName:' + params.urlParams.promptTemplateDevName + ')';
@@ -4296,7 +4296,7 @@ function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
4296
4296
  luvio.storeIngest(key, ingest$3, body);
4297
4297
  const snapshot = luvio.storeLookup({
4298
4298
  recordId: key,
4299
- node: select$v(),
4299
+ node: select$w(),
4300
4300
  variables: {},
4301
4301
  }, snapshotRefresh);
4302
4302
  if (process.env.NODE_ENV !== 'production') {
@@ -4313,7 +4313,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
4313
4313
  const storeMetadataParams = {
4314
4314
  ttl: TTL$3,
4315
4315
  namespace: keyPrefix,
4316
- version: VERSION$n,
4316
+ version: VERSION$o,
4317
4317
  representationName: RepresentationType$3
4318
4318
  };
4319
4319
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
@@ -4363,7 +4363,7 @@ function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
4363
4363
  }
4364
4364
  function adapterFragment$4(luvio, config) {
4365
4365
  createResourceParams$8(config);
4366
- return select$v();
4366
+ return select$w();
4367
4367
  }
4368
4368
  function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
4369
4369
  const snapshot = ingestSuccess$8(luvio, resourceParams, response, {
@@ -4419,8 +4419,8 @@ const getEinsteinPromptTemplateReferencesAdapterFactory = (luvio) => function Ei
4419
4419
  buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
4420
4420
  };
4421
4421
 
4422
- function select$u(luvio, params) {
4423
- return select$L();
4422
+ function select$v(luvio, params) {
4423
+ return select$M();
4424
4424
  }
4425
4425
  function keyBuilder$8(luvio, params) {
4426
4426
  return keyPrefix + '::EinsteinPromptRecordRepresentation:(' + 'includingContent:' + params.queryParams.includingContent + ',' + 'includingVersionDetail:' + params.queryParams.includingVersionDetail + ',' + 'promptTemplateDevName:' + params.urlParams.promptTemplateDevName + ')';
@@ -4434,7 +4434,7 @@ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
4434
4434
  luvio.storeIngest(key, ingest$a, body);
4435
4435
  const snapshot = luvio.storeLookup({
4436
4436
  recordId: key,
4437
- node: select$u(),
4437
+ node: select$v(),
4438
4438
  variables: {},
4439
4439
  }, snapshotRefresh);
4440
4440
  if (process.env.NODE_ENV !== 'production') {
@@ -4451,7 +4451,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
4451
4451
  const storeMetadataParams = {
4452
4452
  ttl: TTL$a,
4453
4453
  namespace: keyPrefix,
4454
- version: VERSION$u,
4454
+ version: VERSION$v,
4455
4455
  representationName: RepresentationType$a
4456
4456
  };
4457
4457
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
@@ -4503,7 +4503,7 @@ function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
4503
4503
  }
4504
4504
  function adapterFragment$3(luvio, config) {
4505
4505
  createResourceParams$7(config);
4506
- return select$u();
4506
+ return select$v();
4507
4507
  }
4508
4508
  function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
4509
4509
  const snapshot = ingestSuccess$7(luvio, resourceParams, response, {
@@ -4559,8 +4559,8 @@ const getPromptTemplateVersionsAdapterFactory = (luvio) => function EinsteinLLM_
4559
4559
  buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
4560
4560
  };
4561
4561
 
4562
- function select$t(luvio, params) {
4563
- return select$I();
4562
+ function select$u(luvio, params) {
4563
+ return select$J();
4564
4564
  }
4565
4565
  function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
4566
4566
  getTypeCacheKeys$8(storeKeyMap, luvio, response);
@@ -4571,7 +4571,7 @@ function ingestSuccess$6(luvio, resourceParams, response) {
4571
4571
  luvio.storeIngest(key, ingest$8, body);
4572
4572
  const snapshot = luvio.storeLookup({
4573
4573
  recordId: key,
4574
- node: select$t(),
4574
+ node: select$u(),
4575
4575
  variables: {},
4576
4576
  });
4577
4577
  if (process.env.NODE_ENV !== 'production') {
@@ -4683,8 +4683,8 @@ const createPromptTemplateVersionAdapterFactory = (luvio) => {
4683
4683
  };
4684
4684
  };
4685
4685
 
4686
- function select$s(luvio, params) {
4687
- return select$L();
4686
+ function select$t(luvio, params) {
4687
+ return select$M();
4688
4688
  }
4689
4689
  function keyBuilder$6(luvio, params) {
4690
4690
  return keyPrefix + '::EinsteinPromptRecordRepresentation:(' + 'includingContent:' + params.queryParams.includingContent + ',' + 'includingVersionDetail:' + params.queryParams.includingVersionDetail + ',' + 'promptTemplateDevName:' + params.urlParams.promptTemplateDevName + ',' + 'versionId:' + params.urlParams.versionId + ')';
@@ -4698,7 +4698,7 @@ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
4698
4698
  luvio.storeIngest(key, ingest$a, body);
4699
4699
  const snapshot = luvio.storeLookup({
4700
4700
  recordId: key,
4701
- node: select$s(),
4701
+ node: select$t(),
4702
4702
  variables: {},
4703
4703
  }, snapshotRefresh);
4704
4704
  if (process.env.NODE_ENV !== 'production') {
@@ -4715,7 +4715,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
4715
4715
  const storeMetadataParams = {
4716
4716
  ttl: TTL$a,
4717
4717
  namespace: keyPrefix,
4718
- version: VERSION$u,
4718
+ version: VERSION$v,
4719
4719
  representationName: RepresentationType$a
4720
4720
  };
4721
4721
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
@@ -4768,7 +4768,7 @@ function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
4768
4768
  }
4769
4769
  function adapterFragment$2(luvio, config) {
4770
4770
  createResourceParams$5(config);
4771
- return select$s();
4771
+ return select$t();
4772
4772
  }
4773
4773
  function onFetchResponseSuccess$2(luvio, config, resourceParams, response) {
4774
4774
  const snapshot = ingestSuccess$5(luvio, resourceParams, response, {
@@ -4824,8 +4824,8 @@ const getPromptTemplateVersionAdapterFactory = (luvio) => function EinsteinLLM__
4824
4824
  buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
4825
4825
  };
4826
4826
 
4827
- function select$r(luvio, params) {
4828
- return select$I();
4827
+ function select$s(luvio, params) {
4828
+ return select$J();
4829
4829
  }
4830
4830
  function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
4831
4831
  getTypeCacheKeys$8(storeKeyMap, luvio, response);
@@ -4836,7 +4836,7 @@ function ingestSuccess$4(luvio, resourceParams, response) {
4836
4836
  luvio.storeIngest(key, ingest$8, body);
4837
4837
  const snapshot = luvio.storeLookup({
4838
4838
  recordId: key,
4839
- node: select$r(),
4839
+ node: select$s(),
4840
4840
  variables: {},
4841
4841
  });
4842
4842
  if (process.env.NODE_ENV !== 'production') {
@@ -4949,8 +4949,8 @@ const updatePromptTemplateVersionAdapterFactory = (luvio) => {
4949
4949
  };
4950
4950
  };
4951
4951
 
4952
- function select$q(luvio, params) {
4953
- return select$I();
4952
+ function select$r(luvio, params) {
4953
+ return select$J();
4954
4954
  }
4955
4955
  function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
4956
4956
  getTypeCacheKeys$8(storeKeyMap, luvio, response);
@@ -4961,7 +4961,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
4961
4961
  luvio.storeIngest(key, ingest$8, body);
4962
4962
  const snapshot = luvio.storeLookup({
4963
4963
  recordId: key,
4964
- node: select$q(),
4964
+ node: select$r(),
4965
4965
  variables: {},
4966
4966
  });
4967
4967
  if (process.env.NODE_ENV !== 'production') {
@@ -5042,7 +5042,7 @@ const putEinsteinPromptTemplateVersionStatusAdapterFactory = (luvio) => {
5042
5042
  };
5043
5043
  };
5044
5044
 
5045
- function validate$o(obj, path = 'WrappedValueMap') {
5045
+ function validate$p(obj, path = 'WrappedValueMap') {
5046
5046
  const v_error = (() => {
5047
5047
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5048
5048
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5065,7 +5065,7 @@ function validate$o(obj, path = 'WrappedValueMap') {
5065
5065
  return v_error === undefined ? null : v_error;
5066
5066
  }
5067
5067
 
5068
- function validate$n(obj, path = 'EinsteinPromptTemplateGenerationsInputRepresentation') {
5068
+ function validate$o(obj, path = 'EinsteinPromptTemplateGenerationsInputRepresentation') {
5069
5069
  const v_error = (() => {
5070
5070
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5071
5071
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5073,7 +5073,7 @@ function validate$n(obj, path = 'EinsteinPromptTemplateGenerationsInputRepresent
5073
5073
  if (obj.additionalConfig !== undefined) {
5074
5074
  const obj_additionalConfig = obj.additionalConfig;
5075
5075
  const path_additionalConfig = path + '.additionalConfig';
5076
- const referencepath_additionalConfigValidationError = validate$H(obj_additionalConfig, path_additionalConfig);
5076
+ const referencepath_additionalConfigValidationError = validate$I(obj_additionalConfig, path_additionalConfig);
5077
5077
  if (referencepath_additionalConfigValidationError !== null) {
5078
5078
  let message = 'Object doesn\'t match EinsteinLlmAdditionalConfigInputRepresentation (at "' + path_additionalConfig + '")\n';
5079
5079
  message += referencepath_additionalConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5089,7 +5089,7 @@ function validate$n(obj, path = 'EinsteinPromptTemplateGenerationsInputRepresent
5089
5089
  }
5090
5090
  const obj_inputParams = obj.inputParams;
5091
5091
  const path_inputParams = path + '.inputParams';
5092
- const referencepath_inputParamsValidationError = validate$o(obj_inputParams, path_inputParams);
5092
+ const referencepath_inputParamsValidationError = validate$p(obj_inputParams, path_inputParams);
5093
5093
  if (referencepath_inputParamsValidationError !== null) {
5094
5094
  let message = 'Object doesn\'t match WrappedValueMap (at "' + path_inputParams + '")\n';
5095
5095
  message += referencepath_inputParamsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5125,8 +5125,8 @@ function validate$n(obj, path = 'EinsteinPromptTemplateGenerationsInputRepresent
5125
5125
  return v_error === undefined ? null : v_error;
5126
5126
  }
5127
5127
 
5128
- const VERSION$m = "6a209d0b32d59e6e04155812fdf5c985";
5129
- function validate$m(obj, path = 'EinsteinLlmGenerationGenAiCitedReferenceRepresentation') {
5128
+ const VERSION$n = "6a209d0b32d59e6e04155812fdf5c985";
5129
+ function validate$n(obj, path = 'EinsteinLlmGenerationGenAiCitedReferenceRepresentation') {
5130
5130
  const v_error = (() => {
5131
5131
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5132
5132
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5190,10 +5190,10 @@ function validate$m(obj, path = 'EinsteinLlmGenerationGenAiCitedReferenceReprese
5190
5190
  })();
5191
5191
  return v_error === undefined ? null : v_error;
5192
5192
  }
5193
- const select$p = function EinsteinLlmGenerationGenAiCitedReferenceRepresentationSelect() {
5193
+ const select$q = function EinsteinLlmGenerationGenAiCitedReferenceRepresentationSelect() {
5194
5194
  return {
5195
5195
  kind: 'Fragment',
5196
- version: VERSION$m,
5196
+ version: VERSION$n,
5197
5197
  private: [],
5198
5198
  selections: [
5199
5199
  {
@@ -5231,7 +5231,7 @@ const select$p = function EinsteinLlmGenerationGenAiCitedReferenceRepresentation
5231
5231
  ]
5232
5232
  };
5233
5233
  };
5234
- function equals$m(existing, incoming) {
5234
+ function equals$n(existing, incoming) {
5235
5235
  const existing_label = existing.label;
5236
5236
  const incoming_label = incoming.label;
5237
5237
  // if at least one of these optionals is defined
@@ -5323,8 +5323,8 @@ function equals$m(existing, incoming) {
5323
5323
  return true;
5324
5324
  }
5325
5325
 
5326
- const VERSION$l = "bcc0ea08323732f4187dd2b9f70fea6c";
5327
- function validate$l(obj, path = 'EinsteinLlmGenerationCitationRepresentation') {
5326
+ const VERSION$m = "bcc0ea08323732f4187dd2b9f70fea6c";
5327
+ function validate$m(obj, path = 'EinsteinLlmGenerationCitationRepresentation') {
5328
5328
  const v_error = (() => {
5329
5329
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5330
5330
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5338,7 +5338,7 @@ function validate$l(obj, path = 'EinsteinLlmGenerationCitationRepresentation') {
5338
5338
  for (let i = 0; i < obj_citedReferences.length; i++) {
5339
5339
  const obj_citedReferences_item = obj_citedReferences[i];
5340
5340
  const path_citedReferences_item = path_citedReferences + '[' + i + ']';
5341
- const referencepath_citedReferences_itemValidationError = validate$m(obj_citedReferences_item, path_citedReferences_item);
5341
+ const referencepath_citedReferences_itemValidationError = validate$n(obj_citedReferences_item, path_citedReferences_item);
5342
5342
  if (referencepath_citedReferences_itemValidationError !== null) {
5343
5343
  let message = 'Object doesn\'t match EinsteinLlmGenerationGenAiCitedReferenceRepresentation (at "' + path_citedReferences_item + '")\n';
5344
5344
  message += referencepath_citedReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5349,11 +5349,11 @@ function validate$l(obj, path = 'EinsteinLlmGenerationCitationRepresentation') {
5349
5349
  })();
5350
5350
  return v_error === undefined ? null : v_error;
5351
5351
  }
5352
- const select$o = function EinsteinLlmGenerationCitationRepresentationSelect() {
5353
- const { selections: EinsteinLlmGenerationGenAiCitedReferenceRepresentation__selections, opaque: EinsteinLlmGenerationGenAiCitedReferenceRepresentation__opaque, } = select$p();
5352
+ const select$p = function EinsteinLlmGenerationCitationRepresentationSelect() {
5353
+ const { selections: EinsteinLlmGenerationGenAiCitedReferenceRepresentation__selections, opaque: EinsteinLlmGenerationGenAiCitedReferenceRepresentation__opaque, } = select$q();
5354
5354
  return {
5355
5355
  kind: 'Fragment',
5356
- version: VERSION$l,
5356
+ version: VERSION$m,
5357
5357
  private: [],
5358
5358
  selections: [
5359
5359
  {
@@ -5366,7 +5366,7 @@ const select$o = function EinsteinLlmGenerationCitationRepresentationSelect() {
5366
5366
  ]
5367
5367
  };
5368
5368
  };
5369
- function equals$l(existing, incoming) {
5369
+ function equals$m(existing, incoming) {
5370
5370
  const existing_citedReferences = existing.citedReferences;
5371
5371
  const incoming_citedReferences = incoming.citedReferences;
5372
5372
  // if at least one of these optionals is defined
@@ -5377,7 +5377,7 @@ function equals$l(existing, incoming) {
5377
5377
  return false;
5378
5378
  }
5379
5379
  const equals_citedReferences_items = equalsArray(existing_citedReferences, incoming_citedReferences, (existing_citedReferences_item, incoming_citedReferences_item) => {
5380
- if (!(equals$m(existing_citedReferences_item, incoming_citedReferences_item))) {
5380
+ if (!(equals$n(existing_citedReferences_item, incoming_citedReferences_item))) {
5381
5381
  return false;
5382
5382
  }
5383
5383
  });
@@ -5388,8 +5388,8 @@ function equals$l(existing, incoming) {
5388
5388
  return true;
5389
5389
  }
5390
5390
 
5391
- const VERSION$k = "f62ac44b024b123f079b57f349e05230";
5392
- function validate$k(obj, path = 'EinsteinPromptTemplateAttachmentExclusionInfoRepresentation') {
5391
+ const VERSION$l = "f62ac44b024b123f079b57f349e05230";
5392
+ function validate$l(obj, path = 'EinsteinPromptTemplateAttachmentExclusionInfoRepresentation') {
5393
5393
  const v_error = (() => {
5394
5394
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5395
5395
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5407,10 +5407,10 @@ function validate$k(obj, path = 'EinsteinPromptTemplateAttachmentExclusionInfoRe
5407
5407
  })();
5408
5408
  return v_error === undefined ? null : v_error;
5409
5409
  }
5410
- const select$n = function EinsteinPromptTemplateAttachmentExclusionInfoRepresentationSelect() {
5410
+ const select$o = function EinsteinPromptTemplateAttachmentExclusionInfoRepresentationSelect() {
5411
5411
  return {
5412
5412
  kind: 'Fragment',
5413
- version: VERSION$k,
5413
+ version: VERSION$l,
5414
5414
  private: [],
5415
5415
  selections: [
5416
5416
  {
@@ -5424,7 +5424,7 @@ const select$n = function EinsteinPromptTemplateAttachmentExclusionInfoRepresent
5424
5424
  ]
5425
5425
  };
5426
5426
  };
5427
- function equals$k(existing, incoming) {
5427
+ function equals$l(existing, incoming) {
5428
5428
  const existing_isExcluded = existing.isExcluded;
5429
5429
  const incoming_isExcluded = incoming.isExcluded;
5430
5430
  if (!(existing_isExcluded === incoming_isExcluded)) {
@@ -5438,8 +5438,8 @@ function equals$k(existing, incoming) {
5438
5438
  return true;
5439
5439
  }
5440
5440
 
5441
- const VERSION$j = "9edc7f85ed953923f7b48f294886471a";
5442
- function validate$j(obj, path = 'EinsteinPromptTemplateAttachmentRepresentation') {
5441
+ const VERSION$k = "c7f101a8a143591c7e9c5e987860078e";
5442
+ function validate$k(obj, path = 'EinsteinPromptTemplateAttachmentRepresentation') {
5443
5443
  const v_error = (() => {
5444
5444
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5445
5445
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5454,7 +5454,7 @@ function validate$j(obj, path = 'EinsteinPromptTemplateAttachmentRepresentation'
5454
5454
  if (obj.exclusionInfo !== undefined) {
5455
5455
  const obj_exclusionInfo = obj.exclusionInfo;
5456
5456
  const path_exclusionInfo = path + '.exclusionInfo';
5457
- const referencepath_exclusionInfoValidationError = validate$k(obj_exclusionInfo, path_exclusionInfo);
5457
+ const referencepath_exclusionInfoValidationError = validate$l(obj_exclusionInfo, path_exclusionInfo);
5458
5458
  if (referencepath_exclusionInfoValidationError !== null) {
5459
5459
  let message = 'Object doesn\'t match EinsteinPromptTemplateAttachmentExclusionInfoRepresentation (at "' + path_exclusionInfo + '")\n';
5460
5460
  message += referencepath_exclusionInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5488,14 +5488,30 @@ function validate$j(obj, path = 'EinsteinPromptTemplateAttachmentRepresentation'
5488
5488
  if (typeof obj_title !== 'string') {
5489
5489
  return new TypeError('Expected "string" but received "' + typeof obj_title + '" (at "' + path_title + '")');
5490
5490
  }
5491
+ if (obj.transformationInfo !== undefined) {
5492
+ const obj_transformationInfo = obj.transformationInfo;
5493
+ const path_transformationInfo = path + '.transformationInfo';
5494
+ if (typeof obj_transformationInfo !== 'object' || ArrayIsArray(obj_transformationInfo) || obj_transformationInfo === null) {
5495
+ return new TypeError('Expected "object" but received "' + typeof obj_transformationInfo + '" (at "' + path_transformationInfo + '")');
5496
+ }
5497
+ const obj_transformationInfo_keys = ObjectKeys(obj_transformationInfo);
5498
+ for (let i = 0; i < obj_transformationInfo_keys.length; i++) {
5499
+ const key = obj_transformationInfo_keys[i];
5500
+ const obj_transformationInfo_prop = obj_transformationInfo[key];
5501
+ const path_transformationInfo_prop = path_transformationInfo + '["' + key + '"]';
5502
+ if (typeof obj_transformationInfo_prop !== 'string') {
5503
+ return new TypeError('Expected "string" but received "' + typeof obj_transformationInfo_prop + '" (at "' + path_transformationInfo_prop + '")');
5504
+ }
5505
+ }
5506
+ }
5491
5507
  })();
5492
5508
  return v_error === undefined ? null : v_error;
5493
5509
  }
5494
- const select$m = function EinsteinPromptTemplateAttachmentRepresentationSelect() {
5495
- const { selections: EinsteinPromptTemplateAttachmentExclusionInfoRepresentation__selections, opaque: EinsteinPromptTemplateAttachmentExclusionInfoRepresentation__opaque, } = select$n();
5510
+ const select$n = function EinsteinPromptTemplateAttachmentRepresentationSelect() {
5511
+ const { selections: EinsteinPromptTemplateAttachmentExclusionInfoRepresentation__selections, opaque: EinsteinPromptTemplateAttachmentExclusionInfoRepresentation__opaque, } = select$o();
5496
5512
  return {
5497
5513
  kind: 'Fragment',
5498
- version: VERSION$j,
5514
+ version: VERSION$k,
5499
5515
  private: [],
5500
5516
  selections: [
5501
5517
  {
@@ -5529,11 +5545,17 @@ const select$m = function EinsteinPromptTemplateAttachmentRepresentationSelect()
5529
5545
  {
5530
5546
  name: 'title',
5531
5547
  kind: 'Scalar'
5548
+ },
5549
+ {
5550
+ name: 'transformationInfo',
5551
+ kind: 'Scalar',
5552
+ map: true,
5553
+ required: false
5532
5554
  }
5533
5555
  ]
5534
5556
  };
5535
5557
  };
5536
- function equals$j(existing, incoming) {
5558
+ function equals$k(existing, incoming) {
5537
5559
  const existing_actualFileMimeType = existing.actualFileMimeType;
5538
5560
  const incoming_actualFileMimeType = incoming.actualFileMimeType;
5539
5561
  // if at least one of these optionals is defined
@@ -5589,15 +5611,33 @@ function equals$j(existing, incoming) {
5589
5611
  if (existing_exclusionInfo === undefined || incoming_exclusionInfo === undefined) {
5590
5612
  return false;
5591
5613
  }
5592
- if (!(equals$k(existing_exclusionInfo, incoming_exclusionInfo))) {
5614
+ if (!(equals$l(existing_exclusionInfo, incoming_exclusionInfo))) {
5615
+ return false;
5616
+ }
5617
+ }
5618
+ const existing_transformationInfo = existing.transformationInfo;
5619
+ const incoming_transformationInfo = incoming.transformationInfo;
5620
+ // if at least one of these optionals is defined
5621
+ if (existing_transformationInfo !== undefined || incoming_transformationInfo !== undefined) {
5622
+ // if one of these is not defined we know the other is defined and therefore
5623
+ // not equal
5624
+ if (existing_transformationInfo === undefined || incoming_transformationInfo === undefined) {
5625
+ return false;
5626
+ }
5627
+ const equals_transformationInfo_props = equalsObject(existing_transformationInfo, incoming_transformationInfo, (existing_transformationInfo_prop, incoming_transformationInfo_prop) => {
5628
+ if (!(existing_transformationInfo_prop === incoming_transformationInfo_prop)) {
5629
+ return false;
5630
+ }
5631
+ });
5632
+ if (equals_transformationInfo_props === false) {
5593
5633
  return false;
5594
5634
  }
5595
5635
  }
5596
5636
  return true;
5597
5637
  }
5598
5638
 
5599
- const VERSION$i = "6458d624e5a1691821c764b6de0badb3";
5600
- function validate$i(obj, path = 'EinsteinPromptTemplateGenerationsErrorRepresentation') {
5639
+ const VERSION$j = "6458d624e5a1691821c764b6de0badb3";
5640
+ function validate$j(obj, path = 'EinsteinPromptTemplateGenerationsErrorRepresentation') {
5601
5641
  const v_error = (() => {
5602
5642
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5603
5643
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5627,10 +5667,10 @@ function validate$i(obj, path = 'EinsteinPromptTemplateGenerationsErrorRepresent
5627
5667
  })();
5628
5668
  return v_error === undefined ? null : v_error;
5629
5669
  }
5630
- const select$l = function EinsteinPromptTemplateGenerationsErrorRepresentationSelect() {
5670
+ const select$m = function EinsteinPromptTemplateGenerationsErrorRepresentationSelect() {
5631
5671
  return {
5632
5672
  kind: 'Fragment',
5633
- version: VERSION$i,
5673
+ version: VERSION$j,
5634
5674
  private: [],
5635
5675
  selections: [
5636
5676
  {
@@ -5653,7 +5693,7 @@ const select$l = function EinsteinPromptTemplateGenerationsErrorRepresentationSe
5653
5693
  ]
5654
5694
  };
5655
5695
  };
5656
- function equals$i(existing, incoming) {
5696
+ function equals$j(existing, incoming) {
5657
5697
  const existing_errorMessage = existing.errorMessage;
5658
5698
  const incoming_errorMessage = incoming.errorMessage;
5659
5699
  if (!(existing_errorMessage === incoming_errorMessage)) {
@@ -5685,8 +5725,8 @@ function equals$i(existing, incoming) {
5685
5725
  return true;
5686
5726
  }
5687
5727
 
5688
- const VERSION$h = "3ce695c87c874dcb5ac019766a3b64f0";
5689
- function validate$h(obj, path = 'EinsteinPromptTemplateLatencyRepresentation') {
5728
+ const VERSION$i = "3ce695c87c874dcb5ac019766a3b64f0";
5729
+ function validate$i(obj, path = 'EinsteinPromptTemplateLatencyRepresentation') {
5690
5730
  const v_error = (() => {
5691
5731
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5692
5732
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5704,10 +5744,10 @@ function validate$h(obj, path = 'EinsteinPromptTemplateLatencyRepresentation') {
5704
5744
  })();
5705
5745
  return v_error === undefined ? null : v_error;
5706
5746
  }
5707
- const select$k = function EinsteinPromptTemplateLatencyRepresentationSelect() {
5747
+ const select$l = function EinsteinPromptTemplateLatencyRepresentationSelect() {
5708
5748
  return {
5709
5749
  kind: 'Fragment',
5710
- version: VERSION$h,
5750
+ version: VERSION$i,
5711
5751
  private: [],
5712
5752
  selections: [
5713
5753
  {
@@ -5721,7 +5761,7 @@ const select$k = function EinsteinPromptTemplateLatencyRepresentationSelect() {
5721
5761
  ]
5722
5762
  };
5723
5763
  };
5724
- function equals$h(existing, incoming) {
5764
+ function equals$i(existing, incoming) {
5725
5765
  const existing_duration = existing.duration;
5726
5766
  const incoming_duration = incoming.duration;
5727
5767
  if (!(existing_duration === incoming_duration)) {
@@ -5735,15 +5775,15 @@ function equals$h(existing, incoming) {
5735
5775
  return true;
5736
5776
  }
5737
5777
 
5738
- const VERSION$g = "9ef738d379a8db0dc8193d438d7995ad";
5739
- function validate$g(obj, path = 'EinsteinPromptTemplateLatencyBreakdownItemRepresentation') {
5778
+ const VERSION$h = "9ef738d379a8db0dc8193d438d7995ad";
5779
+ function validate$h(obj, path = 'EinsteinPromptTemplateLatencyBreakdownItemRepresentation') {
5740
5780
  const v_error = (() => {
5741
5781
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5742
5782
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
5743
5783
  }
5744
5784
  const obj_latency = obj.latency;
5745
5785
  const path_latency = path + '.latency';
5746
- const referencepath_latencyValidationError = validate$h(obj_latency, path_latency);
5786
+ const referencepath_latencyValidationError = validate$i(obj_latency, path_latency);
5747
5787
  if (referencepath_latencyValidationError !== null) {
5748
5788
  let message = 'Object doesn\'t match EinsteinPromptTemplateLatencyRepresentation (at "' + path_latency + '")\n';
5749
5789
  message += referencepath_latencyValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5757,11 +5797,11 @@ function validate$g(obj, path = 'EinsteinPromptTemplateLatencyBreakdownItemRepre
5757
5797
  })();
5758
5798
  return v_error === undefined ? null : v_error;
5759
5799
  }
5760
- const select$j = function EinsteinPromptTemplateLatencyBreakdownItemRepresentationSelect() {
5761
- const { selections: EinsteinPromptTemplateLatencyRepresentation__selections, opaque: EinsteinPromptTemplateLatencyRepresentation__opaque, } = select$k();
5800
+ const select$k = function EinsteinPromptTemplateLatencyBreakdownItemRepresentationSelect() {
5801
+ const { selections: EinsteinPromptTemplateLatencyRepresentation__selections, opaque: EinsteinPromptTemplateLatencyRepresentation__opaque, } = select$l();
5762
5802
  return {
5763
5803
  kind: 'Fragment',
5764
- version: VERSION$g,
5804
+ version: VERSION$h,
5765
5805
  private: [],
5766
5806
  selections: [
5767
5807
  {
@@ -5776,7 +5816,7 @@ const select$j = function EinsteinPromptTemplateLatencyBreakdownItemRepresentati
5776
5816
  ]
5777
5817
  };
5778
5818
  };
5779
- function equals$g(existing, incoming) {
5819
+ function equals$h(existing, incoming) {
5780
5820
  const existing_referenceName = existing.referenceName;
5781
5821
  const incoming_referenceName = incoming.referenceName;
5782
5822
  if (!(existing_referenceName === incoming_referenceName)) {
@@ -5784,14 +5824,14 @@ function equals$g(existing, incoming) {
5784
5824
  }
5785
5825
  const existing_latency = existing.latency;
5786
5826
  const incoming_latency = incoming.latency;
5787
- if (!(equals$h(existing_latency, incoming_latency))) {
5827
+ if (!(equals$i(existing_latency, incoming_latency))) {
5788
5828
  return false;
5789
5829
  }
5790
5830
  return true;
5791
5831
  }
5792
5832
 
5793
- const VERSION$f = "4b1840167fa1759c2413bafa7708e137";
5794
- function validate$f(obj, path = 'EinsteinPromptTemplateLatencyStepRepresentation') {
5833
+ const VERSION$g = "4b1840167fa1759c2413bafa7708e137";
5834
+ function validate$g(obj, path = 'EinsteinPromptTemplateLatencyStepRepresentation') {
5795
5835
  const v_error = (() => {
5796
5836
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5797
5837
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5805,7 +5845,7 @@ function validate$f(obj, path = 'EinsteinPromptTemplateLatencyStepRepresentation
5805
5845
  for (let i = 0; i < obj_breakdown.length; i++) {
5806
5846
  const obj_breakdown_item = obj_breakdown[i];
5807
5847
  const path_breakdown_item = path_breakdown + '[' + i + ']';
5808
- const referencepath_breakdown_itemValidationError = validate$g(obj_breakdown_item, path_breakdown_item);
5848
+ const referencepath_breakdown_itemValidationError = validate$h(obj_breakdown_item, path_breakdown_item);
5809
5849
  if (referencepath_breakdown_itemValidationError !== null) {
5810
5850
  let message = 'Object doesn\'t match EinsteinPromptTemplateLatencyBreakdownItemRepresentation (at "' + path_breakdown_item + '")\n';
5811
5851
  message += referencepath_breakdown_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5815,7 +5855,7 @@ function validate$f(obj, path = 'EinsteinPromptTemplateLatencyStepRepresentation
5815
5855
  }
5816
5856
  const obj_latency = obj.latency;
5817
5857
  const path_latency = path + '.latency';
5818
- const referencepath_latencyValidationError = validate$h(obj_latency, path_latency);
5858
+ const referencepath_latencyValidationError = validate$i(obj_latency, path_latency);
5819
5859
  if (referencepath_latencyValidationError !== null) {
5820
5860
  let message = 'Object doesn\'t match EinsteinPromptTemplateLatencyRepresentation (at "' + path_latency + '")\n';
5821
5861
  message += referencepath_latencyValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5824,12 +5864,12 @@ function validate$f(obj, path = 'EinsteinPromptTemplateLatencyStepRepresentation
5824
5864
  })();
5825
5865
  return v_error === undefined ? null : v_error;
5826
5866
  }
5827
- const select$i = function EinsteinPromptTemplateLatencyStepRepresentationSelect() {
5828
- const { selections: EinsteinPromptTemplateLatencyBreakdownItemRepresentation__selections, opaque: EinsteinPromptTemplateLatencyBreakdownItemRepresentation__opaque, } = select$j();
5829
- const { selections: EinsteinPromptTemplateLatencyRepresentation__selections, opaque: EinsteinPromptTemplateLatencyRepresentation__opaque, } = select$k();
5867
+ const select$j = function EinsteinPromptTemplateLatencyStepRepresentationSelect() {
5868
+ const { selections: EinsteinPromptTemplateLatencyBreakdownItemRepresentation__selections, opaque: EinsteinPromptTemplateLatencyBreakdownItemRepresentation__opaque, } = select$k();
5869
+ const { selections: EinsteinPromptTemplateLatencyRepresentation__selections, opaque: EinsteinPromptTemplateLatencyRepresentation__opaque, } = select$l();
5830
5870
  return {
5831
5871
  kind: 'Fragment',
5832
- version: VERSION$f,
5872
+ version: VERSION$g,
5833
5873
  private: [],
5834
5874
  selections: [
5835
5875
  {
@@ -5847,7 +5887,7 @@ const select$i = function EinsteinPromptTemplateLatencyStepRepresentationSelect(
5847
5887
  ]
5848
5888
  };
5849
5889
  };
5850
- function equals$f(existing, incoming) {
5890
+ function equals$g(existing, incoming) {
5851
5891
  const existing_breakdown = existing.breakdown;
5852
5892
  const incoming_breakdown = incoming.breakdown;
5853
5893
  // if at least one of these optionals is defined
@@ -5858,7 +5898,7 @@ function equals$f(existing, incoming) {
5858
5898
  return false;
5859
5899
  }
5860
5900
  const equals_breakdown_items = equalsArray(existing_breakdown, incoming_breakdown, (existing_breakdown_item, incoming_breakdown_item) => {
5861
- if (!(equals$g(existing_breakdown_item, incoming_breakdown_item))) {
5901
+ if (!(equals$h(existing_breakdown_item, incoming_breakdown_item))) {
5862
5902
  return false;
5863
5903
  }
5864
5904
  });
@@ -5868,14 +5908,14 @@ function equals$f(existing, incoming) {
5868
5908
  }
5869
5909
  const existing_latency = existing.latency;
5870
5910
  const incoming_latency = incoming.latency;
5871
- if (!(equals$h(existing_latency, incoming_latency))) {
5911
+ if (!(equals$i(existing_latency, incoming_latency))) {
5872
5912
  return false;
5873
5913
  }
5874
5914
  return true;
5875
5915
  }
5876
5916
 
5877
- const VERSION$e = "d6838fb296069ed6df17b2215be2da09";
5878
- function validate$e(obj, path = 'EinsteinPromptTemplateLatencyExecutionRepresentation') {
5917
+ const VERSION$f = "d6838fb296069ed6df17b2215be2da09";
5918
+ function validate$f(obj, path = 'EinsteinPromptTemplateLatencyExecutionRepresentation') {
5879
5919
  const v_error = (() => {
5880
5920
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5881
5921
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5883,7 +5923,7 @@ function validate$e(obj, path = 'EinsteinPromptTemplateLatencyExecutionRepresent
5883
5923
  if (obj.generation !== undefined) {
5884
5924
  const obj_generation = obj.generation;
5885
5925
  const path_generation = path + '.generation';
5886
- const referencepath_generationValidationError = validate$f(obj_generation, path_generation);
5926
+ const referencepath_generationValidationError = validate$g(obj_generation, path_generation);
5887
5927
  if (referencepath_generationValidationError !== null) {
5888
5928
  let message = 'Object doesn\'t match EinsteinPromptTemplateLatencyStepRepresentation (at "' + path_generation + '")\n';
5889
5929
  message += referencepath_generationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5893,7 +5933,7 @@ function validate$e(obj, path = 'EinsteinPromptTemplateLatencyExecutionRepresent
5893
5933
  if (obj.hydration !== undefined) {
5894
5934
  const obj_hydration = obj.hydration;
5895
5935
  const path_hydration = path + '.hydration';
5896
- const referencepath_hydrationValidationError = validate$f(obj_hydration, path_hydration);
5936
+ const referencepath_hydrationValidationError = validate$g(obj_hydration, path_hydration);
5897
5937
  if (referencepath_hydrationValidationError !== null) {
5898
5938
  let message = 'Object doesn\'t match EinsteinPromptTemplateLatencyStepRepresentation (at "' + path_hydration + '")\n';
5899
5939
  message += referencepath_hydrationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5902,7 +5942,7 @@ function validate$e(obj, path = 'EinsteinPromptTemplateLatencyExecutionRepresent
5902
5942
  }
5903
5943
  const obj_loadTemplate = obj.loadTemplate;
5904
5944
  const path_loadTemplate = path + '.loadTemplate';
5905
- const referencepath_loadTemplateValidationError = validate$f(obj_loadTemplate, path_loadTemplate);
5945
+ const referencepath_loadTemplateValidationError = validate$g(obj_loadTemplate, path_loadTemplate);
5906
5946
  if (referencepath_loadTemplateValidationError !== null) {
5907
5947
  let message = 'Object doesn\'t match EinsteinPromptTemplateLatencyStepRepresentation (at "' + path_loadTemplate + '")\n';
5908
5948
  message += referencepath_loadTemplateValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5911,7 +5951,7 @@ function validate$e(obj, path = 'EinsteinPromptTemplateLatencyExecutionRepresent
5911
5951
  if (obj.mask !== undefined) {
5912
5952
  const obj_mask = obj.mask;
5913
5953
  const path_mask = path + '.mask';
5914
- const referencepath_maskValidationError = validate$f(obj_mask, path_mask);
5954
+ const referencepath_maskValidationError = validate$g(obj_mask, path_mask);
5915
5955
  if (referencepath_maskValidationError !== null) {
5916
5956
  let message = 'Object doesn\'t match EinsteinPromptTemplateLatencyStepRepresentation (at "' + path_mask + '")\n';
5917
5957
  message += referencepath_maskValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5921,7 +5961,7 @@ function validate$e(obj, path = 'EinsteinPromptTemplateLatencyExecutionRepresent
5921
5961
  if (obj.resolveData !== undefined) {
5922
5962
  const obj_resolveData = obj.resolveData;
5923
5963
  const path_resolveData = path + '.resolveData';
5924
- const referencepath_resolveDataValidationError = validate$f(obj_resolveData, path_resolveData);
5964
+ const referencepath_resolveDataValidationError = validate$g(obj_resolveData, path_resolveData);
5925
5965
  if (referencepath_resolveDataValidationError !== null) {
5926
5966
  let message = 'Object doesn\'t match EinsteinPromptTemplateLatencyStepRepresentation (at "' + path_resolveData + '")\n';
5927
5967
  message += referencepath_resolveDataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5931,7 +5971,7 @@ function validate$e(obj, path = 'EinsteinPromptTemplateLatencyExecutionRepresent
5931
5971
  if (obj.summarize !== undefined) {
5932
5972
  const obj_summarize = obj.summarize;
5933
5973
  const path_summarize = path + '.summarize';
5934
- const referencepath_summarizeValidationError = validate$f(obj_summarize, path_summarize);
5974
+ const referencepath_summarizeValidationError = validate$g(obj_summarize, path_summarize);
5935
5975
  if (referencepath_summarizeValidationError !== null) {
5936
5976
  let message = 'Object doesn\'t match EinsteinPromptTemplateLatencyStepRepresentation (at "' + path_summarize + '")\n';
5937
5977
  message += referencepath_summarizeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5941,11 +5981,11 @@ function validate$e(obj, path = 'EinsteinPromptTemplateLatencyExecutionRepresent
5941
5981
  })();
5942
5982
  return v_error === undefined ? null : v_error;
5943
5983
  }
5944
- const select$h = function EinsteinPromptTemplateLatencyExecutionRepresentationSelect() {
5945
- const { selections: EinsteinPromptTemplateLatencyStepRepresentation__selections, opaque: EinsteinPromptTemplateLatencyStepRepresentation__opaque, } = select$i();
5984
+ const select$i = function EinsteinPromptTemplateLatencyExecutionRepresentationSelect() {
5985
+ const { selections: EinsteinPromptTemplateLatencyStepRepresentation__selections, opaque: EinsteinPromptTemplateLatencyStepRepresentation__opaque, } = select$j();
5946
5986
  return {
5947
5987
  kind: 'Fragment',
5948
- version: VERSION$e,
5988
+ version: VERSION$f,
5949
5989
  private: [],
5950
5990
  selections: [
5951
5991
  {
@@ -5986,7 +6026,7 @@ const select$h = function EinsteinPromptTemplateLatencyExecutionRepresentationSe
5986
6026
  ]
5987
6027
  };
5988
6028
  };
5989
- function equals$e(existing, incoming) {
6029
+ function equals$f(existing, incoming) {
5990
6030
  const existing_generation = existing.generation;
5991
6031
  const incoming_generation = incoming.generation;
5992
6032
  // if at least one of these optionals is defined
@@ -5996,7 +6036,7 @@ function equals$e(existing, incoming) {
5996
6036
  if (existing_generation === undefined || incoming_generation === undefined) {
5997
6037
  return false;
5998
6038
  }
5999
- if (!(equals$f(existing_generation, incoming_generation))) {
6039
+ if (!(equals$g(existing_generation, incoming_generation))) {
6000
6040
  return false;
6001
6041
  }
6002
6042
  }
@@ -6009,13 +6049,13 @@ function equals$e(existing, incoming) {
6009
6049
  if (existing_hydration === undefined || incoming_hydration === undefined) {
6010
6050
  return false;
6011
6051
  }
6012
- if (!(equals$f(existing_hydration, incoming_hydration))) {
6052
+ if (!(equals$g(existing_hydration, incoming_hydration))) {
6013
6053
  return false;
6014
6054
  }
6015
6055
  }
6016
6056
  const existing_loadTemplate = existing.loadTemplate;
6017
6057
  const incoming_loadTemplate = incoming.loadTemplate;
6018
- if (!(equals$f(existing_loadTemplate, incoming_loadTemplate))) {
6058
+ if (!(equals$g(existing_loadTemplate, incoming_loadTemplate))) {
6019
6059
  return false;
6020
6060
  }
6021
6061
  const existing_mask = existing.mask;
@@ -6027,7 +6067,7 @@ function equals$e(existing, incoming) {
6027
6067
  if (existing_mask === undefined || incoming_mask === undefined) {
6028
6068
  return false;
6029
6069
  }
6030
- if (!(equals$f(existing_mask, incoming_mask))) {
6070
+ if (!(equals$g(existing_mask, incoming_mask))) {
6031
6071
  return false;
6032
6072
  }
6033
6073
  }
@@ -6040,7 +6080,7 @@ function equals$e(existing, incoming) {
6040
6080
  if (existing_resolveData === undefined || incoming_resolveData === undefined) {
6041
6081
  return false;
6042
6082
  }
6043
- if (!(equals$f(existing_resolveData, incoming_resolveData))) {
6083
+ if (!(equals$g(existing_resolveData, incoming_resolveData))) {
6044
6084
  return false;
6045
6085
  }
6046
6086
  }
@@ -6053,22 +6093,22 @@ function equals$e(existing, incoming) {
6053
6093
  if (existing_summarize === undefined || incoming_summarize === undefined) {
6054
6094
  return false;
6055
6095
  }
6056
- if (!(equals$f(existing_summarize, incoming_summarize))) {
6096
+ if (!(equals$g(existing_summarize, incoming_summarize))) {
6057
6097
  return false;
6058
6098
  }
6059
6099
  }
6060
6100
  return true;
6061
6101
  }
6062
6102
 
6063
- const VERSION$d = "bfbfa37e3d6bd35c36ba73c3f9b973b6";
6064
- function validate$d(obj, path = 'EinsteinPromptTemplatePerformanceRepresentation') {
6103
+ const VERSION$e = "bfbfa37e3d6bd35c36ba73c3f9b973b6";
6104
+ function validate$e(obj, path = 'EinsteinPromptTemplatePerformanceRepresentation') {
6065
6105
  const v_error = (() => {
6066
6106
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6067
6107
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
6068
6108
  }
6069
6109
  const obj_execution = obj.execution;
6070
6110
  const path_execution = path + '.execution';
6071
- const referencepath_executionValidationError = validate$e(obj_execution, path_execution);
6111
+ const referencepath_executionValidationError = validate$f(obj_execution, path_execution);
6072
6112
  if (referencepath_executionValidationError !== null) {
6073
6113
  let message = 'Object doesn\'t match EinsteinPromptTemplateLatencyExecutionRepresentation (at "' + path_execution + '")\n';
6074
6114
  message += referencepath_executionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6076,7 +6116,7 @@ function validate$d(obj, path = 'EinsteinPromptTemplatePerformanceRepresentation
6076
6116
  }
6077
6117
  const obj_latency = obj.latency;
6078
6118
  const path_latency = path + '.latency';
6079
- const referencepath_latencyValidationError = validate$h(obj_latency, path_latency);
6119
+ const referencepath_latencyValidationError = validate$i(obj_latency, path_latency);
6080
6120
  if (referencepath_latencyValidationError !== null) {
6081
6121
  let message = 'Object doesn\'t match EinsteinPromptTemplateLatencyRepresentation (at "' + path_latency + '")\n';
6082
6122
  message += referencepath_latencyValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6085,12 +6125,12 @@ function validate$d(obj, path = 'EinsteinPromptTemplatePerformanceRepresentation
6085
6125
  })();
6086
6126
  return v_error === undefined ? null : v_error;
6087
6127
  }
6088
- const select$g = function EinsteinPromptTemplatePerformanceRepresentationSelect() {
6089
- const { selections: EinsteinPromptTemplateLatencyExecutionRepresentation__selections, opaque: EinsteinPromptTemplateLatencyExecutionRepresentation__opaque, } = select$h();
6090
- const { selections: EinsteinPromptTemplateLatencyRepresentation__selections, opaque: EinsteinPromptTemplateLatencyRepresentation__opaque, } = select$k();
6128
+ const select$h = function EinsteinPromptTemplatePerformanceRepresentationSelect() {
6129
+ const { selections: EinsteinPromptTemplateLatencyExecutionRepresentation__selections, opaque: EinsteinPromptTemplateLatencyExecutionRepresentation__opaque, } = select$i();
6130
+ const { selections: EinsteinPromptTemplateLatencyRepresentation__selections, opaque: EinsteinPromptTemplateLatencyRepresentation__opaque, } = select$l();
6091
6131
  return {
6092
6132
  kind: 'Fragment',
6093
- version: VERSION$d,
6133
+ version: VERSION$e,
6094
6134
  private: [],
6095
6135
  selections: [
6096
6136
  {
@@ -6106,22 +6146,22 @@ const select$g = function EinsteinPromptTemplatePerformanceRepresentationSelect(
6106
6146
  ]
6107
6147
  };
6108
6148
  };
6109
- function equals$d(existing, incoming) {
6149
+ function equals$e(existing, incoming) {
6110
6150
  const existing_execution = existing.execution;
6111
6151
  const incoming_execution = incoming.execution;
6112
- if (!(equals$e(existing_execution, incoming_execution))) {
6152
+ if (!(equals$f(existing_execution, incoming_execution))) {
6113
6153
  return false;
6114
6154
  }
6115
6155
  const existing_latency = existing.latency;
6116
6156
  const incoming_latency = incoming.latency;
6117
- if (!(equals$h(existing_latency, incoming_latency))) {
6157
+ if (!(equals$i(existing_latency, incoming_latency))) {
6118
6158
  return false;
6119
6159
  }
6120
6160
  return true;
6121
6161
  }
6122
6162
 
6123
- const VERSION$c = "7c417ce44e4bc05dfcc454e6825590e8";
6124
- function validate$c(obj, path = 'EinsteinPromptTemplateMaskSettingsRepresentation') {
6163
+ const VERSION$d = "7c417ce44e4bc05dfcc454e6825590e8";
6164
+ function validate$d(obj, path = 'EinsteinPromptTemplateMaskSettingsRepresentation') {
6125
6165
  const v_error = (() => {
6126
6166
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6127
6167
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6134,10 +6174,10 @@ function validate$c(obj, path = 'EinsteinPromptTemplateMaskSettingsRepresentatio
6134
6174
  })();
6135
6175
  return v_error === undefined ? null : v_error;
6136
6176
  }
6137
- const select$f = function EinsteinPromptTemplateMaskSettingsRepresentationSelect() {
6177
+ const select$g = function EinsteinPromptTemplateMaskSettingsRepresentationSelect() {
6138
6178
  return {
6139
6179
  kind: 'Fragment',
6140
- version: VERSION$c,
6180
+ version: VERSION$d,
6141
6181
  private: [],
6142
6182
  selections: [
6143
6183
  {
@@ -6147,7 +6187,7 @@ const select$f = function EinsteinPromptTemplateMaskSettingsRepresentationSelect
6147
6187
  ]
6148
6188
  };
6149
6189
  };
6150
- function equals$c(existing, incoming) {
6190
+ function equals$d(existing, incoming) {
6151
6191
  const existing_enableModeration = existing.enableModeration;
6152
6192
  const incoming_enableModeration = incoming.enableModeration;
6153
6193
  if (!(existing_enableModeration === incoming_enableModeration)) {
@@ -6156,8 +6196,8 @@ function equals$c(existing, incoming) {
6156
6196
  return true;
6157
6197
  }
6158
6198
 
6159
- const VERSION$b = "92ad1abd0e2a60bc36941409cadda7e2";
6160
- function validate$b(obj, path = 'EinsteinPromptTemplateMaskContentRepresentation') {
6199
+ const VERSION$c = "92ad1abd0e2a60bc36941409cadda7e2";
6200
+ function validate$c(obj, path = 'EinsteinPromptTemplateMaskContentRepresentation') {
6161
6201
  const v_error = (() => {
6162
6202
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6163
6203
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6172,7 +6212,7 @@ function validate$b(obj, path = 'EinsteinPromptTemplateMaskContentRepresentation
6172
6212
  const path_moderationSettings = path + '.moderationSettings';
6173
6213
  let obj_moderationSettings_union0 = null;
6174
6214
  const obj_moderationSettings_union0_error = (() => {
6175
- const referencepath_moderationSettingsValidationError = validate$c(obj_moderationSettings, path_moderationSettings);
6215
+ const referencepath_moderationSettingsValidationError = validate$d(obj_moderationSettings, path_moderationSettings);
6176
6216
  if (referencepath_moderationSettingsValidationError !== null) {
6177
6217
  let message = 'Object doesn\'t match EinsteinPromptTemplateMaskSettingsRepresentation (at "' + path_moderationSettings + '")\n';
6178
6218
  message += referencepath_moderationSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6208,11 +6248,11 @@ function validate$b(obj, path = 'EinsteinPromptTemplateMaskContentRepresentation
6208
6248
  })();
6209
6249
  return v_error === undefined ? null : v_error;
6210
6250
  }
6211
- const select$e = function EinsteinPromptTemplateMaskContentRepresentationSelect() {
6212
- const { selections: EinsteinPromptTemplateMaskSettingsRepresentation__selections, opaque: EinsteinPromptTemplateMaskSettingsRepresentation__opaque, } = select$f();
6251
+ const select$f = function EinsteinPromptTemplateMaskContentRepresentationSelect() {
6252
+ const { selections: EinsteinPromptTemplateMaskSettingsRepresentation__selections, opaque: EinsteinPromptTemplateMaskSettingsRepresentation__opaque, } = select$g();
6213
6253
  return {
6214
6254
  kind: 'Fragment',
6215
- version: VERSION$b,
6255
+ version: VERSION$c,
6216
6256
  private: [],
6217
6257
  selections: [
6218
6258
  {
@@ -6234,7 +6274,7 @@ const select$e = function EinsteinPromptTemplateMaskContentRepresentationSelect(
6234
6274
  ]
6235
6275
  };
6236
6276
  };
6237
- function equals$b(existing, incoming) {
6277
+ function equals$c(existing, incoming) {
6238
6278
  const existing_content = existing.content;
6239
6279
  const incoming_content = incoming.content;
6240
6280
  if (!(existing_content === incoming_content)) {
@@ -6265,15 +6305,15 @@ function equals$b(existing, incoming) {
6265
6305
  if (!(existing_moderationSettings === incoming_moderationSettings
6266
6306
  || (existing_moderationSettings != null &&
6267
6307
  incoming_moderationSettings != null &&
6268
- equals$c(existing_moderationSettings, incoming_moderationSettings)))) {
6308
+ equals$d(existing_moderationSettings, incoming_moderationSettings)))) {
6269
6309
  return false;
6270
6310
  }
6271
6311
  }
6272
6312
  return true;
6273
6313
  }
6274
6314
 
6275
- const VERSION$a = "507a815605f8d30ae9b52b0ec513d25e";
6276
- function validate$a(obj, path = 'EinsteinPromptTemplateMaskDataRepresentation') {
6315
+ const VERSION$b = "507a815605f8d30ae9b52b0ec513d25e";
6316
+ function validate$b(obj, path = 'EinsteinPromptTemplateMaskDataRepresentation') {
6277
6317
  const v_error = (() => {
6278
6318
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6279
6319
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6303,10 +6343,10 @@ function validate$a(obj, path = 'EinsteinPromptTemplateMaskDataRepresentation')
6303
6343
  })();
6304
6344
  return v_error === undefined ? null : v_error;
6305
6345
  }
6306
- const select$d = function EinsteinPromptTemplateMaskDataRepresentationSelect() {
6346
+ const select$e = function EinsteinPromptTemplateMaskDataRepresentationSelect() {
6307
6347
  return {
6308
6348
  kind: 'Fragment',
6309
- version: VERSION$a,
6349
+ version: VERSION$b,
6310
6350
  private: [],
6311
6351
  selections: [
6312
6352
  {
@@ -6325,7 +6365,7 @@ const select$d = function EinsteinPromptTemplateMaskDataRepresentationSelect() {
6325
6365
  ]
6326
6366
  };
6327
6367
  };
6328
- function equals$a(existing, incoming) {
6368
+ function equals$b(existing, incoming) {
6329
6369
  const existing_originalValue = existing.originalValue;
6330
6370
  const incoming_originalValue = incoming.originalValue;
6331
6371
  if (!(existing_originalValue === incoming_originalValue)) {
@@ -6349,8 +6389,8 @@ function equals$a(existing, incoming) {
6349
6389
  return true;
6350
6390
  }
6351
6391
 
6352
- const VERSION$9 = "76811380b919e1427b00791d86819029";
6353
- function validate$9(obj, path = 'EinsteinPromptTemplateTokenBreakdownRepresentation') {
6392
+ const VERSION$a = "76811380b919e1427b00791d86819029";
6393
+ function validate$a(obj, path = 'EinsteinPromptTemplateTokenBreakdownRepresentation') {
6354
6394
  const v_error = (() => {
6355
6395
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6356
6396
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6378,10 +6418,10 @@ function validate$9(obj, path = 'EinsteinPromptTemplateTokenBreakdownRepresentat
6378
6418
  })();
6379
6419
  return v_error === undefined ? null : v_error;
6380
6420
  }
6381
- const select$c = function EinsteinPromptTemplateTokenBreakdownRepresentationSelect() {
6421
+ const select$d = function EinsteinPromptTemplateTokenBreakdownRepresentationSelect() {
6382
6422
  return {
6383
6423
  kind: 'Fragment',
6384
- version: VERSION$9,
6424
+ version: VERSION$a,
6385
6425
  private: [],
6386
6426
  selections: [
6387
6427
  {
@@ -6403,7 +6443,7 @@ const select$c = function EinsteinPromptTemplateTokenBreakdownRepresentationSele
6403
6443
  ]
6404
6444
  };
6405
6445
  };
6406
- function equals$9(existing, incoming) {
6446
+ function equals$a(existing, incoming) {
6407
6447
  const existing_occurrences = existing.occurrences;
6408
6448
  const incoming_occurrences = incoming.occurrences;
6409
6449
  if (!(existing_occurrences === incoming_occurrences)) {
@@ -6427,8 +6467,8 @@ function equals$9(existing, incoming) {
6427
6467
  return true;
6428
6468
  }
6429
6469
 
6430
- const VERSION$8 = "7212a778ca53a828691ec38760108a72";
6431
- function validate$8(obj, path = 'EinsteinPromptTemplatePromptTokenUsageRepresentation') {
6470
+ const VERSION$9 = "7212a778ca53a828691ec38760108a72";
6471
+ function validate$9(obj, path = 'EinsteinPromptTemplatePromptTokenUsageRepresentation') {
6432
6472
  const v_error = (() => {
6433
6473
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6434
6474
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6442,7 +6482,7 @@ function validate$8(obj, path = 'EinsteinPromptTemplatePromptTokenUsageRepresent
6442
6482
  for (let i = 0; i < obj_breakdown.length; i++) {
6443
6483
  const obj_breakdown_item = obj_breakdown[i];
6444
6484
  const path_breakdown_item = path_breakdown + '[' + i + ']';
6445
- const referencepath_breakdown_itemValidationError = validate$9(obj_breakdown_item, path_breakdown_item);
6485
+ const referencepath_breakdown_itemValidationError = validate$a(obj_breakdown_item, path_breakdown_item);
6446
6486
  if (referencepath_breakdown_itemValidationError !== null) {
6447
6487
  let message = 'Object doesn\'t match EinsteinPromptTemplateTokenBreakdownRepresentation (at "' + path_breakdown_item + '")\n';
6448
6488
  message += referencepath_breakdown_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6458,11 +6498,11 @@ function validate$8(obj, path = 'EinsteinPromptTemplatePromptTokenUsageRepresent
6458
6498
  })();
6459
6499
  return v_error === undefined ? null : v_error;
6460
6500
  }
6461
- const select$b = function EinsteinPromptTemplatePromptTokenUsageRepresentationSelect() {
6462
- const { selections: EinsteinPromptTemplateTokenBreakdownRepresentation__selections, opaque: EinsteinPromptTemplateTokenBreakdownRepresentation__opaque, } = select$c();
6501
+ const select$c = function EinsteinPromptTemplatePromptTokenUsageRepresentationSelect() {
6502
+ const { selections: EinsteinPromptTemplateTokenBreakdownRepresentation__selections, opaque: EinsteinPromptTemplateTokenBreakdownRepresentation__opaque, } = select$d();
6463
6503
  return {
6464
6504
  kind: 'Fragment',
6465
- version: VERSION$8,
6505
+ version: VERSION$9,
6466
6506
  private: [],
6467
6507
  selections: [
6468
6508
  {
@@ -6479,7 +6519,7 @@ const select$b = function EinsteinPromptTemplatePromptTokenUsageRepresentationSe
6479
6519
  ]
6480
6520
  };
6481
6521
  };
6482
- function equals$8(existing, incoming) {
6522
+ function equals$9(existing, incoming) {
6483
6523
  const existing_total = existing.total;
6484
6524
  const incoming_total = incoming.total;
6485
6525
  if (!(existing_total === incoming_total)) {
@@ -6495,7 +6535,7 @@ function equals$8(existing, incoming) {
6495
6535
  return false;
6496
6536
  }
6497
6537
  const equals_breakdown_items = equalsArray(existing_breakdown, incoming_breakdown, (existing_breakdown_item, incoming_breakdown_item) => {
6498
- if (!(equals$9(existing_breakdown_item, incoming_breakdown_item))) {
6538
+ if (!(equals$a(existing_breakdown_item, incoming_breakdown_item))) {
6499
6539
  return false;
6500
6540
  }
6501
6541
  });
@@ -6506,8 +6546,8 @@ function equals$8(existing, incoming) {
6506
6546
  return true;
6507
6547
  }
6508
6548
 
6509
- const VERSION$7 = "20ed3f8bf15ce2c8910245591e27fae5";
6510
- function validate$7(obj, path = 'EinsteinPromptTemplateTokenUsageRepresentation') {
6549
+ const VERSION$8 = "20ed3f8bf15ce2c8910245591e27fae5";
6550
+ function validate$8(obj, path = 'EinsteinPromptTemplateTokenUsageRepresentation') {
6511
6551
  const v_error = (() => {
6512
6552
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6513
6553
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6519,7 +6559,7 @@ function validate$7(obj, path = 'EinsteinPromptTemplateTokenUsageRepresentation'
6519
6559
  }
6520
6560
  const obj_prompt = obj.prompt;
6521
6561
  const path_prompt = path + '.prompt';
6522
- const referencepath_promptValidationError = validate$8(obj_prompt, path_prompt);
6562
+ const referencepath_promptValidationError = validate$9(obj_prompt, path_prompt);
6523
6563
  if (referencepath_promptValidationError !== null) {
6524
6564
  let message = 'Object doesn\'t match EinsteinPromptTemplatePromptTokenUsageRepresentation (at "' + path_prompt + '")\n';
6525
6565
  message += referencepath_promptValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6533,11 +6573,11 @@ function validate$7(obj, path = 'EinsteinPromptTemplateTokenUsageRepresentation'
6533
6573
  })();
6534
6574
  return v_error === undefined ? null : v_error;
6535
6575
  }
6536
- const select$a = function EinsteinPromptTemplateTokenUsageRepresentationSelect() {
6537
- const { selections: EinsteinPromptTemplatePromptTokenUsageRepresentation__selections, opaque: EinsteinPromptTemplatePromptTokenUsageRepresentation__opaque, } = select$b();
6576
+ const select$b = function EinsteinPromptTemplateTokenUsageRepresentationSelect() {
6577
+ const { selections: EinsteinPromptTemplatePromptTokenUsageRepresentation__selections, opaque: EinsteinPromptTemplatePromptTokenUsageRepresentation__opaque, } = select$c();
6538
6578
  return {
6539
6579
  kind: 'Fragment',
6540
- version: VERSION$7,
6580
+ version: VERSION$8,
6541
6581
  private: [],
6542
6582
  selections: [
6543
6583
  {
@@ -6556,7 +6596,7 @@ const select$a = function EinsteinPromptTemplateTokenUsageRepresentationSelect()
6556
6596
  ]
6557
6597
  };
6558
6598
  };
6559
- function equals$7(existing, incoming) {
6599
+ function equals$8(existing, incoming) {
6560
6600
  const existing_completion = existing.completion;
6561
6601
  const incoming_completion = incoming.completion;
6562
6602
  if (!(existing_completion === incoming_completion)) {
@@ -6569,15 +6609,15 @@ function equals$7(existing, incoming) {
6569
6609
  }
6570
6610
  const existing_prompt = existing.prompt;
6571
6611
  const incoming_prompt = incoming.prompt;
6572
- if (!(equals$8(existing_prompt, incoming_prompt))) {
6612
+ if (!(equals$9(existing_prompt, incoming_prompt))) {
6573
6613
  return false;
6574
6614
  }
6575
6615
  return true;
6576
6616
  }
6577
6617
 
6578
6618
  const TTL$2 = 100;
6579
- const VERSION$6 = "c298962a9a914e248606ab1ac01d1d08";
6580
- function validate$6(obj, path = 'EinsteinPromptTemplateGenerationsRepresentation') {
6619
+ const VERSION$7 = "c298962a9a914e248606ab1ac01d1d08";
6620
+ function validate$7(obj, path = 'EinsteinPromptTemplateGenerationsRepresentation') {
6581
6621
  const v_error = (() => {
6582
6622
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6583
6623
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6585,7 +6625,7 @@ function validate$6(obj, path = 'EinsteinPromptTemplateGenerationsRepresentation
6585
6625
  if (obj.citations !== undefined) {
6586
6626
  const obj_citations = obj.citations;
6587
6627
  const path_citations = path + '.citations';
6588
- const referencepath_citationsValidationError = validate$l(obj_citations, path_citations);
6628
+ const referencepath_citationsValidationError = validate$m(obj_citations, path_citations);
6589
6629
  if (referencepath_citationsValidationError !== null) {
6590
6630
  let message = 'Object doesn\'t match EinsteinLlmGenerationCitationRepresentation (at "' + path_citations + '")\n';
6591
6631
  message += referencepath_citationsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6601,7 +6641,7 @@ function validate$6(obj, path = 'EinsteinPromptTemplateGenerationsRepresentation
6601
6641
  for (let i = 0; i < obj_fileData.length; i++) {
6602
6642
  const obj_fileData_item = obj_fileData[i];
6603
6643
  const path_fileData_item = path_fileData + '[' + i + ']';
6604
- const referencepath_fileData_itemValidationError = validate$j(obj_fileData_item, path_fileData_item);
6644
+ const referencepath_fileData_itemValidationError = validate$k(obj_fileData_item, path_fileData_item);
6605
6645
  if (referencepath_fileData_itemValidationError !== null) {
6606
6646
  let message = 'Object doesn\'t match EinsteinPromptTemplateAttachmentRepresentation (at "' + path_fileData_item + '")\n';
6607
6647
  message += referencepath_fileData_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6618,7 +6658,7 @@ function validate$6(obj, path = 'EinsteinPromptTemplateGenerationsRepresentation
6618
6658
  for (let i = 0; i < obj_generationErrors.length; i++) {
6619
6659
  const obj_generationErrors_item = obj_generationErrors[i];
6620
6660
  const path_generationErrors_item = path_generationErrors + '[' + i + ']';
6621
- const referencepath_generationErrors_itemValidationError = validate$i(obj_generationErrors_item, path_generationErrors_item);
6661
+ const referencepath_generationErrors_itemValidationError = validate$j(obj_generationErrors_item, path_generationErrors_item);
6622
6662
  if (referencepath_generationErrors_itemValidationError !== null) {
6623
6663
  let message = 'Object doesn\'t match EinsteinPromptTemplateGenerationsErrorRepresentation (at "' + path_generationErrors_item + '")\n';
6624
6664
  message += referencepath_generationErrors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6634,7 +6674,7 @@ function validate$6(obj, path = 'EinsteinPromptTemplateGenerationsRepresentation
6634
6674
  for (let i = 0; i < obj_generations.length; i++) {
6635
6675
  const obj_generations_item = obj_generations[i];
6636
6676
  const path_generations_item = path_generations + '[' + i + ']';
6637
- const referencepath_generations_itemValidationError = validate$D(obj_generations_item, path_generations_item);
6677
+ const referencepath_generations_itemValidationError = validate$E(obj_generations_item, path_generations_item);
6638
6678
  if (referencepath_generations_itemValidationError !== null) {
6639
6679
  let message = 'Object doesn\'t match EinsteinLlmGenerationItemRepresentation (at "' + path_generations_item + '")\n';
6640
6680
  message += referencepath_generations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6661,7 +6701,7 @@ function validate$6(obj, path = 'EinsteinPromptTemplateGenerationsRepresentation
6661
6701
  const path_parameters = path + '.parameters';
6662
6702
  let obj_parameters_union0 = null;
6663
6703
  const obj_parameters_union0_error = (() => {
6664
- const referencepath_parametersValidationError = validate$C(obj_parameters, path_parameters);
6704
+ const referencepath_parametersValidationError = validate$D(obj_parameters, path_parameters);
6665
6705
  if (referencepath_parametersValidationError !== null) {
6666
6706
  let message = 'Object doesn\'t match WrappedMap (at "' + path_parameters + '")\n';
6667
6707
  message += referencepath_parametersValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6689,7 +6729,7 @@ function validate$6(obj, path = 'EinsteinPromptTemplateGenerationsRepresentation
6689
6729
  if (obj.performance !== undefined) {
6690
6730
  const obj_performance = obj.performance;
6691
6731
  const path_performance = path + '.performance';
6692
- const referencepath_performanceValidationError = validate$d(obj_performance, path_performance);
6732
+ const referencepath_performanceValidationError = validate$e(obj_performance, path_performance);
6693
6733
  if (referencepath_performanceValidationError !== null) {
6694
6734
  let message = 'Object doesn\'t match EinsteinPromptTemplatePerformanceRepresentation (at "' + path_performance + '")\n';
6695
6735
  message += referencepath_performanceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6767,7 +6807,7 @@ function validate$6(obj, path = 'EinsteinPromptTemplateGenerationsRepresentation
6767
6807
  for (let i = 0; i < obj_requestMessages.length; i++) {
6768
6808
  const obj_requestMessages_item = obj_requestMessages[i];
6769
6809
  const path_requestMessages_item = path_requestMessages + '[' + i + ']';
6770
- const referencepath_requestMessages_itemValidationError = validate$b(obj_requestMessages_item, path_requestMessages_item);
6810
+ const referencepath_requestMessages_itemValidationError = validate$c(obj_requestMessages_item, path_requestMessages_item);
6771
6811
  if (referencepath_requestMessages_itemValidationError !== null) {
6772
6812
  let message = 'Object doesn\'t match EinsteinPromptTemplateMaskContentRepresentation (at "' + path_requestMessages_item + '")\n';
6773
6813
  message += referencepath_requestMessages_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6784,7 +6824,7 @@ function validate$6(obj, path = 'EinsteinPromptTemplateGenerationsRepresentation
6784
6824
  for (let i = 0; i < obj_responseMessages.length; i++) {
6785
6825
  const obj_responseMessages_item = obj_responseMessages[i];
6786
6826
  const path_responseMessages_item = path_responseMessages + '[' + i + ']';
6787
- const referencepath_responseMessages_itemValidationError = validate$b(obj_responseMessages_item, path_responseMessages_item);
6827
+ const referencepath_responseMessages_itemValidationError = validate$c(obj_responseMessages_item, path_responseMessages_item);
6788
6828
  if (referencepath_responseMessages_itemValidationError !== null) {
6789
6829
  let message = 'Object doesn\'t match EinsteinPromptTemplateMaskContentRepresentation (at "' + path_responseMessages_item + '")\n';
6790
6830
  message += referencepath_responseMessages_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6801,7 +6841,7 @@ function validate$6(obj, path = 'EinsteinPromptTemplateGenerationsRepresentation
6801
6841
  for (let i = 0; i < obj_slotsMaskingInformation.length; i++) {
6802
6842
  const obj_slotsMaskingInformation_item = obj_slotsMaskingInformation[i];
6803
6843
  const path_slotsMaskingInformation_item = path_slotsMaskingInformation + '[' + i + ']';
6804
- const referencepath_slotsMaskingInformation_itemValidationError = validate$a(obj_slotsMaskingInformation_item, path_slotsMaskingInformation_item);
6844
+ const referencepath_slotsMaskingInformation_itemValidationError = validate$b(obj_slotsMaskingInformation_item, path_slotsMaskingInformation_item);
6805
6845
  if (referencepath_slotsMaskingInformation_itemValidationError !== null) {
6806
6846
  let message = 'Object doesn\'t match EinsteinPromptTemplateMaskDataRepresentation (at "' + path_slotsMaskingInformation_item + '")\n';
6807
6847
  message += referencepath_slotsMaskingInformation_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6812,7 +6852,7 @@ function validate$6(obj, path = 'EinsteinPromptTemplateGenerationsRepresentation
6812
6852
  if (obj.tokenUsage !== undefined) {
6813
6853
  const obj_tokenUsage = obj.tokenUsage;
6814
6854
  const path_tokenUsage = path + '.tokenUsage';
6815
- const referencepath_tokenUsageValidationError = validate$7(obj_tokenUsage, path_tokenUsage);
6855
+ const referencepath_tokenUsageValidationError = validate$8(obj_tokenUsage, path_tokenUsage);
6816
6856
  if (referencepath_tokenUsageValidationError !== null) {
6817
6857
  let message = 'Object doesn\'t match EinsteinPromptTemplateTokenUsageRepresentation (at "' + path_tokenUsage + '")\n';
6818
6858
  message += referencepath_tokenUsageValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6835,19 +6875,19 @@ function keyBuilderFromType(luvio, object) {
6835
6875
  function normalize$2(input, existing, path, luvio, store, timestamp) {
6836
6876
  return input;
6837
6877
  }
6838
- const select$9 = function EinsteinPromptTemplateGenerationsRepresentationSelect() {
6839
- const { selections: EinsteinLlmGenerationCitationRepresentation__selections, opaque: EinsteinLlmGenerationCitationRepresentation__opaque, } = select$o();
6840
- const { selections: EinsteinPromptTemplateAttachmentRepresentation__selections, opaque: EinsteinPromptTemplateAttachmentRepresentation__opaque, } = select$m();
6841
- const { selections: EinsteinPromptTemplateGenerationsErrorRepresentation__selections, opaque: EinsteinPromptTemplateGenerationsErrorRepresentation__opaque, } = select$l();
6842
- const { selections: EinsteinLlmGenerationItemRepresentation__selections, opaque: EinsteinLlmGenerationItemRepresentation__opaque, } = select$P();
6843
- const { selections: WrappedMap__selections, opaque: WrappedMap__opaque, } = select$O();
6844
- const { selections: EinsteinPromptTemplatePerformanceRepresentation__selections, opaque: EinsteinPromptTemplatePerformanceRepresentation__opaque, } = select$g();
6845
- const { selections: EinsteinPromptTemplateMaskContentRepresentation__selections, opaque: EinsteinPromptTemplateMaskContentRepresentation__opaque, } = select$e();
6846
- const { selections: EinsteinPromptTemplateMaskDataRepresentation__selections, opaque: EinsteinPromptTemplateMaskDataRepresentation__opaque, } = select$d();
6847
- const { selections: EinsteinPromptTemplateTokenUsageRepresentation__selections, opaque: EinsteinPromptTemplateTokenUsageRepresentation__opaque, } = select$a();
6878
+ const select$a = function EinsteinPromptTemplateGenerationsRepresentationSelect() {
6879
+ const { selections: EinsteinLlmGenerationCitationRepresentation__selections, opaque: EinsteinLlmGenerationCitationRepresentation__opaque, } = select$p();
6880
+ const { selections: EinsteinPromptTemplateAttachmentRepresentation__selections, opaque: EinsteinPromptTemplateAttachmentRepresentation__opaque, } = select$n();
6881
+ const { selections: EinsteinPromptTemplateGenerationsErrorRepresentation__selections, opaque: EinsteinPromptTemplateGenerationsErrorRepresentation__opaque, } = select$m();
6882
+ const { selections: EinsteinLlmGenerationItemRepresentation__selections, opaque: EinsteinLlmGenerationItemRepresentation__opaque, } = select$Q();
6883
+ const { selections: WrappedMap__selections, opaque: WrappedMap__opaque, } = select$P();
6884
+ const { selections: EinsteinPromptTemplatePerformanceRepresentation__selections, opaque: EinsteinPromptTemplatePerformanceRepresentation__opaque, } = select$h();
6885
+ const { selections: EinsteinPromptTemplateMaskContentRepresentation__selections, opaque: EinsteinPromptTemplateMaskContentRepresentation__opaque, } = select$f();
6886
+ const { selections: EinsteinPromptTemplateMaskDataRepresentation__selections, opaque: EinsteinPromptTemplateMaskDataRepresentation__opaque, } = select$e();
6887
+ const { selections: EinsteinPromptTemplateTokenUsageRepresentation__selections, opaque: EinsteinPromptTemplateTokenUsageRepresentation__opaque, } = select$b();
6848
6888
  return {
6849
6889
  kind: 'Fragment',
6850
- version: VERSION$6,
6890
+ version: VERSION$7,
6851
6891
  private: [],
6852
6892
  selections: [
6853
6893
  {
@@ -6939,7 +6979,7 @@ const select$9 = function EinsteinPromptTemplateGenerationsRepresentationSelect(
6939
6979
  ]
6940
6980
  };
6941
6981
  };
6942
- function equals$6(existing, incoming) {
6982
+ function equals$7(existing, incoming) {
6943
6983
  const existing_promptTemplateDevName = existing.promptTemplateDevName;
6944
6984
  const incoming_promptTemplateDevName = incoming.promptTemplateDevName;
6945
6985
  if (!(existing_promptTemplateDevName === incoming_promptTemplateDevName)) {
@@ -6959,7 +6999,7 @@ function equals$6(existing, incoming) {
6959
6999
  if (existing_citations === undefined || incoming_citations === undefined) {
6960
7000
  return false;
6961
7001
  }
6962
- if (!(equals$l(existing_citations, incoming_citations))) {
7002
+ if (!(equals$m(existing_citations, incoming_citations))) {
6963
7003
  return false;
6964
7004
  }
6965
7005
  }
@@ -6973,7 +7013,7 @@ function equals$6(existing, incoming) {
6973
7013
  return false;
6974
7014
  }
6975
7015
  const equals_fileData_items = equalsArray(existing_fileData, incoming_fileData, (existing_fileData_item, incoming_fileData_item) => {
6976
- if (!(equals$j(existing_fileData_item, incoming_fileData_item))) {
7016
+ if (!(equals$k(existing_fileData_item, incoming_fileData_item))) {
6977
7017
  return false;
6978
7018
  }
6979
7019
  });
@@ -6991,7 +7031,7 @@ function equals$6(existing, incoming) {
6991
7031
  return false;
6992
7032
  }
6993
7033
  const equals_generationErrors_items = equalsArray(existing_generationErrors, incoming_generationErrors, (existing_generationErrors_item, incoming_generationErrors_item) => {
6994
- if (!(equals$i(existing_generationErrors_item, incoming_generationErrors_item))) {
7034
+ if (!(equals$j(existing_generationErrors_item, incoming_generationErrors_item))) {
6995
7035
  return false;
6996
7036
  }
6997
7037
  });
@@ -7002,7 +7042,7 @@ function equals$6(existing, incoming) {
7002
7042
  const existing_generations = existing.generations;
7003
7043
  const incoming_generations = incoming.generations;
7004
7044
  const equals_generations_items = equalsArray(existing_generations, incoming_generations, (existing_generations_item, incoming_generations_item) => {
7005
- if (!(equals$x(existing_generations_item, incoming_generations_item))) {
7045
+ if (!(equals$y(existing_generations_item, incoming_generations_item))) {
7006
7046
  return false;
7007
7047
  }
7008
7048
  });
@@ -7032,7 +7072,7 @@ function equals$6(existing, incoming) {
7032
7072
  if (!(existing_parameters === incoming_parameters
7033
7073
  || (existing_parameters != null &&
7034
7074
  incoming_parameters != null &&
7035
- equals$w(existing_parameters, incoming_parameters)))) {
7075
+ equals$x(existing_parameters, incoming_parameters)))) {
7036
7076
  return false;
7037
7077
  }
7038
7078
  const existing_performance = existing.performance;
@@ -7044,7 +7084,7 @@ function equals$6(existing, incoming) {
7044
7084
  if (existing_performance === undefined || incoming_performance === undefined) {
7045
7085
  return false;
7046
7086
  }
7047
- if (!(equals$d(existing_performance, incoming_performance))) {
7087
+ if (!(equals$e(existing_performance, incoming_performance))) {
7048
7088
  return false;
7049
7089
  }
7050
7090
  }
@@ -7068,7 +7108,7 @@ function equals$6(existing, incoming) {
7068
7108
  return false;
7069
7109
  }
7070
7110
  const equals_requestMessages_items = equalsArray(existing_requestMessages, incoming_requestMessages, (existing_requestMessages_item, incoming_requestMessages_item) => {
7071
- if (!(equals$b(existing_requestMessages_item, incoming_requestMessages_item))) {
7111
+ if (!(equals$c(existing_requestMessages_item, incoming_requestMessages_item))) {
7072
7112
  return false;
7073
7113
  }
7074
7114
  });
@@ -7086,7 +7126,7 @@ function equals$6(existing, incoming) {
7086
7126
  return false;
7087
7127
  }
7088
7128
  const equals_responseMessages_items = equalsArray(existing_responseMessages, incoming_responseMessages, (existing_responseMessages_item, incoming_responseMessages_item) => {
7089
- if (!(equals$b(existing_responseMessages_item, incoming_responseMessages_item))) {
7129
+ if (!(equals$c(existing_responseMessages_item, incoming_responseMessages_item))) {
7090
7130
  return false;
7091
7131
  }
7092
7132
  });
@@ -7104,7 +7144,7 @@ function equals$6(existing, incoming) {
7104
7144
  return false;
7105
7145
  }
7106
7146
  const equals_slotsMaskingInformation_items = equalsArray(existing_slotsMaskingInformation, incoming_slotsMaskingInformation, (existing_slotsMaskingInformation_item, incoming_slotsMaskingInformation_item) => {
7107
- if (!(equals$a(existing_slotsMaskingInformation_item, incoming_slotsMaskingInformation_item))) {
7147
+ if (!(equals$b(existing_slotsMaskingInformation_item, incoming_slotsMaskingInformation_item))) {
7108
7148
  return false;
7109
7149
  }
7110
7150
  });
@@ -7121,7 +7161,7 @@ function equals$6(existing, incoming) {
7121
7161
  if (existing_tokenUsage === undefined || incoming_tokenUsage === undefined) {
7122
7162
  return false;
7123
7163
  }
7124
- if (!(equals$7(existing_tokenUsage, incoming_tokenUsage))) {
7164
+ if (!(equals$8(existing_tokenUsage, incoming_tokenUsage))) {
7125
7165
  return false;
7126
7166
  }
7127
7167
  }
@@ -7129,14 +7169,14 @@ function equals$6(existing, incoming) {
7129
7169
  }
7130
7170
  const ingest$2 = function EinsteinPromptTemplateGenerationsRepresentationIngest(input, path, luvio, store, timestamp) {
7131
7171
  if (process.env.NODE_ENV !== 'production') {
7132
- const validateError = validate$6(input);
7172
+ const validateError = validate$7(input);
7133
7173
  if (validateError !== null) {
7134
7174
  throw validateError;
7135
7175
  }
7136
7176
  }
7137
7177
  const key = keyBuilderFromType(luvio, input);
7138
7178
  const ttlToUse = TTL$2;
7139
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "EinsteinLLM", VERSION$6, RepresentationType$2, equals$6);
7179
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "EinsteinLLM", VERSION$7, RepresentationType$2, equals$7);
7140
7180
  return createLink(key);
7141
7181
  };
7142
7182
  function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
@@ -7149,8 +7189,8 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
7149
7189
  });
7150
7190
  }
7151
7191
 
7152
- function select$8(luvio, params) {
7153
- return select$9();
7192
+ function select$9(luvio, params) {
7193
+ return select$a();
7154
7194
  }
7155
7195
  function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
7156
7196
  getTypeCacheKeys$2(storeKeyMap, luvio, response);
@@ -7161,7 +7201,7 @@ function ingestSuccess$2(luvio, resourceParams, response) {
7161
7201
  luvio.storeIngest(key, ingest$2, body);
7162
7202
  const snapshot = luvio.storeLookup({
7163
7203
  recordId: key,
7164
- node: select$8(),
7204
+ node: select$9(),
7165
7205
  variables: {},
7166
7206
  });
7167
7207
  if (process.env.NODE_ENV !== 'production') {
@@ -7198,7 +7238,7 @@ function typeCheckConfig$2(untrustedConfig) {
7198
7238
  const config = {};
7199
7239
  typeCheckConfig$k(untrustedConfig, config, createGenerationsForPromptTemplate_ConfigPropertyMetadata);
7200
7240
  const untrustedConfig_promptTemplateGenerationsInput = untrustedConfig.promptTemplateGenerationsInput;
7201
- const referenceEinsteinPromptTemplateGenerationsInputRepresentationValidationError = validate$n(untrustedConfig_promptTemplateGenerationsInput);
7241
+ const referenceEinsteinPromptTemplateGenerationsInputRepresentationValidationError = validate$o(untrustedConfig_promptTemplateGenerationsInput);
7202
7242
  if (referenceEinsteinPromptTemplateGenerationsInputRepresentationValidationError === null) {
7203
7243
  config.promptTemplateGenerationsInput = untrustedConfig_promptTemplateGenerationsInput;
7204
7244
  }
@@ -7246,6 +7286,104 @@ const createGenerationsForPromptTemplateAdapterFactory = (luvio) => {
7246
7286
  };
7247
7287
  };
7248
7288
 
7289
+ const VERSION$6 = "623bf343adaad84a1a57137d70c052cf";
7290
+ function validate$6(obj, path = 'EinsteinPromptTypeModelAffinityRepresentation') {
7291
+ const v_error = (() => {
7292
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
7293
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
7294
+ }
7295
+ if (obj.preferredCapabilities !== undefined) {
7296
+ const obj_preferredCapabilities = obj.preferredCapabilities;
7297
+ const path_preferredCapabilities = path + '.preferredCapabilities';
7298
+ if (!ArrayIsArray(obj_preferredCapabilities)) {
7299
+ return new TypeError('Expected "array" but received "' + typeof obj_preferredCapabilities + '" (at "' + path_preferredCapabilities + '")');
7300
+ }
7301
+ for (let i = 0; i < obj_preferredCapabilities.length; i++) {
7302
+ const obj_preferredCapabilities_item = obj_preferredCapabilities[i];
7303
+ const path_preferredCapabilities_item = path_preferredCapabilities + '[' + i + ']';
7304
+ if (typeof obj_preferredCapabilities_item !== 'string') {
7305
+ return new TypeError('Expected "string" but received "' + typeof obj_preferredCapabilities_item + '" (at "' + path_preferredCapabilities_item + '")');
7306
+ }
7307
+ }
7308
+ }
7309
+ if (obj.requiredCapabilities !== undefined) {
7310
+ const obj_requiredCapabilities = obj.requiredCapabilities;
7311
+ const path_requiredCapabilities = path + '.requiredCapabilities';
7312
+ if (!ArrayIsArray(obj_requiredCapabilities)) {
7313
+ return new TypeError('Expected "array" but received "' + typeof obj_requiredCapabilities + '" (at "' + path_requiredCapabilities + '")');
7314
+ }
7315
+ for (let i = 0; i < obj_requiredCapabilities.length; i++) {
7316
+ const obj_requiredCapabilities_item = obj_requiredCapabilities[i];
7317
+ const path_requiredCapabilities_item = path_requiredCapabilities + '[' + i + ']';
7318
+ if (typeof obj_requiredCapabilities_item !== 'string') {
7319
+ return new TypeError('Expected "string" but received "' + typeof obj_requiredCapabilities_item + '" (at "' + path_requiredCapabilities_item + '")');
7320
+ }
7321
+ }
7322
+ }
7323
+ })();
7324
+ return v_error === undefined ? null : v_error;
7325
+ }
7326
+ const select$8 = function EinsteinPromptTypeModelAffinityRepresentationSelect() {
7327
+ return {
7328
+ kind: 'Fragment',
7329
+ version: VERSION$6,
7330
+ private: [],
7331
+ selections: [
7332
+ {
7333
+ name: 'preferredCapabilities',
7334
+ kind: 'Scalar',
7335
+ plural: true,
7336
+ required: false
7337
+ },
7338
+ {
7339
+ name: 'requiredCapabilities',
7340
+ kind: 'Scalar',
7341
+ plural: true,
7342
+ required: false
7343
+ }
7344
+ ]
7345
+ };
7346
+ };
7347
+ function equals$6(existing, incoming) {
7348
+ const existing_preferredCapabilities = existing.preferredCapabilities;
7349
+ const incoming_preferredCapabilities = incoming.preferredCapabilities;
7350
+ // if at least one of these optionals is defined
7351
+ if (existing_preferredCapabilities !== undefined || incoming_preferredCapabilities !== undefined) {
7352
+ // if one of these is not defined we know the other is defined and therefore
7353
+ // not equal
7354
+ if (existing_preferredCapabilities === undefined || incoming_preferredCapabilities === undefined) {
7355
+ return false;
7356
+ }
7357
+ const equals_preferredCapabilities_items = equalsArray(existing_preferredCapabilities, incoming_preferredCapabilities, (existing_preferredCapabilities_item, incoming_preferredCapabilities_item) => {
7358
+ if (!(existing_preferredCapabilities_item === incoming_preferredCapabilities_item)) {
7359
+ return false;
7360
+ }
7361
+ });
7362
+ if (equals_preferredCapabilities_items === false) {
7363
+ return false;
7364
+ }
7365
+ }
7366
+ const existing_requiredCapabilities = existing.requiredCapabilities;
7367
+ const incoming_requiredCapabilities = incoming.requiredCapabilities;
7368
+ // if at least one of these optionals is defined
7369
+ if (existing_requiredCapabilities !== undefined || incoming_requiredCapabilities !== undefined) {
7370
+ // if one of these is not defined we know the other is defined and therefore
7371
+ // not equal
7372
+ if (existing_requiredCapabilities === undefined || incoming_requiredCapabilities === undefined) {
7373
+ return false;
7374
+ }
7375
+ const equals_requiredCapabilities_items = equalsArray(existing_requiredCapabilities, incoming_requiredCapabilities, (existing_requiredCapabilities_item, incoming_requiredCapabilities_item) => {
7376
+ if (!(existing_requiredCapabilities_item === incoming_requiredCapabilities_item)) {
7377
+ return false;
7378
+ }
7379
+ });
7380
+ if (equals_requiredCapabilities_items === false) {
7381
+ return false;
7382
+ }
7383
+ }
7384
+ return true;
7385
+ }
7386
+
7249
7387
  const VERSION$5 = "f08355bdc491f090c787309a8a476caa";
7250
7388
  function validate$5(obj, path = 'EinsteinPromptTypeSchemaInputFieldRepresentation') {
7251
7389
  const v_error = (() => {
@@ -7451,12 +7589,33 @@ function equals$4(existing, incoming) {
7451
7589
  }
7452
7590
 
7453
7591
  const TTL$1 = 300;
7454
- const VERSION$3 = "bb627c12e7041da02926d6b2affc98a1";
7592
+ const VERSION$3 = "687e1fa3402f444465804964fd16a221";
7455
7593
  function validate$3(obj, path = 'EinsteinPromptTypeRecordRepresentation') {
7456
7594
  const v_error = (() => {
7457
7595
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
7458
7596
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
7459
7597
  }
7598
+ if (obj.allowActions !== undefined) {
7599
+ const obj_allowActions = obj.allowActions;
7600
+ const path_allowActions = path + '.allowActions';
7601
+ if (typeof obj_allowActions !== 'boolean') {
7602
+ return new TypeError('Expected "boolean" but received "' + typeof obj_allowActions + '" (at "' + path_allowActions + '")');
7603
+ }
7604
+ }
7605
+ if (obj.allowedInputTypes !== undefined) {
7606
+ const obj_allowedInputTypes = obj.allowedInputTypes;
7607
+ const path_allowedInputTypes = path + '.allowedInputTypes';
7608
+ if (!ArrayIsArray(obj_allowedInputTypes)) {
7609
+ return new TypeError('Expected "array" but received "' + typeof obj_allowedInputTypes + '" (at "' + path_allowedInputTypes + '")');
7610
+ }
7611
+ for (let i = 0; i < obj_allowedInputTypes.length; i++) {
7612
+ const obj_allowedInputTypes_item = obj_allowedInputTypes[i];
7613
+ const path_allowedInputTypes_item = path_allowedInputTypes + '[' + i + ']';
7614
+ if (typeof obj_allowedInputTypes_item !== 'string') {
7615
+ return new TypeError('Expected "string" but received "' + typeof obj_allowedInputTypes_item + '" (at "' + path_allowedInputTypes_item + '")');
7616
+ }
7617
+ }
7618
+ }
7460
7619
  const obj_excludedGlobalVariables = obj.excludedGlobalVariables;
7461
7620
  const path_excludedGlobalVariables = path + '.excludedGlobalVariables';
7462
7621
  if (!ArrayIsArray(obj_excludedGlobalVariables)) {
@@ -7469,6 +7628,16 @@ function validate$3(obj, path = 'EinsteinPromptTypeRecordRepresentation') {
7469
7628
  return new TypeError('Expected "string" but received "' + typeof obj_excludedGlobalVariables_item + '" (at "' + path_excludedGlobalVariables_item + '")');
7470
7629
  }
7471
7630
  }
7631
+ if (obj.modelAffinity !== undefined) {
7632
+ const obj_modelAffinity = obj.modelAffinity;
7633
+ const path_modelAffinity = path + '.modelAffinity';
7634
+ const referencepath_modelAffinityValidationError = validate$6(obj_modelAffinity, path_modelAffinity);
7635
+ if (referencepath_modelAffinityValidationError !== null) {
7636
+ let message = 'Object doesn\'t match EinsteinPromptTypeModelAffinityRepresentation (at "' + path_modelAffinity + '")\n';
7637
+ message += referencepath_modelAffinityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
7638
+ return new TypeError(message);
7639
+ }
7640
+ }
7472
7641
  const obj_schema = obj.schema;
7473
7642
  const path_schema = path + '.schema';
7474
7643
  const referencepath_schemaValidationError = validate$4(obj_schema, path_schema);
@@ -7490,17 +7659,35 @@ function normalize$1(input, existing, path, luvio, store, timestamp) {
7490
7659
  return input;
7491
7660
  }
7492
7661
  const select$5 = function EinsteinPromptTypeRecordRepresentationSelect() {
7662
+ const { selections: EinsteinPromptTypeModelAffinityRepresentation__selections, opaque: EinsteinPromptTypeModelAffinityRepresentation__opaque, } = select$8();
7493
7663
  const { selections: EinsteinPromptTypeSchemaRepresentation__selections, opaque: EinsteinPromptTypeSchemaRepresentation__opaque, } = select$6();
7494
7664
  return {
7495
7665
  kind: 'Fragment',
7496
7666
  version: VERSION$3,
7497
7667
  private: [],
7498
7668
  selections: [
7669
+ {
7670
+ name: 'allowActions',
7671
+ kind: 'Scalar',
7672
+ required: false
7673
+ },
7674
+ {
7675
+ name: 'allowedInputTypes',
7676
+ kind: 'Scalar',
7677
+ plural: true,
7678
+ required: false
7679
+ },
7499
7680
  {
7500
7681
  name: 'excludedGlobalVariables',
7501
7682
  kind: 'Scalar',
7502
7683
  plural: true
7503
7684
  },
7685
+ {
7686
+ name: 'modelAffinity',
7687
+ kind: 'Object',
7688
+ selections: EinsteinPromptTypeModelAffinityRepresentation__selections,
7689
+ required: false
7690
+ },
7504
7691
  {
7505
7692
  name: 'schema',
7506
7693
  kind: 'Object',
@@ -7514,11 +7701,42 @@ const select$5 = function EinsteinPromptTypeRecordRepresentationSelect() {
7514
7701
  };
7515
7702
  };
7516
7703
  function equals$3(existing, incoming) {
7704
+ const existing_allowActions = existing.allowActions;
7705
+ const incoming_allowActions = incoming.allowActions;
7706
+ // if at least one of these optionals is defined
7707
+ if (existing_allowActions !== undefined || incoming_allowActions !== undefined) {
7708
+ // if one of these is not defined we know the other is defined and therefore
7709
+ // not equal
7710
+ if (existing_allowActions === undefined || incoming_allowActions === undefined) {
7711
+ return false;
7712
+ }
7713
+ if (!(existing_allowActions === incoming_allowActions)) {
7714
+ return false;
7715
+ }
7716
+ }
7517
7717
  const existing_templateTypeName = existing.templateTypeName;
7518
7718
  const incoming_templateTypeName = incoming.templateTypeName;
7519
7719
  if (!(existing_templateTypeName === incoming_templateTypeName)) {
7520
7720
  return false;
7521
7721
  }
7722
+ const existing_allowedInputTypes = existing.allowedInputTypes;
7723
+ const incoming_allowedInputTypes = incoming.allowedInputTypes;
7724
+ // if at least one of these optionals is defined
7725
+ if (existing_allowedInputTypes !== undefined || incoming_allowedInputTypes !== undefined) {
7726
+ // if one of these is not defined we know the other is defined and therefore
7727
+ // not equal
7728
+ if (existing_allowedInputTypes === undefined || incoming_allowedInputTypes === undefined) {
7729
+ return false;
7730
+ }
7731
+ const equals_allowedInputTypes_items = equalsArray(existing_allowedInputTypes, incoming_allowedInputTypes, (existing_allowedInputTypes_item, incoming_allowedInputTypes_item) => {
7732
+ if (!(existing_allowedInputTypes_item === incoming_allowedInputTypes_item)) {
7733
+ return false;
7734
+ }
7735
+ });
7736
+ if (equals_allowedInputTypes_items === false) {
7737
+ return false;
7738
+ }
7739
+ }
7522
7740
  const existing_excludedGlobalVariables = existing.excludedGlobalVariables;
7523
7741
  const incoming_excludedGlobalVariables = incoming.excludedGlobalVariables;
7524
7742
  const equals_excludedGlobalVariables_items = equalsArray(existing_excludedGlobalVariables, incoming_excludedGlobalVariables, (existing_excludedGlobalVariables_item, incoming_excludedGlobalVariables_item) => {
@@ -7529,6 +7747,19 @@ function equals$3(existing, incoming) {
7529
7747
  if (equals_excludedGlobalVariables_items === false) {
7530
7748
  return false;
7531
7749
  }
7750
+ const existing_modelAffinity = existing.modelAffinity;
7751
+ const incoming_modelAffinity = incoming.modelAffinity;
7752
+ // if at least one of these optionals is defined
7753
+ if (existing_modelAffinity !== undefined || incoming_modelAffinity !== undefined) {
7754
+ // if one of these is not defined we know the other is defined and therefore
7755
+ // not equal
7756
+ if (existing_modelAffinity === undefined || incoming_modelAffinity === undefined) {
7757
+ return false;
7758
+ }
7759
+ if (!(equals$6(existing_modelAffinity, incoming_modelAffinity))) {
7760
+ return false;
7761
+ }
7762
+ }
7532
7763
  const existing_schema = existing.schema;
7533
7764
  const incoming_schema = incoming.schema;
7534
7765
  if (!(equals$4(existing_schema, incoming_schema))) {