@salesforce/lds-adapters-revenue-usage-detail 1.378.0 → 1.379.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -112,8 +112,8 @@ function createLink(ref) {
112
112
  };
113
113
  }
114
114
 
115
- const VERSION$e = "e0ac6bf27e20d64b8c2926f058c43ea4";
116
- function validate$e(obj, path = 'UsageDetailErrorResponseRepresentation') {
115
+ const VERSION$f = "e0ac6bf27e20d64b8c2926f058c43ea4";
116
+ function validate$f(obj, path = 'UsageDetailErrorResponseRepresentation') {
117
117
  const v_error = (() => {
118
118
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
119
119
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -136,10 +136,10 @@ function validate$e(obj, path = 'UsageDetailErrorResponseRepresentation') {
136
136
  })();
137
137
  return v_error === undefined ? null : v_error;
138
138
  }
139
- const select$i = function UsageDetailErrorResponseRepresentationSelect() {
139
+ const select$j = function UsageDetailErrorResponseRepresentationSelect() {
140
140
  return {
141
141
  kind: 'Fragment',
142
- version: VERSION$e,
142
+ version: VERSION$f,
143
143
  private: [],
144
144
  selections: [
145
145
  {
@@ -157,7 +157,7 @@ const select$i = function UsageDetailErrorResponseRepresentationSelect() {
157
157
  ]
158
158
  };
159
159
  };
160
- function equals$e(existing, incoming) {
160
+ function equals$f(existing, incoming) {
161
161
  const existing_errorCode = existing.errorCode;
162
162
  const incoming_errorCode = incoming.errorCode;
163
163
  if (!(existing_errorCode === incoming_errorCode)) {
@@ -176,8 +176,8 @@ function equals$e(existing, incoming) {
176
176
  return true;
177
177
  }
178
178
 
179
- const VERSION$d = "52841d9c877e06c71e0dcddc6196cee0";
180
- function validate$d(obj, path = 'RateAdjustmentsOutputRepresentation') {
179
+ const VERSION$e = "52841d9c877e06c71e0dcddc6196cee0";
180
+ function validate$e(obj, path = 'RateAdjustmentsOutputRepresentation') {
181
181
  const v_error = (() => {
182
182
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
183
183
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -388,10 +388,10 @@ function validate$d(obj, path = 'RateAdjustmentsOutputRepresentation') {
388
388
  })();
389
389
  return v_error === undefined ? null : v_error;
390
390
  }
391
- const select$h = function RateAdjustmentsOutputRepresentationSelect() {
391
+ const select$i = function RateAdjustmentsOutputRepresentationSelect() {
392
392
  return {
393
393
  kind: 'Fragment',
394
- version: VERSION$d,
394
+ version: VERSION$e,
395
395
  private: [],
396
396
  selections: [
397
397
  {
@@ -434,7 +434,7 @@ const select$h = function RateAdjustmentsOutputRepresentationSelect() {
434
434
  ]
435
435
  };
436
436
  };
437
- function equals$d(existing, incoming) {
437
+ function equals$e(existing, incoming) {
438
438
  const existing_rateAdjustmentId = existing.rateAdjustmentId;
439
439
  const incoming_rateAdjustmentId = incoming.rateAdjustmentId;
440
440
  if (!(existing_rateAdjustmentId === incoming_rateAdjustmentId)) {
@@ -496,8 +496,8 @@ function equals$d(existing, incoming) {
496
496
  return true;
497
497
  }
498
498
 
499
- const VERSION$c = "750a8174fcbd532f0a64116220b53185";
500
- function validate$c(obj, path = 'PolicyDetailOutputRepresentation') {
499
+ const VERSION$d = "750a8174fcbd532f0a64116220b53185";
500
+ function validate$d(obj, path = 'PolicyDetailOutputRepresentation') {
501
501
  const v_error = (() => {
502
502
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
503
503
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -557,10 +557,10 @@ function validate$c(obj, path = 'PolicyDetailOutputRepresentation') {
557
557
  })();
558
558
  return v_error === undefined ? null : v_error;
559
559
  }
560
- const select$g = function PolicyDetailOutputRepresentationSelect() {
560
+ const select$h = function PolicyDetailOutputRepresentationSelect() {
561
561
  return {
562
562
  kind: 'Fragment',
563
- version: VERSION$c,
563
+ version: VERSION$d,
564
564
  private: [],
565
565
  selections: [
566
566
  {
@@ -574,7 +574,7 @@ const select$g = function PolicyDetailOutputRepresentationSelect() {
574
574
  ]
575
575
  };
576
576
  };
577
- function equals$c(existing, incoming) {
577
+ function equals$d(existing, incoming) {
578
578
  const existing_id = existing.id;
579
579
  const incoming_id = incoming.id;
580
580
  if (!(existing_id === incoming_id)) {
@@ -588,8 +588,8 @@ function equals$c(existing, incoming) {
588
588
  return true;
589
589
  }
590
590
 
591
- const VERSION$b = "8d4fc60883c9534fc4637046cb405afe";
592
- function validate$b(obj, path = 'NegotiatedGrantDetailOutputRepresentation') {
591
+ const VERSION$c = "8d4fc60883c9534fc4637046cb405afe";
592
+ function validate$c(obj, path = 'NegotiatedGrantDetailOutputRepresentation') {
593
593
  const v_error = (() => {
594
594
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
595
595
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -704,7 +704,7 @@ function validate$b(obj, path = 'NegotiatedGrantDetailOutputRepresentation') {
704
704
  const path_usageRefreshPolicy = path + '.usageRefreshPolicy';
705
705
  let obj_usageRefreshPolicy_union0 = null;
706
706
  const obj_usageRefreshPolicy_union0_error = (() => {
707
- const referencepath_usageRefreshPolicyValidationError = validate$c(obj_usageRefreshPolicy, path_usageRefreshPolicy);
707
+ const referencepath_usageRefreshPolicyValidationError = validate$d(obj_usageRefreshPolicy, path_usageRefreshPolicy);
708
708
  if (referencepath_usageRefreshPolicyValidationError !== null) {
709
709
  let message = 'Object doesn\'t match PolicyDetailOutputRepresentation (at "' + path_usageRefreshPolicy + '")\n';
710
710
  message += referencepath_usageRefreshPolicyValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -733,7 +733,7 @@ function validate$b(obj, path = 'NegotiatedGrantDetailOutputRepresentation') {
733
733
  const path_usageRolloverPolicy = path + '.usageRolloverPolicy';
734
734
  let obj_usageRolloverPolicy_union0 = null;
735
735
  const obj_usageRolloverPolicy_union0_error = (() => {
736
- const referencepath_usageRolloverPolicyValidationError = validate$c(obj_usageRolloverPolicy, path_usageRolloverPolicy);
736
+ const referencepath_usageRolloverPolicyValidationError = validate$d(obj_usageRolloverPolicy, path_usageRolloverPolicy);
737
737
  if (referencepath_usageRolloverPolicyValidationError !== null) {
738
738
  let message = 'Object doesn\'t match PolicyDetailOutputRepresentation (at "' + path_usageRolloverPolicy + '")\n';
739
739
  message += referencepath_usageRolloverPolicyValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -813,11 +813,11 @@ function validate$b(obj, path = 'NegotiatedGrantDetailOutputRepresentation') {
813
813
  })();
814
814
  return v_error === undefined ? null : v_error;
815
815
  }
816
- const select$f = function NegotiatedGrantDetailOutputRepresentationSelect() {
817
- const { selections: PolicyDetailOutputRepresentation__selections, opaque: PolicyDetailOutputRepresentation__opaque, } = select$g();
816
+ const select$g = function NegotiatedGrantDetailOutputRepresentationSelect() {
817
+ const { selections: PolicyDetailOutputRepresentation__selections, opaque: PolicyDetailOutputRepresentation__opaque, } = select$h();
818
818
  return {
819
819
  kind: 'Fragment',
820
- version: VERSION$b,
820
+ version: VERSION$c,
821
821
  private: [],
822
822
  selections: [
823
823
  {
@@ -860,7 +860,7 @@ const select$f = function NegotiatedGrantDetailOutputRepresentationSelect() {
860
860
  ]
861
861
  };
862
862
  };
863
- function equals$b(existing, incoming) {
863
+ function equals$c(existing, incoming) {
864
864
  const existing_grantType = existing.grantType;
865
865
  const incoming_grantType = incoming.grantType;
866
866
  if (!(existing_grantType === incoming_grantType)) {
@@ -894,7 +894,7 @@ function equals$b(existing, incoming) {
894
894
  if (!(existing_usageRefreshPolicy === incoming_usageRefreshPolicy
895
895
  || (existing_usageRefreshPolicy != null &&
896
896
  incoming_usageRefreshPolicy != null &&
897
- equals$c(existing_usageRefreshPolicy, incoming_usageRefreshPolicy)))) {
897
+ equals$d(existing_usageRefreshPolicy, incoming_usageRefreshPolicy)))) {
898
898
  return false;
899
899
  }
900
900
  const existing_usageRolloverPolicy = existing.usageRolloverPolicy;
@@ -902,7 +902,7 @@ function equals$b(existing, incoming) {
902
902
  if (!(existing_usageRolloverPolicy === incoming_usageRolloverPolicy
903
903
  || (existing_usageRolloverPolicy != null &&
904
904
  incoming_usageRolloverPolicy != null &&
905
- equals$c(existing_usageRolloverPolicy, incoming_usageRolloverPolicy)))) {
905
+ equals$d(existing_usageRolloverPolicy, incoming_usageRolloverPolicy)))) {
906
906
  return false;
907
907
  }
908
908
  const existing_validityPeriodTerm = existing.validityPeriodTerm;
@@ -918,8 +918,8 @@ function equals$b(existing, incoming) {
918
918
  return true;
919
919
  }
920
920
 
921
- const VERSION$a = "acaecc54e4457dd62382644206c35637";
922
- function validate$a(obj, path = 'ResourcePolicyDetailOutputRepresentation') {
921
+ const VERSION$b = "acaecc54e4457dd62382644206c35637";
922
+ function validate$b(obj, path = 'ResourcePolicyDetailOutputRepresentation') {
923
923
  const v_error = (() => {
924
924
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
925
925
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -956,7 +956,7 @@ function validate$a(obj, path = 'ResourcePolicyDetailOutputRepresentation') {
956
956
  const path_ratingFrequencyPolicy = path + '.ratingFrequencyPolicy';
957
957
  let obj_ratingFrequencyPolicy_union0 = null;
958
958
  const obj_ratingFrequencyPolicy_union0_error = (() => {
959
- const referencepath_ratingFrequencyPolicyValidationError = validate$c(obj_ratingFrequencyPolicy, path_ratingFrequencyPolicy);
959
+ const referencepath_ratingFrequencyPolicyValidationError = validate$d(obj_ratingFrequencyPolicy, path_ratingFrequencyPolicy);
960
960
  if (referencepath_ratingFrequencyPolicyValidationError !== null) {
961
961
  let message = 'Object doesn\'t match PolicyDetailOutputRepresentation (at "' + path_ratingFrequencyPolicy + '")\n';
962
962
  message += referencepath_ratingFrequencyPolicyValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -985,7 +985,7 @@ function validate$a(obj, path = 'ResourcePolicyDetailOutputRepresentation') {
985
985
  const path_usageAggregationPolicy = path + '.usageAggregationPolicy';
986
986
  let obj_usageAggregationPolicy_union0 = null;
987
987
  const obj_usageAggregationPolicy_union0_error = (() => {
988
- const referencepath_usageAggregationPolicyValidationError = validate$c(obj_usageAggregationPolicy, path_usageAggregationPolicy);
988
+ const referencepath_usageAggregationPolicyValidationError = validate$d(obj_usageAggregationPolicy, path_usageAggregationPolicy);
989
989
  if (referencepath_usageAggregationPolicyValidationError !== null) {
990
990
  let message = 'Object doesn\'t match PolicyDetailOutputRepresentation (at "' + path_usageAggregationPolicy + '")\n';
991
991
  message += referencepath_usageAggregationPolicyValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1014,7 +1014,7 @@ function validate$a(obj, path = 'ResourcePolicyDetailOutputRepresentation') {
1014
1014
  const path_usageCommitmentPolicy = path + '.usageCommitmentPolicy';
1015
1015
  let obj_usageCommitmentPolicy_union0 = null;
1016
1016
  const obj_usageCommitmentPolicy_union0_error = (() => {
1017
- const referencepath_usageCommitmentPolicyValidationError = validate$c(obj_usageCommitmentPolicy, path_usageCommitmentPolicy);
1017
+ const referencepath_usageCommitmentPolicyValidationError = validate$d(obj_usageCommitmentPolicy, path_usageCommitmentPolicy);
1018
1018
  if (referencepath_usageCommitmentPolicyValidationError !== null) {
1019
1019
  let message = 'Object doesn\'t match PolicyDetailOutputRepresentation (at "' + path_usageCommitmentPolicy + '")\n';
1020
1020
  message += referencepath_usageCommitmentPolicyValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1043,7 +1043,7 @@ function validate$a(obj, path = 'ResourcePolicyDetailOutputRepresentation') {
1043
1043
  const path_usageOveragePolicy = path + '.usageOveragePolicy';
1044
1044
  let obj_usageOveragePolicy_union0 = null;
1045
1045
  const obj_usageOveragePolicy_union0_error = (() => {
1046
- const referencepath_usageOveragePolicyValidationError = validate$c(obj_usageOveragePolicy, path_usageOveragePolicy);
1046
+ const referencepath_usageOveragePolicyValidationError = validate$d(obj_usageOveragePolicy, path_usageOveragePolicy);
1047
1047
  if (referencepath_usageOveragePolicyValidationError !== null) {
1048
1048
  let message = 'Object doesn\'t match PolicyDetailOutputRepresentation (at "' + path_usageOveragePolicy + '")\n';
1049
1049
  message += referencepath_usageOveragePolicyValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1071,11 +1071,11 @@ function validate$a(obj, path = 'ResourcePolicyDetailOutputRepresentation') {
1071
1071
  })();
1072
1072
  return v_error === undefined ? null : v_error;
1073
1073
  }
1074
- const select$e = function ResourcePolicyDetailOutputRepresentationSelect() {
1075
- const { selections: PolicyDetailOutputRepresentation__selections, opaque: PolicyDetailOutputRepresentation__opaque, } = select$g();
1074
+ const select$f = function ResourcePolicyDetailOutputRepresentationSelect() {
1075
+ const { selections: PolicyDetailOutputRepresentation__selections, opaque: PolicyDetailOutputRepresentation__opaque, } = select$h();
1076
1076
  return {
1077
1077
  kind: 'Fragment',
1078
- version: VERSION$a,
1078
+ version: VERSION$b,
1079
1079
  private: [],
1080
1080
  selections: [
1081
1081
  {
@@ -1110,7 +1110,7 @@ const select$e = function ResourcePolicyDetailOutputRepresentationSelect() {
1110
1110
  ]
1111
1111
  };
1112
1112
  };
1113
- function equals$a(existing, incoming) {
1113
+ function equals$b(existing, incoming) {
1114
1114
  const existing_id = existing.id;
1115
1115
  const incoming_id = incoming.id;
1116
1116
  // if at least one of these optionals is defined
@@ -1129,7 +1129,7 @@ function equals$a(existing, incoming) {
1129
1129
  if (!(existing_ratingFrequencyPolicy === incoming_ratingFrequencyPolicy
1130
1130
  || (existing_ratingFrequencyPolicy != null &&
1131
1131
  incoming_ratingFrequencyPolicy != null &&
1132
- equals$c(existing_ratingFrequencyPolicy, incoming_ratingFrequencyPolicy)))) {
1132
+ equals$d(existing_ratingFrequencyPolicy, incoming_ratingFrequencyPolicy)))) {
1133
1133
  return false;
1134
1134
  }
1135
1135
  const existing_usageAggregationPolicy = existing.usageAggregationPolicy;
@@ -1137,7 +1137,7 @@ function equals$a(existing, incoming) {
1137
1137
  if (!(existing_usageAggregationPolicy === incoming_usageAggregationPolicy
1138
1138
  || (existing_usageAggregationPolicy != null &&
1139
1139
  incoming_usageAggregationPolicy != null &&
1140
- equals$c(existing_usageAggregationPolicy, incoming_usageAggregationPolicy)))) {
1140
+ equals$d(existing_usageAggregationPolicy, incoming_usageAggregationPolicy)))) {
1141
1141
  return false;
1142
1142
  }
1143
1143
  const existing_usageCommitmentPolicy = existing.usageCommitmentPolicy;
@@ -1145,7 +1145,7 @@ function equals$a(existing, incoming) {
1145
1145
  if (!(existing_usageCommitmentPolicy === incoming_usageCommitmentPolicy
1146
1146
  || (existing_usageCommitmentPolicy != null &&
1147
1147
  incoming_usageCommitmentPolicy != null &&
1148
- equals$c(existing_usageCommitmentPolicy, incoming_usageCommitmentPolicy)))) {
1148
+ equals$d(existing_usageCommitmentPolicy, incoming_usageCommitmentPolicy)))) {
1149
1149
  return false;
1150
1150
  }
1151
1151
  const existing_usageOveragePolicy = existing.usageOveragePolicy;
@@ -1153,14 +1153,14 @@ function equals$a(existing, incoming) {
1153
1153
  if (!(existing_usageOveragePolicy === incoming_usageOveragePolicy
1154
1154
  || (existing_usageOveragePolicy != null &&
1155
1155
  incoming_usageOveragePolicy != null &&
1156
- equals$c(existing_usageOveragePolicy, incoming_usageOveragePolicy)))) {
1156
+ equals$d(existing_usageOveragePolicy, incoming_usageOveragePolicy)))) {
1157
1157
  return false;
1158
1158
  }
1159
1159
  return true;
1160
1160
  }
1161
1161
 
1162
- const VERSION$9 = "b89882d349b55468ea9c26a4b5cf2ea1";
1163
- function validate$9(obj, path = 'UsageResourceGrantAndPolicyDetailOutputRepresentation') {
1162
+ const VERSION$a = "b89882d349b55468ea9c26a4b5cf2ea1";
1163
+ function validate$a(obj, path = 'UsageResourceGrantAndPolicyDetailOutputRepresentation') {
1164
1164
  const v_error = (() => {
1165
1165
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1166
1166
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1168,7 +1168,7 @@ function validate$9(obj, path = 'UsageResourceGrantAndPolicyDetailOutputRepresen
1168
1168
  if (obj.grantDetail !== undefined) {
1169
1169
  const obj_grantDetail = obj.grantDetail;
1170
1170
  const path_grantDetail = path + '.grantDetail';
1171
- const referencepath_grantDetailValidationError = validate$b(obj_grantDetail, path_grantDetail);
1171
+ const referencepath_grantDetailValidationError = validate$c(obj_grantDetail, path_grantDetail);
1172
1172
  if (referencepath_grantDetailValidationError !== null) {
1173
1173
  let message = 'Object doesn\'t match NegotiatedGrantDetailOutputRepresentation (at "' + path_grantDetail + '")\n';
1174
1174
  message += referencepath_grantDetailValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1178,7 +1178,7 @@ function validate$9(obj, path = 'UsageResourceGrantAndPolicyDetailOutputRepresen
1178
1178
  if (obj.negotiatedGrantDetail !== undefined) {
1179
1179
  const obj_negotiatedGrantDetail = obj.negotiatedGrantDetail;
1180
1180
  const path_negotiatedGrantDetail = path + '.negotiatedGrantDetail';
1181
- const referencepath_negotiatedGrantDetailValidationError = validate$b(obj_negotiatedGrantDetail, path_negotiatedGrantDetail);
1181
+ const referencepath_negotiatedGrantDetailValidationError = validate$c(obj_negotiatedGrantDetail, path_negotiatedGrantDetail);
1182
1182
  if (referencepath_negotiatedGrantDetailValidationError !== null) {
1183
1183
  let message = 'Object doesn\'t match NegotiatedGrantDetailOutputRepresentation (at "' + path_negotiatedGrantDetail + '")\n';
1184
1184
  message += referencepath_negotiatedGrantDetailValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1188,7 +1188,7 @@ function validate$9(obj, path = 'UsageResourceGrantAndPolicyDetailOutputRepresen
1188
1188
  if (obj.negotiatedResourcePolicyDetail !== undefined) {
1189
1189
  const obj_negotiatedResourcePolicyDetail = obj.negotiatedResourcePolicyDetail;
1190
1190
  const path_negotiatedResourcePolicyDetail = path + '.negotiatedResourcePolicyDetail';
1191
- const referencepath_negotiatedResourcePolicyDetailValidationError = validate$a(obj_negotiatedResourcePolicyDetail, path_negotiatedResourcePolicyDetail);
1191
+ const referencepath_negotiatedResourcePolicyDetailValidationError = validate$b(obj_negotiatedResourcePolicyDetail, path_negotiatedResourcePolicyDetail);
1192
1192
  if (referencepath_negotiatedResourcePolicyDetailValidationError !== null) {
1193
1193
  let message = 'Object doesn\'t match ResourcePolicyDetailOutputRepresentation (at "' + path_negotiatedResourcePolicyDetail + '")\n';
1194
1194
  message += referencepath_negotiatedResourcePolicyDetailValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1198,7 +1198,7 @@ function validate$9(obj, path = 'UsageResourceGrantAndPolicyDetailOutputRepresen
1198
1198
  if (obj.resourcePolicyDetail !== undefined) {
1199
1199
  const obj_resourcePolicyDetail = obj.resourcePolicyDetail;
1200
1200
  const path_resourcePolicyDetail = path + '.resourcePolicyDetail';
1201
- const referencepath_resourcePolicyDetailValidationError = validate$a(obj_resourcePolicyDetail, path_resourcePolicyDetail);
1201
+ const referencepath_resourcePolicyDetailValidationError = validate$b(obj_resourcePolicyDetail, path_resourcePolicyDetail);
1202
1202
  if (referencepath_resourcePolicyDetailValidationError !== null) {
1203
1203
  let message = 'Object doesn\'t match ResourcePolicyDetailOutputRepresentation (at "' + path_resourcePolicyDetail + '")\n';
1204
1204
  message += referencepath_resourcePolicyDetailValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1208,12 +1208,12 @@ function validate$9(obj, path = 'UsageResourceGrantAndPolicyDetailOutputRepresen
1208
1208
  })();
1209
1209
  return v_error === undefined ? null : v_error;
1210
1210
  }
1211
- const select$d = function UsageResourceGrantAndPolicyDetailOutputRepresentationSelect() {
1212
- const { selections: NegotiatedGrantDetailOutputRepresentation__selections, opaque: NegotiatedGrantDetailOutputRepresentation__opaque, } = select$f();
1213
- const { selections: ResourcePolicyDetailOutputRepresentation__selections, opaque: ResourcePolicyDetailOutputRepresentation__opaque, } = select$e();
1211
+ const select$e = function UsageResourceGrantAndPolicyDetailOutputRepresentationSelect() {
1212
+ const { selections: NegotiatedGrantDetailOutputRepresentation__selections, opaque: NegotiatedGrantDetailOutputRepresentation__opaque, } = select$g();
1213
+ const { selections: ResourcePolicyDetailOutputRepresentation__selections, opaque: ResourcePolicyDetailOutputRepresentation__opaque, } = select$f();
1214
1214
  return {
1215
1215
  kind: 'Fragment',
1216
- version: VERSION$9,
1216
+ version: VERSION$a,
1217
1217
  private: [],
1218
1218
  selections: [
1219
1219
  {
@@ -1243,7 +1243,7 @@ const select$d = function UsageResourceGrantAndPolicyDetailOutputRepresentationS
1243
1243
  ]
1244
1244
  };
1245
1245
  };
1246
- function equals$9(existing, incoming) {
1246
+ function equals$a(existing, incoming) {
1247
1247
  const existing_grantDetail = existing.grantDetail;
1248
1248
  const incoming_grantDetail = incoming.grantDetail;
1249
1249
  // if at least one of these optionals is defined
@@ -1253,7 +1253,7 @@ function equals$9(existing, incoming) {
1253
1253
  if (existing_grantDetail === undefined || incoming_grantDetail === undefined) {
1254
1254
  return false;
1255
1255
  }
1256
- if (!(equals$b(existing_grantDetail, incoming_grantDetail))) {
1256
+ if (!(equals$c(existing_grantDetail, incoming_grantDetail))) {
1257
1257
  return false;
1258
1258
  }
1259
1259
  }
@@ -1266,7 +1266,7 @@ function equals$9(existing, incoming) {
1266
1266
  if (existing_negotiatedGrantDetail === undefined || incoming_negotiatedGrantDetail === undefined) {
1267
1267
  return false;
1268
1268
  }
1269
- if (!(equals$b(existing_negotiatedGrantDetail, incoming_negotiatedGrantDetail))) {
1269
+ if (!(equals$c(existing_negotiatedGrantDetail, incoming_negotiatedGrantDetail))) {
1270
1270
  return false;
1271
1271
  }
1272
1272
  }
@@ -1279,7 +1279,7 @@ function equals$9(existing, incoming) {
1279
1279
  if (existing_negotiatedResourcePolicyDetail === undefined || incoming_negotiatedResourcePolicyDetail === undefined) {
1280
1280
  return false;
1281
1281
  }
1282
- if (!(equals$a(existing_negotiatedResourcePolicyDetail, incoming_negotiatedResourcePolicyDetail))) {
1282
+ if (!(equals$b(existing_negotiatedResourcePolicyDetail, incoming_negotiatedResourcePolicyDetail))) {
1283
1283
  return false;
1284
1284
  }
1285
1285
  }
@@ -1292,15 +1292,15 @@ function equals$9(existing, incoming) {
1292
1292
  if (existing_resourcePolicyDetail === undefined || incoming_resourcePolicyDetail === undefined) {
1293
1293
  return false;
1294
1294
  }
1295
- if (!(equals$a(existing_resourcePolicyDetail, incoming_resourcePolicyDetail))) {
1295
+ if (!(equals$b(existing_resourcePolicyDetail, incoming_resourcePolicyDetail))) {
1296
1296
  return false;
1297
1297
  }
1298
1298
  }
1299
1299
  return true;
1300
1300
  }
1301
1301
 
1302
- const VERSION$8 = "a399d4f31b7dcae001794cce64c40be8";
1303
- function validate$8(obj, path = 'RateCardEntryOutputRepresentation') {
1302
+ const VERSION$9 = "a399d4f31b7dcae001794cce64c40be8";
1303
+ function validate$9(obj, path = 'RateCardEntryOutputRepresentation') {
1304
1304
  const v_error = (() => {
1305
1305
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1306
1306
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1597,7 +1597,7 @@ function validate$8(obj, path = 'RateCardEntryOutputRepresentation') {
1597
1597
  const path_rateAdjustments_item = path_rateAdjustments + '[' + i + ']';
1598
1598
  let obj_rateAdjustments_item_union0 = null;
1599
1599
  const obj_rateAdjustments_item_union0_error = (() => {
1600
- const referencepath_rateAdjustments_itemValidationError = validate$d(obj_rateAdjustments_item, path_rateAdjustments_item);
1600
+ const referencepath_rateAdjustments_itemValidationError = validate$e(obj_rateAdjustments_item, path_rateAdjustments_item);
1601
1601
  if (referencepath_rateAdjustments_itemValidationError !== null) {
1602
1602
  let message = 'Object doesn\'t match RateAdjustmentsOutputRepresentation (at "' + path_rateAdjustments_item + '")\n';
1603
1603
  message += referencepath_rateAdjustments_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1709,7 +1709,7 @@ function validate$8(obj, path = 'RateCardEntryOutputRepresentation') {
1709
1709
  if (obj.usageResourceGrantAndPolicyDetail !== undefined) {
1710
1710
  const obj_usageResourceGrantAndPolicyDetail = obj.usageResourceGrantAndPolicyDetail;
1711
1711
  const path_usageResourceGrantAndPolicyDetail = path + '.usageResourceGrantAndPolicyDetail';
1712
- const referencepath_usageResourceGrantAndPolicyDetailValidationError = validate$9(obj_usageResourceGrantAndPolicyDetail, path_usageResourceGrantAndPolicyDetail);
1712
+ const referencepath_usageResourceGrantAndPolicyDetailValidationError = validate$a(obj_usageResourceGrantAndPolicyDetail, path_usageResourceGrantAndPolicyDetail);
1713
1713
  if (referencepath_usageResourceGrantAndPolicyDetailValidationError !== null) {
1714
1714
  let message = 'Object doesn\'t match UsageResourceGrantAndPolicyDetailOutputRepresentation (at "' + path_usageResourceGrantAndPolicyDetail + '")\n';
1715
1715
  message += referencepath_usageResourceGrantAndPolicyDetailValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1747,12 +1747,12 @@ function validate$8(obj, path = 'RateCardEntryOutputRepresentation') {
1747
1747
  })();
1748
1748
  return v_error === undefined ? null : v_error;
1749
1749
  }
1750
- const select$c = function RateCardEntryOutputRepresentationSelect() {
1751
- const { selections: RateAdjustmentsOutputRepresentation__selections, opaque: RateAdjustmentsOutputRepresentation__opaque, } = select$h();
1752
- const { selections: UsageResourceGrantAndPolicyDetailOutputRepresentation__selections, opaque: UsageResourceGrantAndPolicyDetailOutputRepresentation__opaque, } = select$d();
1750
+ const select$d = function RateCardEntryOutputRepresentationSelect() {
1751
+ const { selections: RateAdjustmentsOutputRepresentation__selections, opaque: RateAdjustmentsOutputRepresentation__opaque, } = select$i();
1752
+ const { selections: UsageResourceGrantAndPolicyDetailOutputRepresentation__selections, opaque: UsageResourceGrantAndPolicyDetailOutputRepresentation__opaque, } = select$e();
1753
1753
  return {
1754
1754
  kind: 'Fragment',
1755
- version: VERSION$8,
1755
+ version: VERSION$9,
1756
1756
  private: [],
1757
1757
  selections: [
1758
1758
  {
@@ -1840,7 +1840,7 @@ const select$c = function RateCardEntryOutputRepresentationSelect() {
1840
1840
  ]
1841
1841
  };
1842
1842
  };
1843
- function equals$8(existing, incoming) {
1843
+ function equals$9(existing, incoming) {
1844
1844
  const existing_rateCardEntryId = existing.rateCardEntryId;
1845
1845
  const incoming_rateCardEntryId = incoming.rateCardEntryId;
1846
1846
  if (!(existing_rateCardEntryId === incoming_rateCardEntryId)) {
@@ -1944,7 +1944,7 @@ function equals$8(existing, incoming) {
1944
1944
  if (!(existing_rateAdjustments_item === incoming_rateAdjustments_item
1945
1945
  || (existing_rateAdjustments_item != null &&
1946
1946
  incoming_rateAdjustments_item != null &&
1947
- equals$d(existing_rateAdjustments_item, incoming_rateAdjustments_item)))) {
1947
+ equals$e(existing_rateAdjustments_item, incoming_rateAdjustments_item)))) {
1948
1948
  return false;
1949
1949
  }
1950
1950
  });
@@ -1975,7 +1975,7 @@ function equals$8(existing, incoming) {
1975
1975
  if (existing_usageResourceGrantAndPolicyDetail === undefined || incoming_usageResourceGrantAndPolicyDetail === undefined) {
1976
1976
  return false;
1977
1977
  }
1978
- if (!(equals$9(existing_usageResourceGrantAndPolicyDetail, incoming_usageResourceGrantAndPolicyDetail))) {
1978
+ if (!(equals$a(existing_usageResourceGrantAndPolicyDetail, incoming_usageResourceGrantAndPolicyDetail))) {
1979
1979
  return false;
1980
1980
  }
1981
1981
  }
@@ -1996,8 +1996,8 @@ function equals$8(existing, incoming) {
1996
1996
  }
1997
1997
 
1998
1998
  const TTL$1 = 1000;
1999
- const VERSION$7 = "338996bd44a293867ffaab2724d4c41f";
2000
- function validate$7(obj, path = 'UsageDetailOutputRepresentation') {
1999
+ const VERSION$8 = "338996bd44a293867ffaab2724d4c41f";
2000
+ function validate$8(obj, path = 'UsageDetailOutputRepresentation') {
2001
2001
  const v_error = (() => {
2002
2002
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2003
2003
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2011,7 +2011,7 @@ function validate$7(obj, path = 'UsageDetailOutputRepresentation') {
2011
2011
  for (let i = 0; i < obj_errors.length; i++) {
2012
2012
  const obj_errors_item = obj_errors[i];
2013
2013
  const path_errors_item = path_errors + '[' + i + ']';
2014
- const referencepath_errors_itemValidationError = validate$e(obj_errors_item, path_errors_item);
2014
+ const referencepath_errors_itemValidationError = validate$f(obj_errors_item, path_errors_item);
2015
2015
  if (referencepath_errors_itemValidationError !== null) {
2016
2016
  let message = 'Object doesn\'t match UsageDetailErrorResponseRepresentation (at "' + path_errors_item + '")\n';
2017
2017
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2028,7 +2028,7 @@ function validate$7(obj, path = 'UsageDetailOutputRepresentation') {
2028
2028
  for (let i = 0; i < obj_records.length; i++) {
2029
2029
  const obj_records_item = obj_records[i];
2030
2030
  const path_records_item = path_records + '[' + i + ']';
2031
- const referencepath_records_itemValidationError = validate$8(obj_records_item, path_records_item);
2031
+ const referencepath_records_itemValidationError = validate$9(obj_records_item, path_records_item);
2032
2032
  if (referencepath_records_itemValidationError !== null) {
2033
2033
  let message = 'Object doesn\'t match RateCardEntryOutputRepresentation (at "' + path_records_item + '")\n';
2034
2034
  message += referencepath_records_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2043,12 +2043,12 @@ const RepresentationType$1 = 'UsageDetailOutputRepresentation';
2043
2043
  function normalize$1(input, existing, path, luvio, store, timestamp) {
2044
2044
  return input;
2045
2045
  }
2046
- const select$b = function UsageDetailOutputRepresentationSelect() {
2047
- const { selections: UsageDetailErrorResponseRepresentation__selections, opaque: UsageDetailErrorResponseRepresentation__opaque, } = select$i();
2048
- const { selections: RateCardEntryOutputRepresentation__selections, opaque: RateCardEntryOutputRepresentation__opaque, } = select$c();
2046
+ const select$c = function UsageDetailOutputRepresentationSelect() {
2047
+ const { selections: UsageDetailErrorResponseRepresentation__selections, opaque: UsageDetailErrorResponseRepresentation__opaque, } = select$j();
2048
+ const { selections: RateCardEntryOutputRepresentation__selections, opaque: RateCardEntryOutputRepresentation__opaque, } = select$d();
2049
2049
  return {
2050
2050
  kind: 'Fragment',
2051
- version: VERSION$7,
2051
+ version: VERSION$8,
2052
2052
  private: [],
2053
2053
  selections: [
2054
2054
  {
@@ -2068,7 +2068,7 @@ const select$b = function UsageDetailOutputRepresentationSelect() {
2068
2068
  ]
2069
2069
  };
2070
2070
  };
2071
- function equals$7(existing, incoming) {
2071
+ function equals$8(existing, incoming) {
2072
2072
  const existing_errors = existing.errors;
2073
2073
  const incoming_errors = incoming.errors;
2074
2074
  // if at least one of these optionals is defined
@@ -2079,7 +2079,7 @@ function equals$7(existing, incoming) {
2079
2079
  return false;
2080
2080
  }
2081
2081
  const equals_errors_items = equalsArray(existing_errors, incoming_errors, (existing_errors_item, incoming_errors_item) => {
2082
- if (!(equals$e(existing_errors_item, incoming_errors_item))) {
2082
+ if (!(equals$f(existing_errors_item, incoming_errors_item))) {
2083
2083
  return false;
2084
2084
  }
2085
2085
  });
@@ -2097,7 +2097,7 @@ function equals$7(existing, incoming) {
2097
2097
  return false;
2098
2098
  }
2099
2099
  const equals_records_items = equalsArray(existing_records, incoming_records, (existing_records_item, incoming_records_item) => {
2100
- if (!(equals$8(existing_records_item, incoming_records_item))) {
2100
+ if (!(equals$9(existing_records_item, incoming_records_item))) {
2101
2101
  return false;
2102
2102
  }
2103
2103
  });
@@ -2109,14 +2109,14 @@ function equals$7(existing, incoming) {
2109
2109
  }
2110
2110
  const ingest$1 = function UsageDetailOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2111
2111
  if (process.env.NODE_ENV !== 'production') {
2112
- const validateError = validate$7(input);
2112
+ const validateError = validate$8(input);
2113
2113
  if (validateError !== null) {
2114
2114
  throw validateError;
2115
2115
  }
2116
2116
  }
2117
2117
  const key = path.fullPath;
2118
2118
  const ttlToUse = TTL$1;
2119
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "usage-detail", VERSION$7, RepresentationType$1, equals$7);
2119
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "usage-detail", VERSION$8, RepresentationType$1, equals$8);
2120
2120
  return createLink(key);
2121
2121
  };
2122
2122
  function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
@@ -2129,8 +2129,8 @@ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
2129
2129
  });
2130
2130
  }
2131
2131
 
2132
- function select$a(luvio, params) {
2133
- return select$b();
2132
+ function select$b(luvio, params) {
2133
+ return select$c();
2134
2134
  }
2135
2135
  function keyBuilder$7(luvio, params) {
2136
2136
  return keyPrefix + '::UsageDetailOutputRepresentation:(' + 'effectiveDate:' + params.queryParams.effectiveDate + ',' + 'optionalFields:' + params.queryParams.optionalFields + ',' + 'assetId:' + params.urlParams.assetId + ')';
@@ -2144,7 +2144,7 @@ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
2144
2144
  luvio.storeIngest(key, ingest$1, body);
2145
2145
  const snapshot = luvio.storeLookup({
2146
2146
  recordId: key,
2147
- node: select$a(),
2147
+ node: select$b(),
2148
2148
  variables: {},
2149
2149
  }, snapshotRefresh);
2150
2150
  if (process.env.NODE_ENV !== 'production') {
@@ -2161,7 +2161,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
2161
2161
  const storeMetadataParams = {
2162
2162
  ttl: TTL$1,
2163
2163
  namespace: keyPrefix,
2164
- version: VERSION$7,
2164
+ version: VERSION$8,
2165
2165
  representationName: RepresentationType$1
2166
2166
  };
2167
2167
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
@@ -2213,7 +2213,7 @@ function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
2213
2213
  }
2214
2214
  function adapterFragment$3(luvio, config) {
2215
2215
  createResourceParams$3(config);
2216
- return select$a();
2216
+ return select$b();
2217
2217
  }
2218
2218
  function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
2219
2219
  const snapshot = ingestSuccess$3(luvio, resourceParams, response, {
@@ -2269,8 +2269,8 @@ const getAssetUsageDetailsAdapterFactory = (luvio) => function usageDetail__getA
2269
2269
  buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
2270
2270
  };
2271
2271
 
2272
- function select$9(luvio, params) {
2273
- return select$b();
2272
+ function select$a(luvio, params) {
2273
+ return select$c();
2274
2274
  }
2275
2275
  function keyBuilder$5(luvio, params) {
2276
2276
  return keyPrefix + '::UsageDetailOutputRepresentation:(' + 'effectiveDate:' + params.queryParams.effectiveDate + ',' + 'optionalFields:' + params.queryParams.optionalFields + ',' + 'quoteLineItemId:' + params.urlParams.quoteLineItemId + ')';
@@ -2284,7 +2284,7 @@ function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
2284
2284
  luvio.storeIngest(key, ingest$1, body);
2285
2285
  const snapshot = luvio.storeLookup({
2286
2286
  recordId: key,
2287
- node: select$9(),
2287
+ node: select$a(),
2288
2288
  variables: {},
2289
2289
  }, snapshotRefresh);
2290
2290
  if (process.env.NODE_ENV !== 'production') {
@@ -2301,7 +2301,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
2301
2301
  const storeMetadataParams = {
2302
2302
  ttl: TTL$1,
2303
2303
  namespace: keyPrefix,
2304
- version: VERSION$7,
2304
+ version: VERSION$8,
2305
2305
  representationName: RepresentationType$1
2306
2306
  };
2307
2307
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
@@ -2353,7 +2353,7 @@ function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
2353
2353
  }
2354
2354
  function adapterFragment$2(luvio, config) {
2355
2355
  createResourceParams$2(config);
2356
- return select$9();
2356
+ return select$a();
2357
2357
  }
2358
2358
  function onFetchResponseSuccess$2(luvio, config, resourceParams, response) {
2359
2359
  const snapshot = ingestSuccess$2(luvio, resourceParams, response, {
@@ -2409,8 +2409,8 @@ const getQuoteUsageDetailsAdapterFactory = (luvio) => function usageDetail__getQ
2409
2409
  buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
2410
2410
  };
2411
2411
 
2412
- function select$8(luvio, params) {
2413
- return select$b();
2412
+ function select$9(luvio, params) {
2413
+ return select$c();
2414
2414
  }
2415
2415
  function keyBuilder$3(luvio, params) {
2416
2416
  return keyPrefix + '::UsageDetailOutputRepresentation:(' + 'effectiveDate:' + params.queryParams.effectiveDate + ',' + 'optionalFields:' + params.queryParams.optionalFields + ',' + 'orderItemId:' + params.urlParams.orderItemId + ')';
@@ -2424,7 +2424,7 @@ function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
2424
2424
  luvio.storeIngest(key, ingest$1, body);
2425
2425
  const snapshot = luvio.storeLookup({
2426
2426
  recordId: key,
2427
- node: select$8(),
2427
+ node: select$9(),
2428
2428
  variables: {},
2429
2429
  }, snapshotRefresh);
2430
2430
  if (process.env.NODE_ENV !== 'production') {
@@ -2441,7 +2441,7 @@ function ingestError$1(luvio, params, error, snapshotRefresh) {
2441
2441
  const storeMetadataParams = {
2442
2442
  ttl: TTL$1,
2443
2443
  namespace: keyPrefix,
2444
- version: VERSION$7,
2444
+ version: VERSION$8,
2445
2445
  representationName: RepresentationType$1
2446
2446
  };
2447
2447
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
@@ -2493,7 +2493,7 @@ function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
2493
2493
  }
2494
2494
  function adapterFragment$1(luvio, config) {
2495
2495
  createResourceParams$1(config);
2496
- return select$8();
2496
+ return select$9();
2497
2497
  }
2498
2498
  function onFetchResponseSuccess$1(luvio, config, resourceParams, response) {
2499
2499
  const snapshot = ingestSuccess$1(luvio, resourceParams, response, {
@@ -2549,8 +2549,8 @@ const getOrderUsageDetailsAdapterFactory = (luvio) => function usageDetail__getO
2549
2549
  buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
2550
2550
  };
2551
2551
 
2552
- const VERSION$6 = "9071132028d85d83aeb0f3722cfb88cf";
2553
- function validate$6(obj, path = 'BindingObjectRateAdjustmentsOutputRepresentation') {
2552
+ const VERSION$7 = "9071132028d85d83aeb0f3722cfb88cf";
2553
+ function validate$7(obj, path = 'BindingObjectRateAdjustmentsOutputRepresentation') {
2554
2554
  const v_error = (() => {
2555
2555
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2556
2556
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2740,10 +2740,10 @@ function validate$6(obj, path = 'BindingObjectRateAdjustmentsOutputRepresentatio
2740
2740
  })();
2741
2741
  return v_error === undefined ? null : v_error;
2742
2742
  }
2743
- const select$7 = function BindingObjectRateAdjustmentsOutputRepresentationSelect() {
2743
+ const select$8 = function BindingObjectRateAdjustmentsOutputRepresentationSelect() {
2744
2744
  return {
2745
2745
  kind: 'Fragment',
2746
- version: VERSION$6,
2746
+ version: VERSION$7,
2747
2747
  private: [],
2748
2748
  selections: [
2749
2749
  {
@@ -2777,7 +2777,7 @@ const select$7 = function BindingObjectRateAdjustmentsOutputRepresentationSelect
2777
2777
  ]
2778
2778
  };
2779
2779
  };
2780
- function equals$6(existing, incoming) {
2780
+ function equals$7(existing, incoming) {
2781
2781
  const existing_lowerBound = existing.lowerBound;
2782
2782
  const incoming_lowerBound = incoming.lowerBound;
2783
2783
  if (!(existing_lowerBound === incoming_lowerBound)) {
@@ -2816,8 +2816,8 @@ function equals$6(existing, incoming) {
2816
2816
  return true;
2817
2817
  }
2818
2818
 
2819
- const VERSION$5 = "c712ee5181793d7a6f21ef43f715b2b3";
2820
- function validate$5(obj, path = 'BindingObjectRateOutputRepresentation') {
2819
+ const VERSION$6 = "c712ee5181793d7a6f21ef43f715b2b3";
2820
+ function validate$6(obj, path = 'BindingObjectRateOutputRepresentation') {
2821
2821
  const v_error = (() => {
2822
2822
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2823
2823
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2884,7 +2884,7 @@ function validate$5(obj, path = 'BindingObjectRateOutputRepresentation') {
2884
2884
  const path_negotiatedRateAdjustments_item = path_negotiatedRateAdjustments + '[' + i + ']';
2885
2885
  let obj_negotiatedRateAdjustments_item_union0 = null;
2886
2886
  const obj_negotiatedRateAdjustments_item_union0_error = (() => {
2887
- const referencepath_negotiatedRateAdjustments_itemValidationError = validate$6(obj_negotiatedRateAdjustments_item, path_negotiatedRateAdjustments_item);
2887
+ const referencepath_negotiatedRateAdjustments_itemValidationError = validate$7(obj_negotiatedRateAdjustments_item, path_negotiatedRateAdjustments_item);
2888
2888
  if (referencepath_negotiatedRateAdjustments_itemValidationError !== null) {
2889
2889
  let message = 'Object doesn\'t match BindingObjectRateAdjustmentsOutputRepresentation (at "' + path_negotiatedRateAdjustments_item + '")\n';
2890
2890
  message += referencepath_negotiatedRateAdjustments_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2991,11 +2991,11 @@ function validate$5(obj, path = 'BindingObjectRateOutputRepresentation') {
2991
2991
  })();
2992
2992
  return v_error === undefined ? null : v_error;
2993
2993
  }
2994
- const select$6 = function BindingObjectRateOutputRepresentationSelect() {
2995
- const { selections: BindingObjectRateAdjustmentsOutputRepresentation__selections, opaque: BindingObjectRateAdjustmentsOutputRepresentation__opaque, } = select$7();
2994
+ const select$7 = function BindingObjectRateOutputRepresentationSelect() {
2995
+ const { selections: BindingObjectRateAdjustmentsOutputRepresentation__selections, opaque: BindingObjectRateAdjustmentsOutputRepresentation__opaque, } = select$8();
2996
2996
  return {
2997
2997
  kind: 'Fragment',
2998
- version: VERSION$5,
2998
+ version: VERSION$6,
2999
2999
  private: [],
3000
3000
  selections: [
3001
3001
  {
@@ -3028,7 +3028,7 @@ const select$6 = function BindingObjectRateOutputRepresentationSelect() {
3028
3028
  ]
3029
3029
  };
3030
3030
  };
3031
- function equals$5(existing, incoming) {
3031
+ function equals$6(existing, incoming) {
3032
3032
  const existing_id = existing.id;
3033
3033
  const incoming_id = incoming.id;
3034
3034
  if (!(existing_id === incoming_id)) {
@@ -3045,7 +3045,7 @@ function equals$5(existing, incoming) {
3045
3045
  if (!(existing_negotiatedRateAdjustments_item === incoming_negotiatedRateAdjustments_item
3046
3046
  || (existing_negotiatedRateAdjustments_item != null &&
3047
3047
  incoming_negotiatedRateAdjustments_item != null &&
3048
- equals$6(existing_negotiatedRateAdjustments_item, incoming_negotiatedRateAdjustments_item)))) {
3048
+ equals$7(existing_negotiatedRateAdjustments_item, incoming_negotiatedRateAdjustments_item)))) {
3049
3049
  return false;
3050
3050
  }
3051
3051
  });
@@ -3070,36 +3070,145 @@ function equals$5(existing, incoming) {
3070
3070
  return true;
3071
3071
  }
3072
3072
 
3073
- const VERSION$4 = "4ac471e759f07d5b598ca0dec1fedd12";
3074
- function validate$4(obj, path = 'BindingObjectResourcePolicyDetailOutputRepresentation') {
3073
+ const VERSION$5 = "33e33f0cd2919c7a3113b7c4b63348fb";
3074
+ function validate$5(obj, path = 'LookupDetailOutputRepresentation') {
3075
3075
  const v_error = (() => {
3076
3076
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3077
3077
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3078
3078
  }
3079
- const obj_drawdownOrder = obj.drawdownOrder;
3080
- const path_drawdownOrder = path + '.drawdownOrder';
3081
- let obj_drawdownOrder_union0 = null;
3082
- const obj_drawdownOrder_union0_error = (() => {
3083
- if (typeof obj_drawdownOrder !== 'string') {
3084
- return new TypeError('Expected "string" but received "' + typeof obj_drawdownOrder + '" (at "' + path_drawdownOrder + '")');
3079
+ const obj_id = obj.id;
3080
+ const path_id = path + '.id';
3081
+ let obj_id_union0 = null;
3082
+ const obj_id_union0_error = (() => {
3083
+ if (typeof obj_id !== 'string') {
3084
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
3085
3085
  }
3086
3086
  })();
3087
- if (obj_drawdownOrder_union0_error != null) {
3088
- obj_drawdownOrder_union0 = obj_drawdownOrder_union0_error.message;
3087
+ if (obj_id_union0_error != null) {
3088
+ obj_id_union0 = obj_id_union0_error.message;
3089
3089
  }
3090
- let obj_drawdownOrder_union1 = null;
3091
- const obj_drawdownOrder_union1_error = (() => {
3092
- if (obj_drawdownOrder !== null) {
3093
- return new TypeError('Expected "null" but received "' + typeof obj_drawdownOrder + '" (at "' + path_drawdownOrder + '")');
3090
+ let obj_id_union1 = null;
3091
+ const obj_id_union1_error = (() => {
3092
+ if (obj_id !== null) {
3093
+ return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
3094
3094
  }
3095
3095
  })();
3096
- if (obj_drawdownOrder_union1_error != null) {
3097
- obj_drawdownOrder_union1 = obj_drawdownOrder_union1_error.message;
3096
+ if (obj_id_union1_error != null) {
3097
+ obj_id_union1 = obj_id_union1_error.message;
3098
3098
  }
3099
- if (obj_drawdownOrder_union0 && obj_drawdownOrder_union1) {
3100
- let message = 'Object doesn\'t match union (at "' + path_drawdownOrder + '")';
3101
- message += '\n' + obj_drawdownOrder_union0.split('\n').map((line) => '\t' + line).join('\n');
3102
- message += '\n' + obj_drawdownOrder_union1.split('\n').map((line) => '\t' + line).join('\n');
3099
+ if (obj_id_union0 && obj_id_union1) {
3100
+ let message = 'Object doesn\'t match union (at "' + path_id + '")';
3101
+ message += '\n' + obj_id_union0.split('\n').map((line) => '\t' + line).join('\n');
3102
+ message += '\n' + obj_id_union1.split('\n').map((line) => '\t' + line).join('\n');
3103
+ return new TypeError(message);
3104
+ }
3105
+ })();
3106
+ return v_error === undefined ? null : v_error;
3107
+ }
3108
+ const select$6 = function LookupDetailOutputRepresentationSelect() {
3109
+ return {
3110
+ kind: 'Fragment',
3111
+ version: VERSION$5,
3112
+ private: [],
3113
+ selections: [
3114
+ {
3115
+ name: 'id',
3116
+ kind: 'Scalar'
3117
+ }
3118
+ ]
3119
+ };
3120
+ };
3121
+ function equals$5(existing, incoming) {
3122
+ const existing_id = existing.id;
3123
+ const incoming_id = incoming.id;
3124
+ if (!(existing_id === incoming_id)) {
3125
+ return false;
3126
+ }
3127
+ return true;
3128
+ }
3129
+
3130
+ const VERSION$4 = "22170829b3cf236b15897c1874cea75d";
3131
+ function validate$4(obj, path = 'BindingObjectGrantDetailOutputRepresentation') {
3132
+ const v_error = (() => {
3133
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3134
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3135
+ }
3136
+ const obj_effectiveEndDate = obj.effectiveEndDate;
3137
+ const path_effectiveEndDate = path + '.effectiveEndDate';
3138
+ let obj_effectiveEndDate_union0 = null;
3139
+ const obj_effectiveEndDate_union0_error = (() => {
3140
+ if (typeof obj_effectiveEndDate !== 'string') {
3141
+ return new TypeError('Expected "string" but received "' + typeof obj_effectiveEndDate + '" (at "' + path_effectiveEndDate + '")');
3142
+ }
3143
+ })();
3144
+ if (obj_effectiveEndDate_union0_error != null) {
3145
+ obj_effectiveEndDate_union0 = obj_effectiveEndDate_union0_error.message;
3146
+ }
3147
+ let obj_effectiveEndDate_union1 = null;
3148
+ const obj_effectiveEndDate_union1_error = (() => {
3149
+ if (obj_effectiveEndDate !== null) {
3150
+ return new TypeError('Expected "null" but received "' + typeof obj_effectiveEndDate + '" (at "' + path_effectiveEndDate + '")');
3151
+ }
3152
+ })();
3153
+ if (obj_effectiveEndDate_union1_error != null) {
3154
+ obj_effectiveEndDate_union1 = obj_effectiveEndDate_union1_error.message;
3155
+ }
3156
+ if (obj_effectiveEndDate_union0 && obj_effectiveEndDate_union1) {
3157
+ let message = 'Object doesn\'t match union (at "' + path_effectiveEndDate + '")';
3158
+ message += '\n' + obj_effectiveEndDate_union0.split('\n').map((line) => '\t' + line).join('\n');
3159
+ message += '\n' + obj_effectiveEndDate_union1.split('\n').map((line) => '\t' + line).join('\n');
3160
+ return new TypeError(message);
3161
+ }
3162
+ const obj_effectiveStartDate = obj.effectiveStartDate;
3163
+ const path_effectiveStartDate = path + '.effectiveStartDate';
3164
+ let obj_effectiveStartDate_union0 = null;
3165
+ const obj_effectiveStartDate_union0_error = (() => {
3166
+ if (typeof obj_effectiveStartDate !== 'string') {
3167
+ return new TypeError('Expected "string" but received "' + typeof obj_effectiveStartDate + '" (at "' + path_effectiveStartDate + '")');
3168
+ }
3169
+ })();
3170
+ if (obj_effectiveStartDate_union0_error != null) {
3171
+ obj_effectiveStartDate_union0 = obj_effectiveStartDate_union0_error.message;
3172
+ }
3173
+ let obj_effectiveStartDate_union1 = null;
3174
+ const obj_effectiveStartDate_union1_error = (() => {
3175
+ if (obj_effectiveStartDate !== null) {
3176
+ return new TypeError('Expected "null" but received "' + typeof obj_effectiveStartDate + '" (at "' + path_effectiveStartDate + '")');
3177
+ }
3178
+ })();
3179
+ if (obj_effectiveStartDate_union1_error != null) {
3180
+ obj_effectiveStartDate_union1 = obj_effectiveStartDate_union1_error.message;
3181
+ }
3182
+ if (obj_effectiveStartDate_union0 && obj_effectiveStartDate_union1) {
3183
+ let message = 'Object doesn\'t match union (at "' + path_effectiveStartDate + '")';
3184
+ message += '\n' + obj_effectiveStartDate_union0.split('\n').map((line) => '\t' + line).join('\n');
3185
+ message += '\n' + obj_effectiveStartDate_union1.split('\n').map((line) => '\t' + line).join('\n');
3186
+ return new TypeError(message);
3187
+ }
3188
+ const obj_grantType = obj.grantType;
3189
+ const path_grantType = path + '.grantType';
3190
+ let obj_grantType_union0 = null;
3191
+ const obj_grantType_union0_error = (() => {
3192
+ if (typeof obj_grantType !== 'string') {
3193
+ return new TypeError('Expected "string" but received "' + typeof obj_grantType + '" (at "' + path_grantType + '")');
3194
+ }
3195
+ })();
3196
+ if (obj_grantType_union0_error != null) {
3197
+ obj_grantType_union0 = obj_grantType_union0_error.message;
3198
+ }
3199
+ let obj_grantType_union1 = null;
3200
+ const obj_grantType_union1_error = (() => {
3201
+ if (obj_grantType !== null) {
3202
+ return new TypeError('Expected "null" but received "' + typeof obj_grantType + '" (at "' + path_grantType + '")');
3203
+ }
3204
+ })();
3205
+ if (obj_grantType_union1_error != null) {
3206
+ obj_grantType_union1 = obj_grantType_union1_error.message;
3207
+ }
3208
+ if (obj_grantType_union0 && obj_grantType_union1) {
3209
+ let message = 'Object doesn\'t match union (at "' + path_grantType + '")';
3210
+ message += '\n' + obj_grantType_union0.split('\n').map((line) => '\t' + line).join('\n');
3211
+ message += '\n' + obj_grantType_union1.split('\n').map((line) => '\t' + line).join('\n');
3103
3212
  return new TypeError(message);
3104
3213
  }
3105
3214
  const obj_id = obj.id;
@@ -3128,107 +3237,539 @@ function validate$4(obj, path = 'BindingObjectResourcePolicyDetailOutputRepresen
3128
3237
  message += '\n' + obj_id_union1.split('\n').map((line) => '\t' + line).join('\n');
3129
3238
  return new TypeError(message);
3130
3239
  }
3131
- const obj_ratingFrequencyPolicy = obj.ratingFrequencyPolicy;
3132
- const path_ratingFrequencyPolicy = path + '.ratingFrequencyPolicy';
3133
- let obj_ratingFrequencyPolicy_union0 = null;
3134
- const obj_ratingFrequencyPolicy_union0_error = (() => {
3135
- const referencepath_ratingFrequencyPolicyValidationError = validate$c(obj_ratingFrequencyPolicy, path_ratingFrequencyPolicy);
3136
- if (referencepath_ratingFrequencyPolicyValidationError !== null) {
3137
- let message = 'Object doesn\'t match PolicyDetailOutputRepresentation (at "' + path_ratingFrequencyPolicy + '")\n';
3138
- message += referencepath_ratingFrequencyPolicyValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3240
+ const obj_product = obj.product;
3241
+ const path_product = path + '.product';
3242
+ let obj_product_union0 = null;
3243
+ const obj_product_union0_error = (() => {
3244
+ const referencepath_productValidationError = validate$5(obj_product, path_product);
3245
+ if (referencepath_productValidationError !== null) {
3246
+ let message = 'Object doesn\'t match LookupDetailOutputRepresentation (at "' + path_product + '")\n';
3247
+ message += referencepath_productValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3139
3248
  return new TypeError(message);
3140
3249
  }
3141
3250
  })();
3142
- if (obj_ratingFrequencyPolicy_union0_error != null) {
3143
- obj_ratingFrequencyPolicy_union0 = obj_ratingFrequencyPolicy_union0_error.message;
3251
+ if (obj_product_union0_error != null) {
3252
+ obj_product_union0 = obj_product_union0_error.message;
3144
3253
  }
3145
- let obj_ratingFrequencyPolicy_union1 = null;
3146
- const obj_ratingFrequencyPolicy_union1_error = (() => {
3147
- if (obj_ratingFrequencyPolicy !== null) {
3148
- return new TypeError('Expected "null" but received "' + typeof obj_ratingFrequencyPolicy + '" (at "' + path_ratingFrequencyPolicy + '")');
3254
+ let obj_product_union1 = null;
3255
+ const obj_product_union1_error = (() => {
3256
+ if (obj_product !== null) {
3257
+ return new TypeError('Expected "null" but received "' + typeof obj_product + '" (at "' + path_product + '")');
3149
3258
  }
3150
3259
  })();
3151
- if (obj_ratingFrequencyPolicy_union1_error != null) {
3152
- obj_ratingFrequencyPolicy_union1 = obj_ratingFrequencyPolicy_union1_error.message;
3260
+ if (obj_product_union1_error != null) {
3261
+ obj_product_union1 = obj_product_union1_error.message;
3153
3262
  }
3154
- if (obj_ratingFrequencyPolicy_union0 && obj_ratingFrequencyPolicy_union1) {
3155
- let message = 'Object doesn\'t match union (at "' + path_ratingFrequencyPolicy + '")';
3156
- message += '\n' + obj_ratingFrequencyPolicy_union0.split('\n').map((line) => '\t' + line).join('\n');
3157
- message += '\n' + obj_ratingFrequencyPolicy_union1.split('\n').map((line) => '\t' + line).join('\n');
3263
+ if (obj_product_union0 && obj_product_union1) {
3264
+ let message = 'Object doesn\'t match union (at "' + path_product + '")';
3265
+ message += '\n' + obj_product_union0.split('\n').map((line) => '\t' + line).join('\n');
3266
+ message += '\n' + obj_product_union1.split('\n').map((line) => '\t' + line).join('\n');
3158
3267
  return new TypeError(message);
3159
3268
  }
3160
- const obj_usageAggregationPolicy = obj.usageAggregationPolicy;
3161
- const path_usageAggregationPolicy = path + '.usageAggregationPolicy';
3162
- let obj_usageAggregationPolicy_union0 = null;
3163
- const obj_usageAggregationPolicy_union0_error = (() => {
3164
- const referencepath_usageAggregationPolicyValidationError = validate$c(obj_usageAggregationPolicy, path_usageAggregationPolicy);
3165
- if (referencepath_usageAggregationPolicyValidationError !== null) {
3166
- let message = 'Object doesn\'t match PolicyDetailOutputRepresentation (at "' + path_usageAggregationPolicy + '")\n';
3167
- message += referencepath_usageAggregationPolicyValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3168
- return new TypeError(message);
3269
+ const obj_quantity = obj.quantity;
3270
+ const path_quantity = path + '.quantity';
3271
+ let obj_quantity_union0 = null;
3272
+ const obj_quantity_union0_error = (() => {
3273
+ if (typeof obj_quantity !== 'number') {
3274
+ return new TypeError('Expected "number" but received "' + typeof obj_quantity + '" (at "' + path_quantity + '")');
3169
3275
  }
3170
3276
  })();
3171
- if (obj_usageAggregationPolicy_union0_error != null) {
3172
- obj_usageAggregationPolicy_union0 = obj_usageAggregationPolicy_union0_error.message;
3277
+ if (obj_quantity_union0_error != null) {
3278
+ obj_quantity_union0 = obj_quantity_union0_error.message;
3173
3279
  }
3174
- let obj_usageAggregationPolicy_union1 = null;
3175
- const obj_usageAggregationPolicy_union1_error = (() => {
3176
- if (obj_usageAggregationPolicy !== null) {
3177
- return new TypeError('Expected "null" but received "' + typeof obj_usageAggregationPolicy + '" (at "' + path_usageAggregationPolicy + '")');
3280
+ let obj_quantity_union1 = null;
3281
+ const obj_quantity_union1_error = (() => {
3282
+ if (obj_quantity !== null) {
3283
+ return new TypeError('Expected "null" but received "' + typeof obj_quantity + '" (at "' + path_quantity + '")');
3178
3284
  }
3179
3285
  })();
3180
- if (obj_usageAggregationPolicy_union1_error != null) {
3181
- obj_usageAggregationPolicy_union1 = obj_usageAggregationPolicy_union1_error.message;
3286
+ if (obj_quantity_union1_error != null) {
3287
+ obj_quantity_union1 = obj_quantity_union1_error.message;
3182
3288
  }
3183
- if (obj_usageAggregationPolicy_union0 && obj_usageAggregationPolicy_union1) {
3184
- let message = 'Object doesn\'t match union (at "' + path_usageAggregationPolicy + '")';
3185
- message += '\n' + obj_usageAggregationPolicy_union0.split('\n').map((line) => '\t' + line).join('\n');
3186
- message += '\n' + obj_usageAggregationPolicy_union1.split('\n').map((line) => '\t' + line).join('\n');
3289
+ if (obj_quantity_union0 && obj_quantity_union1) {
3290
+ let message = 'Object doesn\'t match union (at "' + path_quantity + '")';
3291
+ message += '\n' + obj_quantity_union0.split('\n').map((line) => '\t' + line).join('\n');
3292
+ message += '\n' + obj_quantity_union1.split('\n').map((line) => '\t' + line).join('\n');
3187
3293
  return new TypeError(message);
3188
3294
  }
3189
- const obj_usageCommitmentPolicy = obj.usageCommitmentPolicy;
3190
- const path_usageCommitmentPolicy = path + '.usageCommitmentPolicy';
3191
- let obj_usageCommitmentPolicy_union0 = null;
3192
- const obj_usageCommitmentPolicy_union0_error = (() => {
3193
- const referencepath_usageCommitmentPolicyValidationError = validate$c(obj_usageCommitmentPolicy, path_usageCommitmentPolicy);
3194
- if (referencepath_usageCommitmentPolicyValidationError !== null) {
3195
- let message = 'Object doesn\'t match PolicyDetailOutputRepresentation (at "' + path_usageCommitmentPolicy + '")\n';
3196
- message += referencepath_usageCommitmentPolicyValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3295
+ const obj_record = obj.record;
3296
+ const path_record = path + '.record';
3297
+ let obj_record_union0 = null;
3298
+ const obj_record_union0_error = (() => {
3299
+ const referencepath_recordValidationError = validate$5(obj_record, path_record);
3300
+ if (referencepath_recordValidationError !== null) {
3301
+ let message = 'Object doesn\'t match LookupDetailOutputRepresentation (at "' + path_record + '")\n';
3302
+ message += referencepath_recordValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3197
3303
  return new TypeError(message);
3198
3304
  }
3199
3305
  })();
3200
- if (obj_usageCommitmentPolicy_union0_error != null) {
3201
- obj_usageCommitmentPolicy_union0 = obj_usageCommitmentPolicy_union0_error.message;
3306
+ if (obj_record_union0_error != null) {
3307
+ obj_record_union0 = obj_record_union0_error.message;
3202
3308
  }
3203
- let obj_usageCommitmentPolicy_union1 = null;
3204
- const obj_usageCommitmentPolicy_union1_error = (() => {
3205
- if (obj_usageCommitmentPolicy !== null) {
3206
- return new TypeError('Expected "null" but received "' + typeof obj_usageCommitmentPolicy + '" (at "' + path_usageCommitmentPolicy + '")');
3309
+ let obj_record_union1 = null;
3310
+ const obj_record_union1_error = (() => {
3311
+ if (obj_record !== null) {
3312
+ return new TypeError('Expected "null" but received "' + typeof obj_record + '" (at "' + path_record + '")');
3207
3313
  }
3208
3314
  })();
3209
- if (obj_usageCommitmentPolicy_union1_error != null) {
3210
- obj_usageCommitmentPolicy_union1 = obj_usageCommitmentPolicy_union1_error.message;
3315
+ if (obj_record_union1_error != null) {
3316
+ obj_record_union1 = obj_record_union1_error.message;
3211
3317
  }
3212
- if (obj_usageCommitmentPolicy_union0 && obj_usageCommitmentPolicy_union1) {
3213
- let message = 'Object doesn\'t match union (at "' + path_usageCommitmentPolicy + '")';
3214
- message += '\n' + obj_usageCommitmentPolicy_union0.split('\n').map((line) => '\t' + line).join('\n');
3215
- message += '\n' + obj_usageCommitmentPolicy_union1.split('\n').map((line) => '\t' + line).join('\n');
3318
+ if (obj_record_union0 && obj_record_union1) {
3319
+ let message = 'Object doesn\'t match union (at "' + path_record + '")';
3320
+ message += '\n' + obj_record_union0.split('\n').map((line) => '\t' + line).join('\n');
3321
+ message += '\n' + obj_record_union1.split('\n').map((line) => '\t' + line).join('\n');
3216
3322
  return new TypeError(message);
3217
3323
  }
3218
- const obj_usageOveragePolicy = obj.usageOveragePolicy;
3219
- const path_usageOveragePolicy = path + '.usageOveragePolicy';
3220
- let obj_usageOveragePolicy_union0 = null;
3221
- const obj_usageOveragePolicy_union0_error = (() => {
3222
- const referencepath_usageOveragePolicyValidationError = validate$c(obj_usageOveragePolicy, path_usageOveragePolicy);
3223
- if (referencepath_usageOveragePolicyValidationError !== null) {
3224
- let message = 'Object doesn\'t match PolicyDetailOutputRepresentation (at "' + path_usageOveragePolicy + '")\n';
3225
- message += referencepath_usageOveragePolicyValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3324
+ const obj_unitOfMeasure = obj.unitOfMeasure;
3325
+ const path_unitOfMeasure = path + '.unitOfMeasure';
3326
+ let obj_unitOfMeasure_union0 = null;
3327
+ const obj_unitOfMeasure_union0_error = (() => {
3328
+ const referencepath_unitOfMeasureValidationError = validate$5(obj_unitOfMeasure, path_unitOfMeasure);
3329
+ if (referencepath_unitOfMeasureValidationError !== null) {
3330
+ let message = 'Object doesn\'t match LookupDetailOutputRepresentation (at "' + path_unitOfMeasure + '")\n';
3331
+ message += referencepath_unitOfMeasureValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3226
3332
  return new TypeError(message);
3227
3333
  }
3228
3334
  })();
3229
- if (obj_usageOveragePolicy_union0_error != null) {
3230
- obj_usageOveragePolicy_union0 = obj_usageOveragePolicy_union0_error.message;
3231
- }
3335
+ if (obj_unitOfMeasure_union0_error != null) {
3336
+ obj_unitOfMeasure_union0 = obj_unitOfMeasure_union0_error.message;
3337
+ }
3338
+ let obj_unitOfMeasure_union1 = null;
3339
+ const obj_unitOfMeasure_union1_error = (() => {
3340
+ if (obj_unitOfMeasure !== null) {
3341
+ return new TypeError('Expected "null" but received "' + typeof obj_unitOfMeasure + '" (at "' + path_unitOfMeasure + '")');
3342
+ }
3343
+ })();
3344
+ if (obj_unitOfMeasure_union1_error != null) {
3345
+ obj_unitOfMeasure_union1 = obj_unitOfMeasure_union1_error.message;
3346
+ }
3347
+ if (obj_unitOfMeasure_union0 && obj_unitOfMeasure_union1) {
3348
+ let message = 'Object doesn\'t match union (at "' + path_unitOfMeasure + '")';
3349
+ message += '\n' + obj_unitOfMeasure_union0.split('\n').map((line) => '\t' + line).join('\n');
3350
+ message += '\n' + obj_unitOfMeasure_union1.split('\n').map((line) => '\t' + line).join('\n');
3351
+ return new TypeError(message);
3352
+ }
3353
+ const obj_usageRefreshPolicy = obj.usageRefreshPolicy;
3354
+ const path_usageRefreshPolicy = path + '.usageRefreshPolicy';
3355
+ let obj_usageRefreshPolicy_union0 = null;
3356
+ const obj_usageRefreshPolicy_union0_error = (() => {
3357
+ const referencepath_usageRefreshPolicyValidationError = validate$d(obj_usageRefreshPolicy, path_usageRefreshPolicy);
3358
+ if (referencepath_usageRefreshPolicyValidationError !== null) {
3359
+ let message = 'Object doesn\'t match PolicyDetailOutputRepresentation (at "' + path_usageRefreshPolicy + '")\n';
3360
+ message += referencepath_usageRefreshPolicyValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3361
+ return new TypeError(message);
3362
+ }
3363
+ })();
3364
+ if (obj_usageRefreshPolicy_union0_error != null) {
3365
+ obj_usageRefreshPolicy_union0 = obj_usageRefreshPolicy_union0_error.message;
3366
+ }
3367
+ let obj_usageRefreshPolicy_union1 = null;
3368
+ const obj_usageRefreshPolicy_union1_error = (() => {
3369
+ if (obj_usageRefreshPolicy !== null) {
3370
+ return new TypeError('Expected "null" but received "' + typeof obj_usageRefreshPolicy + '" (at "' + path_usageRefreshPolicy + '")');
3371
+ }
3372
+ })();
3373
+ if (obj_usageRefreshPolicy_union1_error != null) {
3374
+ obj_usageRefreshPolicy_union1 = obj_usageRefreshPolicy_union1_error.message;
3375
+ }
3376
+ if (obj_usageRefreshPolicy_union0 && obj_usageRefreshPolicy_union1) {
3377
+ let message = 'Object doesn\'t match union (at "' + path_usageRefreshPolicy + '")';
3378
+ message += '\n' + obj_usageRefreshPolicy_union0.split('\n').map((line) => '\t' + line).join('\n');
3379
+ message += '\n' + obj_usageRefreshPolicy_union1.split('\n').map((line) => '\t' + line).join('\n');
3380
+ return new TypeError(message);
3381
+ }
3382
+ const obj_usageRolloverPolicy = obj.usageRolloverPolicy;
3383
+ const path_usageRolloverPolicy = path + '.usageRolloverPolicy';
3384
+ let obj_usageRolloverPolicy_union0 = null;
3385
+ const obj_usageRolloverPolicy_union0_error = (() => {
3386
+ const referencepath_usageRolloverPolicyValidationError = validate$d(obj_usageRolloverPolicy, path_usageRolloverPolicy);
3387
+ if (referencepath_usageRolloverPolicyValidationError !== null) {
3388
+ let message = 'Object doesn\'t match PolicyDetailOutputRepresentation (at "' + path_usageRolloverPolicy + '")\n';
3389
+ message += referencepath_usageRolloverPolicyValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3390
+ return new TypeError(message);
3391
+ }
3392
+ })();
3393
+ if (obj_usageRolloverPolicy_union0_error != null) {
3394
+ obj_usageRolloverPolicy_union0 = obj_usageRolloverPolicy_union0_error.message;
3395
+ }
3396
+ let obj_usageRolloverPolicy_union1 = null;
3397
+ const obj_usageRolloverPolicy_union1_error = (() => {
3398
+ if (obj_usageRolloverPolicy !== null) {
3399
+ return new TypeError('Expected "null" but received "' + typeof obj_usageRolloverPolicy + '" (at "' + path_usageRolloverPolicy + '")');
3400
+ }
3401
+ })();
3402
+ if (obj_usageRolloverPolicy_union1_error != null) {
3403
+ obj_usageRolloverPolicy_union1 = obj_usageRolloverPolicy_union1_error.message;
3404
+ }
3405
+ if (obj_usageRolloverPolicy_union0 && obj_usageRolloverPolicy_union1) {
3406
+ let message = 'Object doesn\'t match union (at "' + path_usageRolloverPolicy + '")';
3407
+ message += '\n' + obj_usageRolloverPolicy_union0.split('\n').map((line) => '\t' + line).join('\n');
3408
+ message += '\n' + obj_usageRolloverPolicy_union1.split('\n').map((line) => '\t' + line).join('\n');
3409
+ return new TypeError(message);
3410
+ }
3411
+ const obj_validityPeriodTerm = obj.validityPeriodTerm;
3412
+ const path_validityPeriodTerm = path + '.validityPeriodTerm';
3413
+ let obj_validityPeriodTerm_union0 = null;
3414
+ const obj_validityPeriodTerm_union0_error = (() => {
3415
+ if (typeof obj_validityPeriodTerm !== 'number') {
3416
+ return new TypeError('Expected "number" but received "' + typeof obj_validityPeriodTerm + '" (at "' + path_validityPeriodTerm + '")');
3417
+ }
3418
+ })();
3419
+ if (obj_validityPeriodTerm_union0_error != null) {
3420
+ obj_validityPeriodTerm_union0 = obj_validityPeriodTerm_union0_error.message;
3421
+ }
3422
+ let obj_validityPeriodTerm_union1 = null;
3423
+ const obj_validityPeriodTerm_union1_error = (() => {
3424
+ if (obj_validityPeriodTerm !== null) {
3425
+ return new TypeError('Expected "null" but received "' + typeof obj_validityPeriodTerm + '" (at "' + path_validityPeriodTerm + '")');
3426
+ }
3427
+ })();
3428
+ if (obj_validityPeriodTerm_union1_error != null) {
3429
+ obj_validityPeriodTerm_union1 = obj_validityPeriodTerm_union1_error.message;
3430
+ }
3431
+ if (obj_validityPeriodTerm_union0 && obj_validityPeriodTerm_union1) {
3432
+ let message = 'Object doesn\'t match union (at "' + path_validityPeriodTerm + '")';
3433
+ message += '\n' + obj_validityPeriodTerm_union0.split('\n').map((line) => '\t' + line).join('\n');
3434
+ message += '\n' + obj_validityPeriodTerm_union1.split('\n').map((line) => '\t' + line).join('\n');
3435
+ return new TypeError(message);
3436
+ }
3437
+ const obj_validityPeriodUnit = obj.validityPeriodUnit;
3438
+ const path_validityPeriodUnit = path + '.validityPeriodUnit';
3439
+ let obj_validityPeriodUnit_union0 = null;
3440
+ const obj_validityPeriodUnit_union0_error = (() => {
3441
+ if (typeof obj_validityPeriodUnit !== 'string') {
3442
+ return new TypeError('Expected "string" but received "' + typeof obj_validityPeriodUnit + '" (at "' + path_validityPeriodUnit + '")');
3443
+ }
3444
+ })();
3445
+ if (obj_validityPeriodUnit_union0_error != null) {
3446
+ obj_validityPeriodUnit_union0 = obj_validityPeriodUnit_union0_error.message;
3447
+ }
3448
+ let obj_validityPeriodUnit_union1 = null;
3449
+ const obj_validityPeriodUnit_union1_error = (() => {
3450
+ if (obj_validityPeriodUnit !== null) {
3451
+ return new TypeError('Expected "null" but received "' + typeof obj_validityPeriodUnit + '" (at "' + path_validityPeriodUnit + '")');
3452
+ }
3453
+ })();
3454
+ if (obj_validityPeriodUnit_union1_error != null) {
3455
+ obj_validityPeriodUnit_union1 = obj_validityPeriodUnit_union1_error.message;
3456
+ }
3457
+ if (obj_validityPeriodUnit_union0 && obj_validityPeriodUnit_union1) {
3458
+ let message = 'Object doesn\'t match union (at "' + path_validityPeriodUnit + '")';
3459
+ message += '\n' + obj_validityPeriodUnit_union0.split('\n').map((line) => '\t' + line).join('\n');
3460
+ message += '\n' + obj_validityPeriodUnit_union1.split('\n').map((line) => '\t' + line).join('\n');
3461
+ return new TypeError(message);
3462
+ }
3463
+ })();
3464
+ return v_error === undefined ? null : v_error;
3465
+ }
3466
+ const select$5 = function BindingObjectGrantDetailOutputRepresentationSelect() {
3467
+ const { selections: LookupDetailOutputRepresentation__selections, opaque: LookupDetailOutputRepresentation__opaque, } = select$6();
3468
+ const { selections: PolicyDetailOutputRepresentation__selections, opaque: PolicyDetailOutputRepresentation__opaque, } = select$h();
3469
+ return {
3470
+ kind: 'Fragment',
3471
+ version: VERSION$4,
3472
+ private: [],
3473
+ selections: [
3474
+ {
3475
+ name: 'effectiveEndDate',
3476
+ kind: 'Scalar'
3477
+ },
3478
+ {
3479
+ name: 'effectiveStartDate',
3480
+ kind: 'Scalar'
3481
+ },
3482
+ {
3483
+ name: 'grantType',
3484
+ kind: 'Scalar'
3485
+ },
3486
+ {
3487
+ name: 'id',
3488
+ kind: 'Scalar'
3489
+ },
3490
+ {
3491
+ name: 'product',
3492
+ kind: 'Object',
3493
+ nullable: true,
3494
+ selections: LookupDetailOutputRepresentation__selections
3495
+ },
3496
+ {
3497
+ name: 'quantity',
3498
+ kind: 'Scalar'
3499
+ },
3500
+ {
3501
+ name: 'record',
3502
+ kind: 'Object',
3503
+ nullable: true,
3504
+ selections: LookupDetailOutputRepresentation__selections
3505
+ },
3506
+ {
3507
+ name: 'unitOfMeasure',
3508
+ kind: 'Object',
3509
+ nullable: true,
3510
+ selections: LookupDetailOutputRepresentation__selections
3511
+ },
3512
+ {
3513
+ name: 'usageRefreshPolicy',
3514
+ kind: 'Object',
3515
+ nullable: true,
3516
+ selections: PolicyDetailOutputRepresentation__selections
3517
+ },
3518
+ {
3519
+ name: 'usageRolloverPolicy',
3520
+ kind: 'Object',
3521
+ nullable: true,
3522
+ selections: PolicyDetailOutputRepresentation__selections
3523
+ },
3524
+ {
3525
+ name: 'validityPeriodTerm',
3526
+ kind: 'Scalar'
3527
+ },
3528
+ {
3529
+ name: 'validityPeriodUnit',
3530
+ kind: 'Scalar'
3531
+ }
3532
+ ]
3533
+ };
3534
+ };
3535
+ function equals$4(existing, incoming) {
3536
+ const existing_effectiveEndDate = existing.effectiveEndDate;
3537
+ const incoming_effectiveEndDate = incoming.effectiveEndDate;
3538
+ if (!(existing_effectiveEndDate === incoming_effectiveEndDate)) {
3539
+ return false;
3540
+ }
3541
+ const existing_effectiveStartDate = existing.effectiveStartDate;
3542
+ const incoming_effectiveStartDate = incoming.effectiveStartDate;
3543
+ if (!(existing_effectiveStartDate === incoming_effectiveStartDate)) {
3544
+ return false;
3545
+ }
3546
+ const existing_grantType = existing.grantType;
3547
+ const incoming_grantType = incoming.grantType;
3548
+ if (!(existing_grantType === incoming_grantType)) {
3549
+ return false;
3550
+ }
3551
+ const existing_id = existing.id;
3552
+ const incoming_id = incoming.id;
3553
+ if (!(existing_id === incoming_id)) {
3554
+ return false;
3555
+ }
3556
+ const existing_product = existing.product;
3557
+ const incoming_product = incoming.product;
3558
+ if (!(existing_product === incoming_product
3559
+ || (existing_product != null &&
3560
+ incoming_product != null &&
3561
+ equals$5(existing_product, incoming_product)))) {
3562
+ return false;
3563
+ }
3564
+ const existing_quantity = existing.quantity;
3565
+ const incoming_quantity = incoming.quantity;
3566
+ if (!(existing_quantity === incoming_quantity)) {
3567
+ return false;
3568
+ }
3569
+ const existing_record = existing.record;
3570
+ const incoming_record = incoming.record;
3571
+ if (!(existing_record === incoming_record
3572
+ || (existing_record != null &&
3573
+ incoming_record != null &&
3574
+ equals$5(existing_record, incoming_record)))) {
3575
+ return false;
3576
+ }
3577
+ const existing_unitOfMeasure = existing.unitOfMeasure;
3578
+ const incoming_unitOfMeasure = incoming.unitOfMeasure;
3579
+ if (!(existing_unitOfMeasure === incoming_unitOfMeasure
3580
+ || (existing_unitOfMeasure != null &&
3581
+ incoming_unitOfMeasure != null &&
3582
+ equals$5(existing_unitOfMeasure, incoming_unitOfMeasure)))) {
3583
+ return false;
3584
+ }
3585
+ const existing_usageRefreshPolicy = existing.usageRefreshPolicy;
3586
+ const incoming_usageRefreshPolicy = incoming.usageRefreshPolicy;
3587
+ if (!(existing_usageRefreshPolicy === incoming_usageRefreshPolicy
3588
+ || (existing_usageRefreshPolicy != null &&
3589
+ incoming_usageRefreshPolicy != null &&
3590
+ equals$d(existing_usageRefreshPolicy, incoming_usageRefreshPolicy)))) {
3591
+ return false;
3592
+ }
3593
+ const existing_usageRolloverPolicy = existing.usageRolloverPolicy;
3594
+ const incoming_usageRolloverPolicy = incoming.usageRolloverPolicy;
3595
+ if (!(existing_usageRolloverPolicy === incoming_usageRolloverPolicy
3596
+ || (existing_usageRolloverPolicy != null &&
3597
+ incoming_usageRolloverPolicy != null &&
3598
+ equals$d(existing_usageRolloverPolicy, incoming_usageRolloverPolicy)))) {
3599
+ return false;
3600
+ }
3601
+ const existing_validityPeriodTerm = existing.validityPeriodTerm;
3602
+ const incoming_validityPeriodTerm = incoming.validityPeriodTerm;
3603
+ if (!(existing_validityPeriodTerm === incoming_validityPeriodTerm)) {
3604
+ return false;
3605
+ }
3606
+ const existing_validityPeriodUnit = existing.validityPeriodUnit;
3607
+ const incoming_validityPeriodUnit = incoming.validityPeriodUnit;
3608
+ if (!(existing_validityPeriodUnit === incoming_validityPeriodUnit)) {
3609
+ return false;
3610
+ }
3611
+ return true;
3612
+ }
3613
+
3614
+ const VERSION$3 = "4ac471e759f07d5b598ca0dec1fedd12";
3615
+ function validate$3(obj, path = 'BindingObjectResourcePolicyDetailOutputRepresentation') {
3616
+ const v_error = (() => {
3617
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3618
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3619
+ }
3620
+ const obj_drawdownOrder = obj.drawdownOrder;
3621
+ const path_drawdownOrder = path + '.drawdownOrder';
3622
+ let obj_drawdownOrder_union0 = null;
3623
+ const obj_drawdownOrder_union0_error = (() => {
3624
+ if (typeof obj_drawdownOrder !== 'string') {
3625
+ return new TypeError('Expected "string" but received "' + typeof obj_drawdownOrder + '" (at "' + path_drawdownOrder + '")');
3626
+ }
3627
+ })();
3628
+ if (obj_drawdownOrder_union0_error != null) {
3629
+ obj_drawdownOrder_union0 = obj_drawdownOrder_union0_error.message;
3630
+ }
3631
+ let obj_drawdownOrder_union1 = null;
3632
+ const obj_drawdownOrder_union1_error = (() => {
3633
+ if (obj_drawdownOrder !== null) {
3634
+ return new TypeError('Expected "null" but received "' + typeof obj_drawdownOrder + '" (at "' + path_drawdownOrder + '")');
3635
+ }
3636
+ })();
3637
+ if (obj_drawdownOrder_union1_error != null) {
3638
+ obj_drawdownOrder_union1 = obj_drawdownOrder_union1_error.message;
3639
+ }
3640
+ if (obj_drawdownOrder_union0 && obj_drawdownOrder_union1) {
3641
+ let message = 'Object doesn\'t match union (at "' + path_drawdownOrder + '")';
3642
+ message += '\n' + obj_drawdownOrder_union0.split('\n').map((line) => '\t' + line).join('\n');
3643
+ message += '\n' + obj_drawdownOrder_union1.split('\n').map((line) => '\t' + line).join('\n');
3644
+ return new TypeError(message);
3645
+ }
3646
+ const obj_id = obj.id;
3647
+ const path_id = path + '.id';
3648
+ let obj_id_union0 = null;
3649
+ const obj_id_union0_error = (() => {
3650
+ if (typeof obj_id !== 'string') {
3651
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
3652
+ }
3653
+ })();
3654
+ if (obj_id_union0_error != null) {
3655
+ obj_id_union0 = obj_id_union0_error.message;
3656
+ }
3657
+ let obj_id_union1 = null;
3658
+ const obj_id_union1_error = (() => {
3659
+ if (obj_id !== null) {
3660
+ return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
3661
+ }
3662
+ })();
3663
+ if (obj_id_union1_error != null) {
3664
+ obj_id_union1 = obj_id_union1_error.message;
3665
+ }
3666
+ if (obj_id_union0 && obj_id_union1) {
3667
+ let message = 'Object doesn\'t match union (at "' + path_id + '")';
3668
+ message += '\n' + obj_id_union0.split('\n').map((line) => '\t' + line).join('\n');
3669
+ message += '\n' + obj_id_union1.split('\n').map((line) => '\t' + line).join('\n');
3670
+ return new TypeError(message);
3671
+ }
3672
+ const obj_ratingFrequencyPolicy = obj.ratingFrequencyPolicy;
3673
+ const path_ratingFrequencyPolicy = path + '.ratingFrequencyPolicy';
3674
+ let obj_ratingFrequencyPolicy_union0 = null;
3675
+ const obj_ratingFrequencyPolicy_union0_error = (() => {
3676
+ const referencepath_ratingFrequencyPolicyValidationError = validate$d(obj_ratingFrequencyPolicy, path_ratingFrequencyPolicy);
3677
+ if (referencepath_ratingFrequencyPolicyValidationError !== null) {
3678
+ let message = 'Object doesn\'t match PolicyDetailOutputRepresentation (at "' + path_ratingFrequencyPolicy + '")\n';
3679
+ message += referencepath_ratingFrequencyPolicyValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3680
+ return new TypeError(message);
3681
+ }
3682
+ })();
3683
+ if (obj_ratingFrequencyPolicy_union0_error != null) {
3684
+ obj_ratingFrequencyPolicy_union0 = obj_ratingFrequencyPolicy_union0_error.message;
3685
+ }
3686
+ let obj_ratingFrequencyPolicy_union1 = null;
3687
+ const obj_ratingFrequencyPolicy_union1_error = (() => {
3688
+ if (obj_ratingFrequencyPolicy !== null) {
3689
+ return new TypeError('Expected "null" but received "' + typeof obj_ratingFrequencyPolicy + '" (at "' + path_ratingFrequencyPolicy + '")');
3690
+ }
3691
+ })();
3692
+ if (obj_ratingFrequencyPolicy_union1_error != null) {
3693
+ obj_ratingFrequencyPolicy_union1 = obj_ratingFrequencyPolicy_union1_error.message;
3694
+ }
3695
+ if (obj_ratingFrequencyPolicy_union0 && obj_ratingFrequencyPolicy_union1) {
3696
+ let message = 'Object doesn\'t match union (at "' + path_ratingFrequencyPolicy + '")';
3697
+ message += '\n' + obj_ratingFrequencyPolicy_union0.split('\n').map((line) => '\t' + line).join('\n');
3698
+ message += '\n' + obj_ratingFrequencyPolicy_union1.split('\n').map((line) => '\t' + line).join('\n');
3699
+ return new TypeError(message);
3700
+ }
3701
+ const obj_usageAggregationPolicy = obj.usageAggregationPolicy;
3702
+ const path_usageAggregationPolicy = path + '.usageAggregationPolicy';
3703
+ let obj_usageAggregationPolicy_union0 = null;
3704
+ const obj_usageAggregationPolicy_union0_error = (() => {
3705
+ const referencepath_usageAggregationPolicyValidationError = validate$d(obj_usageAggregationPolicy, path_usageAggregationPolicy);
3706
+ if (referencepath_usageAggregationPolicyValidationError !== null) {
3707
+ let message = 'Object doesn\'t match PolicyDetailOutputRepresentation (at "' + path_usageAggregationPolicy + '")\n';
3708
+ message += referencepath_usageAggregationPolicyValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3709
+ return new TypeError(message);
3710
+ }
3711
+ })();
3712
+ if (obj_usageAggregationPolicy_union0_error != null) {
3713
+ obj_usageAggregationPolicy_union0 = obj_usageAggregationPolicy_union0_error.message;
3714
+ }
3715
+ let obj_usageAggregationPolicy_union1 = null;
3716
+ const obj_usageAggregationPolicy_union1_error = (() => {
3717
+ if (obj_usageAggregationPolicy !== null) {
3718
+ return new TypeError('Expected "null" but received "' + typeof obj_usageAggregationPolicy + '" (at "' + path_usageAggregationPolicy + '")');
3719
+ }
3720
+ })();
3721
+ if (obj_usageAggregationPolicy_union1_error != null) {
3722
+ obj_usageAggregationPolicy_union1 = obj_usageAggregationPolicy_union1_error.message;
3723
+ }
3724
+ if (obj_usageAggregationPolicy_union0 && obj_usageAggregationPolicy_union1) {
3725
+ let message = 'Object doesn\'t match union (at "' + path_usageAggregationPolicy + '")';
3726
+ message += '\n' + obj_usageAggregationPolicy_union0.split('\n').map((line) => '\t' + line).join('\n');
3727
+ message += '\n' + obj_usageAggregationPolicy_union1.split('\n').map((line) => '\t' + line).join('\n');
3728
+ return new TypeError(message);
3729
+ }
3730
+ const obj_usageCommitmentPolicy = obj.usageCommitmentPolicy;
3731
+ const path_usageCommitmentPolicy = path + '.usageCommitmentPolicy';
3732
+ let obj_usageCommitmentPolicy_union0 = null;
3733
+ const obj_usageCommitmentPolicy_union0_error = (() => {
3734
+ const referencepath_usageCommitmentPolicyValidationError = validate$d(obj_usageCommitmentPolicy, path_usageCommitmentPolicy);
3735
+ if (referencepath_usageCommitmentPolicyValidationError !== null) {
3736
+ let message = 'Object doesn\'t match PolicyDetailOutputRepresentation (at "' + path_usageCommitmentPolicy + '")\n';
3737
+ message += referencepath_usageCommitmentPolicyValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3738
+ return new TypeError(message);
3739
+ }
3740
+ })();
3741
+ if (obj_usageCommitmentPolicy_union0_error != null) {
3742
+ obj_usageCommitmentPolicy_union0 = obj_usageCommitmentPolicy_union0_error.message;
3743
+ }
3744
+ let obj_usageCommitmentPolicy_union1 = null;
3745
+ const obj_usageCommitmentPolicy_union1_error = (() => {
3746
+ if (obj_usageCommitmentPolicy !== null) {
3747
+ return new TypeError('Expected "null" but received "' + typeof obj_usageCommitmentPolicy + '" (at "' + path_usageCommitmentPolicy + '")');
3748
+ }
3749
+ })();
3750
+ if (obj_usageCommitmentPolicy_union1_error != null) {
3751
+ obj_usageCommitmentPolicy_union1 = obj_usageCommitmentPolicy_union1_error.message;
3752
+ }
3753
+ if (obj_usageCommitmentPolicy_union0 && obj_usageCommitmentPolicy_union1) {
3754
+ let message = 'Object doesn\'t match union (at "' + path_usageCommitmentPolicy + '")';
3755
+ message += '\n' + obj_usageCommitmentPolicy_union0.split('\n').map((line) => '\t' + line).join('\n');
3756
+ message += '\n' + obj_usageCommitmentPolicy_union1.split('\n').map((line) => '\t' + line).join('\n');
3757
+ return new TypeError(message);
3758
+ }
3759
+ const obj_usageOveragePolicy = obj.usageOveragePolicy;
3760
+ const path_usageOveragePolicy = path + '.usageOveragePolicy';
3761
+ let obj_usageOveragePolicy_union0 = null;
3762
+ const obj_usageOveragePolicy_union0_error = (() => {
3763
+ const referencepath_usageOveragePolicyValidationError = validate$d(obj_usageOveragePolicy, path_usageOveragePolicy);
3764
+ if (referencepath_usageOveragePolicyValidationError !== null) {
3765
+ let message = 'Object doesn\'t match PolicyDetailOutputRepresentation (at "' + path_usageOveragePolicy + '")\n';
3766
+ message += referencepath_usageOveragePolicyValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3767
+ return new TypeError(message);
3768
+ }
3769
+ })();
3770
+ if (obj_usageOveragePolicy_union0_error != null) {
3771
+ obj_usageOveragePolicy_union0 = obj_usageOveragePolicy_union0_error.message;
3772
+ }
3232
3773
  let obj_usageOveragePolicy_union1 = null;
3233
3774
  const obj_usageOveragePolicy_union1_error = (() => {
3234
3775
  if (obj_usageOveragePolicy !== null) {
@@ -3247,11 +3788,11 @@ function validate$4(obj, path = 'BindingObjectResourcePolicyDetailOutputRepresen
3247
3788
  })();
3248
3789
  return v_error === undefined ? null : v_error;
3249
3790
  }
3250
- const select$5 = function BindingObjectResourcePolicyDetailOutputRepresentationSelect() {
3251
- const { selections: PolicyDetailOutputRepresentation__selections, opaque: PolicyDetailOutputRepresentation__opaque, } = select$g();
3791
+ const select$4 = function BindingObjectResourcePolicyDetailOutputRepresentationSelect() {
3792
+ const { selections: PolicyDetailOutputRepresentation__selections, opaque: PolicyDetailOutputRepresentation__opaque, } = select$h();
3252
3793
  return {
3253
3794
  kind: 'Fragment',
3254
- version: VERSION$4,
3795
+ version: VERSION$3,
3255
3796
  private: [],
3256
3797
  selections: [
3257
3798
  {
@@ -3289,7 +3830,7 @@ const select$5 = function BindingObjectResourcePolicyDetailOutputRepresentationS
3289
3830
  ]
3290
3831
  };
3291
3832
  };
3292
- function equals$4(existing, incoming) {
3833
+ function equals$3(existing, incoming) {
3293
3834
  const existing_drawdownOrder = existing.drawdownOrder;
3294
3835
  const incoming_drawdownOrder = incoming.drawdownOrder;
3295
3836
  if (!(existing_drawdownOrder === incoming_drawdownOrder)) {
@@ -3305,7 +3846,7 @@ function equals$4(existing, incoming) {
3305
3846
  if (!(existing_ratingFrequencyPolicy === incoming_ratingFrequencyPolicy
3306
3847
  || (existing_ratingFrequencyPolicy != null &&
3307
3848
  incoming_ratingFrequencyPolicy != null &&
3308
- equals$c(existing_ratingFrequencyPolicy, incoming_ratingFrequencyPolicy)))) {
3849
+ equals$d(existing_ratingFrequencyPolicy, incoming_ratingFrequencyPolicy)))) {
3309
3850
  return false;
3310
3851
  }
3311
3852
  const existing_usageAggregationPolicy = existing.usageAggregationPolicy;
@@ -3313,7 +3854,7 @@ function equals$4(existing, incoming) {
3313
3854
  if (!(existing_usageAggregationPolicy === incoming_usageAggregationPolicy
3314
3855
  || (existing_usageAggregationPolicy != null &&
3315
3856
  incoming_usageAggregationPolicy != null &&
3316
- equals$c(existing_usageAggregationPolicy, incoming_usageAggregationPolicy)))) {
3857
+ equals$d(existing_usageAggregationPolicy, incoming_usageAggregationPolicy)))) {
3317
3858
  return false;
3318
3859
  }
3319
3860
  const existing_usageCommitmentPolicy = existing.usageCommitmentPolicy;
@@ -3321,7 +3862,7 @@ function equals$4(existing, incoming) {
3321
3862
  if (!(existing_usageCommitmentPolicy === incoming_usageCommitmentPolicy
3322
3863
  || (existing_usageCommitmentPolicy != null &&
3323
3864
  incoming_usageCommitmentPolicy != null &&
3324
- equals$c(existing_usageCommitmentPolicy, incoming_usageCommitmentPolicy)))) {
3865
+ equals$d(existing_usageCommitmentPolicy, incoming_usageCommitmentPolicy)))) {
3325
3866
  return false;
3326
3867
  }
3327
3868
  const existing_usageOveragePolicy = existing.usageOveragePolicy;
@@ -3329,14 +3870,14 @@ function equals$4(existing, incoming) {
3329
3870
  if (!(existing_usageOveragePolicy === incoming_usageOveragePolicy
3330
3871
  || (existing_usageOveragePolicy != null &&
3331
3872
  incoming_usageOveragePolicy != null &&
3332
- equals$c(existing_usageOveragePolicy, incoming_usageOveragePolicy)))) {
3873
+ equals$d(existing_usageOveragePolicy, incoming_usageOveragePolicy)))) {
3333
3874
  return false;
3334
3875
  }
3335
3876
  return true;
3336
3877
  }
3337
3878
 
3338
- const VERSION$3 = "c983cdec0567fdcc18eeb57819c63bd1";
3339
- function validate$3(obj, path = 'BindingObjectResourceGrantAndPolicyDetailOutputRepresentation') {
3879
+ const VERSION$2 = "ec9b1f7cc93c689c690b479b3ef6f931";
3880
+ function validate$2(obj, path = 'BindingObjectResourceGrantAndPolicyDetailOutputRepresentation') {
3340
3881
  const v_error = (() => {
3341
3882
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3342
3883
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3350,15 +3891,18 @@ function validate$3(obj, path = 'BindingObjectResourceGrantAndPolicyDetailOutput
3350
3891
  for (let i = 0; i < obj_bindingObjectGrantDetail.length; i++) {
3351
3892
  const obj_bindingObjectGrantDetail_item = obj_bindingObjectGrantDetail[i];
3352
3893
  const path_bindingObjectGrantDetail_item = path_bindingObjectGrantDetail + '[' + i + ']';
3353
- if (obj_bindingObjectGrantDetail_item === undefined) {
3354
- return new TypeError('Expected "defined" but received "' + typeof obj_bindingObjectGrantDetail_item + '" (at "' + path_bindingObjectGrantDetail_item + '")');
3894
+ const referencepath_bindingObjectGrantDetail_itemValidationError = validate$4(obj_bindingObjectGrantDetail_item, path_bindingObjectGrantDetail_item);
3895
+ if (referencepath_bindingObjectGrantDetail_itemValidationError !== null) {
3896
+ let message = 'Object doesn\'t match BindingObjectGrantDetailOutputRepresentation (at "' + path_bindingObjectGrantDetail_item + '")\n';
3897
+ message += referencepath_bindingObjectGrantDetail_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3898
+ return new TypeError(message);
3355
3899
  }
3356
3900
  }
3357
3901
  }
3358
3902
  if (obj.bindingObjectResourcePolicyDetail !== undefined) {
3359
3903
  const obj_bindingObjectResourcePolicyDetail = obj.bindingObjectResourcePolicyDetail;
3360
3904
  const path_bindingObjectResourcePolicyDetail = path + '.bindingObjectResourcePolicyDetail';
3361
- const referencepath_bindingObjectResourcePolicyDetailValidationError = validate$4(obj_bindingObjectResourcePolicyDetail, path_bindingObjectResourcePolicyDetail);
3905
+ const referencepath_bindingObjectResourcePolicyDetailValidationError = validate$3(obj_bindingObjectResourcePolicyDetail, path_bindingObjectResourcePolicyDetail);
3362
3906
  if (referencepath_bindingObjectResourcePolicyDetailValidationError !== null) {
3363
3907
  let message = 'Object doesn\'t match BindingObjectResourcePolicyDetailOutputRepresentation (at "' + path_bindingObjectResourcePolicyDetail + '")\n';
3364
3908
  message += referencepath_bindingObjectResourcePolicyDetailValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3368,17 +3912,20 @@ function validate$3(obj, path = 'BindingObjectResourceGrantAndPolicyDetailOutput
3368
3912
  })();
3369
3913
  return v_error === undefined ? null : v_error;
3370
3914
  }
3371
- const select$4 = function BindingObjectResourceGrantAndPolicyDetailOutputRepresentationSelect() {
3372
- const { selections: BindingObjectResourcePolicyDetailOutputRepresentation__selections, opaque: BindingObjectResourcePolicyDetailOutputRepresentation__opaque, } = select$5();
3915
+ const select$3 = function BindingObjectResourceGrantAndPolicyDetailOutputRepresentationSelect() {
3916
+ const { selections: BindingObjectGrantDetailOutputRepresentation__selections, opaque: BindingObjectGrantDetailOutputRepresentation__opaque, } = select$5();
3917
+ const { selections: BindingObjectResourcePolicyDetailOutputRepresentation__selections, opaque: BindingObjectResourcePolicyDetailOutputRepresentation__opaque, } = select$4();
3373
3918
  return {
3374
3919
  kind: 'Fragment',
3375
- version: VERSION$3,
3920
+ version: VERSION$2,
3376
3921
  private: [],
3377
3922
  selections: [
3378
3923
  {
3379
3924
  name: 'bindingObjectGrantDetail',
3380
3925
  kind: 'Object',
3381
- // any
3926
+ plural: true,
3927
+ selections: BindingObjectGrantDetailOutputRepresentation__selections,
3928
+ required: false
3382
3929
  },
3383
3930
  {
3384
3931
  name: 'bindingObjectResourcePolicyDetail',
@@ -3389,7 +3936,7 @@ const select$4 = function BindingObjectResourceGrantAndPolicyDetailOutputReprese
3389
3936
  ]
3390
3937
  };
3391
3938
  };
3392
- function equals$3(existing, incoming) {
3939
+ function equals$2(existing, incoming) {
3393
3940
  const existing_bindingObjectGrantDetail = existing.bindingObjectGrantDetail;
3394
3941
  const incoming_bindingObjectGrantDetail = incoming.bindingObjectGrantDetail;
3395
3942
  // if at least one of these optionals is defined
@@ -3400,7 +3947,7 @@ function equals$3(existing, incoming) {
3400
3947
  return false;
3401
3948
  }
3402
3949
  const equals_bindingObjectGrantDetail_items = equalsArray(existing_bindingObjectGrantDetail, incoming_bindingObjectGrantDetail, (existing_bindingObjectGrantDetail_item, incoming_bindingObjectGrantDetail_item) => {
3403
- if (JSONStringify(incoming_bindingObjectGrantDetail_item) !== JSONStringify(existing_bindingObjectGrantDetail_item)) {
3950
+ if (!(equals$4(existing_bindingObjectGrantDetail_item, incoming_bindingObjectGrantDetail_item))) {
3404
3951
  return false;
3405
3952
  }
3406
3953
  });
@@ -3417,70 +3964,13 @@ function equals$3(existing, incoming) {
3417
3964
  if (existing_bindingObjectResourcePolicyDetail === undefined || incoming_bindingObjectResourcePolicyDetail === undefined) {
3418
3965
  return false;
3419
3966
  }
3420
- if (!(equals$4(existing_bindingObjectResourcePolicyDetail, incoming_bindingObjectResourcePolicyDetail))) {
3967
+ if (!(equals$3(existing_bindingObjectResourcePolicyDetail, incoming_bindingObjectResourcePolicyDetail))) {
3421
3968
  return false;
3422
3969
  }
3423
3970
  }
3424
3971
  return true;
3425
3972
  }
3426
3973
 
3427
- const VERSION$2 = "33e33f0cd2919c7a3113b7c4b63348fb";
3428
- function validate$2(obj, path = 'LookupDetailOutputRepresentation') {
3429
- const v_error = (() => {
3430
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3431
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3432
- }
3433
- const obj_id = obj.id;
3434
- const path_id = path + '.id';
3435
- let obj_id_union0 = null;
3436
- const obj_id_union0_error = (() => {
3437
- if (typeof obj_id !== 'string') {
3438
- return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
3439
- }
3440
- })();
3441
- if (obj_id_union0_error != null) {
3442
- obj_id_union0 = obj_id_union0_error.message;
3443
- }
3444
- let obj_id_union1 = null;
3445
- const obj_id_union1_error = (() => {
3446
- if (obj_id !== null) {
3447
- return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
3448
- }
3449
- })();
3450
- if (obj_id_union1_error != null) {
3451
- obj_id_union1 = obj_id_union1_error.message;
3452
- }
3453
- if (obj_id_union0 && obj_id_union1) {
3454
- let message = 'Object doesn\'t match union (at "' + path_id + '")';
3455
- message += '\n' + obj_id_union0.split('\n').map((line) => '\t' + line).join('\n');
3456
- message += '\n' + obj_id_union1.split('\n').map((line) => '\t' + line).join('\n');
3457
- return new TypeError(message);
3458
- }
3459
- })();
3460
- return v_error === undefined ? null : v_error;
3461
- }
3462
- const select$3 = function LookupDetailOutputRepresentationSelect() {
3463
- return {
3464
- kind: 'Fragment',
3465
- version: VERSION$2,
3466
- private: [],
3467
- selections: [
3468
- {
3469
- name: 'id',
3470
- kind: 'Scalar'
3471
- }
3472
- ]
3473
- };
3474
- };
3475
- function equals$2(existing, incoming) {
3476
- const existing_id = existing.id;
3477
- const incoming_id = incoming.id;
3478
- if (!(existing_id === incoming_id)) {
3479
- return false;
3480
- }
3481
- return true;
3482
- }
3483
-
3484
3974
  const VERSION$1 = "9ac3605c04ffb39f20c8db01c7a72e5d";
3485
3975
  function validate$1(obj, path = 'BindingObjectDetailOutputRepresentation') {
3486
3976
  const v_error = (() => {
@@ -3490,7 +3980,7 @@ function validate$1(obj, path = 'BindingObjectDetailOutputRepresentation') {
3490
3980
  if (obj.bindingObjectRate !== undefined) {
3491
3981
  const obj_bindingObjectRate = obj.bindingObjectRate;
3492
3982
  const path_bindingObjectRate = path + '.bindingObjectRate';
3493
- const referencepath_bindingObjectRateValidationError = validate$5(obj_bindingObjectRate, path_bindingObjectRate);
3983
+ const referencepath_bindingObjectRateValidationError = validate$6(obj_bindingObjectRate, path_bindingObjectRate);
3494
3984
  if (referencepath_bindingObjectRateValidationError !== null) {
3495
3985
  let message = 'Object doesn\'t match BindingObjectRateOutputRepresentation (at "' + path_bindingObjectRate + '")\n';
3496
3986
  message += referencepath_bindingObjectRateValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3500,7 +3990,7 @@ function validate$1(obj, path = 'BindingObjectDetailOutputRepresentation') {
3500
3990
  if (obj.bindingObjectResourceGrantAndPolicyDetail !== undefined) {
3501
3991
  const obj_bindingObjectResourceGrantAndPolicyDetail = obj.bindingObjectResourceGrantAndPolicyDetail;
3502
3992
  const path_bindingObjectResourceGrantAndPolicyDetail = path + '.bindingObjectResourceGrantAndPolicyDetail';
3503
- const referencepath_bindingObjectResourceGrantAndPolicyDetailValidationError = validate$3(obj_bindingObjectResourceGrantAndPolicyDetail, path_bindingObjectResourceGrantAndPolicyDetail);
3993
+ const referencepath_bindingObjectResourceGrantAndPolicyDetailValidationError = validate$2(obj_bindingObjectResourceGrantAndPolicyDetail, path_bindingObjectResourceGrantAndPolicyDetail);
3504
3994
  if (referencepath_bindingObjectResourceGrantAndPolicyDetailValidationError !== null) {
3505
3995
  let message = 'Object doesn\'t match BindingObjectResourceGrantAndPolicyDetailOutputRepresentation (at "' + path_bindingObjectResourceGrantAndPolicyDetail + '")\n';
3506
3996
  message += referencepath_bindingObjectResourceGrantAndPolicyDetailValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3510,7 +4000,7 @@ function validate$1(obj, path = 'BindingObjectDetailOutputRepresentation') {
3510
4000
  if (obj.usageResource !== undefined) {
3511
4001
  const obj_usageResource = obj.usageResource;
3512
4002
  const path_usageResource = path + '.usageResource';
3513
- const referencepath_usageResourceValidationError = validate$2(obj_usageResource, path_usageResource);
4003
+ const referencepath_usageResourceValidationError = validate$5(obj_usageResource, path_usageResource);
3514
4004
  if (referencepath_usageResourceValidationError !== null) {
3515
4005
  let message = 'Object doesn\'t match LookupDetailOutputRepresentation (at "' + path_usageResource + '")\n';
3516
4006
  message += referencepath_usageResourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3521,9 +4011,9 @@ function validate$1(obj, path = 'BindingObjectDetailOutputRepresentation') {
3521
4011
  return v_error === undefined ? null : v_error;
3522
4012
  }
3523
4013
  const select$2 = function BindingObjectDetailOutputRepresentationSelect() {
3524
- const { selections: BindingObjectRateOutputRepresentation__selections, opaque: BindingObjectRateOutputRepresentation__opaque, } = select$6();
3525
- const { selections: BindingObjectResourceGrantAndPolicyDetailOutputRepresentation__selections, opaque: BindingObjectResourceGrantAndPolicyDetailOutputRepresentation__opaque, } = select$4();
3526
- const { selections: LookupDetailOutputRepresentation__selections, opaque: LookupDetailOutputRepresentation__opaque, } = select$3();
4014
+ const { selections: BindingObjectRateOutputRepresentation__selections, opaque: BindingObjectRateOutputRepresentation__opaque, } = select$7();
4015
+ const { selections: BindingObjectResourceGrantAndPolicyDetailOutputRepresentation__selections, opaque: BindingObjectResourceGrantAndPolicyDetailOutputRepresentation__opaque, } = select$3();
4016
+ const { selections: LookupDetailOutputRepresentation__selections, opaque: LookupDetailOutputRepresentation__opaque, } = select$6();
3527
4017
  return {
3528
4018
  kind: 'Fragment',
3529
4019
  version: VERSION$1,
@@ -3560,7 +4050,7 @@ function equals$1(existing, incoming) {
3560
4050
  if (existing_bindingObjectRate === undefined || incoming_bindingObjectRate === undefined) {
3561
4051
  return false;
3562
4052
  }
3563
- if (!(equals$5(existing_bindingObjectRate, incoming_bindingObjectRate))) {
4053
+ if (!(equals$6(existing_bindingObjectRate, incoming_bindingObjectRate))) {
3564
4054
  return false;
3565
4055
  }
3566
4056
  }
@@ -3573,7 +4063,7 @@ function equals$1(existing, incoming) {
3573
4063
  if (existing_bindingObjectResourceGrantAndPolicyDetail === undefined || incoming_bindingObjectResourceGrantAndPolicyDetail === undefined) {
3574
4064
  return false;
3575
4065
  }
3576
- if (!(equals$3(existing_bindingObjectResourceGrantAndPolicyDetail, incoming_bindingObjectResourceGrantAndPolicyDetail))) {
4066
+ if (!(equals$2(existing_bindingObjectResourceGrantAndPolicyDetail, incoming_bindingObjectResourceGrantAndPolicyDetail))) {
3577
4067
  return false;
3578
4068
  }
3579
4069
  }
@@ -3586,7 +4076,7 @@ function equals$1(existing, incoming) {
3586
4076
  if (existing_usageResource === undefined || incoming_usageResource === undefined) {
3587
4077
  return false;
3588
4078
  }
3589
- if (!(equals$2(existing_usageResource, incoming_usageResource))) {
4079
+ if (!(equals$5(existing_usageResource, incoming_usageResource))) {
3590
4080
  return false;
3591
4081
  }
3592
4082
  }
@@ -3609,7 +4099,7 @@ function validate(obj, path = 'UsageDetailBindingObjectOutputRepresentation') {
3609
4099
  for (let i = 0; i < obj_errors.length; i++) {
3610
4100
  const obj_errors_item = obj_errors[i];
3611
4101
  const path_errors_item = path_errors + '[' + i + ']';
3612
- const referencepath_errors_itemValidationError = validate$e(obj_errors_item, path_errors_item);
4102
+ const referencepath_errors_itemValidationError = validate$f(obj_errors_item, path_errors_item);
3613
4103
  if (referencepath_errors_itemValidationError !== null) {
3614
4104
  let message = 'Object doesn\'t match UsageDetailErrorResponseRepresentation (at "' + path_errors_item + '")\n';
3615
4105
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3642,7 +4132,7 @@ function normalize(input, existing, path, luvio, store, timestamp) {
3642
4132
  return input;
3643
4133
  }
3644
4134
  const select$1 = function UsageDetailBindingObjectOutputRepresentationSelect() {
3645
- const { selections: UsageDetailErrorResponseRepresentation__selections, opaque: UsageDetailErrorResponseRepresentation__opaque, } = select$i();
4135
+ const { selections: UsageDetailErrorResponseRepresentation__selections, opaque: UsageDetailErrorResponseRepresentation__opaque, } = select$j();
3646
4136
  const { selections: BindingObjectDetailOutputRepresentation__selections, opaque: BindingObjectDetailOutputRepresentation__opaque, } = select$2();
3647
4137
  return {
3648
4138
  kind: 'Fragment',
@@ -3677,7 +4167,7 @@ function equals(existing, incoming) {
3677
4167
  return false;
3678
4168
  }
3679
4169
  const equals_errors_items = equalsArray(existing_errors, incoming_errors, (existing_errors_item, incoming_errors_item) => {
3680
- if (!(equals$e(existing_errors_item, incoming_errors_item))) {
4170
+ if (!(equals$f(existing_errors_item, incoming_errors_item))) {
3681
4171
  return false;
3682
4172
  }
3683
4173
  });