@digital8/security-registers-backend-ts-sdk 0.0.843 → 0.0.845
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 +1 -0
- package/README.md +2 -2
- package/dist/models/TokenAbility.d.ts +24 -0
- package/dist/models/TokenAbility.js +50 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
- package/src/models/TokenAbility.ts +52 -0
- package/src/models/index.ts +1 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -185,6 +185,7 @@ src/models/SecurityCompanyResource.ts
|
|
|
185
185
|
src/models/SecurityCompanyResourceArrayResponse.ts
|
|
186
186
|
src/models/SettingsLicenceVerificationFallbackUpdateRequest.ts
|
|
187
187
|
src/models/SignOffStatus.ts
|
|
188
|
+
src/models/TokenAbility.ts
|
|
188
189
|
src/models/UserAuthTokenResource.ts
|
|
189
190
|
src/models/UserAuthTokenResourceArrayResponse.ts
|
|
190
191
|
src/models/UserListResource.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @digital8/security-registers-backend-ts-sdk@0.0.
|
|
1
|
+
## @digital8/security-registers-backend-ts-sdk@0.0.845
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @digital8/security-registers-backend-ts-sdk@0.0.
|
|
39
|
+
npm install @digital8/security-registers-backend-ts-sdk@0.0.845 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const TokenAbility: {
|
|
17
|
+
readonly GuardScoped: "guard-scoped";
|
|
18
|
+
};
|
|
19
|
+
export type TokenAbility = typeof TokenAbility[keyof typeof TokenAbility];
|
|
20
|
+
export declare function instanceOfTokenAbility(value: any): boolean;
|
|
21
|
+
export declare function TokenAbilityFromJSON(json: any): TokenAbility;
|
|
22
|
+
export declare function TokenAbilityFromJSONTyped(json: any, ignoreDiscriminator: boolean): TokenAbility;
|
|
23
|
+
export declare function TokenAbilityToJSON(value?: TokenAbility | null): any;
|
|
24
|
+
export declare function TokenAbilityToJSONTyped(value: any, ignoreDiscriminator: boolean): TokenAbility;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.TokenAbility = void 0;
|
|
17
|
+
exports.instanceOfTokenAbility = instanceOfTokenAbility;
|
|
18
|
+
exports.TokenAbilityFromJSON = TokenAbilityFromJSON;
|
|
19
|
+
exports.TokenAbilityFromJSONTyped = TokenAbilityFromJSONTyped;
|
|
20
|
+
exports.TokenAbilityToJSON = TokenAbilityToJSON;
|
|
21
|
+
exports.TokenAbilityToJSONTyped = TokenAbilityToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.TokenAbility = {
|
|
27
|
+
GuardScoped: 'guard-scoped'
|
|
28
|
+
};
|
|
29
|
+
function instanceOfTokenAbility(value) {
|
|
30
|
+
for (var key in exports.TokenAbility) {
|
|
31
|
+
if (Object.prototype.hasOwnProperty.call(exports.TokenAbility, key)) {
|
|
32
|
+
if (exports.TokenAbility[key] === value) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
function TokenAbilityFromJSON(json) {
|
|
40
|
+
return TokenAbilityFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function TokenAbilityFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
function TokenAbilityToJSON(value) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
function TokenAbilityToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -177,6 +177,7 @@ export * from './SecurityCompanyResource';
|
|
|
177
177
|
export * from './SecurityCompanyResourceArrayResponse';
|
|
178
178
|
export * from './SettingsLicenceVerificationFallbackUpdateRequest';
|
|
179
179
|
export * from './SignOffStatus';
|
|
180
|
+
export * from './TokenAbility';
|
|
180
181
|
export * from './UserAuthTokenResource';
|
|
181
182
|
export * from './UserAuthTokenResourceArrayResponse';
|
|
182
183
|
export * from './UserListResource';
|
package/dist/models/index.js
CHANGED
|
@@ -195,6 +195,7 @@ __exportStar(require("./SecurityCompanyResource"), exports);
|
|
|
195
195
|
__exportStar(require("./SecurityCompanyResourceArrayResponse"), exports);
|
|
196
196
|
__exportStar(require("./SettingsLicenceVerificationFallbackUpdateRequest"), exports);
|
|
197
197
|
__exportStar(require("./SignOffStatus"), exports);
|
|
198
|
+
__exportStar(require("./TokenAbility"), exports);
|
|
198
199
|
__exportStar(require("./UserAuthTokenResource"), exports);
|
|
199
200
|
__exportStar(require("./UserAuthTokenResourceArrayResponse"), exports);
|
|
200
201
|
__exportStar(require("./UserListResource"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const TokenAbility = {
|
|
21
|
+
GuardScoped: 'guard-scoped'
|
|
22
|
+
} as const;
|
|
23
|
+
export type TokenAbility = typeof TokenAbility[keyof typeof TokenAbility];
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
export function instanceOfTokenAbility(value: any): boolean {
|
|
27
|
+
for (const key in TokenAbility) {
|
|
28
|
+
if (Object.prototype.hasOwnProperty.call(TokenAbility, key)) {
|
|
29
|
+
if (TokenAbility[key as keyof typeof TokenAbility] === value) {
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export function TokenAbilityFromJSON(json: any): TokenAbility {
|
|
38
|
+
return TokenAbilityFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function TokenAbilityFromJSONTyped(json: any, ignoreDiscriminator: boolean): TokenAbility {
|
|
42
|
+
return json as TokenAbility;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function TokenAbilityToJSON(value?: TokenAbility | null): any {
|
|
46
|
+
return value as any;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function TokenAbilityToJSONTyped(value: any, ignoreDiscriminator: boolean): TokenAbility {
|
|
50
|
+
return value as TokenAbility;
|
|
51
|
+
}
|
|
52
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -179,6 +179,7 @@ export * from './SecurityCompanyResource';
|
|
|
179
179
|
export * from './SecurityCompanyResourceArrayResponse';
|
|
180
180
|
export * from './SettingsLicenceVerificationFallbackUpdateRequest';
|
|
181
181
|
export * from './SignOffStatus';
|
|
182
|
+
export * from './TokenAbility';
|
|
182
183
|
export * from './UserAuthTokenResource';
|
|
183
184
|
export * from './UserAuthTokenResourceArrayResponse';
|
|
184
185
|
export * from './UserListResource';
|