File tree Expand file tree Collapse file tree
cas-parser-java-core/src/main/kotlin/com/cas_parser/api/models Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11configured_endpoints : 21
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/cas-parser/cas-parser-c7cca9a7a8e15f8a584c22eab142c4af72a329117f63cc3b3f7cabb25410f2ce .yml
3- openapi_spec_hash : f40d936e433bbf8c98179d0b36f304c8
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/cas-parser/cas-parser-0dce3ce202e44ecf2270f6ca42942cc297bbeeafddb3128f8230ba3ae85c7551 .yml
3+ openapi_spec_hash : e9cef5743f686d9f12910c81832accca
44config_hash : 5509bb7a961ae2e79114b24c381606d4
Original file line number Diff line number Diff line change @@ -80,8 +80,8 @@ private constructor(
8080 allowedSources.getOptional(" allowed_sources" )
8181
8282 /* *
83- * Webhook URL for email notifications. Empty string (`""`) means files are only retrievable via
84- * `GET /v4/inbound-email/{id}/files` (SDK / pull mode) .
83+ * Webhook URL for email notifications. If set, we POST each parsed email here. If omitted,
84+ * files are only retrievable via `GET /v4/inbound-email/{id}/files`.
8585 *
8686 * @throws CasParserInvalidDataException if the JSON field has an unexpected type (e.g. if the
8787 * server responded with an unexpected value).
@@ -293,8 +293,8 @@ private constructor(
293293 }
294294
295295 /* *
296- * Webhook URL for email notifications. Empty string (`""`) means files are only retrievable
297- * via `GET /v4/inbound-email/{id}/files` (SDK / pull mode) .
296+ * Webhook URL for email notifications. If set, we POST each parsed email here. If omitted,
297+ * files are only retrievable via `GET /v4/inbound-email/{id}/files`.
298298 */
299299 fun callbackUrl (callbackUrl : String ) = callbackUrl(JsonField .of(callbackUrl))
300300
Original file line number Diff line number Diff line change @@ -351,8 +351,8 @@ private constructor(
351351 allowedSources.getOptional(" allowed_sources" )
352352
353353 /* *
354- * Webhook URL for email notifications. Empty string (`""`) means files are only retrievable
355- * via `GET /v4/inbound-email/{id}/files` (SDK / pull mode) .
354+ * Webhook URL for email notifications. If set, we POST each parsed email here. If omitted,
355+ * files are only retrievable via `GET /v4/inbound-email/{id}/files`.
356356 *
357357 * @throws CasParserInvalidDataException if the JSON field has an unexpected type (e.g. if
358358 * the server responded with an unexpected value).
@@ -564,8 +564,8 @@ private constructor(
564564 }
565565
566566 /* *
567- * Webhook URL for email notifications. Empty string (`""`) means files are only
568- * retrievable via `GET /v4/inbound-email/{id}/files` (SDK / pull mode) .
567+ * Webhook URL for email notifications. If set, we POST each parsed email here. If
568+ * omitted, files are only retrievable via `GET /v4/inbound-email/{id}/files`.
569569 */
570570 fun callbackUrl (callbackUrl : String ) = callbackUrl(JsonField .of(callbackUrl))
571571
Original file line number Diff line number Diff line change @@ -80,8 +80,8 @@ private constructor(
8080 allowedSources.getOptional(" allowed_sources" )
8181
8282 /* *
83- * Webhook URL for email notifications. Empty string (`""`) means files are only retrievable via
84- * `GET /v4/inbound-email/{id}/files` (SDK / pull mode) .
83+ * Webhook URL for email notifications. If set, we POST each parsed email here. If omitted,
84+ * files are only retrievable via `GET /v4/inbound-email/{id}/files`.
8585 *
8686 * @throws CasParserInvalidDataException if the JSON field has an unexpected type (e.g. if the
8787 * server responded with an unexpected value).
@@ -293,8 +293,8 @@ private constructor(
293293 }
294294
295295 /* *
296- * Webhook URL for email notifications. Empty string (`""`) means files are only retrievable
297- * via `GET /v4/inbound-email/{id}/files` (SDK / pull mode) .
296+ * Webhook URL for email notifications. If set, we POST each parsed email here. If omitted,
297+ * files are only retrievable via `GET /v4/inbound-email/{id}/files`.
298298 */
299299 fun callbackUrl (callbackUrl : String ) = callbackUrl(JsonField .of(callbackUrl))
300300
Original file line number Diff line number Diff line change @@ -287,8 +287,8 @@ private constructor(
287287 /* *
288288 * URL expiration time in seconds. Defaults vary by source:
289289 * - Gmail Inbox Import: 86400 (24h)
290- * - Inbound Email (webhook mode) : 172800 (48h)
291- * - Inbound Email (SDK mode) : aligned with the session TTL (~30 min)
290+ * - Inbound Email with `callback_url` set : 172800 (48h)
291+ * - Inbound Email without `callback_url` : aligned with the session TTL (~30 min)
292292 *
293293 * @throws CasParserInvalidDataException if the JSON field has an unexpected type (e.g. if
294294 * the server responded with an unexpected value).
@@ -483,8 +483,8 @@ private constructor(
483483 /* *
484484 * URL expiration time in seconds. Defaults vary by source:
485485 * - Gmail Inbox Import: 86400 (24h)
486- * - Inbound Email (webhook mode) : 172800 (48h)
487- * - Inbound Email (SDK mode) : aligned with the session TTL (~30 min)
486+ * - Inbound Email with `callback_url` set : 172800 (48h)
487+ * - Inbound Email without `callback_url` : aligned with the session TTL (~30 min)
488488 */
489489 fun expiresIn (expiresIn : Long ) = expiresIn(JsonField .of(expiresIn))
490490
You can’t perform that action at this time.
0 commit comments