@salesforce/lds-adapters-platform-appexchange 1.380.0-dev2 → 1.380.0-dev22

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.
@@ -93,7 +93,7 @@ function createLink(ref) {
93
93
  };
94
94
  }
95
95
 
96
- function validate$D(obj, path = 'AppExchangeListingCategoriesRepresentation') {
96
+ function validate$F(obj, path = 'AppExchangeListingCategoriesRepresentation') {
97
97
  const v_error = (() => {
98
98
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
99
99
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -123,6 +123,52 @@ function validate$D(obj, path = 'AppExchangeListingCategoriesRepresentation') {
123
123
  return v_error === undefined ? null : v_error;
124
124
  }
125
125
 
126
+ function validate$E(obj, path = 'AppExchangeMCPServerResourceRepresentation') {
127
+ const v_error = (() => {
128
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
129
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
130
+ }
131
+ if (obj.description !== undefined) {
132
+ const obj_description = obj.description;
133
+ const path_description = path + '.description';
134
+ if (typeof obj_description !== 'string') {
135
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
136
+ }
137
+ }
138
+ if (obj.name !== undefined) {
139
+ const obj_name = obj.name;
140
+ const path_name = path + '.name';
141
+ if (typeof obj_name !== 'string') {
142
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
143
+ }
144
+ }
145
+ })();
146
+ return v_error === undefined ? null : v_error;
147
+ }
148
+
149
+ function validate$D(obj, path = 'AppExchangeMCPServerToolRepresentation') {
150
+ const v_error = (() => {
151
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
152
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
153
+ }
154
+ if (obj.description !== undefined) {
155
+ const obj_description = obj.description;
156
+ const path_description = path + '.description';
157
+ if (typeof obj_description !== 'string') {
158
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
159
+ }
160
+ }
161
+ if (obj.name !== undefined) {
162
+ const obj_name = obj.name;
163
+ const path_name = path + '.name';
164
+ if (typeof obj_name !== 'string') {
165
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
166
+ }
167
+ }
168
+ })();
169
+ return v_error === undefined ? null : v_error;
170
+ }
171
+
126
172
  function validate$C(obj, path = 'AppExchangeForceCopilotListingExtensionRepresentation') {
127
173
  const v_error = (() => {
128
174
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -639,6 +685,68 @@ function validate$C(obj, path = 'AppExchangeForceCopilotListingExtensionRepresen
639
685
  return new TypeError('Expected "string" but received "' + typeof obj_marketplace + '" (at "' + path_marketplace + '")');
640
686
  }
641
687
  }
688
+ if (obj.mcpServersResources !== undefined) {
689
+ const obj_mcpServersResources = obj.mcpServersResources;
690
+ const path_mcpServersResources = path + '.mcpServersResources';
691
+ if (!ArrayIsArray(obj_mcpServersResources)) {
692
+ return new TypeError('Expected "array" but received "' + typeof obj_mcpServersResources + '" (at "' + path_mcpServersResources + '")');
693
+ }
694
+ for (let i = 0; i < obj_mcpServersResources.length; i++) {
695
+ const obj_mcpServersResources_item = obj_mcpServersResources[i];
696
+ const path_mcpServersResources_item = path_mcpServersResources + '[' + i + ']';
697
+ const referencepath_mcpServersResources_itemValidationError = validate$E(obj_mcpServersResources_item, path_mcpServersResources_item);
698
+ if (referencepath_mcpServersResources_itemValidationError !== null) {
699
+ let message = 'Object doesn\'t match AppExchangeMCPServerResourceRepresentation (at "' + path_mcpServersResources_item + '")\n';
700
+ message += referencepath_mcpServersResources_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
701
+ return new TypeError(message);
702
+ }
703
+ }
704
+ }
705
+ if (obj.mcpServersTools !== undefined) {
706
+ const obj_mcpServersTools = obj.mcpServersTools;
707
+ const path_mcpServersTools = path + '.mcpServersTools';
708
+ if (!ArrayIsArray(obj_mcpServersTools)) {
709
+ return new TypeError('Expected "array" but received "' + typeof obj_mcpServersTools + '" (at "' + path_mcpServersTools + '")');
710
+ }
711
+ for (let i = 0; i < obj_mcpServersTools.length; i++) {
712
+ const obj_mcpServersTools_item = obj_mcpServersTools[i];
713
+ const path_mcpServersTools_item = path_mcpServersTools + '[' + i + ']';
714
+ const referencepath_mcpServersTools_itemValidationError = validate$D(obj_mcpServersTools_item, path_mcpServersTools_item);
715
+ if (referencepath_mcpServersTools_itemValidationError !== null) {
716
+ let message = 'Object doesn\'t match AppExchangeMCPServerToolRepresentation (at "' + path_mcpServersTools_item + '")\n';
717
+ message += referencepath_mcpServersTools_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
718
+ return new TypeError(message);
719
+ }
720
+ }
721
+ }
722
+ if (obj.numActions !== undefined) {
723
+ const obj_numActions = obj.numActions;
724
+ const path_numActions = path + '.numActions';
725
+ if (typeof obj_numActions !== 'number' || (typeof obj_numActions === 'number' && Math.floor(obj_numActions) !== obj_numActions)) {
726
+ return new TypeError('Expected "integer" but received "' + typeof obj_numActions + '" (at "' + path_numActions + '")');
727
+ }
728
+ }
729
+ if (obj.numAgents !== undefined) {
730
+ const obj_numAgents = obj.numAgents;
731
+ const path_numAgents = path + '.numAgents';
732
+ if (typeof obj_numAgents !== 'number' || (typeof obj_numAgents === 'number' && Math.floor(obj_numAgents) !== obj_numAgents)) {
733
+ return new TypeError('Expected "integer" but received "' + typeof obj_numAgents + '" (at "' + path_numAgents + '")');
734
+ }
735
+ }
736
+ if (obj.numMCPServers !== undefined) {
737
+ const obj_numMCPServers = obj.numMCPServers;
738
+ const path_numMCPServers = path + '.numMCPServers';
739
+ if (typeof obj_numMCPServers !== 'number' || (typeof obj_numMCPServers === 'number' && Math.floor(obj_numMCPServers) !== obj_numMCPServers)) {
740
+ return new TypeError('Expected "integer" but received "' + typeof obj_numMCPServers + '" (at "' + path_numMCPServers + '")');
741
+ }
742
+ }
743
+ if (obj.numTopics !== undefined) {
744
+ const obj_numTopics = obj.numTopics;
745
+ const path_numTopics = path + '.numTopics';
746
+ if (typeof obj_numTopics !== 'number' || (typeof obj_numTopics === 'number' && Math.floor(obj_numTopics) !== obj_numTopics)) {
747
+ return new TypeError('Expected "integer" but received "' + typeof obj_numTopics + '" (at "' + path_numTopics + '")');
748
+ }
749
+ }
642
750
  if (obj.orderInSetup !== undefined) {
643
751
  const obj_orderInSetup = obj.orderInSetup;
644
752
  const path_orderInSetup = path + '.orderInSetup';
@@ -3336,7 +3444,7 @@ function validate$5(obj, path = 'AppExchangeListingDetailsRepresentation') {
3336
3444
  const key = obj_businessNeeds_keys[i];
3337
3445
  const obj_businessNeeds_prop = obj_businessNeeds[key];
3338
3446
  const path_businessNeeds_prop = path_businessNeeds + '["' + key + '"]';
3339
- const referencepath_businessNeeds_propValidationError = validate$D(obj_businessNeeds_prop, path_businessNeeds_prop);
3447
+ const referencepath_businessNeeds_propValidationError = validate$F(obj_businessNeeds_prop, path_businessNeeds_prop);
3340
3448
  if (referencepath_businessNeeds_propValidationError !== null) {
3341
3449
  let message = 'Object doesn\'t match AppExchangeListingCategoriesRepresentation (at "' + path_businessNeeds_prop + '")\n';
3342
3450
  message += referencepath_businessNeeds_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3702,7 +3810,7 @@ const getListingDetailsAdapterFactory = (luvio) => function appexchange__getList
3702
3810
  buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
3703
3811
  };
3704
3812
 
3705
- const VERSION$4 = "665189e35b20e3cede6989c78faad07f";
3813
+ const VERSION$4 = "9b9c4eb697586a23f8e530e97130f8f3";
3706
3814
  function validate$4(obj, path = 'AppExchangeListingAdditionalProps') {
3707
3815
  const v_error = (() => {
3708
3816
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -3729,6 +3837,13 @@ function validate$4(obj, path = 'AppExchangeListingAdditionalProps') {
3729
3837
  return new TypeError('Expected "string" but received "' + typeof obj_agentDescription + '" (at "' + path_agentDescription + '")');
3730
3838
  }
3731
3839
  }
3840
+ if (obj.mcpServerCount !== undefined) {
3841
+ const obj_mcpServerCount = obj.mcpServerCount;
3842
+ const path_mcpServerCount = path + '.mcpServerCount';
3843
+ if (typeof obj_mcpServerCount !== 'number' || (typeof obj_mcpServerCount === 'number' && Math.floor(obj_mcpServerCount) !== obj_mcpServerCount)) {
3844
+ return new TypeError('Expected "integer" but received "' + typeof obj_mcpServerCount + '" (at "' + path_mcpServerCount + '")');
3845
+ }
3846
+ }
3732
3847
  if (obj.topicCount !== undefined) {
3733
3848
  const obj_topicCount = obj.topicCount;
3734
3849
  const path_topicCount = path + '.topicCount';
@@ -3760,6 +3875,11 @@ const select$6 = function AppExchangeListingAdditionalPropsSelect() {
3760
3875
  kind: 'Scalar',
3761
3876
  required: false
3762
3877
  },
3878
+ {
3879
+ name: 'mcpServerCount',
3880
+ kind: 'Scalar',
3881
+ required: false
3882
+ },
3763
3883
  {
3764
3884
  name: 'topicCount',
3765
3885
  kind: 'Scalar',
@@ -3795,6 +3915,19 @@ function equals$4(existing, incoming) {
3795
3915
  return false;
3796
3916
  }
3797
3917
  }
3918
+ const existing_mcpServerCount = existing.mcpServerCount;
3919
+ const incoming_mcpServerCount = incoming.mcpServerCount;
3920
+ // if at least one of these optionals is defined
3921
+ if (existing_mcpServerCount !== undefined || incoming_mcpServerCount !== undefined) {
3922
+ // if one of these is not defined we know the other is defined and therefore
3923
+ // not equal
3924
+ if (existing_mcpServerCount === undefined || incoming_mcpServerCount === undefined) {
3925
+ return false;
3926
+ }
3927
+ if (!(existing_mcpServerCount === incoming_mcpServerCount)) {
3928
+ return false;
3929
+ }
3930
+ }
3798
3931
  const existing_topicCount = existing.topicCount;
3799
3932
  const incoming_topicCount = incoming.topicCount;
3800
3933
  // if at least one of these optionals is defined
@@ -4472,6 +4605,7 @@ function createResourceRequest$1(config) {
4472
4605
 
4473
4606
  const adapterName$1 = 'searchListings';
4474
4607
  const searchListings_ConfigPropertyMetadata = [
4608
+ generateParamConfigMetadata('agenticContent', false, 2 /* Body */, 0 /* String */, true),
4475
4609
  generateParamConfigMetadata('category', false, 2 /* Body */, 0 /* String */, true),
4476
4610
  generateParamConfigMetadata('edition', false, 2 /* Body */, 0 /* String */, true),
4477
4611
  generateParamConfigMetadata('features', false, 2 /* Body */, 0 /* String */, true),
@@ -6,6 +6,7 @@ export declare const adapterName = "searchListings";
6
6
  export declare const searchListings_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
7
7
  export declare const searchListings_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
8
  export interface SearchListingsConfig {
9
+ agenticContent?: Array<string>;
9
10
  category?: Array<string>;
10
11
  edition?: Array<string>;
11
12
  features?: Array<string>;
@@ -2,6 +2,7 @@ import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment,
2
2
  import { AppExchangeSearchListingCollectionRepresentation as types_AppExchangeSearchListingCollectionRepresentation_AppExchangeSearchListingCollectionRepresentation } from '../types/AppExchangeSearchListingCollectionRepresentation';
3
3
  export interface ResourceRequestConfig {
4
4
  body: {
5
+ agenticContent?: Array<string>;
5
6
  category?: Array<string>;
6
7
  edition?: Array<string>;
7
8
  features?: Array<string>;
@@ -1,5 +1,7 @@
1
+ import { AppExchangeMCPServerResourceRepresentation as AppExchangeMCPServerResourceRepresentation_AppExchangeMCPServerResourceRepresentation } from './AppExchangeMCPServerResourceRepresentation';
2
+ import { AppExchangeMCPServerToolRepresentation as AppExchangeMCPServerToolRepresentation_AppExchangeMCPServerToolRepresentation } from './AppExchangeMCPServerToolRepresentation';
1
3
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
- export declare const VERSION = "3ffa431b2a49e6be6319148bfe672f81";
4
+ export declare const VERSION = "eb3b802d4fee0ab3c5c4feaaf49c1205";
3
5
  export declare function validate(obj: any, path?: string): TypeError | null;
4
6
  export declare const RepresentationType: string;
5
7
  export declare function normalize(input: AppExchangeForceCopilotListingExtensionRepresentation, existing: AppExchangeForceCopilotListingExtensionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AppExchangeForceCopilotListingExtensionRepresentationNormalized;
@@ -148,6 +150,18 @@ export interface AppExchangeForceCopilotListingExtensionRepresentationNormalized
148
150
  longDescription?: string;
149
151
  /** The Marketplace on which this Listing can be publicly viewed. These values correspond to the Marketplace name, not SFID - they are converted to (Marketplace__c) IDs during Mulesoft sync */
150
152
  marketplace?: string;
153
+ /** Resources for MCP servers */
154
+ mcpServersResources?: Array<AppExchangeMCPServerResourceRepresentation_AppExchangeMCPServerResourceRepresentation>;
155
+ /** Tools for MCP servers */
156
+ mcpServersTools?: Array<AppExchangeMCPServerToolRepresentation_AppExchangeMCPServerToolRepresentation>;
157
+ /** Number of actions */
158
+ numActions?: number;
159
+ /** Number of agents */
160
+ numAgents?: number;
161
+ /** Number of MCP servers */
162
+ numMCPServers?: number;
163
+ /** Number of topics */
164
+ numTopics?: number;
151
165
  /** The place this App has in the Featured Apps Carousel in Org's Setup. i.e : 1 for first, 2 for second, etc. */
152
166
  orderInSetup?: number;
153
167
  /** Application Record ID on ORG62 */
@@ -273,6 +287,12 @@ export interface AppExchangeForceCopilotListingExtensionRepresentation {
273
287
  listingUrl?: string;
274
288
  longDescription?: string;
275
289
  marketplace?: string;
290
+ mcpServersResources?: Array<AppExchangeMCPServerResourceRepresentation_AppExchangeMCPServerResourceRepresentation>;
291
+ mcpServersTools?: Array<AppExchangeMCPServerToolRepresentation_AppExchangeMCPServerToolRepresentation>;
292
+ numActions?: number;
293
+ numAgents?: number;
294
+ numMCPServers?: number;
295
+ numTopics?: number;
276
296
  orderInSetup?: number;
277
297
  org62ApplicationId?: string;
278
298
  priceDetails?: string;
@@ -1,5 +1,5 @@
1
1
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
- export declare const VERSION = "665189e35b20e3cede6989c78faad07f";
2
+ export declare const VERSION = "9b9c4eb697586a23f8e530e97130f8f3";
3
3
  export declare function validate(obj: any, path?: string): TypeError | null;
4
4
  export declare const RepresentationType: string;
5
5
  export declare function normalize(input: AppExchangeListingAdditionalProps, existing: AppExchangeListingAdditionalPropsNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AppExchangeListingAdditionalPropsNormalized;
@@ -20,6 +20,8 @@ export interface AppExchangeListingAdditionalPropsNormalized {
20
20
  agentCount?: number;
21
21
  /** agentDescription of an AppExchange listing */
22
22
  agentDescription?: string;
23
+ /** mcpServerCount of an AppExchange listing */
24
+ mcpServerCount?: number;
23
25
  /** topicCount of an AppExchange listing */
24
26
  topicCount?: number;
25
27
  }
@@ -33,5 +35,6 @@ export interface AppExchangeListingAdditionalProps {
33
35
  actionCount?: number;
34
36
  agentCount?: number;
35
37
  agentDescription?: string;
38
+ mcpServerCount?: number;
36
39
  topicCount?: number;
37
40
  }
@@ -0,0 +1,31 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const VERSION = "41d143a5740bc2475abbaaf6d51fcfd2";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: AppExchangeMCPServerResourceRepresentation, existing: AppExchangeMCPServerResourceRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AppExchangeMCPServerResourceRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: AppExchangeMCPServerResourceRepresentationNormalized, incoming: AppExchangeMCPServerResourceRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: AppExchangeMCPServerResourceRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Represents an AppExchange MCP Server Resource
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface AppExchangeMCPServerResourceRepresentationNormalized {
17
+ /** Description of the MCP server resource */
18
+ description?: string;
19
+ /** Name of the MCP server resource */
20
+ name?: string;
21
+ }
22
+ /**
23
+ * Represents an AppExchange MCP Server Resource
24
+ *
25
+ * Keys:
26
+ * (none)
27
+ */
28
+ export interface AppExchangeMCPServerResourceRepresentation {
29
+ description?: string;
30
+ name?: string;
31
+ }
@@ -0,0 +1,31 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const VERSION = "3b2094e072f4d6420687f925ff81c955";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: AppExchangeMCPServerToolRepresentation, existing: AppExchangeMCPServerToolRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AppExchangeMCPServerToolRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: AppExchangeMCPServerToolRepresentationNormalized, incoming: AppExchangeMCPServerToolRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: AppExchangeMCPServerToolRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Represents an AppExchange MCP Server Tool
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface AppExchangeMCPServerToolRepresentationNormalized {
17
+ /** Description of the MCP server tool */
18
+ description?: string;
19
+ /** Name of the MCP server tool */
20
+ name?: string;
21
+ }
22
+ /**
23
+ * Represents an AppExchange MCP Server Tool
24
+ *
25
+ * Keys:
26
+ * (none)
27
+ */
28
+ export interface AppExchangeMCPServerToolRepresentation {
29
+ description?: string;
30
+ name?: string;
31
+ }
@@ -1,5 +1,5 @@
1
1
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
- export declare const VERSION = "7c382f854e32e62e92c9e716b159e2e5";
2
+ export declare const VERSION = "69217e0e5643e2dab78ecb88022da3bd";
3
3
  export declare function validate(obj: any, path?: string): TypeError | null;
4
4
  export declare const RepresentationType: string;
5
5
  export declare function normalize(input: AppExchangeSearchListingsInputRepresentation, existing: AppExchangeSearchListingsInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AppExchangeSearchListingsInputRepresentationNormalized;
@@ -14,6 +14,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
14
14
  * (none)
15
15
  */
16
16
  export interface AppExchangeSearchListingsInputRepresentationNormalized {
17
+ /** AgenticContent of the AppExchange listings */
18
+ agenticContent?: Array<string>;
17
19
  /** The category of the AppExchange listing */
18
20
  category?: Array<string>;
19
21
  /** The edition of the AppExchange listings */
@@ -62,6 +64,7 @@ export interface AppExchangeSearchListingsInputRepresentationNormalized {
62
64
  * (none)
63
65
  */
64
66
  export interface AppExchangeSearchListingsInputRepresentation {
67
+ agenticContent?: Array<string>;
65
68
  category?: Array<string>;
66
69
  edition?: Array<string>;
67
70
  features?: Array<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-platform-appexchange",
3
- "version": "1.380.0-dev2",
3
+ "version": "1.380.0-dev22",
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.380.0-dev2"
49
+ "@salesforce/lds-bindings": "^1.380.0-dev22"
50
50
  },
51
51
  "devDependencies": {
52
- "@salesforce/lds-compiler-plugins": "^1.380.0-dev2"
52
+ "@salesforce/lds-compiler-plugins": "^1.380.0-dev22"
53
53
  },
54
54
  "nx": {
55
55
  "targets": {
package/sfdc/index.js CHANGED
@@ -103,7 +103,7 @@ function createLink(ref) {
103
103
  };
104
104
  }
105
105
 
106
- function validate$D(obj, path = 'AppExchangeListingCategoriesRepresentation') {
106
+ function validate$F(obj, path = 'AppExchangeListingCategoriesRepresentation') {
107
107
  const v_error = (() => {
108
108
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
109
109
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -133,6 +133,52 @@ function validate$D(obj, path = 'AppExchangeListingCategoriesRepresentation') {
133
133
  return v_error === undefined ? null : v_error;
134
134
  }
135
135
 
136
+ function validate$E(obj, path = 'AppExchangeMCPServerResourceRepresentation') {
137
+ const v_error = (() => {
138
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
139
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
140
+ }
141
+ if (obj.description !== undefined) {
142
+ const obj_description = obj.description;
143
+ const path_description = path + '.description';
144
+ if (typeof obj_description !== 'string') {
145
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
146
+ }
147
+ }
148
+ if (obj.name !== undefined) {
149
+ const obj_name = obj.name;
150
+ const path_name = path + '.name';
151
+ if (typeof obj_name !== 'string') {
152
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
153
+ }
154
+ }
155
+ })();
156
+ return v_error === undefined ? null : v_error;
157
+ }
158
+
159
+ function validate$D(obj, path = 'AppExchangeMCPServerToolRepresentation') {
160
+ const v_error = (() => {
161
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
162
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
163
+ }
164
+ if (obj.description !== undefined) {
165
+ const obj_description = obj.description;
166
+ const path_description = path + '.description';
167
+ if (typeof obj_description !== 'string') {
168
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
169
+ }
170
+ }
171
+ if (obj.name !== undefined) {
172
+ const obj_name = obj.name;
173
+ const path_name = path + '.name';
174
+ if (typeof obj_name !== 'string') {
175
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
176
+ }
177
+ }
178
+ })();
179
+ return v_error === undefined ? null : v_error;
180
+ }
181
+
136
182
  function validate$C(obj, path = 'AppExchangeForceCopilotListingExtensionRepresentation') {
137
183
  const v_error = (() => {
138
184
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -649,6 +695,68 @@ function validate$C(obj, path = 'AppExchangeForceCopilotListingExtensionRepresen
649
695
  return new TypeError('Expected "string" but received "' + typeof obj_marketplace + '" (at "' + path_marketplace + '")');
650
696
  }
651
697
  }
698
+ if (obj.mcpServersResources !== undefined) {
699
+ const obj_mcpServersResources = obj.mcpServersResources;
700
+ const path_mcpServersResources = path + '.mcpServersResources';
701
+ if (!ArrayIsArray(obj_mcpServersResources)) {
702
+ return new TypeError('Expected "array" but received "' + typeof obj_mcpServersResources + '" (at "' + path_mcpServersResources + '")');
703
+ }
704
+ for (let i = 0; i < obj_mcpServersResources.length; i++) {
705
+ const obj_mcpServersResources_item = obj_mcpServersResources[i];
706
+ const path_mcpServersResources_item = path_mcpServersResources + '[' + i + ']';
707
+ const referencepath_mcpServersResources_itemValidationError = validate$E(obj_mcpServersResources_item, path_mcpServersResources_item);
708
+ if (referencepath_mcpServersResources_itemValidationError !== null) {
709
+ let message = 'Object doesn\'t match AppExchangeMCPServerResourceRepresentation (at "' + path_mcpServersResources_item + '")\n';
710
+ message += referencepath_mcpServersResources_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
711
+ return new TypeError(message);
712
+ }
713
+ }
714
+ }
715
+ if (obj.mcpServersTools !== undefined) {
716
+ const obj_mcpServersTools = obj.mcpServersTools;
717
+ const path_mcpServersTools = path + '.mcpServersTools';
718
+ if (!ArrayIsArray(obj_mcpServersTools)) {
719
+ return new TypeError('Expected "array" but received "' + typeof obj_mcpServersTools + '" (at "' + path_mcpServersTools + '")');
720
+ }
721
+ for (let i = 0; i < obj_mcpServersTools.length; i++) {
722
+ const obj_mcpServersTools_item = obj_mcpServersTools[i];
723
+ const path_mcpServersTools_item = path_mcpServersTools + '[' + i + ']';
724
+ const referencepath_mcpServersTools_itemValidationError = validate$D(obj_mcpServersTools_item, path_mcpServersTools_item);
725
+ if (referencepath_mcpServersTools_itemValidationError !== null) {
726
+ let message = 'Object doesn\'t match AppExchangeMCPServerToolRepresentation (at "' + path_mcpServersTools_item + '")\n';
727
+ message += referencepath_mcpServersTools_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
728
+ return new TypeError(message);
729
+ }
730
+ }
731
+ }
732
+ if (obj.numActions !== undefined) {
733
+ const obj_numActions = obj.numActions;
734
+ const path_numActions = path + '.numActions';
735
+ if (typeof obj_numActions !== 'number' || (typeof obj_numActions === 'number' && Math.floor(obj_numActions) !== obj_numActions)) {
736
+ return new TypeError('Expected "integer" but received "' + typeof obj_numActions + '" (at "' + path_numActions + '")');
737
+ }
738
+ }
739
+ if (obj.numAgents !== undefined) {
740
+ const obj_numAgents = obj.numAgents;
741
+ const path_numAgents = path + '.numAgents';
742
+ if (typeof obj_numAgents !== 'number' || (typeof obj_numAgents === 'number' && Math.floor(obj_numAgents) !== obj_numAgents)) {
743
+ return new TypeError('Expected "integer" but received "' + typeof obj_numAgents + '" (at "' + path_numAgents + '")');
744
+ }
745
+ }
746
+ if (obj.numMCPServers !== undefined) {
747
+ const obj_numMCPServers = obj.numMCPServers;
748
+ const path_numMCPServers = path + '.numMCPServers';
749
+ if (typeof obj_numMCPServers !== 'number' || (typeof obj_numMCPServers === 'number' && Math.floor(obj_numMCPServers) !== obj_numMCPServers)) {
750
+ return new TypeError('Expected "integer" but received "' + typeof obj_numMCPServers + '" (at "' + path_numMCPServers + '")');
751
+ }
752
+ }
753
+ if (obj.numTopics !== undefined) {
754
+ const obj_numTopics = obj.numTopics;
755
+ const path_numTopics = path + '.numTopics';
756
+ if (typeof obj_numTopics !== 'number' || (typeof obj_numTopics === 'number' && Math.floor(obj_numTopics) !== obj_numTopics)) {
757
+ return new TypeError('Expected "integer" but received "' + typeof obj_numTopics + '" (at "' + path_numTopics + '")');
758
+ }
759
+ }
652
760
  if (obj.orderInSetup !== undefined) {
653
761
  const obj_orderInSetup = obj.orderInSetup;
654
762
  const path_orderInSetup = path + '.orderInSetup';
@@ -3346,7 +3454,7 @@ function validate$5(obj, path = 'AppExchangeListingDetailsRepresentation') {
3346
3454
  const key = obj_businessNeeds_keys[i];
3347
3455
  const obj_businessNeeds_prop = obj_businessNeeds[key];
3348
3456
  const path_businessNeeds_prop = path_businessNeeds + '["' + key + '"]';
3349
- const referencepath_businessNeeds_propValidationError = validate$D(obj_businessNeeds_prop, path_businessNeeds_prop);
3457
+ const referencepath_businessNeeds_propValidationError = validate$F(obj_businessNeeds_prop, path_businessNeeds_prop);
3350
3458
  if (referencepath_businessNeeds_propValidationError !== null) {
3351
3459
  let message = 'Object doesn\'t match AppExchangeListingCategoriesRepresentation (at "' + path_businessNeeds_prop + '")\n';
3352
3460
  message += referencepath_businessNeeds_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3911,7 +4019,7 @@ const postAppExchangeUserEventsAdapterFactory = (luvio) => {
3911
4019
  };
3912
4020
  };
3913
4021
 
3914
- const VERSION$3 = "665189e35b20e3cede6989c78faad07f";
4022
+ const VERSION$3 = "9b9c4eb697586a23f8e530e97130f8f3";
3915
4023
  function validate$3(obj, path = 'AppExchangeListingAdditionalProps') {
3916
4024
  const v_error = (() => {
3917
4025
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -3938,6 +4046,13 @@ function validate$3(obj, path = 'AppExchangeListingAdditionalProps') {
3938
4046
  return new TypeError('Expected "string" but received "' + typeof obj_agentDescription + '" (at "' + path_agentDescription + '")');
3939
4047
  }
3940
4048
  }
4049
+ if (obj.mcpServerCount !== undefined) {
4050
+ const obj_mcpServerCount = obj.mcpServerCount;
4051
+ const path_mcpServerCount = path + '.mcpServerCount';
4052
+ if (typeof obj_mcpServerCount !== 'number' || (typeof obj_mcpServerCount === 'number' && Math.floor(obj_mcpServerCount) !== obj_mcpServerCount)) {
4053
+ return new TypeError('Expected "integer" but received "' + typeof obj_mcpServerCount + '" (at "' + path_mcpServerCount + '")');
4054
+ }
4055
+ }
3941
4056
  if (obj.topicCount !== undefined) {
3942
4057
  const obj_topicCount = obj.topicCount;
3943
4058
  const path_topicCount = path + '.topicCount';
@@ -3969,6 +4084,11 @@ const select$4 = function AppExchangeListingAdditionalPropsSelect() {
3969
4084
  kind: 'Scalar',
3970
4085
  required: false
3971
4086
  },
4087
+ {
4088
+ name: 'mcpServerCount',
4089
+ kind: 'Scalar',
4090
+ required: false
4091
+ },
3972
4092
  {
3973
4093
  name: 'topicCount',
3974
4094
  kind: 'Scalar',
@@ -4004,6 +4124,19 @@ function equals$3(existing, incoming) {
4004
4124
  return false;
4005
4125
  }
4006
4126
  }
4127
+ const existing_mcpServerCount = existing.mcpServerCount;
4128
+ const incoming_mcpServerCount = incoming.mcpServerCount;
4129
+ // if at least one of these optionals is defined
4130
+ if (existing_mcpServerCount !== undefined || incoming_mcpServerCount !== undefined) {
4131
+ // if one of these is not defined we know the other is defined and therefore
4132
+ // not equal
4133
+ if (existing_mcpServerCount === undefined || incoming_mcpServerCount === undefined) {
4134
+ return false;
4135
+ }
4136
+ if (!(existing_mcpServerCount === incoming_mcpServerCount)) {
4137
+ return false;
4138
+ }
4139
+ }
4007
4140
  const existing_topicCount = existing.topicCount;
4008
4141
  const incoming_topicCount = incoming.topicCount;
4009
4142
  // if at least one of these optionals is defined
@@ -4681,6 +4814,7 @@ function createResourceRequest(config) {
4681
4814
 
4682
4815
  const adapterName = 'searchListings';
4683
4816
  const searchListings_ConfigPropertyMetadata = [
4817
+ generateParamConfigMetadata('agenticContent', false, 2 /* Body */, 0 /* String */, true),
4684
4818
  generateParamConfigMetadata('category', false, 2 /* Body */, 0 /* String */, true),
4685
4819
  generateParamConfigMetadata('edition', false, 2 /* Body */, 0 /* String */, true),
4686
4820
  generateParamConfigMetadata('features', false, 2 /* Body */, 0 /* String */, true),
@@ -4785,4 +4919,4 @@ withDefaultLuvio((luvio) => {
4785
4919
  });
4786
4920
 
4787
4921
  export { getListingDetails, getListingDetails_imperative, postAppExchangeUserEvents, searchListings };
4788
- // version: 1.380.0-dev2-fd70e1c449
4922
+ // version: 1.380.0-dev22-411853e059
package/src/raml/api.raml CHANGED
@@ -559,6 +559,34 @@ types:
559
559
  to (Marketplace__c) IDs during Mulesoft sync
560
560
  type: string
561
561
  required: false # Hand-rolled
562
+ mcpServersResources:
563
+ description: Resources for MCP servers
564
+ type: array
565
+ required: false #Hand-rolled
566
+ items:
567
+ type: AppExchangeMCPServerResourceRepresentation
568
+ mcpServersTools:
569
+ description: Tools for MCP servers
570
+ type: array
571
+ required: false #Hand-rolled
572
+ items:
573
+ type: AppExchangeMCPServerToolRepresentation
574
+ numActions:
575
+ description: Number of actions
576
+ type: integer
577
+ required: false #Hand-rolled
578
+ numAgents:
579
+ description: Number of agents
580
+ type: integer
581
+ required: false #Hand-rolled
582
+ numMCPServers:
583
+ description: Number of MCP servers
584
+ type: integer
585
+ required: false #Hand-rolled
586
+ numTopics:
587
+ description: Number of topics
588
+ type: integer
589
+ required: false #Hand-rolled
562
590
  orderInSetup:
563
591
  description: "The place this App has in the Featured Apps Carousel in Org's
564
592
  Setup. i.e : 1 for first, 2 for second, etc."
@@ -1529,6 +1557,10 @@ types:
1529
1557
  description: agentDescription of an AppExchange listing
1530
1558
  type: string
1531
1559
  required: false #Hand-rolled
1560
+ mcpServerCount:
1561
+ description: mcpServerCount of an AppExchange listing
1562
+ type: integer
1563
+ required: false #Hand-rolled
1532
1564
  topicCount:
1533
1565
  description: topicCount of an AppExchange listing
1534
1566
  type: integer
@@ -1845,6 +1877,30 @@ types:
1845
1877
  required: false #Hand-rolled
1846
1878
  items:
1847
1879
  type: AppExchangeLogoSetItemRepresentation
1880
+ AppExchangeMCPServerResourceRepresentation:
1881
+ description: Represents an AppExchange MCP Server Resource
1882
+ type: object
1883
+ properties:
1884
+ description:
1885
+ description: Description of the MCP server resource
1886
+ type: string
1887
+ required: false #Hand-rolled
1888
+ name:
1889
+ description: Name of the MCP server resource
1890
+ type: string
1891
+ required: false #Hand-rolled
1892
+ AppExchangeMCPServerToolRepresentation:
1893
+ description: Represents an AppExchange MCP Server Tool
1894
+ type: object
1895
+ properties:
1896
+ description:
1897
+ description: Description of the MCP server tool
1898
+ type: string
1899
+ required: false #Hand-rolled
1900
+ name:
1901
+ description: Name of the MCP server tool
1902
+ type: string
1903
+ required: false #Hand-rolled
1848
1904
  AppExchangePaidPricingModelRepresentation:
1849
1905
  description: Represents an AppExchange paid pricing model
1850
1906
  discriminatorValue: paid
@@ -2225,6 +2281,17 @@ types:
2225
2281
  description: Represents an AppExchange search listings input
2226
2282
  type: object
2227
2283
  properties:
2284
+ agenticContent:
2285
+ description: AgenticContent of the AppExchange listings
2286
+ type: array
2287
+ required: false #Hand-rolled
2288
+ items:
2289
+ type: string
2290
+ enum:
2291
+ - Actions
2292
+ - Agents
2293
+ - McpServers
2294
+ - Topics
2228
2295
  category:
2229
2296
  description: The category of the AppExchange listing
2230
2297
  type: array