@salesforce/lds-adapters-service-einstein-copilot-bot 1.263.0 → 1.265.0

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
  const TTL$2 = 30000;
95
95
  const VERSION$5 = "ab85410a28124cfed3d8eae7b8236853";
96
- function validate$5(obj, path = 'CopilotBotInfoRepresentation') {
96
+ function validate$6(obj, path = 'CopilotBotInfoRepresentation') {
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 + '")');
@@ -183,7 +183,7 @@ function equals$5(existing, incoming) {
183
183
  }
184
184
  const ingest$2 = function CopilotBotInfoRepresentationIngest(input, path, luvio, store, timestamp) {
185
185
  if (process.env.NODE_ENV !== 'production') {
186
- const validateError = validate$5(input);
186
+ const validateError = validate$6(input);
187
187
  if (validateError !== null) {
188
188
  throw validateError;
189
189
  }
@@ -339,7 +339,7 @@ const getBotIdAdapterFactory = (luvio) => function einsteinCopilotBot__getBotId(
339
339
  };
340
340
 
341
341
  const VERSION$4 = "414b0e089081e78bc86ab595f115e269";
342
- function validate$4(obj, path = 'EsTypeMessageRepresentation') {
342
+ function validate$5(obj, path = 'EsTypeMessageRepresentation') {
343
343
  const v_error = (() => {
344
344
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
345
345
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -381,6 +381,25 @@ function equals$4(existing, incoming) {
381
381
  return true;
382
382
  }
383
383
 
384
+ function validate$4(obj, path = 'VariableRepresentation') {
385
+ const v_error = (() => {
386
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
387
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
388
+ }
389
+ const obj_name = obj.name;
390
+ const path_name = path + '.name';
391
+ if (typeof obj_name !== 'string') {
392
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
393
+ }
394
+ const obj_value = obj.value;
395
+ const path_value = path + '.value';
396
+ if (typeof obj_value !== 'string') {
397
+ return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
398
+ }
399
+ })();
400
+ return v_error === undefined ? null : v_error;
401
+ }
402
+
384
403
  const VERSION$3 = "4e28b61c3ea362f1c68b28897784111e";
385
404
  function validate$3(obj, path = 'ConversationRuntimeProxyChoiceRepresentation') {
386
405
  const v_error = (() => {
@@ -439,7 +458,7 @@ function validate$2(obj, path = 'CollectMessageRepresentation') {
439
458
  }
440
459
  const obj_data = obj.data;
441
460
  const path_data = path + '.data';
442
- const referencepath_dataValidationError = validate$4(obj_data, path_data);
461
+ const referencepath_dataValidationError = validate$5(obj_data, path_data);
443
462
  if (referencepath_dataValidationError !== null) {
444
463
  let message = 'Object doesn\'t match EsTypeMessageRepresentation (at "' + path_data + '")\n';
445
464
  message += referencepath_dataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -536,7 +555,7 @@ function validate$1(obj, path = 'ConversationRuntimeProxyMessageRepresentation')
536
555
  for (let i = 0; i < obj_confirm.length; i++) {
537
556
  const obj_confirm_item = obj_confirm[i];
538
557
  const path_confirm_item = path_confirm + '[' + i + ']';
539
- const referencepath_confirm_itemValidationError = validate$4(obj_confirm_item, path_confirm_item);
558
+ const referencepath_confirm_itemValidationError = validate$5(obj_confirm_item, path_confirm_item);
540
559
  if (referencepath_confirm_itemValidationError !== null) {
541
560
  let message = 'Object doesn\'t match EsTypeMessageRepresentation (at "' + path_confirm_item + '")\n';
542
561
  message += referencepath_confirm_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -656,7 +675,7 @@ function validate$1(obj, path = 'ConversationRuntimeProxyMessageRepresentation')
656
675
  for (let i = 0; i < obj_result.length; i++) {
657
676
  const obj_result_item = obj_result[i];
658
677
  const path_result_item = path_result + '[' + i + ']';
659
- const referencepath_result_itemValidationError = validate$4(obj_result_item, path_result_item);
678
+ const referencepath_result_itemValidationError = validate$5(obj_result_item, path_result_item);
660
679
  if (referencepath_result_itemValidationError !== null) {
661
680
  let message = 'Object doesn\'t match EsTypeMessageRepresentation (at "' + path_result_item + '")\n';
662
681
  message += referencepath_result_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1256,6 +1275,7 @@ const sendMessage_ConfigPropertyMetadata = [
1256
1275
  generateParamConfigMetadata('reply', false, 2 /* Body */, 4 /* Unsupported */, true),
1257
1276
  generateParamConfigMetadata('text', false, 2 /* Body */, 0 /* String */),
1258
1277
  generateParamConfigMetadata('type', false, 2 /* Body */, 0 /* String */),
1278
+ generateParamConfigMetadata('variables', false, 2 /* Body */, 4 /* Unsupported */, true),
1259
1279
  ];
1260
1280
  const sendMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, sendMessage_ConfigPropertyMetadata);
1261
1281
  const createResourceParams = /*#__PURE__*/ createResourceParams$2(sendMessage_ConfigPropertyMetadata);
@@ -1267,13 +1287,25 @@ function typeCheckConfig(untrustedConfig) {
1267
1287
  const untrustedConfig_reply_array = [];
1268
1288
  for (let i = 0, arrayLength = untrustedConfig_reply.length; i < arrayLength; i++) {
1269
1289
  const untrustedConfig_reply_item = untrustedConfig_reply[i];
1270
- const referenceEsTypeMessageRepresentationValidationError = validate$4(untrustedConfig_reply_item);
1290
+ const referenceEsTypeMessageRepresentationValidationError = validate$5(untrustedConfig_reply_item);
1271
1291
  if (referenceEsTypeMessageRepresentationValidationError === null) {
1272
1292
  untrustedConfig_reply_array.push(untrustedConfig_reply_item);
1273
1293
  }
1274
1294
  }
1275
1295
  config.reply = untrustedConfig_reply_array;
1276
1296
  }
1297
+ const untrustedConfig_variables = untrustedConfig.variables;
1298
+ if (ArrayIsArray$1(untrustedConfig_variables)) {
1299
+ const untrustedConfig_variables_array = [];
1300
+ for (let i = 0, arrayLength = untrustedConfig_variables.length; i < arrayLength; i++) {
1301
+ const untrustedConfig_variables_item = untrustedConfig_variables[i];
1302
+ const referenceVariableRepresentationValidationError = validate$4(untrustedConfig_variables_item);
1303
+ if (referenceVariableRepresentationValidationError === null) {
1304
+ untrustedConfig_variables_array.push(untrustedConfig_variables_item);
1305
+ }
1306
+ }
1307
+ config.variables = untrustedConfig_variables_array;
1308
+ }
1277
1309
  return config;
1278
1310
  }
1279
1311
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
@@ -1,6 +1,7 @@
1
1
  import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
2
2
  import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
3
3
  import { EsTypeMessageRepresentation as types_EsTypeMessageRepresentation_EsTypeMessageRepresentation } from '../types/EsTypeMessageRepresentation';
4
+ import { VariableRepresentation as types_VariableRepresentation_VariableRepresentation } from '../types/VariableRepresentation';
4
5
  import { ResourceRequestConfig as resources_postConnectConversationRuntimeProxy_ResourceRequestConfig } from '../resources/postConnectConversationRuntimeProxy';
5
6
  import { ConversationRuntimeProxyRepresentation as types_ConversationRuntimeProxyRepresentation_ConversationRuntimeProxyRepresentation } from '../types/ConversationRuntimeProxyRepresentation';
6
7
  export declare const adapterName = "sendMessage";
@@ -15,6 +16,7 @@ export interface SendMessageConfig {
15
16
  reply?: Array<types_EsTypeMessageRepresentation_EsTypeMessageRepresentation>;
16
17
  text?: string;
17
18
  type?: string;
19
+ variables?: Array<types_VariableRepresentation_VariableRepresentation>;
18
20
  }
19
21
  export declare const createResourceParams: (config: SendMessageConfig) => resources_postConnectConversationRuntimeProxy_ResourceRequestConfig;
20
22
  export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<SendMessageConfig>): adapter$45$utils_Untrusted<SendMessageConfig>;
@@ -1,4 +1,5 @@
1
1
  import { EsTypeMessageRepresentation as types_EsTypeMessageRepresentation_EsTypeMessageRepresentation } from '../types/EsTypeMessageRepresentation';
2
+ import { VariableRepresentation as types_VariableRepresentation_VariableRepresentation } from '../types/VariableRepresentation';
2
3
  import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
3
4
  import { ConversationRuntimeProxyRepresentation as types_ConversationRuntimeProxyRepresentation_ConversationRuntimeProxyRepresentation } from '../types/ConversationRuntimeProxyRepresentation';
4
5
  export interface ResourceRequestConfig {
@@ -13,6 +14,7 @@ export interface ResourceRequestConfig {
13
14
  reply?: Array<types_EsTypeMessageRepresentation_EsTypeMessageRepresentation>;
14
15
  text?: string;
15
16
  type?: string;
17
+ variables?: Array<types_VariableRepresentation_VariableRepresentation>;
16
18
  };
17
19
  }
18
20
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
@@ -1,6 +1,7 @@
1
1
  import { EsTypeMessageRepresentation as EsTypeMessageRepresentation_EsTypeMessageRepresentation } from './EsTypeMessageRepresentation';
2
+ import { VariableRepresentation as VariableRepresentation_VariableRepresentation } from './VariableRepresentation';
2
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';
3
- export declare const VERSION = "726d2d348e2c7a1c38db25a1802d07da";
4
+ export declare const VERSION = "980bf6b4b948d722de8661d7f0f93eb0";
4
5
  export declare function validate(obj: any, path?: string): TypeError | null;
5
6
  export declare const RepresentationType: string;
6
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;
@@ -23,6 +24,8 @@ export interface ConversationRuntimeProxyInputRepresentationNormalized {
23
24
  text?: string;
24
25
  /** Type */
25
26
  type?: string;
27
+ /** Variables */
28
+ variables?: Array<VariableRepresentation_VariableRepresentation>;
26
29
  }
27
30
  /**
28
31
  * Bot conversation input
@@ -35,4 +38,5 @@ export interface ConversationRuntimeProxyInputRepresentation {
35
38
  reply?: Array<EsTypeMessageRepresentation_EsTypeMessageRepresentation>;
36
39
  text?: string;
37
40
  type?: string;
41
+ variables?: Array<VariableRepresentation_VariableRepresentation>;
38
42
  }
@@ -0,0 +1,32 @@
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 TTL = 30000;
3
+ export declare const VERSION = "810e13d8bf55f296fbb9eed86a0019f5";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: VariableRepresentation, existing: VariableRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): VariableRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: VariableRepresentationNormalized, incoming: VariableRepresentationNormalized): boolean;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: VariableRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Represents a single variable for an operation to set variables
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface VariableRepresentationNormalized {
18
+ /** Name of the variable */
19
+ name: string;
20
+ /** Value of the variable */
21
+ value: string;
22
+ }
23
+ /**
24
+ * Represents a single variable for an operation to set variables
25
+ *
26
+ * Keys:
27
+ * (none)
28
+ */
29
+ export interface VariableRepresentation {
30
+ name: string;
31
+ value: string;
32
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-service-einstein-copilot-bot",
3
- "version": "1.263.0",
3
+ "version": "1.265.0",
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.263.0"
43
+ "@salesforce/lds-bindings": "^1.265.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.263.0"
46
+ "@salesforce/lds-compiler-plugins": "^1.265.0"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -103,7 +103,7 @@ function createLink(ref) {
103
103
 
104
104
  const TTL$2 = 30000;
105
105
  const VERSION$5 = "ab85410a28124cfed3d8eae7b8236853";
106
- function validate$5(obj, path = 'CopilotBotInfoRepresentation') {
106
+ function validate$6(obj, path = 'CopilotBotInfoRepresentation') {
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 + '")');
@@ -193,7 +193,7 @@ function equals$5(existing, incoming) {
193
193
  }
194
194
  const ingest$2 = function CopilotBotInfoRepresentationIngest(input, path, luvio, store, timestamp) {
195
195
  if (process.env.NODE_ENV !== 'production') {
196
- const validateError = validate$5(input);
196
+ const validateError = validate$6(input);
197
197
  if (validateError !== null) {
198
198
  throw validateError;
199
199
  }
@@ -349,7 +349,7 @@ const getBotIdAdapterFactory = (luvio) => function einsteinCopilotBot__getBotId(
349
349
  };
350
350
 
351
351
  const VERSION$4 = "414b0e089081e78bc86ab595f115e269";
352
- function validate$4(obj, path = 'EsTypeMessageRepresentation') {
352
+ function validate$5(obj, path = 'EsTypeMessageRepresentation') {
353
353
  const v_error = (() => {
354
354
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
355
355
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -391,6 +391,25 @@ function equals$4(existing, incoming) {
391
391
  return true;
392
392
  }
393
393
 
394
+ function validate$4(obj, path = 'VariableRepresentation') {
395
+ const v_error = (() => {
396
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
397
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
398
+ }
399
+ const obj_name = obj.name;
400
+ const path_name = path + '.name';
401
+ if (typeof obj_name !== 'string') {
402
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
403
+ }
404
+ const obj_value = obj.value;
405
+ const path_value = path + '.value';
406
+ if (typeof obj_value !== 'string') {
407
+ return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
408
+ }
409
+ })();
410
+ return v_error === undefined ? null : v_error;
411
+ }
412
+
394
413
  const VERSION$3 = "4e28b61c3ea362f1c68b28897784111e";
395
414
  function validate$3(obj, path = 'ConversationRuntimeProxyChoiceRepresentation') {
396
415
  const v_error = (() => {
@@ -449,7 +468,7 @@ function validate$2(obj, path = 'CollectMessageRepresentation') {
449
468
  }
450
469
  const obj_data = obj.data;
451
470
  const path_data = path + '.data';
452
- const referencepath_dataValidationError = validate$4(obj_data, path_data);
471
+ const referencepath_dataValidationError = validate$5(obj_data, path_data);
453
472
  if (referencepath_dataValidationError !== null) {
454
473
  let message = 'Object doesn\'t match EsTypeMessageRepresentation (at "' + path_data + '")\n';
455
474
  message += referencepath_dataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -546,7 +565,7 @@ function validate$1(obj, path = 'ConversationRuntimeProxyMessageRepresentation')
546
565
  for (let i = 0; i < obj_confirm.length; i++) {
547
566
  const obj_confirm_item = obj_confirm[i];
548
567
  const path_confirm_item = path_confirm + '[' + i + ']';
549
- const referencepath_confirm_itemValidationError = validate$4(obj_confirm_item, path_confirm_item);
568
+ const referencepath_confirm_itemValidationError = validate$5(obj_confirm_item, path_confirm_item);
550
569
  if (referencepath_confirm_itemValidationError !== null) {
551
570
  let message = 'Object doesn\'t match EsTypeMessageRepresentation (at "' + path_confirm_item + '")\n';
552
571
  message += referencepath_confirm_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -666,7 +685,7 @@ function validate$1(obj, path = 'ConversationRuntimeProxyMessageRepresentation')
666
685
  for (let i = 0; i < obj_result.length; i++) {
667
686
  const obj_result_item = obj_result[i];
668
687
  const path_result_item = path_result + '[' + i + ']';
669
- const referencepath_result_itemValidationError = validate$4(obj_result_item, path_result_item);
688
+ const referencepath_result_itemValidationError = validate$5(obj_result_item, path_result_item);
670
689
  if (referencepath_result_itemValidationError !== null) {
671
690
  let message = 'Object doesn\'t match EsTypeMessageRepresentation (at "' + path_result_item + '")\n';
672
691
  message += referencepath_result_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1266,6 +1285,7 @@ const sendMessage_ConfigPropertyMetadata = [
1266
1285
  generateParamConfigMetadata('reply', false, 2 /* Body */, 4 /* Unsupported */, true),
1267
1286
  generateParamConfigMetadata('text', false, 2 /* Body */, 0 /* String */),
1268
1287
  generateParamConfigMetadata('type', false, 2 /* Body */, 0 /* String */),
1288
+ generateParamConfigMetadata('variables', false, 2 /* Body */, 4 /* Unsupported */, true),
1269
1289
  ];
1270
1290
  const sendMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, sendMessage_ConfigPropertyMetadata);
1271
1291
  const createResourceParams = /*#__PURE__*/ createResourceParams$2(sendMessage_ConfigPropertyMetadata);
@@ -1277,13 +1297,25 @@ function typeCheckConfig(untrustedConfig) {
1277
1297
  const untrustedConfig_reply_array = [];
1278
1298
  for (let i = 0, arrayLength = untrustedConfig_reply.length; i < arrayLength; i++) {
1279
1299
  const untrustedConfig_reply_item = untrustedConfig_reply[i];
1280
- const referenceEsTypeMessageRepresentationValidationError = validate$4(untrustedConfig_reply_item);
1300
+ const referenceEsTypeMessageRepresentationValidationError = validate$5(untrustedConfig_reply_item);
1281
1301
  if (referenceEsTypeMessageRepresentationValidationError === null) {
1282
1302
  untrustedConfig_reply_array.push(untrustedConfig_reply_item);
1283
1303
  }
1284
1304
  }
1285
1305
  config.reply = untrustedConfig_reply_array;
1286
1306
  }
1307
+ const untrustedConfig_variables = untrustedConfig.variables;
1308
+ if (ArrayIsArray$1(untrustedConfig_variables)) {
1309
+ const untrustedConfig_variables_array = [];
1310
+ for (let i = 0, arrayLength = untrustedConfig_variables.length; i < arrayLength; i++) {
1311
+ const untrustedConfig_variables_item = untrustedConfig_variables[i];
1312
+ const referenceVariableRepresentationValidationError = validate$4(untrustedConfig_variables_item);
1313
+ if (referenceVariableRepresentationValidationError === null) {
1314
+ untrustedConfig_variables_array.push(untrustedConfig_variables_item);
1315
+ }
1316
+ }
1317
+ config.variables = untrustedConfig_variables_array;
1318
+ }
1287
1319
  return config;
1288
1320
  }
1289
1321
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
@@ -1355,4 +1387,4 @@ withDefaultLuvio((luvio) => {
1355
1387
  });
1356
1388
 
1357
1389
  export { getBotId, getBotId_imperative, sendMessage };
1358
- // version: 1.263.0-378177d88
1390
+ // version: 1.265.0-25488bd30
package/src/raml/api.raml CHANGED
@@ -72,7 +72,14 @@ types:
72
72
  enum:
73
73
  - Cancel
74
74
  - EsMessage
75
+ - SetVariables
75
76
  - Text
77
+ variables:
78
+ description: Variables
79
+ type: array
80
+ required: false
81
+ items:
82
+ type: VariableRepresentation
76
83
  ConversationRuntimeProxyMessageRepresentation:
77
84
  description: Represents a message from the bot
78
85
  type: object
@@ -197,6 +204,16 @@ types:
197
204
  value:
198
205
  description: Value for the ES type message.
199
206
  type: object
207
+ VariableRepresentation:
208
+ description: Represents a single variable for an operation to set variables
209
+ type: object
210
+ properties:
211
+ name:
212
+ description: Name of the variable
213
+ type: string
214
+ value:
215
+ description: Value of the variable
216
+ type: string
200
217
  /connect:
201
218
  /conversation-runtime-proxy:
202
219
  get:
@@ -23,6 +23,8 @@ types:
23
23
  (luvio.ttl): 30000
24
24
  EsTypeMessageRepresentation:
25
25
  (luvio.ttl): 30000
26
+ VariableRepresentation:
27
+ (luvio.ttl): 30000
26
28
 
27
29
  /connect:
28
30
  /conversation-runtime-proxy: