@salesforce/lds-adapters-service-einstein-copilot-bot 1.266.0-dev1 → 1.266.0-dev10

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.
@@ -339,12 +339,17 @@ const getBotIdAdapterFactory = (luvio) => function einsteinCopilotBot__getBotId(
339
339
  buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
340
340
  };
341
341
 
342
- const VERSION$4 = "35edf813cf9e135085be6a7af45aada2";
342
+ const VERSION$4 = "eaa88c9352375a84f304d76d13628b5a";
343
343
  function validate$5(obj, path = 'EsTypeMessageRepresentation') {
344
344
  const v_error = (() => {
345
345
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
346
346
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
347
347
  }
348
+ const obj_property = obj.property;
349
+ const path_property = path + '.property';
350
+ if (typeof obj_property !== 'string') {
351
+ return new TypeError('Expected "string" but received "' + typeof obj_property + '" (at "' + path_property + '")');
352
+ }
348
353
  const obj_type = obj.type;
349
354
  const path_type = path + '.type';
350
355
  if (typeof obj_type !== 'string') {
@@ -364,6 +369,10 @@ const select$5 = function EsTypeMessageRepresentationSelect() {
364
369
  version: VERSION$4,
365
370
  private: [],
366
371
  selections: [
372
+ {
373
+ name: 'property',
374
+ kind: 'Scalar'
375
+ },
367
376
  {
368
377
  name: 'type',
369
378
  kind: 'Scalar'
@@ -377,6 +386,11 @@ const select$5 = function EsTypeMessageRepresentationSelect() {
377
386
  };
378
387
  };
379
388
  function equals$4(existing, incoming) {
389
+ const existing_property = existing.property;
390
+ const incoming_property = incoming.property;
391
+ if (!(existing_property === incoming_property)) {
392
+ return false;
393
+ }
380
394
  const existing_type = existing.type;
381
395
  const incoming_type = incoming.type;
382
396
  if (!(existing_type === incoming_type)) {
@@ -515,7 +529,7 @@ function equals$2(existing, incoming) {
515
529
  }
516
530
 
517
531
  const TTL$1 = 30000;
518
- const VERSION$1 = "d0d96f922e0e6a5215ead292fbeb0363";
532
+ const VERSION$1 = "d3d34b56efe68a37c173d0cb91c57ba1";
519
533
  function validate$1(obj, path = 'ConversationRuntimeProxyMessageRepresentation') {
520
534
  const v_error = (() => {
521
535
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -614,6 +628,32 @@ function validate$1(obj, path = 'ConversationRuntimeProxyMessageRepresentation')
614
628
  return new TypeError(message);
615
629
  }
616
630
  }
631
+ const obj_feedbackId = obj.feedbackId;
632
+ const path_feedbackId = path + '.feedbackId';
633
+ let obj_feedbackId_union0 = null;
634
+ const obj_feedbackId_union0_error = (() => {
635
+ if (typeof obj_feedbackId !== 'string') {
636
+ return new TypeError('Expected "string" but received "' + typeof obj_feedbackId + '" (at "' + path_feedbackId + '")');
637
+ }
638
+ })();
639
+ if (obj_feedbackId_union0_error != null) {
640
+ obj_feedbackId_union0 = obj_feedbackId_union0_error.message;
641
+ }
642
+ let obj_feedbackId_union1 = null;
643
+ const obj_feedbackId_union1_error = (() => {
644
+ if (obj_feedbackId !== null) {
645
+ return new TypeError('Expected "null" but received "' + typeof obj_feedbackId + '" (at "' + path_feedbackId + '")');
646
+ }
647
+ })();
648
+ if (obj_feedbackId_union1_error != null) {
649
+ obj_feedbackId_union1 = obj_feedbackId_union1_error.message;
650
+ }
651
+ if (obj_feedbackId_union0 && obj_feedbackId_union1) {
652
+ let message = 'Object doesn\'t match union (at "' + path_feedbackId + '")';
653
+ message += '\n' + obj_feedbackId_union0.split('\n').map((line) => '\t' + line).join('\n');
654
+ message += '\n' + obj_feedbackId_union1.split('\n').map((line) => '\t' + line).join('\n');
655
+ return new TypeError(message);
656
+ }
617
657
  const obj_id = obj.id;
618
658
  const path_id = path + '.id';
619
659
  if (typeof obj_id !== 'string') {
@@ -675,6 +715,32 @@ function validate$1(obj, path = 'ConversationRuntimeProxyMessageRepresentation')
675
715
  return new TypeError(message);
676
716
  }
677
717
  }
718
+ const obj_planId = obj.planId;
719
+ const path_planId = path + '.planId';
720
+ let obj_planId_union0 = null;
721
+ const obj_planId_union0_error = (() => {
722
+ if (typeof obj_planId !== 'string') {
723
+ return new TypeError('Expected "string" but received "' + typeof obj_planId + '" (at "' + path_planId + '")');
724
+ }
725
+ })();
726
+ if (obj_planId_union0_error != null) {
727
+ obj_planId_union0 = obj_planId_union0_error.message;
728
+ }
729
+ let obj_planId_union1 = null;
730
+ const obj_planId_union1_error = (() => {
731
+ if (obj_planId !== null) {
732
+ return new TypeError('Expected "null" but received "' + typeof obj_planId + '" (at "' + path_planId + '")');
733
+ }
734
+ })();
735
+ if (obj_planId_union1_error != null) {
736
+ obj_planId_union1 = obj_planId_union1_error.message;
737
+ }
738
+ if (obj_planId_union0 && obj_planId_union1) {
739
+ let message = 'Object doesn\'t match union (at "' + path_planId + '")';
740
+ message += '\n' + obj_planId_union0.split('\n').map((line) => '\t' + line).join('\n');
741
+ message += '\n' + obj_planId_union1.split('\n').map((line) => '\t' + line).join('\n');
742
+ return new TypeError(message);
743
+ }
678
744
  if (obj.result !== undefined) {
679
745
  const obj_result = obj.result;
680
746
  const path_result = path + '.result';
@@ -812,6 +878,10 @@ const select$2 = function ConversationRuntimeProxyMessageRepresentationSelect()
812
878
  kind: 'Scalar',
813
879
  required: false
814
880
  },
881
+ {
882
+ name: 'feedbackId',
883
+ kind: 'Scalar'
884
+ },
815
885
  {
816
886
  name: 'id',
817
887
  kind: 'Scalar'
@@ -826,6 +896,10 @@ const select$2 = function ConversationRuntimeProxyMessageRepresentationSelect()
826
896
  kind: 'Scalar',
827
897
  required: false
828
898
  },
899
+ {
900
+ name: 'planId',
901
+ kind: 'Scalar'
902
+ },
829
903
  {
830
904
  name: 'result',
831
905
  kind: 'Object',
@@ -955,6 +1029,11 @@ function equals$1(existing, incoming) {
955
1029
  return false;
956
1030
  }
957
1031
  }
1032
+ const existing_feedbackId = existing.feedbackId;
1033
+ const incoming_feedbackId = incoming.feedbackId;
1034
+ if (!(existing_feedbackId === incoming_feedbackId)) {
1035
+ return false;
1036
+ }
958
1037
  const existing_message = existing.message;
959
1038
  const incoming_message = incoming.message;
960
1039
  // if at least one of these optionals is defined
@@ -981,6 +1060,11 @@ function equals$1(existing, incoming) {
981
1060
  return false;
982
1061
  }
983
1062
  }
1063
+ const existing_planId = existing.planId;
1064
+ const incoming_planId = incoming.planId;
1065
+ if (!(existing_planId === incoming_planId)) {
1066
+ return false;
1067
+ }
984
1068
  const existing_result = existing.result;
985
1069
  const incoming_result = incoming.result;
986
1070
  // if at least one of these optionals is defined
@@ -1280,6 +1364,7 @@ const sendMessage_ConfigPropertyMetadata = [
1280
1364
  generateParamConfigMetadata('botVersionId', false, 1 /* QueryParameter */, 0 /* String */),
1281
1365
  generateParamConfigMetadata('message', false, 1 /* QueryParameter */, 0 /* String */),
1282
1366
  generateParamConfigMetadata('sessionId', false, 1 /* QueryParameter */, 0 /* String */),
1367
+ generateParamConfigMetadata('inReplyToMessageId', false, 2 /* Body */, 0 /* String */),
1283
1368
  generateParamConfigMetadata('messageType', false, 2 /* Body */, 0 /* String */),
1284
1369
  generateParamConfigMetadata('reply', false, 2 /* Body */, 4 /* Unsupported */, true),
1285
1370
  generateParamConfigMetadata('text', false, 2 /* Body */, 0 /* String */),
@@ -12,6 +12,7 @@ export interface SendMessageConfig {
12
12
  botVersionId?: string;
13
13
  message?: string;
14
14
  sessionId?: string;
15
+ inReplyToMessageId?: string;
15
16
  messageType?: string;
16
17
  reply?: Array<types_EsTypeMessageRepresentation_EsTypeMessageRepresentation>;
17
18
  text?: string;
@@ -10,6 +10,7 @@ export interface ResourceRequestConfig {
10
10
  sessionId?: string;
11
11
  };
12
12
  body: {
13
+ inReplyToMessageId?: string;
13
14
  messageType?: string;
14
15
  reply?: Array<types_EsTypeMessageRepresentation_EsTypeMessageRepresentation>;
15
16
  text?: string;
@@ -1,7 +1,7 @@
1
1
  import { EsTypeMessageRepresentation as EsTypeMessageRepresentation_EsTypeMessageRepresentation } from './EsTypeMessageRepresentation';
2
2
  import { VariableRepresentation as VariableRepresentation_VariableRepresentation } from './VariableRepresentation';
3
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';
4
- export declare const VERSION = "980bf6b4b948d722de8661d7f0f93eb0";
4
+ export declare const VERSION = "976a695a1e2e9489f7727d7e57740771";
5
5
  export declare function validate(obj: any, path?: string): TypeError | null;
6
6
  export declare const RepresentationType: string;
7
7
  export declare function normalize(input: ConversationRuntimeProxyInputRepresentation, existing: ConversationRuntimeProxyInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ConversationRuntimeProxyInputRepresentationNormalized;
@@ -16,6 +16,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
16
16
  * (none)
17
17
  */
18
18
  export interface ConversationRuntimeProxyInputRepresentationNormalized {
19
+ /** Message ID that this message is replying to */
20
+ inReplyToMessageId?: string;
19
21
  /** Message type */
20
22
  messageType?: string;
21
23
  /** Reply */
@@ -34,6 +36,7 @@ export interface ConversationRuntimeProxyInputRepresentationNormalized {
34
36
  * (none)
35
37
  */
36
38
  export interface ConversationRuntimeProxyInputRepresentation {
39
+ inReplyToMessageId?: string;
37
40
  messageType?: string;
38
41
  reply?: Array<EsTypeMessageRepresentation_EsTypeMessageRepresentation>;
39
42
  text?: string;
@@ -3,7 +3,7 @@ import { CollectMessageRepresentation as CollectMessageRepresentation_CollectMes
3
3
  import { EsTypeMessageRepresentation as EsTypeMessageRepresentation_EsTypeMessageRepresentation } from './EsTypeMessageRepresentation';
4
4
  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, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
5
5
  export declare const TTL = 30000;
6
- export declare const VERSION = "d0d96f922e0e6a5215ead292fbeb0363";
6
+ export declare const VERSION = "d3d34b56efe68a37c173d0cb91c57ba1";
7
7
  export declare function validate(obj: any, path?: string): TypeError | null;
8
8
  export declare const RepresentationType: string;
9
9
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -37,12 +37,16 @@ export interface ConversationRuntimeProxyMessageRepresentationNormalized {
37
37
  errors?: Array<string>;
38
38
  /** The failure code for a Failure message. */
39
39
  failureCode?: string | null;
40
+ /** Feedback ID for this generated message. */
41
+ feedbackId: string | null;
40
42
  /** Unique id of this message */
41
43
  id: string;
42
44
  /** The message for an ES Type message. */
43
45
  message?: string | null;
44
46
  /** The message type for an ES Type message. */
45
47
  messageType?: string | null;
48
+ /** Plan ID for the generated plan. */
49
+ planId: string | null;
46
50
  /** The result response for an Inform message. */
47
51
  result?: Array<EsTypeMessageRepresentation_EsTypeMessageRepresentation>;
48
52
  /** The message text, if applicable for the type. */
@@ -64,9 +68,11 @@ export interface ConversationRuntimeProxyMessageRepresentation {
64
68
  confirm?: Array<EsTypeMessageRepresentation_EsTypeMessageRepresentation>;
65
69
  errors?: Array<string>;
66
70
  failureCode?: string | null;
71
+ feedbackId: string | null;
67
72
  id: string;
68
73
  message?: string | null;
69
74
  messageType?: string | null;
75
+ planId: string | null;
70
76
  result?: Array<EsTypeMessageRepresentation_EsTypeMessageRepresentation>;
71
77
  text?: string | null;
72
78
  type?: string;
@@ -1,6 +1,6 @@
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
2
  export declare const TTL = 30000;
3
- export declare const VERSION = "35edf813cf9e135085be6a7af45aada2";
3
+ export declare const VERSION = "eaa88c9352375a84f304d76d13628b5a";
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: EsTypeMessageRepresentation, existing: EsTypeMessageRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EsTypeMessageRepresentationNormalized;
@@ -15,6 +15,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
15
15
  * (none)
16
16
  */
17
17
  export interface EsTypeMessageRepresentationNormalized {
18
+ /** Property for the ES type message. */
19
+ property: string;
18
20
  /** Type for the ES type message. */
19
21
  type: string;
20
22
  /** Value for the ES type message. */
@@ -27,6 +29,7 @@ export interface EsTypeMessageRepresentationNormalized {
27
29
  * (none)
28
30
  */
29
31
  export interface EsTypeMessageRepresentation {
32
+ property: string;
30
33
  type: string;
31
34
  value: unknown;
32
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-service-einstein-copilot-bot",
3
- "version": "1.266.0-dev1",
3
+ "version": "1.266.0-dev10",
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.266.0-dev1"
43
+ "@salesforce/lds-bindings": "^1.266.0-dev10"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.266.0-dev1"
46
+ "@salesforce/lds-compiler-plugins": "^1.266.0-dev10"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -349,12 +349,17 @@ const getBotIdAdapterFactory = (luvio) => function einsteinCopilotBot__getBotId(
349
349
  buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
350
350
  };
351
351
 
352
- const VERSION$4 = "35edf813cf9e135085be6a7af45aada2";
352
+ const VERSION$4 = "eaa88c9352375a84f304d76d13628b5a";
353
353
  function validate$5(obj, path = 'EsTypeMessageRepresentation') {
354
354
  const v_error = (() => {
355
355
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
356
356
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
357
357
  }
358
+ const obj_property = obj.property;
359
+ const path_property = path + '.property';
360
+ if (typeof obj_property !== 'string') {
361
+ return new TypeError('Expected "string" but received "' + typeof obj_property + '" (at "' + path_property + '")');
362
+ }
358
363
  const obj_type = obj.type;
359
364
  const path_type = path + '.type';
360
365
  if (typeof obj_type !== 'string') {
@@ -374,6 +379,10 @@ const select$5 = function EsTypeMessageRepresentationSelect() {
374
379
  version: VERSION$4,
375
380
  private: [],
376
381
  selections: [
382
+ {
383
+ name: 'property',
384
+ kind: 'Scalar'
385
+ },
377
386
  {
378
387
  name: 'type',
379
388
  kind: 'Scalar'
@@ -387,6 +396,11 @@ const select$5 = function EsTypeMessageRepresentationSelect() {
387
396
  };
388
397
  };
389
398
  function equals$4(existing, incoming) {
399
+ const existing_property = existing.property;
400
+ const incoming_property = incoming.property;
401
+ if (!(existing_property === incoming_property)) {
402
+ return false;
403
+ }
390
404
  const existing_type = existing.type;
391
405
  const incoming_type = incoming.type;
392
406
  if (!(existing_type === incoming_type)) {
@@ -525,7 +539,7 @@ function equals$2(existing, incoming) {
525
539
  }
526
540
 
527
541
  const TTL$1 = 30000;
528
- const VERSION$1 = "d0d96f922e0e6a5215ead292fbeb0363";
542
+ const VERSION$1 = "d3d34b56efe68a37c173d0cb91c57ba1";
529
543
  function validate$1(obj, path = 'ConversationRuntimeProxyMessageRepresentation') {
530
544
  const v_error = (() => {
531
545
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -624,6 +638,32 @@ function validate$1(obj, path = 'ConversationRuntimeProxyMessageRepresentation')
624
638
  return new TypeError(message);
625
639
  }
626
640
  }
641
+ const obj_feedbackId = obj.feedbackId;
642
+ const path_feedbackId = path + '.feedbackId';
643
+ let obj_feedbackId_union0 = null;
644
+ const obj_feedbackId_union0_error = (() => {
645
+ if (typeof obj_feedbackId !== 'string') {
646
+ return new TypeError('Expected "string" but received "' + typeof obj_feedbackId + '" (at "' + path_feedbackId + '")');
647
+ }
648
+ })();
649
+ if (obj_feedbackId_union0_error != null) {
650
+ obj_feedbackId_union0 = obj_feedbackId_union0_error.message;
651
+ }
652
+ let obj_feedbackId_union1 = null;
653
+ const obj_feedbackId_union1_error = (() => {
654
+ if (obj_feedbackId !== null) {
655
+ return new TypeError('Expected "null" but received "' + typeof obj_feedbackId + '" (at "' + path_feedbackId + '")');
656
+ }
657
+ })();
658
+ if (obj_feedbackId_union1_error != null) {
659
+ obj_feedbackId_union1 = obj_feedbackId_union1_error.message;
660
+ }
661
+ if (obj_feedbackId_union0 && obj_feedbackId_union1) {
662
+ let message = 'Object doesn\'t match union (at "' + path_feedbackId + '")';
663
+ message += '\n' + obj_feedbackId_union0.split('\n').map((line) => '\t' + line).join('\n');
664
+ message += '\n' + obj_feedbackId_union1.split('\n').map((line) => '\t' + line).join('\n');
665
+ return new TypeError(message);
666
+ }
627
667
  const obj_id = obj.id;
628
668
  const path_id = path + '.id';
629
669
  if (typeof obj_id !== 'string') {
@@ -685,6 +725,32 @@ function validate$1(obj, path = 'ConversationRuntimeProxyMessageRepresentation')
685
725
  return new TypeError(message);
686
726
  }
687
727
  }
728
+ const obj_planId = obj.planId;
729
+ const path_planId = path + '.planId';
730
+ let obj_planId_union0 = null;
731
+ const obj_planId_union0_error = (() => {
732
+ if (typeof obj_planId !== 'string') {
733
+ return new TypeError('Expected "string" but received "' + typeof obj_planId + '" (at "' + path_planId + '")');
734
+ }
735
+ })();
736
+ if (obj_planId_union0_error != null) {
737
+ obj_planId_union0 = obj_planId_union0_error.message;
738
+ }
739
+ let obj_planId_union1 = null;
740
+ const obj_planId_union1_error = (() => {
741
+ if (obj_planId !== null) {
742
+ return new TypeError('Expected "null" but received "' + typeof obj_planId + '" (at "' + path_planId + '")');
743
+ }
744
+ })();
745
+ if (obj_planId_union1_error != null) {
746
+ obj_planId_union1 = obj_planId_union1_error.message;
747
+ }
748
+ if (obj_planId_union0 && obj_planId_union1) {
749
+ let message = 'Object doesn\'t match union (at "' + path_planId + '")';
750
+ message += '\n' + obj_planId_union0.split('\n').map((line) => '\t' + line).join('\n');
751
+ message += '\n' + obj_planId_union1.split('\n').map((line) => '\t' + line).join('\n');
752
+ return new TypeError(message);
753
+ }
688
754
  if (obj.result !== undefined) {
689
755
  const obj_result = obj.result;
690
756
  const path_result = path + '.result';
@@ -822,6 +888,10 @@ const select$2 = function ConversationRuntimeProxyMessageRepresentationSelect()
822
888
  kind: 'Scalar',
823
889
  required: false
824
890
  },
891
+ {
892
+ name: 'feedbackId',
893
+ kind: 'Scalar'
894
+ },
825
895
  {
826
896
  name: 'id',
827
897
  kind: 'Scalar'
@@ -836,6 +906,10 @@ const select$2 = function ConversationRuntimeProxyMessageRepresentationSelect()
836
906
  kind: 'Scalar',
837
907
  required: false
838
908
  },
909
+ {
910
+ name: 'planId',
911
+ kind: 'Scalar'
912
+ },
839
913
  {
840
914
  name: 'result',
841
915
  kind: 'Object',
@@ -965,6 +1039,11 @@ function equals$1(existing, incoming) {
965
1039
  return false;
966
1040
  }
967
1041
  }
1042
+ const existing_feedbackId = existing.feedbackId;
1043
+ const incoming_feedbackId = incoming.feedbackId;
1044
+ if (!(existing_feedbackId === incoming_feedbackId)) {
1045
+ return false;
1046
+ }
968
1047
  const existing_message = existing.message;
969
1048
  const incoming_message = incoming.message;
970
1049
  // if at least one of these optionals is defined
@@ -991,6 +1070,11 @@ function equals$1(existing, incoming) {
991
1070
  return false;
992
1071
  }
993
1072
  }
1073
+ const existing_planId = existing.planId;
1074
+ const incoming_planId = incoming.planId;
1075
+ if (!(existing_planId === incoming_planId)) {
1076
+ return false;
1077
+ }
994
1078
  const existing_result = existing.result;
995
1079
  const incoming_result = incoming.result;
996
1080
  // if at least one of these optionals is defined
@@ -1290,6 +1374,7 @@ const sendMessage_ConfigPropertyMetadata = [
1290
1374
  generateParamConfigMetadata('botVersionId', false, 1 /* QueryParameter */, 0 /* String */),
1291
1375
  generateParamConfigMetadata('message', false, 1 /* QueryParameter */, 0 /* String */),
1292
1376
  generateParamConfigMetadata('sessionId', false, 1 /* QueryParameter */, 0 /* String */),
1377
+ generateParamConfigMetadata('inReplyToMessageId', false, 2 /* Body */, 0 /* String */),
1293
1378
  generateParamConfigMetadata('messageType', false, 2 /* Body */, 0 /* String */),
1294
1379
  generateParamConfigMetadata('reply', false, 2 /* Body */, 4 /* Unsupported */, true),
1295
1380
  generateParamConfigMetadata('text', false, 2 /* Body */, 0 /* String */),
@@ -1396,4 +1481,4 @@ withDefaultLuvio((luvio) => {
1396
1481
  });
1397
1482
 
1398
1483
  export { getBotId, getBotId_imperative, sendMessage };
1399
- // version: 1.266.0-dev1-0affa7d84
1484
+ // version: 1.266.0-dev10-3275d4bf8
package/src/raml/api.raml CHANGED
@@ -49,6 +49,10 @@ types:
49
49
  description: Bot conversation input
50
50
  type: object
51
51
  properties:
52
+ inReplyToMessageId:
53
+ description: Message ID that this message is replying to
54
+ type: string
55
+ required: false
52
56
  messageType:
53
57
  description: Message type
54
58
  type: string
@@ -112,6 +116,9 @@ types:
112
116
  description: The failure code for a Failure message.
113
117
  type: string | nil
114
118
  required: false
119
+ feedbackId:
120
+ description: Feedback ID for this generated message.
121
+ type: string | nil
115
122
  id:
116
123
  description: Unique id of this message
117
124
  type: string
@@ -123,6 +130,9 @@ types:
123
130
  description: The message type for an ES Type message.
124
131
  type: string | nil
125
132
  required: false
133
+ planId:
134
+ description: Plan ID for the generated plan.
135
+ type: string | nil
126
136
  result:
127
137
  description: The result response for an Inform message.
128
138
  type: array
@@ -198,6 +208,9 @@ types:
198
208
  description: Represents a ES type message
199
209
  type: object
200
210
  properties:
211
+ property:
212
+ description: Property for the ES type message.
213
+ type: string
201
214
  type:
202
215
  description: Type for the ES type message.
203
216
  type: string