@@ -255,46 +255,28 @@ export type AllowedHeaders = string;
255
255
export type AllowedHeadersParam = string ;
256
256
257
257
/**
258
- * Allowed HTTP request methods .
258
+ * The identity providers selected for application .
259
259
*/
260
- export type AllowedHTTPMethods = Array < AllowedMethods > ;
260
+ export type AllowedIdPs = string ;
261
261
262
262
/**
263
- * Allowed HTTP request methods .
263
+ * The identity providers selected for application .
264
264
*/
265
- export type AllowedHTTPMethodsParam = Array < AllowedMethodsParam > ;
265
+ export type AllowedIdPsParam = string ;
266
266
267
267
/**
268
- * The identity providers selected for application .
268
+ * Allowed HTTP request methods .
269
269
*/
270
- export type AllowedIdPs = string ;
270
+ export type AllowedMethods = Array <
271
+ 'GET' | 'POST' | 'HEAD' | 'PUT' | 'DELETE' | 'CONNECT' | 'OPTIONS' | 'TRACE' | 'PATCH'
272
+ > ;
271
273
272
274
/**
273
- * The identity providers selected for application .
275
+ * Allowed HTTP request methods .
274
276
*/
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
+ > ;
298
280
299
281
export type AllowedOrigins = string ;
300
282
@@ -393,7 +375,7 @@ export namespace Application {
393
375
/**
394
376
* The custom pages that will be displayed when applicable for this application
395
377
*/
396
- custom_pages ?: Array < ApplicationsAPI . CustomPages > ;
378
+ custom_pages ?: Array < string > ;
397
379
398
380
/**
399
381
* Enables the binding cookie, which increases security against compromised
@@ -499,7 +481,7 @@ export namespace Application {
499
481
/**
500
482
* The custom pages that will be displayed when applicable for this application
501
483
*/
502
- custom_pages ?: Array < ApplicationsAPI . CustomPages > ;
484
+ custom_pages ?: Array < string > ;
503
485
504
486
/**
505
487
* The image URL for the logo shown in the App Launcher dashboard.
@@ -691,7 +673,7 @@ export namespace Application {
691
673
/**
692
674
* The custom pages that will be displayed when applicable for this application
693
675
*/
694
- custom_pages ?: Array < ApplicationsAPI . CustomPages > ;
676
+ custom_pages ?: Array < string > ;
695
677
696
678
/**
697
679
* Enables the binding cookie, which increases security against compromised
@@ -836,7 +818,7 @@ export namespace Application {
836
818
/**
837
819
* The custom pages that will be displayed when applicable for this application
838
820
*/
839
- custom_pages ?: Array < ApplicationsAPI . CustomPages > ;
821
+ custom_pages ?: Array < string > ;
840
822
841
823
/**
842
824
* Enables the binding cookie, which increases security against compromised
@@ -913,7 +895,7 @@ export namespace Application {
913
895
/**
914
896
* The application type.
915
897
*/
916
- type : 'self_hosted' | 'saas' | 'ssh' | 'vnc' | 'app_launcher' | 'warp' | 'biso' | 'bookmark' | 'dash_sso' ;
898
+ type : ApplicationsAPI . ApplicationType ;
917
899
918
900
/**
919
901
* UUID
@@ -964,7 +946,7 @@ export namespace Application {
964
946
/**
965
947
* The application type.
966
948
*/
967
- type : 'self_hosted' | 'saas' | 'ssh' | 'vnc' | 'app_launcher' | 'warp' | 'biso' | 'bookmark' | 'dash_sso' ;
949
+ type : ApplicationsAPI . ApplicationType ;
968
950
969
951
/**
970
952
* UUID
@@ -1015,7 +997,7 @@ export namespace Application {
1015
997
/**
1016
998
* The application type.
1017
999
*/
1018
- type : 'self_hosted' | 'saas' | 'ssh' | 'vnc' | 'app_launcher' | 'warp' | 'biso' | 'bookmark' | 'dash_sso' ;
1000
+ type : ApplicationsAPI . ApplicationType ;
1019
1001
1020
1002
/**
1021
1003
* UUID
@@ -1110,6 +1092,34 @@ export namespace Application {
1110
1092
}
1111
1093
}
1112
1094
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
+
1113
1123
export interface CORSHeaders {
1114
1124
/**
1115
1125
* Allows all HTTP request headers.
@@ -1140,7 +1150,7 @@ export interface CORSHeaders {
1140
1150
/**
1141
1151
* Allowed HTTP request methods.
1142
1152
*/
1143
- allowed_methods ?: AllowedHTTPMethods ;
1153
+ allowed_methods ?: AllowedMethods ;
1144
1154
1145
1155
/**
1146
1156
* Allowed origins.
@@ -1183,7 +1193,7 @@ export interface CORSHeadersParam {
1183
1193
/**
1184
1194
* Allowed HTTP request methods.
1185
1195
*/
1186
- allowed_methods ?: AllowedHTTPMethodsParam ;
1196
+ allowed_methods ?: AllowedMethodsParam ;
1187
1197
1188
1198
/**
1189
1199
* Allowed origins.
@@ -1196,16 +1206,6 @@ export interface CORSHeadersParam {
1196
1206
max_age ?: number ;
1197
1207
}
1198
1208
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
-
1209
1209
/**
1210
1210
* A globally unique name for an identity or service provider.
1211
1211
*/
@@ -1547,7 +1547,7 @@ export namespace ApplicationCreateParams {
1547
1547
* Body param: The custom pages that will be displayed when applicable for this
1548
1548
* application
1549
1549
*/
1550
- custom_pages ?: Array < CustomPagesParam > ;
1550
+ custom_pages ?: Array < string > ;
1551
1551
1552
1552
/**
1553
1553
* Body param: Enables the binding cookie, which increases security against
@@ -1653,7 +1653,7 @@ export namespace ApplicationCreateParams {
1653
1653
* Body param: The custom pages that will be displayed when applicable for this
1654
1654
* application
1655
1655
*/
1656
- custom_pages ?: Array < CustomPagesParam > ;
1656
+ custom_pages ?: Array < string > ;
1657
1657
1658
1658
/**
1659
1659
* Body param: The image URL for the logo shown in the App Launcher dashboard.
@@ -1847,7 +1847,7 @@ export namespace ApplicationCreateParams {
1847
1847
* Body param: The custom pages that will be displayed when applicable for this
1848
1848
* application
1849
1849
*/
1850
- custom_pages ?: Array < CustomPagesParam > ;
1850
+ custom_pages ?: Array < string > ;
1851
1851
1852
1852
/**
1853
1853
* Body param: Enables the binding cookie, which increases security against
@@ -1996,7 +1996,7 @@ export namespace ApplicationCreateParams {
1996
1996
* Body param: The custom pages that will be displayed when applicable for this
1997
1997
* application
1998
1998
*/
1999
- custom_pages ?: Array < CustomPagesParam > ;
1999
+ custom_pages ?: Array < string > ;
2000
2000
2001
2001
/**
2002
2002
* Body param: Enables the binding cookie, which increases security against
@@ -2072,7 +2072,7 @@ export namespace ApplicationCreateParams {
2072
2072
/**
2073
2073
* Body param: The application type.
2074
2074
*/
2075
- type : 'self_hosted' | 'saas' | 'ssh' | 'vnc' | 'app_launcher' | 'warp' | 'biso' | 'bookmark' | 'dash_sso' ;
2075
+ type : ApplicationTypeParam ;
2076
2076
2077
2077
/**
2078
2078
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
@@ -2110,7 +2110,7 @@ export namespace ApplicationCreateParams {
2110
2110
/**
2111
2111
* Body param: The application type.
2112
2112
*/
2113
- type : 'self_hosted' | 'saas' | 'ssh' | 'vnc' | 'app_launcher' | 'warp' | 'biso' | 'bookmark' | 'dash_sso' ;
2113
+ type : ApplicationTypeParam ;
2114
2114
2115
2115
/**
2116
2116
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
@@ -2148,7 +2148,7 @@ export namespace ApplicationCreateParams {
2148
2148
/**
2149
2149
* Body param: The application type.
2150
2150
*/
2151
- type : 'self_hosted' | 'saas' | 'ssh' | 'vnc' | 'app_launcher' | 'warp' | 'biso' | 'bookmark' | 'dash_sso' ;
2151
+ type : ApplicationTypeParam ;
2152
2152
2153
2153
/**
2154
2154
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
@@ -2316,7 +2316,7 @@ export namespace ApplicationUpdateParams {
2316
2316
* Body param: The custom pages that will be displayed when applicable for this
2317
2317
* application
2318
2318
*/
2319
- custom_pages ?: Array < CustomPagesParam > ;
2319
+ custom_pages ?: Array < string > ;
2320
2320
2321
2321
/**
2322
2322
* Body param: Enables the binding cookie, which increases security against
@@ -2422,7 +2422,7 @@ export namespace ApplicationUpdateParams {
2422
2422
* Body param: The custom pages that will be displayed when applicable for this
2423
2423
* application
2424
2424
*/
2425
- custom_pages ?: Array < CustomPagesParam > ;
2425
+ custom_pages ?: Array < string > ;
2426
2426
2427
2427
/**
2428
2428
* Body param: The image URL for the logo shown in the App Launcher dashboard.
@@ -2616,7 +2616,7 @@ export namespace ApplicationUpdateParams {
2616
2616
* Body param: The custom pages that will be displayed when applicable for this
2617
2617
* application
2618
2618
*/
2619
- custom_pages ?: Array < CustomPagesParam > ;
2619
+ custom_pages ?: Array < string > ;
2620
2620
2621
2621
/**
2622
2622
* Body param: Enables the binding cookie, which increases security against
@@ -2765,7 +2765,7 @@ export namespace ApplicationUpdateParams {
2765
2765
* Body param: The custom pages that will be displayed when applicable for this
2766
2766
* application
2767
2767
*/
2768
- custom_pages ?: Array < CustomPagesParam > ;
2768
+ custom_pages ?: Array < string > ;
2769
2769
2770
2770
/**
2771
2771
* Body param: Enables the binding cookie, which increases security against
@@ -2841,7 +2841,7 @@ export namespace ApplicationUpdateParams {
2841
2841
/**
2842
2842
* Body param: The application type.
2843
2843
*/
2844
- type : 'self_hosted' | 'saas' | 'ssh' | 'vnc' | 'app_launcher' | 'warp' | 'biso' | 'bookmark' | 'dash_sso' ;
2844
+ type : ApplicationTypeParam ;
2845
2845
2846
2846
/**
2847
2847
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
@@ -2879,7 +2879,7 @@ export namespace ApplicationUpdateParams {
2879
2879
/**
2880
2880
* Body param: The application type.
2881
2881
*/
2882
- type : 'self_hosted' | 'saas' | 'ssh' | 'vnc' | 'app_launcher' | 'warp' | 'biso' | 'bookmark' | 'dash_sso' ;
2882
+ type : ApplicationTypeParam ;
2883
2883
2884
2884
/**
2885
2885
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
@@ -2917,7 +2917,7 @@ export namespace ApplicationUpdateParams {
2917
2917
/**
2918
2918
* Body param: The application type.
2919
2919
*/
2920
- type : 'self_hosted' | 'saas' | 'ssh' | 'vnc' | 'app_launcher' | 'warp' | 'biso' | 'bookmark' | 'dash_sso' ;
2920
+ type : ApplicationTypeParam ;
2921
2921
2922
2922
/**
2923
2923
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
@@ -3047,14 +3047,13 @@ export interface ApplicationRevokeTokensParams {
3047
3047
3048
3048
export namespace Applications {
3049
3049
export import AllowedHeaders = ApplicationsAPI . AllowedHeaders ;
3050
- export import AllowedHTTPMethods = ApplicationsAPI . AllowedHTTPMethods ;
3051
3050
export import AllowedIdPs = ApplicationsAPI . AllowedIdPs ;
3052
3051
export import AllowedMethods = ApplicationsAPI . AllowedMethods ;
3053
3052
export import AllowedOrigins = ApplicationsAPI . AllowedOrigins ;
3054
3053
export import AppID = ApplicationsAPI . AppID ;
3055
3054
export import Application = ApplicationsAPI . Application ;
3055
+ export import ApplicationType = ApplicationsAPI . ApplicationType ;
3056
3056
export import CORSHeaders = ApplicationsAPI . CORSHeaders ;
3057
- export import CustomPages = ApplicationsAPI . CustomPages ;
3058
3057
export import SaaSAppNameFormat = ApplicationsAPI . SaaSAppNameFormat ;
3059
3058
export import SaaSAppNameIDFormat = ApplicationsAPI . SaaSAppNameIDFormat ;
3060
3059
export import SaaSAppSource = ApplicationsAPI . SaaSAppSource ;
0 commit comments