@goauthentik/api 2023.6.1-1689609456 → 2023.6.1-1689956654

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.
@@ -783,8 +783,8 @@ export type CoreTokensListIntentEnum = typeof CoreTokensListIntentEnum[keyof typ
783
783
  * @export
784
784
  */
785
785
  export declare const CoreUsersListTypeEnum: {
786
- readonly Default: "default";
787
786
  readonly External: "external";
787
+ readonly Internal: "internal";
788
788
  readonly InternalServiceAccount: "internal_service_account";
789
789
  readonly ServiceAccount: "service_account";
790
790
  readonly UnknownDefaultOpenApi: "11184809";
@@ -2227,8 +2227,8 @@ exports.CoreTokensListIntentEnum = {
2227
2227
  * @export
2228
2228
  */
2229
2229
  exports.CoreUsersListTypeEnum = {
2230
- Default: 'default',
2231
2230
  External: 'external',
2231
+ Internal: 'internal',
2232
2232
  InternalServiceAccount: 'internal_service_account',
2233
2233
  ServiceAccount: 'service_account',
2234
2234
  UnknownDefaultOpenApi: '11184809'
@@ -783,8 +783,8 @@ export type CoreTokensListIntentEnum = typeof CoreTokensListIntentEnum[keyof typ
783
783
  * @export
784
784
  */
785
785
  export declare const CoreUsersListTypeEnum: {
786
- readonly Default: "default";
787
786
  readonly External: "external";
787
+ readonly Internal: "internal";
788
788
  readonly InternalServiceAccount: "internal_service_account";
789
789
  readonly ServiceAccount: "service_account";
790
790
  readonly UnknownDefaultOpenApi: "11184809";
@@ -2223,8 +2223,8 @@ export const CoreTokensListIntentEnum = {
2223
2223
  * @export
2224
2224
  */
2225
2225
  export const CoreUsersListTypeEnum = {
2226
- Default: 'default',
2227
2226
  External: 'external',
2227
+ Internal: 'internal',
2228
2228
  InternalServiceAccount: 'internal_service_account',
2229
2229
  ServiceAccount: 'service_account',
2230
2230
  UnknownDefaultOpenApi: '11184809'
@@ -27,6 +27,18 @@ export interface LicenseForecast {
27
27
  * @memberof LicenseForecast
28
28
  */
29
29
  externalUsers: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof LicenseForecast
34
+ */
35
+ forecastedUsers: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof LicenseForecast
40
+ */
41
+ forecastedExternalUsers: number;
30
42
  }
31
43
  /**
32
44
  * Check if a given object implements the LicenseForecast interface.
@@ -18,6 +18,8 @@ export function instanceOfLicenseForecast(value) {
18
18
  let isInstance = true;
19
19
  isInstance = isInstance && "users" in value;
20
20
  isInstance = isInstance && "externalUsers" in value;
21
+ isInstance = isInstance && "forecastedUsers" in value;
22
+ isInstance = isInstance && "forecastedExternalUsers" in value;
21
23
  return isInstance;
22
24
  }
23
25
  export function LicenseForecastFromJSON(json) {
@@ -30,6 +32,8 @@ export function LicenseForecastFromJSONTyped(json, ignoreDiscriminator) {
30
32
  return {
31
33
  'users': json['users'],
32
34
  'externalUsers': json['external_users'],
35
+ 'forecastedUsers': json['forecasted_users'],
36
+ 'forecastedExternalUsers': json['forecasted_external_users'],
33
37
  };
34
38
  }
35
39
  export function LicenseForecastToJSON(value) {
@@ -42,5 +46,7 @@ export function LicenseForecastToJSON(value) {
42
46
  return {
43
47
  'users': value.users,
44
48
  'external_users': value.externalUsers,
49
+ 'forecasted_users': value.forecastedUsers,
50
+ 'forecasted_external_users': value.forecastedExternalUsers,
45
51
  };
46
52
  }
@@ -10,14 +10,14 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * * `default` - Default
13
+ * * `internal` - Internal
14
14
  * * `external` - External
15
15
  * * `service_account` - Service Account
16
16
  * * `internal_service_account` - Internal Service Account
17
17
  * @export
18
18
  */
19
19
  export declare const UserTypeEnum: {
20
- readonly Default: "default";
20
+ readonly Internal: "internal";
21
21
  readonly External: "external";
22
22
  readonly ServiceAccount: "service_account";
23
23
  readonly InternalServiceAccount: "internal_service_account";
@@ -12,14 +12,14 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  /**
15
- * * `default` - Default
15
+ * * `internal` - Internal
16
16
  * * `external` - External
17
17
  * * `service_account` - Service Account
18
18
  * * `internal_service_account` - Internal Service Account
19
19
  * @export
20
20
  */
21
21
  export const UserTypeEnum = {
22
- Default: 'default',
22
+ Internal: 'internal',
23
23
  External: 'external',
24
24
  ServiceAccount: 'service_account',
25
25
  InternalServiceAccount: 'internal_service_account',
@@ -27,6 +27,18 @@ export interface LicenseForecast {
27
27
  * @memberof LicenseForecast
28
28
  */
29
29
  externalUsers: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof LicenseForecast
34
+ */
35
+ forecastedUsers: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof LicenseForecast
40
+ */
41
+ forecastedExternalUsers: number;
30
42
  }
31
43
  /**
32
44
  * Check if a given object implements the LicenseForecast interface.
@@ -21,6 +21,8 @@ function instanceOfLicenseForecast(value) {
21
21
  let isInstance = true;
22
22
  isInstance = isInstance && "users" in value;
23
23
  isInstance = isInstance && "externalUsers" in value;
24
+ isInstance = isInstance && "forecastedUsers" in value;
25
+ isInstance = isInstance && "forecastedExternalUsers" in value;
24
26
  return isInstance;
25
27
  }
26
28
  exports.instanceOfLicenseForecast = instanceOfLicenseForecast;
@@ -35,6 +37,8 @@ function LicenseForecastFromJSONTyped(json, ignoreDiscriminator) {
35
37
  return {
36
38
  'users': json['users'],
37
39
  'externalUsers': json['external_users'],
40
+ 'forecastedUsers': json['forecasted_users'],
41
+ 'forecastedExternalUsers': json['forecasted_external_users'],
38
42
  };
39
43
  }
40
44
  exports.LicenseForecastFromJSONTyped = LicenseForecastFromJSONTyped;
@@ -48,6 +52,8 @@ function LicenseForecastToJSON(value) {
48
52
  return {
49
53
  'users': value.users,
50
54
  'external_users': value.externalUsers,
55
+ 'forecasted_users': value.forecastedUsers,
56
+ 'forecasted_external_users': value.forecastedExternalUsers,
51
57
  };
52
58
  }
53
59
  exports.LicenseForecastToJSON = LicenseForecastToJSON;
@@ -10,14 +10,14 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * * `default` - Default
13
+ * * `internal` - Internal
14
14
  * * `external` - External
15
15
  * * `service_account` - Service Account
16
16
  * * `internal_service_account` - Internal Service Account
17
17
  * @export
18
18
  */
19
19
  export declare const UserTypeEnum: {
20
- readonly Default: "default";
20
+ readonly Internal: "internal";
21
21
  readonly External: "external";
22
22
  readonly ServiceAccount: "service_account";
23
23
  readonly InternalServiceAccount: "internal_service_account";
@@ -15,14 +15,14 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.UserTypeEnumToJSON = exports.UserTypeEnumFromJSONTyped = exports.UserTypeEnumFromJSON = exports.UserTypeEnum = void 0;
17
17
  /**
18
- * * `default` - Default
18
+ * * `internal` - Internal
19
19
  * * `external` - External
20
20
  * * `service_account` - Service Account
21
21
  * * `internal_service_account` - Internal Service Account
22
22
  * @export
23
23
  */
24
24
  exports.UserTypeEnum = {
25
- Default: 'default',
25
+ Internal: 'internal',
26
26
  External: 'external',
27
27
  ServiceAccount: 'service_account',
28
28
  InternalServiceAccount: 'internal_service_account',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2023.6.1-1689609456",
3
+ "version": "2023.6.1-1689956654",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -2956,8 +2956,8 @@ export type CoreTokensListIntentEnum = typeof CoreTokensListIntentEnum[keyof typ
2956
2956
  * @export
2957
2957
  */
2958
2958
  export const CoreUsersListTypeEnum = {
2959
- Default: 'default',
2960
2959
  External: 'external',
2960
+ Internal: 'internal',
2961
2961
  InternalServiceAccount: 'internal_service_account',
2962
2962
  ServiceAccount: 'service_account',
2963
2963
  UnknownDefaultOpenApi: '11184809'
@@ -31,6 +31,18 @@ export interface LicenseForecast {
31
31
  * @memberof LicenseForecast
32
32
  */
33
33
  externalUsers: number;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof LicenseForecast
38
+ */
39
+ forecastedUsers: number;
40
+ /**
41
+ *
42
+ * @type {number}
43
+ * @memberof LicenseForecast
44
+ */
45
+ forecastedExternalUsers: number;
34
46
  }
35
47
 
36
48
  /**
@@ -40,6 +52,8 @@ export function instanceOfLicenseForecast(value: object): boolean {
40
52
  let isInstance = true;
41
53
  isInstance = isInstance && "users" in value;
42
54
  isInstance = isInstance && "externalUsers" in value;
55
+ isInstance = isInstance && "forecastedUsers" in value;
56
+ isInstance = isInstance && "forecastedExternalUsers" in value;
43
57
 
44
58
  return isInstance;
45
59
  }
@@ -56,6 +70,8 @@ export function LicenseForecastFromJSONTyped(json: any, ignoreDiscriminator: boo
56
70
 
57
71
  'users': json['users'],
58
72
  'externalUsers': json['external_users'],
73
+ 'forecastedUsers': json['forecasted_users'],
74
+ 'forecastedExternalUsers': json['forecasted_external_users'],
59
75
  };
60
76
  }
61
77
 
@@ -70,6 +86,8 @@ export function LicenseForecastToJSON(value?: LicenseForecast | null): any {
70
86
 
71
87
  'users': value.users,
72
88
  'external_users': value.externalUsers,
89
+ 'forecasted_users': value.forecastedUsers,
90
+ 'forecasted_external_users': value.forecastedExternalUsers,
73
91
  };
74
92
  }
75
93
 
@@ -14,14 +14,14 @@
14
14
 
15
15
 
16
16
  /**
17
- * * `default` - Default
17
+ * * `internal` - Internal
18
18
  * * `external` - External
19
19
  * * `service_account` - Service Account
20
20
  * * `internal_service_account` - Internal Service Account
21
21
  * @export
22
22
  */
23
23
  export const UserTypeEnum = {
24
- Default: 'default',
24
+ Internal: 'internal',
25
25
  External: 'external',
26
26
  ServiceAccount: 'service_account',
27
27
  InternalServiceAccount: 'internal_service_account',