| 1 | package Google::Cloud::Dialogflow::Cx::V3::Webhook::Types; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | use Type::Library -base; | ||
| 7 | use Type::Utils -all; | ||
| 8 | use Types::Standard -types; | ||
| 9 | |||
| 10 | declare 'Webhook', | ||
| 11 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Webhook::Webhook']; | ||
| 12 | |||
| 13 | coerce 'Webhook', | ||
| 14 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::Webhook'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedWebhook', | ||
| 17 | as ArrayRef[Webhook()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedWebhook', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::Webhook'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringWebhook', | ||
| 23 | as HashRef[Webhook()]; | ||
| 24 | |||
| 25 | declare 'GenericWebService', | ||
| 26 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Webhook::Webhook::GenericWebService']; | ||
| 27 | |||
| 28 | coerce 'GenericWebService', | ||
| 29 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::Webhook::GenericWebService'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedGenericWebService', | ||
| 32 | as ArrayRef[GenericWebService()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedGenericWebService', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::Webhook::GenericWebService'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringGenericWebService', | ||
| 38 | as HashRef[GenericWebService()]; | ||
| 39 | |||
| 40 | declare 'ServiceAgentAuth', | ||
| 41 | as (Int | Str); | ||
| 42 | |||
| 43 | declare 'WebhookType', | ||
| 44 | as (Int | Str); | ||
| 45 | |||
| 46 | declare 'HttpMethod', | ||
| 47 | as (Int | Str); | ||
| 48 | |||
| 49 | declare 'SecretVersionHeaderValue', | ||
| 50 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Webhook::Webhook::GenericWebService::SecretVersionHeaderValue']; | ||
| 51 | |||
| 52 | coerce 'SecretVersionHeaderValue', | ||
| 53 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::Webhook::GenericWebService::SecretVersionHeaderValue'->new($_) }; | ||
| 54 | |||
| 55 | declare 'RepeatedSecretVersionHeaderValue', | ||
| 56 | as ArrayRef[SecretVersionHeaderValue()]; | ||
| 57 | |||
| 58 | coerce 'RepeatedSecretVersionHeaderValue', | ||
| 59 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::Webhook::GenericWebService::SecretVersionHeaderValue'->new($_) } @$_ ] }; | ||
| 60 | |||
| 61 | declare 'MapStringSecretVersionHeaderValue', | ||
| 62 | as HashRef[SecretVersionHeaderValue()]; | ||
| 63 | |||
| 64 | declare 'OAuthConfig', | ||
| 65 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Webhook::Webhook::GenericWebService::OAuthConfig']; | ||
| 66 | |||
| 67 | coerce 'OAuthConfig', | ||
| 68 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::Webhook::GenericWebService::OAuthConfig'->new($_) }; | ||
| 69 | |||
| 70 | declare 'RepeatedOAuthConfig', | ||
| 71 | as ArrayRef[OAuthConfig()]; | ||
| 72 | |||
| 73 | coerce 'RepeatedOAuthConfig', | ||
| 74 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::Webhook::GenericWebService::OAuthConfig'->new($_) } @$_ ] }; | ||
| 75 | |||
| 76 | declare 'MapStringOAuthConfig', | ||
| 77 | as HashRef[OAuthConfig()]; | ||
| 78 | |||
| 79 | declare 'ServiceAccountAuthConfig', | ||
| 80 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Webhook::Webhook::GenericWebService::ServiceAccountAuthConfig']; | ||
| 81 | |||
| 82 | coerce 'ServiceAccountAuthConfig', | ||
| 83 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::Webhook::GenericWebService::ServiceAccountAuthConfig'->new($_) }; | ||
| 84 | |||
| 85 | declare 'RepeatedServiceAccountAuthConfig', | ||
| 86 | as ArrayRef[ServiceAccountAuthConfig()]; | ||
| 87 | |||
| 88 | coerce 'RepeatedServiceAccountAuthConfig', | ||
| 89 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::Webhook::GenericWebService::ServiceAccountAuthConfig'->new($_) } @$_ ] }; | ||
| 90 | |||
| 91 | declare 'MapStringServiceAccountAuthConfig', | ||
| 92 | as HashRef[ServiceAccountAuthConfig()]; | ||
| 93 | |||
| 94 | declare 'RequestHeadersEntry', | ||
| 95 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Webhook::Webhook::GenericWebService::RequestHeadersEntry']; | ||
| 96 | |||
| 97 | coerce 'RequestHeadersEntry', | ||
| 98 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::Webhook::GenericWebService::RequestHeadersEntry'->new($_) }; | ||
| 99 | |||
| 100 | declare 'RepeatedRequestHeadersEntry', | ||
| 101 | as ArrayRef[RequestHeadersEntry()]; | ||
| 102 | |||
| 103 | coerce 'RepeatedRequestHeadersEntry', | ||
| 104 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::Webhook::GenericWebService::RequestHeadersEntry'->new($_) } @$_ ] }; | ||
| 105 | |||
| 106 | declare 'MapStringRequestHeadersEntry', | ||
| 107 | as HashRef[RequestHeadersEntry()]; | ||
| 108 | |||
| 109 | declare 'SecretVersionsForRequestHeadersEntry', | ||
| 110 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Webhook::Webhook::GenericWebService::SecretVersionsForRequestHeadersEntry']; | ||
| 111 | |||
| 112 | coerce 'SecretVersionsForRequestHeadersEntry', | ||
| 113 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::Webhook::GenericWebService::SecretVersionsForRequestHeadersEntry'->new($_) }; | ||
| 114 | |||
| 115 | declare 'RepeatedSecretVersionsForRequestHeadersEntry', | ||
| 116 | as ArrayRef[SecretVersionsForRequestHeadersEntry()]; | ||
| 117 | |||
| 118 | coerce 'RepeatedSecretVersionsForRequestHeadersEntry', | ||
| 119 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::Webhook::GenericWebService::SecretVersionsForRequestHeadersEntry'->new($_) } @$_ ] }; | ||
| 120 | |||
| 121 | declare 'MapStringSecretVersionsForRequestHeadersEntry', | ||
| 122 | as HashRef[SecretVersionsForRequestHeadersEntry()]; | ||
| 123 | |||
| 124 | declare 'ParameterMappingEntry', | ||
| 125 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Webhook::Webhook::GenericWebService::ParameterMappingEntry']; | ||
| 126 | |||
| 127 | coerce 'ParameterMappingEntry', | ||
| 128 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::Webhook::GenericWebService::ParameterMappingEntry'->new($_) }; | ||
| 129 | |||
| 130 | declare 'RepeatedParameterMappingEntry', | ||
| 131 | as ArrayRef[ParameterMappingEntry()]; | ||
| 132 | |||
| 133 | coerce 'RepeatedParameterMappingEntry', | ||
| 134 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::Webhook::GenericWebService::ParameterMappingEntry'->new($_) } @$_ ] }; | ||
| 135 | |||
| 136 | declare 'MapStringParameterMappingEntry', | ||
| 137 | as HashRef[ParameterMappingEntry()]; | ||
| 138 | |||
| 139 | declare 'ServiceDirectoryConfig', | ||
| 140 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Webhook::Webhook::ServiceDirectoryConfig']; | ||
| 141 | |||
| 142 | coerce 'ServiceDirectoryConfig', | ||
| 143 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::Webhook::ServiceDirectoryConfig'->new($_) }; | ||
| 144 | |||
| 145 | declare 'RepeatedServiceDirectoryConfig', | ||
| 146 | as ArrayRef[ServiceDirectoryConfig()]; | ||
| 147 | |||
| 148 | coerce 'RepeatedServiceDirectoryConfig', | ||
| 149 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::Webhook::ServiceDirectoryConfig'->new($_) } @$_ ] }; | ||
| 150 | |||
| 151 | declare 'MapStringServiceDirectoryConfig', | ||
| 152 | as HashRef[ServiceDirectoryConfig()]; | ||
| 153 | |||
| 154 | declare 'ListWebhooksRequest', | ||
| 155 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Webhook::ListWebhooksRequest']; | ||
| 156 | |||
| 157 | coerce 'ListWebhooksRequest', | ||
| 158 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::ListWebhooksRequest'->new($_) }; | ||
| 159 | |||
| 160 | declare 'RepeatedListWebhooksRequest', | ||
| 161 | as ArrayRef[ListWebhooksRequest()]; | ||
| 162 | |||
| 163 | coerce 'RepeatedListWebhooksRequest', | ||
| 164 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::ListWebhooksRequest'->new($_) } @$_ ] }; | ||
| 165 | |||
| 166 | declare 'MapStringListWebhooksRequest', | ||
| 167 | as HashRef[ListWebhooksRequest()]; | ||
| 168 | |||
| 169 | declare 'ListWebhooksResponse', | ||
| 170 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Webhook::ListWebhooksResponse']; | ||
| 171 | |||
| 172 | coerce 'ListWebhooksResponse', | ||
| 173 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::ListWebhooksResponse'->new($_) }; | ||
| 174 | |||
| 175 | declare 'RepeatedListWebhooksResponse', | ||
| 176 | as ArrayRef[ListWebhooksResponse()]; | ||
| 177 | |||
| 178 | coerce 'RepeatedListWebhooksResponse', | ||
| 179 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::ListWebhooksResponse'->new($_) } @$_ ] }; | ||
| 180 | |||
| 181 | declare 'MapStringListWebhooksResponse', | ||
| 182 | as HashRef[ListWebhooksResponse()]; | ||
| 183 | |||
| 184 | declare 'GetWebhookRequest', | ||
| 185 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Webhook::GetWebhookRequest']; | ||
| 186 | |||
| 187 | coerce 'GetWebhookRequest', | ||
| 188 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::GetWebhookRequest'->new($_) }; | ||
| 189 | |||
| 190 | declare 'RepeatedGetWebhookRequest', | ||
| 191 | as ArrayRef[GetWebhookRequest()]; | ||
| 192 | |||
| 193 | coerce 'RepeatedGetWebhookRequest', | ||
| 194 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::GetWebhookRequest'->new($_) } @$_ ] }; | ||
| 195 | |||
| 196 | declare 'MapStringGetWebhookRequest', | ||
| 197 | as HashRef[GetWebhookRequest()]; | ||
| 198 | |||
| 199 | declare 'CreateWebhookRequest', | ||
| 200 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Webhook::CreateWebhookRequest']; | ||
| 201 | |||
| 202 | coerce 'CreateWebhookRequest', | ||
| 203 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::CreateWebhookRequest'->new($_) }; | ||
| 204 | |||
| 205 | declare 'RepeatedCreateWebhookRequest', | ||
| 206 | as ArrayRef[CreateWebhookRequest()]; | ||
| 207 | |||
| 208 | coerce 'RepeatedCreateWebhookRequest', | ||
| 209 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::CreateWebhookRequest'->new($_) } @$_ ] }; | ||
| 210 | |||
| 211 | declare 'MapStringCreateWebhookRequest', | ||
| 212 | as HashRef[CreateWebhookRequest()]; | ||
| 213 | |||
| 214 | declare 'UpdateWebhookRequest', | ||
| 215 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Webhook::UpdateWebhookRequest']; | ||
| 216 | |||
| 217 | coerce 'UpdateWebhookRequest', | ||
| 218 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::UpdateWebhookRequest'->new($_) }; | ||
| 219 | |||
| 220 | declare 'RepeatedUpdateWebhookRequest', | ||
| 221 | as ArrayRef[UpdateWebhookRequest()]; | ||
| 222 | |||
| 223 | coerce 'RepeatedUpdateWebhookRequest', | ||
| 224 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::UpdateWebhookRequest'->new($_) } @$_ ] }; | ||
| 225 | |||
| 226 | declare 'MapStringUpdateWebhookRequest', | ||
| 227 | as HashRef[UpdateWebhookRequest()]; | ||
| 228 | |||
| 229 | declare 'DeleteWebhookRequest', | ||
| 230 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Webhook::DeleteWebhookRequest']; | ||
| 231 | |||
| 232 | coerce 'DeleteWebhookRequest', | ||
| 233 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::DeleteWebhookRequest'->new($_) }; | ||
| 234 | |||
| 235 | declare 'RepeatedDeleteWebhookRequest', | ||
| 236 | as ArrayRef[DeleteWebhookRequest()]; | ||
| 237 | |||
| 238 | coerce 'RepeatedDeleteWebhookRequest', | ||
| 239 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::DeleteWebhookRequest'->new($_) } @$_ ] }; | ||
| 240 | |||
| 241 | declare 'MapStringDeleteWebhookRequest', | ||
| 242 | as HashRef[DeleteWebhookRequest()]; | ||
| 243 | |||
| 244 | declare 'WebhookRequest', | ||
| 245 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Webhook::WebhookRequest']; | ||
| 246 | |||
| 247 | coerce 'WebhookRequest', | ||
| 248 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::WebhookRequest'->new($_) }; | ||
| 249 | |||
| 250 | declare 'RepeatedWebhookRequest', | ||
| 251 | as ArrayRef[WebhookRequest()]; | ||
| 252 | |||
| 253 | coerce 'RepeatedWebhookRequest', | ||
| 254 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::WebhookRequest'->new($_) } @$_ ] }; | ||
| 255 | |||
| 256 | declare 'MapStringWebhookRequest', | ||
| 257 | as HashRef[WebhookRequest()]; | ||
| 258 | |||
| 259 | declare 'FulfillmentInfo', | ||
| 260 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Webhook::WebhookRequest::FulfillmentInfo']; | ||
| 261 | |||
| 262 | coerce 'FulfillmentInfo', | ||
| 263 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::WebhookRequest::FulfillmentInfo'->new($_) }; | ||
| 264 | |||
| 265 | declare 'RepeatedFulfillmentInfo', | ||
| 266 | as ArrayRef[FulfillmentInfo()]; | ||
| 267 | |||
| 268 | coerce 'RepeatedFulfillmentInfo', | ||
| 269 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::WebhookRequest::FulfillmentInfo'->new($_) } @$_ ] }; | ||
| 270 | |||
| 271 | declare 'MapStringFulfillmentInfo', | ||
| 272 | as HashRef[FulfillmentInfo()]; | ||
| 273 | |||
| 274 | declare 'IntentInfo', | ||
| 275 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Webhook::WebhookRequest::IntentInfo']; | ||
| 276 | |||
| 277 | coerce 'IntentInfo', | ||
| 278 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::WebhookRequest::IntentInfo'->new($_) }; | ||
| 279 | |||
| 280 | declare 'RepeatedIntentInfo', | ||
| 281 | as ArrayRef[IntentInfo()]; | ||
| 282 | |||
| 283 | coerce 'RepeatedIntentInfo', | ||
| 284 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::WebhookRequest::IntentInfo'->new($_) } @$_ ] }; | ||
| 285 | |||
| 286 | declare 'MapStringIntentInfo', | ||
| 287 | as HashRef[IntentInfo()]; | ||
| 288 | |||
| 289 | declare 'IntentParameterValue', | ||
| 290 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Webhook::WebhookRequest::IntentInfo::IntentParameterValue']; | ||
| 291 | |||
| 292 | coerce 'IntentParameterValue', | ||
| 293 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::WebhookRequest::IntentInfo::IntentParameterValue'->new($_) }; | ||
| 294 | |||
| 295 | declare 'RepeatedIntentParameterValue', | ||
| 296 | as ArrayRef[IntentParameterValue()]; | ||
| 297 | |||
| 298 | coerce 'RepeatedIntentParameterValue', | ||
| 299 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::WebhookRequest::IntentInfo::IntentParameterValue'->new($_) } @$_ ] }; | ||
| 300 | |||
| 301 | declare 'MapStringIntentParameterValue', | ||
| 302 | as HashRef[IntentParameterValue()]; | ||
| 303 | |||
| 304 | declare 'ParametersEntry', | ||
| 305 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Webhook::WebhookRequest::IntentInfo::ParametersEntry']; | ||
| 306 | |||
| 307 | coerce 'ParametersEntry', | ||
| 308 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::WebhookRequest::IntentInfo::ParametersEntry'->new($_) }; | ||
| 309 | |||
| 310 | declare 'RepeatedParametersEntry', | ||
| 311 | as ArrayRef[ParametersEntry()]; | ||
| 312 | |||
| 313 | coerce 'RepeatedParametersEntry', | ||
| 314 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::WebhookRequest::IntentInfo::ParametersEntry'->new($_) } @$_ ] }; | ||
| 315 | |||
| 316 | declare 'MapStringParametersEntry', | ||
| 317 | as HashRef[ParametersEntry()]; | ||
| 318 | |||
| 319 | declare 'SentimentAnalysisResult', | ||
| 320 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Webhook::WebhookRequest::SentimentAnalysisResult']; | ||
| 321 | |||
| 322 | coerce 'SentimentAnalysisResult', | ||
| 323 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::WebhookRequest::SentimentAnalysisResult'->new($_) }; | ||
| 324 | |||
| 325 | declare 'RepeatedSentimentAnalysisResult', | ||
| 326 | as ArrayRef[SentimentAnalysisResult()]; | ||
| 327 | |||
| 328 | coerce 'RepeatedSentimentAnalysisResult', | ||
| 329 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::WebhookRequest::SentimentAnalysisResult'->new($_) } @$_ ] }; | ||
| 330 | |||
| 331 | declare 'MapStringSentimentAnalysisResult', | ||
| 332 | as HashRef[SentimentAnalysisResult()]; | ||
| 333 | |||
| 334 | declare 'WebhookResponse', | ||
| 335 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Webhook::WebhookResponse']; | ||
| 336 | |||
| 337 | coerce 'WebhookResponse', | ||
| 338 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::WebhookResponse'->new($_) }; | ||
| 339 | |||
| 340 | declare 'RepeatedWebhookResponse', | ||
| 341 | as ArrayRef[WebhookResponse()]; | ||
| 342 | |||
| 343 | coerce 'RepeatedWebhookResponse', | ||
| 344 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::WebhookResponse'->new($_) } @$_ ] }; | ||
| 345 | |||
| 346 | declare 'MapStringWebhookResponse', | ||
| 347 | as HashRef[WebhookResponse()]; | ||
| 348 | |||
| 349 | declare 'FulfillmentResponse', | ||
| 350 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Webhook::WebhookResponse::FulfillmentResponse']; | ||
| 351 | |||
| 352 | coerce 'FulfillmentResponse', | ||
| 353 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::WebhookResponse::FulfillmentResponse'->new($_) }; | ||
| 354 | |||
| 355 | declare 'RepeatedFulfillmentResponse', | ||
| 356 | as ArrayRef[FulfillmentResponse()]; | ||
| 357 | |||
| 358 | coerce 'RepeatedFulfillmentResponse', | ||
| 359 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::WebhookResponse::FulfillmentResponse'->new($_) } @$_ ] }; | ||
| 360 | |||
| 361 | declare 'MapStringFulfillmentResponse', | ||
| 362 | as HashRef[FulfillmentResponse()]; | ||
| 363 | |||
| 364 | declare 'MergeBehavior', | ||
| 365 | as (Int | Str); | ||
| 366 | |||
| 367 | declare 'PageInfo', | ||
| 368 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Webhook::PageInfo']; | ||
| 369 | |||
| 370 | coerce 'PageInfo', | ||
| 371 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::PageInfo'->new($_) }; | ||
| 372 | |||
| 373 | declare 'RepeatedPageInfo', | ||
| 374 | as ArrayRef[PageInfo()]; | ||
| 375 | |||
| 376 | coerce 'RepeatedPageInfo', | ||
| 377 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::PageInfo'->new($_) } @$_ ] }; | ||
| 378 | |||
| 379 | declare 'MapStringPageInfo', | ||
| 380 | as HashRef[PageInfo()]; | ||
| 381 | |||
| 382 | declare 'FormInfo', | ||
| 383 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Webhook::PageInfo::FormInfo']; | ||
| 384 | |||
| 385 | coerce 'FormInfo', | ||
| 386 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::PageInfo::FormInfo'->new($_) }; | ||
| 387 | |||
| 388 | declare 'RepeatedFormInfo', | ||
| 389 | as ArrayRef[FormInfo()]; | ||
| 390 | |||
| 391 | coerce 'RepeatedFormInfo', | ||
| 392 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::PageInfo::FormInfo'->new($_) } @$_ ] }; | ||
| 393 | |||
| 394 | declare 'MapStringFormInfo', | ||
| 395 | as HashRef[FormInfo()]; | ||
| 396 | |||
| 397 | declare 'ParameterInfo', | ||
| 398 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Webhook::PageInfo::FormInfo::ParameterInfo']; | ||
| 399 | |||
| 400 | coerce 'ParameterInfo', | ||
| 401 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::PageInfo::FormInfo::ParameterInfo'->new($_) }; | ||
| 402 | |||
| 403 | declare 'RepeatedParameterInfo', | ||
| 404 | as ArrayRef[ParameterInfo()]; | ||
| 405 | |||
| 406 | coerce 'RepeatedParameterInfo', | ||
| 407 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::PageInfo::FormInfo::ParameterInfo'->new($_) } @$_ ] }; | ||
| 408 | |||
| 409 | declare 'MapStringParameterInfo', | ||
| 410 | as HashRef[ParameterInfo()]; | ||
| 411 | |||
| 412 | declare 'ParameterState', | ||
| 413 | as (Int | Str); | ||
| 414 | |||
| 415 | declare 'SessionInfo', | ||
| 416 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Webhook::SessionInfo']; | ||
| 417 | |||
| 418 | coerce 'SessionInfo', | ||
| 419 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::SessionInfo'->new($_) }; | ||
| 420 | |||
| 421 | declare 'RepeatedSessionInfo', | ||
| 422 | as ArrayRef[SessionInfo()]; | ||
| 423 | |||
| 424 | coerce 'RepeatedSessionInfo', | ||
| 425 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::SessionInfo'->new($_) } @$_ ] }; | ||
| 426 | |||
| 427 | declare 'MapStringSessionInfo', | ||
| 428 | as HashRef[SessionInfo()]; | ||
| 429 | |||
| 430 | declare 'ParametersEntry', | ||
| 431 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Webhook::SessionInfo::ParametersEntry']; | ||
| 432 | |||
| 433 | coerce 'ParametersEntry', | ||
| 434 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::SessionInfo::ParametersEntry'->new($_) }; | ||
| 435 | |||
| 436 | declare 'RepeatedParametersEntry', | ||
| 437 | as ArrayRef[ParametersEntry()]; | ||
| 438 | |||
| 439 | coerce 'RepeatedParametersEntry', | ||
| 440 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::SessionInfo::ParametersEntry'->new($_) } @$_ ] }; | ||
| 441 | |||
| 442 | declare 'MapStringParametersEntry', | ||
| 443 | as HashRef[ParametersEntry()]; | ||
| 444 | |||
| 445 | declare 'LanguageInfo', | ||
| 446 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Webhook::LanguageInfo']; | ||
| 447 | |||
| 448 | coerce 'LanguageInfo', | ||
| 449 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::LanguageInfo'->new($_) }; | ||
| 450 | |||
| 451 | declare 'RepeatedLanguageInfo', | ||
| 452 | as ArrayRef[LanguageInfo()]; | ||
| 453 | |||
| 454 | coerce 'RepeatedLanguageInfo', | ||
| 455 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Webhook::LanguageInfo'->new($_) } @$_ ] }; | ||
| 456 | |||
| 457 | declare 'MapStringLanguageInfo', | ||
| 458 | as HashRef[LanguageInfo()]; | ||
| 459 | |||
| 460 | 1; | ||
| 461 | |||
| 462 | __END__ |