@wildix/wim-voicebots-client 1.0.23 → 1.0.24

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.
@@ -597,6 +597,8 @@ const se_VoiceBotFunctionIntegrationWebhook = (input, context) => {
597
597
  'headers': smithy_client_1._json,
598
598
  'method': [],
599
599
  'parameters': _ => se_Document(_, context),
600
+ 'startMessage': [],
601
+ 'timeout': [],
600
602
  'url': [],
601
603
  });
602
604
  };
@@ -959,6 +961,8 @@ const de_VoiceBotFunctionIntegrationWebhook = (output, context) => {
959
961
  'headers': smithy_client_1._json,
960
962
  'method': smithy_client_1.expectString,
961
963
  'parameters': (_) => de_Document(_, context),
964
+ 'startMessage': smithy_client_1.expectString,
965
+ 'timeout': smithy_client_1.expectInt32,
962
966
  'url': smithy_client_1.expectString,
963
967
  });
964
968
  };
@@ -566,6 +566,8 @@ const se_VoiceBotFunctionIntegrationWebhook = (input, context) => {
566
566
  'headers': _json,
567
567
  'method': [],
568
568
  'parameters': _ => se_Document(_, context),
569
+ 'startMessage': [],
570
+ 'timeout': [],
569
571
  'url': [],
570
572
  });
571
573
  };
@@ -928,6 +930,8 @@ const de_VoiceBotFunctionIntegrationWebhook = (output, context) => {
928
930
  'headers': _json,
929
931
  'method': __expectString,
930
932
  'parameters': (_) => de_Document(_, context),
933
+ 'startMessage': __expectString,
934
+ 'timeout': __expectInt32,
931
935
  'url': __expectString,
932
936
  });
933
937
  };
@@ -102,6 +102,8 @@ declare const CreateVoiceBotCommand_base: {
102
102
  * value: "STRING_VALUE", // required
103
103
  * },
104
104
  * ],
105
+ * timeout: Number("int"),
106
+ * startMessage: "STRING_VALUE",
105
107
  * parameters: "DOCUMENT_VALUE",
106
108
  * },
107
109
  * },
@@ -201,6 +203,8 @@ declare const CreateVoiceBotCommand_base: {
201
203
  * // value: "STRING_VALUE", // required
202
204
  * // },
203
205
  * // ],
206
+ * // timeout: Number("int"),
207
+ * // startMessage: "STRING_VALUE",
204
208
  * // parameters: "DOCUMENT_VALUE",
205
209
  * // },
206
210
  * // },
@@ -109,6 +109,8 @@ declare const GetVoiceBotCommand_base: {
109
109
  * // value: "STRING_VALUE", // required
110
110
  * // },
111
111
  * // ],
112
+ * // timeout: Number("int"),
113
+ * // startMessage: "STRING_VALUE",
112
114
  * // parameters: "DOCUMENT_VALUE",
113
115
  * // },
114
116
  * // },
@@ -109,6 +109,8 @@ declare const ListVoiceBotsCommand_base: {
109
109
  * // value: "STRING_VALUE", // required
110
110
  * // },
111
111
  * // ],
112
+ * // timeout: Number("int"),
113
+ * // startMessage: "STRING_VALUE",
112
114
  * // parameters: "DOCUMENT_VALUE",
113
115
  * // },
114
116
  * // },
@@ -102,6 +102,8 @@ declare const UpdateVoiceBotCommand_base: {
102
102
  * value: "STRING_VALUE", // required
103
103
  * },
104
104
  * ],
105
+ * timeout: Number("int"),
106
+ * startMessage: "STRING_VALUE",
105
107
  * parameters: "DOCUMENT_VALUE",
106
108
  * },
107
109
  * },
@@ -202,6 +204,8 @@ declare const UpdateVoiceBotCommand_base: {
202
204
  * // value: "STRING_VALUE", // required
203
205
  * // },
204
206
  * // ],
207
+ * // timeout: Number("int"),
208
+ * // startMessage: "STRING_VALUE",
205
209
  * // parameters: "DOCUMENT_VALUE",
206
210
  * // },
207
211
  * // },
@@ -234,6 +234,16 @@ export interface VoiceBotFunctionIntegrationWebhook {
234
234
  async?: boolean | undefined;
235
235
  authorization?: VoiceBotFunctionIntegrationWebhookAuthorization | undefined;
236
236
  headers?: (VoiceBotFunctionIntegrationWebhookHeader)[] | undefined;
237
+ /**
238
+ * Timeout in milliseconds for the webhook request.
239
+ * @public
240
+ */
241
+ timeout?: number | undefined;
242
+ /**
243
+ * Message spoken when the function call starts.
244
+ * @public
245
+ */
246
+ startMessage?: string | undefined;
237
247
  parameters?: __DocumentType | undefined;
238
248
  }
239
249
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wim-voicebots-client",
3
3
  "description": "@wildix/wim-voicebots-client client",
4
- "version": "1.0.23",
4
+ "version": "1.0.24",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -80,4 +80,4 @@
80
80
  "react-native": {
81
81
  "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
82
82
  }
83
- }
83
+ }