@salesforce/lds-adapters-service-einstein-copilot-bot 1.451.0-dev14 → 1.451.0-dev16

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.
@@ -4510,7 +4510,7 @@ function equals$2(existing, incoming) {
4510
4510
  return true;
4511
4511
  }
4512
4512
 
4513
- const VERSION$1 = "3585a67e9604dbc1415da254caeadf75";
4513
+ const VERSION$1 = "26e43b5857dadaf08b6238267b1dd512";
4514
4514
  function validate$1(obj, path = 'AgentforceAgentBotInfoRepresentation') {
4515
4515
  const v_error = (() => {
4516
4516
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -4558,6 +4558,13 @@ function validate$1(obj, path = 'AgentforceAgentBotInfoRepresentation') {
4558
4558
  return new TypeError('Expected "boolean" but received "' + typeof obj_isDefault + '" (at "' + path_isDefault + '")');
4559
4559
  }
4560
4560
  }
4561
+ if (obj.isFileUploadEnabled !== undefined) {
4562
+ const obj_isFileUploadEnabled = obj.isFileUploadEnabled;
4563
+ const path_isFileUploadEnabled = path + '.isFileUploadEnabled';
4564
+ if (typeof obj_isFileUploadEnabled !== 'boolean') {
4565
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isFileUploadEnabled + '" (at "' + path_isFileUploadEnabled + '")');
4566
+ }
4567
+ }
4561
4568
  const obj_isSuccess = obj.isSuccess;
4562
4569
  const path_isSuccess = path + '.isSuccess';
4563
4570
  if (typeof obj_isSuccess !== 'boolean') {
@@ -4655,6 +4662,11 @@ const select$2 = function AgentforceAgentBotInfoRepresentationSelect() {
4655
4662
  kind: 'Scalar',
4656
4663
  required: false
4657
4664
  },
4665
+ {
4666
+ name: 'isFileUploadEnabled',
4667
+ kind: 'Scalar',
4668
+ required: false
4669
+ },
4658
4670
  {
4659
4671
  name: 'isSuccess',
4660
4672
  kind: 'Scalar'
@@ -4708,6 +4720,19 @@ function equals$1(existing, incoming) {
4708
4720
  return false;
4709
4721
  }
4710
4722
  }
4723
+ const existing_isFileUploadEnabled = existing.isFileUploadEnabled;
4724
+ const incoming_isFileUploadEnabled = incoming.isFileUploadEnabled;
4725
+ // if at least one of these optionals is defined
4726
+ if (existing_isFileUploadEnabled !== undefined || incoming_isFileUploadEnabled !== undefined) {
4727
+ // if one of these is not defined we know the other is defined and therefore
4728
+ // not equal
4729
+ if (existing_isFileUploadEnabled === undefined || incoming_isFileUploadEnabled === undefined) {
4730
+ return false;
4731
+ }
4732
+ if (!(existing_isFileUploadEnabled === incoming_isFileUploadEnabled)) {
4733
+ return false;
4734
+ }
4735
+ }
4711
4736
  const existing_isSuccess = existing.isSuccess;
4712
4737
  const incoming_isSuccess = incoming.isSuccess;
4713
4738
  if (!(existing_isSuccess === incoming_isSuccess)) {
@@ -1,6 +1,6 @@
1
1
  import { MessagingChannelInfoRepresentation as MessagingChannelInfoRepresentation_MessagingChannelInfoRepresentation } from './MessagingChannelInfoRepresentation';
2
2
  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';
3
- export declare const VERSION = "3585a67e9604dbc1415da254caeadf75";
3
+ export declare const VERSION = "26e43b5857dadaf08b6238267b1dd512";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
5
5
  export declare const RepresentationType: string;
6
6
  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;
@@ -27,6 +27,8 @@ export interface AgentforceAgentBotInfoRepresentationNormalized {
27
27
  errorMessage?: string;
28
28
  /** Indicates weather the Agent is default */
29
29
  isDefault?: boolean;
30
+ /** Indicates whether file upload is enabled for the Agent */
31
+ isFileUploadEnabled?: boolean;
30
32
  /** Success indicator of the get operation. */
31
33
  isSuccess: boolean;
32
34
  /** Indicates whether the agent has skills authored (per-agent). */
@@ -55,6 +57,7 @@ export interface AgentforceAgentBotInfoRepresentation {
55
57
  description?: string;
56
58
  errorMessage?: string;
57
59
  isDefault?: boolean;
60
+ isFileUploadEnabled?: boolean;
58
61
  isSuccess: boolean;
59
62
  isUserSkillsEnabled?: boolean;
60
63
  isVoiceEnabled?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-service-einstein-copilot-bot",
3
- "version": "1.451.0-dev14",
3
+ "version": "1.451.0-dev16",
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.451.0-dev14"
43
+ "@salesforce/lds-bindings": "^1.451.0-dev16"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.451.0-dev14"
46
+ "@salesforce/lds-compiler-plugins": "^1.451.0-dev16"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -359,7 +359,7 @@ function equals$k(existing, incoming) {
359
359
  return true;
360
360
  }
361
361
 
362
- const VERSION$j = "3585a67e9604dbc1415da254caeadf75";
362
+ const VERSION$j = "26e43b5857dadaf08b6238267b1dd512";
363
363
  function validate$q(obj, path = 'AgentforceAgentBotInfoRepresentation') {
364
364
  const v_error = (() => {
365
365
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -407,6 +407,13 @@ function validate$q(obj, path = 'AgentforceAgentBotInfoRepresentation') {
407
407
  return new TypeError('Expected "boolean" but received "' + typeof obj_isDefault + '" (at "' + path_isDefault + '")');
408
408
  }
409
409
  }
410
+ if (obj.isFileUploadEnabled !== undefined) {
411
+ const obj_isFileUploadEnabled = obj.isFileUploadEnabled;
412
+ const path_isFileUploadEnabled = path + '.isFileUploadEnabled';
413
+ if (typeof obj_isFileUploadEnabled !== 'boolean') {
414
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isFileUploadEnabled + '" (at "' + path_isFileUploadEnabled + '")');
415
+ }
416
+ }
410
417
  const obj_isSuccess = obj.isSuccess;
411
418
  const path_isSuccess = path + '.isSuccess';
412
419
  if (typeof obj_isSuccess !== 'boolean') {
@@ -504,6 +511,11 @@ const select$t = function AgentforceAgentBotInfoRepresentationSelect() {
504
511
  kind: 'Scalar',
505
512
  required: false
506
513
  },
514
+ {
515
+ name: 'isFileUploadEnabled',
516
+ kind: 'Scalar',
517
+ required: false
518
+ },
507
519
  {
508
520
  name: 'isSuccess',
509
521
  kind: 'Scalar'
@@ -557,6 +569,19 @@ function equals$j(existing, incoming) {
557
569
  return false;
558
570
  }
559
571
  }
572
+ const existing_isFileUploadEnabled = existing.isFileUploadEnabled;
573
+ const incoming_isFileUploadEnabled = incoming.isFileUploadEnabled;
574
+ // if at least one of these optionals is defined
575
+ if (existing_isFileUploadEnabled !== undefined || incoming_isFileUploadEnabled !== undefined) {
576
+ // if one of these is not defined we know the other is defined and therefore
577
+ // not equal
578
+ if (existing_isFileUploadEnabled === undefined || incoming_isFileUploadEnabled === undefined) {
579
+ return false;
580
+ }
581
+ if (!(existing_isFileUploadEnabled === incoming_isFileUploadEnabled)) {
582
+ return false;
583
+ }
584
+ }
560
585
  const existing_isSuccess = existing.isSuccess;
561
586
  const incoming_isSuccess = incoming.isSuccess;
562
587
  if (!(existing_isSuccess === incoming_isSuccess)) {
@@ -5396,4 +5421,4 @@ withDefaultLuvio((luvio) => {
5396
5421
  });
5397
5422
 
5398
5423
  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 };
5399
- // version: 1.451.0-dev14-e7b4018fe5
5424
+ // version: 1.451.0-dev16-2655209773
package/src/raml/api.raml CHANGED
@@ -652,6 +652,10 @@ types:
652
652
  description: Indicates whether the agent has skills authored (per-agent).
653
653
  type: boolean
654
654
  required: false
655
+ isFileUploadEnabled:
656
+ description: Indicates whether file upload is enabled for the Agent
657
+ type: boolean
658
+ required: false
655
659
  messagingChannels:
656
660
  description: List of EmbeddedMessaging channels provisioned for this Agent.
657
661
  type: array