@wix/auto_sdk_rich-content_ricos-conversations 1.0.16 → 1.0.18

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.
@@ -2026,7 +2026,8 @@ async function createConversationAsync2(options) {
2026
2026
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
2027
2027
  {
2028
2028
  ricosConversation: options?.ricosConversation,
2029
- invocationId: options?.invocationId
2029
+ invocationId: options?.invocationId,
2030
+ userRequestInfo: options?.userRequestInfo
2030
2031
  },
2031
2032
  [
2032
2033
  "ricosConversation.messageInRichContent",
@@ -2047,7 +2048,8 @@ async function createConversationAsync2(options) {
2047
2048
  spreadPathsToArguments: {},
2048
2049
  explicitPathsToArguments: {
2049
2050
  ricosConversation: "$[0].ricosConversation",
2050
- invocationId: "$[0].invocationId"
2051
+ invocationId: "$[0].invocationId",
2052
+ userRequestInfo: "$[0].userRequestInfo"
2051
2053
  },
2052
2054
  singleArgumentUnchanged: false
2053
2055
  },
@@ -2130,7 +2132,11 @@ async function createRicosConversation2(options) {
2130
2132
  async function listConversationSuggestions2(richContent, options) {
2131
2133
  const { httpClient, sideEffects } = arguments[2];
2132
2134
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
2133
- { richContent, suggestions: options?.suggestions },
2135
+ {
2136
+ richContent,
2137
+ suggestions: options?.suggestions,
2138
+ userRequestInfo: options?.userRequestInfo
2139
+ },
2134
2140
  []
2135
2141
  );
2136
2142
  const reqOpts = listConversationSuggestions(payload);
@@ -2146,7 +2152,8 @@ async function listConversationSuggestions2(richContent, options) {
2146
2152
  spreadPathsToArguments: {},
2147
2153
  explicitPathsToArguments: {
2148
2154
  richContent: "$[0]",
2149
- suggestions: "$[1].suggestions"
2155
+ suggestions: "$[1].suggestions",
2156
+ userRequestInfo: "$[1].userRequestInfo"
2150
2157
  },
2151
2158
  singleArgumentUnchanged: false
2152
2159
  },
@@ -2159,7 +2166,10 @@ async function listConversationSuggestions2(richContent, options) {
2159
2166
  async function createRicosConversationHtml2(options) {
2160
2167
  const { httpClient, sideEffects } = arguments[1];
2161
2168
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
2162
- { ricosConversation: options?.ricosConversation },
2169
+ {
2170
+ ricosConversation: options?.ricosConversation,
2171
+ userRequestInfo: options?.userRequestInfo
2172
+ },
2163
2173
  [
2164
2174
  "ricosConversation.messageInRichContent",
2165
2175
  "ricosConversation.document",
@@ -2178,7 +2188,8 @@ async function createRicosConversationHtml2(options) {
2178
2188
  {
2179
2189
  spreadPathsToArguments: {},
2180
2190
  explicitPathsToArguments: {
2181
- ricosConversation: "$[0].ricosConversation"
2191
+ ricosConversation: "$[0].ricosConversation",
2192
+ userRequestInfo: "$[0].userRequestInfo"
2182
2193
  },
2183
2194
  singleArgumentUnchanged: false
2184
2195
  },