@digital8/security-registers-backend-ts-sdk 0.0.686 → 0.0.688
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/.openapi-generator/FILES +6 -6
- package/README.md +2 -2
- package/dist/apis/GeneralApi.d.ts +90 -90
- package/dist/apis/GeneralApi.js +402 -402
- package/dist/models/AssetsFileStoreRequest.d.ts +38 -0
- package/dist/models/{StoreAssetFileRequest.js → AssetsFileStoreRequest.js} +13 -13
- package/dist/models/AuthForgotPasswordRequest.d.ts +32 -0
- package/dist/models/AuthForgotPasswordRequest.js +51 -0
- package/dist/models/AuthResetPasswordRequest.d.ts +44 -0
- package/dist/models/{ResetPasswordAuthRequest.js → AuthResetPasswordRequest.js} +13 -13
- package/dist/models/PagingMetadata.d.ts +4 -4
- package/dist/models/UsersListAllRequest.d.ts +112 -0
- package/dist/models/{IndexMinimalUserRequest.js → UsersListAllRequest.js} +17 -17
- package/dist/models/UsersListRequest.d.ts +124 -0
- package/dist/models/{IndexUserRequest.js → UsersListRequest.js} +17 -17
- package/dist/models/UsersUpdateRequest.d.ts +78 -0
- package/dist/models/{UpdateUserRequest.js → UsersUpdateRequest.js} +15 -15
- package/dist/models/index.d.ts +6 -6
- package/dist/models/index.js +6 -6
- package/package.json +1 -1
- package/src/apis/GeneralApi.ts +402 -402
- package/src/models/{StoreAssetFileRequest.ts → AssetsFileStoreRequest.ts} +12 -12
- package/src/models/AuthForgotPasswordRequest.ts +66 -0
- package/src/models/{ResetPasswordAuthRequest.ts → AuthResetPasswordRequest.ts} +13 -13
- package/src/models/PagingMetadata.ts +4 -4
- package/src/models/{IndexMinimalUserRequest.ts → UsersListAllRequest.ts} +29 -29
- package/src/models/{IndexUserRequest.ts → UsersListRequest.ts} +31 -31
- package/src/models/{UpdateUserRequest.ts → UsersUpdateRequest.ts} +20 -20
- package/src/models/index.ts +6 -6
- package/dist/models/IndexMinimalUserRequest.d.ts +0 -112
- package/dist/models/IndexUserRequest.d.ts +0 -124
- package/dist/models/ResetPasswordAuthRequest.d.ts +0 -44
- package/dist/models/SendForgotPasswordLinkAuthRequest.d.ts +0 -32
- package/dist/models/SendForgotPasswordLinkAuthRequest.js +0 -51
- package/dist/models/StoreAssetFileRequest.d.ts +0 -38
- package/dist/models/UpdateUserRequest.d.ts +0 -78
- package/src/models/SendForgotPasswordLinkAuthRequest.ts +0 -66
package/src/models/index.ts
CHANGED
|
@@ -8,13 +8,16 @@ export * from './AssetLiteResource';
|
|
|
8
8
|
export * from './AssetLiteResourceArrayResponse';
|
|
9
9
|
export * from './AssetResource';
|
|
10
10
|
export * from './AssetResourceArrayResponse';
|
|
11
|
+
export * from './AssetsFileStoreRequest';
|
|
11
12
|
export * from './AuthChangePasswordRequest';
|
|
13
|
+
export * from './AuthForgotPasswordRequest';
|
|
12
14
|
export * from './AuthLoginWebRequest';
|
|
13
15
|
export * from './AuthProfileUpdateRequest';
|
|
14
16
|
export * from './AuthRegisterGuardFileRequest';
|
|
15
17
|
export * from './AuthRegisterGuardRequest';
|
|
16
18
|
export * from './AuthRegisterGuardRequestLicencesInner';
|
|
17
19
|
export * from './AuthRegisterGuardRequestProfileSignature';
|
|
20
|
+
export * from './AuthResetPasswordRequest';
|
|
18
21
|
export * from './BackAsset';
|
|
19
22
|
export * from './CurrentRegisterResource';
|
|
20
23
|
export * from './CurrentRegisterResourceArrayResponse';
|
|
@@ -61,8 +64,6 @@ export * from './IncidentsUpdateRequest';
|
|
|
61
64
|
export * from './IncidentsUpdateTitleRequest';
|
|
62
65
|
export * from './IncidentsVideosStoreRequest';
|
|
63
66
|
export * from './IncidentsVideosUploadTokenRequest';
|
|
64
|
-
export * from './IndexMinimalUserRequest';
|
|
65
|
-
export * from './IndexUserRequest';
|
|
66
67
|
export * from './LicenceCheckLogResource';
|
|
67
68
|
export * from './LicenceCheckLogResourceArrayResponse';
|
|
68
69
|
export * from './LicenceListResource';
|
|
@@ -127,7 +128,6 @@ export * from './RegistersListRequest';
|
|
|
127
128
|
export * from './RegistersSignOffRequest';
|
|
128
129
|
export * from './RegistersSignOnRequest';
|
|
129
130
|
export * from './RegistersUpdateRequest';
|
|
130
|
-
export * from './ResetPasswordAuthRequest';
|
|
131
131
|
export * from './RosterListResource';
|
|
132
132
|
export * from './RosterListResourceArrayResponse';
|
|
133
133
|
export * from './RosterLiteResource';
|
|
@@ -151,11 +151,8 @@ export * from './SecurityCompanyLiteResource';
|
|
|
151
151
|
export * from './SecurityCompanyLiteResourceArrayResponse';
|
|
152
152
|
export * from './SecurityCompanyResource';
|
|
153
153
|
export * from './SecurityCompanyResourceArrayResponse';
|
|
154
|
-
export * from './SendForgotPasswordLinkAuthRequest';
|
|
155
154
|
export * from './SettingsLicenceVerificationFallbackUpdateRequest';
|
|
156
|
-
export * from './StoreAssetFileRequest';
|
|
157
155
|
export * from './StoreUserRequest';
|
|
158
|
-
export * from './UpdateUserRequest';
|
|
159
156
|
export * from './UserAuthTokenResource';
|
|
160
157
|
export * from './UserAuthTokenResourceArrayResponse';
|
|
161
158
|
export * from './UserLiteResource';
|
|
@@ -170,7 +167,10 @@ export * from './UsersAttachSecurityCompaniesRequest';
|
|
|
170
167
|
export * from './UsersAttachVenuesRequest';
|
|
171
168
|
export * from './UsersCreateWithRoleRequest';
|
|
172
169
|
export * from './UsersDetachVenuesRequest';
|
|
170
|
+
export * from './UsersListAllRequest';
|
|
171
|
+
export * from './UsersListRequest';
|
|
173
172
|
export * from './UsersRegisterVenueManagerRequest';
|
|
173
|
+
export * from './UsersUpdateRequest';
|
|
174
174
|
export * from './VenueGuardScheduleResource';
|
|
175
175
|
export * from './VenueGuardScheduleResourceArrayResponse';
|
|
176
176
|
export * from './VenueLiteResource';
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Security Registers API
|
|
3
|
-
* API for the Security Registers compliance platform: guard rosters, sign-on/off registers, incidents, and licence verification.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface IndexMinimalUserRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface IndexMinimalUserRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof IndexMinimalUserRequest
|
|
22
|
-
*/
|
|
23
|
-
search?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof IndexMinimalUserRequest
|
|
28
|
-
*/
|
|
29
|
-
sortBy?: IndexMinimalUserRequestSortByEnum;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof IndexMinimalUserRequest
|
|
34
|
-
*/
|
|
35
|
-
sortDirection?: IndexMinimalUserRequestSortDirectionEnum;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof IndexMinimalUserRequest
|
|
40
|
-
*/
|
|
41
|
-
relatedId?: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof IndexMinimalUserRequest
|
|
46
|
-
*/
|
|
47
|
-
relatedType?: IndexMinimalUserRequestRelatedTypeEnum;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {boolean}
|
|
51
|
-
* @memberof IndexMinimalUserRequest
|
|
52
|
-
*/
|
|
53
|
-
includesRelations?: boolean;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {Array<string>}
|
|
57
|
-
* @memberof IndexMinimalUserRequest
|
|
58
|
-
*/
|
|
59
|
-
venuesId?: Array<string>;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {Array<string>}
|
|
63
|
-
* @memberof IndexMinimalUserRequest
|
|
64
|
-
*/
|
|
65
|
-
securityCompaniesId?: Array<string>;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {Array<string>}
|
|
69
|
-
* @memberof IndexMinimalUserRequest
|
|
70
|
-
*/
|
|
71
|
-
rolesName?: Array<string>;
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {Array<string>}
|
|
75
|
-
* @memberof IndexMinimalUserRequest
|
|
76
|
-
*/
|
|
77
|
-
rolesId?: Array<string>;
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* @export
|
|
81
|
-
*/
|
|
82
|
-
export declare const IndexMinimalUserRequestSortByEnum: {
|
|
83
|
-
readonly FirstName: "first_name";
|
|
84
|
-
readonly LastName: "last_name";
|
|
85
|
-
readonly Email: "email";
|
|
86
|
-
readonly Mobile: "mobile";
|
|
87
|
-
};
|
|
88
|
-
export type IndexMinimalUserRequestSortByEnum = typeof IndexMinimalUserRequestSortByEnum[keyof typeof IndexMinimalUserRequestSortByEnum];
|
|
89
|
-
/**
|
|
90
|
-
* @export
|
|
91
|
-
*/
|
|
92
|
-
export declare const IndexMinimalUserRequestSortDirectionEnum: {
|
|
93
|
-
readonly Asc: "asc";
|
|
94
|
-
readonly Desc: "desc";
|
|
95
|
-
};
|
|
96
|
-
export type IndexMinimalUserRequestSortDirectionEnum = typeof IndexMinimalUserRequestSortDirectionEnum[keyof typeof IndexMinimalUserRequestSortDirectionEnum];
|
|
97
|
-
/**
|
|
98
|
-
* @export
|
|
99
|
-
*/
|
|
100
|
-
export declare const IndexMinimalUserRequestRelatedTypeEnum: {
|
|
101
|
-
readonly Venue: "venue";
|
|
102
|
-
readonly SecurityCompany: "securityCompany";
|
|
103
|
-
};
|
|
104
|
-
export type IndexMinimalUserRequestRelatedTypeEnum = typeof IndexMinimalUserRequestRelatedTypeEnum[keyof typeof IndexMinimalUserRequestRelatedTypeEnum];
|
|
105
|
-
/**
|
|
106
|
-
* Check if a given object implements the IndexMinimalUserRequest interface.
|
|
107
|
-
*/
|
|
108
|
-
export declare function instanceOfIndexMinimalUserRequest(value: object): value is IndexMinimalUserRequest;
|
|
109
|
-
export declare function IndexMinimalUserRequestFromJSON(json: any): IndexMinimalUserRequest;
|
|
110
|
-
export declare function IndexMinimalUserRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexMinimalUserRequest;
|
|
111
|
-
export declare function IndexMinimalUserRequestToJSON(json: any): IndexMinimalUserRequest;
|
|
112
|
-
export declare function IndexMinimalUserRequestToJSONTyped(value?: IndexMinimalUserRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Security Registers API
|
|
3
|
-
* API for the Security Registers compliance platform: guard rosters, sign-on/off registers, incidents, and licence verification.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface IndexUserRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface IndexUserRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof IndexUserRequest
|
|
22
|
-
*/
|
|
23
|
-
search?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof IndexUserRequest
|
|
28
|
-
*/
|
|
29
|
-
sortBy?: IndexUserRequestSortByEnum;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof IndexUserRequest
|
|
34
|
-
*/
|
|
35
|
-
sortDirection?: IndexUserRequestSortDirectionEnum;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof IndexUserRequest
|
|
40
|
-
*/
|
|
41
|
-
perPage?: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof IndexUserRequest
|
|
46
|
-
*/
|
|
47
|
-
page?: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {Array<string>}
|
|
51
|
-
* @memberof IndexUserRequest
|
|
52
|
-
*/
|
|
53
|
-
venuesId?: Array<string>;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {Array<string>}
|
|
57
|
-
* @memberof IndexUserRequest
|
|
58
|
-
*/
|
|
59
|
-
securityCompaniesId?: Array<string>;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {Array<string>}
|
|
63
|
-
* @memberof IndexUserRequest
|
|
64
|
-
*/
|
|
65
|
-
rolesName?: Array<string>;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {Array<string>}
|
|
69
|
-
* @memberof IndexUserRequest
|
|
70
|
-
*/
|
|
71
|
-
rolesId?: Array<string>;
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {number}
|
|
75
|
-
* @memberof IndexUserRequest
|
|
76
|
-
*/
|
|
77
|
-
relatedId?: number;
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* @type {string}
|
|
81
|
-
* @memberof IndexUserRequest
|
|
82
|
-
*/
|
|
83
|
-
relatedType?: IndexUserRequestRelatedTypeEnum;
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* @type {boolean}
|
|
87
|
-
* @memberof IndexUserRequest
|
|
88
|
-
*/
|
|
89
|
-
includesRelations?: boolean;
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* @export
|
|
93
|
-
*/
|
|
94
|
-
export declare const IndexUserRequestSortByEnum: {
|
|
95
|
-
readonly FirstName: "first_name";
|
|
96
|
-
readonly LastName: "last_name";
|
|
97
|
-
readonly Email: "email";
|
|
98
|
-
readonly Mobile: "mobile";
|
|
99
|
-
};
|
|
100
|
-
export type IndexUserRequestSortByEnum = typeof IndexUserRequestSortByEnum[keyof typeof IndexUserRequestSortByEnum];
|
|
101
|
-
/**
|
|
102
|
-
* @export
|
|
103
|
-
*/
|
|
104
|
-
export declare const IndexUserRequestSortDirectionEnum: {
|
|
105
|
-
readonly Asc: "asc";
|
|
106
|
-
readonly Desc: "desc";
|
|
107
|
-
};
|
|
108
|
-
export type IndexUserRequestSortDirectionEnum = typeof IndexUserRequestSortDirectionEnum[keyof typeof IndexUserRequestSortDirectionEnum];
|
|
109
|
-
/**
|
|
110
|
-
* @export
|
|
111
|
-
*/
|
|
112
|
-
export declare const IndexUserRequestRelatedTypeEnum: {
|
|
113
|
-
readonly Venue: "venue";
|
|
114
|
-
readonly SecurityCompany: "securityCompany";
|
|
115
|
-
};
|
|
116
|
-
export type IndexUserRequestRelatedTypeEnum = typeof IndexUserRequestRelatedTypeEnum[keyof typeof IndexUserRequestRelatedTypeEnum];
|
|
117
|
-
/**
|
|
118
|
-
* Check if a given object implements the IndexUserRequest interface.
|
|
119
|
-
*/
|
|
120
|
-
export declare function instanceOfIndexUserRequest(value: object): value is IndexUserRequest;
|
|
121
|
-
export declare function IndexUserRequestFromJSON(json: any): IndexUserRequest;
|
|
122
|
-
export declare function IndexUserRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexUserRequest;
|
|
123
|
-
export declare function IndexUserRequestToJSON(json: any): IndexUserRequest;
|
|
124
|
-
export declare function IndexUserRequestToJSONTyped(value?: IndexUserRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Security Registers API
|
|
3
|
-
* API for the Security Registers compliance platform: guard rosters, sign-on/off registers, incidents, and licence verification.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ResetPasswordAuthRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface ResetPasswordAuthRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ResetPasswordAuthRequest
|
|
22
|
-
*/
|
|
23
|
-
email: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ResetPasswordAuthRequest
|
|
28
|
-
*/
|
|
29
|
-
password: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ResetPasswordAuthRequest
|
|
34
|
-
*/
|
|
35
|
-
token: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the ResetPasswordAuthRequest interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfResetPasswordAuthRequest(value: object): value is ResetPasswordAuthRequest;
|
|
41
|
-
export declare function ResetPasswordAuthRequestFromJSON(json: any): ResetPasswordAuthRequest;
|
|
42
|
-
export declare function ResetPasswordAuthRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResetPasswordAuthRequest;
|
|
43
|
-
export declare function ResetPasswordAuthRequestToJSON(json: any): ResetPasswordAuthRequest;
|
|
44
|
-
export declare function ResetPasswordAuthRequestToJSONTyped(value?: ResetPasswordAuthRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Security Registers API
|
|
3
|
-
* API for the Security Registers compliance platform: guard rosters, sign-on/off registers, incidents, and licence verification.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface SendForgotPasswordLinkAuthRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface SendForgotPasswordLinkAuthRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof SendForgotPasswordLinkAuthRequest
|
|
22
|
-
*/
|
|
23
|
-
email: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the SendForgotPasswordLinkAuthRequest interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfSendForgotPasswordLinkAuthRequest(value: object): value is SendForgotPasswordLinkAuthRequest;
|
|
29
|
-
export declare function SendForgotPasswordLinkAuthRequestFromJSON(json: any): SendForgotPasswordLinkAuthRequest;
|
|
30
|
-
export declare function SendForgotPasswordLinkAuthRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SendForgotPasswordLinkAuthRequest;
|
|
31
|
-
export declare function SendForgotPasswordLinkAuthRequestToJSON(json: any): SendForgotPasswordLinkAuthRequest;
|
|
32
|
-
export declare function SendForgotPasswordLinkAuthRequestToJSONTyped(value?: SendForgotPasswordLinkAuthRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Security Registers API
|
|
6
|
-
* API for the Security Registers compliance platform: guard rosters, sign-on/off registers, incidents, and licence verification.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfSendForgotPasswordLinkAuthRequest = instanceOfSendForgotPasswordLinkAuthRequest;
|
|
17
|
-
exports.SendForgotPasswordLinkAuthRequestFromJSON = SendForgotPasswordLinkAuthRequestFromJSON;
|
|
18
|
-
exports.SendForgotPasswordLinkAuthRequestFromJSONTyped = SendForgotPasswordLinkAuthRequestFromJSONTyped;
|
|
19
|
-
exports.SendForgotPasswordLinkAuthRequestToJSON = SendForgotPasswordLinkAuthRequestToJSON;
|
|
20
|
-
exports.SendForgotPasswordLinkAuthRequestToJSONTyped = SendForgotPasswordLinkAuthRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the SendForgotPasswordLinkAuthRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfSendForgotPasswordLinkAuthRequest(value) {
|
|
25
|
-
if (!('email' in value) || value['email'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function SendForgotPasswordLinkAuthRequestFromJSON(json) {
|
|
30
|
-
return SendForgotPasswordLinkAuthRequestFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function SendForgotPasswordLinkAuthRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'email': json['email'],
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
function SendForgotPasswordLinkAuthRequestToJSON(json) {
|
|
41
|
-
return SendForgotPasswordLinkAuthRequestToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function SendForgotPasswordLinkAuthRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'email': value['email'],
|
|
50
|
-
};
|
|
51
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Security Registers API
|
|
3
|
-
* API for the Security Registers compliance platform: guard rosters, sign-on/off registers, incidents, and licence verification.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface StoreAssetFileRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface StoreAssetFileRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof StoreAssetFileRequest
|
|
22
|
-
*/
|
|
23
|
-
fileName: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof StoreAssetFileRequest
|
|
28
|
-
*/
|
|
29
|
-
fileType: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the StoreAssetFileRequest interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfStoreAssetFileRequest(value: object): value is StoreAssetFileRequest;
|
|
35
|
-
export declare function StoreAssetFileRequestFromJSON(json: any): StoreAssetFileRequest;
|
|
36
|
-
export declare function StoreAssetFileRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreAssetFileRequest;
|
|
37
|
-
export declare function StoreAssetFileRequestToJSON(json: any): StoreAssetFileRequest;
|
|
38
|
-
export declare function StoreAssetFileRequestToJSONTyped(value?: StoreAssetFileRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Security Registers API
|
|
3
|
-
* API for the Security Registers compliance platform: guard rosters, sign-on/off registers, incidents, and licence verification.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface UpdateUserRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface UpdateUserRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof UpdateUserRequest
|
|
22
|
-
*/
|
|
23
|
-
firstName?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof UpdateUserRequest
|
|
28
|
-
*/
|
|
29
|
-
lastName?: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof UpdateUserRequest
|
|
34
|
-
*/
|
|
35
|
-
email: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof UpdateUserRequest
|
|
40
|
-
*/
|
|
41
|
-
mobile?: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof UpdateUserRequest
|
|
46
|
-
*/
|
|
47
|
-
password?: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof UpdateUserRequest
|
|
52
|
-
*/
|
|
53
|
-
signatureAssetId?: number;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {Array<string>}
|
|
57
|
-
* @memberof UpdateUserRequest
|
|
58
|
-
*/
|
|
59
|
-
roles?: Array<UpdateUserRequestRolesEnum>;
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* @export
|
|
63
|
-
*/
|
|
64
|
-
export declare const UpdateUserRequestRolesEnum: {
|
|
65
|
-
readonly SecurityCompanyManager: "security_company_manager";
|
|
66
|
-
readonly VenueManager: "venue_manager";
|
|
67
|
-
readonly VenueStaff: "venue_staff";
|
|
68
|
-
readonly VenueGuard: "venue_guard";
|
|
69
|
-
};
|
|
70
|
-
export type UpdateUserRequestRolesEnum = typeof UpdateUserRequestRolesEnum[keyof typeof UpdateUserRequestRolesEnum];
|
|
71
|
-
/**
|
|
72
|
-
* Check if a given object implements the UpdateUserRequest interface.
|
|
73
|
-
*/
|
|
74
|
-
export declare function instanceOfUpdateUserRequest(value: object): value is UpdateUserRequest;
|
|
75
|
-
export declare function UpdateUserRequestFromJSON(json: any): UpdateUserRequest;
|
|
76
|
-
export declare function UpdateUserRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateUserRequest;
|
|
77
|
-
export declare function UpdateUserRequestToJSON(json: any): UpdateUserRequest;
|
|
78
|
-
export declare function UpdateUserRequestToJSONTyped(value?: UpdateUserRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Security Registers API
|
|
5
|
-
* API for the Security Registers compliance platform: guard rosters, sign-on/off registers, incidents, and licence verification.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface SendForgotPasswordLinkAuthRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface SendForgotPasswordLinkAuthRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof SendForgotPasswordLinkAuthRequest
|
|
26
|
-
*/
|
|
27
|
-
email: string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Check if a given object implements the SendForgotPasswordLinkAuthRequest interface.
|
|
32
|
-
*/
|
|
33
|
-
export function instanceOfSendForgotPasswordLinkAuthRequest(value: object): value is SendForgotPasswordLinkAuthRequest {
|
|
34
|
-
if (!('email' in value) || value['email'] === undefined) return false;
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export function SendForgotPasswordLinkAuthRequestFromJSON(json: any): SendForgotPasswordLinkAuthRequest {
|
|
39
|
-
return SendForgotPasswordLinkAuthRequestFromJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export function SendForgotPasswordLinkAuthRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SendForgotPasswordLinkAuthRequest {
|
|
43
|
-
if (json == null) {
|
|
44
|
-
return json;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
|
|
48
|
-
'email': json['email'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function SendForgotPasswordLinkAuthRequestToJSON(json: any): SendForgotPasswordLinkAuthRequest {
|
|
53
|
-
return SendForgotPasswordLinkAuthRequestToJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function SendForgotPasswordLinkAuthRequestToJSONTyped(value?: SendForgotPasswordLinkAuthRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
-
if (value == null) {
|
|
58
|
-
return value;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
return {
|
|
62
|
-
|
|
63
|
-
'email': value['email'],
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
|