@goauthentik/api 2021.10.4-1639472385 → 2021.10.4-1639493848
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.
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { GroupMember } from './GroupMember';
|
|
13
13
|
/**
|
|
14
14
|
* Invitation Serializer
|
|
15
15
|
* @export
|
|
@@ -38,10 +38,10 @@ export interface Invitation {
|
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
40
40
|
*
|
|
41
|
-
* @type {
|
|
41
|
+
* @type {GroupMember}
|
|
42
42
|
* @memberof Invitation
|
|
43
43
|
*/
|
|
44
|
-
readonly createdBy:
|
|
44
|
+
readonly createdBy: GroupMember | null;
|
|
45
45
|
/**
|
|
46
46
|
* When enabled, the invitation will be deleted after usage.
|
|
47
47
|
* @type {boolean}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
-
import {
|
|
15
|
+
import { GroupMemberFromJSON, } from './GroupMember';
|
|
16
16
|
export function InvitationFromJSON(json) {
|
|
17
17
|
return InvitationFromJSONTyped(json, false);
|
|
18
18
|
}
|
|
@@ -24,7 +24,7 @@ export function InvitationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
24
|
'pk': json['pk'],
|
|
25
25
|
'expires': !exists(json, 'expires') ? undefined : (new Date(json['expires'])),
|
|
26
26
|
'fixedData': !exists(json, 'fixed_data') ? undefined : json['fixed_data'],
|
|
27
|
-
'createdBy':
|
|
27
|
+
'createdBy': GroupMemberFromJSON(json['created_by']),
|
|
28
28
|
'singleUse': !exists(json, 'single_use') ? undefined : json['single_use'],
|
|
29
29
|
};
|
|
30
30
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { GroupMember } from './GroupMember';
|
|
13
13
|
/**
|
|
14
14
|
* Invitation Serializer
|
|
15
15
|
* @export
|
|
@@ -38,10 +38,10 @@ export interface Invitation {
|
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
40
40
|
*
|
|
41
|
-
* @type {
|
|
41
|
+
* @type {GroupMember}
|
|
42
42
|
* @memberof Invitation
|
|
43
43
|
*/
|
|
44
|
-
readonly createdBy:
|
|
44
|
+
readonly createdBy: GroupMember | null;
|
|
45
45
|
/**
|
|
46
46
|
* When enabled, the invitation will be deleted after usage.
|
|
47
47
|
* @type {boolean}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.InvitationToJSON = exports.InvitationFromJSONTyped = exports.InvitationFromJSON = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
-
const
|
|
18
|
+
const GroupMember_1 = require("./GroupMember");
|
|
19
19
|
function InvitationFromJSON(json) {
|
|
20
20
|
return InvitationFromJSONTyped(json, false);
|
|
21
21
|
}
|
|
@@ -28,7 +28,7 @@ function InvitationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
28
|
'pk': json['pk'],
|
|
29
29
|
'expires': !runtime_1.exists(json, 'expires') ? undefined : (new Date(json['expires'])),
|
|
30
30
|
'fixedData': !runtime_1.exists(json, 'fixed_data') ? undefined : json['fixed_data'],
|
|
31
|
-
'createdBy':
|
|
31
|
+
'createdBy': GroupMember_1.GroupMemberFromJSON(json['created_by']),
|
|
32
32
|
'singleUse': !runtime_1.exists(json, 'single_use') ? undefined : json['single_use'],
|
|
33
33
|
};
|
|
34
34
|
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name": "@goauthentik/api", "version": "2021.10.4-
|
|
1
|
+
{"name": "@goauthentik/api", "version": "2021.10.4-1639493848", "description": "OpenAPI client for @goauthentik/api", "author": "OpenAPI-Generator", "main": "./dist/index.js", "typings": "./dist/index.d.ts", "scripts": {"build": "tsc && tsc --project tsconfig.esm.json", "prepare": "npm run build"}, "devDependencies": {"typescript": "^3.9.5"}, "license": "GPL-3.0-only", "module": "./dist/esm/index.js", "sideEffects": false}
|
package/src/models/Invitation.ts
CHANGED
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from './
|
|
17
|
+
GroupMember,
|
|
18
|
+
GroupMemberFromJSON,
|
|
19
|
+
GroupMemberFromJSONTyped,
|
|
20
|
+
GroupMemberToJSON,
|
|
21
|
+
} from './GroupMember';
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* Invitation Serializer
|
|
@@ -46,10 +46,10 @@ export interface Invitation {
|
|
|
46
46
|
fixedData?: { [key: string]: any; };
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
|
-
* @type {
|
|
49
|
+
* @type {GroupMember}
|
|
50
50
|
* @memberof Invitation
|
|
51
51
|
*/
|
|
52
|
-
readonly createdBy:
|
|
52
|
+
readonly createdBy: GroupMember | null;
|
|
53
53
|
/**
|
|
54
54
|
* When enabled, the invitation will be deleted after usage.
|
|
55
55
|
* @type {boolean}
|
|
@@ -71,7 +71,7 @@ export function InvitationFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
71
71
|
'pk': json['pk'],
|
|
72
72
|
'expires': !exists(json, 'expires') ? undefined : (new Date(json['expires'])),
|
|
73
73
|
'fixedData': !exists(json, 'fixed_data') ? undefined : json['fixed_data'],
|
|
74
|
-
'createdBy':
|
|
74
|
+
'createdBy': GroupMemberFromJSON(json['created_by']),
|
|
75
75
|
'singleUse': !exists(json, 'single_use') ? undefined : json['single_use'],
|
|
76
76
|
};
|
|
77
77
|
}
|