@salesforce/lds-adapters-service-einstein-copilot-bot 1.308.0 → 1.309.0-dev9

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.
@@ -2599,7 +2599,7 @@ function validate$4(obj, path = 'FollowUpActionsInputRepresentation') {
2599
2599
  return v_error === undefined ? null : v_error;
2600
2600
  }
2601
2601
 
2602
- const VERSION$3 = "38e904794d03177700e02a0dbd234d01";
2602
+ const VERSION$3 = "f3b8da658dda1468e0357f1fad159c79";
2603
2603
  function validate$3(obj, path = 'FollowUpActionsRepresentation') {
2604
2604
  const v_error = (() => {
2605
2605
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -2615,13 +2615,6 @@ function validate$3(obj, path = 'FollowUpActionsRepresentation') {
2615
2615
  if (obj_blockRenderers === undefined) {
2616
2616
  return new TypeError('Expected "defined" but received "' + typeof obj_blockRenderers + '" (at "' + path_blockRenderers + '")');
2617
2617
  }
2618
- if (obj.descriptor !== undefined) {
2619
- const obj_descriptor = obj.descriptor;
2620
- const path_descriptor = path + '.descriptor';
2621
- if (typeof obj_descriptor !== 'string') {
2622
- return new TypeError('Expected "string" but received "' + typeof obj_descriptor + '" (at "' + path_descriptor + '")');
2623
- }
2624
- }
2625
2618
  })();
2626
2619
  return v_error === undefined ? null : v_error;
2627
2620
  }
@@ -2640,29 +2633,11 @@ const select$5 = function FollowUpActionsRepresentationSelect() {
2640
2633
  name: 'blockRenderers',
2641
2634
  kind: 'Object',
2642
2635
  // any
2643
- },
2644
- {
2645
- name: 'descriptor',
2646
- kind: 'Scalar',
2647
- required: false
2648
2636
  }
2649
2637
  ]
2650
2638
  };
2651
2639
  };
2652
2640
  function equals$3(existing, incoming) {
2653
- const existing_descriptor = existing.descriptor;
2654
- const incoming_descriptor = incoming.descriptor;
2655
- // if at least one of these optionals is defined
2656
- if (existing_descriptor !== undefined || incoming_descriptor !== undefined) {
2657
- // if one of these is not defined we know the other is defined and therefore
2658
- // not equal
2659
- if (existing_descriptor === undefined || incoming_descriptor === undefined) {
2660
- return false;
2661
- }
2662
- if (!(existing_descriptor === incoming_descriptor)) {
2663
- return false;
2664
- }
2665
- }
2666
2641
  const existing_actions = existing.actions;
2667
2642
  const incoming_actions = incoming.actions;
2668
2643
  if (JSONStringify(incoming_actions) !== JSONStringify(existing_actions)) {
@@ -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 = "38e904794d03177700e02a0dbd234d01";
2
+ export declare const VERSION = "f3b8da658dda1468e0357f1fad159c79";
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: FollowUpActionsRepresentation, existing: FollowUpActionsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FollowUpActionsRepresentationNormalized;
@@ -16,7 +16,6 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
16
16
  export interface FollowUpActionsRepresentationNormalized {
17
17
  actions: unknown;
18
18
  blockRenderers: unknown;
19
- descriptor?: string;
20
19
  }
21
20
  /**
22
21
  * basic output item type of /connect/follow-up-actions endpoint
@@ -27,5 +26,4 @@ export interface FollowUpActionsRepresentationNormalized {
27
26
  export interface FollowUpActionsRepresentation {
28
27
  actions: unknown;
29
28
  blockRenderers: unknown;
30
- descriptor?: string;
31
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-service-einstein-copilot-bot",
3
- "version": "1.308.0",
3
+ "version": "1.309.0-dev9",
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.308.0"
43
+ "@salesforce/lds-bindings": "^1.309.0-dev9"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.308.0"
46
+ "@salesforce/lds-compiler-plugins": "^1.309.0-dev9"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -810,7 +810,7 @@ function validate$d(obj, path = 'FollowUpActionsInputRepresentation') {
810
810
  return v_error === undefined ? null : v_error;
811
811
  }
812
812
 
813
- const VERSION$b = "38e904794d03177700e02a0dbd234d01";
813
+ const VERSION$b = "f3b8da658dda1468e0357f1fad159c79";
814
814
  function validate$c(obj, path = 'FollowUpActionsRepresentation') {
815
815
  const v_error = (() => {
816
816
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -826,13 +826,6 @@ function validate$c(obj, path = 'FollowUpActionsRepresentation') {
826
826
  if (obj_blockRenderers === undefined) {
827
827
  return new TypeError('Expected "defined" but received "' + typeof obj_blockRenderers + '" (at "' + path_blockRenderers + '")');
828
828
  }
829
- if (obj.descriptor !== undefined) {
830
- const obj_descriptor = obj.descriptor;
831
- const path_descriptor = path + '.descriptor';
832
- if (typeof obj_descriptor !== 'string') {
833
- return new TypeError('Expected "string" but received "' + typeof obj_descriptor + '" (at "' + path_descriptor + '")');
834
- }
835
- }
836
829
  })();
837
830
  return v_error === undefined ? null : v_error;
838
831
  }
@@ -851,29 +844,11 @@ const select$g = function FollowUpActionsRepresentationSelect() {
851
844
  name: 'blockRenderers',
852
845
  kind: 'Object',
853
846
  // any
854
- },
855
- {
856
- name: 'descriptor',
857
- kind: 'Scalar',
858
- required: false
859
847
  }
860
848
  ]
861
849
  };
862
850
  };
863
851
  function equals$b(existing, incoming) {
864
- const existing_descriptor = existing.descriptor;
865
- const incoming_descriptor = incoming.descriptor;
866
- // if at least one of these optionals is defined
867
- if (existing_descriptor !== undefined || incoming_descriptor !== undefined) {
868
- // if one of these is not defined we know the other is defined and therefore
869
- // not equal
870
- if (existing_descriptor === undefined || incoming_descriptor === undefined) {
871
- return false;
872
- }
873
- if (!(existing_descriptor === incoming_descriptor)) {
874
- return false;
875
- }
876
- }
877
852
  const existing_actions = existing.actions;
878
853
  const incoming_actions = incoming.actions;
879
854
  if (JSONStringify(incoming_actions) !== JSONStringify(existing_actions)) {
@@ -3713,4 +3688,4 @@ withDefaultLuvio((luvio) => {
3713
3688
  });
3714
3689
 
3715
3690
  export { getBotId, getBotId_imperative, getCopilotObjects, getCopilotObjects_imperative, getFollowUpActions, getFollowUpActions_imperative, getRecommendedActions, getRecommendedActions_imperative, getRecommendedPlanTemplates, getRecommendedPlanTemplates_imperative, sendMessage, submitFeedback };
3716
- // version: 1.308.0-e148a73d6a
3691
+ // version: 1.309.0-dev9-7ca613f4d0
package/src/raml/api.raml CHANGED
@@ -369,9 +369,6 @@ types:
369
369
  description: basic output item type of /connect/follow-up-actions endpoint
370
370
  type: object
371
371
  properties:
372
- descriptor:
373
- type: string
374
- required: false
375
372
  actions:
376
373
  type: any
377
374
  blockRenderers: