@goauthentik/api 2022.7.3-1659304078 → 2022.7.3-1659387977

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.
@@ -16,6 +16,12 @@ import { BlueprintInstanceStatusEnum } from './BlueprintInstanceStatusEnum';
16
16
  * @interface BlueprintInstance
17
17
  */
18
18
  export interface BlueprintInstance {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof BlueprintInstance
23
+ */
24
+ readonly pk: string;
19
25
  /**
20
26
  *
21
27
  * @type {string}
@@ -42,6 +48,12 @@ export interface BlueprintInstance {
42
48
  * @memberof BlueprintInstance
43
49
  */
44
50
  readonly lastApplied: Date;
51
+ /**
52
+ *
53
+ * @type {string}
54
+ * @memberof BlueprintInstance
55
+ */
56
+ readonly lastAppliedHash: string;
45
57
  /**
46
58
  *
47
59
  * @type {BlueprintInstanceStatusEnum}
@@ -54,6 +66,12 @@ export interface BlueprintInstance {
54
66
  * @memberof BlueprintInstance
55
67
  */
56
68
  enabled?: boolean;
69
+ /**
70
+ *
71
+ * @type {Array<string>}
72
+ * @memberof BlueprintInstance
73
+ */
74
+ readonly managedModels: Array<string>;
57
75
  }
58
76
  export declare function BlueprintInstanceFromJSON(json: any): BlueprintInstance;
59
77
  export declare function BlueprintInstanceFromJSONTyped(json: any, ignoreDiscriminator: boolean): BlueprintInstance;
@@ -21,12 +21,15 @@ export function BlueprintInstanceFromJSONTyped(json, ignoreDiscriminator) {
21
21
  return json;
22
22
  }
23
23
  return {
24
+ 'pk': json['pk'],
24
25
  'name': json['name'],
25
26
  'path': json['path'],
26
27
  'context': json['context'],
27
28
  'lastApplied': (new Date(json['last_applied'])),
29
+ 'lastAppliedHash': json['last_applied_hash'],
28
30
  'status': BlueprintInstanceStatusEnumFromJSON(json['status']),
29
31
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
32
+ 'managedModels': json['managed_models'],
30
33
  };
31
34
  }
32
35
  export function BlueprintInstanceToJSON(value) {
@@ -17,6 +17,7 @@ export declare const BlueprintInstanceStatusEnum: {
17
17
  readonly Successful: "successful";
18
18
  readonly Warning: "warning";
19
19
  readonly Error: "error";
20
+ readonly Orphaned: "orphaned";
20
21
  readonly Unknown: "unknown";
21
22
  };
22
23
  export declare type BlueprintInstanceStatusEnum = typeof BlueprintInstanceStatusEnum[keyof typeof BlueprintInstanceStatusEnum];
@@ -19,6 +19,7 @@ export const BlueprintInstanceStatusEnum = {
19
19
  Successful: 'successful',
20
20
  Warning: 'warning',
21
21
  Error: 'error',
22
+ Orphaned: 'orphaned',
22
23
  Unknown: 'unknown'
23
24
  };
24
25
  export function BlueprintInstanceStatusEnumFromJSON(json) {
@@ -16,6 +16,12 @@ import { BlueprintInstanceStatusEnum } from './BlueprintInstanceStatusEnum';
16
16
  * @interface BlueprintInstance
17
17
  */
18
18
  export interface BlueprintInstance {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof BlueprintInstance
23
+ */
24
+ readonly pk: string;
19
25
  /**
20
26
  *
21
27
  * @type {string}
@@ -42,6 +48,12 @@ export interface BlueprintInstance {
42
48
  * @memberof BlueprintInstance
43
49
  */
44
50
  readonly lastApplied: Date;
51
+ /**
52
+ *
53
+ * @type {string}
54
+ * @memberof BlueprintInstance
55
+ */
56
+ readonly lastAppliedHash: string;
45
57
  /**
46
58
  *
47
59
  * @type {BlueprintInstanceStatusEnum}
@@ -54,6 +66,12 @@ export interface BlueprintInstance {
54
66
  * @memberof BlueprintInstance
55
67
  */
56
68
  enabled?: boolean;
69
+ /**
70
+ *
71
+ * @type {Array<string>}
72
+ * @memberof BlueprintInstance
73
+ */
74
+ readonly managedModels: Array<string>;
57
75
  }
58
76
  export declare function BlueprintInstanceFromJSON(json: any): BlueprintInstance;
59
77
  export declare function BlueprintInstanceFromJSONTyped(json: any, ignoreDiscriminator: boolean): BlueprintInstance;
@@ -25,12 +25,15 @@ function BlueprintInstanceFromJSONTyped(json, ignoreDiscriminator) {
25
25
  return json;
26
26
  }
27
27
  return {
28
+ 'pk': json['pk'],
28
29
  'name': json['name'],
29
30
  'path': json['path'],
30
31
  'context': json['context'],
31
32
  'lastApplied': (new Date(json['last_applied'])),
33
+ 'lastAppliedHash': json['last_applied_hash'],
32
34
  'status': (0, BlueprintInstanceStatusEnum_1.BlueprintInstanceStatusEnumFromJSON)(json['status']),
33
35
  'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
36
+ 'managedModels': json['managed_models'],
34
37
  };
35
38
  }
36
39
  exports.BlueprintInstanceFromJSONTyped = BlueprintInstanceFromJSONTyped;
@@ -17,6 +17,7 @@ export declare const BlueprintInstanceStatusEnum: {
17
17
  readonly Successful: "successful";
18
18
  readonly Warning: "warning";
19
19
  readonly Error: "error";
20
+ readonly Orphaned: "orphaned";
20
21
  readonly Unknown: "unknown";
21
22
  };
22
23
  export declare type BlueprintInstanceStatusEnum = typeof BlueprintInstanceStatusEnum[keyof typeof BlueprintInstanceStatusEnum];
@@ -22,6 +22,7 @@ exports.BlueprintInstanceStatusEnum = {
22
22
  Successful: 'successful',
23
23
  Warning: 'warning',
24
24
  Error: 'error',
25
+ Orphaned: 'orphaned',
25
26
  Unknown: 'unknown'
26
27
  };
27
28
  function BlueprintInstanceStatusEnumFromJSON(json) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2022.7.3-1659304078",
3
+ "version": "2022.7.3-1659387977",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -26,6 +26,12 @@ import {
26
26
  * @interface BlueprintInstance
27
27
  */
28
28
  export interface BlueprintInstance {
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof BlueprintInstance
33
+ */
34
+ readonly pk: string;
29
35
  /**
30
36
  *
31
37
  * @type {string}
@@ -50,6 +56,12 @@ export interface BlueprintInstance {
50
56
  * @memberof BlueprintInstance
51
57
  */
52
58
  readonly lastApplied: Date;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof BlueprintInstance
63
+ */
64
+ readonly lastAppliedHash: string;
53
65
  /**
54
66
  *
55
67
  * @type {BlueprintInstanceStatusEnum}
@@ -62,6 +74,12 @@ export interface BlueprintInstance {
62
74
  * @memberof BlueprintInstance
63
75
  */
64
76
  enabled?: boolean;
77
+ /**
78
+ *
79
+ * @type {Array<string>}
80
+ * @memberof BlueprintInstance
81
+ */
82
+ readonly managedModels: Array<string>;
65
83
  }
66
84
 
67
85
  export function BlueprintInstanceFromJSON(json: any): BlueprintInstance {
@@ -74,12 +92,15 @@ export function BlueprintInstanceFromJSONTyped(json: any, ignoreDiscriminator: b
74
92
  }
75
93
  return {
76
94
 
95
+ 'pk': json['pk'],
77
96
  'name': json['name'],
78
97
  'path': json['path'],
79
98
  'context': json['context'],
80
99
  'lastApplied': (new Date(json['last_applied'])),
100
+ 'lastAppliedHash': json['last_applied_hash'],
81
101
  'status': BlueprintInstanceStatusEnumFromJSON(json['status']),
82
102
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
103
+ 'managedModels': json['managed_models'],
83
104
  };
84
105
  }
85
106
 
@@ -21,6 +21,7 @@ export const BlueprintInstanceStatusEnum = {
21
21
  Successful: 'successful',
22
22
  Warning: 'warning',
23
23
  Error: 'error',
24
+ Orphaned: 'orphaned',
24
25
  Unknown: 'unknown'
25
26
  } as const;
26
27
  export type BlueprintInstanceStatusEnum = typeof BlueprintInstanceStatusEnum[keyof typeof BlueprintInstanceStatusEnum];