@salesforce/lds-adapters-service-einstein-copilot-bot 1.354.0-dev2 → 1.354.0-dev21

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.
@@ -3142,7 +3142,7 @@ function select$9(luvio, params) {
3142
3142
  return select$a();
3143
3143
  }
3144
3144
  function keyBuilder$7(luvio, params) {
3145
- return keyPrefix + '::RecommendedUtterancesRepresentation:(' + 'sessionId:' + params.queryParams.sessionId + ')';
3145
+ return keyPrefix + '::RecommendedUtterancesRepresentation:(' + 'agentId:' + params.queryParams.agentId + ',' + 'sessionId:' + params.queryParams.sessionId + ')';
3146
3146
  }
3147
3147
  function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
3148
3148
  getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
@@ -3192,6 +3192,7 @@ function createResourceRequest$3(config) {
3192
3192
 
3193
3193
  const adapterName$3 = 'getRecommendedUtterances';
3194
3194
  const getRecommendedUtterances_ConfigPropertyMetadata = [
3195
+ generateParamConfigMetadata('agentId', false, 1 /* QueryParameter */, 0 /* String */),
3195
3196
  generateParamConfigMetadata('sessionId', true, 1 /* QueryParameter */, 0 /* String */),
3196
3197
  ];
3197
3198
  const getRecommendedUtterances_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getRecommendedUtterances_ConfigPropertyMetadata);
@@ -3811,7 +3812,7 @@ function select$6(luvio, params) {
3811
3812
  return select$7();
3812
3813
  }
3813
3814
  function keyBuilder$5(luvio, params) {
3814
- return keyPrefix + '::RecommendedActionsRepresentation:(' + 'pageName:' + params.queryParams.pageName + ',' + 'pageType:' + params.queryParams.pageType + ',' + 'actionName:' + params.queryParams.actionName + ',' + 'objectApiName:' + params.queryParams.objectApiName + ',' + 'customApplicationName:' + params.queryParams.customApplicationName + ',' + 'sessionId:' + params.queryParams.sessionId + ',' + 'formFactor:' + params.queryParams.formFactor + ')';
3815
+ return keyPrefix + '::RecommendedActionsRepresentation:(' + 'agentId:' + params.queryParams.agentId + ',' + 'pageName:' + params.queryParams.pageName + ',' + 'pageType:' + params.queryParams.pageType + ',' + 'actionName:' + params.queryParams.actionName + ',' + 'objectApiName:' + params.queryParams.objectApiName + ',' + 'customApplicationName:' + params.queryParams.customApplicationName + ',' + 'sessionId:' + params.queryParams.sessionId + ',' + 'formFactor:' + params.queryParams.formFactor + ')';
3815
3816
  }
3816
3817
  function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
3817
3818
  getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$5(luvio, resourceParams));
@@ -3861,6 +3862,7 @@ function createResourceRequest$2(config) {
3861
3862
 
3862
3863
  const adapterName$2 = 'getRecommendedActions';
3863
3864
  const getRecommendedActions_ConfigPropertyMetadata = [
3865
+ generateParamConfigMetadata('agentId', false, 1 /* QueryParameter */, 0 /* String */),
3864
3866
  generateParamConfigMetadata('pageName', false, 1 /* QueryParameter */, 0 /* String */),
3865
3867
  generateParamConfigMetadata('pageType', true, 1 /* QueryParameter */, 0 /* String */),
3866
3868
  generateParamConfigMetadata('actionName', false, 1 /* QueryParameter */, 0 /* String */),
@@ -4271,7 +4273,7 @@ const getWelcomeUtterancesAdapterFactory = (luvio) => function einsteinCopilotBo
4271
4273
  buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
4272
4274
  };
4273
4275
 
4274
- const VERSION$1 = "5cdcbe9b9b5307f4d285345d68c3236c";
4276
+ const VERSION$1 = "fffa53e7ae99db49035d39bf934a0dfb";
4275
4277
  function validate$1(obj, path = 'AgentforceAgentBotInfoRepresentation') {
4276
4278
  const v_error = (() => {
4277
4279
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -4305,6 +4307,13 @@ function validate$1(obj, path = 'AgentforceAgentBotInfoRepresentation') {
4305
4307
  return new TypeError('Expected "string" but received "' + typeof obj_errorMessage + '" (at "' + path_errorMessage + '")');
4306
4308
  }
4307
4309
  }
4310
+ if (obj.isDefault !== undefined) {
4311
+ const obj_isDefault = obj.isDefault;
4312
+ const path_isDefault = path + '.isDefault';
4313
+ if (typeof obj_isDefault !== 'boolean') {
4314
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isDefault + '" (at "' + path_isDefault + '")');
4315
+ }
4316
+ }
4308
4317
  const obj_isSuccess = obj.isSuccess;
4309
4318
  const path_isSuccess = path + '.isSuccess';
4310
4319
  if (typeof obj_isSuccess !== 'boolean') {
@@ -4317,6 +4326,20 @@ function validate$1(obj, path = 'AgentforceAgentBotInfoRepresentation') {
4317
4326
  return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
4318
4327
  }
4319
4328
  }
4329
+ if (obj.stopRecPrompts !== undefined) {
4330
+ const obj_stopRecPrompts = obj.stopRecPrompts;
4331
+ const path_stopRecPrompts = path + '.stopRecPrompts';
4332
+ if (typeof obj_stopRecPrompts !== 'boolean') {
4333
+ return new TypeError('Expected "boolean" but received "' + typeof obj_stopRecPrompts + '" (at "' + path_stopRecPrompts + '")');
4334
+ }
4335
+ }
4336
+ if (obj.stopWelcomePrompts !== undefined) {
4337
+ const obj_stopWelcomePrompts = obj.stopWelcomePrompts;
4338
+ const path_stopWelcomePrompts = path + '.stopWelcomePrompts';
4339
+ if (typeof obj_stopWelcomePrompts !== 'boolean') {
4340
+ return new TypeError('Expected "boolean" but received "' + typeof obj_stopWelcomePrompts + '" (at "' + path_stopWelcomePrompts + '")');
4341
+ }
4342
+ }
4320
4343
  })();
4321
4344
  return v_error === undefined ? null : v_error;
4322
4345
  }
@@ -4346,6 +4369,11 @@ const select$2 = function AgentforceAgentBotInfoRepresentationSelect() {
4346
4369
  kind: 'Scalar',
4347
4370
  required: false
4348
4371
  },
4372
+ {
4373
+ name: 'isDefault',
4374
+ kind: 'Scalar',
4375
+ required: false
4376
+ },
4349
4377
  {
4350
4378
  name: 'isSuccess',
4351
4379
  kind: 'Scalar'
@@ -4354,16 +4382,65 @@ const select$2 = function AgentforceAgentBotInfoRepresentationSelect() {
4354
4382
  name: 'label',
4355
4383
  kind: 'Scalar',
4356
4384
  required: false
4385
+ },
4386
+ {
4387
+ name: 'stopRecPrompts',
4388
+ kind: 'Scalar',
4389
+ required: false
4390
+ },
4391
+ {
4392
+ name: 'stopWelcomePrompts',
4393
+ kind: 'Scalar',
4394
+ required: false
4357
4395
  }
4358
4396
  ]
4359
4397
  };
4360
4398
  };
4361
4399
  function equals$1(existing, incoming) {
4400
+ const existing_isDefault = existing.isDefault;
4401
+ const incoming_isDefault = incoming.isDefault;
4402
+ // if at least one of these optionals is defined
4403
+ if (existing_isDefault !== undefined || incoming_isDefault !== undefined) {
4404
+ // if one of these is not defined we know the other is defined and therefore
4405
+ // not equal
4406
+ if (existing_isDefault === undefined || incoming_isDefault === undefined) {
4407
+ return false;
4408
+ }
4409
+ if (!(existing_isDefault === incoming_isDefault)) {
4410
+ return false;
4411
+ }
4412
+ }
4362
4413
  const existing_isSuccess = existing.isSuccess;
4363
4414
  const incoming_isSuccess = incoming.isSuccess;
4364
4415
  if (!(existing_isSuccess === incoming_isSuccess)) {
4365
4416
  return false;
4366
4417
  }
4418
+ const existing_stopRecPrompts = existing.stopRecPrompts;
4419
+ const incoming_stopRecPrompts = incoming.stopRecPrompts;
4420
+ // if at least one of these optionals is defined
4421
+ if (existing_stopRecPrompts !== undefined || incoming_stopRecPrompts !== undefined) {
4422
+ // if one of these is not defined we know the other is defined and therefore
4423
+ // not equal
4424
+ if (existing_stopRecPrompts === undefined || incoming_stopRecPrompts === undefined) {
4425
+ return false;
4426
+ }
4427
+ if (!(existing_stopRecPrompts === incoming_stopRecPrompts)) {
4428
+ return false;
4429
+ }
4430
+ }
4431
+ const existing_stopWelcomePrompts = existing.stopWelcomePrompts;
4432
+ const incoming_stopWelcomePrompts = incoming.stopWelcomePrompts;
4433
+ // if at least one of these optionals is defined
4434
+ if (existing_stopWelcomePrompts !== undefined || incoming_stopWelcomePrompts !== undefined) {
4435
+ // if one of these is not defined we know the other is defined and therefore
4436
+ // not equal
4437
+ if (existing_stopWelcomePrompts === undefined || incoming_stopWelcomePrompts === undefined) {
4438
+ return false;
4439
+ }
4440
+ if (!(existing_stopWelcomePrompts === incoming_stopWelcomePrompts)) {
4441
+ return false;
4442
+ }
4443
+ }
4367
4444
  const existing_agentType = existing.agentType;
4368
4445
  const incoming_agentType = incoming.agentType;
4369
4446
  // if at least one of these optionals is defined
@@ -4680,7 +4757,7 @@ function select(luvio, params) {
4680
4757
  return select$1();
4681
4758
  }
4682
4759
  function keyBuilder$1(luvio, params) {
4683
- return keyPrefix + '::AgentforceAgentBotInfoListRepresentation:(' + 'agentType:' + params.queryParams.agentType + ')';
4760
+ return keyPrefix + '::AgentforceAgentBotInfoListRepresentation:(' + 'agentType:' + params.queryParams.agentType + ',' + 'appName:' + params.queryParams.appName + ')';
4684
4761
  }
4685
4762
  function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
4686
4763
  getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
@@ -4731,6 +4808,7 @@ function createResourceRequest(config) {
4731
4808
  const adapterName = 'getAgents';
4732
4809
  const getAgents_ConfigPropertyMetadata = [
4733
4810
  generateParamConfigMetadata('agentType', true, 1 /* QueryParameter */, 0 /* String */),
4811
+ generateParamConfigMetadata('appName', false, 1 /* QueryParameter */, 0 /* String */),
4734
4812
  ];
4735
4813
  const getAgents_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getAgents_ConfigPropertyMetadata);
4736
4814
  const createResourceParams = /*#__PURE__*/ createResourceParams$a(getAgents_ConfigPropertyMetadata);
@@ -7,6 +7,7 @@ export declare const getAgents_ConfigPropertyMetadata: $64$luvio_engine_AdapterC
7
7
  export declare const getAgents_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
8
  export interface GetAgentsConfig {
9
9
  agentType: string;
10
+ appName?: string;
10
11
  }
11
12
  export declare const createResourceParams: (config: GetAgentsConfig) => resources_getConnectAgentforceAgentInfo_ResourceRequestConfig;
12
13
  export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetAgentsConfig): string;
@@ -6,6 +6,7 @@ export declare const adapterName = "getRecommendedActions";
6
6
  export declare const getRecommendedActions_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
7
7
  export declare const getRecommendedActions_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
8
  export interface GetRecommendedActionsConfig {
9
+ agentId?: string;
9
10
  pageName?: string;
10
11
  pageType: string;
11
12
  actionName?: string;
@@ -6,6 +6,7 @@ export declare const adapterName = "getRecommendedUtterances";
6
6
  export declare const getRecommendedUtterances_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
7
7
  export declare const getRecommendedUtterances_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
8
  export interface GetRecommendedUtterancesConfig {
9
+ agentId?: string;
9
10
  sessionId: string;
10
11
  }
11
12
  export declare const createResourceParams: (config: GetRecommendedUtterancesConfig) => resources_getConnectRecommendedUtterances_ResourceRequestConfig;
@@ -3,6 +3,7 @@ import { AgentforceAgentBotInfoListRepresentation as types_AgentforceAgentBotInf
3
3
  export interface ResourceRequestConfig {
4
4
  queryParams: {
5
5
  agentType: string;
6
+ appName?: string;
6
7
  };
7
8
  }
8
9
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
@@ -2,6 +2,7 @@ import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment,
2
2
  import { RecommendedActionsRepresentation as types_RecommendedActionsRepresentation_RecommendedActionsRepresentation } from '../types/RecommendedActionsRepresentation';
3
3
  export interface ResourceRequestConfig {
4
4
  queryParams: {
5
+ agentId?: string;
5
6
  pageName?: string;
6
7
  pageType: string;
7
8
  actionName?: string;
@@ -2,6 +2,7 @@ import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment,
2
2
  import { RecommendedUtterancesRepresentation as types_RecommendedUtterancesRepresentation_RecommendedUtterancesRepresentation } from '../types/RecommendedUtterancesRepresentation';
3
3
  export interface ResourceRequestConfig {
4
4
  queryParams: {
5
+ agentId?: string;
5
6
  sessionId: string;
6
7
  };
7
8
  }
@@ -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 = "5cdcbe9b9b5307f4d285345d68c3236c";
2
+ export declare const VERSION = "fffa53e7ae99db49035d39bf934a0dfb";
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: AgentforceAgentBotInfoRepresentation, existing: AgentforceAgentBotInfoRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AgentforceAgentBotInfoRepresentationNormalized;
@@ -22,10 +22,16 @@ export interface AgentforceAgentBotInfoRepresentationNormalized {
22
22
  description?: string;
23
23
  /** Error message for the failed get operation. */
24
24
  errorMessage?: string;
25
+ /** Indicates weather the Agent is default */
26
+ isDefault?: boolean;
25
27
  /** Success indicator of the get operation. */
26
28
  isSuccess: boolean;
27
29
  /** display label of the agent */
28
30
  label?: string;
31
+ /** Indicates whether the Agent will show Recommended prompts */
32
+ stopRecPrompts?: boolean;
33
+ /** Indicates whether the Agent will show Welcome prompts */
34
+ stopWelcomePrompts?: boolean;
29
35
  }
30
36
  /**
31
37
  * User defined Agent metadata per agent type
@@ -38,6 +44,9 @@ export interface AgentforceAgentBotInfoRepresentation {
38
44
  botId?: string;
39
45
  description?: string;
40
46
  errorMessage?: string;
47
+ isDefault?: boolean;
41
48
  isSuccess: boolean;
42
49
  label?: string;
50
+ stopRecPrompts?: boolean;
51
+ stopWelcomePrompts?: boolean;
43
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-service-einstein-copilot-bot",
3
- "version": "1.354.0-dev2",
3
+ "version": "1.354.0-dev21",
4
4
  "description": "Einstein Copilot Bot API Family",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/service-einstein-copilot-bot.js",
@@ -40,10 +40,10 @@
40
40
  "test:unit": "jest"
41
41
  },
42
42
  "dependencies": {
43
- "@salesforce/lds-bindings": "^1.354.0-dev2"
43
+ "@salesforce/lds-bindings": "^1.354.0-dev21"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.354.0-dev2"
46
+ "@salesforce/lds-compiler-plugins": "^1.354.0-dev21"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -122,7 +122,7 @@ function createLink(ref) {
122
122
  };
123
123
  }
124
124
 
125
- const VERSION$j = "5cdcbe9b9b5307f4d285345d68c3236c";
125
+ const VERSION$j = "fffa53e7ae99db49035d39bf934a0dfb";
126
126
  function validate$q(obj, path = 'AgentforceAgentBotInfoRepresentation') {
127
127
  const v_error = (() => {
128
128
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -156,6 +156,13 @@ function validate$q(obj, path = 'AgentforceAgentBotInfoRepresentation') {
156
156
  return new TypeError('Expected "string" but received "' + typeof obj_errorMessage + '" (at "' + path_errorMessage + '")');
157
157
  }
158
158
  }
159
+ if (obj.isDefault !== undefined) {
160
+ const obj_isDefault = obj.isDefault;
161
+ const path_isDefault = path + '.isDefault';
162
+ if (typeof obj_isDefault !== 'boolean') {
163
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isDefault + '" (at "' + path_isDefault + '")');
164
+ }
165
+ }
159
166
  const obj_isSuccess = obj.isSuccess;
160
167
  const path_isSuccess = path + '.isSuccess';
161
168
  if (typeof obj_isSuccess !== 'boolean') {
@@ -168,6 +175,20 @@ function validate$q(obj, path = 'AgentforceAgentBotInfoRepresentation') {
168
175
  return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
169
176
  }
170
177
  }
178
+ if (obj.stopRecPrompts !== undefined) {
179
+ const obj_stopRecPrompts = obj.stopRecPrompts;
180
+ const path_stopRecPrompts = path + '.stopRecPrompts';
181
+ if (typeof obj_stopRecPrompts !== 'boolean') {
182
+ return new TypeError('Expected "boolean" but received "' + typeof obj_stopRecPrompts + '" (at "' + path_stopRecPrompts + '")');
183
+ }
184
+ }
185
+ if (obj.stopWelcomePrompts !== undefined) {
186
+ const obj_stopWelcomePrompts = obj.stopWelcomePrompts;
187
+ const path_stopWelcomePrompts = path + '.stopWelcomePrompts';
188
+ if (typeof obj_stopWelcomePrompts !== 'boolean') {
189
+ return new TypeError('Expected "boolean" but received "' + typeof obj_stopWelcomePrompts + '" (at "' + path_stopWelcomePrompts + '")');
190
+ }
191
+ }
171
192
  })();
172
193
  return v_error === undefined ? null : v_error;
173
194
  }
@@ -197,6 +218,11 @@ const select$t = function AgentforceAgentBotInfoRepresentationSelect() {
197
218
  kind: 'Scalar',
198
219
  required: false
199
220
  },
221
+ {
222
+ name: 'isDefault',
223
+ kind: 'Scalar',
224
+ required: false
225
+ },
200
226
  {
201
227
  name: 'isSuccess',
202
228
  kind: 'Scalar'
@@ -205,16 +231,65 @@ const select$t = function AgentforceAgentBotInfoRepresentationSelect() {
205
231
  name: 'label',
206
232
  kind: 'Scalar',
207
233
  required: false
234
+ },
235
+ {
236
+ name: 'stopRecPrompts',
237
+ kind: 'Scalar',
238
+ required: false
239
+ },
240
+ {
241
+ name: 'stopWelcomePrompts',
242
+ kind: 'Scalar',
243
+ required: false
208
244
  }
209
245
  ]
210
246
  };
211
247
  };
212
248
  function equals$j(existing, incoming) {
249
+ const existing_isDefault = existing.isDefault;
250
+ const incoming_isDefault = incoming.isDefault;
251
+ // if at least one of these optionals is defined
252
+ if (existing_isDefault !== undefined || incoming_isDefault !== undefined) {
253
+ // if one of these is not defined we know the other is defined and therefore
254
+ // not equal
255
+ if (existing_isDefault === undefined || incoming_isDefault === undefined) {
256
+ return false;
257
+ }
258
+ if (!(existing_isDefault === incoming_isDefault)) {
259
+ return false;
260
+ }
261
+ }
213
262
  const existing_isSuccess = existing.isSuccess;
214
263
  const incoming_isSuccess = incoming.isSuccess;
215
264
  if (!(existing_isSuccess === incoming_isSuccess)) {
216
265
  return false;
217
266
  }
267
+ const existing_stopRecPrompts = existing.stopRecPrompts;
268
+ const incoming_stopRecPrompts = incoming.stopRecPrompts;
269
+ // if at least one of these optionals is defined
270
+ if (existing_stopRecPrompts !== undefined || incoming_stopRecPrompts !== undefined) {
271
+ // if one of these is not defined we know the other is defined and therefore
272
+ // not equal
273
+ if (existing_stopRecPrompts === undefined || incoming_stopRecPrompts === undefined) {
274
+ return false;
275
+ }
276
+ if (!(existing_stopRecPrompts === incoming_stopRecPrompts)) {
277
+ return false;
278
+ }
279
+ }
280
+ const existing_stopWelcomePrompts = existing.stopWelcomePrompts;
281
+ const incoming_stopWelcomePrompts = incoming.stopWelcomePrompts;
282
+ // if at least one of these optionals is defined
283
+ if (existing_stopWelcomePrompts !== undefined || incoming_stopWelcomePrompts !== undefined) {
284
+ // if one of these is not defined we know the other is defined and therefore
285
+ // not equal
286
+ if (existing_stopWelcomePrompts === undefined || incoming_stopWelcomePrompts === undefined) {
287
+ return false;
288
+ }
289
+ if (!(existing_stopWelcomePrompts === incoming_stopWelcomePrompts)) {
290
+ return false;
291
+ }
292
+ }
218
293
  const existing_agentType = existing.agentType;
219
294
  const incoming_agentType = incoming.agentType;
220
295
  // if at least one of these optionals is defined
@@ -531,7 +606,7 @@ function select$r(luvio, params) {
531
606
  return select$s();
532
607
  }
533
608
  function keyBuilder$i(luvio, params) {
534
- return keyPrefix + '::AgentforceAgentBotInfoListRepresentation:(' + 'agentType:' + params.queryParams.agentType + ')';
609
+ return keyPrefix + '::AgentforceAgentBotInfoListRepresentation:(' + 'agentType:' + params.queryParams.agentType + ',' + 'appName:' + params.queryParams.appName + ')';
535
610
  }
536
611
  function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
537
612
  getTypeCacheKeys$a(storeKeyMap, luvio, response, () => keyBuilder$i(luvio, resourceParams));
@@ -582,6 +657,7 @@ function createResourceRequest$9(config) {
582
657
  const adapterName$9 = 'getAgents';
583
658
  const getAgents_ConfigPropertyMetadata = [
584
659
  generateParamConfigMetadata('agentType', true, 1 /* QueryParameter */, 0 /* String */),
660
+ generateParamConfigMetadata('appName', false, 1 /* QueryParameter */, 0 /* String */),
585
661
  ];
586
662
  const getAgents_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getAgents_ConfigPropertyMetadata);
587
663
  const createResourceParams$9 = /*#__PURE__*/ createResourceParams$a(getAgents_ConfigPropertyMetadata);
@@ -2313,7 +2389,7 @@ function select$g(luvio, params) {
2313
2389
  return select$h();
2314
2390
  }
2315
2391
  function keyBuilder$a(luvio, params) {
2316
- return keyPrefix + '::RecommendedActionsRepresentation:(' + 'pageName:' + params.queryParams.pageName + ',' + 'pageType:' + params.queryParams.pageType + ',' + 'actionName:' + params.queryParams.actionName + ',' + 'objectApiName:' + params.queryParams.objectApiName + ',' + 'customApplicationName:' + params.queryParams.customApplicationName + ',' + 'sessionId:' + params.queryParams.sessionId + ',' + 'formFactor:' + params.queryParams.formFactor + ')';
2392
+ return keyPrefix + '::RecommendedActionsRepresentation:(' + 'agentId:' + params.queryParams.agentId + ',' + 'pageName:' + params.queryParams.pageName + ',' + 'pageType:' + params.queryParams.pageType + ',' + 'actionName:' + params.queryParams.actionName + ',' + 'objectApiName:' + params.queryParams.objectApiName + ',' + 'customApplicationName:' + params.queryParams.customApplicationName + ',' + 'sessionId:' + params.queryParams.sessionId + ',' + 'formFactor:' + params.queryParams.formFactor + ')';
2317
2393
  }
2318
2394
  function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
2319
2395
  getTypeCacheKeys$6(storeKeyMap, luvio, response, () => keyBuilder$a(luvio, resourceParams));
@@ -2363,6 +2439,7 @@ function createResourceRequest$5(config) {
2363
2439
 
2364
2440
  const adapterName$5 = 'getRecommendedActions';
2365
2441
  const getRecommendedActions_ConfigPropertyMetadata = [
2442
+ generateParamConfigMetadata('agentId', false, 1 /* QueryParameter */, 0 /* String */),
2366
2443
  generateParamConfigMetadata('pageName', false, 1 /* QueryParameter */, 0 /* String */),
2367
2444
  generateParamConfigMetadata('pageType', true, 1 /* QueryParameter */, 0 /* String */),
2368
2445
  generateParamConfigMetadata('actionName', false, 1 /* QueryParameter */, 0 /* String */),
@@ -2936,7 +3013,7 @@ function select$b(luvio, params) {
2936
3013
  return select$c();
2937
3014
  }
2938
3015
  function keyBuilder$6(luvio, params) {
2939
- return keyPrefix + '::RecommendedUtterancesRepresentation:(' + 'sessionId:' + params.queryParams.sessionId + ')';
3016
+ return keyPrefix + '::RecommendedUtterancesRepresentation:(' + 'agentId:' + params.queryParams.agentId + ',' + 'sessionId:' + params.queryParams.sessionId + ')';
2940
3017
  }
2941
3018
  function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
2942
3019
  getTypeCacheKeys$4(storeKeyMap, luvio, response, () => keyBuilder$6(luvio, resourceParams));
@@ -2986,6 +3063,7 @@ function createResourceRequest$3(config) {
2986
3063
 
2987
3064
  const adapterName$3 = 'getRecommendedUtterances';
2988
3065
  const getRecommendedUtterances_ConfigPropertyMetadata = [
3066
+ generateParamConfigMetadata('agentId', false, 1 /* QueryParameter */, 0 /* String */),
2989
3067
  generateParamConfigMetadata('sessionId', true, 1 /* QueryParameter */, 0 /* String */),
2990
3068
  ];
2991
3069
  const getRecommendedUtterances_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getRecommendedUtterances_ConfigPropertyMetadata);
@@ -4938,4 +5016,4 @@ withDefaultLuvio((luvio) => {
4938
5016
  });
4939
5017
 
4940
5018
  export { getAgents, getAgents_imperative, getBotId, getBotId_imperative, getCopilotObjects, getCopilotObjects_imperative, getFollowUpActions, getFollowUpActions_imperative, getRecommendedActions, getRecommendedActions_imperative, getRecommendedPlanTemplates, getRecommendedPlanTemplates_imperative, getRecommendedUtterances, getRecommendedUtterances_imperative, getWelcomeUtterances, getWelcomeUtterances_imperative, sendMessage, submitFeedback };
4941
- // version: 1.354.0-dev2-493c24af5a
5019
+ // version: 1.354.0-dev21-5f69ab6bb6
package/src/raml/api.raml CHANGED
@@ -628,6 +628,18 @@ types:
628
628
  description: internal agent type api name
629
629
  type: string
630
630
  required: false
631
+ isDefault:
632
+ description: Indicates weather the Agent is default
633
+ type: boolean
634
+ required: false
635
+ stopRecPrompts:
636
+ description: Indicates whether the Agent will show Recommended prompts
637
+ type: boolean
638
+ required: false
639
+ stopWelcomePrompts:
640
+ description: Indicates whether the Agent will show Welcome prompts
641
+ type: boolean
642
+ required: false
631
643
  AgentforceAgentBotInfoListRepresentation:
632
644
  description: Represents the resultant list with agents per agent type including bot metadata
633
645
  type: object
@@ -783,6 +795,9 @@ types:
783
795
  application/json:
784
796
  type: RecommendedUtterancesRepresentation
785
797
  queryParameters:
798
+ agentId:
799
+ type: string
800
+ required: false
786
801
  sessionId:
787
802
  type: string
788
803
  required: true
@@ -797,6 +812,9 @@ types:
797
812
  application/json:
798
813
  type: RecommendedActionsRepresentation
799
814
  queryParameters:
815
+ agentId:
816
+ type: string
817
+ required: false
800
818
  pageName:
801
819
  type: string
802
820
  required: false
@@ -850,3 +868,6 @@ types:
850
868
  agentType:
851
869
  type: string
852
870
  required: true
871
+ appName:
872
+ type: string
873
+ required: false