@salesforce/lds-adapters-industries-epc 1.319.0 → 1.320.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -92,7 +92,7 @@ function createLink(ref) {
92
92
  };
93
93
  }
94
94
 
95
- function validate$M(obj, path = 'DeactivateInputRepresentation') {
95
+ function validate$O(obj, path = 'DeactivateInputRepresentation') {
96
96
  const v_error = (() => {
97
97
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
98
98
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -125,7 +125,7 @@ function validate$M(obj, path = 'DeactivateInputRepresentation') {
125
125
  return v_error === undefined ? null : v_error;
126
126
  }
127
127
 
128
- function validate$L(obj, path = 'ErrorOutputRepresentation') {
128
+ function validate$N(obj, path = 'ErrorOutputRepresentation') {
129
129
  const v_error = (() => {
130
130
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
131
131
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -158,7 +158,7 @@ function validate$L(obj, path = 'ErrorOutputRepresentation') {
158
158
 
159
159
  const TTL$c = 6000;
160
160
  const VERSION$e = "67abdeaa299bae24f468fd2e78cd1e1e";
161
- function validate$K(obj, path = 'RecordIdMapOutputRepresentation') {
161
+ function validate$M(obj, path = 'RecordIdMapOutputRepresentation') {
162
162
  const v_error = (() => {
163
163
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
164
164
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -171,7 +171,7 @@ function validate$K(obj, path = 'RecordIdMapOutputRepresentation') {
171
171
  for (let i = 0; i < obj_errors.length; i++) {
172
172
  const obj_errors_item = obj_errors[i];
173
173
  const path_errors_item = path_errors + '[' + i + ']';
174
- const referencepath_errors_itemValidationError = validate$L(obj_errors_item, path_errors_item);
174
+ const referencepath_errors_itemValidationError = validate$N(obj_errors_item, path_errors_item);
175
175
  if (referencepath_errors_itemValidationError !== null) {
176
176
  let message = 'Object doesn\'t match ErrorOutputRepresentation (at "' + path_errors_item + '")\n';
177
177
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -215,7 +215,7 @@ function equals$e(existing, incoming) {
215
215
  }
216
216
  const ingest$d = function RecordIdMapOutputRepresentationIngest(input, path, luvio, store, timestamp) {
217
217
  if (process.env.NODE_ENV !== 'production') {
218
- const validateError = validate$K(input);
218
+ const validateError = validate$M(input);
219
219
  if (validateError !== null) {
220
220
  throw validateError;
221
221
  }
@@ -281,7 +281,7 @@ const createResourceParams$d = /*#__PURE__*/ createResourceParams$e(deactivate_C
281
281
  function typeCheckConfig$d(untrustedConfig) {
282
282
  const config = {};
283
283
  const untrustedConfig_deactivateInputPayload = untrustedConfig.deactivateInputPayload;
284
- const referenceDeactivateInputRepresentationValidationError = validate$M(untrustedConfig_deactivateInputPayload);
284
+ const referenceDeactivateInputRepresentationValidationError = validate$O(untrustedConfig_deactivateInputPayload);
285
285
  if (referenceDeactivateInputRepresentationValidationError === null) {
286
286
  config.deactivateInputPayload = untrustedConfig_deactivateInputPayload;
287
287
  }
@@ -329,7 +329,7 @@ const deactivateAdapterFactory = (luvio) => {
329
329
  };
330
330
  };
331
331
 
332
- function validate$J(obj, path = 'EpcErrorOutputRepresentation') {
332
+ function validate$L(obj, path = 'EpcErrorOutputRepresentation') {
333
333
  const v_error = (() => {
334
334
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
335
335
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -380,7 +380,7 @@ function validate$J(obj, path = 'EpcErrorOutputRepresentation') {
380
380
  return v_error === undefined ? null : v_error;
381
381
  }
382
382
 
383
- function validate$I(obj, path = 'IndexConfigurationFieldOutputRepresentation') {
383
+ function validate$K(obj, path = 'IndexConfigurationFieldOutputRepresentation') {
384
384
  const v_error = (() => {
385
385
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
386
386
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -438,7 +438,7 @@ function validate$I(obj, path = 'IndexConfigurationFieldOutputRepresentation') {
438
438
  return v_error === undefined ? null : v_error;
439
439
  }
440
440
 
441
- function validate$H(obj, path = 'FieldsInfoOutputRepresentation') {
441
+ function validate$J(obj, path = 'FieldsInfoOutputRepresentation') {
442
442
  const v_error = (() => {
443
443
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
444
444
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -482,7 +482,7 @@ function validate$H(obj, path = 'FieldsInfoOutputRepresentation') {
482
482
  return v_error === undefined ? null : v_error;
483
483
  }
484
484
 
485
- function validate$G(obj, path = 'ObjectInfoOutputRepresentation') {
485
+ function validate$I(obj, path = 'ObjectInfoOutputRepresentation') {
486
486
  const v_error = (() => {
487
487
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
488
488
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -496,7 +496,7 @@ function validate$G(obj, path = 'ObjectInfoOutputRepresentation') {
496
496
  for (let i = 0; i < obj_fields.length; i++) {
497
497
  const obj_fields_item = obj_fields[i];
498
498
  const path_fields_item = path_fields + '[' + i + ']';
499
- const referencepath_fields_itemValidationError = validate$H(obj_fields_item, path_fields_item);
499
+ const referencepath_fields_itemValidationError = validate$J(obj_fields_item, path_fields_item);
500
500
  if (referencepath_fields_itemValidationError !== null) {
501
501
  let message = 'Object doesn\'t match FieldsInfoOutputRepresentation (at "' + path_fields_item + '")\n';
502
502
  message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -515,7 +515,7 @@ function validate$G(obj, path = 'ObjectInfoOutputRepresentation') {
515
515
  return v_error === undefined ? null : v_error;
516
516
  }
517
517
 
518
- function validate$F(obj, path = 'MetadataOutputRepresentation') {
518
+ function validate$H(obj, path = 'MetadataOutputRepresentation') {
519
519
  const v_error = (() => {
520
520
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
521
521
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -529,7 +529,7 @@ function validate$F(obj, path = 'MetadataOutputRepresentation') {
529
529
  for (let i = 0; i < obj_objectInfos.length; i++) {
530
530
  const obj_objectInfos_item = obj_objectInfos[i];
531
531
  const path_objectInfos_item = path_objectInfos + '[' + i + ']';
532
- const referencepath_objectInfos_itemValidationError = validate$G(obj_objectInfos_item, path_objectInfos_item);
532
+ const referencepath_objectInfos_itemValidationError = validate$I(obj_objectInfos_item, path_objectInfos_item);
533
533
  if (referencepath_objectInfos_itemValidationError !== null) {
534
534
  let message = 'Object doesn\'t match ObjectInfoOutputRepresentation (at "' + path_objectInfos_item + '")\n';
535
535
  message += referencepath_objectInfos_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -543,7 +543,7 @@ function validate$F(obj, path = 'MetadataOutputRepresentation') {
543
543
 
544
544
  const TTL$b = 6000;
545
545
  const VERSION$d = "61cfe23ab3d064d226af215df6681afc";
546
- function validate$E(obj, path = 'IndexConfigurationCollectionOutputRepresentation') {
546
+ function validate$G(obj, path = 'IndexConfigurationCollectionOutputRepresentation') {
547
547
  const v_error = (() => {
548
548
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
549
549
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -564,7 +564,7 @@ function validate$E(obj, path = 'IndexConfigurationCollectionOutputRepresentatio
564
564
  for (let i = 0; i < obj_errors.length; i++) {
565
565
  const obj_errors_item = obj_errors[i];
566
566
  const path_errors_item = path_errors + '[' + i + ']';
567
- const referencepath_errors_itemValidationError = validate$J(obj_errors_item, path_errors_item);
567
+ const referencepath_errors_itemValidationError = validate$L(obj_errors_item, path_errors_item);
568
568
  if (referencepath_errors_itemValidationError !== null) {
569
569
  let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
570
570
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -581,7 +581,7 @@ function validate$E(obj, path = 'IndexConfigurationCollectionOutputRepresentatio
581
581
  for (let i = 0; i < obj_indexConfigurations.length; i++) {
582
582
  const obj_indexConfigurations_item = obj_indexConfigurations[i];
583
583
  const path_indexConfigurations_item = path_indexConfigurations + '[' + i + ']';
584
- const referencepath_indexConfigurations_itemValidationError = validate$I(obj_indexConfigurations_item, path_indexConfigurations_item);
584
+ const referencepath_indexConfigurations_itemValidationError = validate$K(obj_indexConfigurations_item, path_indexConfigurations_item);
585
585
  if (referencepath_indexConfigurations_itemValidationError !== null) {
586
586
  let message = 'Object doesn\'t match IndexConfigurationFieldOutputRepresentation (at "' + path_indexConfigurations_item + '")\n';
587
587
  message += referencepath_indexConfigurations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -592,7 +592,7 @@ function validate$E(obj, path = 'IndexConfigurationCollectionOutputRepresentatio
592
592
  if (obj.metadata !== undefined) {
593
593
  const obj_metadata = obj.metadata;
594
594
  const path_metadata = path + '.metadata';
595
- const referencepath_metadataValidationError = validate$F(obj_metadata, path_metadata);
595
+ const referencepath_metadataValidationError = validate$H(obj_metadata, path_metadata);
596
596
  if (referencepath_metadataValidationError !== null) {
597
597
  let message = 'Object doesn\'t match MetadataOutputRepresentation (at "' + path_metadata + '")\n';
598
598
  message += referencepath_metadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -629,7 +629,7 @@ function equals$d(existing, incoming) {
629
629
  }
630
630
  const ingest$c = function IndexConfigurationCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
631
631
  if (process.env.NODE_ENV !== 'production') {
632
- const validateError = validate$E(input);
632
+ const validateError = validate$G(input);
633
633
  if (validateError !== null) {
634
634
  throw validateError;
635
635
  }
@@ -791,7 +791,7 @@ const getIndexConfigurationsAdapterFactory = (luvio) => function epc__getIndexCo
791
791
 
792
792
  const TTL$a = 6000;
793
793
  const VERSION$c = "d8fe6f305d394e3ad9e8b064fd805a31";
794
- function validate$D(obj, path = 'IndexConfigurationsUpdateOutputRepresentation') {
794
+ function validate$F(obj, path = 'IndexConfigurationsUpdateOutputRepresentation') {
795
795
  const v_error = (() => {
796
796
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
797
797
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -812,7 +812,7 @@ function validate$D(obj, path = 'IndexConfigurationsUpdateOutputRepresentation')
812
812
  for (let i = 0; i < obj_errors.length; i++) {
813
813
  const obj_errors_item = obj_errors[i];
814
814
  const path_errors_item = path_errors + '[' + i + ']';
815
- const referencepath_errors_itemValidationError = validate$J(obj_errors_item, path_errors_item);
815
+ const referencepath_errors_itemValidationError = validate$L(obj_errors_item, path_errors_item);
816
816
  if (referencepath_errors_itemValidationError !== null) {
817
817
  let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
818
818
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -829,7 +829,7 @@ function validate$D(obj, path = 'IndexConfigurationsUpdateOutputRepresentation')
829
829
  for (let i = 0; i < obj_indexConfigurations.length; i++) {
830
830
  const obj_indexConfigurations_item = obj_indexConfigurations[i];
831
831
  const path_indexConfigurations_item = path_indexConfigurations + '[' + i + ']';
832
- const referencepath_indexConfigurations_itemValidationError = validate$I(obj_indexConfigurations_item, path_indexConfigurations_item);
832
+ const referencepath_indexConfigurations_itemValidationError = validate$K(obj_indexConfigurations_item, path_indexConfigurations_item);
833
833
  if (referencepath_indexConfigurations_itemValidationError !== null) {
834
834
  let message = 'Object doesn\'t match IndexConfigurationFieldOutputRepresentation (at "' + path_indexConfigurations_item + '")\n';
835
835
  message += referencepath_indexConfigurations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -874,7 +874,7 @@ function equals$c(existing, incoming) {
874
874
  }
875
875
  const ingest$b = function IndexConfigurationsUpdateOutputRepresentationIngest(input, path, luvio, store, timestamp) {
876
876
  if (process.env.NODE_ENV !== 'production') {
877
- const validateError = validate$D(input);
877
+ const validateError = validate$F(input);
878
878
  if (validateError !== null) {
879
879
  throw validateError;
880
880
  }
@@ -994,6 +994,108 @@ const updateIndexConfigurationsAdapterFactory = (luvio) => {
994
994
  };
995
995
  };
996
996
 
997
+ function validate$E(obj, path = 'SnapshotIndexInfoOutputRepresentation') {
998
+ const v_error = (() => {
999
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1000
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1001
+ }
1002
+ if (obj.buildType !== undefined) {
1003
+ const obj_buildType = obj.buildType;
1004
+ const path_buildType = path + '.buildType';
1005
+ if (typeof obj_buildType !== 'string') {
1006
+ return new TypeError('Expected "string" but received "' + typeof obj_buildType + '" (at "' + path_buildType + '")');
1007
+ }
1008
+ }
1009
+ if (obj.id !== undefined) {
1010
+ const obj_id = obj.id;
1011
+ const path_id = path + '.id';
1012
+ if (typeof obj_id !== 'string') {
1013
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
1014
+ }
1015
+ }
1016
+ if (obj.isIncrementable !== undefined) {
1017
+ const obj_isIncrementable = obj.isIncrementable;
1018
+ const path_isIncrementable = path + '.isIncrementable';
1019
+ if (typeof obj_isIncrementable !== 'boolean') {
1020
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isIncrementable + '" (at "' + path_isIncrementable + '")');
1021
+ }
1022
+ }
1023
+ if (obj.usageType !== undefined) {
1024
+ const obj_usageType = obj.usageType;
1025
+ const path_usageType = path + '.usageType';
1026
+ if (typeof obj_usageType !== 'string') {
1027
+ return new TypeError('Expected "string" but received "' + typeof obj_usageType + '" (at "' + path_usageType + '")');
1028
+ }
1029
+ }
1030
+ })();
1031
+ return v_error === undefined ? null : v_error;
1032
+ }
1033
+
1034
+ function validate$D(obj, path = 'SnapshotIndexLogOutputRepresentation') {
1035
+ const v_error = (() => {
1036
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1037
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1038
+ }
1039
+ if (obj.catalogSnapshotTime !== undefined) {
1040
+ const obj_catalogSnapshotTime = obj.catalogSnapshotTime;
1041
+ const path_catalogSnapshotTime = path + '.catalogSnapshotTime';
1042
+ if (typeof obj_catalogSnapshotTime !== 'string') {
1043
+ return new TypeError('Expected "string" but received "' + typeof obj_catalogSnapshotTime + '" (at "' + path_catalogSnapshotTime + '")');
1044
+ }
1045
+ }
1046
+ if (obj.completionTime !== undefined) {
1047
+ const obj_completionTime = obj.completionTime;
1048
+ const path_completionTime = path + '.completionTime';
1049
+ if (typeof obj_completionTime !== 'string') {
1050
+ return new TypeError('Expected "string" but received "' + typeof obj_completionTime + '" (at "' + path_completionTime + '")');
1051
+ }
1052
+ }
1053
+ if (obj.createdById !== undefined) {
1054
+ const obj_createdById = obj.createdById;
1055
+ const path_createdById = path + '.createdById';
1056
+ if (typeof obj_createdById !== 'string') {
1057
+ return new TypeError('Expected "string" but received "' + typeof obj_createdById + '" (at "' + path_createdById + '")');
1058
+ }
1059
+ }
1060
+ if (obj.indexBuildStatus !== undefined) {
1061
+ const obj_indexBuildStatus = obj.indexBuildStatus;
1062
+ const path_indexBuildStatus = path + '.indexBuildStatus';
1063
+ if (typeof obj_indexBuildStatus !== 'string') {
1064
+ return new TypeError('Expected "string" but received "' + typeof obj_indexBuildStatus + '" (at "' + path_indexBuildStatus + '")');
1065
+ }
1066
+ }
1067
+ if (obj.indexBuildType !== undefined) {
1068
+ const obj_indexBuildType = obj.indexBuildType;
1069
+ const path_indexBuildType = path + '.indexBuildType';
1070
+ if (typeof obj_indexBuildType !== 'string') {
1071
+ return new TypeError('Expected "string" but received "' + typeof obj_indexBuildType + '" (at "' + path_indexBuildType + '")');
1072
+ }
1073
+ }
1074
+ if (obj.indexId !== undefined) {
1075
+ const obj_indexId = obj.indexId;
1076
+ const path_indexId = path + '.indexId';
1077
+ if (typeof obj_indexId !== 'string') {
1078
+ return new TypeError('Expected "string" but received "' + typeof obj_indexId + '" (at "' + path_indexId + '")');
1079
+ }
1080
+ }
1081
+ if (obj.message !== undefined) {
1082
+ const obj_message = obj.message;
1083
+ const path_message = path + '.message';
1084
+ if (typeof obj_message !== 'string') {
1085
+ return new TypeError('Expected "string" but received "' + typeof obj_message + '" (at "' + path_message + '")');
1086
+ }
1087
+ }
1088
+ if (obj.numberOfChanges !== undefined) {
1089
+ const obj_numberOfChanges = obj.numberOfChanges;
1090
+ const path_numberOfChanges = path + '.numberOfChanges';
1091
+ if (typeof obj_numberOfChanges !== 'number' || (typeof obj_numberOfChanges === 'number' && Math.floor(obj_numberOfChanges) !== obj_numberOfChanges)) {
1092
+ return new TypeError('Expected "integer" but received "' + typeof obj_numberOfChanges + '" (at "' + path_numberOfChanges + '")');
1093
+ }
1094
+ }
1095
+ })();
1096
+ return v_error === undefined ? null : v_error;
1097
+ }
1098
+
997
1099
  function validate$C(obj, path = 'SnapshotIndexOutputRepresentation') {
998
1100
  const v_error = (() => {
999
1101
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1027,6 +1129,40 @@ function validate$C(obj, path = 'SnapshotIndexOutputRepresentation') {
1027
1129
  return new TypeError('Expected "string" but received "' + typeof obj_indexBuildType + '" (at "' + path_indexBuildType + '")');
1028
1130
  }
1029
1131
  }
1132
+ if (obj.indexInfos !== undefined) {
1133
+ const obj_indexInfos = obj.indexInfos;
1134
+ const path_indexInfos = path + '.indexInfos';
1135
+ if (!ArrayIsArray(obj_indexInfos)) {
1136
+ return new TypeError('Expected "array" but received "' + typeof obj_indexInfos + '" (at "' + path_indexInfos + '")');
1137
+ }
1138
+ for (let i = 0; i < obj_indexInfos.length; i++) {
1139
+ const obj_indexInfos_item = obj_indexInfos[i];
1140
+ const path_indexInfos_item = path_indexInfos + '[' + i + ']';
1141
+ const referencepath_indexInfos_itemValidationError = validate$E(obj_indexInfos_item, path_indexInfos_item);
1142
+ if (referencepath_indexInfos_itemValidationError !== null) {
1143
+ let message = 'Object doesn\'t match SnapshotIndexInfoOutputRepresentation (at "' + path_indexInfos_item + '")\n';
1144
+ message += referencepath_indexInfos_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1145
+ return new TypeError(message);
1146
+ }
1147
+ }
1148
+ }
1149
+ if (obj.indexLogs !== undefined) {
1150
+ const obj_indexLogs = obj.indexLogs;
1151
+ const path_indexLogs = path + '.indexLogs';
1152
+ if (!ArrayIsArray(obj_indexLogs)) {
1153
+ return new TypeError('Expected "array" but received "' + typeof obj_indexLogs + '" (at "' + path_indexLogs + '")');
1154
+ }
1155
+ for (let i = 0; i < obj_indexLogs.length; i++) {
1156
+ const obj_indexLogs_item = obj_indexLogs[i];
1157
+ const path_indexLogs_item = path_indexLogs + '[' + i + ']';
1158
+ const referencepath_indexLogs_itemValidationError = validate$D(obj_indexLogs_item, path_indexLogs_item);
1159
+ if (referencepath_indexLogs_itemValidationError !== null) {
1160
+ let message = 'Object doesn\'t match SnapshotIndexLogOutputRepresentation (at "' + path_indexLogs_item + '")\n';
1161
+ message += referencepath_indexLogs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1162
+ return new TypeError(message);
1163
+ }
1164
+ }
1165
+ }
1030
1166
  if (obj.indexType !== undefined) {
1031
1167
  const obj_indexType = obj.indexType;
1032
1168
  const path_indexType = path + '.indexType';
@@ -1048,6 +1184,13 @@ function validate$C(obj, path = 'SnapshotIndexOutputRepresentation') {
1048
1184
  return new TypeError('Expected "integer" but received "' + typeof obj_numberOfRecords + '" (at "' + path_numberOfRecords + '")');
1049
1185
  }
1050
1186
  }
1187
+ if (obj.venueId !== undefined) {
1188
+ const obj_venueId = obj.venueId;
1189
+ const path_venueId = path + '.venueId';
1190
+ if (typeof obj_venueId !== 'string') {
1191
+ return new TypeError('Expected "string" but received "' + typeof obj_venueId + '" (at "' + path_venueId + '")');
1192
+ }
1193
+ }
1051
1194
  })();
1052
1195
  return v_error === undefined ? null : v_error;
1053
1196
  }
@@ -1122,7 +1265,7 @@ function validate$A(obj, path = 'SnapshotDeploymentOutputRepresentation') {
1122
1265
  for (let i = 0; i < obj_errors.length; i++) {
1123
1266
  const obj_errors_item = obj_errors[i];
1124
1267
  const path_errors_item = path_errors + '[' + i + ']';
1125
- const referencepath_errors_itemValidationError = validate$J(obj_errors_item, path_errors_item);
1268
+ const referencepath_errors_itemValidationError = validate$L(obj_errors_item, path_errors_item);
1126
1269
  if (referencepath_errors_itemValidationError !== null) {
1127
1270
  let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
1128
1271
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1357,7 +1500,7 @@ function validate$x(obj, path = 'IndexSettingOutputRepresentation') {
1357
1500
  for (let i = 0; i < obj_errors.length; i++) {
1358
1501
  const obj_errors_item = obj_errors[i];
1359
1502
  const path_errors_item = path_errors + '[' + i + ']';
1360
- const referencepath_errors_itemValidationError = validate$J(obj_errors_item, path_errors_item);
1503
+ const referencepath_errors_itemValidationError = validate$L(obj_errors_item, path_errors_item);
1361
1504
  if (referencepath_errors_itemValidationError !== null) {
1362
1505
  let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
1363
1506
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1603,7 +1746,7 @@ function validate$v(obj, path = 'IndexSettingPatchOutputRepresentation') {
1603
1746
  for (let i = 0; i < obj_errors.length; i++) {
1604
1747
  const obj_errors_item = obj_errors[i];
1605
1748
  const path_errors_item = path_errors + '[' + i + ']';
1606
- const referencepath_errors_itemValidationError = validate$J(obj_errors_item, path_errors_item);
1749
+ const referencepath_errors_itemValidationError = validate$L(obj_errors_item, path_errors_item);
1607
1750
  if (referencepath_errors_itemValidationError !== null) {
1608
1751
  let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
1609
1752
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1788,7 +1931,7 @@ function validate$u(obj, path = 'SnapshotCollectionOutputRepresentation') {
1788
1931
  for (let i = 0; i < obj_errors.length; i++) {
1789
1932
  const obj_errors_item = obj_errors[i];
1790
1933
  const path_errors_item = path_errors + '[' + i + ']';
1791
- const referencepath_errors_itemValidationError = validate$J(obj_errors_item, path_errors_item);
1934
+ const referencepath_errors_itemValidationError = validate$L(obj_errors_item, path_errors_item);
1792
1935
  if (referencepath_errors_itemValidationError !== null) {
1793
1936
  let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
1794
1937
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -0,0 +1,37 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const VERSION = "420ebf2e98bbef9edcdd337964282210";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: SnapshotIndexInfoOutputRepresentation, existing: SnapshotIndexInfoOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SnapshotIndexInfoOutputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: SnapshotIndexInfoOutputRepresentationNormalized, incoming: SnapshotIndexInfoOutputRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SnapshotIndexInfoOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Output Representation of a snapshot index info.
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface SnapshotIndexInfoOutputRepresentationNormalized {
17
+ /** Build type of the index (Full or Incremental) */
18
+ buildType?: string;
19
+ /** id of the index info record */
20
+ id?: string;
21
+ /** Indicates if partial build is enabled or disabled */
22
+ isIncrementable?: boolean;
23
+ /** Usage type of the index (Live or Out of use) */
24
+ usageType?: string;
25
+ }
26
+ /**
27
+ * Output Representation of a snapshot index info.
28
+ *
29
+ * Keys:
30
+ * (none)
31
+ */
32
+ export interface SnapshotIndexInfoOutputRepresentation {
33
+ buildType?: string;
34
+ id?: string;
35
+ isIncrementable?: boolean;
36
+ usageType?: string;
37
+ }
@@ -1,5 +1,7 @@
1
+ import { SnapshotIndexInfoOutputRepresentation as SnapshotIndexInfoOutputRepresentation_SnapshotIndexInfoOutputRepresentation } from './SnapshotIndexInfoOutputRepresentation';
2
+ import { SnapshotIndexLogOutputRepresentation as SnapshotIndexLogOutputRepresentation_SnapshotIndexLogOutputRepresentation } from './SnapshotIndexLogOutputRepresentation';
1
3
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
- export declare const VERSION = "7efe3cb75065ff112e36d571d9101411";
4
+ export declare const VERSION = "0197ba8e9a82820296455f197ee8507c";
3
5
  export declare function validate(obj: any, path?: string): TypeError | null;
4
6
  export declare const RepresentationType: string;
5
7
  export declare function normalize(input: SnapshotIndexOutputRepresentation, existing: SnapshotIndexOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SnapshotIndexOutputRepresentationNormalized;
@@ -22,12 +24,18 @@ export interface SnapshotIndexOutputRepresentationNormalized {
22
24
  id?: string;
23
25
  /** index build type */
24
26
  indexBuildType?: string;
27
+ /** index info records for the snapshot index */
28
+ indexInfos?: Array<SnapshotIndexInfoOutputRepresentation_SnapshotIndexInfoOutputRepresentation>;
29
+ /** index logs for the snapshot index */
30
+ indexLogs?: Array<SnapshotIndexLogOutputRepresentation_SnapshotIndexLogOutputRepresentation>;
25
31
  /** index type of the snapshot index */
26
32
  indexType?: string;
27
33
  /** last build status of the index */
28
34
  lastBuildStatus?: string;
29
35
  /** number of records indexed */
30
36
  numberOfRecords?: number;
37
+ /** venue id of the snapshot index */
38
+ venueId?: string;
31
39
  }
32
40
  /**
33
41
  * Runtime Catalog Snapshot Index Response
@@ -40,7 +48,10 @@ export interface SnapshotIndexOutputRepresentation {
40
48
  createdDate?: string;
41
49
  id?: string;
42
50
  indexBuildType?: string;
51
+ indexInfos?: Array<SnapshotIndexInfoOutputRepresentation_SnapshotIndexInfoOutputRepresentation>;
52
+ indexLogs?: Array<SnapshotIndexLogOutputRepresentation_SnapshotIndexLogOutputRepresentation>;
43
53
  indexType?: string;
44
54
  lastBuildStatus?: string;
45
55
  numberOfRecords?: number;
56
+ venueId?: string;
46
57
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-epc",
3
- "version": "1.319.0",
3
+ "version": "1.320.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "APIs for EPCNext project",
6
6
  "main": "dist/es/es2018/industries-epc.js",
@@ -44,11 +44,11 @@
44
44
  "test:unit": "jest --config=./jest.config.js"
45
45
  },
46
46
  "dependencies": {
47
- "@salesforce/lds-bindings": "^1.319.0"
47
+ "@salesforce/lds-bindings": "^1.320.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@salesforce/lds-compiler-plugins": "^1.319.0",
51
- "@salesforce/lds-karma": "^1.319.0"
50
+ "@salesforce/lds-compiler-plugins": "^1.320.0",
51
+ "@salesforce/lds-karma": "^1.320.0"
52
52
  },
53
53
  "nx": {
54
54
  "targets": {
package/sfdc/index.js CHANGED
@@ -102,7 +102,7 @@ function createLink(ref) {
102
102
  };
103
103
  }
104
104
 
105
- function validate$M(obj, path = 'ProductAttributeDefinitionListInputRepresentation') {
105
+ function validate$O(obj, path = 'ProductAttributeDefinitionListInputRepresentation') {
106
106
  const v_error = (() => {
107
107
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
108
108
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -123,7 +123,7 @@ function validate$M(obj, path = 'ProductAttributeDefinitionListInputRepresentati
123
123
  return v_error === undefined ? null : v_error;
124
124
  }
125
125
 
126
- function validate$L(obj, path = 'ProductAttributeDefinitionRepresentation') {
126
+ function validate$N(obj, path = 'ProductAttributeDefinitionRepresentation') {
127
127
  const v_error = (() => {
128
128
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
129
129
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -148,7 +148,7 @@ function validate$L(obj, path = 'ProductAttributeDefinitionRepresentation') {
148
148
 
149
149
  const TTL$c = 6000;
150
150
  const VERSION$e = "e67d3c8569b9667eac98cc1a9840041c";
151
- function validate$K(obj, path = 'ProductAttributeDefinitionListRepresentation') {
151
+ function validate$M(obj, path = 'ProductAttributeDefinitionListRepresentation') {
152
152
  const v_error = (() => {
153
153
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
154
154
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -161,7 +161,7 @@ function validate$K(obj, path = 'ProductAttributeDefinitionListRepresentation')
161
161
  for (let i = 0; i < obj_data.length; i++) {
162
162
  const obj_data_item = obj_data[i];
163
163
  const path_data_item = path_data + '[' + i + ']';
164
- const referencepath_data_itemValidationError = validate$L(obj_data_item, path_data_item);
164
+ const referencepath_data_itemValidationError = validate$N(obj_data_item, path_data_item);
165
165
  if (referencepath_data_itemValidationError !== null) {
166
166
  let message = 'Object doesn\'t match ProductAttributeDefinitionRepresentation (at "' + path_data_item + '")\n';
167
167
  message += referencepath_data_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -205,7 +205,7 @@ function equals$e(existing, incoming) {
205
205
  }
206
206
  const ingest$d = function ProductAttributeDefinitionListRepresentationIngest(input, path, luvio, store, timestamp) {
207
207
  if (process.env.NODE_ENV !== 'production') {
208
- const validateError = validate$K(input);
208
+ const validateError = validate$M(input);
209
209
  if (validateError !== null) {
210
210
  throw validateError;
211
211
  }
@@ -271,7 +271,7 @@ const createResourceParams$d = /*#__PURE__*/ createResourceParams$e(createProduc
271
271
  function typeCheckConfig$d(untrustedConfig) {
272
272
  const config = {};
273
273
  const untrustedConfig_productAttributeDefinitionListInputPayload = untrustedConfig.productAttributeDefinitionListInputPayload;
274
- const referenceProductAttributeDefinitionListInputRepresentationValidationError = validate$M(untrustedConfig_productAttributeDefinitionListInputPayload);
274
+ const referenceProductAttributeDefinitionListInputRepresentationValidationError = validate$O(untrustedConfig_productAttributeDefinitionListInputPayload);
275
275
  if (referenceProductAttributeDefinitionListInputRepresentationValidationError === null) {
276
276
  config.productAttributeDefinitionListInputPayload = untrustedConfig_productAttributeDefinitionListInputPayload;
277
277
  }
@@ -319,7 +319,7 @@ const createProductAttributeDefinitionAdapterFactory = (luvio) => {
319
319
  };
320
320
  };
321
321
 
322
- function validate$J(obj, path = 'DeactivateInputRepresentation') {
322
+ function validate$L(obj, path = 'DeactivateInputRepresentation') {
323
323
  const v_error = (() => {
324
324
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
325
325
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -352,7 +352,7 @@ function validate$J(obj, path = 'DeactivateInputRepresentation') {
352
352
  return v_error === undefined ? null : v_error;
353
353
  }
354
354
 
355
- function validate$I(obj, path = 'ErrorOutputRepresentation') {
355
+ function validate$K(obj, path = 'ErrorOutputRepresentation') {
356
356
  const v_error = (() => {
357
357
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
358
358
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -385,7 +385,7 @@ function validate$I(obj, path = 'ErrorOutputRepresentation') {
385
385
 
386
386
  const TTL$b = 6000;
387
387
  const VERSION$d = "67abdeaa299bae24f468fd2e78cd1e1e";
388
- function validate$H(obj, path = 'RecordIdMapOutputRepresentation') {
388
+ function validate$J(obj, path = 'RecordIdMapOutputRepresentation') {
389
389
  const v_error = (() => {
390
390
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
391
391
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -398,7 +398,7 @@ function validate$H(obj, path = 'RecordIdMapOutputRepresentation') {
398
398
  for (let i = 0; i < obj_errors.length; i++) {
399
399
  const obj_errors_item = obj_errors[i];
400
400
  const path_errors_item = path_errors + '[' + i + ']';
401
- const referencepath_errors_itemValidationError = validate$I(obj_errors_item, path_errors_item);
401
+ const referencepath_errors_itemValidationError = validate$K(obj_errors_item, path_errors_item);
402
402
  if (referencepath_errors_itemValidationError !== null) {
403
403
  let message = 'Object doesn\'t match ErrorOutputRepresentation (at "' + path_errors_item + '")\n';
404
404
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -442,7 +442,7 @@ function equals$d(existing, incoming) {
442
442
  }
443
443
  const ingest$c = function RecordIdMapOutputRepresentationIngest(input, path, luvio, store, timestamp) {
444
444
  if (process.env.NODE_ENV !== 'production') {
445
- const validateError = validate$H(input);
445
+ const validateError = validate$J(input);
446
446
  if (validateError !== null) {
447
447
  throw validateError;
448
448
  }
@@ -508,7 +508,7 @@ const createResourceParams$c = /*#__PURE__*/ createResourceParams$e(deactivate_C
508
508
  function typeCheckConfig$c(untrustedConfig) {
509
509
  const config = {};
510
510
  const untrustedConfig_deactivateInputPayload = untrustedConfig.deactivateInputPayload;
511
- const referenceDeactivateInputRepresentationValidationError = validate$J(untrustedConfig_deactivateInputPayload);
511
+ const referenceDeactivateInputRepresentationValidationError = validate$L(untrustedConfig_deactivateInputPayload);
512
512
  if (referenceDeactivateInputRepresentationValidationError === null) {
513
513
  config.deactivateInputPayload = untrustedConfig_deactivateInputPayload;
514
514
  }
@@ -556,7 +556,7 @@ const deactivateAdapterFactory = (luvio) => {
556
556
  };
557
557
  };
558
558
 
559
- function validate$G(obj, path = 'EpcErrorOutputRepresentation') {
559
+ function validate$I(obj, path = 'EpcErrorOutputRepresentation') {
560
560
  const v_error = (() => {
561
561
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
562
562
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -607,6 +607,108 @@ function validate$G(obj, path = 'EpcErrorOutputRepresentation') {
607
607
  return v_error === undefined ? null : v_error;
608
608
  }
609
609
 
610
+ function validate$H(obj, path = 'SnapshotIndexInfoOutputRepresentation') {
611
+ const v_error = (() => {
612
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
613
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
614
+ }
615
+ if (obj.buildType !== undefined) {
616
+ const obj_buildType = obj.buildType;
617
+ const path_buildType = path + '.buildType';
618
+ if (typeof obj_buildType !== 'string') {
619
+ return new TypeError('Expected "string" but received "' + typeof obj_buildType + '" (at "' + path_buildType + '")');
620
+ }
621
+ }
622
+ if (obj.id !== undefined) {
623
+ const obj_id = obj.id;
624
+ const path_id = path + '.id';
625
+ if (typeof obj_id !== 'string') {
626
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
627
+ }
628
+ }
629
+ if (obj.isIncrementable !== undefined) {
630
+ const obj_isIncrementable = obj.isIncrementable;
631
+ const path_isIncrementable = path + '.isIncrementable';
632
+ if (typeof obj_isIncrementable !== 'boolean') {
633
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isIncrementable + '" (at "' + path_isIncrementable + '")');
634
+ }
635
+ }
636
+ if (obj.usageType !== undefined) {
637
+ const obj_usageType = obj.usageType;
638
+ const path_usageType = path + '.usageType';
639
+ if (typeof obj_usageType !== 'string') {
640
+ return new TypeError('Expected "string" but received "' + typeof obj_usageType + '" (at "' + path_usageType + '")');
641
+ }
642
+ }
643
+ })();
644
+ return v_error === undefined ? null : v_error;
645
+ }
646
+
647
+ function validate$G(obj, path = 'SnapshotIndexLogOutputRepresentation') {
648
+ const v_error = (() => {
649
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
650
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
651
+ }
652
+ if (obj.catalogSnapshotTime !== undefined) {
653
+ const obj_catalogSnapshotTime = obj.catalogSnapshotTime;
654
+ const path_catalogSnapshotTime = path + '.catalogSnapshotTime';
655
+ if (typeof obj_catalogSnapshotTime !== 'string') {
656
+ return new TypeError('Expected "string" but received "' + typeof obj_catalogSnapshotTime + '" (at "' + path_catalogSnapshotTime + '")');
657
+ }
658
+ }
659
+ if (obj.completionTime !== undefined) {
660
+ const obj_completionTime = obj.completionTime;
661
+ const path_completionTime = path + '.completionTime';
662
+ if (typeof obj_completionTime !== 'string') {
663
+ return new TypeError('Expected "string" but received "' + typeof obj_completionTime + '" (at "' + path_completionTime + '")');
664
+ }
665
+ }
666
+ if (obj.createdById !== undefined) {
667
+ const obj_createdById = obj.createdById;
668
+ const path_createdById = path + '.createdById';
669
+ if (typeof obj_createdById !== 'string') {
670
+ return new TypeError('Expected "string" but received "' + typeof obj_createdById + '" (at "' + path_createdById + '")');
671
+ }
672
+ }
673
+ if (obj.indexBuildStatus !== undefined) {
674
+ const obj_indexBuildStatus = obj.indexBuildStatus;
675
+ const path_indexBuildStatus = path + '.indexBuildStatus';
676
+ if (typeof obj_indexBuildStatus !== 'string') {
677
+ return new TypeError('Expected "string" but received "' + typeof obj_indexBuildStatus + '" (at "' + path_indexBuildStatus + '")');
678
+ }
679
+ }
680
+ if (obj.indexBuildType !== undefined) {
681
+ const obj_indexBuildType = obj.indexBuildType;
682
+ const path_indexBuildType = path + '.indexBuildType';
683
+ if (typeof obj_indexBuildType !== 'string') {
684
+ return new TypeError('Expected "string" but received "' + typeof obj_indexBuildType + '" (at "' + path_indexBuildType + '")');
685
+ }
686
+ }
687
+ if (obj.indexId !== undefined) {
688
+ const obj_indexId = obj.indexId;
689
+ const path_indexId = path + '.indexId';
690
+ if (typeof obj_indexId !== 'string') {
691
+ return new TypeError('Expected "string" but received "' + typeof obj_indexId + '" (at "' + path_indexId + '")');
692
+ }
693
+ }
694
+ if (obj.message !== undefined) {
695
+ const obj_message = obj.message;
696
+ const path_message = path + '.message';
697
+ if (typeof obj_message !== 'string') {
698
+ return new TypeError('Expected "string" but received "' + typeof obj_message + '" (at "' + path_message + '")');
699
+ }
700
+ }
701
+ if (obj.numberOfChanges !== undefined) {
702
+ const obj_numberOfChanges = obj.numberOfChanges;
703
+ const path_numberOfChanges = path + '.numberOfChanges';
704
+ if (typeof obj_numberOfChanges !== 'number' || (typeof obj_numberOfChanges === 'number' && Math.floor(obj_numberOfChanges) !== obj_numberOfChanges)) {
705
+ return new TypeError('Expected "integer" but received "' + typeof obj_numberOfChanges + '" (at "' + path_numberOfChanges + '")');
706
+ }
707
+ }
708
+ })();
709
+ return v_error === undefined ? null : v_error;
710
+ }
711
+
610
712
  function validate$F(obj, path = 'SnapshotIndexOutputRepresentation') {
611
713
  const v_error = (() => {
612
714
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -640,6 +742,40 @@ function validate$F(obj, path = 'SnapshotIndexOutputRepresentation') {
640
742
  return new TypeError('Expected "string" but received "' + typeof obj_indexBuildType + '" (at "' + path_indexBuildType + '")');
641
743
  }
642
744
  }
745
+ if (obj.indexInfos !== undefined) {
746
+ const obj_indexInfos = obj.indexInfos;
747
+ const path_indexInfos = path + '.indexInfos';
748
+ if (!ArrayIsArray(obj_indexInfos)) {
749
+ return new TypeError('Expected "array" but received "' + typeof obj_indexInfos + '" (at "' + path_indexInfos + '")');
750
+ }
751
+ for (let i = 0; i < obj_indexInfos.length; i++) {
752
+ const obj_indexInfos_item = obj_indexInfos[i];
753
+ const path_indexInfos_item = path_indexInfos + '[' + i + ']';
754
+ const referencepath_indexInfos_itemValidationError = validate$H(obj_indexInfos_item, path_indexInfos_item);
755
+ if (referencepath_indexInfos_itemValidationError !== null) {
756
+ let message = 'Object doesn\'t match SnapshotIndexInfoOutputRepresentation (at "' + path_indexInfos_item + '")\n';
757
+ message += referencepath_indexInfos_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
758
+ return new TypeError(message);
759
+ }
760
+ }
761
+ }
762
+ if (obj.indexLogs !== undefined) {
763
+ const obj_indexLogs = obj.indexLogs;
764
+ const path_indexLogs = path + '.indexLogs';
765
+ if (!ArrayIsArray(obj_indexLogs)) {
766
+ return new TypeError('Expected "array" but received "' + typeof obj_indexLogs + '" (at "' + path_indexLogs + '")');
767
+ }
768
+ for (let i = 0; i < obj_indexLogs.length; i++) {
769
+ const obj_indexLogs_item = obj_indexLogs[i];
770
+ const path_indexLogs_item = path_indexLogs + '[' + i + ']';
771
+ const referencepath_indexLogs_itemValidationError = validate$G(obj_indexLogs_item, path_indexLogs_item);
772
+ if (referencepath_indexLogs_itemValidationError !== null) {
773
+ let message = 'Object doesn\'t match SnapshotIndexLogOutputRepresentation (at "' + path_indexLogs_item + '")\n';
774
+ message += referencepath_indexLogs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
775
+ return new TypeError(message);
776
+ }
777
+ }
778
+ }
643
779
  if (obj.indexType !== undefined) {
644
780
  const obj_indexType = obj.indexType;
645
781
  const path_indexType = path + '.indexType';
@@ -661,6 +797,13 @@ function validate$F(obj, path = 'SnapshotIndexOutputRepresentation') {
661
797
  return new TypeError('Expected "integer" but received "' + typeof obj_numberOfRecords + '" (at "' + path_numberOfRecords + '")');
662
798
  }
663
799
  }
800
+ if (obj.venueId !== undefined) {
801
+ const obj_venueId = obj.venueId;
802
+ const path_venueId = path + '.venueId';
803
+ if (typeof obj_venueId !== 'string') {
804
+ return new TypeError('Expected "string" but received "' + typeof obj_venueId + '" (at "' + path_venueId + '")');
805
+ }
806
+ }
664
807
  })();
665
808
  return v_error === undefined ? null : v_error;
666
809
  }
@@ -735,7 +878,7 @@ function validate$D(obj, path = 'SnapshotDeploymentOutputRepresentation') {
735
878
  for (let i = 0; i < obj_errors.length; i++) {
736
879
  const obj_errors_item = obj_errors[i];
737
880
  const path_errors_item = path_errors + '[' + i + ']';
738
- const referencepath_errors_itemValidationError = validate$G(obj_errors_item, path_errors_item);
881
+ const referencepath_errors_itemValidationError = validate$I(obj_errors_item, path_errors_item);
739
882
  if (referencepath_errors_itemValidationError !== null) {
740
883
  let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
741
884
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2108,7 +2251,7 @@ function validate$l(obj, path = 'IndexConfigurationCollectionOutputRepresentatio
2108
2251
  for (let i = 0; i < obj_errors.length; i++) {
2109
2252
  const obj_errors_item = obj_errors[i];
2110
2253
  const path_errors_item = path_errors + '[' + i + ']';
2111
- const referencepath_errors_itemValidationError = validate$G(obj_errors_item, path_errors_item);
2254
+ const referencepath_errors_itemValidationError = validate$I(obj_errors_item, path_errors_item);
2112
2255
  if (referencepath_errors_itemValidationError !== null) {
2113
2256
  let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
2114
2257
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2400,7 +2543,7 @@ function validate$i(obj, path = 'IndexSettingOutputRepresentation') {
2400
2543
  for (let i = 0; i < obj_errors.length; i++) {
2401
2544
  const obj_errors_item = obj_errors[i];
2402
2545
  const path_errors_item = path_errors + '[' + i + ']';
2403
- const referencepath_errors_itemValidationError = validate$G(obj_errors_item, path_errors_item);
2546
+ const referencepath_errors_itemValidationError = validate$I(obj_errors_item, path_errors_item);
2404
2547
  if (referencepath_errors_itemValidationError !== null) {
2405
2548
  let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
2406
2549
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4112,7 +4255,7 @@ function validate$3(obj, path = 'SnapshotCollectionOutputRepresentation') {
4112
4255
  for (let i = 0; i < obj_errors.length; i++) {
4113
4256
  const obj_errors_item = obj_errors[i];
4114
4257
  const path_errors_item = path_errors + '[' + i + ']';
4115
- const referencepath_errors_itemValidationError = validate$G(obj_errors_item, path_errors_item);
4258
+ const referencepath_errors_itemValidationError = validate$I(obj_errors_item, path_errors_item);
4116
4259
  if (referencepath_errors_itemValidationError !== null) {
4117
4260
  let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
4118
4261
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4364,7 +4507,7 @@ function validate$1(obj, path = 'IndexSettingPatchOutputRepresentation') {
4364
4507
  for (let i = 0; i < obj_errors.length; i++) {
4365
4508
  const obj_errors_item = obj_errors[i];
4366
4509
  const path_errors_item = path_errors + '[' + i + ']';
4367
- const referencepath_errors_itemValidationError = validate$G(obj_errors_item, path_errors_item);
4510
+ const referencepath_errors_itemValidationError = validate$I(obj_errors_item, path_errors_item);
4368
4511
  if (referencepath_errors_itemValidationError !== null) {
4369
4512
  let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
4370
4513
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4556,7 +4699,7 @@ function validate(obj, path = 'IndexConfigurationsUpdateOutputRepresentation') {
4556
4699
  for (let i = 0; i < obj_errors.length; i++) {
4557
4700
  const obj_errors_item = obj_errors[i];
4558
4701
  const path_errors_item = path_errors + '[' + i + ']';
4559
- const referencepath_errors_itemValidationError = validate$G(obj_errors_item, path_errors_item);
4702
+ const referencepath_errors_itemValidationError = validate$I(obj_errors_item, path_errors_item);
4560
4703
  if (referencepath_errors_itemValidationError !== null) {
4561
4704
  let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
4562
4705
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4859,4 +5002,4 @@ withDefaultLuvio((luvio) => {
4859
5002
  });
4860
5003
 
4861
5004
  export { createProductAttributeDefinition, deactivate, deploySnapshotIndex, fetchRelatedRecords, getConfigRuleMetadata, getConfigRuleMetadata_imperative, getContextDefinitionInfoById, getContextDefinitionInfoById_imperative, getIndexConfigurations, getIndexConfigurations_imperative, getIndexSetting, getIndexSetting_imperative, getProductAttributesByProductId, getProductAttributesByProductId_imperative, getProductById, getProductById_imperative, getProductFlowByProductId, getProductFlowByProductId_imperative, getSnapshots, getSnapshots_imperative, patchIndexSetting, updateIndexConfigurations };
4862
- // version: 1.319.0-73ecdbd0ce
5005
+ // version: 1.320.0-e3e5f3d984
package/src/raml/api.raml CHANGED
@@ -851,6 +851,18 @@ types:
851
851
  description: index build type
852
852
  type: string
853
853
  required: false
854
+ indexInfos:
855
+ description: index info records for the snapshot index
856
+ type: array
857
+ required: false
858
+ items:
859
+ type: SnapshotIndexInfoOutputRepresentation
860
+ indexLogs:
861
+ description: index logs for the snapshot index
862
+ type: array
863
+ required: false
864
+ items:
865
+ type: SnapshotIndexLogOutputRepresentation
854
866
  indexType:
855
867
  description: index type of the snapshot index
856
868
  type: string
@@ -863,6 +875,10 @@ types:
863
875
  description: number of records indexed
864
876
  type: integer
865
877
  required: false
878
+ venueId:
879
+ description: venue id of the snapshot index
880
+ type: string
881
+ required: false
866
882
  SnapshotOutputRepresentation:
867
883
  description: Runtime Catalog Snapshot Response
868
884
  type: object
@@ -934,6 +950,29 @@ types:
934
950
  statusCode:
935
951
  description: statusCode
936
952
  type: string
953
+ SnapshotIndexInfoOutputRepresentation:
954
+ description: Output Representation of a snapshot index info.
955
+ type: object
956
+ properties:
957
+ buildType:
958
+ description: Build type of the index (Full or Incremental)
959
+ type: string
960
+ required: false
961
+ id:
962
+ description: id of the index info record
963
+ type: string
964
+ required: false
965
+ isIncrementable:
966
+ description: Indicates if partial build is enabled or disabled
967
+ type: boolean
968
+ required: false
969
+ usageType:
970
+ description: Usage type of the index (Live or Out of use)
971
+ type: string
972
+ required: false
973
+ enum:
974
+ - Live
975
+ - OutOfUse
937
976
  SnapshotIndexLogOutputRepresentation:
938
977
  description: Output Representation of a snapshot index log.
939
978
  type: object