@salesforce/lds-adapters-service-einsteinllm 1.451.0-dev1 → 1.451.0-dev10

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,22 +5908,32 @@ 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 = "b9a79aedb4ae9102574eccd6cbc6831c";
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 + '")');
5882
5922
  }
5923
+ if (obj.fileProcessing !== undefined) {
5924
+ const obj_fileProcessing = obj.fileProcessing;
5925
+ const path_fileProcessing = path + '.fileProcessing';
5926
+ const referencepath_fileProcessingValidationError = validate$g(obj_fileProcessing, path_fileProcessing);
5927
+ if (referencepath_fileProcessingValidationError !== null) {
5928
+ let message = 'Object doesn\'t match EinsteinPromptTemplateLatencyStepRepresentation (at "' + path_fileProcessing + '")\n';
5929
+ message += referencepath_fileProcessingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
5930
+ return new TypeError(message);
5931
+ }
5932
+ }
5883
5933
  if (obj.generation !== undefined) {
5884
5934
  const obj_generation = obj.generation;
5885
5935
  const path_generation = path + '.generation';
5886
- const referencepath_generationValidationError = validate$f(obj_generation, path_generation);
5936
+ const referencepath_generationValidationError = validate$g(obj_generation, path_generation);
5887
5937
  if (referencepath_generationValidationError !== null) {
5888
5938
  let message = 'Object doesn\'t match EinsteinPromptTemplateLatencyStepRepresentation (at "' + path_generation + '")\n';
5889
5939
  message += referencepath_generationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5893,7 +5943,7 @@ function validate$e(obj, path = 'EinsteinPromptTemplateLatencyExecutionRepresent
5893
5943
  if (obj.hydration !== undefined) {
5894
5944
  const obj_hydration = obj.hydration;
5895
5945
  const path_hydration = path + '.hydration';
5896
- const referencepath_hydrationValidationError = validate$f(obj_hydration, path_hydration);
5946
+ const referencepath_hydrationValidationError = validate$g(obj_hydration, path_hydration);
5897
5947
  if (referencepath_hydrationValidationError !== null) {
5898
5948
  let message = 'Object doesn\'t match EinsteinPromptTemplateLatencyStepRepresentation (at "' + path_hydration + '")\n';
5899
5949
  message += referencepath_hydrationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5902,7 +5952,7 @@ function validate$e(obj, path = 'EinsteinPromptTemplateLatencyExecutionRepresent
5902
5952
  }
5903
5953
  const obj_loadTemplate = obj.loadTemplate;
5904
5954
  const path_loadTemplate = path + '.loadTemplate';
5905
- const referencepath_loadTemplateValidationError = validate$f(obj_loadTemplate, path_loadTemplate);
5955
+ const referencepath_loadTemplateValidationError = validate$g(obj_loadTemplate, path_loadTemplate);
5906
5956
  if (referencepath_loadTemplateValidationError !== null) {
5907
5957
  let message = 'Object doesn\'t match EinsteinPromptTemplateLatencyStepRepresentation (at "' + path_loadTemplate + '")\n';
5908
5958
  message += referencepath_loadTemplateValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5911,7 +5961,7 @@ function validate$e(obj, path = 'EinsteinPromptTemplateLatencyExecutionRepresent
5911
5961
  if (obj.mask !== undefined) {
5912
5962
  const obj_mask = obj.mask;
5913
5963
  const path_mask = path + '.mask';
5914
- const referencepath_maskValidationError = validate$f(obj_mask, path_mask);
5964
+ const referencepath_maskValidationError = validate$g(obj_mask, path_mask);
5915
5965
  if (referencepath_maskValidationError !== null) {
5916
5966
  let message = 'Object doesn\'t match EinsteinPromptTemplateLatencyStepRepresentation (at "' + path_mask + '")\n';
5917
5967
  message += referencepath_maskValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5921,7 +5971,7 @@ function validate$e(obj, path = 'EinsteinPromptTemplateLatencyExecutionRepresent
5921
5971
  if (obj.resolveData !== undefined) {
5922
5972
  const obj_resolveData = obj.resolveData;
5923
5973
  const path_resolveData = path + '.resolveData';
5924
- const referencepath_resolveDataValidationError = validate$f(obj_resolveData, path_resolveData);
5974
+ const referencepath_resolveDataValidationError = validate$g(obj_resolveData, path_resolveData);
5925
5975
  if (referencepath_resolveDataValidationError !== null) {
5926
5976
  let message = 'Object doesn\'t match EinsteinPromptTemplateLatencyStepRepresentation (at "' + path_resolveData + '")\n';
5927
5977
  message += referencepath_resolveDataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5931,7 +5981,7 @@ function validate$e(obj, path = 'EinsteinPromptTemplateLatencyExecutionRepresent
5931
5981
  if (obj.summarize !== undefined) {
5932
5982
  const obj_summarize = obj.summarize;
5933
5983
  const path_summarize = path + '.summarize';
5934
- const referencepath_summarizeValidationError = validate$f(obj_summarize, path_summarize);
5984
+ const referencepath_summarizeValidationError = validate$g(obj_summarize, path_summarize);
5935
5985
  if (referencepath_summarizeValidationError !== null) {
5936
5986
  let message = 'Object doesn\'t match EinsteinPromptTemplateLatencyStepRepresentation (at "' + path_summarize + '")\n';
5937
5987
  message += referencepath_summarizeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5941,13 +5991,19 @@ function validate$e(obj, path = 'EinsteinPromptTemplateLatencyExecutionRepresent
5941
5991
  })();
5942
5992
  return v_error === undefined ? null : v_error;
5943
5993
  }
5944
- const select$h = function EinsteinPromptTemplateLatencyExecutionRepresentationSelect() {
5945
- const { selections: EinsteinPromptTemplateLatencyStepRepresentation__selections, opaque: EinsteinPromptTemplateLatencyStepRepresentation__opaque, } = select$i();
5994
+ const select$i = function EinsteinPromptTemplateLatencyExecutionRepresentationSelect() {
5995
+ const { selections: EinsteinPromptTemplateLatencyStepRepresentation__selections, opaque: EinsteinPromptTemplateLatencyStepRepresentation__opaque, } = select$j();
5946
5996
  return {
5947
5997
  kind: 'Fragment',
5948
- version: VERSION$e,
5998
+ version: VERSION$f,
5949
5999
  private: [],
5950
6000
  selections: [
6001
+ {
6002
+ name: 'fileProcessing',
6003
+ kind: 'Object',
6004
+ selections: EinsteinPromptTemplateLatencyStepRepresentation__selections,
6005
+ required: false
6006
+ },
5951
6007
  {
5952
6008
  name: 'generation',
5953
6009
  kind: 'Object',
@@ -5986,7 +6042,20 @@ const select$h = function EinsteinPromptTemplateLatencyExecutionRepresentationSe
5986
6042
  ]
5987
6043
  };
5988
6044
  };
5989
- function equals$e(existing, incoming) {
6045
+ function equals$f(existing, incoming) {
6046
+ const existing_fileProcessing = existing.fileProcessing;
6047
+ const incoming_fileProcessing = incoming.fileProcessing;
6048
+ // if at least one of these optionals is defined
6049
+ if (existing_fileProcessing !== undefined || incoming_fileProcessing !== undefined) {
6050
+ // if one of these is not defined we know the other is defined and therefore
6051
+ // not equal
6052
+ if (existing_fileProcessing === undefined || incoming_fileProcessing === undefined) {
6053
+ return false;
6054
+ }
6055
+ if (!(equals$g(existing_fileProcessing, incoming_fileProcessing))) {
6056
+ return false;
6057
+ }
6058
+ }
5990
6059
  const existing_generation = existing.generation;
5991
6060
  const incoming_generation = incoming.generation;
5992
6061
  // if at least one of these optionals is defined
@@ -5996,7 +6065,7 @@ function equals$e(existing, incoming) {
5996
6065
  if (existing_generation === undefined || incoming_generation === undefined) {
5997
6066
  return false;
5998
6067
  }
5999
- if (!(equals$f(existing_generation, incoming_generation))) {
6068
+ if (!(equals$g(existing_generation, incoming_generation))) {
6000
6069
  return false;
6001
6070
  }
6002
6071
  }
@@ -6009,13 +6078,13 @@ function equals$e(existing, incoming) {
6009
6078
  if (existing_hydration === undefined || incoming_hydration === undefined) {
6010
6079
  return false;
6011
6080
  }
6012
- if (!(equals$f(existing_hydration, incoming_hydration))) {
6081
+ if (!(equals$g(existing_hydration, incoming_hydration))) {
6013
6082
  return false;
6014
6083
  }
6015
6084
  }
6016
6085
  const existing_loadTemplate = existing.loadTemplate;
6017
6086
  const incoming_loadTemplate = incoming.loadTemplate;
6018
- if (!(equals$f(existing_loadTemplate, incoming_loadTemplate))) {
6087
+ if (!(equals$g(existing_loadTemplate, incoming_loadTemplate))) {
6019
6088
  return false;
6020
6089
  }
6021
6090
  const existing_mask = existing.mask;
@@ -6027,7 +6096,7 @@ function equals$e(existing, incoming) {
6027
6096
  if (existing_mask === undefined || incoming_mask === undefined) {
6028
6097
  return false;
6029
6098
  }
6030
- if (!(equals$f(existing_mask, incoming_mask))) {
6099
+ if (!(equals$g(existing_mask, incoming_mask))) {
6031
6100
  return false;
6032
6101
  }
6033
6102
  }
@@ -6040,7 +6109,7 @@ function equals$e(existing, incoming) {
6040
6109
  if (existing_resolveData === undefined || incoming_resolveData === undefined) {
6041
6110
  return false;
6042
6111
  }
6043
- if (!(equals$f(existing_resolveData, incoming_resolveData))) {
6112
+ if (!(equals$g(existing_resolveData, incoming_resolveData))) {
6044
6113
  return false;
6045
6114
  }
6046
6115
  }
@@ -6053,22 +6122,22 @@ function equals$e(existing, incoming) {
6053
6122
  if (existing_summarize === undefined || incoming_summarize === undefined) {
6054
6123
  return false;
6055
6124
  }
6056
- if (!(equals$f(existing_summarize, incoming_summarize))) {
6125
+ if (!(equals$g(existing_summarize, incoming_summarize))) {
6057
6126
  return false;
6058
6127
  }
6059
6128
  }
6060
6129
  return true;
6061
6130
  }
6062
6131
 
6063
- const VERSION$d = "bfbfa37e3d6bd35c36ba73c3f9b973b6";
6064
- function validate$d(obj, path = 'EinsteinPromptTemplatePerformanceRepresentation') {
6132
+ const VERSION$e = "bfbfa37e3d6bd35c36ba73c3f9b973b6";
6133
+ function validate$e(obj, path = 'EinsteinPromptTemplatePerformanceRepresentation') {
6065
6134
  const v_error = (() => {
6066
6135
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6067
6136
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
6068
6137
  }
6069
6138
  const obj_execution = obj.execution;
6070
6139
  const path_execution = path + '.execution';
6071
- const referencepath_executionValidationError = validate$e(obj_execution, path_execution);
6140
+ const referencepath_executionValidationError = validate$f(obj_execution, path_execution);
6072
6141
  if (referencepath_executionValidationError !== null) {
6073
6142
  let message = 'Object doesn\'t match EinsteinPromptTemplateLatencyExecutionRepresentation (at "' + path_execution + '")\n';
6074
6143
  message += referencepath_executionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6076,7 +6145,7 @@ function validate$d(obj, path = 'EinsteinPromptTemplatePerformanceRepresentation
6076
6145
  }
6077
6146
  const obj_latency = obj.latency;
6078
6147
  const path_latency = path + '.latency';
6079
- const referencepath_latencyValidationError = validate$h(obj_latency, path_latency);
6148
+ const referencepath_latencyValidationError = validate$i(obj_latency, path_latency);
6080
6149
  if (referencepath_latencyValidationError !== null) {
6081
6150
  let message = 'Object doesn\'t match EinsteinPromptTemplateLatencyRepresentation (at "' + path_latency + '")\n';
6082
6151
  message += referencepath_latencyValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6085,12 +6154,12 @@ function validate$d(obj, path = 'EinsteinPromptTemplatePerformanceRepresentation
6085
6154
  })();
6086
6155
  return v_error === undefined ? null : v_error;
6087
6156
  }
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();
6157
+ const select$h = function EinsteinPromptTemplatePerformanceRepresentationSelect() {
6158
+ const { selections: EinsteinPromptTemplateLatencyExecutionRepresentation__selections, opaque: EinsteinPromptTemplateLatencyExecutionRepresentation__opaque, } = select$i();
6159
+ const { selections: EinsteinPromptTemplateLatencyRepresentation__selections, opaque: EinsteinPromptTemplateLatencyRepresentation__opaque, } = select$l();
6091
6160
  return {
6092
6161
  kind: 'Fragment',
6093
- version: VERSION$d,
6162
+ version: VERSION$e,
6094
6163
  private: [],
6095
6164
  selections: [
6096
6165
  {
@@ -6106,22 +6175,22 @@ const select$g = function EinsteinPromptTemplatePerformanceRepresentationSelect(
6106
6175
  ]
6107
6176
  };
6108
6177
  };
6109
- function equals$d(existing, incoming) {
6178
+ function equals$e(existing, incoming) {
6110
6179
  const existing_execution = existing.execution;
6111
6180
  const incoming_execution = incoming.execution;
6112
- if (!(equals$e(existing_execution, incoming_execution))) {
6181
+ if (!(equals$f(existing_execution, incoming_execution))) {
6113
6182
  return false;
6114
6183
  }
6115
6184
  const existing_latency = existing.latency;
6116
6185
  const incoming_latency = incoming.latency;
6117
- if (!(equals$h(existing_latency, incoming_latency))) {
6186
+ if (!(equals$i(existing_latency, incoming_latency))) {
6118
6187
  return false;
6119
6188
  }
6120
6189
  return true;
6121
6190
  }
6122
6191
 
6123
- const VERSION$c = "7c417ce44e4bc05dfcc454e6825590e8";
6124
- function validate$c(obj, path = 'EinsteinPromptTemplateMaskSettingsRepresentation') {
6192
+ const VERSION$d = "7c417ce44e4bc05dfcc454e6825590e8";
6193
+ function validate$d(obj, path = 'EinsteinPromptTemplateMaskSettingsRepresentation') {
6125
6194
  const v_error = (() => {
6126
6195
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6127
6196
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6134,10 +6203,10 @@ function validate$c(obj, path = 'EinsteinPromptTemplateMaskSettingsRepresentatio
6134
6203
  })();
6135
6204
  return v_error === undefined ? null : v_error;
6136
6205
  }
6137
- const select$f = function EinsteinPromptTemplateMaskSettingsRepresentationSelect() {
6206
+ const select$g = function EinsteinPromptTemplateMaskSettingsRepresentationSelect() {
6138
6207
  return {
6139
6208
  kind: 'Fragment',
6140
- version: VERSION$c,
6209
+ version: VERSION$d,
6141
6210
  private: [],
6142
6211
  selections: [
6143
6212
  {
@@ -6147,7 +6216,7 @@ const select$f = function EinsteinPromptTemplateMaskSettingsRepresentationSelect
6147
6216
  ]
6148
6217
  };
6149
6218
  };
6150
- function equals$c(existing, incoming) {
6219
+ function equals$d(existing, incoming) {
6151
6220
  const existing_enableModeration = existing.enableModeration;
6152
6221
  const incoming_enableModeration = incoming.enableModeration;
6153
6222
  if (!(existing_enableModeration === incoming_enableModeration)) {
@@ -6156,8 +6225,8 @@ function equals$c(existing, incoming) {
6156
6225
  return true;
6157
6226
  }
6158
6227
 
6159
- const VERSION$b = "92ad1abd0e2a60bc36941409cadda7e2";
6160
- function validate$b(obj, path = 'EinsteinPromptTemplateMaskContentRepresentation') {
6228
+ const VERSION$c = "92ad1abd0e2a60bc36941409cadda7e2";
6229
+ function validate$c(obj, path = 'EinsteinPromptTemplateMaskContentRepresentation') {
6161
6230
  const v_error = (() => {
6162
6231
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6163
6232
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6172,7 +6241,7 @@ function validate$b(obj, path = 'EinsteinPromptTemplateMaskContentRepresentation
6172
6241
  const path_moderationSettings = path + '.moderationSettings';
6173
6242
  let obj_moderationSettings_union0 = null;
6174
6243
  const obj_moderationSettings_union0_error = (() => {
6175
- const referencepath_moderationSettingsValidationError = validate$c(obj_moderationSettings, path_moderationSettings);
6244
+ const referencepath_moderationSettingsValidationError = validate$d(obj_moderationSettings, path_moderationSettings);
6176
6245
  if (referencepath_moderationSettingsValidationError !== null) {
6177
6246
  let message = 'Object doesn\'t match EinsteinPromptTemplateMaskSettingsRepresentation (at "' + path_moderationSettings + '")\n';
6178
6247
  message += referencepath_moderationSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6208,11 +6277,11 @@ function validate$b(obj, path = 'EinsteinPromptTemplateMaskContentRepresentation
6208
6277
  })();
6209
6278
  return v_error === undefined ? null : v_error;
6210
6279
  }
6211
- const select$e = function EinsteinPromptTemplateMaskContentRepresentationSelect() {
6212
- const { selections: EinsteinPromptTemplateMaskSettingsRepresentation__selections, opaque: EinsteinPromptTemplateMaskSettingsRepresentation__opaque, } = select$f();
6280
+ const select$f = function EinsteinPromptTemplateMaskContentRepresentationSelect() {
6281
+ const { selections: EinsteinPromptTemplateMaskSettingsRepresentation__selections, opaque: EinsteinPromptTemplateMaskSettingsRepresentation__opaque, } = select$g();
6213
6282
  return {
6214
6283
  kind: 'Fragment',
6215
- version: VERSION$b,
6284
+ version: VERSION$c,
6216
6285
  private: [],
6217
6286
  selections: [
6218
6287
  {
@@ -6234,7 +6303,7 @@ const select$e = function EinsteinPromptTemplateMaskContentRepresentationSelect(
6234
6303
  ]
6235
6304
  };
6236
6305
  };
6237
- function equals$b(existing, incoming) {
6306
+ function equals$c(existing, incoming) {
6238
6307
  const existing_content = existing.content;
6239
6308
  const incoming_content = incoming.content;
6240
6309
  if (!(existing_content === incoming_content)) {
@@ -6265,15 +6334,15 @@ function equals$b(existing, incoming) {
6265
6334
  if (!(existing_moderationSettings === incoming_moderationSettings
6266
6335
  || (existing_moderationSettings != null &&
6267
6336
  incoming_moderationSettings != null &&
6268
- equals$c(existing_moderationSettings, incoming_moderationSettings)))) {
6337
+ equals$d(existing_moderationSettings, incoming_moderationSettings)))) {
6269
6338
  return false;
6270
6339
  }
6271
6340
  }
6272
6341
  return true;
6273
6342
  }
6274
6343
 
6275
- const VERSION$a = "507a815605f8d30ae9b52b0ec513d25e";
6276
- function validate$a(obj, path = 'EinsteinPromptTemplateMaskDataRepresentation') {
6344
+ const VERSION$b = "507a815605f8d30ae9b52b0ec513d25e";
6345
+ function validate$b(obj, path = 'EinsteinPromptTemplateMaskDataRepresentation') {
6277
6346
  const v_error = (() => {
6278
6347
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6279
6348
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6303,10 +6372,10 @@ function validate$a(obj, path = 'EinsteinPromptTemplateMaskDataRepresentation')
6303
6372
  })();
6304
6373
  return v_error === undefined ? null : v_error;
6305
6374
  }
6306
- const select$d = function EinsteinPromptTemplateMaskDataRepresentationSelect() {
6375
+ const select$e = function EinsteinPromptTemplateMaskDataRepresentationSelect() {
6307
6376
  return {
6308
6377
  kind: 'Fragment',
6309
- version: VERSION$a,
6378
+ version: VERSION$b,
6310
6379
  private: [],
6311
6380
  selections: [
6312
6381
  {
@@ -6325,7 +6394,7 @@ const select$d = function EinsteinPromptTemplateMaskDataRepresentationSelect() {
6325
6394
  ]
6326
6395
  };
6327
6396
  };
6328
- function equals$a(existing, incoming) {
6397
+ function equals$b(existing, incoming) {
6329
6398
  const existing_originalValue = existing.originalValue;
6330
6399
  const incoming_originalValue = incoming.originalValue;
6331
6400
  if (!(existing_originalValue === incoming_originalValue)) {
@@ -6349,8 +6418,8 @@ function equals$a(existing, incoming) {
6349
6418
  return true;
6350
6419
  }
6351
6420
 
6352
- const VERSION$9 = "76811380b919e1427b00791d86819029";
6353
- function validate$9(obj, path = 'EinsteinPromptTemplateTokenBreakdownRepresentation') {
6421
+ const VERSION$a = "76811380b919e1427b00791d86819029";
6422
+ function validate$a(obj, path = 'EinsteinPromptTemplateTokenBreakdownRepresentation') {
6354
6423
  const v_error = (() => {
6355
6424
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6356
6425
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6378,10 +6447,10 @@ function validate$9(obj, path = 'EinsteinPromptTemplateTokenBreakdownRepresentat
6378
6447
  })();
6379
6448
  return v_error === undefined ? null : v_error;
6380
6449
  }
6381
- const select$c = function EinsteinPromptTemplateTokenBreakdownRepresentationSelect() {
6450
+ const select$d = function EinsteinPromptTemplateTokenBreakdownRepresentationSelect() {
6382
6451
  return {
6383
6452
  kind: 'Fragment',
6384
- version: VERSION$9,
6453
+ version: VERSION$a,
6385
6454
  private: [],
6386
6455
  selections: [
6387
6456
  {
@@ -6403,7 +6472,7 @@ const select$c = function EinsteinPromptTemplateTokenBreakdownRepresentationSele
6403
6472
  ]
6404
6473
  };
6405
6474
  };
6406
- function equals$9(existing, incoming) {
6475
+ function equals$a(existing, incoming) {
6407
6476
  const existing_occurrences = existing.occurrences;
6408
6477
  const incoming_occurrences = incoming.occurrences;
6409
6478
  if (!(existing_occurrences === incoming_occurrences)) {
@@ -6427,8 +6496,8 @@ function equals$9(existing, incoming) {
6427
6496
  return true;
6428
6497
  }
6429
6498
 
6430
- const VERSION$8 = "7212a778ca53a828691ec38760108a72";
6431
- function validate$8(obj, path = 'EinsteinPromptTemplatePromptTokenUsageRepresentation') {
6499
+ const VERSION$9 = "7212a778ca53a828691ec38760108a72";
6500
+ function validate$9(obj, path = 'EinsteinPromptTemplatePromptTokenUsageRepresentation') {
6432
6501
  const v_error = (() => {
6433
6502
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6434
6503
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6442,7 +6511,7 @@ function validate$8(obj, path = 'EinsteinPromptTemplatePromptTokenUsageRepresent
6442
6511
  for (let i = 0; i < obj_breakdown.length; i++) {
6443
6512
  const obj_breakdown_item = obj_breakdown[i];
6444
6513
  const path_breakdown_item = path_breakdown + '[' + i + ']';
6445
- const referencepath_breakdown_itemValidationError = validate$9(obj_breakdown_item, path_breakdown_item);
6514
+ const referencepath_breakdown_itemValidationError = validate$a(obj_breakdown_item, path_breakdown_item);
6446
6515
  if (referencepath_breakdown_itemValidationError !== null) {
6447
6516
  let message = 'Object doesn\'t match EinsteinPromptTemplateTokenBreakdownRepresentation (at "' + path_breakdown_item + '")\n';
6448
6517
  message += referencepath_breakdown_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6458,11 +6527,11 @@ function validate$8(obj, path = 'EinsteinPromptTemplatePromptTokenUsageRepresent
6458
6527
  })();
6459
6528
  return v_error === undefined ? null : v_error;
6460
6529
  }
6461
- const select$b = function EinsteinPromptTemplatePromptTokenUsageRepresentationSelect() {
6462
- const { selections: EinsteinPromptTemplateTokenBreakdownRepresentation__selections, opaque: EinsteinPromptTemplateTokenBreakdownRepresentation__opaque, } = select$c();
6530
+ const select$c = function EinsteinPromptTemplatePromptTokenUsageRepresentationSelect() {
6531
+ const { selections: EinsteinPromptTemplateTokenBreakdownRepresentation__selections, opaque: EinsteinPromptTemplateTokenBreakdownRepresentation__opaque, } = select$d();
6463
6532
  return {
6464
6533
  kind: 'Fragment',
6465
- version: VERSION$8,
6534
+ version: VERSION$9,
6466
6535
  private: [],
6467
6536
  selections: [
6468
6537
  {
@@ -6479,7 +6548,7 @@ const select$b = function EinsteinPromptTemplatePromptTokenUsageRepresentationSe
6479
6548
  ]
6480
6549
  };
6481
6550
  };
6482
- function equals$8(existing, incoming) {
6551
+ function equals$9(existing, incoming) {
6483
6552
  const existing_total = existing.total;
6484
6553
  const incoming_total = incoming.total;
6485
6554
  if (!(existing_total === incoming_total)) {
@@ -6495,7 +6564,7 @@ function equals$8(existing, incoming) {
6495
6564
  return false;
6496
6565
  }
6497
6566
  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))) {
6567
+ if (!(equals$a(existing_breakdown_item, incoming_breakdown_item))) {
6499
6568
  return false;
6500
6569
  }
6501
6570
  });
@@ -6506,12 +6575,26 @@ function equals$8(existing, incoming) {
6506
6575
  return true;
6507
6576
  }
6508
6577
 
6509
- const VERSION$7 = "20ed3f8bf15ce2c8910245591e27fae5";
6510
- function validate$7(obj, path = 'EinsteinPromptTemplateTokenUsageRepresentation') {
6578
+ const VERSION$8 = "f27af32e86a9a76c9625ede41c99c08e";
6579
+ function validate$8(obj, path = 'EinsteinPromptTemplateTokenUsageRepresentation') {
6511
6580
  const v_error = (() => {
6512
6581
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6513
6582
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
6514
6583
  }
6584
+ if (obj.cacheReadTokens !== undefined) {
6585
+ const obj_cacheReadTokens = obj.cacheReadTokens;
6586
+ const path_cacheReadTokens = path + '.cacheReadTokens';
6587
+ if (typeof obj_cacheReadTokens !== 'number' || (typeof obj_cacheReadTokens === 'number' && Math.floor(obj_cacheReadTokens) !== obj_cacheReadTokens)) {
6588
+ return new TypeError('Expected "integer" but received "' + typeof obj_cacheReadTokens + '" (at "' + path_cacheReadTokens + '")');
6589
+ }
6590
+ }
6591
+ if (obj.cacheWriteTokens !== undefined) {
6592
+ const obj_cacheWriteTokens = obj.cacheWriteTokens;
6593
+ const path_cacheWriteTokens = path + '.cacheWriteTokens';
6594
+ if (typeof obj_cacheWriteTokens !== 'number' || (typeof obj_cacheWriteTokens === 'number' && Math.floor(obj_cacheWriteTokens) !== obj_cacheWriteTokens)) {
6595
+ return new TypeError('Expected "integer" but received "' + typeof obj_cacheWriteTokens + '" (at "' + path_cacheWriteTokens + '")');
6596
+ }
6597
+ }
6515
6598
  const obj_completion = obj.completion;
6516
6599
  const path_completion = path + '.completion';
6517
6600
  if (typeof obj_completion !== 'number' || (typeof obj_completion === 'number' && Math.floor(obj_completion) !== obj_completion)) {
@@ -6519,7 +6602,7 @@ function validate$7(obj, path = 'EinsteinPromptTemplateTokenUsageRepresentation'
6519
6602
  }
6520
6603
  const obj_prompt = obj.prompt;
6521
6604
  const path_prompt = path + '.prompt';
6522
- const referencepath_promptValidationError = validate$8(obj_prompt, path_prompt);
6605
+ const referencepath_promptValidationError = validate$9(obj_prompt, path_prompt);
6523
6606
  if (referencepath_promptValidationError !== null) {
6524
6607
  let message = 'Object doesn\'t match EinsteinPromptTemplatePromptTokenUsageRepresentation (at "' + path_prompt + '")\n';
6525
6608
  message += referencepath_promptValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6533,13 +6616,23 @@ function validate$7(obj, path = 'EinsteinPromptTemplateTokenUsageRepresentation'
6533
6616
  })();
6534
6617
  return v_error === undefined ? null : v_error;
6535
6618
  }
6536
- const select$a = function EinsteinPromptTemplateTokenUsageRepresentationSelect() {
6537
- const { selections: EinsteinPromptTemplatePromptTokenUsageRepresentation__selections, opaque: EinsteinPromptTemplatePromptTokenUsageRepresentation__opaque, } = select$b();
6619
+ const select$b = function EinsteinPromptTemplateTokenUsageRepresentationSelect() {
6620
+ const { selections: EinsteinPromptTemplatePromptTokenUsageRepresentation__selections, opaque: EinsteinPromptTemplatePromptTokenUsageRepresentation__opaque, } = select$c();
6538
6621
  return {
6539
6622
  kind: 'Fragment',
6540
- version: VERSION$7,
6623
+ version: VERSION$8,
6541
6624
  private: [],
6542
6625
  selections: [
6626
+ {
6627
+ name: 'cacheReadTokens',
6628
+ kind: 'Scalar',
6629
+ required: false
6630
+ },
6631
+ {
6632
+ name: 'cacheWriteTokens',
6633
+ kind: 'Scalar',
6634
+ required: false
6635
+ },
6543
6636
  {
6544
6637
  name: 'completion',
6545
6638
  kind: 'Scalar'
@@ -6556,7 +6649,33 @@ const select$a = function EinsteinPromptTemplateTokenUsageRepresentationSelect()
6556
6649
  ]
6557
6650
  };
6558
6651
  };
6559
- function equals$7(existing, incoming) {
6652
+ function equals$8(existing, incoming) {
6653
+ const existing_cacheReadTokens = existing.cacheReadTokens;
6654
+ const incoming_cacheReadTokens = incoming.cacheReadTokens;
6655
+ // if at least one of these optionals is defined
6656
+ if (existing_cacheReadTokens !== undefined || incoming_cacheReadTokens !== undefined) {
6657
+ // if one of these is not defined we know the other is defined and therefore
6658
+ // not equal
6659
+ if (existing_cacheReadTokens === undefined || incoming_cacheReadTokens === undefined) {
6660
+ return false;
6661
+ }
6662
+ if (!(existing_cacheReadTokens === incoming_cacheReadTokens)) {
6663
+ return false;
6664
+ }
6665
+ }
6666
+ const existing_cacheWriteTokens = existing.cacheWriteTokens;
6667
+ const incoming_cacheWriteTokens = incoming.cacheWriteTokens;
6668
+ // if at least one of these optionals is defined
6669
+ if (existing_cacheWriteTokens !== undefined || incoming_cacheWriteTokens !== undefined) {
6670
+ // if one of these is not defined we know the other is defined and therefore
6671
+ // not equal
6672
+ if (existing_cacheWriteTokens === undefined || incoming_cacheWriteTokens === undefined) {
6673
+ return false;
6674
+ }
6675
+ if (!(existing_cacheWriteTokens === incoming_cacheWriteTokens)) {
6676
+ return false;
6677
+ }
6678
+ }
6560
6679
  const existing_completion = existing.completion;
6561
6680
  const incoming_completion = incoming.completion;
6562
6681
  if (!(existing_completion === incoming_completion)) {
@@ -6569,15 +6688,15 @@ function equals$7(existing, incoming) {
6569
6688
  }
6570
6689
  const existing_prompt = existing.prompt;
6571
6690
  const incoming_prompt = incoming.prompt;
6572
- if (!(equals$8(existing_prompt, incoming_prompt))) {
6691
+ if (!(equals$9(existing_prompt, incoming_prompt))) {
6573
6692
  return false;
6574
6693
  }
6575
6694
  return true;
6576
6695
  }
6577
6696
 
6578
6697
  const TTL$2 = 100;
6579
- const VERSION$6 = "c298962a9a914e248606ab1ac01d1d08";
6580
- function validate$6(obj, path = 'EinsteinPromptTemplateGenerationsRepresentation') {
6698
+ const VERSION$7 = "c298962a9a914e248606ab1ac01d1d08";
6699
+ function validate$7(obj, path = 'EinsteinPromptTemplateGenerationsRepresentation') {
6581
6700
  const v_error = (() => {
6582
6701
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6583
6702
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6585,7 +6704,7 @@ function validate$6(obj, path = 'EinsteinPromptTemplateGenerationsRepresentation
6585
6704
  if (obj.citations !== undefined) {
6586
6705
  const obj_citations = obj.citations;
6587
6706
  const path_citations = path + '.citations';
6588
- const referencepath_citationsValidationError = validate$l(obj_citations, path_citations);
6707
+ const referencepath_citationsValidationError = validate$m(obj_citations, path_citations);
6589
6708
  if (referencepath_citationsValidationError !== null) {
6590
6709
  let message = 'Object doesn\'t match EinsteinLlmGenerationCitationRepresentation (at "' + path_citations + '")\n';
6591
6710
  message += referencepath_citationsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6601,7 +6720,7 @@ function validate$6(obj, path = 'EinsteinPromptTemplateGenerationsRepresentation
6601
6720
  for (let i = 0; i < obj_fileData.length; i++) {
6602
6721
  const obj_fileData_item = obj_fileData[i];
6603
6722
  const path_fileData_item = path_fileData + '[' + i + ']';
6604
- const referencepath_fileData_itemValidationError = validate$j(obj_fileData_item, path_fileData_item);
6723
+ const referencepath_fileData_itemValidationError = validate$k(obj_fileData_item, path_fileData_item);
6605
6724
  if (referencepath_fileData_itemValidationError !== null) {
6606
6725
  let message = 'Object doesn\'t match EinsteinPromptTemplateAttachmentRepresentation (at "' + path_fileData_item + '")\n';
6607
6726
  message += referencepath_fileData_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6618,7 +6737,7 @@ function validate$6(obj, path = 'EinsteinPromptTemplateGenerationsRepresentation
6618
6737
  for (let i = 0; i < obj_generationErrors.length; i++) {
6619
6738
  const obj_generationErrors_item = obj_generationErrors[i];
6620
6739
  const path_generationErrors_item = path_generationErrors + '[' + i + ']';
6621
- const referencepath_generationErrors_itemValidationError = validate$i(obj_generationErrors_item, path_generationErrors_item);
6740
+ const referencepath_generationErrors_itemValidationError = validate$j(obj_generationErrors_item, path_generationErrors_item);
6622
6741
  if (referencepath_generationErrors_itemValidationError !== null) {
6623
6742
  let message = 'Object doesn\'t match EinsteinPromptTemplateGenerationsErrorRepresentation (at "' + path_generationErrors_item + '")\n';
6624
6743
  message += referencepath_generationErrors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6634,7 +6753,7 @@ function validate$6(obj, path = 'EinsteinPromptTemplateGenerationsRepresentation
6634
6753
  for (let i = 0; i < obj_generations.length; i++) {
6635
6754
  const obj_generations_item = obj_generations[i];
6636
6755
  const path_generations_item = path_generations + '[' + i + ']';
6637
- const referencepath_generations_itemValidationError = validate$D(obj_generations_item, path_generations_item);
6756
+ const referencepath_generations_itemValidationError = validate$E(obj_generations_item, path_generations_item);
6638
6757
  if (referencepath_generations_itemValidationError !== null) {
6639
6758
  let message = 'Object doesn\'t match EinsteinLlmGenerationItemRepresentation (at "' + path_generations_item + '")\n';
6640
6759
  message += referencepath_generations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6661,7 +6780,7 @@ function validate$6(obj, path = 'EinsteinPromptTemplateGenerationsRepresentation
6661
6780
  const path_parameters = path + '.parameters';
6662
6781
  let obj_parameters_union0 = null;
6663
6782
  const obj_parameters_union0_error = (() => {
6664
- const referencepath_parametersValidationError = validate$C(obj_parameters, path_parameters);
6783
+ const referencepath_parametersValidationError = validate$D(obj_parameters, path_parameters);
6665
6784
  if (referencepath_parametersValidationError !== null) {
6666
6785
  let message = 'Object doesn\'t match WrappedMap (at "' + path_parameters + '")\n';
6667
6786
  message += referencepath_parametersValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6689,7 +6808,7 @@ function validate$6(obj, path = 'EinsteinPromptTemplateGenerationsRepresentation
6689
6808
  if (obj.performance !== undefined) {
6690
6809
  const obj_performance = obj.performance;
6691
6810
  const path_performance = path + '.performance';
6692
- const referencepath_performanceValidationError = validate$d(obj_performance, path_performance);
6811
+ const referencepath_performanceValidationError = validate$e(obj_performance, path_performance);
6693
6812
  if (referencepath_performanceValidationError !== null) {
6694
6813
  let message = 'Object doesn\'t match EinsteinPromptTemplatePerformanceRepresentation (at "' + path_performance + '")\n';
6695
6814
  message += referencepath_performanceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6767,7 +6886,7 @@ function validate$6(obj, path = 'EinsteinPromptTemplateGenerationsRepresentation
6767
6886
  for (let i = 0; i < obj_requestMessages.length; i++) {
6768
6887
  const obj_requestMessages_item = obj_requestMessages[i];
6769
6888
  const path_requestMessages_item = path_requestMessages + '[' + i + ']';
6770
- const referencepath_requestMessages_itemValidationError = validate$b(obj_requestMessages_item, path_requestMessages_item);
6889
+ const referencepath_requestMessages_itemValidationError = validate$c(obj_requestMessages_item, path_requestMessages_item);
6771
6890
  if (referencepath_requestMessages_itemValidationError !== null) {
6772
6891
  let message = 'Object doesn\'t match EinsteinPromptTemplateMaskContentRepresentation (at "' + path_requestMessages_item + '")\n';
6773
6892
  message += referencepath_requestMessages_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6784,7 +6903,7 @@ function validate$6(obj, path = 'EinsteinPromptTemplateGenerationsRepresentation
6784
6903
  for (let i = 0; i < obj_responseMessages.length; i++) {
6785
6904
  const obj_responseMessages_item = obj_responseMessages[i];
6786
6905
  const path_responseMessages_item = path_responseMessages + '[' + i + ']';
6787
- const referencepath_responseMessages_itemValidationError = validate$b(obj_responseMessages_item, path_responseMessages_item);
6906
+ const referencepath_responseMessages_itemValidationError = validate$c(obj_responseMessages_item, path_responseMessages_item);
6788
6907
  if (referencepath_responseMessages_itemValidationError !== null) {
6789
6908
  let message = 'Object doesn\'t match EinsteinPromptTemplateMaskContentRepresentation (at "' + path_responseMessages_item + '")\n';
6790
6909
  message += referencepath_responseMessages_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6801,7 +6920,7 @@ function validate$6(obj, path = 'EinsteinPromptTemplateGenerationsRepresentation
6801
6920
  for (let i = 0; i < obj_slotsMaskingInformation.length; i++) {
6802
6921
  const obj_slotsMaskingInformation_item = obj_slotsMaskingInformation[i];
6803
6922
  const path_slotsMaskingInformation_item = path_slotsMaskingInformation + '[' + i + ']';
6804
- const referencepath_slotsMaskingInformation_itemValidationError = validate$a(obj_slotsMaskingInformation_item, path_slotsMaskingInformation_item);
6923
+ const referencepath_slotsMaskingInformation_itemValidationError = validate$b(obj_slotsMaskingInformation_item, path_slotsMaskingInformation_item);
6805
6924
  if (referencepath_slotsMaskingInformation_itemValidationError !== null) {
6806
6925
  let message = 'Object doesn\'t match EinsteinPromptTemplateMaskDataRepresentation (at "' + path_slotsMaskingInformation_item + '")\n';
6807
6926
  message += referencepath_slotsMaskingInformation_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6812,7 +6931,7 @@ function validate$6(obj, path = 'EinsteinPromptTemplateGenerationsRepresentation
6812
6931
  if (obj.tokenUsage !== undefined) {
6813
6932
  const obj_tokenUsage = obj.tokenUsage;
6814
6933
  const path_tokenUsage = path + '.tokenUsage';
6815
- const referencepath_tokenUsageValidationError = validate$7(obj_tokenUsage, path_tokenUsage);
6934
+ const referencepath_tokenUsageValidationError = validate$8(obj_tokenUsage, path_tokenUsage);
6816
6935
  if (referencepath_tokenUsageValidationError !== null) {
6817
6936
  let message = 'Object doesn\'t match EinsteinPromptTemplateTokenUsageRepresentation (at "' + path_tokenUsage + '")\n';
6818
6937
  message += referencepath_tokenUsageValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6835,19 +6954,19 @@ function keyBuilderFromType(luvio, object) {
6835
6954
  function normalize$2(input, existing, path, luvio, store, timestamp) {
6836
6955
  return input;
6837
6956
  }
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();
6957
+ const select$a = function EinsteinPromptTemplateGenerationsRepresentationSelect() {
6958
+ const { selections: EinsteinLlmGenerationCitationRepresentation__selections, opaque: EinsteinLlmGenerationCitationRepresentation__opaque, } = select$p();
6959
+ const { selections: EinsteinPromptTemplateAttachmentRepresentation__selections, opaque: EinsteinPromptTemplateAttachmentRepresentation__opaque, } = select$n();
6960
+ const { selections: EinsteinPromptTemplateGenerationsErrorRepresentation__selections, opaque: EinsteinPromptTemplateGenerationsErrorRepresentation__opaque, } = select$m();
6961
+ const { selections: EinsteinLlmGenerationItemRepresentation__selections, opaque: EinsteinLlmGenerationItemRepresentation__opaque, } = select$Q();
6962
+ const { selections: WrappedMap__selections, opaque: WrappedMap__opaque, } = select$P();
6963
+ const { selections: EinsteinPromptTemplatePerformanceRepresentation__selections, opaque: EinsteinPromptTemplatePerformanceRepresentation__opaque, } = select$h();
6964
+ const { selections: EinsteinPromptTemplateMaskContentRepresentation__selections, opaque: EinsteinPromptTemplateMaskContentRepresentation__opaque, } = select$f();
6965
+ const { selections: EinsteinPromptTemplateMaskDataRepresentation__selections, opaque: EinsteinPromptTemplateMaskDataRepresentation__opaque, } = select$e();
6966
+ const { selections: EinsteinPromptTemplateTokenUsageRepresentation__selections, opaque: EinsteinPromptTemplateTokenUsageRepresentation__opaque, } = select$b();
6848
6967
  return {
6849
6968
  kind: 'Fragment',
6850
- version: VERSION$6,
6969
+ version: VERSION$7,
6851
6970
  private: [],
6852
6971
  selections: [
6853
6972
  {
@@ -6939,7 +7058,7 @@ const select$9 = function EinsteinPromptTemplateGenerationsRepresentationSelect(
6939
7058
  ]
6940
7059
  };
6941
7060
  };
6942
- function equals$6(existing, incoming) {
7061
+ function equals$7(existing, incoming) {
6943
7062
  const existing_promptTemplateDevName = existing.promptTemplateDevName;
6944
7063
  const incoming_promptTemplateDevName = incoming.promptTemplateDevName;
6945
7064
  if (!(existing_promptTemplateDevName === incoming_promptTemplateDevName)) {
@@ -6959,7 +7078,7 @@ function equals$6(existing, incoming) {
6959
7078
  if (existing_citations === undefined || incoming_citations === undefined) {
6960
7079
  return false;
6961
7080
  }
6962
- if (!(equals$l(existing_citations, incoming_citations))) {
7081
+ if (!(equals$m(existing_citations, incoming_citations))) {
6963
7082
  return false;
6964
7083
  }
6965
7084
  }
@@ -6973,7 +7092,7 @@ function equals$6(existing, incoming) {
6973
7092
  return false;
6974
7093
  }
6975
7094
  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))) {
7095
+ if (!(equals$k(existing_fileData_item, incoming_fileData_item))) {
6977
7096
  return false;
6978
7097
  }
6979
7098
  });
@@ -6991,7 +7110,7 @@ function equals$6(existing, incoming) {
6991
7110
  return false;
6992
7111
  }
6993
7112
  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))) {
7113
+ if (!(equals$j(existing_generationErrors_item, incoming_generationErrors_item))) {
6995
7114
  return false;
6996
7115
  }
6997
7116
  });
@@ -7002,7 +7121,7 @@ function equals$6(existing, incoming) {
7002
7121
  const existing_generations = existing.generations;
7003
7122
  const incoming_generations = incoming.generations;
7004
7123
  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))) {
7124
+ if (!(equals$y(existing_generations_item, incoming_generations_item))) {
7006
7125
  return false;
7007
7126
  }
7008
7127
  });
@@ -7032,7 +7151,7 @@ function equals$6(existing, incoming) {
7032
7151
  if (!(existing_parameters === incoming_parameters
7033
7152
  || (existing_parameters != null &&
7034
7153
  incoming_parameters != null &&
7035
- equals$w(existing_parameters, incoming_parameters)))) {
7154
+ equals$x(existing_parameters, incoming_parameters)))) {
7036
7155
  return false;
7037
7156
  }
7038
7157
  const existing_performance = existing.performance;
@@ -7044,7 +7163,7 @@ function equals$6(existing, incoming) {
7044
7163
  if (existing_performance === undefined || incoming_performance === undefined) {
7045
7164
  return false;
7046
7165
  }
7047
- if (!(equals$d(existing_performance, incoming_performance))) {
7166
+ if (!(equals$e(existing_performance, incoming_performance))) {
7048
7167
  return false;
7049
7168
  }
7050
7169
  }
@@ -7068,7 +7187,7 @@ function equals$6(existing, incoming) {
7068
7187
  return false;
7069
7188
  }
7070
7189
  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))) {
7190
+ if (!(equals$c(existing_requestMessages_item, incoming_requestMessages_item))) {
7072
7191
  return false;
7073
7192
  }
7074
7193
  });
@@ -7086,7 +7205,7 @@ function equals$6(existing, incoming) {
7086
7205
  return false;
7087
7206
  }
7088
7207
  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))) {
7208
+ if (!(equals$c(existing_responseMessages_item, incoming_responseMessages_item))) {
7090
7209
  return false;
7091
7210
  }
7092
7211
  });
@@ -7104,7 +7223,7 @@ function equals$6(existing, incoming) {
7104
7223
  return false;
7105
7224
  }
7106
7225
  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))) {
7226
+ if (!(equals$b(existing_slotsMaskingInformation_item, incoming_slotsMaskingInformation_item))) {
7108
7227
  return false;
7109
7228
  }
7110
7229
  });
@@ -7121,7 +7240,7 @@ function equals$6(existing, incoming) {
7121
7240
  if (existing_tokenUsage === undefined || incoming_tokenUsage === undefined) {
7122
7241
  return false;
7123
7242
  }
7124
- if (!(equals$7(existing_tokenUsage, incoming_tokenUsage))) {
7243
+ if (!(equals$8(existing_tokenUsage, incoming_tokenUsage))) {
7125
7244
  return false;
7126
7245
  }
7127
7246
  }
@@ -7129,14 +7248,14 @@ function equals$6(existing, incoming) {
7129
7248
  }
7130
7249
  const ingest$2 = function EinsteinPromptTemplateGenerationsRepresentationIngest(input, path, luvio, store, timestamp) {
7131
7250
  if (process.env.NODE_ENV !== 'production') {
7132
- const validateError = validate$6(input);
7251
+ const validateError = validate$7(input);
7133
7252
  if (validateError !== null) {
7134
7253
  throw validateError;
7135
7254
  }
7136
7255
  }
7137
7256
  const key = keyBuilderFromType(luvio, input);
7138
7257
  const ttlToUse = TTL$2;
7139
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "EinsteinLLM", VERSION$6, RepresentationType$2, equals$6);
7258
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "EinsteinLLM", VERSION$7, RepresentationType$2, equals$7);
7140
7259
  return createLink(key);
7141
7260
  };
7142
7261
  function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
@@ -7149,8 +7268,8 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
7149
7268
  });
7150
7269
  }
7151
7270
 
7152
- function select$8(luvio, params) {
7153
- return select$9();
7271
+ function select$9(luvio, params) {
7272
+ return select$a();
7154
7273
  }
7155
7274
  function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
7156
7275
  getTypeCacheKeys$2(storeKeyMap, luvio, response);
@@ -7161,7 +7280,7 @@ function ingestSuccess$2(luvio, resourceParams, response) {
7161
7280
  luvio.storeIngest(key, ingest$2, body);
7162
7281
  const snapshot = luvio.storeLookup({
7163
7282
  recordId: key,
7164
- node: select$8(),
7283
+ node: select$9(),
7165
7284
  variables: {},
7166
7285
  });
7167
7286
  if (process.env.NODE_ENV !== 'production') {
@@ -7198,7 +7317,7 @@ function typeCheckConfig$2(untrustedConfig) {
7198
7317
  const config = {};
7199
7318
  typeCheckConfig$k(untrustedConfig, config, createGenerationsForPromptTemplate_ConfigPropertyMetadata);
7200
7319
  const untrustedConfig_promptTemplateGenerationsInput = untrustedConfig.promptTemplateGenerationsInput;
7201
- const referenceEinsteinPromptTemplateGenerationsInputRepresentationValidationError = validate$n(untrustedConfig_promptTemplateGenerationsInput);
7320
+ const referenceEinsteinPromptTemplateGenerationsInputRepresentationValidationError = validate$o(untrustedConfig_promptTemplateGenerationsInput);
7202
7321
  if (referenceEinsteinPromptTemplateGenerationsInputRepresentationValidationError === null) {
7203
7322
  config.promptTemplateGenerationsInput = untrustedConfig_promptTemplateGenerationsInput;
7204
7323
  }
@@ -7246,6 +7365,104 @@ const createGenerationsForPromptTemplateAdapterFactory = (luvio) => {
7246
7365
  };
7247
7366
  };
7248
7367
 
7368
+ const VERSION$6 = "623bf343adaad84a1a57137d70c052cf";
7369
+ function validate$6(obj, path = 'EinsteinPromptTypeModelAffinityRepresentation') {
7370
+ const v_error = (() => {
7371
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
7372
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
7373
+ }
7374
+ if (obj.preferredCapabilities !== undefined) {
7375
+ const obj_preferredCapabilities = obj.preferredCapabilities;
7376
+ const path_preferredCapabilities = path + '.preferredCapabilities';
7377
+ if (!ArrayIsArray(obj_preferredCapabilities)) {
7378
+ return new TypeError('Expected "array" but received "' + typeof obj_preferredCapabilities + '" (at "' + path_preferredCapabilities + '")');
7379
+ }
7380
+ for (let i = 0; i < obj_preferredCapabilities.length; i++) {
7381
+ const obj_preferredCapabilities_item = obj_preferredCapabilities[i];
7382
+ const path_preferredCapabilities_item = path_preferredCapabilities + '[' + i + ']';
7383
+ if (typeof obj_preferredCapabilities_item !== 'string') {
7384
+ return new TypeError('Expected "string" but received "' + typeof obj_preferredCapabilities_item + '" (at "' + path_preferredCapabilities_item + '")');
7385
+ }
7386
+ }
7387
+ }
7388
+ if (obj.requiredCapabilities !== undefined) {
7389
+ const obj_requiredCapabilities = obj.requiredCapabilities;
7390
+ const path_requiredCapabilities = path + '.requiredCapabilities';
7391
+ if (!ArrayIsArray(obj_requiredCapabilities)) {
7392
+ return new TypeError('Expected "array" but received "' + typeof obj_requiredCapabilities + '" (at "' + path_requiredCapabilities + '")');
7393
+ }
7394
+ for (let i = 0; i < obj_requiredCapabilities.length; i++) {
7395
+ const obj_requiredCapabilities_item = obj_requiredCapabilities[i];
7396
+ const path_requiredCapabilities_item = path_requiredCapabilities + '[' + i + ']';
7397
+ if (typeof obj_requiredCapabilities_item !== 'string') {
7398
+ return new TypeError('Expected "string" but received "' + typeof obj_requiredCapabilities_item + '" (at "' + path_requiredCapabilities_item + '")');
7399
+ }
7400
+ }
7401
+ }
7402
+ })();
7403
+ return v_error === undefined ? null : v_error;
7404
+ }
7405
+ const select$8 = function EinsteinPromptTypeModelAffinityRepresentationSelect() {
7406
+ return {
7407
+ kind: 'Fragment',
7408
+ version: VERSION$6,
7409
+ private: [],
7410
+ selections: [
7411
+ {
7412
+ name: 'preferredCapabilities',
7413
+ kind: 'Scalar',
7414
+ plural: true,
7415
+ required: false
7416
+ },
7417
+ {
7418
+ name: 'requiredCapabilities',
7419
+ kind: 'Scalar',
7420
+ plural: true,
7421
+ required: false
7422
+ }
7423
+ ]
7424
+ };
7425
+ };
7426
+ function equals$6(existing, incoming) {
7427
+ const existing_preferredCapabilities = existing.preferredCapabilities;
7428
+ const incoming_preferredCapabilities = incoming.preferredCapabilities;
7429
+ // if at least one of these optionals is defined
7430
+ if (existing_preferredCapabilities !== undefined || incoming_preferredCapabilities !== undefined) {
7431
+ // if one of these is not defined we know the other is defined and therefore
7432
+ // not equal
7433
+ if (existing_preferredCapabilities === undefined || incoming_preferredCapabilities === undefined) {
7434
+ return false;
7435
+ }
7436
+ const equals_preferredCapabilities_items = equalsArray(existing_preferredCapabilities, incoming_preferredCapabilities, (existing_preferredCapabilities_item, incoming_preferredCapabilities_item) => {
7437
+ if (!(existing_preferredCapabilities_item === incoming_preferredCapabilities_item)) {
7438
+ return false;
7439
+ }
7440
+ });
7441
+ if (equals_preferredCapabilities_items === false) {
7442
+ return false;
7443
+ }
7444
+ }
7445
+ const existing_requiredCapabilities = existing.requiredCapabilities;
7446
+ const incoming_requiredCapabilities = incoming.requiredCapabilities;
7447
+ // if at least one of these optionals is defined
7448
+ if (existing_requiredCapabilities !== undefined || incoming_requiredCapabilities !== undefined) {
7449
+ // if one of these is not defined we know the other is defined and therefore
7450
+ // not equal
7451
+ if (existing_requiredCapabilities === undefined || incoming_requiredCapabilities === undefined) {
7452
+ return false;
7453
+ }
7454
+ const equals_requiredCapabilities_items = equalsArray(existing_requiredCapabilities, incoming_requiredCapabilities, (existing_requiredCapabilities_item, incoming_requiredCapabilities_item) => {
7455
+ if (!(existing_requiredCapabilities_item === incoming_requiredCapabilities_item)) {
7456
+ return false;
7457
+ }
7458
+ });
7459
+ if (equals_requiredCapabilities_items === false) {
7460
+ return false;
7461
+ }
7462
+ }
7463
+ return true;
7464
+ }
7465
+
7249
7466
  const VERSION$5 = "f08355bdc491f090c787309a8a476caa";
7250
7467
  function validate$5(obj, path = 'EinsteinPromptTypeSchemaInputFieldRepresentation') {
7251
7468
  const v_error = (() => {
@@ -7451,12 +7668,33 @@ function equals$4(existing, incoming) {
7451
7668
  }
7452
7669
 
7453
7670
  const TTL$1 = 300;
7454
- const VERSION$3 = "bb627c12e7041da02926d6b2affc98a1";
7671
+ const VERSION$3 = "687e1fa3402f444465804964fd16a221";
7455
7672
  function validate$3(obj, path = 'EinsteinPromptTypeRecordRepresentation') {
7456
7673
  const v_error = (() => {
7457
7674
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
7458
7675
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
7459
7676
  }
7677
+ if (obj.allowActions !== undefined) {
7678
+ const obj_allowActions = obj.allowActions;
7679
+ const path_allowActions = path + '.allowActions';
7680
+ if (typeof obj_allowActions !== 'boolean') {
7681
+ return new TypeError('Expected "boolean" but received "' + typeof obj_allowActions + '" (at "' + path_allowActions + '")');
7682
+ }
7683
+ }
7684
+ if (obj.allowedInputTypes !== undefined) {
7685
+ const obj_allowedInputTypes = obj.allowedInputTypes;
7686
+ const path_allowedInputTypes = path + '.allowedInputTypes';
7687
+ if (!ArrayIsArray(obj_allowedInputTypes)) {
7688
+ return new TypeError('Expected "array" but received "' + typeof obj_allowedInputTypes + '" (at "' + path_allowedInputTypes + '")');
7689
+ }
7690
+ for (let i = 0; i < obj_allowedInputTypes.length; i++) {
7691
+ const obj_allowedInputTypes_item = obj_allowedInputTypes[i];
7692
+ const path_allowedInputTypes_item = path_allowedInputTypes + '[' + i + ']';
7693
+ if (typeof obj_allowedInputTypes_item !== 'string') {
7694
+ return new TypeError('Expected "string" but received "' + typeof obj_allowedInputTypes_item + '" (at "' + path_allowedInputTypes_item + '")');
7695
+ }
7696
+ }
7697
+ }
7460
7698
  const obj_excludedGlobalVariables = obj.excludedGlobalVariables;
7461
7699
  const path_excludedGlobalVariables = path + '.excludedGlobalVariables';
7462
7700
  if (!ArrayIsArray(obj_excludedGlobalVariables)) {
@@ -7469,6 +7707,16 @@ function validate$3(obj, path = 'EinsteinPromptTypeRecordRepresentation') {
7469
7707
  return new TypeError('Expected "string" but received "' + typeof obj_excludedGlobalVariables_item + '" (at "' + path_excludedGlobalVariables_item + '")');
7470
7708
  }
7471
7709
  }
7710
+ if (obj.modelAffinity !== undefined) {
7711
+ const obj_modelAffinity = obj.modelAffinity;
7712
+ const path_modelAffinity = path + '.modelAffinity';
7713
+ const referencepath_modelAffinityValidationError = validate$6(obj_modelAffinity, path_modelAffinity);
7714
+ if (referencepath_modelAffinityValidationError !== null) {
7715
+ let message = 'Object doesn\'t match EinsteinPromptTypeModelAffinityRepresentation (at "' + path_modelAffinity + '")\n';
7716
+ message += referencepath_modelAffinityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
7717
+ return new TypeError(message);
7718
+ }
7719
+ }
7472
7720
  const obj_schema = obj.schema;
7473
7721
  const path_schema = path + '.schema';
7474
7722
  const referencepath_schemaValidationError = validate$4(obj_schema, path_schema);
@@ -7490,17 +7738,35 @@ function normalize$1(input, existing, path, luvio, store, timestamp) {
7490
7738
  return input;
7491
7739
  }
7492
7740
  const select$5 = function EinsteinPromptTypeRecordRepresentationSelect() {
7741
+ const { selections: EinsteinPromptTypeModelAffinityRepresentation__selections, opaque: EinsteinPromptTypeModelAffinityRepresentation__opaque, } = select$8();
7493
7742
  const { selections: EinsteinPromptTypeSchemaRepresentation__selections, opaque: EinsteinPromptTypeSchemaRepresentation__opaque, } = select$6();
7494
7743
  return {
7495
7744
  kind: 'Fragment',
7496
7745
  version: VERSION$3,
7497
7746
  private: [],
7498
7747
  selections: [
7748
+ {
7749
+ name: 'allowActions',
7750
+ kind: 'Scalar',
7751
+ required: false
7752
+ },
7753
+ {
7754
+ name: 'allowedInputTypes',
7755
+ kind: 'Scalar',
7756
+ plural: true,
7757
+ required: false
7758
+ },
7499
7759
  {
7500
7760
  name: 'excludedGlobalVariables',
7501
7761
  kind: 'Scalar',
7502
7762
  plural: true
7503
7763
  },
7764
+ {
7765
+ name: 'modelAffinity',
7766
+ kind: 'Object',
7767
+ selections: EinsteinPromptTypeModelAffinityRepresentation__selections,
7768
+ required: false
7769
+ },
7504
7770
  {
7505
7771
  name: 'schema',
7506
7772
  kind: 'Object',
@@ -7514,11 +7780,42 @@ const select$5 = function EinsteinPromptTypeRecordRepresentationSelect() {
7514
7780
  };
7515
7781
  };
7516
7782
  function equals$3(existing, incoming) {
7783
+ const existing_allowActions = existing.allowActions;
7784
+ const incoming_allowActions = incoming.allowActions;
7785
+ // if at least one of these optionals is defined
7786
+ if (existing_allowActions !== undefined || incoming_allowActions !== undefined) {
7787
+ // if one of these is not defined we know the other is defined and therefore
7788
+ // not equal
7789
+ if (existing_allowActions === undefined || incoming_allowActions === undefined) {
7790
+ return false;
7791
+ }
7792
+ if (!(existing_allowActions === incoming_allowActions)) {
7793
+ return false;
7794
+ }
7795
+ }
7517
7796
  const existing_templateTypeName = existing.templateTypeName;
7518
7797
  const incoming_templateTypeName = incoming.templateTypeName;
7519
7798
  if (!(existing_templateTypeName === incoming_templateTypeName)) {
7520
7799
  return false;
7521
7800
  }
7801
+ const existing_allowedInputTypes = existing.allowedInputTypes;
7802
+ const incoming_allowedInputTypes = incoming.allowedInputTypes;
7803
+ // if at least one of these optionals is defined
7804
+ if (existing_allowedInputTypes !== undefined || incoming_allowedInputTypes !== undefined) {
7805
+ // if one of these is not defined we know the other is defined and therefore
7806
+ // not equal
7807
+ if (existing_allowedInputTypes === undefined || incoming_allowedInputTypes === undefined) {
7808
+ return false;
7809
+ }
7810
+ const equals_allowedInputTypes_items = equalsArray(existing_allowedInputTypes, incoming_allowedInputTypes, (existing_allowedInputTypes_item, incoming_allowedInputTypes_item) => {
7811
+ if (!(existing_allowedInputTypes_item === incoming_allowedInputTypes_item)) {
7812
+ return false;
7813
+ }
7814
+ });
7815
+ if (equals_allowedInputTypes_items === false) {
7816
+ return false;
7817
+ }
7818
+ }
7522
7819
  const existing_excludedGlobalVariables = existing.excludedGlobalVariables;
7523
7820
  const incoming_excludedGlobalVariables = incoming.excludedGlobalVariables;
7524
7821
  const equals_excludedGlobalVariables_items = equalsArray(existing_excludedGlobalVariables, incoming_excludedGlobalVariables, (existing_excludedGlobalVariables_item, incoming_excludedGlobalVariables_item) => {
@@ -7529,6 +7826,19 @@ function equals$3(existing, incoming) {
7529
7826
  if (equals_excludedGlobalVariables_items === false) {
7530
7827
  return false;
7531
7828
  }
7829
+ const existing_modelAffinity = existing.modelAffinity;
7830
+ const incoming_modelAffinity = incoming.modelAffinity;
7831
+ // if at least one of these optionals is defined
7832
+ if (existing_modelAffinity !== undefined || incoming_modelAffinity !== undefined) {
7833
+ // if one of these is not defined we know the other is defined and therefore
7834
+ // not equal
7835
+ if (existing_modelAffinity === undefined || incoming_modelAffinity === undefined) {
7836
+ return false;
7837
+ }
7838
+ if (!(equals$6(existing_modelAffinity, incoming_modelAffinity))) {
7839
+ return false;
7840
+ }
7841
+ }
7532
7842
  const existing_schema = existing.schema;
7533
7843
  const incoming_schema = incoming.schema;
7534
7844
  if (!(equals$4(existing_schema, incoming_schema))) {