@goauthentik/api 2022.12.2-1672930008 → 2022.12.2-1673436103

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.
@@ -33,7 +33,7 @@ export interface BlueprintInstance {
33
33
  * @type {string}
34
34
  * @memberof BlueprintInstance
35
35
  */
36
- path: string;
36
+ path?: string;
37
37
  /**
38
38
  *
39
39
  * @type {{ [key: string]: any; }}
@@ -80,6 +80,12 @@ export interface BlueprintInstance {
80
80
  readonly metadata: {
81
81
  [key: string]: any;
82
82
  };
83
+ /**
84
+ *
85
+ * @type {string}
86
+ * @memberof BlueprintInstance
87
+ */
88
+ content?: string;
83
89
  }
84
90
  export declare function BlueprintInstanceFromJSON(json: any): BlueprintInstance;
85
91
  export declare function BlueprintInstanceFromJSONTyped(json: any, ignoreDiscriminator: boolean): BlueprintInstance;
@@ -23,7 +23,7 @@ export function BlueprintInstanceFromJSONTyped(json, ignoreDiscriminator) {
23
23
  return {
24
24
  'pk': json['pk'],
25
25
  'name': json['name'],
26
- 'path': json['path'],
26
+ 'path': !exists(json, 'path') ? undefined : json['path'],
27
27
  'context': !exists(json, 'context') ? undefined : json['context'],
28
28
  'lastApplied': (new Date(json['last_applied'])),
29
29
  'lastAppliedHash': json['last_applied_hash'],
@@ -31,6 +31,7 @@ export function BlueprintInstanceFromJSONTyped(json, ignoreDiscriminator) {
31
31
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
32
32
  'managedModels': json['managed_models'],
33
33
  'metadata': json['metadata'],
34
+ 'content': !exists(json, 'content') ? undefined : json['content'],
34
35
  };
35
36
  }
36
37
  export function BlueprintInstanceToJSON(value) {
@@ -45,5 +46,6 @@ export function BlueprintInstanceToJSON(value) {
45
46
  'path': value.path,
46
47
  'context': value.context,
47
48
  'enabled': value.enabled,
49
+ 'content': value.content,
48
50
  };
49
51
  }
@@ -26,7 +26,7 @@ export interface BlueprintInstanceRequest {
26
26
  * @type {string}
27
27
  * @memberof BlueprintInstanceRequest
28
28
  */
29
- path: string;
29
+ path?: string;
30
30
  /**
31
31
  *
32
32
  * @type {{ [key: string]: any; }}
@@ -41,6 +41,12 @@ export interface BlueprintInstanceRequest {
41
41
  * @memberof BlueprintInstanceRequest
42
42
  */
43
43
  enabled?: boolean;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof BlueprintInstanceRequest
48
+ */
49
+ content?: string;
44
50
  }
45
51
  export declare function BlueprintInstanceRequestFromJSON(json: any): BlueprintInstanceRequest;
46
52
  export declare function BlueprintInstanceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): BlueprintInstanceRequest;
@@ -21,9 +21,10 @@ export function BlueprintInstanceRequestFromJSONTyped(json, ignoreDiscriminator)
21
21
  }
22
22
  return {
23
23
  'name': json['name'],
24
- 'path': json['path'],
24
+ 'path': !exists(json, 'path') ? undefined : json['path'],
25
25
  'context': !exists(json, 'context') ? undefined : json['context'],
26
26
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
27
+ 'content': !exists(json, 'content') ? undefined : json['content'],
27
28
  };
28
29
  }
29
30
  export function BlueprintInstanceRequestToJSON(value) {
@@ -38,5 +39,6 @@ export function BlueprintInstanceRequestToJSON(value) {
38
39
  'path': value.path,
39
40
  'context': value.context,
40
41
  'enabled': value.enabled,
42
+ 'content': value.content,
41
43
  };
42
44
  }
@@ -21,19 +21,19 @@ export interface LoginMetrics {
21
21
  * @type {Array<Coordinate>}
22
22
  * @memberof LoginMetrics
23
23
  */
24
- readonly loginsPer1h: Array<Coordinate>;
24
+ readonly logins: Array<Coordinate>;
25
25
  /**
26
26
  *
27
27
  * @type {Array<Coordinate>}
28
28
  * @memberof LoginMetrics
29
29
  */
30
- readonly loginsFailedPer1h: Array<Coordinate>;
30
+ readonly loginsFailed: Array<Coordinate>;
31
31
  /**
32
32
  *
33
33
  * @type {Array<Coordinate>}
34
34
  * @memberof LoginMetrics
35
35
  */
36
- readonly authorizationsPer1h: Array<Coordinate>;
36
+ readonly authorizations: Array<Coordinate>;
37
37
  }
38
38
  export declare function LoginMetricsFromJSON(json: any): LoginMetrics;
39
39
  export declare function LoginMetricsFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginMetrics;
@@ -20,9 +20,9 @@ export function LoginMetricsFromJSONTyped(json, ignoreDiscriminator) {
20
20
  return json;
21
21
  }
22
22
  return {
23
- 'loginsPer1h': (json['logins_per_1h'].map(CoordinateFromJSON)),
24
- 'loginsFailedPer1h': (json['logins_failed_per_1h'].map(CoordinateFromJSON)),
25
- 'authorizationsPer1h': (json['authorizations_per_1h'].map(CoordinateFromJSON)),
23
+ 'logins': (json['logins'].map(CoordinateFromJSON)),
24
+ 'loginsFailed': (json['logins_failed'].map(CoordinateFromJSON)),
25
+ 'authorizations': (json['authorizations'].map(CoordinateFromJSON)),
26
26
  };
27
27
  }
28
28
  export function LoginMetricsToJSON(value) {
@@ -41,6 +41,12 @@ export interface PatchedBlueprintInstanceRequest {
41
41
  * @memberof PatchedBlueprintInstanceRequest
42
42
  */
43
43
  enabled?: boolean;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof PatchedBlueprintInstanceRequest
48
+ */
49
+ content?: string;
44
50
  }
45
51
  export declare function PatchedBlueprintInstanceRequestFromJSON(json: any): PatchedBlueprintInstanceRequest;
46
52
  export declare function PatchedBlueprintInstanceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedBlueprintInstanceRequest;
@@ -24,6 +24,7 @@ export function PatchedBlueprintInstanceRequestFromJSONTyped(json, ignoreDiscrim
24
24
  'path': !exists(json, 'path') ? undefined : json['path'],
25
25
  'context': !exists(json, 'context') ? undefined : json['context'],
26
26
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
27
+ 'content': !exists(json, 'content') ? undefined : json['content'],
27
28
  };
28
29
  }
29
30
  export function PatchedBlueprintInstanceRequestToJSON(value) {
@@ -38,5 +39,6 @@ export function PatchedBlueprintInstanceRequestToJSON(value) {
38
39
  'path': value.path,
39
40
  'context': value.context,
40
41
  'enabled': value.enabled,
42
+ 'content': value.content,
41
43
  };
42
44
  }
@@ -21,19 +21,19 @@ export interface UserMetrics {
21
21
  * @type {Array<Coordinate>}
22
22
  * @memberof UserMetrics
23
23
  */
24
- readonly loginsPer1h: Array<Coordinate>;
24
+ readonly logins: Array<Coordinate>;
25
25
  /**
26
26
  *
27
27
  * @type {Array<Coordinate>}
28
28
  * @memberof UserMetrics
29
29
  */
30
- readonly loginsFailedPer1h: Array<Coordinate>;
30
+ readonly loginsFailed: Array<Coordinate>;
31
31
  /**
32
32
  *
33
33
  * @type {Array<Coordinate>}
34
34
  * @memberof UserMetrics
35
35
  */
36
- readonly authorizationsPer1h: Array<Coordinate>;
36
+ readonly authorizations: Array<Coordinate>;
37
37
  }
38
38
  export declare function UserMetricsFromJSON(json: any): UserMetrics;
39
39
  export declare function UserMetricsFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserMetrics;
@@ -20,9 +20,9 @@ export function UserMetricsFromJSONTyped(json, ignoreDiscriminator) {
20
20
  return json;
21
21
  }
22
22
  return {
23
- 'loginsPer1h': (json['logins_per_1h'].map(CoordinateFromJSON)),
24
- 'loginsFailedPer1h': (json['logins_failed_per_1h'].map(CoordinateFromJSON)),
25
- 'authorizationsPer1h': (json['authorizations_per_1h'].map(CoordinateFromJSON)),
23
+ 'logins': (json['logins'].map(CoordinateFromJSON)),
24
+ 'loginsFailed': (json['logins_failed'].map(CoordinateFromJSON)),
25
+ 'authorizations': (json['authorizations'].map(CoordinateFromJSON)),
26
26
  };
27
27
  }
28
28
  export function UserMetricsToJSON(value) {
@@ -33,7 +33,7 @@ export interface BlueprintInstance {
33
33
  * @type {string}
34
34
  * @memberof BlueprintInstance
35
35
  */
36
- path: string;
36
+ path?: string;
37
37
  /**
38
38
  *
39
39
  * @type {{ [key: string]: any; }}
@@ -80,6 +80,12 @@ export interface BlueprintInstance {
80
80
  readonly metadata: {
81
81
  [key: string]: any;
82
82
  };
83
+ /**
84
+ *
85
+ * @type {string}
86
+ * @memberof BlueprintInstance
87
+ */
88
+ content?: string;
83
89
  }
84
90
  export declare function BlueprintInstanceFromJSON(json: any): BlueprintInstance;
85
91
  export declare function BlueprintInstanceFromJSONTyped(json: any, ignoreDiscriminator: boolean): BlueprintInstance;
@@ -27,7 +27,7 @@ function BlueprintInstanceFromJSONTyped(json, ignoreDiscriminator) {
27
27
  return {
28
28
  'pk': json['pk'],
29
29
  'name': json['name'],
30
- 'path': json['path'],
30
+ 'path': !(0, runtime_1.exists)(json, 'path') ? undefined : json['path'],
31
31
  'context': !(0, runtime_1.exists)(json, 'context') ? undefined : json['context'],
32
32
  'lastApplied': (new Date(json['last_applied'])),
33
33
  'lastAppliedHash': json['last_applied_hash'],
@@ -35,6 +35,7 @@ function BlueprintInstanceFromJSONTyped(json, ignoreDiscriminator) {
35
35
  'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
36
36
  'managedModels': json['managed_models'],
37
37
  'metadata': json['metadata'],
38
+ 'content': !(0, runtime_1.exists)(json, 'content') ? undefined : json['content'],
38
39
  };
39
40
  }
40
41
  exports.BlueprintInstanceFromJSONTyped = BlueprintInstanceFromJSONTyped;
@@ -50,6 +51,7 @@ function BlueprintInstanceToJSON(value) {
50
51
  'path': value.path,
51
52
  'context': value.context,
52
53
  'enabled': value.enabled,
54
+ 'content': value.content,
53
55
  };
54
56
  }
55
57
  exports.BlueprintInstanceToJSON = BlueprintInstanceToJSON;
@@ -26,7 +26,7 @@ export interface BlueprintInstanceRequest {
26
26
  * @type {string}
27
27
  * @memberof BlueprintInstanceRequest
28
28
  */
29
- path: string;
29
+ path?: string;
30
30
  /**
31
31
  *
32
32
  * @type {{ [key: string]: any; }}
@@ -41,6 +41,12 @@ export interface BlueprintInstanceRequest {
41
41
  * @memberof BlueprintInstanceRequest
42
42
  */
43
43
  enabled?: boolean;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof BlueprintInstanceRequest
48
+ */
49
+ content?: string;
44
50
  }
45
51
  export declare function BlueprintInstanceRequestFromJSON(json: any): BlueprintInstanceRequest;
46
52
  export declare function BlueprintInstanceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): BlueprintInstanceRequest;
@@ -25,9 +25,10 @@ function BlueprintInstanceRequestFromJSONTyped(json, ignoreDiscriminator) {
25
25
  }
26
26
  return {
27
27
  'name': json['name'],
28
- 'path': json['path'],
28
+ 'path': !(0, runtime_1.exists)(json, 'path') ? undefined : json['path'],
29
29
  'context': !(0, runtime_1.exists)(json, 'context') ? undefined : json['context'],
30
30
  'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
31
+ 'content': !(0, runtime_1.exists)(json, 'content') ? undefined : json['content'],
31
32
  };
32
33
  }
33
34
  exports.BlueprintInstanceRequestFromJSONTyped = BlueprintInstanceRequestFromJSONTyped;
@@ -43,6 +44,7 @@ function BlueprintInstanceRequestToJSON(value) {
43
44
  'path': value.path,
44
45
  'context': value.context,
45
46
  'enabled': value.enabled,
47
+ 'content': value.content,
46
48
  };
47
49
  }
48
50
  exports.BlueprintInstanceRequestToJSON = BlueprintInstanceRequestToJSON;
@@ -21,19 +21,19 @@ export interface LoginMetrics {
21
21
  * @type {Array<Coordinate>}
22
22
  * @memberof LoginMetrics
23
23
  */
24
- readonly loginsPer1h: Array<Coordinate>;
24
+ readonly logins: Array<Coordinate>;
25
25
  /**
26
26
  *
27
27
  * @type {Array<Coordinate>}
28
28
  * @memberof LoginMetrics
29
29
  */
30
- readonly loginsFailedPer1h: Array<Coordinate>;
30
+ readonly loginsFailed: Array<Coordinate>;
31
31
  /**
32
32
  *
33
33
  * @type {Array<Coordinate>}
34
34
  * @memberof LoginMetrics
35
35
  */
36
- readonly authorizationsPer1h: Array<Coordinate>;
36
+ readonly authorizations: Array<Coordinate>;
37
37
  }
38
38
  export declare function LoginMetricsFromJSON(json: any): LoginMetrics;
39
39
  export declare function LoginMetricsFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginMetrics;
@@ -24,9 +24,9 @@ function LoginMetricsFromJSONTyped(json, ignoreDiscriminator) {
24
24
  return json;
25
25
  }
26
26
  return {
27
- 'loginsPer1h': (json['logins_per_1h'].map(Coordinate_1.CoordinateFromJSON)),
28
- 'loginsFailedPer1h': (json['logins_failed_per_1h'].map(Coordinate_1.CoordinateFromJSON)),
29
- 'authorizationsPer1h': (json['authorizations_per_1h'].map(Coordinate_1.CoordinateFromJSON)),
27
+ 'logins': (json['logins'].map(Coordinate_1.CoordinateFromJSON)),
28
+ 'loginsFailed': (json['logins_failed'].map(Coordinate_1.CoordinateFromJSON)),
29
+ 'authorizations': (json['authorizations'].map(Coordinate_1.CoordinateFromJSON)),
30
30
  };
31
31
  }
32
32
  exports.LoginMetricsFromJSONTyped = LoginMetricsFromJSONTyped;
@@ -41,6 +41,12 @@ export interface PatchedBlueprintInstanceRequest {
41
41
  * @memberof PatchedBlueprintInstanceRequest
42
42
  */
43
43
  enabled?: boolean;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof PatchedBlueprintInstanceRequest
48
+ */
49
+ content?: string;
44
50
  }
45
51
  export declare function PatchedBlueprintInstanceRequestFromJSON(json: any): PatchedBlueprintInstanceRequest;
46
52
  export declare function PatchedBlueprintInstanceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedBlueprintInstanceRequest;
@@ -28,6 +28,7 @@ function PatchedBlueprintInstanceRequestFromJSONTyped(json, ignoreDiscriminator)
28
28
  'path': !(0, runtime_1.exists)(json, 'path') ? undefined : json['path'],
29
29
  'context': !(0, runtime_1.exists)(json, 'context') ? undefined : json['context'],
30
30
  'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
31
+ 'content': !(0, runtime_1.exists)(json, 'content') ? undefined : json['content'],
31
32
  };
32
33
  }
33
34
  exports.PatchedBlueprintInstanceRequestFromJSONTyped = PatchedBlueprintInstanceRequestFromJSONTyped;
@@ -43,6 +44,7 @@ function PatchedBlueprintInstanceRequestToJSON(value) {
43
44
  'path': value.path,
44
45
  'context': value.context,
45
46
  'enabled': value.enabled,
47
+ 'content': value.content,
46
48
  };
47
49
  }
48
50
  exports.PatchedBlueprintInstanceRequestToJSON = PatchedBlueprintInstanceRequestToJSON;
@@ -21,19 +21,19 @@ export interface UserMetrics {
21
21
  * @type {Array<Coordinate>}
22
22
  * @memberof UserMetrics
23
23
  */
24
- readonly loginsPer1h: Array<Coordinate>;
24
+ readonly logins: Array<Coordinate>;
25
25
  /**
26
26
  *
27
27
  * @type {Array<Coordinate>}
28
28
  * @memberof UserMetrics
29
29
  */
30
- readonly loginsFailedPer1h: Array<Coordinate>;
30
+ readonly loginsFailed: Array<Coordinate>;
31
31
  /**
32
32
  *
33
33
  * @type {Array<Coordinate>}
34
34
  * @memberof UserMetrics
35
35
  */
36
- readonly authorizationsPer1h: Array<Coordinate>;
36
+ readonly authorizations: Array<Coordinate>;
37
37
  }
38
38
  export declare function UserMetricsFromJSON(json: any): UserMetrics;
39
39
  export declare function UserMetricsFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserMetrics;
@@ -24,9 +24,9 @@ function UserMetricsFromJSONTyped(json, ignoreDiscriminator) {
24
24
  return json;
25
25
  }
26
26
  return {
27
- 'loginsPer1h': (json['logins_per_1h'].map(Coordinate_1.CoordinateFromJSON)),
28
- 'loginsFailedPer1h': (json['logins_failed_per_1h'].map(Coordinate_1.CoordinateFromJSON)),
29
- 'authorizationsPer1h': (json['authorizations_per_1h'].map(Coordinate_1.CoordinateFromJSON)),
27
+ 'logins': (json['logins'].map(Coordinate_1.CoordinateFromJSON)),
28
+ 'loginsFailed': (json['logins_failed'].map(Coordinate_1.CoordinateFromJSON)),
29
+ 'authorizations': (json['authorizations'].map(Coordinate_1.CoordinateFromJSON)),
30
30
  };
31
31
  }
32
32
  exports.UserMetricsFromJSONTyped = UserMetricsFromJSONTyped;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2022.12.2-1672930008",
3
+ "version": "2022.12.2-1673436103",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -43,7 +43,7 @@ export interface BlueprintInstance {
43
43
  * @type {string}
44
44
  * @memberof BlueprintInstance
45
45
  */
46
- path: string;
46
+ path?: string;
47
47
  /**
48
48
  *
49
49
  * @type {{ [key: string]: any; }}
@@ -86,6 +86,12 @@ export interface BlueprintInstance {
86
86
  * @memberof BlueprintInstance
87
87
  */
88
88
  readonly metadata: { [key: string]: any; };
89
+ /**
90
+ *
91
+ * @type {string}
92
+ * @memberof BlueprintInstance
93
+ */
94
+ content?: string;
89
95
  }
90
96
 
91
97
  export function BlueprintInstanceFromJSON(json: any): BlueprintInstance {
@@ -100,7 +106,7 @@ export function BlueprintInstanceFromJSONTyped(json: any, ignoreDiscriminator: b
100
106
 
101
107
  'pk': json['pk'],
102
108
  'name': json['name'],
103
- 'path': json['path'],
109
+ 'path': !exists(json, 'path') ? undefined : json['path'],
104
110
  'context': !exists(json, 'context') ? undefined : json['context'],
105
111
  'lastApplied': (new Date(json['last_applied'])),
106
112
  'lastAppliedHash': json['last_applied_hash'],
@@ -108,6 +114,7 @@ export function BlueprintInstanceFromJSONTyped(json: any, ignoreDiscriminator: b
108
114
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
109
115
  'managedModels': json['managed_models'],
110
116
  'metadata': json['metadata'],
117
+ 'content': !exists(json, 'content') ? undefined : json['content'],
111
118
  };
112
119
  }
113
120
 
@@ -124,6 +131,7 @@ export function BlueprintInstanceToJSON(value?: BlueprintInstance | null): any {
124
131
  'path': value.path,
125
132
  'context': value.context,
126
133
  'enabled': value.enabled,
134
+ 'content': value.content,
127
135
  };
128
136
  }
129
137
 
@@ -30,7 +30,7 @@ export interface BlueprintInstanceRequest {
30
30
  * @type {string}
31
31
  * @memberof BlueprintInstanceRequest
32
32
  */
33
- path: string;
33
+ path?: string;
34
34
  /**
35
35
  *
36
36
  * @type {{ [key: string]: any; }}
@@ -43,6 +43,12 @@ export interface BlueprintInstanceRequest {
43
43
  * @memberof BlueprintInstanceRequest
44
44
  */
45
45
  enabled?: boolean;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof BlueprintInstanceRequest
50
+ */
51
+ content?: string;
46
52
  }
47
53
 
48
54
  export function BlueprintInstanceRequestFromJSON(json: any): BlueprintInstanceRequest {
@@ -56,9 +62,10 @@ export function BlueprintInstanceRequestFromJSONTyped(json: any, ignoreDiscrimin
56
62
  return {
57
63
 
58
64
  'name': json['name'],
59
- 'path': json['path'],
65
+ 'path': !exists(json, 'path') ? undefined : json['path'],
60
66
  'context': !exists(json, 'context') ? undefined : json['context'],
61
67
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
68
+ 'content': !exists(json, 'content') ? undefined : json['content'],
62
69
  };
63
70
  }
64
71
 
@@ -75,6 +82,7 @@ export function BlueprintInstanceRequestToJSON(value?: BlueprintInstanceRequest
75
82
  'path': value.path,
76
83
  'context': value.context,
77
84
  'enabled': value.enabled,
85
+ 'content': value.content,
78
86
  };
79
87
  }
80
88
 
@@ -31,19 +31,19 @@ export interface LoginMetrics {
31
31
  * @type {Array<Coordinate>}
32
32
  * @memberof LoginMetrics
33
33
  */
34
- readonly loginsPer1h: Array<Coordinate>;
34
+ readonly logins: Array<Coordinate>;
35
35
  /**
36
36
  *
37
37
  * @type {Array<Coordinate>}
38
38
  * @memberof LoginMetrics
39
39
  */
40
- readonly loginsFailedPer1h: Array<Coordinate>;
40
+ readonly loginsFailed: Array<Coordinate>;
41
41
  /**
42
42
  *
43
43
  * @type {Array<Coordinate>}
44
44
  * @memberof LoginMetrics
45
45
  */
46
- readonly authorizationsPer1h: Array<Coordinate>;
46
+ readonly authorizations: Array<Coordinate>;
47
47
  }
48
48
 
49
49
  export function LoginMetricsFromJSON(json: any): LoginMetrics {
@@ -56,9 +56,9 @@ export function LoginMetricsFromJSONTyped(json: any, ignoreDiscriminator: boolea
56
56
  }
57
57
  return {
58
58
 
59
- 'loginsPer1h': ((json['logins_per_1h'] as Array<any>).map(CoordinateFromJSON)),
60
- 'loginsFailedPer1h': ((json['logins_failed_per_1h'] as Array<any>).map(CoordinateFromJSON)),
61
- 'authorizationsPer1h': ((json['authorizations_per_1h'] as Array<any>).map(CoordinateFromJSON)),
59
+ 'logins': ((json['logins'] as Array<any>).map(CoordinateFromJSON)),
60
+ 'loginsFailed': ((json['logins_failed'] as Array<any>).map(CoordinateFromJSON)),
61
+ 'authorizations': ((json['authorizations'] as Array<any>).map(CoordinateFromJSON)),
62
62
  };
63
63
  }
64
64
 
@@ -43,6 +43,12 @@ export interface PatchedBlueprintInstanceRequest {
43
43
  * @memberof PatchedBlueprintInstanceRequest
44
44
  */
45
45
  enabled?: boolean;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof PatchedBlueprintInstanceRequest
50
+ */
51
+ content?: string;
46
52
  }
47
53
 
48
54
  export function PatchedBlueprintInstanceRequestFromJSON(json: any): PatchedBlueprintInstanceRequest {
@@ -59,6 +65,7 @@ export function PatchedBlueprintInstanceRequestFromJSONTyped(json: any, ignoreDi
59
65
  'path': !exists(json, 'path') ? undefined : json['path'],
60
66
  'context': !exists(json, 'context') ? undefined : json['context'],
61
67
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
68
+ 'content': !exists(json, 'content') ? undefined : json['content'],
62
69
  };
63
70
  }
64
71
 
@@ -75,6 +82,7 @@ export function PatchedBlueprintInstanceRequestToJSON(value?: PatchedBlueprintIn
75
82
  'path': value.path,
76
83
  'context': value.context,
77
84
  'enabled': value.enabled,
85
+ 'content': value.content,
78
86
  };
79
87
  }
80
88
 
@@ -31,19 +31,19 @@ export interface UserMetrics {
31
31
  * @type {Array<Coordinate>}
32
32
  * @memberof UserMetrics
33
33
  */
34
- readonly loginsPer1h: Array<Coordinate>;
34
+ readonly logins: Array<Coordinate>;
35
35
  /**
36
36
  *
37
37
  * @type {Array<Coordinate>}
38
38
  * @memberof UserMetrics
39
39
  */
40
- readonly loginsFailedPer1h: Array<Coordinate>;
40
+ readonly loginsFailed: Array<Coordinate>;
41
41
  /**
42
42
  *
43
43
  * @type {Array<Coordinate>}
44
44
  * @memberof UserMetrics
45
45
  */
46
- readonly authorizationsPer1h: Array<Coordinate>;
46
+ readonly authorizations: Array<Coordinate>;
47
47
  }
48
48
 
49
49
  export function UserMetricsFromJSON(json: any): UserMetrics {
@@ -56,9 +56,9 @@ export function UserMetricsFromJSONTyped(json: any, ignoreDiscriminator: boolean
56
56
  }
57
57
  return {
58
58
 
59
- 'loginsPer1h': ((json['logins_per_1h'] as Array<any>).map(CoordinateFromJSON)),
60
- 'loginsFailedPer1h': ((json['logins_failed_per_1h'] as Array<any>).map(CoordinateFromJSON)),
61
- 'authorizationsPer1h': ((json['authorizations_per_1h'] as Array<any>).map(CoordinateFromJSON)),
59
+ 'logins': ((json['logins'] as Array<any>).map(CoordinateFromJSON)),
60
+ 'loginsFailed': ((json['logins_failed'] as Array<any>).map(CoordinateFromJSON)),
61
+ 'authorizations': ((json['authorizations'] as Array<any>).map(CoordinateFromJSON)),
62
62
  };
63
63
  }
64
64