@goauthentik/api 2022.3.3-1647904732 → 2022.3.3-1648316973
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.
- package/dist/apis/StagesApi.d.ts +4 -3
- package/dist/apis/StagesApi.js +10 -1
- package/dist/esm/apis/StagesApi.d.ts +4 -3
- package/dist/esm/apis/StagesApi.js +10 -1
- package/dist/esm/models/AuthenticatedSessionGeoIp.d.ts +6 -6
- package/dist/esm/models/AuthenticatedSessionGeoIp.js +5 -6
- package/dist/esm/models/AuthenticatedSessionUserAgent.d.ts +5 -5
- package/dist/esm/models/AuthenticatedSessionUserAgent.js +4 -5
- package/dist/esm/models/AuthenticatedSessionUserAgentDevice.d.ts +4 -4
- package/dist/esm/models/AuthenticatedSessionUserAgentDevice.js +3 -4
- package/dist/esm/models/AuthenticatedSessionUserAgentOs.d.ts +6 -6
- package/dist/esm/models/AuthenticatedSessionUserAgentOs.js +5 -6
- package/dist/esm/models/AuthenticatedSessionUserAgentUserAgent.d.ts +5 -5
- package/dist/esm/models/AuthenticatedSessionUserAgentUserAgent.js +4 -5
- package/dist/esm/models/Group.d.ts +6 -0
- package/dist/esm/models/Group.js +1 -0
- package/dist/esm/models/Invitation.d.ts +6 -0
- package/dist/esm/models/Invitation.js +2 -0
- package/dist/esm/models/InvitationRequest.d.ts +6 -0
- package/dist/esm/models/InvitationRequest.js +2 -0
- package/dist/esm/models/PatchedInvitationRequest.d.ts +6 -0
- package/dist/esm/models/PatchedInvitationRequest.js +2 -0
- package/dist/esm/models/SystemRuntime.d.ts +7 -7
- package/dist/esm/models/SystemRuntime.js +6 -7
- package/dist/models/AuthenticatedSessionGeoIp.d.ts +6 -6
- package/dist/models/AuthenticatedSessionGeoIp.js +5 -6
- package/dist/models/AuthenticatedSessionUserAgent.d.ts +5 -5
- package/dist/models/AuthenticatedSessionUserAgent.js +4 -5
- package/dist/models/AuthenticatedSessionUserAgentDevice.d.ts +4 -4
- package/dist/models/AuthenticatedSessionUserAgentDevice.js +3 -4
- package/dist/models/AuthenticatedSessionUserAgentOs.d.ts +6 -6
- package/dist/models/AuthenticatedSessionUserAgentOs.js +5 -6
- package/dist/models/AuthenticatedSessionUserAgentUserAgent.d.ts +5 -5
- package/dist/models/AuthenticatedSessionUserAgentUserAgent.js +4 -5
- package/dist/models/Group.d.ts +6 -0
- package/dist/models/Group.js +1 -0
- package/dist/models/Invitation.d.ts +6 -0
- package/dist/models/Invitation.js +2 -0
- package/dist/models/InvitationRequest.d.ts +6 -0
- package/dist/models/InvitationRequest.js +2 -0
- package/dist/models/PatchedInvitationRequest.d.ts +6 -0
- package/dist/models/PatchedInvitationRequest.js +2 -0
- package/dist/models/SystemRuntime.d.ts +7 -7
- package/dist/models/SystemRuntime.js +6 -7
- package/package.json +1 -1
- package/src/apis/StagesApi.ts +16 -3
- package/src/models/AuthenticatedSessionGeoIp.ts +11 -11
- package/src/models/AuthenticatedSessionUserAgent.ts +9 -9
- package/src/models/AuthenticatedSessionUserAgentDevice.ts +7 -7
- package/src/models/AuthenticatedSessionUserAgentOs.ts +11 -11
- package/src/models/AuthenticatedSessionUserAgentUserAgent.ts +9 -9
- package/src/models/Group.ts +7 -0
- package/src/models/Invitation.ts +8 -0
- package/src/models/InvitationRequest.ts +8 -0
- package/src/models/PatchedInvitationRequest.ts +8 -0
- package/src/models/SystemRuntime.ts +13 -13
package/dist/apis/StagesApi.d.ts
CHANGED
|
@@ -410,7 +410,7 @@ export interface StagesIdentificationUsedByListRequest {
|
|
|
410
410
|
stageUuid: string;
|
|
411
411
|
}
|
|
412
412
|
export interface StagesInvitationInvitationsCreateRequest {
|
|
413
|
-
invitationRequest
|
|
413
|
+
invitationRequest: InvitationRequest;
|
|
414
414
|
}
|
|
415
415
|
export interface StagesInvitationInvitationsDestroyRequest {
|
|
416
416
|
inviteUuid: string;
|
|
@@ -418,6 +418,7 @@ export interface StagesInvitationInvitationsDestroyRequest {
|
|
|
418
418
|
export interface StagesInvitationInvitationsListRequest {
|
|
419
419
|
createdByUsername?: string;
|
|
420
420
|
expires?: Date;
|
|
421
|
+
name?: string;
|
|
421
422
|
ordering?: string;
|
|
422
423
|
page?: number;
|
|
423
424
|
pageSize?: number;
|
|
@@ -432,7 +433,7 @@ export interface StagesInvitationInvitationsRetrieveRequest {
|
|
|
432
433
|
}
|
|
433
434
|
export interface StagesInvitationInvitationsUpdateRequest {
|
|
434
435
|
inviteUuid: string;
|
|
435
|
-
invitationRequest
|
|
436
|
+
invitationRequest: InvitationRequest;
|
|
436
437
|
}
|
|
437
438
|
export interface StagesInvitationInvitationsUsedByListRequest {
|
|
438
439
|
inviteUuid: string;
|
|
@@ -1426,7 +1427,7 @@ export declare class StagesApi extends runtime.BaseAPI {
|
|
|
1426
1427
|
/**
|
|
1427
1428
|
* Invitation Viewset
|
|
1428
1429
|
*/
|
|
1429
|
-
stagesInvitationInvitationsCreate(requestParameters
|
|
1430
|
+
stagesInvitationInvitationsCreate(requestParameters: StagesInvitationInvitationsCreateRequest, initOverrides?: RequestInit): Promise<Invitation>;
|
|
1430
1431
|
/**
|
|
1431
1432
|
* Invitation Viewset
|
|
1432
1433
|
*/
|
package/dist/apis/StagesApi.js
CHANGED
|
@@ -3315,6 +3315,9 @@ class StagesApi extends runtime.BaseAPI {
|
|
|
3315
3315
|
*/
|
|
3316
3316
|
stagesInvitationInvitationsCreateRaw(requestParameters, initOverrides) {
|
|
3317
3317
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3318
|
+
if (requestParameters.invitationRequest === null || requestParameters.invitationRequest === undefined) {
|
|
3319
|
+
throw new runtime.RequiredError('invitationRequest', 'Required parameter requestParameters.invitationRequest was null or undefined when calling stagesInvitationInvitationsCreate.');
|
|
3320
|
+
}
|
|
3318
3321
|
const queryParameters = {};
|
|
3319
3322
|
const headerParameters = {};
|
|
3320
3323
|
headerParameters['Content-Type'] = 'application/json';
|
|
@@ -3334,7 +3337,7 @@ class StagesApi extends runtime.BaseAPI {
|
|
|
3334
3337
|
/**
|
|
3335
3338
|
* Invitation Viewset
|
|
3336
3339
|
*/
|
|
3337
|
-
stagesInvitationInvitationsCreate(requestParameters
|
|
3340
|
+
stagesInvitationInvitationsCreate(requestParameters, initOverrides) {
|
|
3338
3341
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3339
3342
|
const response = yield this.stagesInvitationInvitationsCreateRaw(requestParameters, initOverrides);
|
|
3340
3343
|
return yield response.value();
|
|
@@ -3382,6 +3385,9 @@ class StagesApi extends runtime.BaseAPI {
|
|
|
3382
3385
|
if (requestParameters.expires !== undefined) {
|
|
3383
3386
|
queryParameters['expires'] = requestParameters.expires.toISOString();
|
|
3384
3387
|
}
|
|
3388
|
+
if (requestParameters.name !== undefined) {
|
|
3389
|
+
queryParameters['name'] = requestParameters.name;
|
|
3390
|
+
}
|
|
3385
3391
|
if (requestParameters.ordering !== undefined) {
|
|
3386
3392
|
queryParameters['ordering'] = requestParameters.ordering;
|
|
3387
3393
|
}
|
|
@@ -3488,6 +3494,9 @@ class StagesApi extends runtime.BaseAPI {
|
|
|
3488
3494
|
if (requestParameters.inviteUuid === null || requestParameters.inviteUuid === undefined) {
|
|
3489
3495
|
throw new runtime.RequiredError('inviteUuid', 'Required parameter requestParameters.inviteUuid was null or undefined when calling stagesInvitationInvitationsUpdate.');
|
|
3490
3496
|
}
|
|
3497
|
+
if (requestParameters.invitationRequest === null || requestParameters.invitationRequest === undefined) {
|
|
3498
|
+
throw new runtime.RequiredError('invitationRequest', 'Required parameter requestParameters.invitationRequest was null or undefined when calling stagesInvitationInvitationsUpdate.');
|
|
3499
|
+
}
|
|
3491
3500
|
const queryParameters = {};
|
|
3492
3501
|
const headerParameters = {};
|
|
3493
3502
|
headerParameters['Content-Type'] = 'application/json';
|
|
@@ -410,7 +410,7 @@ export interface StagesIdentificationUsedByListRequest {
|
|
|
410
410
|
stageUuid: string;
|
|
411
411
|
}
|
|
412
412
|
export interface StagesInvitationInvitationsCreateRequest {
|
|
413
|
-
invitationRequest
|
|
413
|
+
invitationRequest: InvitationRequest;
|
|
414
414
|
}
|
|
415
415
|
export interface StagesInvitationInvitationsDestroyRequest {
|
|
416
416
|
inviteUuid: string;
|
|
@@ -418,6 +418,7 @@ export interface StagesInvitationInvitationsDestroyRequest {
|
|
|
418
418
|
export interface StagesInvitationInvitationsListRequest {
|
|
419
419
|
createdByUsername?: string;
|
|
420
420
|
expires?: Date;
|
|
421
|
+
name?: string;
|
|
421
422
|
ordering?: string;
|
|
422
423
|
page?: number;
|
|
423
424
|
pageSize?: number;
|
|
@@ -432,7 +433,7 @@ export interface StagesInvitationInvitationsRetrieveRequest {
|
|
|
432
433
|
}
|
|
433
434
|
export interface StagesInvitationInvitationsUpdateRequest {
|
|
434
435
|
inviteUuid: string;
|
|
435
|
-
invitationRequest
|
|
436
|
+
invitationRequest: InvitationRequest;
|
|
436
437
|
}
|
|
437
438
|
export interface StagesInvitationInvitationsUsedByListRequest {
|
|
438
439
|
inviteUuid: string;
|
|
@@ -1426,7 +1427,7 @@ export declare class StagesApi extends runtime.BaseAPI {
|
|
|
1426
1427
|
/**
|
|
1427
1428
|
* Invitation Viewset
|
|
1428
1429
|
*/
|
|
1429
|
-
stagesInvitationInvitationsCreate(requestParameters
|
|
1430
|
+
stagesInvitationInvitationsCreate(requestParameters: StagesInvitationInvitationsCreateRequest, initOverrides?: RequestInit): Promise<Invitation>;
|
|
1430
1431
|
/**
|
|
1431
1432
|
* Invitation Viewset
|
|
1432
1433
|
*/
|
|
@@ -3312,6 +3312,9 @@ export class StagesApi extends runtime.BaseAPI {
|
|
|
3312
3312
|
*/
|
|
3313
3313
|
stagesInvitationInvitationsCreateRaw(requestParameters, initOverrides) {
|
|
3314
3314
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3315
|
+
if (requestParameters.invitationRequest === null || requestParameters.invitationRequest === undefined) {
|
|
3316
|
+
throw new runtime.RequiredError('invitationRequest', 'Required parameter requestParameters.invitationRequest was null or undefined when calling stagesInvitationInvitationsCreate.');
|
|
3317
|
+
}
|
|
3315
3318
|
const queryParameters = {};
|
|
3316
3319
|
const headerParameters = {};
|
|
3317
3320
|
headerParameters['Content-Type'] = 'application/json';
|
|
@@ -3331,7 +3334,7 @@ export class StagesApi extends runtime.BaseAPI {
|
|
|
3331
3334
|
/**
|
|
3332
3335
|
* Invitation Viewset
|
|
3333
3336
|
*/
|
|
3334
|
-
stagesInvitationInvitationsCreate(requestParameters
|
|
3337
|
+
stagesInvitationInvitationsCreate(requestParameters, initOverrides) {
|
|
3335
3338
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3336
3339
|
const response = yield this.stagesInvitationInvitationsCreateRaw(requestParameters, initOverrides);
|
|
3337
3340
|
return yield response.value();
|
|
@@ -3379,6 +3382,9 @@ export class StagesApi extends runtime.BaseAPI {
|
|
|
3379
3382
|
if (requestParameters.expires !== undefined) {
|
|
3380
3383
|
queryParameters['expires'] = requestParameters.expires.toISOString();
|
|
3381
3384
|
}
|
|
3385
|
+
if (requestParameters.name !== undefined) {
|
|
3386
|
+
queryParameters['name'] = requestParameters.name;
|
|
3387
|
+
}
|
|
3382
3388
|
if (requestParameters.ordering !== undefined) {
|
|
3383
3389
|
queryParameters['ordering'] = requestParameters.ordering;
|
|
3384
3390
|
}
|
|
@@ -3485,6 +3491,9 @@ export class StagesApi extends runtime.BaseAPI {
|
|
|
3485
3491
|
if (requestParameters.inviteUuid === null || requestParameters.inviteUuid === undefined) {
|
|
3486
3492
|
throw new runtime.RequiredError('inviteUuid', 'Required parameter requestParameters.inviteUuid was null or undefined when calling stagesInvitationInvitationsUpdate.');
|
|
3487
3493
|
}
|
|
3494
|
+
if (requestParameters.invitationRequest === null || requestParameters.invitationRequest === undefined) {
|
|
3495
|
+
throw new runtime.RequiredError('invitationRequest', 'Required parameter requestParameters.invitationRequest was null or undefined when calling stagesInvitationInvitationsUpdate.');
|
|
3496
|
+
}
|
|
3488
3497
|
const queryParameters = {};
|
|
3489
3498
|
const headerParameters = {};
|
|
3490
3499
|
headerParameters['Content-Type'] = 'application/json';
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* GeoIP Details
|
|
14
14
|
* @export
|
|
15
15
|
* @interface AuthenticatedSessionGeoIp
|
|
16
16
|
*/
|
|
@@ -20,31 +20,31 @@ export interface AuthenticatedSessionGeoIp {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof AuthenticatedSessionGeoIp
|
|
22
22
|
*/
|
|
23
|
-
continent
|
|
23
|
+
continent: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof AuthenticatedSessionGeoIp
|
|
28
28
|
*/
|
|
29
|
-
country
|
|
29
|
+
country: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {number}
|
|
33
33
|
* @memberof AuthenticatedSessionGeoIp
|
|
34
34
|
*/
|
|
35
|
-
lat
|
|
35
|
+
lat: number;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {number}
|
|
39
39
|
* @memberof AuthenticatedSessionGeoIp
|
|
40
40
|
*/
|
|
41
|
-
_long
|
|
41
|
+
_long: number;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof AuthenticatedSessionGeoIp
|
|
46
46
|
*/
|
|
47
|
-
city
|
|
47
|
+
city: string;
|
|
48
48
|
}
|
|
49
49
|
export declare function AuthenticatedSessionGeoIpFromJSON(json: any): AuthenticatedSessionGeoIp;
|
|
50
50
|
export declare function AuthenticatedSessionGeoIpFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatedSessionGeoIp;
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { exists } from '../runtime';
|
|
15
14
|
export function AuthenticatedSessionGeoIpFromJSON(json) {
|
|
16
15
|
return AuthenticatedSessionGeoIpFromJSONTyped(json, false);
|
|
17
16
|
}
|
|
@@ -20,11 +19,11 @@ export function AuthenticatedSessionGeoIpFromJSONTyped(json, ignoreDiscriminator
|
|
|
20
19
|
return json;
|
|
21
20
|
}
|
|
22
21
|
return {
|
|
23
|
-
'continent':
|
|
24
|
-
'country':
|
|
25
|
-
'lat':
|
|
26
|
-
'_long':
|
|
27
|
-
'city':
|
|
22
|
+
'continent': json['continent'],
|
|
23
|
+
'country': json['country'],
|
|
24
|
+
'lat': json['lat'],
|
|
25
|
+
'_long': json['long'],
|
|
26
|
+
'city': json['city'],
|
|
28
27
|
};
|
|
29
28
|
}
|
|
30
29
|
export function AuthenticatedSessionGeoIpToJSON(value) {
|
|
@@ -13,7 +13,7 @@ import { AuthenticatedSessionUserAgentDevice } from './AuthenticatedSessionUserA
|
|
|
13
13
|
import { AuthenticatedSessionUserAgentOs } from './AuthenticatedSessionUserAgentOs';
|
|
14
14
|
import { AuthenticatedSessionUserAgentUserAgent } from './AuthenticatedSessionUserAgentUserAgent';
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* User agent details
|
|
17
17
|
* @export
|
|
18
18
|
* @interface AuthenticatedSessionUserAgent
|
|
19
19
|
*/
|
|
@@ -23,25 +23,25 @@ export interface AuthenticatedSessionUserAgent {
|
|
|
23
23
|
* @type {AuthenticatedSessionUserAgentDevice}
|
|
24
24
|
* @memberof AuthenticatedSessionUserAgent
|
|
25
25
|
*/
|
|
26
|
-
device
|
|
26
|
+
device: AuthenticatedSessionUserAgentDevice;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
29
|
* @type {AuthenticatedSessionUserAgentOs}
|
|
30
30
|
* @memberof AuthenticatedSessionUserAgent
|
|
31
31
|
*/
|
|
32
|
-
os
|
|
32
|
+
os: AuthenticatedSessionUserAgentOs;
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
35
35
|
* @type {AuthenticatedSessionUserAgentUserAgent}
|
|
36
36
|
* @memberof AuthenticatedSessionUserAgent
|
|
37
37
|
*/
|
|
38
|
-
userAgent
|
|
38
|
+
userAgent: AuthenticatedSessionUserAgentUserAgent;
|
|
39
39
|
/**
|
|
40
40
|
*
|
|
41
41
|
* @type {string}
|
|
42
42
|
* @memberof AuthenticatedSessionUserAgent
|
|
43
43
|
*/
|
|
44
|
-
string
|
|
44
|
+
string: string;
|
|
45
45
|
}
|
|
46
46
|
export declare function AuthenticatedSessionUserAgentFromJSON(json: any): AuthenticatedSessionUserAgent;
|
|
47
47
|
export declare function AuthenticatedSessionUserAgentFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatedSessionUserAgent;
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { exists } from '../runtime';
|
|
15
14
|
import { AuthenticatedSessionUserAgentDeviceFromJSON, AuthenticatedSessionUserAgentDeviceToJSON, } from './AuthenticatedSessionUserAgentDevice';
|
|
16
15
|
import { AuthenticatedSessionUserAgentOsFromJSON, AuthenticatedSessionUserAgentOsToJSON, } from './AuthenticatedSessionUserAgentOs';
|
|
17
16
|
import { AuthenticatedSessionUserAgentUserAgentFromJSON, AuthenticatedSessionUserAgentUserAgentToJSON, } from './AuthenticatedSessionUserAgentUserAgent';
|
|
@@ -23,10 +22,10 @@ export function AuthenticatedSessionUserAgentFromJSONTyped(json, ignoreDiscrimin
|
|
|
23
22
|
return json;
|
|
24
23
|
}
|
|
25
24
|
return {
|
|
26
|
-
'device':
|
|
27
|
-
'os':
|
|
28
|
-
'userAgent':
|
|
29
|
-
'string':
|
|
25
|
+
'device': AuthenticatedSessionUserAgentDeviceFromJSON(json['device']),
|
|
26
|
+
'os': AuthenticatedSessionUserAgentOsFromJSON(json['os']),
|
|
27
|
+
'userAgent': AuthenticatedSessionUserAgentUserAgentFromJSON(json['user_agent']),
|
|
28
|
+
'string': json['string'],
|
|
30
29
|
};
|
|
31
30
|
}
|
|
32
31
|
export function AuthenticatedSessionUserAgentToJSON(value) {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* User agent device
|
|
14
14
|
* @export
|
|
15
15
|
* @interface AuthenticatedSessionUserAgentDevice
|
|
16
16
|
*/
|
|
@@ -20,19 +20,19 @@ export interface AuthenticatedSessionUserAgentDevice {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof AuthenticatedSessionUserAgentDevice
|
|
22
22
|
*/
|
|
23
|
-
brand
|
|
23
|
+
brand: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof AuthenticatedSessionUserAgentDevice
|
|
28
28
|
*/
|
|
29
|
-
family
|
|
29
|
+
family: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof AuthenticatedSessionUserAgentDevice
|
|
34
34
|
*/
|
|
35
|
-
model
|
|
35
|
+
model: string;
|
|
36
36
|
}
|
|
37
37
|
export declare function AuthenticatedSessionUserAgentDeviceFromJSON(json: any): AuthenticatedSessionUserAgentDevice;
|
|
38
38
|
export declare function AuthenticatedSessionUserAgentDeviceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatedSessionUserAgentDevice;
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { exists } from '../runtime';
|
|
15
14
|
export function AuthenticatedSessionUserAgentDeviceFromJSON(json) {
|
|
16
15
|
return AuthenticatedSessionUserAgentDeviceFromJSONTyped(json, false);
|
|
17
16
|
}
|
|
@@ -20,9 +19,9 @@ export function AuthenticatedSessionUserAgentDeviceFromJSONTyped(json, ignoreDis
|
|
|
20
19
|
return json;
|
|
21
20
|
}
|
|
22
21
|
return {
|
|
23
|
-
'brand':
|
|
24
|
-
'family':
|
|
25
|
-
'model':
|
|
22
|
+
'brand': json['brand'],
|
|
23
|
+
'family': json['family'],
|
|
24
|
+
'model': json['model'],
|
|
26
25
|
};
|
|
27
26
|
}
|
|
28
27
|
export function AuthenticatedSessionUserAgentDeviceToJSON(value) {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* User agent os
|
|
14
14
|
* @export
|
|
15
15
|
* @interface AuthenticatedSessionUserAgentOs
|
|
16
16
|
*/
|
|
@@ -20,31 +20,31 @@ export interface AuthenticatedSessionUserAgentOs {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof AuthenticatedSessionUserAgentOs
|
|
22
22
|
*/
|
|
23
|
-
family
|
|
23
|
+
family: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof AuthenticatedSessionUserAgentOs
|
|
28
28
|
*/
|
|
29
|
-
major
|
|
29
|
+
major: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof AuthenticatedSessionUserAgentOs
|
|
34
34
|
*/
|
|
35
|
-
minor
|
|
35
|
+
minor: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof AuthenticatedSessionUserAgentOs
|
|
40
40
|
*/
|
|
41
|
-
patch
|
|
41
|
+
patch: string;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof AuthenticatedSessionUserAgentOs
|
|
46
46
|
*/
|
|
47
|
-
patchMinor
|
|
47
|
+
patchMinor: string;
|
|
48
48
|
}
|
|
49
49
|
export declare function AuthenticatedSessionUserAgentOsFromJSON(json: any): AuthenticatedSessionUserAgentOs;
|
|
50
50
|
export declare function AuthenticatedSessionUserAgentOsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatedSessionUserAgentOs;
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { exists } from '../runtime';
|
|
15
14
|
export function AuthenticatedSessionUserAgentOsFromJSON(json) {
|
|
16
15
|
return AuthenticatedSessionUserAgentOsFromJSONTyped(json, false);
|
|
17
16
|
}
|
|
@@ -20,11 +19,11 @@ export function AuthenticatedSessionUserAgentOsFromJSONTyped(json, ignoreDiscrim
|
|
|
20
19
|
return json;
|
|
21
20
|
}
|
|
22
21
|
return {
|
|
23
|
-
'family':
|
|
24
|
-
'major':
|
|
25
|
-
'minor':
|
|
26
|
-
'patch':
|
|
27
|
-
'patchMinor':
|
|
22
|
+
'family': json['family'],
|
|
23
|
+
'major': json['major'],
|
|
24
|
+
'minor': json['minor'],
|
|
25
|
+
'patch': json['patch'],
|
|
26
|
+
'patchMinor': json['patch_minor'],
|
|
28
27
|
};
|
|
29
28
|
}
|
|
30
29
|
export function AuthenticatedSessionUserAgentOsToJSON(value) {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* User agent browser
|
|
14
14
|
* @export
|
|
15
15
|
* @interface AuthenticatedSessionUserAgentUserAgent
|
|
16
16
|
*/
|
|
@@ -20,25 +20,25 @@ export interface AuthenticatedSessionUserAgentUserAgent {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof AuthenticatedSessionUserAgentUserAgent
|
|
22
22
|
*/
|
|
23
|
-
family
|
|
23
|
+
family: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof AuthenticatedSessionUserAgentUserAgent
|
|
28
28
|
*/
|
|
29
|
-
major
|
|
29
|
+
major: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof AuthenticatedSessionUserAgentUserAgent
|
|
34
34
|
*/
|
|
35
|
-
minor
|
|
35
|
+
minor: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof AuthenticatedSessionUserAgentUserAgent
|
|
40
40
|
*/
|
|
41
|
-
patch
|
|
41
|
+
patch: string;
|
|
42
42
|
}
|
|
43
43
|
export declare function AuthenticatedSessionUserAgentUserAgentFromJSON(json: any): AuthenticatedSessionUserAgentUserAgent;
|
|
44
44
|
export declare function AuthenticatedSessionUserAgentUserAgentFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatedSessionUserAgentUserAgent;
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { exists } from '../runtime';
|
|
15
14
|
export function AuthenticatedSessionUserAgentUserAgentFromJSON(json) {
|
|
16
15
|
return AuthenticatedSessionUserAgentUserAgentFromJSONTyped(json, false);
|
|
17
16
|
}
|
|
@@ -20,10 +19,10 @@ export function AuthenticatedSessionUserAgentUserAgentFromJSONTyped(json, ignore
|
|
|
20
19
|
return json;
|
|
21
20
|
}
|
|
22
21
|
return {
|
|
23
|
-
'family':
|
|
24
|
-
'major':
|
|
25
|
-
'minor':
|
|
26
|
-
'patch':
|
|
22
|
+
'family': json['family'],
|
|
23
|
+
'major': json['major'],
|
|
24
|
+
'minor': json['minor'],
|
|
25
|
+
'patch': json['patch'],
|
|
27
26
|
};
|
|
28
27
|
}
|
|
29
28
|
export function AuthenticatedSessionUserAgentUserAgentToJSON(value) {
|
package/dist/esm/models/Group.js
CHANGED
|
@@ -22,6 +22,7 @@ export function GroupFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
22
22
|
}
|
|
23
23
|
return {
|
|
24
24
|
'pk': json['pk'],
|
|
25
|
+
'numPk': json['num_pk'],
|
|
25
26
|
'name': json['name'],
|
|
26
27
|
'isSuperuser': !exists(json, 'is_superuser') ? undefined : json['is_superuser'],
|
|
27
28
|
'parent': json['parent'],
|
|
@@ -22,6 +22,7 @@ export function InvitationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
22
22
|
}
|
|
23
23
|
return {
|
|
24
24
|
'pk': json['pk'],
|
|
25
|
+
'name': json['name'],
|
|
25
26
|
'expires': !exists(json, 'expires') ? undefined : (new Date(json['expires'])),
|
|
26
27
|
'fixedData': !exists(json, 'fixed_data') ? undefined : json['fixed_data'],
|
|
27
28
|
'createdBy': GroupMemberFromJSON(json['created_by']),
|
|
@@ -36,6 +37,7 @@ export function InvitationToJSON(value) {
|
|
|
36
37
|
return null;
|
|
37
38
|
}
|
|
38
39
|
return {
|
|
40
|
+
'name': value.name,
|
|
39
41
|
'expires': value.expires === undefined ? undefined : (value.expires.toISOString()),
|
|
40
42
|
'fixed_data': value.fixedData,
|
|
41
43
|
'single_use': value.singleUse,
|
|
@@ -20,6 +20,7 @@ export function InvitationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
20
|
return json;
|
|
21
21
|
}
|
|
22
22
|
return {
|
|
23
|
+
'name': json['name'],
|
|
23
24
|
'expires': !exists(json, 'expires') ? undefined : (new Date(json['expires'])),
|
|
24
25
|
'fixedData': !exists(json, 'fixed_data') ? undefined : json['fixed_data'],
|
|
25
26
|
'singleUse': !exists(json, 'single_use') ? undefined : json['single_use'],
|
|
@@ -33,6 +34,7 @@ export function InvitationRequestToJSON(value) {
|
|
|
33
34
|
return null;
|
|
34
35
|
}
|
|
35
36
|
return {
|
|
37
|
+
'name': value.name,
|
|
36
38
|
'expires': value.expires === undefined ? undefined : (value.expires.toISOString()),
|
|
37
39
|
'fixed_data': value.fixedData,
|
|
38
40
|
'single_use': value.singleUse,
|
|
@@ -20,6 +20,7 @@ export function PatchedInvitationRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
20
20
|
return json;
|
|
21
21
|
}
|
|
22
22
|
return {
|
|
23
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
23
24
|
'expires': !exists(json, 'expires') ? undefined : (new Date(json['expires'])),
|
|
24
25
|
'fixedData': !exists(json, 'fixed_data') ? undefined : json['fixed_data'],
|
|
25
26
|
'singleUse': !exists(json, 'single_use') ? undefined : json['single_use'],
|
|
@@ -33,6 +34,7 @@ export function PatchedInvitationRequestToJSON(value) {
|
|
|
33
34
|
return null;
|
|
34
35
|
}
|
|
35
36
|
return {
|
|
37
|
+
'name': value.name,
|
|
36
38
|
'expires': value.expires === undefined ? undefined : (value.expires.toISOString()),
|
|
37
39
|
'fixed_data': value.fixedData,
|
|
38
40
|
'single_use': value.singleUse,
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Runtime information
|
|
14
14
|
* @export
|
|
15
15
|
* @interface SystemRuntime
|
|
16
16
|
*/
|
|
@@ -20,37 +20,37 @@ export interface SystemRuntime {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof SystemRuntime
|
|
22
22
|
*/
|
|
23
|
-
pythonVersion
|
|
23
|
+
pythonVersion: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof SystemRuntime
|
|
28
28
|
*/
|
|
29
|
-
gunicornVersion
|
|
29
|
+
gunicornVersion: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof SystemRuntime
|
|
34
34
|
*/
|
|
35
|
-
environment
|
|
35
|
+
environment: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof SystemRuntime
|
|
40
40
|
*/
|
|
41
|
-
architecture
|
|
41
|
+
architecture: string;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof SystemRuntime
|
|
46
46
|
*/
|
|
47
|
-
platform
|
|
47
|
+
platform: string;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof SystemRuntime
|
|
52
52
|
*/
|
|
53
|
-
uname
|
|
53
|
+
uname: string;
|
|
54
54
|
}
|
|
55
55
|
export declare function SystemRuntimeFromJSON(json: any): SystemRuntime;
|
|
56
56
|
export declare function SystemRuntimeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemRuntime;
|