|
6 | 6 | from typing_extensions import Literal, Required, TypedDict
|
7 | 7 |
|
8 | 8 | from .allowed_idps import AllowedIdPs
|
9 |
| -from .custom_pages import CustomPages |
| 9 | +from .application_type import ApplicationType |
10 | 10 | from .cors_headers_param import CORSHeadersParam
|
11 | 11 | from .saml_saas_app_param import SAMLSaaSAppParam
|
12 | 12 | from .self_hosted_domains import SelfHostedDomains
|
@@ -90,7 +90,7 @@ class SelfHostedApplication(TypedDict, total=False):
|
90 | 90 | application when failing non-identity rules.
|
91 | 91 | """
|
92 | 92 |
|
93 |
| - custom_pages: List[CustomPages] |
| 93 | + custom_pages: List[str] |
94 | 94 | """The custom pages that will be displayed when applicable for this application"""
|
95 | 95 |
|
96 | 96 | enable_binding_cookie: bool
|
@@ -176,7 +176,7 @@ class SaaSApplication(TypedDict, total=False):
|
176 | 176 | You must specify only one identity provider in allowed_idps.
|
177 | 177 | """
|
178 | 178 |
|
179 |
| - custom_pages: List[CustomPages] |
| 179 | + custom_pages: List[str] |
180 | 180 | """The custom pages that will be displayed when applicable for this application"""
|
181 | 181 |
|
182 | 182 | logo_url: str
|
@@ -320,7 +320,7 @@ class BrowserSSHApplication(TypedDict, total=False):
|
320 | 320 | application when failing non-identity rules.
|
321 | 321 | """
|
322 | 322 |
|
323 |
| - custom_pages: List[CustomPages] |
| 323 | + custom_pages: List[str] |
324 | 324 | """The custom pages that will be displayed when applicable for this application"""
|
325 | 325 |
|
326 | 326 | enable_binding_cookie: bool
|
@@ -444,7 +444,7 @@ class BrowserVncApplication(TypedDict, total=False):
|
444 | 444 | application when failing non-identity rules.
|
445 | 445 | """
|
446 | 446 |
|
447 |
| - custom_pages: List[CustomPages] |
| 447 | + custom_pages: List[str] |
448 | 448 | """The custom pages that will be displayed when applicable for this application"""
|
449 | 449 |
|
450 | 450 | enable_binding_cookie: bool
|
@@ -507,7 +507,7 @@ class BrowserVncApplication(TypedDict, total=False):
|
507 | 507 |
|
508 | 508 |
|
509 | 509 | class AppLauncherApplication(TypedDict, total=False):
|
510 |
| - type: Required[Literal["self_hosted", "saas", "ssh", "vnc", "app_launcher", "warp", "biso", "bookmark", "dash_sso"]] |
| 510 | + type: Required[ApplicationType] |
511 | 511 | """The application type."""
|
512 | 512 |
|
513 | 513 | account_id: str
|
@@ -539,7 +539,7 @@ class AppLauncherApplication(TypedDict, total=False):
|
539 | 539 |
|
540 | 540 |
|
541 | 541 | class DeviceEnrollmentPermissionsApplication(TypedDict, total=False):
|
542 |
| - type: Required[Literal["self_hosted", "saas", "ssh", "vnc", "app_launcher", "warp", "biso", "bookmark", "dash_sso"]] |
| 542 | + type: Required[ApplicationType] |
543 | 543 | """The application type."""
|
544 | 544 |
|
545 | 545 | account_id: str
|
@@ -571,7 +571,7 @@ class DeviceEnrollmentPermissionsApplication(TypedDict, total=False):
|
571 | 571 |
|
572 | 572 |
|
573 | 573 | class BrowserIsolationPermissionsApplication(TypedDict, total=False):
|
574 |
| - type: Required[Literal["self_hosted", "saas", "ssh", "vnc", "app_launcher", "warp", "biso", "bookmark", "dash_sso"]] |
| 574 | + type: Required[ApplicationType] |
575 | 575 | """The application type."""
|
576 | 576 |
|
577 | 577 | account_id: str
|
|
0 commit comments