@salesforce/lds-adapters-platform-appexchange 1.415.0 → 1.416.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.
@@ -903,20 +903,24 @@ function validate$C(obj, path = 'AppExchangeAssetListingDetailsRepresentation')
903
903
  if (typeof obj_description !== 'string') {
904
904
  return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
905
905
  }
906
- const obj_fullDescription = obj.fullDescription;
907
- const path_fullDescription = path + '.fullDescription';
908
- if (typeof obj_fullDescription !== 'string') {
909
- return new TypeError('Expected "string" but received "' + typeof obj_fullDescription + '" (at "' + path_fullDescription + '")');
906
+ if (obj.fullDescription !== undefined) {
907
+ const obj_fullDescription = obj.fullDescription;
908
+ const path_fullDescription = path + '.fullDescription';
909
+ if (typeof obj_fullDescription !== 'string') {
910
+ return new TypeError('Expected "string" but received "' + typeof obj_fullDescription + '" (at "' + path_fullDescription + '")');
911
+ }
910
912
  }
911
913
  const obj_id = obj.id;
912
914
  const path_id = path + '.id';
913
915
  if (typeof obj_id !== 'string') {
914
916
  return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
915
917
  }
916
- const obj_installPackagingPermission = obj.installPackagingPermission;
917
- const path_installPackagingPermission = path + '.installPackagingPermission';
918
- if (typeof obj_installPackagingPermission !== 'boolean') {
919
- return new TypeError('Expected "boolean" but received "' + typeof obj_installPackagingPermission + '" (at "' + path_installPackagingPermission + '")');
918
+ if (obj.installPackagingPermission !== undefined) {
919
+ const obj_installPackagingPermission = obj.installPackagingPermission;
920
+ const path_installPackagingPermission = path + '.installPackagingPermission';
921
+ if (typeof obj_installPackagingPermission !== 'boolean') {
922
+ return new TypeError('Expected "boolean" but received "' + typeof obj_installPackagingPermission + '" (at "' + path_installPackagingPermission + '")');
923
+ }
920
924
  }
921
925
  if (obj.installedPackage !== undefined) {
922
926
  const obj_installedPackage = obj.installedPackage;
@@ -928,26 +932,47 @@ function validate$C(obj, path = 'AppExchangeAssetListingDetailsRepresentation')
928
932
  return new TypeError(message);
929
933
  }
930
934
  }
935
+ if (obj.latestVersion !== undefined) {
936
+ const obj_latestVersion = obj.latestVersion;
937
+ const path_latestVersion = path + '.latestVersion';
938
+ const referencepath_latestVersionValidationError = validate$N(obj_latestVersion, path_latestVersion);
939
+ if (referencepath_latestVersionValidationError !== null) {
940
+ let message = 'Object doesn\'t match AppExchangeInstalledPackageRepresentation (at "' + path_latestVersion + '")\n';
941
+ message += referencepath_latestVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
942
+ return new TypeError(message);
943
+ }
944
+ }
945
+ if (obj.logoUrl !== undefined) {
946
+ const obj_logoUrl = obj.logoUrl;
947
+ const path_logoUrl = path + '.logoUrl';
948
+ if (typeof obj_logoUrl !== 'string') {
949
+ return new TypeError('Expected "string" but received "' + typeof obj_logoUrl + '" (at "' + path_logoUrl + '")');
950
+ }
951
+ }
931
952
  const obj_name = obj.name;
932
953
  const path_name = path + '.name';
933
954
  if (typeof obj_name !== 'string') {
934
955
  return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
935
956
  }
936
- const obj_pricing = obj.pricing;
937
- const path_pricing = path + '.pricing';
938
- const referencepath_pricingValidationError = validate$L(obj_pricing, path_pricing);
939
- if (referencepath_pricingValidationError !== null) {
940
- let message = 'Object doesn\'t match AppExchangePricingRepresentation (at "' + path_pricing + '")\n';
941
- message += referencepath_pricingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
942
- return new TypeError(message);
957
+ if (obj.pricing !== undefined) {
958
+ const obj_pricing = obj.pricing;
959
+ const path_pricing = path + '.pricing';
960
+ const referencepath_pricingValidationError = validate$L(obj_pricing, path_pricing);
961
+ if (referencepath_pricingValidationError !== null) {
962
+ let message = 'Object doesn\'t match AppExchangePricingRepresentation (at "' + path_pricing + '")\n';
963
+ message += referencepath_pricingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
964
+ return new TypeError(message);
965
+ }
943
966
  }
944
- const obj_publisher = obj.publisher;
945
- const path_publisher = path + '.publisher';
946
- const referencepath_publisherValidationError = validate$F(obj_publisher, path_publisher);
947
- if (referencepath_publisherValidationError !== null) {
948
- let message = 'Object doesn\'t match AppExchangePublisherRepresentation (at "' + path_publisher + '")\n';
949
- message += referencepath_publisherValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
950
- return new TypeError(message);
967
+ if (obj.publisher !== undefined) {
968
+ const obj_publisher = obj.publisher;
969
+ const path_publisher = path + '.publisher';
970
+ const referencepath_publisherValidationError = validate$F(obj_publisher, path_publisher);
971
+ if (referencepath_publisherValidationError !== null) {
972
+ let message = 'Object doesn\'t match AppExchangePublisherRepresentation (at "' + path_publisher + '")\n';
973
+ message += referencepath_publisherValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
974
+ return new TypeError(message);
975
+ }
951
976
  }
952
977
  if (obj.reviewsSummary !== undefined) {
953
978
  const obj_reviewsSummary = obj.reviewsSummary;
@@ -959,10 +984,12 @@ function validate$C(obj, path = 'AppExchangeAssetListingDetailsRepresentation')
959
984
  return new TypeError(message);
960
985
  }
961
986
  }
962
- const obj_title = obj.title;
963
- const path_title = path + '.title';
964
- if (typeof obj_title !== 'string') {
965
- return new TypeError('Expected "string" but received "' + typeof obj_title + '" (at "' + path_title + '")');
987
+ if (obj.title !== undefined) {
988
+ const obj_title = obj.title;
989
+ const path_title = path + '.title';
990
+ if (typeof obj_title !== 'string') {
991
+ return new TypeError('Expected "string" but received "' + typeof obj_title + '" (at "' + path_title + '")');
992
+ }
966
993
  }
967
994
  if (obj.topics !== undefined) {
968
995
  const obj_topics = obj.topics;
@@ -987,7 +1014,7 @@ function validate$C(obj, path = 'AppExchangeAssetListingDetailsRepresentation')
987
1014
  return v_error === undefined ? null : v_error;
988
1015
  }
989
1016
 
990
- const VERSION$9 = "a51ab879cac37a5376898c7d692a4bde";
1017
+ const VERSION$9 = "af8eadde7421ad2a44ad1e695b5b92f5";
991
1018
  function validate$B(obj, path = 'AppExchangeActionDetailsRepresentation') {
992
1019
  const v_error = (() => {
993
1020
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1038,16 +1065,6 @@ function validate$B(obj, path = 'AppExchangeActionDetailsRepresentation') {
1038
1065
  return v_error === undefined ? null : v_error;
1039
1066
  }
1040
1067
  const RepresentationType$6 = 'AppExchangeActionDetailsRepresentation';
1041
- function keyBuilder$d(luvio, config) {
1042
- return keyPrefix + '::' + RepresentationType$6 + ':' + config.listingId + ':' + config.actionId;
1043
- }
1044
- function keyBuilderFromType$3(luvio, object) {
1045
- const keyParams = {
1046
- listingId: object.listingDetails.id,
1047
- actionId: object.id
1048
- };
1049
- return keyBuilder$d(luvio, keyParams);
1050
- }
1051
1068
  function normalize$6(input, existing, path, luvio, store, timestamp) {
1052
1069
  return input;
1053
1070
  }
@@ -1072,14 +1089,14 @@ const ingest$6 = function AppExchangeActionDetailsRepresentationIngest(input, pa
1072
1089
  throw validateError;
1073
1090
  }
1074
1091
  }
1075
- const key = keyBuilderFromType$3(luvio, input);
1092
+ const key = path.fullPath;
1076
1093
  const ttlToUse = path.ttl !== undefined ? path.ttl : 3000;
1077
1094
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "appexchange", VERSION$9, RepresentationType$6, equals$9);
1078
1095
  return createLink(key);
1079
1096
  };
1080
1097
  function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
1081
1098
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1082
- const rootKey = keyBuilderFromType$3(luvio, input);
1099
+ const rootKey = fullPathFactory();
1083
1100
  rootKeySet.set(rootKey, {
1084
1101
  namespace: keyPrefix,
1085
1102
  representationName: RepresentationType$6,
@@ -1090,18 +1107,15 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
1090
1107
  function select$f(luvio, params) {
1091
1108
  return select$g();
1092
1109
  }
1093
- function keyBuilder$c(luvio, params) {
1094
- return keyBuilder$d(luvio, {
1095
- listingId: params.urlParams.listingId,
1096
- actionId: params.urlParams.actionId
1097
- });
1110
+ function keyBuilder$b(luvio, params) {
1111
+ return keyPrefix + '::AppExchangeActionDetailsRepresentation:(' + 'listingId:' + params.urlParams.listingId + ',' + 'actionId:' + params.urlParams.actionId + ')';
1098
1112
  }
1099
1113
  function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
1100
- getTypeCacheKeys$6(storeKeyMap, luvio, response);
1114
+ getTypeCacheKeys$6(storeKeyMap, luvio, response, () => keyBuilder$b(luvio, resourceParams));
1101
1115
  }
1102
1116
  function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
1103
1117
  const { body } = response;
1104
- const key = keyBuilder$c(luvio, resourceParams);
1118
+ const key = keyBuilder$b(luvio, resourceParams);
1105
1119
  luvio.storeIngest(key, ingest$6, body);
1106
1120
  const snapshot = luvio.storeLookup({
1107
1121
  recordId: key,
@@ -1117,7 +1131,7 @@ function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
1117
1131
  return snapshot;
1118
1132
  }
1119
1133
  function ingestError$4(luvio, params, error, snapshotRefresh) {
1120
- const key = keyBuilder$c(luvio, params);
1134
+ const key = keyBuilder$b(luvio, params);
1121
1135
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
1122
1136
  luvio.storeIngestError(key, errorSnapshot);
1123
1137
  return errorSnapshot;
@@ -1143,9 +1157,9 @@ const getActionDetails_ConfigPropertyMetadata = [
1143
1157
  ];
1144
1158
  const getActionDetails_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getActionDetails_ConfigPropertyMetadata);
1145
1159
  const createResourceParams$6 = /*#__PURE__*/ createResourceParams$7(getActionDetails_ConfigPropertyMetadata);
1146
- function keyBuilder$b(luvio, config) {
1160
+ function keyBuilder$a(luvio, config) {
1147
1161
  const resourceParams = createResourceParams$6(config);
1148
- return keyBuilder$c(luvio, resourceParams);
1162
+ return keyBuilder$b(luvio, resourceParams);
1149
1163
  }
1150
1164
  function typeCheckConfig$6(untrustedConfig) {
1151
1165
  const config = {};
@@ -1203,7 +1217,7 @@ function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext
1203
1217
  function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
1204
1218
  const { luvio, config } = context;
1205
1219
  const selector = {
1206
- recordId: keyBuilder$b(luvio, config),
1220
+ recordId: keyBuilder$a(luvio, config),
1207
1221
  node: adapterFragment$4(luvio, config),
1208
1222
  variables: {},
1209
1223
  };
@@ -1223,7 +1237,7 @@ const getActionDetailsAdapterFactory = (luvio) => function appexchange__getActio
1223
1237
  buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
1224
1238
  };
1225
1239
 
1226
- const VERSION$8 = "733d7d15da2e17ccbcb31554533e824a";
1240
+ const VERSION$8 = "26b5aef90eb0e483c0b2f8e4eca2ddac";
1227
1241
  function validate$A(obj, path = 'AppExchangeTopicDetailsRepresentation') {
1228
1242
  const v_error = (() => {
1229
1243
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1274,16 +1288,6 @@ function validate$A(obj, path = 'AppExchangeTopicDetailsRepresentation') {
1274
1288
  return v_error === undefined ? null : v_error;
1275
1289
  }
1276
1290
  const RepresentationType$5 = 'AppExchangeTopicDetailsRepresentation';
1277
- function keyBuilder$a(luvio, config) {
1278
- return keyPrefix + '::' + RepresentationType$5 + ':' + config.listingId + ':' + config.topicId;
1279
- }
1280
- function keyBuilderFromType$2(luvio, object) {
1281
- const keyParams = {
1282
- listingId: object.listingDetails.id,
1283
- topicId: object.id
1284
- };
1285
- return keyBuilder$a(luvio, keyParams);
1286
- }
1287
1291
  function normalize$5(input, existing, path, luvio, store, timestamp) {
1288
1292
  return input;
1289
1293
  }
@@ -1308,14 +1312,14 @@ const ingest$5 = function AppExchangeTopicDetailsRepresentationIngest(input, pat
1308
1312
  throw validateError;
1309
1313
  }
1310
1314
  }
1311
- const key = keyBuilderFromType$2(luvio, input);
1315
+ const key = path.fullPath;
1312
1316
  const ttlToUse = path.ttl !== undefined ? path.ttl : 3000;
1313
1317
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "appexchange", VERSION$8, RepresentationType$5, equals$8);
1314
1318
  return createLink(key);
1315
1319
  };
1316
1320
  function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
1317
1321
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1318
- const rootKey = keyBuilderFromType$2(luvio, input);
1322
+ const rootKey = fullPathFactory();
1319
1323
  rootKeySet.set(rootKey, {
1320
1324
  namespace: keyPrefix,
1321
1325
  representationName: RepresentationType$5,
@@ -1327,13 +1331,10 @@ function select$d(luvio, params) {
1327
1331
  return select$e();
1328
1332
  }
1329
1333
  function keyBuilder$9(luvio, params) {
1330
- return keyBuilder$a(luvio, {
1331
- listingId: params.urlParams.listingId,
1332
- topicId: params.urlParams.topicId
1333
- });
1334
+ return keyPrefix + '::AppExchangeTopicDetailsRepresentation:(' + 'listingId:' + params.urlParams.listingId + ',' + 'topicId:' + params.urlParams.topicId + ')';
1334
1335
  }
1335
1336
  function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
1336
- getTypeCacheKeys$5(storeKeyMap, luvio, response);
1337
+ getTypeCacheKeys$5(storeKeyMap, luvio, response, () => keyBuilder$9(luvio, resourceParams));
1337
1338
  }
1338
1339
  function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
1339
1340
  const { body } = response;
@@ -1,7 +1,7 @@
1
1
  import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
2
- import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, UncoercedConfiguration as adapter$45$utils_UncoercedConfiguration } from './adapter-utils';
2
+ import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
3
3
  import { ResourceRequestConfig as resources_getConnectAppexchangeAssetsListingsActionsByListingIdAndActionId_ResourceRequestConfig } from '../resources/getConnectAppexchangeAssetsListingsActionsByListingIdAndActionId';
4
- import { AppExchangeActionDetailsRepresentation as types_AppExchangeActionDetailsRepresentation_AppExchangeActionDetailsRepresentation, KeyParams as types_AppExchangeActionDetailsRepresentation_KeyParams } from '../types/AppExchangeActionDetailsRepresentation';
4
+ import { AppExchangeActionDetailsRepresentation as types_AppExchangeActionDetailsRepresentation_AppExchangeActionDetailsRepresentation } from '../types/AppExchangeActionDetailsRepresentation';
5
5
  export declare const adapterName = "getActionDetails";
6
6
  export declare const getActionDetails_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
7
7
  export declare const getActionDetails_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
@@ -26,4 +26,3 @@ export type BuildSnapshotContext = {
26
26
  export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_AppExchangeActionDetailsRepresentation_AppExchangeActionDetailsRepresentation, any>>;
27
27
  export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_AppExchangeActionDetailsRepresentation_AppExchangeActionDetailsRepresentation>): $64$luvio_engine_Snapshot<types_AppExchangeActionDetailsRepresentation_AppExchangeActionDetailsRepresentation, any>;
28
28
  export declare const getActionDetailsAdapterFactory: $64$luvio_engine_AdapterFactory<GetActionDetailsConfig, types_AppExchangeActionDetailsRepresentation_AppExchangeActionDetailsRepresentation>;
29
- export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_AppExchangeActionDetailsRepresentation_KeyParams, any>[]) => void;
@@ -1,7 +1,7 @@
1
1
  import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
2
- import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, UncoercedConfiguration as adapter$45$utils_UncoercedConfiguration } from './adapter-utils';
2
+ import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
3
3
  import { ResourceRequestConfig as resources_getConnectAppexchangeAssetsListingsTopicsByListingIdAndTopicId_ResourceRequestConfig } from '../resources/getConnectAppexchangeAssetsListingsTopicsByListingIdAndTopicId';
4
- import { AppExchangeTopicDetailsRepresentation as types_AppExchangeTopicDetailsRepresentation_AppExchangeTopicDetailsRepresentation, KeyParams as types_AppExchangeTopicDetailsRepresentation_KeyParams } from '../types/AppExchangeTopicDetailsRepresentation';
4
+ import { AppExchangeTopicDetailsRepresentation as types_AppExchangeTopicDetailsRepresentation_AppExchangeTopicDetailsRepresentation } from '../types/AppExchangeTopicDetailsRepresentation';
5
5
  export declare const adapterName = "getTopicDetails";
6
6
  export declare const getTopicDetails_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
7
7
  export declare const getTopicDetails_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
@@ -26,4 +26,3 @@ export type BuildSnapshotContext = {
26
26
  export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_AppExchangeTopicDetailsRepresentation_AppExchangeTopicDetailsRepresentation, any>>;
27
27
  export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_AppExchangeTopicDetailsRepresentation_AppExchangeTopicDetailsRepresentation>): $64$luvio_engine_Snapshot<types_AppExchangeTopicDetailsRepresentation_AppExchangeTopicDetailsRepresentation, any>;
28
28
  export declare const getTopicDetailsAdapterFactory: $64$luvio_engine_AdapterFactory<GetTopicDetailsConfig, types_AppExchangeTopicDetailsRepresentation_AppExchangeTopicDetailsRepresentation>;
29
- export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_AppExchangeTopicDetailsRepresentation_KeyParams, any>[]) => void;
@@ -1,10 +1,8 @@
1
1
  declare let getActionDetails: any;
2
- declare let getActionDetailsNotifyChange: any;
3
2
  declare let getAssetActions: any;
4
3
  declare let getAssetTopics: any;
5
4
  declare let getListingDetails: any;
6
5
  declare let getTopicDetails: any;
7
- declare let getTopicDetailsNotifyChange: any;
8
6
  declare let postAppExchangeUserEvents: any;
9
7
  declare let searchListings: any;
10
8
  declare let getActionDetails_imperative: any;
@@ -12,4 +10,4 @@ declare let getAssetActions_imperative: any;
12
10
  declare let getAssetTopics_imperative: any;
13
11
  declare let getListingDetails_imperative: any;
14
12
  declare let getTopicDetails_imperative: any;
15
- export { getActionDetails, getActionDetailsNotifyChange, getAssetActions, getAssetTopics, getListingDetails, getTopicDetails, getTopicDetailsNotifyChange, postAppExchangeUserEvents, searchListings, getActionDetails_imperative, getAssetActions_imperative, getAssetTopics_imperative, getListingDetails_imperative, getTopicDetails_imperative, };
13
+ export { getActionDetails, getAssetActions, getAssetTopics, getListingDetails, getTopicDetails, postAppExchangeUserEvents, searchListings, getActionDetails_imperative, getAssetActions_imperative, getAssetTopics_imperative, getListingDetails_imperative, getTopicDetails_imperative, };
@@ -14,4 +14,3 @@ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourcePar
14
14
  export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_AppExchangeActionDetailsRepresentation_AppExchangeActionDetailsRepresentation>): $64$luvio_engine_ErrorSnapshot;
15
15
  export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
16
16
  export default createResourceRequest;
17
- export declare function createResourceRequestFromRepresentation(representation: types_AppExchangeActionDetailsRepresentation_AppExchangeActionDetailsRepresentation): $64$luvio_engine_ResourceRequest;
@@ -14,4 +14,3 @@ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourcePar
14
14
  export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_AppExchangeTopicDetailsRepresentation_AppExchangeTopicDetailsRepresentation>): $64$luvio_engine_ErrorSnapshot;
15
15
  export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
16
16
  export default createResourceRequest;
17
- export declare function createResourceRequestFromRepresentation(representation: types_AppExchangeTopicDetailsRepresentation_AppExchangeTopicDetailsRepresentation): $64$luvio_engine_ResourceRequest;
@@ -1,18 +1,8 @@
1
1
  import { AppExchangeAssetListingDetailsRepresentation as AppExchangeAssetListingDetailsRepresentation_AppExchangeAssetListingDetailsRepresentation } from './AppExchangeAssetListingDetailsRepresentation';
2
- import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
3
- export declare const VERSION = "a51ab879cac37a5376898c7d692a4bde";
2
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
+ export declare const VERSION = "af8eadde7421ad2a44ad1e695b5b92f5";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
5
5
  export declare const RepresentationType: string;
6
- export interface KeyParams extends $64$luvio_engine_KeyMetadata {
7
- listingId: string;
8
- actionId: string;
9
- }
10
- export type AppExchangeActionDetailsRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
11
- export type PartialAppExchangeActionDetailsRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
12
- export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
13
- export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): AppExchangeActionDetailsRepresentationNormalizedKeyMetadata;
14
- export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: AppExchangeActionDetailsRepresentation): string;
15
- export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: AppExchangeActionDetailsRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
16
6
  export declare function normalize(input: AppExchangeActionDetailsRepresentation, existing: AppExchangeActionDetailsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AppExchangeActionDetailsRepresentationNormalized;
17
7
  export declare const select: () => $64$luvio_engine_BaseFragment;
18
8
  export declare function equals(existing: AppExchangeActionDetailsRepresentationNormalized, incoming: AppExchangeActionDetailsRepresentationNormalized): boolean;
@@ -22,8 +12,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
22
12
  * Represents an AppExchange action details
23
13
  *
24
14
  * Keys:
25
- * listingId (string): listingDetails.id
26
- * actionId (string): id
15
+ * (none)
27
16
  */
28
17
  export interface AppExchangeActionDetailsRepresentationNormalized {
29
18
  /** The description of the action */
@@ -40,8 +29,7 @@ export interface AppExchangeActionDetailsRepresentationNormalized {
40
29
  * Represents an AppExchange action details
41
30
  *
42
31
  * Keys:
43
- * listingId (string): listingDetails.id
44
- * actionId (string): id
32
+ * (none)
45
33
  */
46
34
  export interface AppExchangeActionDetailsRepresentation {
47
35
  description?: string;
@@ -7,7 +7,7 @@ import { AppExchangePublisherRepresentation as AppExchangePublisherRepresentatio
7
7
  import { AppExchangeListingReviewsSummaryRepresentation as AppExchangeListingReviewsSummaryRepresentation_AppExchangeListingReviewsSummaryRepresentation } from './AppExchangeListingReviewsSummaryRepresentation';
8
8
  import { AppExchangeTopicInfoRepresentation as AppExchangeTopicInfoRepresentation_AppExchangeTopicInfoRepresentation } from './AppExchangeTopicInfoRepresentation';
9
9
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
10
- export declare const VERSION = "c11b68bcd813f1718bcd93a27a622866";
10
+ export declare const VERSION = "ef3f81e09a43a004715359c253a18a63";
11
11
  export declare function validate(obj: any, path?: string): TypeError | null;
12
12
  export declare const RepresentationType: string;
13
13
  export declare function normalize(input: AppExchangeAssetListingDetailsRepresentation, existing: AppExchangeAssetListingDetailsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AppExchangeAssetListingDetailsRepresentationNormalized;
@@ -35,19 +35,22 @@ export interface AppExchangeAssetListingDetailsRepresentationNormalized {
35
35
  /** The short description of the listing */
36
36
  description: string;
37
37
  /** The full HTML description of the listing */
38
- fullDescription: string;
38
+ fullDescription?: string;
39
39
  /** The unique identifier of the listing */
40
40
  id: string;
41
41
  /** Whether the user has install packaging permission */
42
- installPackagingPermission: boolean;
42
+ installPackagingPermission?: boolean;
43
43
  installedPackage?: AppExchangeInstalledPackageRepresentation_AppExchangeInstalledPackageRepresentation;
44
+ latestVersion?: AppExchangeInstalledPackageRepresentation_AppExchangeInstalledPackageRepresentation;
45
+ /** The logo URL */
46
+ logoUrl?: string;
44
47
  /** The name of the listing */
45
48
  name: string;
46
- pricing: AppExchangePricingRepresentation_AppExchangePricingRepresentation;
47
- publisher: AppExchangePublisherRepresentation_AppExchangePublisherRepresentation;
49
+ pricing?: AppExchangePricingRepresentation_AppExchangePricingRepresentation;
50
+ publisher?: AppExchangePublisherRepresentation_AppExchangePublisherRepresentation;
48
51
  reviewsSummary?: AppExchangeListingReviewsSummaryRepresentation_AppExchangeListingReviewsSummaryRepresentation;
49
52
  /** The title of the listing */
50
- title: string;
53
+ title?: string;
51
54
  /** Map of topics keyed by topic ID */
52
55
  topics?: {
53
56
  [key: string]: AppExchangeTopicInfoRepresentation_AppExchangeTopicInfoRepresentation;
@@ -68,15 +71,17 @@ export interface AppExchangeAssetListingDetailsRepresentation {
68
71
  };
69
72
  assets?: Array<AppExchangeAssetNodeRepresentation_AppExchangeAssetNodeRepresentation>;
70
73
  description: string;
71
- fullDescription: string;
74
+ fullDescription?: string;
72
75
  id: string;
73
- installPackagingPermission: boolean;
76
+ installPackagingPermission?: boolean;
74
77
  installedPackage?: AppExchangeInstalledPackageRepresentation_AppExchangeInstalledPackageRepresentation;
78
+ latestVersion?: AppExchangeInstalledPackageRepresentation_AppExchangeInstalledPackageRepresentation;
79
+ logoUrl?: string;
75
80
  name: string;
76
- pricing: AppExchangePricingRepresentation_AppExchangePricingRepresentation;
77
- publisher: AppExchangePublisherRepresentation_AppExchangePublisherRepresentation;
81
+ pricing?: AppExchangePricingRepresentation_AppExchangePricingRepresentation;
82
+ publisher?: AppExchangePublisherRepresentation_AppExchangePublisherRepresentation;
78
83
  reviewsSummary?: AppExchangeListingReviewsSummaryRepresentation_AppExchangeListingReviewsSummaryRepresentation;
79
- title: string;
84
+ title?: string;
80
85
  topics?: {
81
86
  [key: string]: AppExchangeTopicInfoRepresentation_AppExchangeTopicInfoRepresentation;
82
87
  };
@@ -1,18 +1,8 @@
1
1
  import { AppExchangeAssetListingDetailsRepresentation as AppExchangeAssetListingDetailsRepresentation_AppExchangeAssetListingDetailsRepresentation } from './AppExchangeAssetListingDetailsRepresentation';
2
- import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
3
- export declare const VERSION = "733d7d15da2e17ccbcb31554533e824a";
2
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
+ export declare const VERSION = "26b5aef90eb0e483c0b2f8e4eca2ddac";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
5
5
  export declare const RepresentationType: string;
6
- export interface KeyParams extends $64$luvio_engine_KeyMetadata {
7
- listingId: string;
8
- topicId: string;
9
- }
10
- export type AppExchangeTopicDetailsRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
11
- export type PartialAppExchangeTopicDetailsRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
12
- export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
13
- export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): AppExchangeTopicDetailsRepresentationNormalizedKeyMetadata;
14
- export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: AppExchangeTopicDetailsRepresentation): string;
15
- export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: AppExchangeTopicDetailsRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
16
6
  export declare function normalize(input: AppExchangeTopicDetailsRepresentation, existing: AppExchangeTopicDetailsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AppExchangeTopicDetailsRepresentationNormalized;
17
7
  export declare const select: () => $64$luvio_engine_BaseFragment;
18
8
  export declare function equals(existing: AppExchangeTopicDetailsRepresentationNormalized, incoming: AppExchangeTopicDetailsRepresentationNormalized): boolean;
@@ -22,8 +12,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
22
12
  * Represents an AppExchange topic details
23
13
  *
24
14
  * Keys:
25
- * listingId (string): listingDetails.id
26
- * topicId (string): id
15
+ * (none)
27
16
  */
28
17
  export interface AppExchangeTopicDetailsRepresentationNormalized {
29
18
  /** List of action IDs that belong to this topic */
@@ -40,8 +29,7 @@ export interface AppExchangeTopicDetailsRepresentationNormalized {
40
29
  * Represents an AppExchange topic details
41
30
  *
42
31
  * Keys:
43
- * listingId (string): listingDetails.id
44
- * topicId (string): id
32
+ * (none)
45
33
  */
46
34
  export interface AppExchangeTopicDetailsRepresentation {
47
35
  actions?: Array<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-platform-appexchange",
3
- "version": "1.415.0",
3
+ "version": "1.416.1",
4
4
  "description": "This API Family is owned by AppExchange Everywhere team, aimed at integrating AppExchange with Core.",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/platform-appexchange.js",
@@ -46,10 +46,10 @@
46
46
  "test:unit": "jest"
47
47
  },
48
48
  "dependencies": {
49
- "@salesforce/lds-bindings": "^1.415.0"
49
+ "@salesforce/lds-bindings": "^1.416.1"
50
50
  },
51
51
  "devDependencies": {
52
- "@salesforce/lds-compiler-plugins": "^1.415.0"
52
+ "@salesforce/lds-compiler-plugins": "^1.416.1"
53
53
  },
54
54
  "nx": {
55
55
  "targets": {
package/sfdc/index.js CHANGED
@@ -14,7 +14,7 @@
14
14
  /* proxy-compat-disable */
15
15
  import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createImperativeAdapter } from 'force/ldsBindings';
16
16
  import { withDefaultLuvio } from 'force/ldsEngine';
17
- import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$5, typeCheckConfig as typeCheckConfig$7, createResourceParams as createResourceParams$7 } from 'force/luvioEngine';
17
+ import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$5, typeCheckConfig as typeCheckConfig$7, StoreKeyMap, createResourceParams as createResourceParams$7 } from 'force/luvioEngine';
18
18
 
19
19
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
20
20
  const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
@@ -913,20 +913,24 @@ function validate$C(obj, path = 'AppExchangeAssetListingDetailsRepresentation')
913
913
  if (typeof obj_description !== 'string') {
914
914
  return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
915
915
  }
916
- const obj_fullDescription = obj.fullDescription;
917
- const path_fullDescription = path + '.fullDescription';
918
- if (typeof obj_fullDescription !== 'string') {
919
- return new TypeError('Expected "string" but received "' + typeof obj_fullDescription + '" (at "' + path_fullDescription + '")');
916
+ if (obj.fullDescription !== undefined) {
917
+ const obj_fullDescription = obj.fullDescription;
918
+ const path_fullDescription = path + '.fullDescription';
919
+ if (typeof obj_fullDescription !== 'string') {
920
+ return new TypeError('Expected "string" but received "' + typeof obj_fullDescription + '" (at "' + path_fullDescription + '")');
921
+ }
920
922
  }
921
923
  const obj_id = obj.id;
922
924
  const path_id = path + '.id';
923
925
  if (typeof obj_id !== 'string') {
924
926
  return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
925
927
  }
926
- const obj_installPackagingPermission = obj.installPackagingPermission;
927
- const path_installPackagingPermission = path + '.installPackagingPermission';
928
- if (typeof obj_installPackagingPermission !== 'boolean') {
929
- return new TypeError('Expected "boolean" but received "' + typeof obj_installPackagingPermission + '" (at "' + path_installPackagingPermission + '")');
928
+ if (obj.installPackagingPermission !== undefined) {
929
+ const obj_installPackagingPermission = obj.installPackagingPermission;
930
+ const path_installPackagingPermission = path + '.installPackagingPermission';
931
+ if (typeof obj_installPackagingPermission !== 'boolean') {
932
+ return new TypeError('Expected "boolean" but received "' + typeof obj_installPackagingPermission + '" (at "' + path_installPackagingPermission + '")');
933
+ }
930
934
  }
931
935
  if (obj.installedPackage !== undefined) {
932
936
  const obj_installedPackage = obj.installedPackage;
@@ -938,26 +942,47 @@ function validate$C(obj, path = 'AppExchangeAssetListingDetailsRepresentation')
938
942
  return new TypeError(message);
939
943
  }
940
944
  }
945
+ if (obj.latestVersion !== undefined) {
946
+ const obj_latestVersion = obj.latestVersion;
947
+ const path_latestVersion = path + '.latestVersion';
948
+ const referencepath_latestVersionValidationError = validate$N(obj_latestVersion, path_latestVersion);
949
+ if (referencepath_latestVersionValidationError !== null) {
950
+ let message = 'Object doesn\'t match AppExchangeInstalledPackageRepresentation (at "' + path_latestVersion + '")\n';
951
+ message += referencepath_latestVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
952
+ return new TypeError(message);
953
+ }
954
+ }
955
+ if (obj.logoUrl !== undefined) {
956
+ const obj_logoUrl = obj.logoUrl;
957
+ const path_logoUrl = path + '.logoUrl';
958
+ if (typeof obj_logoUrl !== 'string') {
959
+ return new TypeError('Expected "string" but received "' + typeof obj_logoUrl + '" (at "' + path_logoUrl + '")');
960
+ }
961
+ }
941
962
  const obj_name = obj.name;
942
963
  const path_name = path + '.name';
943
964
  if (typeof obj_name !== 'string') {
944
965
  return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
945
966
  }
946
- const obj_pricing = obj.pricing;
947
- const path_pricing = path + '.pricing';
948
- const referencepath_pricingValidationError = validate$L(obj_pricing, path_pricing);
949
- if (referencepath_pricingValidationError !== null) {
950
- let message = 'Object doesn\'t match AppExchangePricingRepresentation (at "' + path_pricing + '")\n';
951
- message += referencepath_pricingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
952
- return new TypeError(message);
967
+ if (obj.pricing !== undefined) {
968
+ const obj_pricing = obj.pricing;
969
+ const path_pricing = path + '.pricing';
970
+ const referencepath_pricingValidationError = validate$L(obj_pricing, path_pricing);
971
+ if (referencepath_pricingValidationError !== null) {
972
+ let message = 'Object doesn\'t match AppExchangePricingRepresentation (at "' + path_pricing + '")\n';
973
+ message += referencepath_pricingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
974
+ return new TypeError(message);
975
+ }
953
976
  }
954
- const obj_publisher = obj.publisher;
955
- const path_publisher = path + '.publisher';
956
- const referencepath_publisherValidationError = validate$F(obj_publisher, path_publisher);
957
- if (referencepath_publisherValidationError !== null) {
958
- let message = 'Object doesn\'t match AppExchangePublisherRepresentation (at "' + path_publisher + '")\n';
959
- message += referencepath_publisherValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
960
- return new TypeError(message);
977
+ if (obj.publisher !== undefined) {
978
+ const obj_publisher = obj.publisher;
979
+ const path_publisher = path + '.publisher';
980
+ const referencepath_publisherValidationError = validate$F(obj_publisher, path_publisher);
981
+ if (referencepath_publisherValidationError !== null) {
982
+ let message = 'Object doesn\'t match AppExchangePublisherRepresentation (at "' + path_publisher + '")\n';
983
+ message += referencepath_publisherValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
984
+ return new TypeError(message);
985
+ }
961
986
  }
962
987
  if (obj.reviewsSummary !== undefined) {
963
988
  const obj_reviewsSummary = obj.reviewsSummary;
@@ -969,10 +994,12 @@ function validate$C(obj, path = 'AppExchangeAssetListingDetailsRepresentation')
969
994
  return new TypeError(message);
970
995
  }
971
996
  }
972
- const obj_title = obj.title;
973
- const path_title = path + '.title';
974
- if (typeof obj_title !== 'string') {
975
- return new TypeError('Expected "string" but received "' + typeof obj_title + '" (at "' + path_title + '")');
997
+ if (obj.title !== undefined) {
998
+ const obj_title = obj.title;
999
+ const path_title = path + '.title';
1000
+ if (typeof obj_title !== 'string') {
1001
+ return new TypeError('Expected "string" but received "' + typeof obj_title + '" (at "' + path_title + '")');
1002
+ }
976
1003
  }
977
1004
  if (obj.topics !== undefined) {
978
1005
  const obj_topics = obj.topics;
@@ -997,7 +1024,7 @@ function validate$C(obj, path = 'AppExchangeAssetListingDetailsRepresentation')
997
1024
  return v_error === undefined ? null : v_error;
998
1025
  }
999
1026
 
1000
- const VERSION$9 = "a51ab879cac37a5376898c7d692a4bde";
1027
+ const VERSION$9 = "af8eadde7421ad2a44ad1e695b5b92f5";
1001
1028
  function validate$B(obj, path = 'AppExchangeActionDetailsRepresentation') {
1002
1029
  const v_error = (() => {
1003
1030
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1048,16 +1075,6 @@ function validate$B(obj, path = 'AppExchangeActionDetailsRepresentation') {
1048
1075
  return v_error === undefined ? null : v_error;
1049
1076
  }
1050
1077
  const RepresentationType$6 = 'AppExchangeActionDetailsRepresentation';
1051
- function keyBuilder$d(luvio, config) {
1052
- return keyPrefix + '::' + RepresentationType$6 + ':' + config.listingId + ':' + config.actionId;
1053
- }
1054
- function keyBuilderFromType$3(luvio, object) {
1055
- const keyParams = {
1056
- listingId: object.listingDetails.id,
1057
- actionId: object.id
1058
- };
1059
- return keyBuilder$d(luvio, keyParams);
1060
- }
1061
1078
  function normalize$6(input, existing, path, luvio, store, timestamp) {
1062
1079
  return input;
1063
1080
  }
@@ -1082,14 +1099,14 @@ const ingest$6 = function AppExchangeActionDetailsRepresentationIngest(input, pa
1082
1099
  throw validateError;
1083
1100
  }
1084
1101
  }
1085
- const key = keyBuilderFromType$3(luvio, input);
1102
+ const key = path.fullPath;
1086
1103
  const ttlToUse = path.ttl !== undefined ? path.ttl : 3000;
1087
1104
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "appexchange", VERSION$9, RepresentationType$6, equals$9);
1088
1105
  return createLink(key);
1089
1106
  };
1090
1107
  function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
1091
1108
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1092
- const rootKey = keyBuilderFromType$3(luvio, input);
1109
+ const rootKey = fullPathFactory();
1093
1110
  rootKeySet.set(rootKey, {
1094
1111
  namespace: keyPrefix,
1095
1112
  representationName: RepresentationType$6,
@@ -1100,18 +1117,15 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
1100
1117
  function select$f(luvio, params) {
1101
1118
  return select$g();
1102
1119
  }
1103
- function keyBuilder$c(luvio, params) {
1104
- return keyBuilder$d(luvio, {
1105
- listingId: params.urlParams.listingId,
1106
- actionId: params.urlParams.actionId
1107
- });
1120
+ function keyBuilder$b(luvio, params) {
1121
+ return keyPrefix + '::AppExchangeActionDetailsRepresentation:(' + 'listingId:' + params.urlParams.listingId + ',' + 'actionId:' + params.urlParams.actionId + ')';
1108
1122
  }
1109
1123
  function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
1110
- getTypeCacheKeys$6(storeKeyMap, luvio, response);
1124
+ getTypeCacheKeys$6(storeKeyMap, luvio, response, () => keyBuilder$b(luvio, resourceParams));
1111
1125
  }
1112
1126
  function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
1113
1127
  const { body } = response;
1114
- const key = keyBuilder$c(luvio, resourceParams);
1128
+ const key = keyBuilder$b(luvio, resourceParams);
1115
1129
  luvio.storeIngest(key, ingest$6, body);
1116
1130
  const snapshot = luvio.storeLookup({
1117
1131
  recordId: key,
@@ -1127,7 +1141,7 @@ function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
1127
1141
  return snapshot;
1128
1142
  }
1129
1143
  function ingestError$4(luvio, params, error, snapshotRefresh) {
1130
- const key = keyBuilder$c(luvio, params);
1144
+ const key = keyBuilder$b(luvio, params);
1131
1145
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
1132
1146
  luvio.storeIngestError(key, errorSnapshot);
1133
1147
  return errorSnapshot;
@@ -1145,14 +1159,6 @@ function createResourceRequest$6(config) {
1145
1159
  priority: 'normal',
1146
1160
  };
1147
1161
  }
1148
- function createResourceRequestFromRepresentation$1(representation) {
1149
- const config = {
1150
- urlParams: {},
1151
- };
1152
- config.urlParams.listingId = representation.listingDetails.id;
1153
- config.urlParams.actionId = representation.id;
1154
- return createResourceRequest$6(config);
1155
- }
1156
1162
 
1157
1163
  const adapterName$6 = 'getActionDetails';
1158
1164
  const getActionDetails_ConfigPropertyMetadata = [
@@ -1161,9 +1167,9 @@ const getActionDetails_ConfigPropertyMetadata = [
1161
1167
  ];
1162
1168
  const getActionDetails_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getActionDetails_ConfigPropertyMetadata);
1163
1169
  const createResourceParams$6 = /*#__PURE__*/ createResourceParams$7(getActionDetails_ConfigPropertyMetadata);
1164
- function keyBuilder$b(luvio, config) {
1170
+ function keyBuilder$a(luvio, config) {
1165
1171
  const resourceParams = createResourceParams$6(config);
1166
- return keyBuilder$c(luvio, resourceParams);
1172
+ return keyBuilder$b(luvio, resourceParams);
1167
1173
  }
1168
1174
  function typeCheckConfig$6(untrustedConfig) {
1169
1175
  const config = {};
@@ -1221,7 +1227,7 @@ function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext
1221
1227
  function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
1222
1228
  const { luvio, config } = context;
1223
1229
  const selector = {
1224
- recordId: keyBuilder$b(luvio, config),
1230
+ recordId: keyBuilder$a(luvio, config),
1225
1231
  node: adapterFragment$4(luvio, config),
1226
1232
  variables: {},
1227
1233
  };
@@ -1240,35 +1246,6 @@ const getActionDetailsAdapterFactory = (luvio) => function appexchange__getActio
1240
1246
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
1241
1247
  buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
1242
1248
  };
1243
- const notifyChangeFactory$1 = (luvio, options) => {
1244
- return function getConnectAppexchangeAssetsListingsActionsByListingIdAndActionIdNotifyChange(configs) {
1245
- const keys = configs.map(c => keyBuilder$d(luvio, c));
1246
- luvio.getNotifyChangeStoreEntries(keys).then(entries => {
1247
- for (let i = 0, len = entries.length; i < len; i++) {
1248
- const { key, record: val } = entries[i];
1249
- const refreshRequest = createResourceRequestFromRepresentation$1(val);
1250
- luvio.dispatchResourceRequest(refreshRequest, options)
1251
- .then((response) => {
1252
- return luvio.handleSuccessResponse(() => {
1253
- const { body } = response;
1254
- luvio.storeIngest(key, ingest$6, body);
1255
- return luvio.storeBroadcast();
1256
- }, () => {
1257
- const cache = new StoreKeyMap();
1258
- getTypeCacheKeys$6(cache, luvio, response.body);
1259
- return cache;
1260
- });
1261
- }, (error) => {
1262
- return luvio.handleErrorResponse(() => {
1263
- const errorSnapshot = luvio.errorSnapshot(error);
1264
- luvio.storeIngestError(key, errorSnapshot, undefined);
1265
- return luvio.storeBroadcast().then(() => errorSnapshot);
1266
- });
1267
- });
1268
- }
1269
- });
1270
- };
1271
- };
1272
1249
 
1273
1250
  function validate$A(obj, path = 'AppExchangeAssetActionRepresentation') {
1274
1251
  const v_error = (() => {
@@ -1429,15 +1406,15 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
1429
1406
  function select$d(luvio, params) {
1430
1407
  return select$e();
1431
1408
  }
1432
- function keyBuilder$a(luvio, params) {
1409
+ function keyBuilder$9(luvio, params) {
1433
1410
  return keyPrefix + '::AppExchangeAssetActionsCollectionRepresentation:(' + 'category:' + params.queryParams.category + ',' + 'industry:' + params.queryParams.industry + ',' + 'keyword:' + params.queryParams.keyword + ',' + 'labs:' + params.queryParams.labs + ',' + 'language:' + params.queryParams.language + ',' + 'page:' + params.queryParams.page + ',' + 'pageSize:' + params.queryParams.pageSize + ',' + 'prevSearchQueryId:' + params.queryParams.prevSearchQueryId + ',' + 'searchQueryId:' + params.queryParams.searchQueryId + ',' + 'sort:' + params.queryParams.sort + ')';
1434
1411
  }
1435
1412
  function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
1436
- getTypeCacheKeys$5(storeKeyMap, luvio, response, () => keyBuilder$a(luvio, resourceParams));
1413
+ getTypeCacheKeys$5(storeKeyMap, luvio, response, () => keyBuilder$9(luvio, resourceParams));
1437
1414
  }
1438
1415
  function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
1439
1416
  const { body } = response;
1440
- const key = keyBuilder$a(luvio, resourceParams);
1417
+ const key = keyBuilder$9(luvio, resourceParams);
1441
1418
  luvio.storeIngest(key, ingest$5, body);
1442
1419
  const snapshot = luvio.storeLookup({
1443
1420
  recordId: key,
@@ -1453,7 +1430,7 @@ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
1453
1430
  return snapshot;
1454
1431
  }
1455
1432
  function ingestError$3(luvio, params, error, snapshotRefresh) {
1456
- const key = keyBuilder$a(luvio, params);
1433
+ const key = keyBuilder$9(luvio, params);
1457
1434
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
1458
1435
  luvio.storeIngestError(key, errorSnapshot);
1459
1436
  return errorSnapshot;
@@ -1487,9 +1464,9 @@ const getAssetActions_ConfigPropertyMetadata = [
1487
1464
  ];
1488
1465
  const getAssetActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getAssetActions_ConfigPropertyMetadata);
1489
1466
  const createResourceParams$5 = /*#__PURE__*/ createResourceParams$7(getAssetActions_ConfigPropertyMetadata);
1490
- function keyBuilder$9(luvio, config) {
1467
+ function keyBuilder$8(luvio, config) {
1491
1468
  const resourceParams = createResourceParams$5(config);
1492
- return keyBuilder$a(luvio, resourceParams);
1469
+ return keyBuilder$9(luvio, resourceParams);
1493
1470
  }
1494
1471
  function typeCheckConfig$5(untrustedConfig) {
1495
1472
  const config = {};
@@ -1547,7 +1524,7 @@ function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext
1547
1524
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
1548
1525
  const { luvio, config } = context;
1549
1526
  const selector = {
1550
- recordId: keyBuilder$9(luvio, config),
1527
+ recordId: keyBuilder$8(luvio, config),
1551
1528
  node: adapterFragment$3(luvio, config),
1552
1529
  variables: {},
1553
1530
  };
@@ -1707,15 +1684,15 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
1707
1684
  function select$b(luvio, params) {
1708
1685
  return select$c();
1709
1686
  }
1710
- function keyBuilder$8(luvio, params) {
1687
+ function keyBuilder$7(luvio, params) {
1711
1688
  return keyPrefix + '::AppExchangeAssetTopicsCollectionRepresentation:(' + 'category:' + params.queryParams.category + ',' + 'industry:' + params.queryParams.industry + ',' + 'keyword:' + params.queryParams.keyword + ',' + 'labs:' + params.queryParams.labs + ',' + 'language:' + params.queryParams.language + ',' + 'page:' + params.queryParams.page + ',' + 'pageSize:' + params.queryParams.pageSize + ',' + 'prevSearchQueryId:' + params.queryParams.prevSearchQueryId + ',' + 'searchQueryId:' + params.queryParams.searchQueryId + ',' + 'sort:' + params.queryParams.sort + ')';
1712
1689
  }
1713
1690
  function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
1714
- getTypeCacheKeys$4(storeKeyMap, luvio, response, () => keyBuilder$8(luvio, resourceParams));
1691
+ getTypeCacheKeys$4(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
1715
1692
  }
1716
1693
  function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
1717
1694
  const { body } = response;
1718
- const key = keyBuilder$8(luvio, resourceParams);
1695
+ const key = keyBuilder$7(luvio, resourceParams);
1719
1696
  luvio.storeIngest(key, ingest$4, body);
1720
1697
  const snapshot = luvio.storeLookup({
1721
1698
  recordId: key,
@@ -1731,7 +1708,7 @@ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
1731
1708
  return snapshot;
1732
1709
  }
1733
1710
  function ingestError$2(luvio, params, error, snapshotRefresh) {
1734
- const key = keyBuilder$8(luvio, params);
1711
+ const key = keyBuilder$7(luvio, params);
1735
1712
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
1736
1713
  luvio.storeIngestError(key, errorSnapshot);
1737
1714
  return errorSnapshot;
@@ -1765,9 +1742,9 @@ const getAssetTopics_ConfigPropertyMetadata = [
1765
1742
  ];
1766
1743
  const getAssetTopics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getAssetTopics_ConfigPropertyMetadata);
1767
1744
  const createResourceParams$4 = /*#__PURE__*/ createResourceParams$7(getAssetTopics_ConfigPropertyMetadata);
1768
- function keyBuilder$7(luvio, config) {
1745
+ function keyBuilder$6(luvio, config) {
1769
1746
  const resourceParams = createResourceParams$4(config);
1770
- return keyBuilder$8(luvio, resourceParams);
1747
+ return keyBuilder$7(luvio, resourceParams);
1771
1748
  }
1772
1749
  function typeCheckConfig$4(untrustedConfig) {
1773
1750
  const config = {};
@@ -1825,7 +1802,7 @@ function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext
1825
1802
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
1826
1803
  const { luvio, config } = context;
1827
1804
  const selector = {
1828
- recordId: keyBuilder$7(luvio, config),
1805
+ recordId: keyBuilder$6(luvio, config),
1829
1806
  node: adapterFragment$2(luvio, config),
1830
1807
  variables: {},
1831
1808
  };
@@ -4795,15 +4772,15 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
4795
4772
  function select$9(luvio, params) {
4796
4773
  return select$a();
4797
4774
  }
4798
- function keyBuilder$6(luvio, params) {
4775
+ function keyBuilder$5(luvio, params) {
4799
4776
  return keyPrefix + '::AppExchangeListingDetailsRepresentation:(' + 'includeRelated:' + params.queryParams.includeRelated + ',' + 'listingId:' + params.urlParams.listingId + ')';
4800
4777
  }
4801
4778
  function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
4802
- getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$6(luvio, resourceParams));
4779
+ getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$5(luvio, resourceParams));
4803
4780
  }
4804
4781
  function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
4805
4782
  const { body } = response;
4806
- const key = keyBuilder$6(luvio, resourceParams);
4783
+ const key = keyBuilder$5(luvio, resourceParams);
4807
4784
  luvio.storeIngest(key, ingest$3, body);
4808
4785
  const snapshot = luvio.storeLookup({
4809
4786
  recordId: key,
@@ -4819,7 +4796,7 @@ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
4819
4796
  return snapshot;
4820
4797
  }
4821
4798
  function ingestError$1(luvio, params, error, snapshotRefresh) {
4822
- const key = keyBuilder$6(luvio, params);
4799
+ const key = keyBuilder$5(luvio, params);
4823
4800
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4824
4801
  luvio.storeIngestError(key, errorSnapshot);
4825
4802
  return errorSnapshot;
@@ -4845,9 +4822,9 @@ const getListingDetails_ConfigPropertyMetadata = [
4845
4822
  ];
4846
4823
  const getListingDetails_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getListingDetails_ConfigPropertyMetadata);
4847
4824
  const createResourceParams$3 = /*#__PURE__*/ createResourceParams$7(getListingDetails_ConfigPropertyMetadata);
4848
- function keyBuilder$5(luvio, config) {
4825
+ function keyBuilder$4(luvio, config) {
4849
4826
  const resourceParams = createResourceParams$3(config);
4850
- return keyBuilder$6(luvio, resourceParams);
4827
+ return keyBuilder$5(luvio, resourceParams);
4851
4828
  }
4852
4829
  function typeCheckConfig$3(untrustedConfig) {
4853
4830
  const config = {};
@@ -4905,7 +4882,7 @@ function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext
4905
4882
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
4906
4883
  const { luvio, config } = context;
4907
4884
  const selector = {
4908
- recordId: keyBuilder$5(luvio, config),
4885
+ recordId: keyBuilder$4(luvio, config),
4909
4886
  node: adapterFragment$1(luvio, config),
4910
4887
  variables: {},
4911
4888
  };
@@ -4925,7 +4902,7 @@ const getListingDetailsAdapterFactory = (luvio) => function appexchange__getList
4925
4902
  buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
4926
4903
  };
4927
4904
 
4928
- const VERSION$5 = "733d7d15da2e17ccbcb31554533e824a";
4905
+ const VERSION$5 = "26b5aef90eb0e483c0b2f8e4eca2ddac";
4929
4906
  function validate$5(obj, path = 'AppExchangeTopicDetailsRepresentation') {
4930
4907
  const v_error = (() => {
4931
4908
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -4976,16 +4953,6 @@ function validate$5(obj, path = 'AppExchangeTopicDetailsRepresentation') {
4976
4953
  return v_error === undefined ? null : v_error;
4977
4954
  }
4978
4955
  const RepresentationType$2 = 'AppExchangeTopicDetailsRepresentation';
4979
- function keyBuilder$4(luvio, config) {
4980
- return keyPrefix + '::' + RepresentationType$2 + ':' + config.listingId + ':' + config.topicId;
4981
- }
4982
- function keyBuilderFromType$2(luvio, object) {
4983
- const keyParams = {
4984
- listingId: object.listingDetails.id,
4985
- topicId: object.id
4986
- };
4987
- return keyBuilder$4(luvio, keyParams);
4988
- }
4989
4956
  function normalize$2(input, existing, path, luvio, store, timestamp) {
4990
4957
  return input;
4991
4958
  }
@@ -5010,14 +4977,14 @@ const ingest$2 = function AppExchangeTopicDetailsRepresentationIngest(input, pat
5010
4977
  throw validateError;
5011
4978
  }
5012
4979
  }
5013
- const key = keyBuilderFromType$2(luvio, input);
4980
+ const key = path.fullPath;
5014
4981
  const ttlToUse = path.ttl !== undefined ? path.ttl : 3000;
5015
4982
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "appexchange", VERSION$5, RepresentationType$2, equals$5);
5016
4983
  return createLink(key);
5017
4984
  };
5018
4985
  function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
5019
4986
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
5020
- const rootKey = keyBuilderFromType$2(luvio, input);
4987
+ const rootKey = fullPathFactory();
5021
4988
  rootKeySet.set(rootKey, {
5022
4989
  namespace: keyPrefix,
5023
4990
  representationName: RepresentationType$2,
@@ -5029,13 +4996,10 @@ function select$7(luvio, params) {
5029
4996
  return select$8();
5030
4997
  }
5031
4998
  function keyBuilder$3(luvio, params) {
5032
- return keyBuilder$4(luvio, {
5033
- listingId: params.urlParams.listingId,
5034
- topicId: params.urlParams.topicId
5035
- });
4999
+ return keyPrefix + '::AppExchangeTopicDetailsRepresentation:(' + 'listingId:' + params.urlParams.listingId + ',' + 'topicId:' + params.urlParams.topicId + ')';
5036
5000
  }
5037
5001
  function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
5038
- getTypeCacheKeys$2(storeKeyMap, luvio, response);
5002
+ getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$3(luvio, resourceParams));
5039
5003
  }
5040
5004
  function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
5041
5005
  const { body } = response;
@@ -5073,14 +5037,6 @@ function createResourceRequest$2(config) {
5073
5037
  priority: 'normal',
5074
5038
  };
5075
5039
  }
5076
- function createResourceRequestFromRepresentation(representation) {
5077
- const config = {
5078
- urlParams: {},
5079
- };
5080
- config.urlParams.listingId = representation.listingDetails.id;
5081
- config.urlParams.topicId = representation.id;
5082
- return createResourceRequest$2(config);
5083
- }
5084
5040
 
5085
5041
  const adapterName$2 = 'getTopicDetails';
5086
5042
  const getTopicDetails_ConfigPropertyMetadata = [
@@ -5168,35 +5124,6 @@ const getTopicDetailsAdapterFactory = (luvio) => function appexchange__getTopicD
5168
5124
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
5169
5125
  buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
5170
5126
  };
5171
- const notifyChangeFactory = (luvio, options) => {
5172
- return function getConnectAppexchangeAssetsListingsTopicsByListingIdAndTopicIdNotifyChange(configs) {
5173
- const keys = configs.map(c => keyBuilder$4(luvio, c));
5174
- luvio.getNotifyChangeStoreEntries(keys).then(entries => {
5175
- for (let i = 0, len = entries.length; i < len; i++) {
5176
- const { key, record: val } = entries[i];
5177
- const refreshRequest = createResourceRequestFromRepresentation(val);
5178
- luvio.dispatchResourceRequest(refreshRequest, options)
5179
- .then((response) => {
5180
- return luvio.handleSuccessResponse(() => {
5181
- const { body } = response;
5182
- luvio.storeIngest(key, ingest$2, body);
5183
- return luvio.storeBroadcast();
5184
- }, () => {
5185
- const cache = new StoreKeyMap();
5186
- getTypeCacheKeys$2(cache, luvio, response.body);
5187
- return cache;
5188
- });
5189
- }, (error) => {
5190
- return luvio.handleErrorResponse(() => {
5191
- const errorSnapshot = luvio.errorSnapshot(error);
5192
- luvio.storeIngestError(key, errorSnapshot, undefined);
5193
- return luvio.storeBroadcast().then(() => errorSnapshot);
5194
- });
5195
- });
5196
- }
5197
- });
5198
- };
5199
- };
5200
5127
 
5201
5128
  const VERSION$4 = "b0309b3336a7e875a0cc40a008a340f9";
5202
5129
  function validate$4(obj, path = 'AppExchangeUserEventsOutputRepresentation') {
@@ -6264,12 +6191,10 @@ const searchListingsAdapterFactory = (luvio) => {
6264
6191
  };
6265
6192
 
6266
6193
  let getActionDetails;
6267
- let getActionDetailsNotifyChange;
6268
6194
  let getAssetActions;
6269
6195
  let getAssetTopics;
6270
6196
  let getListingDetails;
6271
6197
  let getTopicDetails;
6272
- let getTopicDetailsNotifyChange;
6273
6198
  let postAppExchangeUserEvents;
6274
6199
  let searchListings;
6275
6200
  // Imperative GET Adapters
@@ -6298,12 +6223,10 @@ function bindExportsTo(luvio) {
6298
6223
  }
6299
6224
  return {
6300
6225
  getActionDetails: createWireAdapterConstructor(luvio, getActionDetails_ldsAdapter, getActionDetailsMetadata),
6301
- getActionDetailsNotifyChange: createLDSAdapter(luvio, 'getActionDetailsNotifyChange', notifyChangeFactory$1),
6302
6226
  getAssetActions: createWireAdapterConstructor(luvio, getAssetActions_ldsAdapter, getAssetActionsMetadata),
6303
6227
  getAssetTopics: createWireAdapterConstructor(luvio, getAssetTopics_ldsAdapter, getAssetTopicsMetadata),
6304
6228
  getListingDetails: createWireAdapterConstructor(luvio, getListingDetails_ldsAdapter, getListingDetailsMetadata),
6305
6229
  getTopicDetails: createWireAdapterConstructor(luvio, getTopicDetails_ldsAdapter, getTopicDetailsMetadata),
6306
- getTopicDetailsNotifyChange: createLDSAdapter(luvio, 'getTopicDetailsNotifyChange', notifyChangeFactory),
6307
6230
  postAppExchangeUserEvents: unwrapSnapshotData(postAppExchangeUserEventsAdapterFactory),
6308
6231
  searchListings: unwrapSnapshotData(searchListingsAdapterFactory),
6309
6232
  // Imperative GET Adapters
@@ -6318,12 +6241,10 @@ function bindExportsTo(luvio) {
6318
6241
  withDefaultLuvio((luvio) => {
6319
6242
  ({
6320
6243
  getActionDetails,
6321
- getActionDetailsNotifyChange,
6322
6244
  getAssetActions,
6323
6245
  getAssetTopics,
6324
6246
  getListingDetails,
6325
6247
  getTopicDetails,
6326
- getTopicDetailsNotifyChange,
6327
6248
  postAppExchangeUserEvents,
6328
6249
  searchListings,
6329
6250
  getActionDetails_imperative,
@@ -6334,5 +6255,5 @@ withDefaultLuvio((luvio) => {
6334
6255
  } = bindExportsTo(luvio));
6335
6256
  });
6336
6257
 
6337
- export { getActionDetails, getActionDetailsNotifyChange, getActionDetails_imperative, getAssetActions, getAssetActions_imperative, getAssetTopics, getAssetTopics_imperative, getListingDetails, getListingDetails_imperative, getTopicDetails, getTopicDetailsNotifyChange, getTopicDetails_imperative, postAppExchangeUserEvents, searchListings };
6338
- // version: 1.415.0-caf45a5d7e
6258
+ export { getActionDetails, getActionDetails_imperative, getAssetActions, getAssetActions_imperative, getAssetTopics, getAssetTopics_imperative, getListingDetails, getListingDetails_imperative, getTopicDetails, getTopicDetails_imperative, postAppExchangeUserEvents, searchListings };
6259
+ // version: 1.416.1-c10be671f4
package/src/raml/api.raml CHANGED
@@ -187,25 +187,37 @@ types:
187
187
  fullDescription:
188
188
  description: The full HTML description of the listing
189
189
  type: string
190
+ required: false # hand-rolled
190
191
  id:
191
192
  description: The unique identifier of the listing
192
193
  type: string
193
194
  installPackagingPermission:
194
195
  description: Whether the user has install packaging permission
195
196
  type: boolean
197
+ required: false # hand-rolled
196
198
  installedPackage:
197
199
  description: The installed package version info
198
200
  type: AppExchangeInstalledPackageRepresentation
199
201
  required: false # hand-rolled
202
+ latestVersion:
203
+ description: The latest package version info
204
+ type: AppExchangeInstalledPackageRepresentation
205
+ required: false # hand-rolled
206
+ logoUrl:
207
+ description: The logo URL
208
+ type: string
209
+ required: false # hand-rolled
200
210
  name:
201
211
  description: The name of the listing
202
212
  type: string
203
213
  pricing:
204
214
  description: The pricing information
205
215
  type: AppExchangePricingRepresentation
216
+ required: false # hand-rolled
206
217
  publisher:
207
218
  description: The publisher of the listing
208
219
  type: AppExchangePublisherRepresentation
220
+ required: false # hand-rolled
209
221
  reviewsSummary:
210
222
  description: The reviews summary
211
223
  type: AppExchangeListingReviewsSummaryRepresentation
@@ -213,6 +225,7 @@ types:
213
225
  title:
214
226
  description: The title of the listing
215
227
  type: string
228
+ required: false # hand-rolled
216
229
  topics:
217
230
  description: Map of topics keyed by topic ID
218
231
  type: object
@@ -3595,6 +3608,9 @@ types:
3595
3608
  language:
3596
3609
  type: string
3597
3610
  required: false
3611
+ enum:
3612
+ - En
3613
+ - Ja
3598
3614
  page:
3599
3615
  type: integer
3600
3616
  required: false
@@ -18,14 +18,8 @@ types:
18
18
  (luvio.opaque): true
19
19
  AppExchangeActionDetailsRepresentation:
20
20
  (luvio.opaque): true
21
- (luvio.key):
22
- listingId: listingDetails.id
23
- actionId: id
24
21
  AppExchangeTopicDetailsRepresentation:
25
22
  (luvio.opaque): true
26
- (luvio.key):
27
- listingId: listingDetails.id
28
- topicId: id
29
23
  AppExchangeListingPricingModelFreeToInstallRepresentation:
30
24
  (luvio.ttl): 3000
31
25
  AppExchangeTableauExtensionRepresentation:
@@ -42,16 +36,10 @@ types:
42
36
  get:
43
37
  (luvio.adapter):
44
38
  name: getActionDetails
45
- (luvio.key):
46
- listingId: urlParams.listingId
47
- actionId: urlParams.actionId
48
39
  /topics/{topicId}:
49
40
  get:
50
41
  (luvio.adapter):
51
42
  name: getTopicDetails
52
- (luvio.key):
53
- listingId: urlParams.listingId
54
- topicId: urlParams.topicId
55
43
  /actions:
56
44
  get:
57
45
  (luvio.adapter):