@goauthentik/api 2023.4.1-1683455546 → 2023.4.1-1683552577

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist/apis/ProvidersApi.d.ts +3 -0
  2. package/dist/apis/ProvidersApi.js +9 -0
  3. package/dist/esm/apis/ProvidersApi.d.ts +3 -0
  4. package/dist/esm/apis/ProvidersApi.js +9 -0
  5. package/dist/esm/models/Application.d.ts +12 -0
  6. package/dist/esm/models/Application.js +4 -0
  7. package/dist/esm/models/ApplicationRequest.d.ts +6 -0
  8. package/dist/esm/models/ApplicationRequest.js +2 -0
  9. package/dist/esm/models/LDAPOutpostConfig.d.ts +2 -2
  10. package/dist/esm/models/LDAPOutpostConfig.js +0 -1
  11. package/dist/esm/models/LDAPProvider.d.ts +12 -0
  12. package/dist/esm/models/LDAPProvider.js +4 -0
  13. package/dist/esm/models/OAuth2Provider.d.ts +12 -0
  14. package/dist/esm/models/OAuth2Provider.js +4 -0
  15. package/dist/esm/models/PatchedApplicationRequest.d.ts +6 -0
  16. package/dist/esm/models/PatchedApplicationRequest.js +2 -0
  17. package/dist/esm/models/Provider.d.ts +12 -0
  18. package/dist/esm/models/Provider.js +4 -0
  19. package/dist/esm/models/ProxyProvider.d.ts +12 -0
  20. package/dist/esm/models/ProxyProvider.js +4 -0
  21. package/dist/esm/models/RadiusProvider.d.ts +12 -0
  22. package/dist/esm/models/RadiusProvider.js +4 -0
  23. package/dist/esm/models/SAMLProvider.d.ts +12 -0
  24. package/dist/esm/models/SAMLProvider.js +4 -0
  25. package/dist/models/Application.d.ts +12 -0
  26. package/dist/models/Application.js +4 -0
  27. package/dist/models/ApplicationRequest.d.ts +6 -0
  28. package/dist/models/ApplicationRequest.js +2 -0
  29. package/dist/models/LDAPOutpostConfig.d.ts +2 -2
  30. package/dist/models/LDAPOutpostConfig.js +0 -1
  31. package/dist/models/LDAPProvider.d.ts +12 -0
  32. package/dist/models/LDAPProvider.js +4 -0
  33. package/dist/models/OAuth2Provider.d.ts +12 -0
  34. package/dist/models/OAuth2Provider.js +4 -0
  35. package/dist/models/PatchedApplicationRequest.d.ts +6 -0
  36. package/dist/models/PatchedApplicationRequest.js +2 -0
  37. package/dist/models/Provider.d.ts +12 -0
  38. package/dist/models/Provider.js +4 -0
  39. package/dist/models/ProxyProvider.d.ts +12 -0
  40. package/dist/models/ProxyProvider.js +4 -0
  41. package/dist/models/RadiusProvider.d.ts +12 -0
  42. package/dist/models/RadiusProvider.js +4 -0
  43. package/dist/models/SAMLProvider.d.ts +12 -0
  44. package/dist/models/SAMLProvider.js +4 -0
  45. package/package.json +1 -1
  46. package/src/apis/ProvidersApi.ts +15 -0
  47. package/src/models/Application.ts +16 -0
  48. package/src/models/ApplicationRequest.ts +8 -0
  49. package/src/models/LDAPOutpostConfig.ts +2 -3
  50. package/src/models/LDAPProvider.ts +16 -0
  51. package/src/models/OAuth2Provider.ts +16 -0
  52. package/src/models/PatchedApplicationRequest.ts +8 -0
  53. package/src/models/Provider.ts +16 -0
  54. package/src/models/ProxyProvider.ts +16 -0
  55. package/src/models/RadiusProvider.ts +16 -0
  56. package/src/models/SAMLProvider.ts +16 -0
@@ -16,6 +16,7 @@ export interface ProvidersAllDestroyRequest {
16
16
  }
17
17
  export interface ProvidersAllListRequest {
18
18
  applicationIsnull?: boolean;
19
+ backchannelOnly?: boolean;
19
20
  ordering?: string;
20
21
  page?: number;
21
22
  pageSize?: number;
@@ -200,7 +201,9 @@ export interface ProvidersSamlListRequest {
200
201
  audience?: string;
201
202
  authenticationFlow?: string;
202
203
  authorizationFlow?: string;
204
+ backchannelApplication?: string;
203
205
  digestAlgorithm?: ProvidersSamlListDigestAlgorithmEnum;
206
+ isBackchannel?: boolean;
204
207
  issuer?: string;
205
208
  name?: string;
206
209
  nameIdMapping?: string;
@@ -68,6 +68,9 @@ class ProvidersApi extends runtime.BaseAPI {
68
68
  if (requestParameters.applicationIsnull !== undefined) {
69
69
  queryParameters['application__isnull'] = requestParameters.applicationIsnull;
70
70
  }
71
+ if (requestParameters.backchannelOnly !== undefined) {
72
+ queryParameters['backchannel_only'] = requestParameters.backchannelOnly;
73
+ }
71
74
  if (requestParameters.ordering !== undefined) {
72
75
  queryParameters['ordering'] = requestParameters.ordering;
73
76
  }
@@ -1473,9 +1476,15 @@ class ProvidersApi extends runtime.BaseAPI {
1473
1476
  if (requestParameters.authorizationFlow !== undefined) {
1474
1477
  queryParameters['authorization_flow'] = requestParameters.authorizationFlow;
1475
1478
  }
1479
+ if (requestParameters.backchannelApplication !== undefined) {
1480
+ queryParameters['backchannel_application'] = requestParameters.backchannelApplication;
1481
+ }
1476
1482
  if (requestParameters.digestAlgorithm !== undefined) {
1477
1483
  queryParameters['digest_algorithm'] = requestParameters.digestAlgorithm;
1478
1484
  }
1485
+ if (requestParameters.isBackchannel !== undefined) {
1486
+ queryParameters['is_backchannel'] = requestParameters.isBackchannel;
1487
+ }
1479
1488
  if (requestParameters.issuer !== undefined) {
1480
1489
  queryParameters['issuer'] = requestParameters.issuer;
1481
1490
  }
@@ -16,6 +16,7 @@ export interface ProvidersAllDestroyRequest {
16
16
  }
17
17
  export interface ProvidersAllListRequest {
18
18
  applicationIsnull?: boolean;
19
+ backchannelOnly?: boolean;
19
20
  ordering?: string;
20
21
  page?: number;
21
22
  pageSize?: number;
@@ -200,7 +201,9 @@ export interface ProvidersSamlListRequest {
200
201
  audience?: string;
201
202
  authenticationFlow?: string;
202
203
  authorizationFlow?: string;
204
+ backchannelApplication?: string;
203
205
  digestAlgorithm?: ProvidersSamlListDigestAlgorithmEnum;
206
+ isBackchannel?: boolean;
204
207
  issuer?: string;
205
208
  name?: string;
206
209
  nameIdMapping?: string;
@@ -65,6 +65,9 @@ export class ProvidersApi extends runtime.BaseAPI {
65
65
  if (requestParameters.applicationIsnull !== undefined) {
66
66
  queryParameters['application__isnull'] = requestParameters.applicationIsnull;
67
67
  }
68
+ if (requestParameters.backchannelOnly !== undefined) {
69
+ queryParameters['backchannel_only'] = requestParameters.backchannelOnly;
70
+ }
68
71
  if (requestParameters.ordering !== undefined) {
69
72
  queryParameters['ordering'] = requestParameters.ordering;
70
73
  }
@@ -1470,9 +1473,15 @@ export class ProvidersApi extends runtime.BaseAPI {
1470
1473
  if (requestParameters.authorizationFlow !== undefined) {
1471
1474
  queryParameters['authorization_flow'] = requestParameters.authorizationFlow;
1472
1475
  }
1476
+ if (requestParameters.backchannelApplication !== undefined) {
1477
+ queryParameters['backchannel_application'] = requestParameters.backchannelApplication;
1478
+ }
1473
1479
  if (requestParameters.digestAlgorithm !== undefined) {
1474
1480
  queryParameters['digest_algorithm'] = requestParameters.digestAlgorithm;
1475
1481
  }
1482
+ if (requestParameters.isBackchannel !== undefined) {
1483
+ queryParameters['is_backchannel'] = requestParameters.isBackchannel;
1484
+ }
1476
1485
  if (requestParameters.issuer !== undefined) {
1477
1486
  queryParameters['issuer'] = requestParameters.issuer;
1478
1487
  }
@@ -47,6 +47,18 @@ export interface Application {
47
47
  * @memberof Application
48
48
  */
49
49
  readonly providerObj: Provider;
50
+ /**
51
+ *
52
+ * @type {Array<number>}
53
+ * @memberof Application
54
+ */
55
+ backchannelProviders?: Array<number>;
56
+ /**
57
+ *
58
+ * @type {Array<Provider>}
59
+ * @memberof Application
60
+ */
61
+ readonly backchannelProvidersObj: Array<Provider>;
50
62
  /**
51
63
  * Allow formatting of launch URL
52
64
  * @type {string}
@@ -23,6 +23,7 @@ export function instanceOfApplication(value) {
23
23
  isInstance = isInstance && "name" in value;
24
24
  isInstance = isInstance && "slug" in value;
25
25
  isInstance = isInstance && "providerObj" in value;
26
+ isInstance = isInstance && "backchannelProvidersObj" in value;
26
27
  isInstance = isInstance && "launchUrl" in value;
27
28
  isInstance = isInstance && "metaIcon" in value;
28
29
  return isInstance;
@@ -40,6 +41,8 @@ export function ApplicationFromJSONTyped(json, ignoreDiscriminator) {
40
41
  'slug': json['slug'],
41
42
  'provider': !exists(json, 'provider') ? undefined : json['provider'],
42
43
  'providerObj': ProviderFromJSON(json['provider_obj']),
44
+ 'backchannelProviders': !exists(json, 'backchannel_providers') ? undefined : json['backchannel_providers'],
45
+ 'backchannelProvidersObj': (json['backchannel_providers_obj'].map(ProviderFromJSON)),
43
46
  'launchUrl': json['launch_url'],
44
47
  'openInNewTab': !exists(json, 'open_in_new_tab') ? undefined : json['open_in_new_tab'],
45
48
  'metaLaunchUrl': !exists(json, 'meta_launch_url') ? undefined : json['meta_launch_url'],
@@ -61,6 +64,7 @@ export function ApplicationToJSON(value) {
61
64
  'name': value.name,
62
65
  'slug': value.slug,
63
66
  'provider': value.provider,
67
+ 'backchannel_providers': value.backchannelProviders,
64
68
  'open_in_new_tab': value.openInNewTab,
65
69
  'meta_launch_url': value.metaLaunchUrl,
66
70
  'meta_description': value.metaDescription,
@@ -34,6 +34,12 @@ export interface ApplicationRequest {
34
34
  * @memberof ApplicationRequest
35
35
  */
36
36
  provider?: number | null;
37
+ /**
38
+ *
39
+ * @type {Array<number>}
40
+ * @memberof ApplicationRequest
41
+ */
42
+ backchannelProviders?: Array<number>;
37
43
  /**
38
44
  * Open launch URL in a new browser tab or window.
39
45
  * @type {boolean}
@@ -33,6 +33,7 @@ export function ApplicationRequestFromJSONTyped(json, ignoreDiscriminator) {
33
33
  'name': json['name'],
34
34
  'slug': json['slug'],
35
35
  'provider': !exists(json, 'provider') ? undefined : json['provider'],
36
+ 'backchannelProviders': !exists(json, 'backchannel_providers') ? undefined : json['backchannel_providers'],
36
37
  'openInNewTab': !exists(json, 'open_in_new_tab') ? undefined : json['open_in_new_tab'],
37
38
  'metaLaunchUrl': !exists(json, 'meta_launch_url') ? undefined : json['meta_launch_url'],
38
39
  'metaDescription': !exists(json, 'meta_description') ? undefined : json['meta_description'],
@@ -52,6 +53,7 @@ export function ApplicationRequestToJSON(value) {
52
53
  'name': value.name,
53
54
  'slug': value.slug,
54
55
  'provider': value.provider,
56
+ 'backchannel_providers': value.backchannelProviders,
55
57
  'open_in_new_tab': value.openInNewTab,
56
58
  'meta_launch_url': value.metaLaunchUrl,
57
59
  'meta_description': value.metaDescription,
@@ -41,11 +41,11 @@ export interface LDAPOutpostConfig {
41
41
  */
42
42
  bindFlowSlug: string;
43
43
  /**
44
- *
44
+ * Prioritise backchannel slug over direct application slug
45
45
  * @type {string}
46
46
  * @memberof LDAPOutpostConfig
47
47
  */
48
- applicationSlug: string;
48
+ readonly applicationSlug: string;
49
49
  /**
50
50
  * Users in this group can do search queries. If not set, every user can execute search queries.
51
51
  * @type {string}
@@ -57,7 +57,6 @@ export function LDAPOutpostConfigToJSON(value) {
57
57
  'name': value.name,
58
58
  'base_dn': value.baseDn,
59
59
  'bind_flow_slug': value.bindFlowSlug,
60
- 'application_slug': value.applicationSlug,
61
60
  'search_group': value.searchGroup,
62
61
  'certificate': value.certificate,
63
62
  'tls_server_name': value.tlsServerName,
@@ -64,6 +64,18 @@ export interface LDAPProvider {
64
64
  * @memberof LDAPProvider
65
65
  */
66
66
  readonly assignedApplicationName: string;
67
+ /**
68
+ * Internal application name, used in URLs.
69
+ * @type {string}
70
+ * @memberof LDAPProvider
71
+ */
72
+ readonly assignedBackchannelApplicationSlug: string;
73
+ /**
74
+ * Application's display Name.
75
+ * @type {string}
76
+ * @memberof LDAPProvider
77
+ */
78
+ readonly assignedBackchannelApplicationName: string;
67
79
  /**
68
80
  * Return object's verbose_name
69
81
  * @type {string}
@@ -24,6 +24,8 @@ export function instanceOfLDAPProvider(value) {
24
24
  isInstance = isInstance && "component" in value;
25
25
  isInstance = isInstance && "assignedApplicationSlug" in value;
26
26
  isInstance = isInstance && "assignedApplicationName" in value;
27
+ isInstance = isInstance && "assignedBackchannelApplicationSlug" in value;
28
+ isInstance = isInstance && "assignedBackchannelApplicationName" in value;
27
29
  isInstance = isInstance && "verboseName" in value;
28
30
  isInstance = isInstance && "verboseNamePlural" in value;
29
31
  isInstance = isInstance && "metaModelName" in value;
@@ -46,6 +48,8 @@ export function LDAPProviderFromJSONTyped(json, ignoreDiscriminator) {
46
48
  'component': json['component'],
47
49
  'assignedApplicationSlug': json['assigned_application_slug'],
48
50
  'assignedApplicationName': json['assigned_application_name'],
51
+ 'assignedBackchannelApplicationSlug': json['assigned_backchannel_application_slug'],
52
+ 'assignedBackchannelApplicationName': json['assigned_backchannel_application_name'],
49
53
  'verboseName': json['verbose_name'],
50
54
  'verboseNamePlural': json['verbose_name_plural'],
51
55
  'metaModelName': json['meta_model_name'],
@@ -66,6 +66,18 @@ export interface OAuth2Provider {
66
66
  * @memberof OAuth2Provider
67
67
  */
68
68
  readonly assignedApplicationName: string;
69
+ /**
70
+ * Internal application name, used in URLs.
71
+ * @type {string}
72
+ * @memberof OAuth2Provider
73
+ */
74
+ readonly assignedBackchannelApplicationSlug: string;
75
+ /**
76
+ * Application's display Name.
77
+ * @type {string}
78
+ * @memberof OAuth2Provider
79
+ */
80
+ readonly assignedBackchannelApplicationName: string;
69
81
  /**
70
82
  * Return object's verbose_name
71
83
  * @type {string}
@@ -26,6 +26,8 @@ export function instanceOfOAuth2Provider(value) {
26
26
  isInstance = isInstance && "component" in value;
27
27
  isInstance = isInstance && "assignedApplicationSlug" in value;
28
28
  isInstance = isInstance && "assignedApplicationName" in value;
29
+ isInstance = isInstance && "assignedBackchannelApplicationSlug" in value;
30
+ isInstance = isInstance && "assignedBackchannelApplicationName" in value;
29
31
  isInstance = isInstance && "verboseName" in value;
30
32
  isInstance = isInstance && "verboseNamePlural" in value;
31
33
  isInstance = isInstance && "metaModelName" in value;
@@ -47,6 +49,8 @@ export function OAuth2ProviderFromJSONTyped(json, ignoreDiscriminator) {
47
49
  'component': json['component'],
48
50
  'assignedApplicationSlug': json['assigned_application_slug'],
49
51
  'assignedApplicationName': json['assigned_application_name'],
52
+ 'assignedBackchannelApplicationSlug': json['assigned_backchannel_application_slug'],
53
+ 'assignedBackchannelApplicationName': json['assigned_backchannel_application_name'],
50
54
  'verboseName': json['verbose_name'],
51
55
  'verboseNamePlural': json['verbose_name_plural'],
52
56
  'metaModelName': json['meta_model_name'],
@@ -34,6 +34,12 @@ export interface PatchedApplicationRequest {
34
34
  * @memberof PatchedApplicationRequest
35
35
  */
36
36
  provider?: number | null;
37
+ /**
38
+ *
39
+ * @type {Array<number>}
40
+ * @memberof PatchedApplicationRequest
41
+ */
42
+ backchannelProviders?: Array<number>;
37
43
  /**
38
44
  * Open launch URL in a new browser tab or window.
39
45
  * @type {boolean}
@@ -31,6 +31,7 @@ export function PatchedApplicationRequestFromJSONTyped(json, ignoreDiscriminator
31
31
  'name': !exists(json, 'name') ? undefined : json['name'],
32
32
  'slug': !exists(json, 'slug') ? undefined : json['slug'],
33
33
  'provider': !exists(json, 'provider') ? undefined : json['provider'],
34
+ 'backchannelProviders': !exists(json, 'backchannel_providers') ? undefined : json['backchannel_providers'],
34
35
  'openInNewTab': !exists(json, 'open_in_new_tab') ? undefined : json['open_in_new_tab'],
35
36
  'metaLaunchUrl': !exists(json, 'meta_launch_url') ? undefined : json['meta_launch_url'],
36
37
  'metaDescription': !exists(json, 'meta_description') ? undefined : json['meta_description'],
@@ -50,6 +51,7 @@ export function PatchedApplicationRequestToJSON(value) {
50
51
  'name': value.name,
51
52
  'slug': value.slug,
52
53
  'provider': value.provider,
54
+ 'backchannel_providers': value.backchannelProviders,
53
55
  'open_in_new_tab': value.openInNewTab,
54
56
  'meta_launch_url': value.metaLaunchUrl,
55
57
  'meta_description': value.metaDescription,
@@ -63,6 +63,18 @@ export interface Provider {
63
63
  * @memberof Provider
64
64
  */
65
65
  readonly assignedApplicationName: string;
66
+ /**
67
+ * Internal application name, used in URLs.
68
+ * @type {string}
69
+ * @memberof Provider
70
+ */
71
+ readonly assignedBackchannelApplicationSlug: string;
72
+ /**
73
+ * Application's display Name.
74
+ * @type {string}
75
+ * @memberof Provider
76
+ */
77
+ readonly assignedBackchannelApplicationName: string;
66
78
  /**
67
79
  * Return object's verbose_name
68
80
  * @type {string}
@@ -23,6 +23,8 @@ export function instanceOfProvider(value) {
23
23
  isInstance = isInstance && "component" in value;
24
24
  isInstance = isInstance && "assignedApplicationSlug" in value;
25
25
  isInstance = isInstance && "assignedApplicationName" in value;
26
+ isInstance = isInstance && "assignedBackchannelApplicationSlug" in value;
27
+ isInstance = isInstance && "assignedBackchannelApplicationName" in value;
26
28
  isInstance = isInstance && "verboseName" in value;
27
29
  isInstance = isInstance && "verboseNamePlural" in value;
28
30
  isInstance = isInstance && "metaModelName" in value;
@@ -44,6 +46,8 @@ export function ProviderFromJSONTyped(json, ignoreDiscriminator) {
44
46
  'component': json['component'],
45
47
  'assignedApplicationSlug': json['assigned_application_slug'],
46
48
  'assignedApplicationName': json['assigned_application_name'],
49
+ 'assignedBackchannelApplicationSlug': json['assigned_backchannel_application_slug'],
50
+ 'assignedBackchannelApplicationName': json['assigned_backchannel_application_name'],
47
51
  'verboseName': json['verbose_name'],
48
52
  'verboseNamePlural': json['verbose_name_plural'],
49
53
  'metaModelName': json['meta_model_name'],
@@ -64,6 +64,18 @@ export interface ProxyProvider {
64
64
  * @memberof ProxyProvider
65
65
  */
66
66
  readonly assignedApplicationName: string;
67
+ /**
68
+ * Internal application name, used in URLs.
69
+ * @type {string}
70
+ * @memberof ProxyProvider
71
+ */
72
+ readonly assignedBackchannelApplicationSlug: string;
73
+ /**
74
+ * Application's display Name.
75
+ * @type {string}
76
+ * @memberof ProxyProvider
77
+ */
78
+ readonly assignedBackchannelApplicationName: string;
67
79
  /**
68
80
  * Return object's verbose_name
69
81
  * @type {string}
@@ -24,6 +24,8 @@ export function instanceOfProxyProvider(value) {
24
24
  isInstance = isInstance && "component" in value;
25
25
  isInstance = isInstance && "assignedApplicationSlug" in value;
26
26
  isInstance = isInstance && "assignedApplicationName" in value;
27
+ isInstance = isInstance && "assignedBackchannelApplicationSlug" in value;
28
+ isInstance = isInstance && "assignedBackchannelApplicationName" in value;
27
29
  isInstance = isInstance && "verboseName" in value;
28
30
  isInstance = isInstance && "verboseNamePlural" in value;
29
31
  isInstance = isInstance && "metaModelName" in value;
@@ -49,6 +51,8 @@ export function ProxyProviderFromJSONTyped(json, ignoreDiscriminator) {
49
51
  'component': json['component'],
50
52
  'assignedApplicationSlug': json['assigned_application_slug'],
51
53
  'assignedApplicationName': json['assigned_application_name'],
54
+ 'assignedBackchannelApplicationSlug': json['assigned_backchannel_application_slug'],
55
+ 'assignedBackchannelApplicationName': json['assigned_backchannel_application_name'],
52
56
  'verboseName': json['verbose_name'],
53
57
  'verboseNamePlural': json['verbose_name_plural'],
54
58
  'metaModelName': json['meta_model_name'],
@@ -63,6 +63,18 @@ export interface RadiusProvider {
63
63
  * @memberof RadiusProvider
64
64
  */
65
65
  readonly assignedApplicationName: string;
66
+ /**
67
+ * Internal application name, used in URLs.
68
+ * @type {string}
69
+ * @memberof RadiusProvider
70
+ */
71
+ readonly assignedBackchannelApplicationSlug: string;
72
+ /**
73
+ * Application's display Name.
74
+ * @type {string}
75
+ * @memberof RadiusProvider
76
+ */
77
+ readonly assignedBackchannelApplicationName: string;
66
78
  /**
67
79
  * Return object's verbose_name
68
80
  * @type {string}
@@ -23,6 +23,8 @@ export function instanceOfRadiusProvider(value) {
23
23
  isInstance = isInstance && "component" in value;
24
24
  isInstance = isInstance && "assignedApplicationSlug" in value;
25
25
  isInstance = isInstance && "assignedApplicationName" in value;
26
+ isInstance = isInstance && "assignedBackchannelApplicationSlug" in value;
27
+ isInstance = isInstance && "assignedBackchannelApplicationName" in value;
26
28
  isInstance = isInstance && "verboseName" in value;
27
29
  isInstance = isInstance && "verboseNamePlural" in value;
28
30
  isInstance = isInstance && "metaModelName" in value;
@@ -44,6 +46,8 @@ export function RadiusProviderFromJSONTyped(json, ignoreDiscriminator) {
44
46
  'component': json['component'],
45
47
  'assignedApplicationSlug': json['assigned_application_slug'],
46
48
  'assignedApplicationName': json['assigned_application_name'],
49
+ 'assignedBackchannelApplicationSlug': json['assigned_backchannel_application_slug'],
50
+ 'assignedBackchannelApplicationName': json['assigned_backchannel_application_name'],
47
51
  'verboseName': json['verbose_name'],
48
52
  'verboseNamePlural': json['verbose_name_plural'],
49
53
  'metaModelName': json['meta_model_name'],
@@ -66,6 +66,18 @@ export interface SAMLProvider {
66
66
  * @memberof SAMLProvider
67
67
  */
68
68
  readonly assignedApplicationName: string;
69
+ /**
70
+ * Internal application name, used in URLs.
71
+ * @type {string}
72
+ * @memberof SAMLProvider
73
+ */
74
+ readonly assignedBackchannelApplicationSlug: string;
75
+ /**
76
+ * Application's display Name.
77
+ * @type {string}
78
+ * @memberof SAMLProvider
79
+ */
80
+ readonly assignedBackchannelApplicationName: string;
69
81
  /**
70
82
  * Return object's verbose_name
71
83
  * @type {string}
@@ -26,6 +26,8 @@ export function instanceOfSAMLProvider(value) {
26
26
  isInstance = isInstance && "component" in value;
27
27
  isInstance = isInstance && "assignedApplicationSlug" in value;
28
28
  isInstance = isInstance && "assignedApplicationName" in value;
29
+ isInstance = isInstance && "assignedBackchannelApplicationSlug" in value;
30
+ isInstance = isInstance && "assignedBackchannelApplicationName" in value;
29
31
  isInstance = isInstance && "verboseName" in value;
30
32
  isInstance = isInstance && "verboseNamePlural" in value;
31
33
  isInstance = isInstance && "metaModelName" in value;
@@ -54,6 +56,8 @@ export function SAMLProviderFromJSONTyped(json, ignoreDiscriminator) {
54
56
  'component': json['component'],
55
57
  'assignedApplicationSlug': json['assigned_application_slug'],
56
58
  'assignedApplicationName': json['assigned_application_name'],
59
+ 'assignedBackchannelApplicationSlug': json['assigned_backchannel_application_slug'],
60
+ 'assignedBackchannelApplicationName': json['assigned_backchannel_application_name'],
57
61
  'verboseName': json['verbose_name'],
58
62
  'verboseNamePlural': json['verbose_name_plural'],
59
63
  'metaModelName': json['meta_model_name'],
@@ -47,6 +47,18 @@ export interface Application {
47
47
  * @memberof Application
48
48
  */
49
49
  readonly providerObj: Provider;
50
+ /**
51
+ *
52
+ * @type {Array<number>}
53
+ * @memberof Application
54
+ */
55
+ backchannelProviders?: Array<number>;
56
+ /**
57
+ *
58
+ * @type {Array<Provider>}
59
+ * @memberof Application
60
+ */
61
+ readonly backchannelProvidersObj: Array<Provider>;
50
62
  /**
51
63
  * Allow formatting of launch URL
52
64
  * @type {string}
@@ -26,6 +26,7 @@ function instanceOfApplication(value) {
26
26
  isInstance = isInstance && "name" in value;
27
27
  isInstance = isInstance && "slug" in value;
28
28
  isInstance = isInstance && "providerObj" in value;
29
+ isInstance = isInstance && "backchannelProvidersObj" in value;
29
30
  isInstance = isInstance && "launchUrl" in value;
30
31
  isInstance = isInstance && "metaIcon" in value;
31
32
  return isInstance;
@@ -45,6 +46,8 @@ function ApplicationFromJSONTyped(json, ignoreDiscriminator) {
45
46
  'slug': json['slug'],
46
47
  'provider': !(0, runtime_1.exists)(json, 'provider') ? undefined : json['provider'],
47
48
  'providerObj': (0, Provider_1.ProviderFromJSON)(json['provider_obj']),
49
+ 'backchannelProviders': !(0, runtime_1.exists)(json, 'backchannel_providers') ? undefined : json['backchannel_providers'],
50
+ 'backchannelProvidersObj': (json['backchannel_providers_obj'].map(Provider_1.ProviderFromJSON)),
48
51
  'launchUrl': json['launch_url'],
49
52
  'openInNewTab': !(0, runtime_1.exists)(json, 'open_in_new_tab') ? undefined : json['open_in_new_tab'],
50
53
  'metaLaunchUrl': !(0, runtime_1.exists)(json, 'meta_launch_url') ? undefined : json['meta_launch_url'],
@@ -67,6 +70,7 @@ function ApplicationToJSON(value) {
67
70
  'name': value.name,
68
71
  'slug': value.slug,
69
72
  'provider': value.provider,
73
+ 'backchannel_providers': value.backchannelProviders,
70
74
  'open_in_new_tab': value.openInNewTab,
71
75
  'meta_launch_url': value.metaLaunchUrl,
72
76
  'meta_description': value.metaDescription,
@@ -34,6 +34,12 @@ export interface ApplicationRequest {
34
34
  * @memberof ApplicationRequest
35
35
  */
36
36
  provider?: number | null;
37
+ /**
38
+ *
39
+ * @type {Array<number>}
40
+ * @memberof ApplicationRequest
41
+ */
42
+ backchannelProviders?: Array<number>;
37
43
  /**
38
44
  * Open launch URL in a new browser tab or window.
39
45
  * @type {boolean}
@@ -38,6 +38,7 @@ function ApplicationRequestFromJSONTyped(json, ignoreDiscriminator) {
38
38
  'name': json['name'],
39
39
  'slug': json['slug'],
40
40
  'provider': !(0, runtime_1.exists)(json, 'provider') ? undefined : json['provider'],
41
+ 'backchannelProviders': !(0, runtime_1.exists)(json, 'backchannel_providers') ? undefined : json['backchannel_providers'],
41
42
  'openInNewTab': !(0, runtime_1.exists)(json, 'open_in_new_tab') ? undefined : json['open_in_new_tab'],
42
43
  'metaLaunchUrl': !(0, runtime_1.exists)(json, 'meta_launch_url') ? undefined : json['meta_launch_url'],
43
44
  'metaDescription': !(0, runtime_1.exists)(json, 'meta_description') ? undefined : json['meta_description'],
@@ -58,6 +59,7 @@ function ApplicationRequestToJSON(value) {
58
59
  'name': value.name,
59
60
  'slug': value.slug,
60
61
  'provider': value.provider,
62
+ 'backchannel_providers': value.backchannelProviders,
61
63
  'open_in_new_tab': value.openInNewTab,
62
64
  'meta_launch_url': value.metaLaunchUrl,
63
65
  'meta_description': value.metaDescription,
@@ -41,11 +41,11 @@ export interface LDAPOutpostConfig {
41
41
  */
42
42
  bindFlowSlug: string;
43
43
  /**
44
- *
44
+ * Prioritise backchannel slug over direct application slug
45
45
  * @type {string}
46
46
  * @memberof LDAPOutpostConfig
47
47
  */
48
- applicationSlug: string;
48
+ readonly applicationSlug: string;
49
49
  /**
50
50
  * Users in this group can do search queries. If not set, every user can execute search queries.
51
51
  * @type {string}
@@ -63,7 +63,6 @@ function LDAPOutpostConfigToJSON(value) {
63
63
  'name': value.name,
64
64
  'base_dn': value.baseDn,
65
65
  'bind_flow_slug': value.bindFlowSlug,
66
- 'application_slug': value.applicationSlug,
67
66
  'search_group': value.searchGroup,
68
67
  'certificate': value.certificate,
69
68
  'tls_server_name': value.tlsServerName,
@@ -64,6 +64,18 @@ export interface LDAPProvider {
64
64
  * @memberof LDAPProvider
65
65
  */
66
66
  readonly assignedApplicationName: string;
67
+ /**
68
+ * Internal application name, used in URLs.
69
+ * @type {string}
70
+ * @memberof LDAPProvider
71
+ */
72
+ readonly assignedBackchannelApplicationSlug: string;
73
+ /**
74
+ * Application's display Name.
75
+ * @type {string}
76
+ * @memberof LDAPProvider
77
+ */
78
+ readonly assignedBackchannelApplicationName: string;
67
79
  /**
68
80
  * Return object's verbose_name
69
81
  * @type {string}
@@ -27,6 +27,8 @@ function instanceOfLDAPProvider(value) {
27
27
  isInstance = isInstance && "component" in value;
28
28
  isInstance = isInstance && "assignedApplicationSlug" in value;
29
29
  isInstance = isInstance && "assignedApplicationName" in value;
30
+ isInstance = isInstance && "assignedBackchannelApplicationSlug" in value;
31
+ isInstance = isInstance && "assignedBackchannelApplicationName" in value;
30
32
  isInstance = isInstance && "verboseName" in value;
31
33
  isInstance = isInstance && "verboseNamePlural" in value;
32
34
  isInstance = isInstance && "metaModelName" in value;
@@ -51,6 +53,8 @@ function LDAPProviderFromJSONTyped(json, ignoreDiscriminator) {
51
53
  'component': json['component'],
52
54
  'assignedApplicationSlug': json['assigned_application_slug'],
53
55
  'assignedApplicationName': json['assigned_application_name'],
56
+ 'assignedBackchannelApplicationSlug': json['assigned_backchannel_application_slug'],
57
+ 'assignedBackchannelApplicationName': json['assigned_backchannel_application_name'],
54
58
  'verboseName': json['verbose_name'],
55
59
  'verboseNamePlural': json['verbose_name_plural'],
56
60
  'metaModelName': json['meta_model_name'],
@@ -66,6 +66,18 @@ export interface OAuth2Provider {
66
66
  * @memberof OAuth2Provider
67
67
  */
68
68
  readonly assignedApplicationName: string;
69
+ /**
70
+ * Internal application name, used in URLs.
71
+ * @type {string}
72
+ * @memberof OAuth2Provider
73
+ */
74
+ readonly assignedBackchannelApplicationSlug: string;
75
+ /**
76
+ * Application's display Name.
77
+ * @type {string}
78
+ * @memberof OAuth2Provider
79
+ */
80
+ readonly assignedBackchannelApplicationName: string;
69
81
  /**
70
82
  * Return object's verbose_name
71
83
  * @type {string}
@@ -29,6 +29,8 @@ function instanceOfOAuth2Provider(value) {
29
29
  isInstance = isInstance && "component" in value;
30
30
  isInstance = isInstance && "assignedApplicationSlug" in value;
31
31
  isInstance = isInstance && "assignedApplicationName" in value;
32
+ isInstance = isInstance && "assignedBackchannelApplicationSlug" in value;
33
+ isInstance = isInstance && "assignedBackchannelApplicationName" in value;
32
34
  isInstance = isInstance && "verboseName" in value;
33
35
  isInstance = isInstance && "verboseNamePlural" in value;
34
36
  isInstance = isInstance && "metaModelName" in value;
@@ -52,6 +54,8 @@ function OAuth2ProviderFromJSONTyped(json, ignoreDiscriminator) {
52
54
  'component': json['component'],
53
55
  'assignedApplicationSlug': json['assigned_application_slug'],
54
56
  'assignedApplicationName': json['assigned_application_name'],
57
+ 'assignedBackchannelApplicationSlug': json['assigned_backchannel_application_slug'],
58
+ 'assignedBackchannelApplicationName': json['assigned_backchannel_application_name'],
55
59
  'verboseName': json['verbose_name'],
56
60
  'verboseNamePlural': json['verbose_name_plural'],
57
61
  'metaModelName': json['meta_model_name'],