@salesforce/lds-adapters-industries-docgen 1.289.0 → 1.291.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -112,7 +112,7 @@ function createLink(ref) {
112
112
  };
113
113
  }
114
114
 
115
- const VERSION$m = "c0cdffc7d0ce780dd3dbd6844cb94df8";
115
+ const VERSION$k = "c0cdffc7d0ce780dd3dbd6844cb94df8";
116
116
  function validate$o(obj, path = 'ClauseCategoryResponse') {
117
117
  const v_error = (() => {
118
118
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -138,10 +138,10 @@ function validate$o(obj, path = 'ClauseCategoryResponse') {
138
138
  })();
139
139
  return v_error === undefined ? null : v_error;
140
140
  }
141
- const select$B = function ClauseCategoryResponseSelect() {
141
+ const select$z = function ClauseCategoryResponseSelect() {
142
142
  return {
143
143
  kind: 'Fragment',
144
- version: VERSION$m,
144
+ version: VERSION$k,
145
145
  private: [],
146
146
  selections: [
147
147
  {
@@ -160,7 +160,7 @@ const select$B = function ClauseCategoryResponseSelect() {
160
160
  ]
161
161
  };
162
162
  };
163
- function equals$m(existing, incoming) {
163
+ function equals$k(existing, incoming) {
164
164
  const existing_id = existing.id;
165
165
  const incoming_id = incoming.id;
166
166
  // if at least one of these optionals is defined
@@ -187,8 +187,8 @@ function equals$m(existing, incoming) {
187
187
  return true;
188
188
  }
189
189
 
190
- const TTL$7 = 30000;
191
- const VERSION$l = "6f04ab6a782443d237ece40b87b8d756";
190
+ const TTL$8 = 30000;
191
+ const VERSION$j = "6f04ab6a782443d237ece40b87b8d756";
192
192
  function validate$n(obj, path = 'ClauseCategoriesResponse') {
193
193
  const v_error = (() => {
194
194
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -216,11 +216,11 @@ const RepresentationType$d = 'ClauseCategoriesResponse';
216
216
  function normalize$d(input, existing, path, luvio, store, timestamp) {
217
217
  return input;
218
218
  }
219
- const select$A = function ClauseCategoriesResponseSelect() {
220
- const { selections: ClauseCategoryResponse__selections, opaque: ClauseCategoryResponse__opaque, } = select$B();
219
+ const select$y = function ClauseCategoriesResponseSelect() {
220
+ const { selections: ClauseCategoryResponse__selections, opaque: ClauseCategoryResponse__opaque, } = select$z();
221
221
  return {
222
222
  kind: 'Fragment',
223
- version: VERSION$l,
223
+ version: VERSION$j,
224
224
  private: [],
225
225
  selections: [
226
226
  {
@@ -232,11 +232,11 @@ const select$A = function ClauseCategoriesResponseSelect() {
232
232
  ]
233
233
  };
234
234
  };
235
- function equals$l(existing, incoming) {
235
+ function equals$j(existing, incoming) {
236
236
  const existing_clauseCategories = existing.clauseCategories;
237
237
  const incoming_clauseCategories = incoming.clauseCategories;
238
238
  const equals_clauseCategories_items = equalsArray(existing_clauseCategories, incoming_clauseCategories, (existing_clauseCategories_item, incoming_clauseCategories_item) => {
239
- if (!(equals$m(existing_clauseCategories_item, incoming_clauseCategories_item))) {
239
+ if (!(equals$k(existing_clauseCategories_item, incoming_clauseCategories_item))) {
240
240
  return false;
241
241
  }
242
242
  });
@@ -253,8 +253,8 @@ const ingest$d = function ClauseCategoriesResponseIngest(input, path, luvio, sto
253
253
  }
254
254
  }
255
255
  const key = path.fullPath;
256
- const ttlToUse = TTL$7;
257
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "docgen", VERSION$l, RepresentationType$d, equals$l);
256
+ const ttlToUse = TTL$8;
257
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "docgen", VERSION$j, RepresentationType$d, equals$j);
258
258
  return createLink(key);
259
259
  };
260
260
  function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
@@ -267,8 +267,8 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
267
267
  });
268
268
  }
269
269
 
270
- function select$z(luvio, params) {
271
- return select$A();
270
+ function select$x(luvio, params) {
271
+ return select$y();
272
272
  }
273
273
  function keyBuilder$l(luvio, params) {
274
274
  return keyPrefix + '::ClauseCategoriesResponse:(' + 'id:' + params.queryParams.id + ',' + 'name:' + params.queryParams.name + ',' + 'usageType:' + params.queryParams.usageType + ')';
@@ -282,7 +282,7 @@ function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
282
282
  luvio.storeIngest(key, ingest$d, body);
283
283
  const snapshot = luvio.storeLookup({
284
284
  recordId: key,
285
- node: select$z(),
285
+ node: select$x(),
286
286
  variables: {},
287
287
  }, snapshotRefresh);
288
288
  if (process.env.NODE_ENV !== 'production') {
@@ -297,9 +297,9 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
297
297
  const key = keyBuilder$l(luvio, params);
298
298
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
299
299
  const storeMetadataParams = {
300
- ttl: TTL$7,
300
+ ttl: TTL$8,
301
301
  namespace: keyPrefix,
302
- version: VERSION$l,
302
+ version: VERSION$j,
303
303
  representationName: RepresentationType$d
304
304
  };
305
305
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
@@ -308,7 +308,7 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
308
308
  function createResourceRequest$e(config) {
309
309
  const headers = {};
310
310
  return {
311
- baseUri: '/services/data/v61.0',
311
+ baseUri: '/services/data/v62.0',
312
312
  basePath: '/connect/clause-library/clause-category-configurations',
313
313
  method: 'get',
314
314
  body: null,
@@ -351,7 +351,7 @@ function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
351
351
  }
352
352
  function adapterFragment$7(luvio, config) {
353
353
  createResourceParams$e(config);
354
- return select$z();
354
+ return select$x();
355
355
  }
356
356
  function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
357
357
  const snapshot = ingestSuccess$e(luvio, resourceParams, response, {
@@ -407,7 +407,7 @@ const getDocumentClauseSetCategoriesAdapterFactory = (luvio) => function docgen_
407
407
  buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
408
408
  };
409
409
 
410
- const VERSION$k = "29a9e61a0952cff8f7e98cc7d8857c62";
410
+ const VERSION$i = "29a9e61a0952cff8f7e98cc7d8857c62";
411
411
  function validate$m(obj, path = 'DocumentClauseSetResponse') {
412
412
  const v_error = (() => {
413
413
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -446,10 +446,10 @@ function validate$m(obj, path = 'DocumentClauseSetResponse') {
446
446
  })();
447
447
  return v_error === undefined ? null : v_error;
448
448
  }
449
- const select$y = function DocumentClauseSetResponseSelect() {
449
+ const select$w = function DocumentClauseSetResponseSelect() {
450
450
  return {
451
451
  kind: 'Fragment',
452
- version: VERSION$k,
452
+ version: VERSION$i,
453
453
  private: [],
454
454
  selections: [
455
455
  {
@@ -479,7 +479,7 @@ const select$y = function DocumentClauseSetResponseSelect() {
479
479
  ]
480
480
  };
481
481
  };
482
- function equals$k(existing, incoming) {
482
+ function equals$i(existing, incoming) {
483
483
  const existing_category = existing.category;
484
484
  const incoming_category = incoming.category;
485
485
  if (!(existing_category === incoming_category)) {
@@ -513,8 +513,8 @@ function equals$k(existing, incoming) {
513
513
  return true;
514
514
  }
515
515
 
516
- const TTL$6 = 100;
517
- const VERSION$j = "c6ad1fbdbd4d8cd718a8a62c63216687";
516
+ const TTL$7 = 100;
517
+ const VERSION$h = "c6ad1fbdbd4d8cd718a8a62c63216687";
518
518
  function validate$l(obj, path = 'DocumentClauseSetListResponse') {
519
519
  const v_error = (() => {
520
520
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -542,11 +542,11 @@ const RepresentationType$c = 'DocumentClauseSetListResponse';
542
542
  function normalize$c(input, existing, path, luvio, store, timestamp) {
543
543
  return input;
544
544
  }
545
- const select$x = function DocumentClauseSetListResponseSelect() {
546
- const { selections: DocumentClauseSetResponse__selections, opaque: DocumentClauseSetResponse__opaque, } = select$y();
545
+ const select$v = function DocumentClauseSetListResponseSelect() {
546
+ const { selections: DocumentClauseSetResponse__selections, opaque: DocumentClauseSetResponse__opaque, } = select$w();
547
547
  return {
548
548
  kind: 'Fragment',
549
- version: VERSION$j,
549
+ version: VERSION$h,
550
550
  private: [],
551
551
  selections: [
552
552
  {
@@ -558,11 +558,11 @@ const select$x = function DocumentClauseSetListResponseSelect() {
558
558
  ]
559
559
  };
560
560
  };
561
- function equals$j(existing, incoming) {
561
+ function equals$h(existing, incoming) {
562
562
  const existing_documentClauseSets = existing.documentClauseSets;
563
563
  const incoming_documentClauseSets = incoming.documentClauseSets;
564
564
  const equals_documentClauseSets_items = equalsArray(existing_documentClauseSets, incoming_documentClauseSets, (existing_documentClauseSets_item, incoming_documentClauseSets_item) => {
565
- if (!(equals$k(existing_documentClauseSets_item, incoming_documentClauseSets_item))) {
565
+ if (!(equals$i(existing_documentClauseSets_item, incoming_documentClauseSets_item))) {
566
566
  return false;
567
567
  }
568
568
  });
@@ -579,8 +579,8 @@ const ingest$c = function DocumentClauseSetListResponseIngest(input, path, luvio
579
579
  }
580
580
  }
581
581
  const key = path.fullPath;
582
- const ttlToUse = TTL$6;
583
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "docgen", VERSION$j, RepresentationType$c, equals$j);
582
+ const ttlToUse = TTL$7;
583
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "docgen", VERSION$h, RepresentationType$c, equals$h);
584
584
  return createLink(key);
585
585
  };
586
586
  function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
@@ -593,8 +593,8 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
593
593
  });
594
594
  }
595
595
 
596
- function select$w(luvio, params) {
597
- return select$x();
596
+ function select$u(luvio, params) {
597
+ return select$v();
598
598
  }
599
599
  function keyBuilder$j(luvio, params) {
600
600
  return keyPrefix + '::DocumentClauseSetListResponse:(' + 'category:' + params.queryParams.category + ',' + 'defaultLanguage:' + params.queryParams.defaultLanguage + ',' + 'limit:' + params.queryParams.limit + ',' + 'name:' + params.queryParams.name + ',' + 'offset:' + params.queryParams.offset + ',' + 'status:' + params.queryParams.status + ')';
@@ -608,7 +608,7 @@ function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
608
608
  luvio.storeIngest(key, ingest$c, body);
609
609
  const snapshot = luvio.storeLookup({
610
610
  recordId: key,
611
- node: select$w(),
611
+ node: select$u(),
612
612
  variables: {},
613
613
  }, snapshotRefresh);
614
614
  if (process.env.NODE_ENV !== 'production') {
@@ -623,9 +623,9 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
623
623
  const key = keyBuilder$j(luvio, params);
624
624
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
625
625
  const storeMetadataParams = {
626
- ttl: TTL$6,
626
+ ttl: TTL$7,
627
627
  namespace: keyPrefix,
628
- version: VERSION$j,
628
+ version: VERSION$h,
629
629
  representationName: RepresentationType$c
630
630
  };
631
631
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
@@ -634,7 +634,7 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
634
634
  function createResourceRequest$d(config) {
635
635
  const headers = {};
636
636
  return {
637
- baseUri: '/services/data/v61.0',
637
+ baseUri: '/services/data/v62.0',
638
638
  basePath: '/connect/clause-library/document-clause-sets',
639
639
  method: 'get',
640
640
  body: null,
@@ -680,7 +680,7 @@ function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
680
680
  }
681
681
  function adapterFragment$6(luvio, config) {
682
682
  createResourceParams$d(config);
683
- return select$w();
683
+ return select$u();
684
684
  }
685
685
  function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
686
686
  const snapshot = ingestSuccess$d(luvio, resourceParams, response, {
@@ -736,8 +736,8 @@ const getDocumentClauseSetsAdapterFactory = (luvio) => function docgen__getDocum
736
736
  buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
737
737
  };
738
738
 
739
- const TTL$5 = 100;
740
- const VERSION$i = "a3afe2a67715551a49f0d59eafb639aa";
739
+ const TTL$6 = 100;
740
+ const VERSION$g = "a3afe2a67715551a49f0d59eafb639aa";
741
741
  function validate$k(obj, path = 'DocumentClauseFieldsResponse') {
742
742
  const v_error = (() => {
743
743
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -767,10 +767,10 @@ const RepresentationType$b = 'DocumentClauseFieldsResponse';
767
767
  function normalize$b(input, existing, path, luvio, store, timestamp) {
768
768
  return input;
769
769
  }
770
- const select$v = function DocumentClauseFieldsResponseSelect() {
770
+ const select$t = function DocumentClauseFieldsResponseSelect() {
771
771
  return {
772
772
  kind: 'Fragment',
773
- version: VERSION$i,
773
+ version: VERSION$g,
774
774
  private: [],
775
775
  selections: [
776
776
  {
@@ -786,7 +786,7 @@ const select$v = function DocumentClauseFieldsResponseSelect() {
786
786
  ]
787
787
  };
788
788
  };
789
- function equals$i(existing, incoming) {
789
+ function equals$g(existing, incoming) {
790
790
  const existing_extendedFields = existing.extendedFields;
791
791
  const incoming_extendedFields = incoming.extendedFields;
792
792
  if (JSONStringify(incoming_extendedFields) !== JSONStringify(existing_extendedFields)) {
@@ -812,8 +812,8 @@ const ingest$b = function DocumentClauseFieldsResponseIngest(input, path, luvio,
812
812
  }
813
813
  }
814
814
  const key = path.fullPath;
815
- const ttlToUse = TTL$5;
816
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "docgen", VERSION$i, RepresentationType$b, equals$i);
815
+ const ttlToUse = TTL$6;
816
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "docgen", VERSION$g, RepresentationType$b, equals$g);
817
817
  return createLink(key);
818
818
  };
819
819
  function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
@@ -826,8 +826,8 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
826
826
  });
827
827
  }
828
828
 
829
- function select$u(luvio, params) {
830
- return select$v();
829
+ function select$s(luvio, params) {
830
+ return select$t();
831
831
  }
832
832
  function keyBuilder$h(luvio, params) {
833
833
  return keyPrefix + '::DocumentClauseFieldsResponse:(' + 'clauseSetId:' + params.queryParams.clauseSetId + ',' + 'extendedFields:' + params.queryParams.extendedFields + ',' + 'fieldName:' + params.queryParams.fieldName + ',' + 'language:' + params.queryParams.language + ',' + 'name:' + params.queryParams.name + ',' + 'status:' + params.queryParams.status + ')';
@@ -841,7 +841,7 @@ function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
841
841
  luvio.storeIngest(key, ingest$b, body);
842
842
  const snapshot = luvio.storeLookup({
843
843
  recordId: key,
844
- node: select$u(),
844
+ node: select$s(),
845
845
  variables: {},
846
846
  }, snapshotRefresh);
847
847
  if (process.env.NODE_ENV !== 'production') {
@@ -856,9 +856,9 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
856
856
  const key = keyBuilder$h(luvio, params);
857
857
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
858
858
  const storeMetadataParams = {
859
- ttl: TTL$5,
859
+ ttl: TTL$6,
860
860
  namespace: keyPrefix,
861
- version: VERSION$i,
861
+ version: VERSION$g,
862
862
  representationName: RepresentationType$b
863
863
  };
864
864
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
@@ -867,7 +867,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
867
867
  function createResourceRequest$c(config) {
868
868
  const headers = {};
869
869
  return {
870
- baseUri: '/services/data/v61.0',
870
+ baseUri: '/services/data/v62.0',
871
871
  basePath: '/connect/clause-library/document-clauses/fields',
872
872
  method: 'get',
873
873
  body: null,
@@ -913,7 +913,7 @@ function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
913
913
  }
914
914
  function adapterFragment$5(luvio, config) {
915
915
  createResourceParams$c(config);
916
- return select$u();
916
+ return select$s();
917
917
  }
918
918
  function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
919
919
  const snapshot = ingestSuccess$c(luvio, resourceParams, response, {
@@ -969,8 +969,8 @@ const getDocumentClauseFieldsAdapterFactory = (luvio) => function docgen__getDoc
969
969
  buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
970
970
  };
971
971
 
972
- const TTL$4 = 60000;
973
- const VERSION$h = "af0246ac09fd1b3b2a939d90b8caa15d";
972
+ const TTL$5 = 60000;
973
+ const VERSION$f = "af0246ac09fd1b3b2a939d90b8caa15d";
974
974
  function validate$j(obj, path = 'DocumentClausePromotionResponse') {
975
975
  const v_error = (() => {
976
976
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1002,10 +1002,10 @@ function keyBuilderFromType$5(luvio, object) {
1002
1002
  function normalize$a(input, existing, path, luvio, store, timestamp) {
1003
1003
  return input;
1004
1004
  }
1005
- const select$t = function DocumentClausePromotionResponseSelect() {
1005
+ const select$r = function DocumentClausePromotionResponseSelect() {
1006
1006
  return {
1007
1007
  kind: 'Fragment',
1008
- version: VERSION$h,
1008
+ version: VERSION$f,
1009
1009
  private: [],
1010
1010
  selections: [
1011
1011
  {
@@ -1019,7 +1019,7 @@ const select$t = function DocumentClausePromotionResponseSelect() {
1019
1019
  ]
1020
1020
  };
1021
1021
  };
1022
- function equals$h(existing, incoming) {
1022
+ function equals$f(existing, incoming) {
1023
1023
  const existing_isSuccess = existing.isSuccess;
1024
1024
  const incoming_isSuccess = incoming.isSuccess;
1025
1025
  if (!(existing_isSuccess === incoming_isSuccess)) {
@@ -1040,8 +1040,8 @@ const ingest$a = function DocumentClausePromotionResponseIngest(input, path, luv
1040
1040
  }
1041
1041
  }
1042
1042
  const key = keyBuilderFromType$5(luvio, input);
1043
- const ttlToUse = TTL$4;
1044
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "docgen", VERSION$h, RepresentationType$a, equals$h);
1043
+ const ttlToUse = TTL$5;
1044
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "docgen", VERSION$f, RepresentationType$a, equals$f);
1045
1045
  return createLink(key);
1046
1046
  };
1047
1047
  function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
@@ -1054,8 +1054,8 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
1054
1054
  });
1055
1055
  }
1056
1056
 
1057
- function select$s(luvio, params) {
1058
- return select$t();
1057
+ function select$q(luvio, params) {
1058
+ return select$r();
1059
1059
  }
1060
1060
  function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
1061
1061
  getTypeCacheKeys$a(storeKeyMap, luvio, response);
@@ -1066,7 +1066,7 @@ function ingestSuccess$b(luvio, resourceParams, response) {
1066
1066
  luvio.storeIngest(key, ingest$a, body);
1067
1067
  const snapshot = luvio.storeLookup({
1068
1068
  recordId: key,
1069
- node: select$s(),
1069
+ node: select$q(),
1070
1070
  variables: {},
1071
1071
  });
1072
1072
  if (process.env.NODE_ENV !== 'production') {
@@ -1080,7 +1080,7 @@ function ingestSuccess$b(luvio, resourceParams, response) {
1080
1080
  function createResourceRequest$b(config) {
1081
1081
  const headers = {};
1082
1082
  return {
1083
- baseUri: '/services/data/v61.0',
1083
+ baseUri: '/services/data/v62.0',
1084
1084
  basePath: '/connect/clause-library/promote-clause',
1085
1085
  method: 'post',
1086
1086
  body: config.body,
@@ -1151,7 +1151,7 @@ const postDocumentClausePromotionAdapterFactory = (luvio) => {
1151
1151
  };
1152
1152
  };
1153
1153
 
1154
- const VERSION$g = "c8652b5c3ad8c532087704340d3cad55";
1154
+ const VERSION$e = "c8652b5c3ad8c532087704340d3cad55";
1155
1155
  function validate$i(obj, path = 'GenericOutputRepresentation') {
1156
1156
  const v_error = (() => {
1157
1157
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1185,10 +1185,10 @@ function keyBuilderFromType$4(luvio, object) {
1185
1185
  function normalize$9(input, existing, path, luvio, store, timestamp) {
1186
1186
  return input;
1187
1187
  }
1188
- const select$r = function GenericOutputRepresentationSelect() {
1188
+ const select$p = function GenericOutputRepresentationSelect() {
1189
1189
  return {
1190
1190
  kind: 'Fragment',
1191
- version: VERSION$g,
1191
+ version: VERSION$e,
1192
1192
  private: [],
1193
1193
  selections: [
1194
1194
  {
@@ -1203,7 +1203,7 @@ const select$r = function GenericOutputRepresentationSelect() {
1203
1203
  ]
1204
1204
  };
1205
1205
  };
1206
- function equals$g(existing, incoming) {
1206
+ function equals$e(existing, incoming) {
1207
1207
  const existing_isSuccess = existing.isSuccess;
1208
1208
  const incoming_isSuccess = incoming.isSuccess;
1209
1209
  // if at least one of these optionals is defined
@@ -1233,7 +1233,7 @@ const ingest$9 = function GenericOutputRepresentationIngest(input, path, luvio,
1233
1233
  }
1234
1234
  const key = keyBuilderFromType$4(luvio, input);
1235
1235
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
1236
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "docgen", VERSION$g, RepresentationType$9, equals$g);
1236
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "docgen", VERSION$e, RepresentationType$9, equals$e);
1237
1237
  return createLink(key);
1238
1238
  };
1239
1239
  function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
@@ -1246,8 +1246,8 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
1246
1246
  });
1247
1247
  }
1248
1248
 
1249
- function select$q(luvio, params) {
1250
- return select$r();
1249
+ function select$o(luvio, params) {
1250
+ return select$p();
1251
1251
  }
1252
1252
  function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
1253
1253
  getTypeCacheKeys$9(storeKeyMap, luvio, response);
@@ -1258,7 +1258,7 @@ function ingestSuccess$a(luvio, resourceParams, response) {
1258
1258
  luvio.storeIngest(key, ingest$9, body);
1259
1259
  const snapshot = luvio.storeLookup({
1260
1260
  recordId: key,
1261
- node: select$q(),
1261
+ node: select$o(),
1262
1262
  variables: {},
1263
1263
  });
1264
1264
  if (process.env.NODE_ENV !== 'production') {
@@ -1272,7 +1272,7 @@ function ingestSuccess$a(luvio, resourceParams, response) {
1272
1272
  function createResourceRequest$a(config) {
1273
1273
  const headers = {};
1274
1274
  return {
1275
- baseUri: '/services/data/v61.0',
1275
+ baseUri: '/services/data/v62.0',
1276
1276
  basePath: '/connect/docgen/doc-generation-batch-process/' + config.urlParams.docGenerationBatchProcessId + '/' + config.urlParams.actionName + '',
1277
1277
  method: 'patch',
1278
1278
  body: null,
@@ -1337,7 +1337,6 @@ const performDocGenerationBatchProcessActionAdapterFactory = (luvio) => {
1337
1337
  };
1338
1338
  };
1339
1339
 
1340
- const VERSION$f = "22c47baf9ebfb5ceb4acd1d28c231ced";
1341
1340
  function validate$h(obj, path = 'DocumentTemplateChildRepresentation') {
1342
1341
  const v_error = (() => {
1343
1342
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1366,56 +1365,7 @@ function validate$h(obj, path = 'DocumentTemplateChildRepresentation') {
1366
1365
  })();
1367
1366
  return v_error === undefined ? null : v_error;
1368
1367
  }
1369
- const select$p = function DocumentTemplateChildRepresentationSelect() {
1370
- return {
1371
- kind: 'Fragment',
1372
- version: VERSION$f,
1373
- private: [],
1374
- selections: [
1375
- {
1376
- name: 'id',
1377
- kind: 'Scalar'
1378
- },
1379
- {
1380
- name: 'lastModified',
1381
- kind: 'Scalar'
1382
- },
1383
- {
1384
- name: 'name',
1385
- kind: 'Scalar'
1386
- },
1387
- {
1388
- name: 'status',
1389
- kind: 'Scalar'
1390
- }
1391
- ]
1392
- };
1393
- };
1394
- function equals$f(existing, incoming) {
1395
- const existing_id = existing.id;
1396
- const incoming_id = incoming.id;
1397
- if (!(existing_id === incoming_id)) {
1398
- return false;
1399
- }
1400
- const existing_lastModified = existing.lastModified;
1401
- const incoming_lastModified = incoming.lastModified;
1402
- if (!(existing_lastModified === incoming_lastModified)) {
1403
- return false;
1404
- }
1405
- const existing_name = existing.name;
1406
- const incoming_name = incoming.name;
1407
- if (!(existing_name === incoming_name)) {
1408
- return false;
1409
- }
1410
- const existing_status = existing.status;
1411
- const incoming_status = incoming.status;
1412
- if (!(existing_status === incoming_status)) {
1413
- return false;
1414
- }
1415
- return true;
1416
- }
1417
1368
 
1418
- const VERSION$e = "bcca69b0fc93d727f32d8348cda781c7";
1419
1369
  function validate$g(obj, path = 'DocumentTemplateParentRepresentation') {
1420
1370
  const v_error = (() => {
1421
1371
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1480,126 +1430,8 @@ function validate$g(obj, path = 'DocumentTemplateParentRepresentation') {
1480
1430
  })();
1481
1431
  return v_error === undefined ? null : v_error;
1482
1432
  }
1483
- const select$o = function DocumentTemplateParentRepresentationSelect() {
1484
- const { selections: DocumentTemplateChildRepresentation__selections, opaque: DocumentTemplateChildRepresentation__opaque, } = select$p();
1485
- return {
1486
- kind: 'Fragment',
1487
- version: VERSION$e,
1488
- private: [],
1489
- selections: [
1490
- {
1491
- name: 'hasMoreVersions',
1492
- kind: 'Scalar',
1493
- required: false
1494
- },
1495
- {
1496
- name: 'isActive',
1497
- kind: 'Scalar'
1498
- },
1499
- {
1500
- name: 'lastModifiedDate',
1501
- kind: 'Scalar'
1502
- },
1503
- {
1504
- name: 'name',
1505
- kind: 'Scalar'
1506
- },
1507
- {
1508
- name: 'namespace',
1509
- kind: 'Scalar',
1510
- required: false
1511
- },
1512
- {
1513
- name: 'type',
1514
- kind: 'Scalar'
1515
- },
1516
- {
1517
- name: 'usageType',
1518
- kind: 'Scalar',
1519
- required: false
1520
- },
1521
- {
1522
- name: 'versions',
1523
- kind: 'Object',
1524
- plural: true,
1525
- selections: DocumentTemplateChildRepresentation__selections
1526
- }
1527
- ]
1528
- };
1529
- };
1530
- function equals$e(existing, incoming) {
1531
- const existing_hasMoreVersions = existing.hasMoreVersions;
1532
- const incoming_hasMoreVersions = incoming.hasMoreVersions;
1533
- // if at least one of these optionals is defined
1534
- if (existing_hasMoreVersions !== undefined || incoming_hasMoreVersions !== undefined) {
1535
- // if one of these is not defined we know the other is defined and therefore
1536
- // not equal
1537
- if (existing_hasMoreVersions === undefined || incoming_hasMoreVersions === undefined) {
1538
- return false;
1539
- }
1540
- if (!(existing_hasMoreVersions === incoming_hasMoreVersions)) {
1541
- return false;
1542
- }
1543
- }
1544
- const existing_isActive = existing.isActive;
1545
- const incoming_isActive = incoming.isActive;
1546
- if (!(existing_isActive === incoming_isActive)) {
1547
- return false;
1548
- }
1549
- const existing_lastModifiedDate = existing.lastModifiedDate;
1550
- const incoming_lastModifiedDate = incoming.lastModifiedDate;
1551
- if (!(existing_lastModifiedDate === incoming_lastModifiedDate)) {
1552
- return false;
1553
- }
1554
- const existing_name = existing.name;
1555
- const incoming_name = incoming.name;
1556
- if (!(existing_name === incoming_name)) {
1557
- return false;
1558
- }
1559
- const existing_namespace = existing.namespace;
1560
- const incoming_namespace = incoming.namespace;
1561
- // if at least one of these optionals is defined
1562
- if (existing_namespace !== undefined || incoming_namespace !== undefined) {
1563
- // if one of these is not defined we know the other is defined and therefore
1564
- // not equal
1565
- if (existing_namespace === undefined || incoming_namespace === undefined) {
1566
- return false;
1567
- }
1568
- if (!(existing_namespace === incoming_namespace)) {
1569
- return false;
1570
- }
1571
- }
1572
- const existing_type = existing.type;
1573
- const incoming_type = incoming.type;
1574
- if (!(existing_type === incoming_type)) {
1575
- return false;
1576
- }
1577
- const existing_usageType = existing.usageType;
1578
- const incoming_usageType = incoming.usageType;
1579
- // if at least one of these optionals is defined
1580
- if (existing_usageType !== undefined || incoming_usageType !== undefined) {
1581
- // if one of these is not defined we know the other is defined and therefore
1582
- // not equal
1583
- if (existing_usageType === undefined || incoming_usageType === undefined) {
1584
- return false;
1585
- }
1586
- if (!(existing_usageType === incoming_usageType)) {
1587
- return false;
1588
- }
1589
- }
1590
- const existing_versions = existing.versions;
1591
- const incoming_versions = incoming.versions;
1592
- const equals_versions_items = equalsArray(existing_versions, incoming_versions, (existing_versions_item, incoming_versions_item) => {
1593
- if (!(equals$f(existing_versions_item, incoming_versions_item))) {
1594
- return false;
1595
- }
1596
- });
1597
- if (equals_versions_items === false) {
1598
- return false;
1599
- }
1600
- return true;
1601
- }
1602
1433
 
1434
+ const TTL$4 = 60000;
1603
1435
  const VERSION$d = "9233b507a0a143b5890d45f8d1e61202";
1604
1436
  function validate$f(obj, path = 'DocumentTemplateListRepresentation') {
1605
1437
  const v_error = (() => {
@@ -1645,76 +1477,16 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
1645
1477
  return input;
1646
1478
  }
1647
1479
  const select$n = function DocumentTemplateListRepresentationSelect() {
1648
- const { selections: DocumentTemplateParentRepresentation__selections, opaque: DocumentTemplateParentRepresentation__opaque, } = select$o();
1649
1480
  return {
1650
1481
  kind: 'Fragment',
1651
1482
  version: VERSION$d,
1652
1483
  private: [],
1653
- selections: [
1654
- {
1655
- name: 'data',
1656
- kind: 'Object',
1657
- plural: true,
1658
- selections: DocumentTemplateParentRepresentation__selections,
1659
- required: false
1660
- },
1661
- {
1662
- name: 'next',
1663
- kind: 'Scalar',
1664
- required: false
1665
- },
1666
- {
1667
- name: 'totalRecord',
1668
- kind: 'Scalar',
1669
- required: false
1670
- }
1671
- ]
1484
+ opaque: true
1672
1485
  };
1673
1486
  };
1674
1487
  function equals$d(existing, incoming) {
1675
- const existing_totalRecord = existing.totalRecord;
1676
- const incoming_totalRecord = incoming.totalRecord;
1677
- // if at least one of these optionals is defined
1678
- if (existing_totalRecord !== undefined || incoming_totalRecord !== undefined) {
1679
- // if one of these is not defined we know the other is defined and therefore
1680
- // not equal
1681
- if (existing_totalRecord === undefined || incoming_totalRecord === undefined) {
1682
- return false;
1683
- }
1684
- if (!(existing_totalRecord === incoming_totalRecord)) {
1685
- return false;
1686
- }
1687
- }
1688
- const existing_next = existing.next;
1689
- const incoming_next = incoming.next;
1690
- // if at least one of these optionals is defined
1691
- if (existing_next !== undefined || incoming_next !== undefined) {
1692
- // if one of these is not defined we know the other is defined and therefore
1693
- // not equal
1694
- if (existing_next === undefined || incoming_next === undefined) {
1695
- return false;
1696
- }
1697
- if (!(existing_next === incoming_next)) {
1698
- return false;
1699
- }
1700
- }
1701
- const existing_data = existing.data;
1702
- const incoming_data = incoming.data;
1703
- // if at least one of these optionals is defined
1704
- if (existing_data !== undefined || incoming_data !== undefined) {
1705
- // if one of these is not defined we know the other is defined and therefore
1706
- // not equal
1707
- if (existing_data === undefined || incoming_data === undefined) {
1708
- return false;
1709
- }
1710
- const equals_data_items = equalsArray(existing_data, incoming_data, (existing_data_item, incoming_data_item) => {
1711
- if (!(equals$e(existing_data_item, incoming_data_item))) {
1712
- return false;
1713
- }
1714
- });
1715
- if (equals_data_items === false) {
1716
- return false;
1717
- }
1488
+ if (JSONStringify(incoming) !== JSONStringify(existing)) {
1489
+ return false;
1718
1490
  }
1719
1491
  return true;
1720
1492
  }
@@ -1726,7 +1498,7 @@ const ingest$8 = function DocumentTemplateListRepresentationIngest(input, path,
1726
1498
  }
1727
1499
  }
1728
1500
  const key = path.fullPath;
1729
- const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
1501
+ const ttlToUse = TTL$4;
1730
1502
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "docgen", VERSION$d, RepresentationType$8, equals$d);
1731
1503
  return createLink(key);
1732
1504
  };
@@ -1769,13 +1541,19 @@ function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
1769
1541
  function ingestError$4(luvio, params, error, snapshotRefresh) {
1770
1542
  const key = keyBuilder$d(luvio, params);
1771
1543
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
1772
- luvio.storeIngestError(key, errorSnapshot);
1544
+ const storeMetadataParams = {
1545
+ ttl: TTL$4,
1546
+ namespace: keyPrefix,
1547
+ version: VERSION$d,
1548
+ representationName: RepresentationType$8
1549
+ };
1550
+ luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
1773
1551
  return errorSnapshot;
1774
1552
  }
1775
1553
  function createResourceRequest$9(config) {
1776
1554
  const headers = {};
1777
1555
  return {
1778
- baseUri: '/services/data/v61.0',
1556
+ baseUri: '/services/data/v62.0',
1779
1557
  basePath: '/connect/docgen/document-templates',
1780
1558
  method: 'get',
1781
1559
  body: null,
@@ -1973,7 +1751,7 @@ function ingestSuccess$8(luvio, resourceParams, response) {
1973
1751
  function createResourceRequest$8(config) {
1974
1752
  const headers = {};
1975
1753
  return {
1976
- baseUri: '/services/data/v61.0',
1754
+ baseUri: '/services/data/v62.0',
1977
1755
  basePath: '/connect/docgen/document-templates',
1978
1756
  method: 'patch',
1979
1757
  body: config.body,
@@ -2073,7 +1851,7 @@ function ingestSuccess$7(luvio, resourceParams, response) {
2073
1851
  function createResourceRequest$7(config) {
2074
1852
  const headers = {};
2075
1853
  return {
2076
- baseUri: '/services/data/v61.0',
1854
+ baseUri: '/services/data/v62.0',
2077
1855
  basePath: '/connect/docgen/document-templates',
2078
1856
  method: 'post',
2079
1857
  body: config.body,
@@ -2446,7 +2224,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
2446
2224
  function createResourceRequest$6(config) {
2447
2225
  const headers = {};
2448
2226
  return {
2449
- baseUri: '/services/data/v61.0',
2227
+ baseUri: '/services/data/v62.0',
2450
2228
  basePath: '/connect/e-sign/documents',
2451
2229
  method: 'get',
2452
2230
  body: null,
@@ -2912,7 +2690,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
2912
2690
  function createResourceRequest$5(config) {
2913
2691
  const headers = {};
2914
2692
  return {
2915
- baseUri: '/services/data/v61.0',
2693
+ baseUri: '/services/data/v62.0',
2916
2694
  basePath: '/connect/e-sign/notification-settings',
2917
2695
  method: 'get',
2918
2696
  body: null,
@@ -3278,7 +3056,7 @@ function ingestError$1(luvio, params, error, snapshotRefresh) {
3278
3056
  function createResourceRequest$4(config) {
3279
3057
  const headers = {};
3280
3058
  return {
3281
- baseUri: '/services/data/v61.0',
3059
+ baseUri: '/services/data/v62.0',
3282
3060
  basePath: '/connect/e-sign/recipients',
3283
3061
  method: 'get',
3284
3062
  body: null,
@@ -3545,7 +3323,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
3545
3323
  function createResourceRequest$3(config) {
3546
3324
  const headers = {};
3547
3325
  return {
3548
- baseUri: '/services/data/v61.0',
3326
+ baseUri: '/services/data/v62.0',
3549
3327
  basePath: '/connect/e-sign/signature-requests/' + config.urlParams.sourceObjectId + '/envelope/send',
3550
3328
  method: 'post',
3551
3329
  body: config.body,
@@ -3885,7 +3663,7 @@ function ingestSuccess$2(luvio, resourceParams, response) {
3885
3663
  function createResourceRequest$2(config) {
3886
3664
  const headers = {};
3887
3665
  return {
3888
- baseUri: '/services/data/v61.0',
3666
+ baseUri: '/services/data/v62.0',
3889
3667
  basePath: '/connect/e-sign/signature-requests/' + config.urlParams.sourceObjectId + '/envelopes/status',
3890
3668
  method: 'patch',
3891
3669
  body: null,
@@ -4151,7 +3929,7 @@ function ingestSuccess$1(luvio, resourceParams, response) {
4151
3929
  function createResourceRequest$1(config) {
4152
3930
  const headers = {};
4153
3931
  return {
4154
- baseUri: '/services/data/v61.0',
3932
+ baseUri: '/services/data/v62.0',
4155
3933
  basePath: '/connect/e-sign/signature-requests/' + config.urlParams.sourceObjectId + '/envelopes/void',
4156
3934
  method: 'patch',
4157
3935
  body: config.body,
@@ -4348,7 +4126,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
4348
4126
  function createResourceRequest(config) {
4349
4127
  const headers = {};
4350
4128
  return {
4351
- baseUri: '/services/data/v61.0',
4129
+ baseUri: '/services/data/v62.0',
4352
4130
  basePath: '/connect/e-sign/signer-roles',
4353
4131
  method: 'get',
4354
4132
  body: null,