@@ -255,46 +255,28 @@ export type AllowedHeaders = string;
255255export type AllowedHeadersParam = string ;
256256
257257/**
258- * Allowed HTTP request methods .
258+ * The identity providers selected for application .
259259 */
260- export type AllowedHTTPMethods = Array < AllowedMethods > ;
260+ export type AllowedIdPs = string ;
261261
262262/**
263- * Allowed HTTP request methods .
263+ * The identity providers selected for application .
264264 */
265- export type AllowedHTTPMethodsParam = Array < AllowedMethodsParam > ;
265+ export type AllowedIdPsParam = string ;
266266
267267/**
268- * The identity providers selected for application .
268+ * Allowed HTTP request methods .
269269 */
270- export type AllowedIdPs = string ;
270+ export type AllowedMethods = Array <
271+ 'GET' | 'POST' | 'HEAD' | 'PUT' | 'DELETE' | 'CONNECT' | 'OPTIONS' | 'TRACE' | 'PATCH'
272+ > ;
271273
272274/**
273- * The identity providers selected for application .
275+ * Allowed HTTP request methods .
274276 */
275- export type AllowedIdPsParam = string ;
276-
277- export type AllowedMethods =
278- | 'GET'
279- | 'POST'
280- | 'HEAD'
281- | 'PUT'
282- | 'DELETE'
283- | 'CONNECT'
284- | 'OPTIONS'
285- | 'TRACE'
286- | 'PATCH' ;
287-
288- export type AllowedMethodsParam =
289- | 'GET'
290- | 'POST'
291- | 'HEAD'
292- | 'PUT'
293- | 'DELETE'
294- | 'CONNECT'
295- | 'OPTIONS'
296- | 'TRACE'
297- | 'PATCH' ;
277+ export type AllowedMethodsParam = Array <
278+ 'GET' | 'POST' | 'HEAD' | 'PUT' | 'DELETE' | 'CONNECT' | 'OPTIONS' | 'TRACE' | 'PATCH'
279+ > ;
298280
299281export type AllowedOrigins = string ;
300282
@@ -393,7 +375,7 @@ export namespace Application {
393375 /**
394376 * The custom pages that will be displayed when applicable for this application
395377 */
396- custom_pages ?: Array < ApplicationsAPI . CustomPages > ;
378+ custom_pages ?: Array < string > ;
397379
398380 /**
399381 * Enables the binding cookie, which increases security against compromised
@@ -499,7 +481,7 @@ export namespace Application {
499481 /**
500482 * The custom pages that will be displayed when applicable for this application
501483 */
502- custom_pages ?: Array < ApplicationsAPI . CustomPages > ;
484+ custom_pages ?: Array < string > ;
503485
504486 /**
505487 * The image URL for the logo shown in the App Launcher dashboard.
@@ -691,7 +673,7 @@ export namespace Application {
691673 /**
692674 * The custom pages that will be displayed when applicable for this application
693675 */
694- custom_pages ?: Array < ApplicationsAPI . CustomPages > ;
676+ custom_pages ?: Array < string > ;
695677
696678 /**
697679 * Enables the binding cookie, which increases security against compromised
@@ -836,7 +818,7 @@ export namespace Application {
836818 /**
837819 * The custom pages that will be displayed when applicable for this application
838820 */
839- custom_pages ?: Array < ApplicationsAPI . CustomPages > ;
821+ custom_pages ?: Array < string > ;
840822
841823 /**
842824 * Enables the binding cookie, which increases security against compromised
@@ -913,7 +895,7 @@ export namespace Application {
913895 /**
914896 * The application type.
915897 */
916- type : 'self_hosted' | 'saas' | 'ssh' | 'vnc' | 'app_launcher' | 'warp' | 'biso' | 'bookmark' | 'dash_sso' ;
898+ type : ApplicationsAPI . ApplicationType ;
917899
918900 /**
919901 * UUID
@@ -964,7 +946,7 @@ export namespace Application {
964946 /**
965947 * The application type.
966948 */
967- type : 'self_hosted' | 'saas' | 'ssh' | 'vnc' | 'app_launcher' | 'warp' | 'biso' | 'bookmark' | 'dash_sso' ;
949+ type : ApplicationsAPI . ApplicationType ;
968950
969951 /**
970952 * UUID
@@ -1015,7 +997,7 @@ export namespace Application {
1015997 /**
1016998 * The application type.
1017999 */
1018- type : 'self_hosted' | 'saas' | 'ssh' | 'vnc' | 'app_launcher' | 'warp' | 'biso' | 'bookmark' | 'dash_sso' ;
1000+ type : ApplicationsAPI . ApplicationType ;
10191001
10201002 /**
10211003 * UUID
@@ -1110,6 +1092,34 @@ export namespace Application {
11101092 }
11111093}
11121094
1095+ /**
1096+ * The application type.
1097+ */
1098+ export type ApplicationType =
1099+ | 'self_hosted'
1100+ | 'saas'
1101+ | 'ssh'
1102+ | 'vnc'
1103+ | 'app_launcher'
1104+ | 'warp'
1105+ | 'biso'
1106+ | 'bookmark'
1107+ | 'dash_sso' ;
1108+
1109+ /**
1110+ * The application type.
1111+ */
1112+ export type ApplicationTypeParam =
1113+ | 'self_hosted'
1114+ | 'saas'
1115+ | 'ssh'
1116+ | 'vnc'
1117+ | 'app_launcher'
1118+ | 'warp'
1119+ | 'biso'
1120+ | 'bookmark'
1121+ | 'dash_sso' ;
1122+
11131123export interface CORSHeaders {
11141124 /**
11151125 * Allows all HTTP request headers.
@@ -1140,7 +1150,7 @@ export interface CORSHeaders {
11401150 /**
11411151 * Allowed HTTP request methods.
11421152 */
1143- allowed_methods ?: AllowedHTTPMethods ;
1153+ allowed_methods ?: AllowedMethods ;
11441154
11451155 /**
11461156 * Allowed origins.
@@ -1183,7 +1193,7 @@ export interface CORSHeadersParam {
11831193 /**
11841194 * Allowed HTTP request methods.
11851195 */
1186- allowed_methods ?: AllowedHTTPMethodsParam ;
1196+ allowed_methods ?: AllowedMethodsParam ;
11871197
11881198 /**
11891199 * Allowed origins.
@@ -1196,16 +1206,6 @@ export interface CORSHeadersParam {
11961206 max_age ?: number ;
11971207}
11981208
1199- /**
1200- * The custom pages selected for application.
1201- */
1202- export type CustomPages = string ;
1203-
1204- /**
1205- * The custom pages selected for application.
1206- */
1207- export type CustomPagesParam = string ;
1208-
12091209/**
12101210 * A globally unique name for an identity or service provider.
12111211 */
@@ -1547,7 +1547,7 @@ export namespace ApplicationCreateParams {
15471547 * Body param: The custom pages that will be displayed when applicable for this
15481548 * application
15491549 */
1550- custom_pages ?: Array < CustomPagesParam > ;
1550+ custom_pages ?: Array < string > ;
15511551
15521552 /**
15531553 * Body param: Enables the binding cookie, which increases security against
@@ -1653,7 +1653,7 @@ export namespace ApplicationCreateParams {
16531653 * Body param: The custom pages that will be displayed when applicable for this
16541654 * application
16551655 */
1656- custom_pages ?: Array < CustomPagesParam > ;
1656+ custom_pages ?: Array < string > ;
16571657
16581658 /**
16591659 * Body param: The image URL for the logo shown in the App Launcher dashboard.
@@ -1847,7 +1847,7 @@ export namespace ApplicationCreateParams {
18471847 * Body param: The custom pages that will be displayed when applicable for this
18481848 * application
18491849 */
1850- custom_pages ?: Array < CustomPagesParam > ;
1850+ custom_pages ?: Array < string > ;
18511851
18521852 /**
18531853 * Body param: Enables the binding cookie, which increases security against
@@ -1996,7 +1996,7 @@ export namespace ApplicationCreateParams {
19961996 * Body param: The custom pages that will be displayed when applicable for this
19971997 * application
19981998 */
1999- custom_pages ?: Array < CustomPagesParam > ;
1999+ custom_pages ?: Array < string > ;
20002000
20012001 /**
20022002 * Body param: Enables the binding cookie, which increases security against
@@ -2072,7 +2072,7 @@ export namespace ApplicationCreateParams {
20722072 /**
20732073 * Body param: The application type.
20742074 */
2075- type : 'self_hosted' | 'saas' | 'ssh' | 'vnc' | 'app_launcher' | 'warp' | 'biso' | 'bookmark' | 'dash_sso' ;
2075+ type : ApplicationTypeParam ;
20762076
20772077 /**
20782078 * Path param: The Account ID to use for this endpoint. Mutually exclusive with the
@@ -2110,7 +2110,7 @@ export namespace ApplicationCreateParams {
21102110 /**
21112111 * Body param: The application type.
21122112 */
2113- type : 'self_hosted' | 'saas' | 'ssh' | 'vnc' | 'app_launcher' | 'warp' | 'biso' | 'bookmark' | 'dash_sso' ;
2113+ type : ApplicationTypeParam ;
21142114
21152115 /**
21162116 * Path param: The Account ID to use for this endpoint. Mutually exclusive with the
@@ -2148,7 +2148,7 @@ export namespace ApplicationCreateParams {
21482148 /**
21492149 * Body param: The application type.
21502150 */
2151- type : 'self_hosted' | 'saas' | 'ssh' | 'vnc' | 'app_launcher' | 'warp' | 'biso' | 'bookmark' | 'dash_sso' ;
2151+ type : ApplicationTypeParam ;
21522152
21532153 /**
21542154 * Path param: The Account ID to use for this endpoint. Mutually exclusive with the
@@ -2316,7 +2316,7 @@ export namespace ApplicationUpdateParams {
23162316 * Body param: The custom pages that will be displayed when applicable for this
23172317 * application
23182318 */
2319- custom_pages ?: Array < CustomPagesParam > ;
2319+ custom_pages ?: Array < string > ;
23202320
23212321 /**
23222322 * Body param: Enables the binding cookie, which increases security against
@@ -2422,7 +2422,7 @@ export namespace ApplicationUpdateParams {
24222422 * Body param: The custom pages that will be displayed when applicable for this
24232423 * application
24242424 */
2425- custom_pages ?: Array < CustomPagesParam > ;
2425+ custom_pages ?: Array < string > ;
24262426
24272427 /**
24282428 * Body param: The image URL for the logo shown in the App Launcher dashboard.
@@ -2616,7 +2616,7 @@ export namespace ApplicationUpdateParams {
26162616 * Body param: The custom pages that will be displayed when applicable for this
26172617 * application
26182618 */
2619- custom_pages ?: Array < CustomPagesParam > ;
2619+ custom_pages ?: Array < string > ;
26202620
26212621 /**
26222622 * Body param: Enables the binding cookie, which increases security against
@@ -2765,7 +2765,7 @@ export namespace ApplicationUpdateParams {
27652765 * Body param: The custom pages that will be displayed when applicable for this
27662766 * application
27672767 */
2768- custom_pages ?: Array < CustomPagesParam > ;
2768+ custom_pages ?: Array < string > ;
27692769
27702770 /**
27712771 * Body param: Enables the binding cookie, which increases security against
@@ -2841,7 +2841,7 @@ export namespace ApplicationUpdateParams {
28412841 /**
28422842 * Body param: The application type.
28432843 */
2844- type : 'self_hosted' | 'saas' | 'ssh' | 'vnc' | 'app_launcher' | 'warp' | 'biso' | 'bookmark' | 'dash_sso' ;
2844+ type : ApplicationTypeParam ;
28452845
28462846 /**
28472847 * Path param: The Account ID to use for this endpoint. Mutually exclusive with the
@@ -2879,7 +2879,7 @@ export namespace ApplicationUpdateParams {
28792879 /**
28802880 * Body param: The application type.
28812881 */
2882- type : 'self_hosted' | 'saas' | 'ssh' | 'vnc' | 'app_launcher' | 'warp' | 'biso' | 'bookmark' | 'dash_sso' ;
2882+ type : ApplicationTypeParam ;
28832883
28842884 /**
28852885 * Path param: The Account ID to use for this endpoint. Mutually exclusive with the
@@ -2917,7 +2917,7 @@ export namespace ApplicationUpdateParams {
29172917 /**
29182918 * Body param: The application type.
29192919 */
2920- type : 'self_hosted' | 'saas' | 'ssh' | 'vnc' | 'app_launcher' | 'warp' | 'biso' | 'bookmark' | 'dash_sso' ;
2920+ type : ApplicationTypeParam ;
29212921
29222922 /**
29232923 * Path param: The Account ID to use for this endpoint. Mutually exclusive with the
@@ -3047,14 +3047,13 @@ export interface ApplicationRevokeTokensParams {
30473047
30483048export namespace Applications {
30493049 export import AllowedHeaders = ApplicationsAPI . AllowedHeaders ;
3050- export import AllowedHTTPMethods = ApplicationsAPI . AllowedHTTPMethods ;
30513050 export import AllowedIdPs = ApplicationsAPI . AllowedIdPs ;
30523051 export import AllowedMethods = ApplicationsAPI . AllowedMethods ;
30533052 export import AllowedOrigins = ApplicationsAPI . AllowedOrigins ;
30543053 export import AppID = ApplicationsAPI . AppID ;
30553054 export import Application = ApplicationsAPI . Application ;
3055+ export import ApplicationType = ApplicationsAPI . ApplicationType ;
30563056 export import CORSHeaders = ApplicationsAPI . CORSHeaders ;
3057- export import CustomPages = ApplicationsAPI . CustomPages ;
30583057 export import SaaSAppNameFormat = ApplicationsAPI . SaaSAppNameFormat ;
30593058 export import SaaSAppNameIDFormat = ApplicationsAPI . SaaSAppNameIDFormat ;
30603059 export import SaaSAppSource = ApplicationsAPI . SaaSAppSource ;
0 commit comments