@forgerock/davinci-client 0.0.0-beta-20250414113129 → 0.0.0-beta-20250414115256
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/src/index.d.ts +2 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +2 -1
- package/dist/src/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/src/lib/device.store.d.ts +0 -126
- package/dist/src/lib/device.store.d.ts.map +0 -1
- package/dist/src/lib/device.store.js +0 -200
- package/dist/src/lib/device.store.js.map +0 -1
- package/dist/src/lib/services/index.d.ts +0 -24
- package/dist/src/lib/services/index.d.ts.map +0 -1
- package/dist/src/lib/services/index.js +0 -81
- package/dist/src/lib/services/index.js.map +0 -1
- package/dist/src/lib/types/binding-device.types.d.ts +0 -31
- package/dist/src/lib/types/binding-device.types.d.ts.map +0 -1
- package/dist/src/lib/types/binding-device.types.js +0 -2
- package/dist/src/lib/types/binding-device.types.js.map +0 -1
- package/dist/src/lib/types/index.d.ts +0 -6
- package/dist/src/lib/types/index.d.ts.map +0 -1
- package/dist/src/lib/types/index.js +0 -12
- package/dist/src/lib/types/index.js.map +0 -1
- package/dist/src/lib/types/oath.types.d.ts +0 -41
- package/dist/src/lib/types/oath.types.d.ts.map +0 -1
- package/dist/src/lib/types/oath.types.js +0 -2
- package/dist/src/lib/types/oath.types.js.map +0 -1
- package/dist/src/lib/types/push-device.types.d.ts +0 -84
- package/dist/src/lib/types/push-device.types.d.ts.map +0 -1
- package/dist/src/lib/types/push-device.types.js +0 -2
- package/dist/src/lib/types/push-device.types.js.map +0 -1
- package/dist/src/lib/types/updateDeviceProfile.types.d.ts +0 -58
- package/dist/src/lib/types/updateDeviceProfile.types.d.ts.map +0 -1
- package/dist/src/lib/types/updateDeviceProfile.types.js +0 -2
- package/dist/src/lib/types/updateDeviceProfile.types.js.map +0 -1
- package/dist/src/lib/types/webauthn.types.d.ts +0 -69
- package/dist/src/lib/types/webauthn.types.d.ts.map +0 -1
- package/dist/src/lib/types/webauthn.types.js +0 -2
- package/dist/src/lib/types/webauthn.types.js.map +0 -1
package/dist/src/index.d.ts
CHANGED
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
package/dist/src/index.js
CHANGED
|
@@ -4,5 +4,6 @@
|
|
|
4
4
|
* This software may be modified and distributed under the terms
|
|
5
5
|
* of the MIT license. See the LICENSE file for details.
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
import { davinci } from './lib/client.store.js';
|
|
8
|
+
export { davinci };
|
|
8
9
|
//# sourceMappingURL=index.js.map
|
package/dist/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
import { type ConfigOptions } from '@forgerock/javascript-sdk';
|
|
2
|
-
import { DeleteOathQuery, OathDevice, RetrieveOathQuery } from './types/oath.types.js';
|
|
3
|
-
import { DeleteDeviceQuery, PushDeviceQuery } from './types/push-device.types.js';
|
|
4
|
-
import { WebAuthnBody, WebAuthnQuery, WebAuthnQueryWithUUID } from './types/webauthn.types.js';
|
|
5
|
-
import { BindingDeviceQuery } from './types/binding-device.types.js';
|
|
6
|
-
export declare const deviceClient: (config: ConfigOptions) => {
|
|
7
|
-
/**
|
|
8
|
-
* Oath device management methods.
|
|
9
|
-
*
|
|
10
|
-
* @type {OathManagement}
|
|
11
|
-
*/
|
|
12
|
-
oath: {
|
|
13
|
-
/**
|
|
14
|
-
* Retrieves Oath devices based on the specified query.
|
|
15
|
-
*
|
|
16
|
-
* @async
|
|
17
|
-
* @function get
|
|
18
|
-
* @param {RetrieveOathQuery} query - The query used to retrieve Oath devices.
|
|
19
|
-
* @returns {Promise<OAthResponse>} - A promise that resolves to the retrieved data or undefined if the response is not valid.
|
|
20
|
-
*/
|
|
21
|
-
get: (query: RetrieveOathQuery) => Promise<import("./types/oath.types.js").OAthResponse | undefined>;
|
|
22
|
-
/**
|
|
23
|
-
* Deletes an Oath device based on the provided query and device information.
|
|
24
|
-
*
|
|
25
|
-
* @async
|
|
26
|
-
* @function delete
|
|
27
|
-
* @param {DeleteOathQuery & OathDevice} query - The query and device information used to delete the Oath device.
|
|
28
|
-
* @returns {Promise<DeletedOAthDevice>} - A promise that resolves to the response data or undefined if the response is not valid.
|
|
29
|
-
*/
|
|
30
|
-
delete: (query: DeleteOathQuery & OathDevice) => Promise<import("./types/oath.types.js").DeletedOAthDevice | undefined>;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* Push device management methods.
|
|
34
|
-
*
|
|
35
|
-
* @type {PushManagement}
|
|
36
|
-
*/
|
|
37
|
-
push: {
|
|
38
|
-
/**
|
|
39
|
-
* Retrieves Push devices based on the specified query.
|
|
40
|
-
*
|
|
41
|
-
* @async
|
|
42
|
-
* @function get
|
|
43
|
-
* @param {PushDeviceQuery} query - The query used to retrieve Push devices.
|
|
44
|
-
* @returns {Promise<PushDevicesResponse | undefined>} - A promise that resolves to the retrieved data or undefined if the response is not valid.
|
|
45
|
-
*/
|
|
46
|
-
get: (query: PushDeviceQuery) => Promise<import("./types/push-device.types.js").PushDevicesResponse | undefined>;
|
|
47
|
-
/**
|
|
48
|
-
* Deletes a Push device based on the provided query.
|
|
49
|
-
*
|
|
50
|
-
* @async
|
|
51
|
-
* @function delete
|
|
52
|
-
* @param {DeleteDeviceQuery} query - The query used to delete the Push device.
|
|
53
|
-
* @returns {Promise<PushDevice>} - A promise that resolves to the response data or undefined if the response is not valid.
|
|
54
|
-
*/
|
|
55
|
-
delete: (query: DeleteDeviceQuery) => Promise<import("./types/push-device.types.js").PushDevice | undefined>;
|
|
56
|
-
};
|
|
57
|
-
/**
|
|
58
|
-
* WebAuthn device management methods.
|
|
59
|
-
*
|
|
60
|
-
* @type {WebAuthnManagement}
|
|
61
|
-
*/
|
|
62
|
-
webauthn: {
|
|
63
|
-
/**
|
|
64
|
-
* Retrieves WebAuthn devices based on the specified query.
|
|
65
|
-
*
|
|
66
|
-
* @async
|
|
67
|
-
* @function get
|
|
68
|
-
* @param {WebAuthnQuery} query - The query used to retrieve WebAuthn devices.
|
|
69
|
-
* @returns {Promise<WebAuthnDevicesResponse>} - A promise that resolves to the retrieved data or undefined if the response is not valid.
|
|
70
|
-
*/
|
|
71
|
-
get: (query: WebAuthnQuery) => Promise<import("./types/webauthn.types.js").WebAuthnDevicesResponse | undefined>;
|
|
72
|
-
/**
|
|
73
|
-
* Updates the name of a WebAuthn device based on the provided query and body.
|
|
74
|
-
*
|
|
75
|
-
* @async
|
|
76
|
-
* @function update
|
|
77
|
-
* @param {WebAuthnQueryWithUUID & WebAuthnBody} query - The query and body used to update the WebAuthn device name.
|
|
78
|
-
* @returns {Promise<UpdatedWebAuthnDevice | undefined>} - A promise that resolves to the response data or undefined if the response is not valid.
|
|
79
|
-
*/
|
|
80
|
-
update: (query: WebAuthnQueryWithUUID & WebAuthnBody) => Promise<import("./types/webauthn.types.js").UpdatedWebAuthnDevice | undefined>;
|
|
81
|
-
/**
|
|
82
|
-
* Deletes a WebAuthn device based on the provided query and body.
|
|
83
|
-
*
|
|
84
|
-
* @async
|
|
85
|
-
* @function delete
|
|
86
|
-
* @param {WebAuthnQueryWithUUID & WebAuthnBody} query - The query and body used to delete the WebAuthn device.
|
|
87
|
-
* @returns {Promise<WebAuthnDevice | undefined>} - A promise that resolves to the response data or undefined if the response is not valid.
|
|
88
|
-
*/
|
|
89
|
-
delete: (query: WebAuthnQueryWithUUID & WebAuthnBody) => Promise<import("./types/webauthn.types.js").WebAuthnDevice | undefined>;
|
|
90
|
-
};
|
|
91
|
-
/**
|
|
92
|
-
* Bound devices management methods.
|
|
93
|
-
*
|
|
94
|
-
* @type {BoundDevicesManagement}
|
|
95
|
-
*/
|
|
96
|
-
boundDevices: {
|
|
97
|
-
/**
|
|
98
|
-
* Retrieves bound devices based on the specified query.
|
|
99
|
-
*
|
|
100
|
-
* @async
|
|
101
|
-
* @function get
|
|
102
|
-
* @param {BindingDeviceQuery} query - The query used to retrieve bound devices.
|
|
103
|
-
* @returns {Promise<DeviceResponse | undefined>} - A promise that resolves to the retrieved data or undefined if the response is not valid.
|
|
104
|
-
*/
|
|
105
|
-
get: (query: BindingDeviceQuery) => Promise<import("./types/binding-device.types.js").DeviceResponse | undefined>;
|
|
106
|
-
/**
|
|
107
|
-
* Deletes a bound device based on the provided query.
|
|
108
|
-
*
|
|
109
|
-
* @async
|
|
110
|
-
* @function delete
|
|
111
|
-
* @param {BindingDeviceQuery} query - The query used to delete the bound device.
|
|
112
|
-
* @returns {Promise<Device | undefined>} - A promise that resolves to the response data or undefined if the response is not valid.
|
|
113
|
-
*/
|
|
114
|
-
delete: (query: BindingDeviceQuery) => Promise<import("./types/binding-device.types.js").Device | undefined>;
|
|
115
|
-
/**
|
|
116
|
-
* Updates the name of a bound device based on the provided query.
|
|
117
|
-
*
|
|
118
|
-
* @async
|
|
119
|
-
* @function update
|
|
120
|
-
* @param {BindingDeviceQuery} query - The query used to update the bound device name.
|
|
121
|
-
* @returns {Promise<Device | undefined>} - A promise that resolves to the response data or undefined if the response is not valid.
|
|
122
|
-
*/
|
|
123
|
-
update: (query: BindingDeviceQuery) => Promise<import("./types/binding-device.types.js").Device | undefined>;
|
|
124
|
-
};
|
|
125
|
-
};
|
|
126
|
-
//# sourceMappingURL=device.store.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"device.store.d.ts","sourceRoot":"","sources":["../../../../device-client/src/lib/device.store.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAG/D,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACvF,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAClF,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAC/F,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,eAAO,MAAM,YAAY,WAAY,aAAa;IAmB9C;;;;OAIG;;QAED;;;;;;;WAOG;qBACyB,iBAAiB;QAU7C;;;;;;;WAOG;wBAC4B,eAAe,GAAG,UAAU;;IAW7D;;;;OAIG;;QAED;;;;;;;WAOG;qBACyB,eAAe;QAU3C;;;;;;;WAOG;wBAC4B,iBAAiB;;IAWlD;;;;OAIG;;QAED;;;;;;;WAOG;qBACyB,aAAa;QAUzC;;;;;;;WAOG;wBAC4B,qBAAqB,GAAG,YAAY;QAUnE;;;;;;;WAOG;wBAC4B,qBAAqB,GAAG,YAAY;;IAWrE;;;;OAIG;;QAED;;;;;;;WAOG;qBACyB,kBAAkB;QAU9C;;;;;;;WAOG;wBAC4B,kBAAkB;QAUjD;;;;;;;WAOG;wBAC4B,kBAAkB;;CAWtD,CAAC"}
|
|
@@ -1,200 +0,0 @@
|
|
|
1
|
-
import { configureStore } from '@reduxjs/toolkit';
|
|
2
|
-
import { deviceService } from './services/index.js';
|
|
3
|
-
export const deviceClient = (config) => {
|
|
4
|
-
const { middleware, reducerPath, reducer, endpoints } = deviceService({
|
|
5
|
-
baseUrl: config.serverConfig?.baseUrl ?? '',
|
|
6
|
-
realmPath: config?.realmPath ?? '',
|
|
7
|
-
});
|
|
8
|
-
const store = configureStore({
|
|
9
|
-
reducer: {
|
|
10
|
-
[reducerPath]: reducer,
|
|
11
|
-
},
|
|
12
|
-
middleware: (getDefaultMiddleware) => getDefaultMiddleware().concat(middleware),
|
|
13
|
-
});
|
|
14
|
-
/**
|
|
15
|
-
* Device management object containing methods for handling various device types.
|
|
16
|
-
*
|
|
17
|
-
* @type {DeviceManagement}
|
|
18
|
-
*/
|
|
19
|
-
return {
|
|
20
|
-
/**
|
|
21
|
-
* Oath device management methods.
|
|
22
|
-
*
|
|
23
|
-
* @type {OathManagement}
|
|
24
|
-
*/
|
|
25
|
-
oath: {
|
|
26
|
-
/**
|
|
27
|
-
* Retrieves Oath devices based on the specified query.
|
|
28
|
-
*
|
|
29
|
-
* @async
|
|
30
|
-
* @function get
|
|
31
|
-
* @param {RetrieveOathQuery} query - The query used to retrieve Oath devices.
|
|
32
|
-
* @returns {Promise<OAthResponse>} - A promise that resolves to the retrieved data or undefined if the response is not valid.
|
|
33
|
-
*/
|
|
34
|
-
get: async function (query) {
|
|
35
|
-
const response = await store.dispatch(endpoints.getOAthDevices.initiate(query));
|
|
36
|
-
if (!response || !response.data) {
|
|
37
|
-
return undefined;
|
|
38
|
-
}
|
|
39
|
-
return response.data;
|
|
40
|
-
},
|
|
41
|
-
/**
|
|
42
|
-
* Deletes an Oath device based on the provided query and device information.
|
|
43
|
-
*
|
|
44
|
-
* @async
|
|
45
|
-
* @function delete
|
|
46
|
-
* @param {DeleteOathQuery & OathDevice} query - The query and device information used to delete the Oath device.
|
|
47
|
-
* @returns {Promise<DeletedOAthDevice>} - A promise that resolves to the response data or undefined if the response is not valid.
|
|
48
|
-
*/
|
|
49
|
-
delete: async function (query) {
|
|
50
|
-
const response = await store.dispatch(endpoints.deleteOathDevice.initiate(query));
|
|
51
|
-
if (!response || !response.data) {
|
|
52
|
-
return undefined;
|
|
53
|
-
}
|
|
54
|
-
return response.data;
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
/**
|
|
58
|
-
* Push device management methods.
|
|
59
|
-
*
|
|
60
|
-
* @type {PushManagement}
|
|
61
|
-
*/
|
|
62
|
-
push: {
|
|
63
|
-
/**
|
|
64
|
-
* Retrieves Push devices based on the specified query.
|
|
65
|
-
*
|
|
66
|
-
* @async
|
|
67
|
-
* @function get
|
|
68
|
-
* @param {PushDeviceQuery} query - The query used to retrieve Push devices.
|
|
69
|
-
* @returns {Promise<PushDevicesResponse | undefined>} - A promise that resolves to the retrieved data or undefined if the response is not valid.
|
|
70
|
-
*/
|
|
71
|
-
get: async function (query) {
|
|
72
|
-
const response = await store.dispatch(endpoints.getPushDevices.initiate(query));
|
|
73
|
-
if (!response || !response.data) {
|
|
74
|
-
return undefined;
|
|
75
|
-
}
|
|
76
|
-
return response.data;
|
|
77
|
-
},
|
|
78
|
-
/**
|
|
79
|
-
* Deletes a Push device based on the provided query.
|
|
80
|
-
*
|
|
81
|
-
* @async
|
|
82
|
-
* @function delete
|
|
83
|
-
* @param {DeleteDeviceQuery} query - The query used to delete the Push device.
|
|
84
|
-
* @returns {Promise<PushDevice>} - A promise that resolves to the response data or undefined if the response is not valid.
|
|
85
|
-
*/
|
|
86
|
-
delete: async function (query) {
|
|
87
|
-
const response = await store.dispatch(endpoints.deletePushDevice.initiate(query));
|
|
88
|
-
if (!response || !response.data) {
|
|
89
|
-
return undefined;
|
|
90
|
-
}
|
|
91
|
-
return response.data;
|
|
92
|
-
},
|
|
93
|
-
},
|
|
94
|
-
/**
|
|
95
|
-
* WebAuthn device management methods.
|
|
96
|
-
*
|
|
97
|
-
* @type {WebAuthnManagement}
|
|
98
|
-
*/
|
|
99
|
-
webauthn: {
|
|
100
|
-
/**
|
|
101
|
-
* Retrieves WebAuthn devices based on the specified query.
|
|
102
|
-
*
|
|
103
|
-
* @async
|
|
104
|
-
* @function get
|
|
105
|
-
* @param {WebAuthnQuery} query - The query used to retrieve WebAuthn devices.
|
|
106
|
-
* @returns {Promise<WebAuthnDevicesResponse>} - A promise that resolves to the retrieved data or undefined if the response is not valid.
|
|
107
|
-
*/
|
|
108
|
-
get: async function (query) {
|
|
109
|
-
const response = await store.dispatch(endpoints.getWebAuthnDevices.initiate(query));
|
|
110
|
-
if (!response || !response.data) {
|
|
111
|
-
return undefined;
|
|
112
|
-
}
|
|
113
|
-
return response.data;
|
|
114
|
-
},
|
|
115
|
-
/**
|
|
116
|
-
* Updates the name of a WebAuthn device based on the provided query and body.
|
|
117
|
-
*
|
|
118
|
-
* @async
|
|
119
|
-
* @function update
|
|
120
|
-
* @param {WebAuthnQueryWithUUID & WebAuthnBody} query - The query and body used to update the WebAuthn device name.
|
|
121
|
-
* @returns {Promise<UpdatedWebAuthnDevice | undefined>} - A promise that resolves to the response data or undefined if the response is not valid.
|
|
122
|
-
*/
|
|
123
|
-
update: async function (query) {
|
|
124
|
-
const response = await store.dispatch(endpoints.updateWebAuthnDeviceName.initiate(query));
|
|
125
|
-
if (!response || !response.data) {
|
|
126
|
-
return undefined;
|
|
127
|
-
}
|
|
128
|
-
return response.data;
|
|
129
|
-
},
|
|
130
|
-
/**
|
|
131
|
-
* Deletes a WebAuthn device based on the provided query and body.
|
|
132
|
-
*
|
|
133
|
-
* @async
|
|
134
|
-
* @function delete
|
|
135
|
-
* @param {WebAuthnQueryWithUUID & WebAuthnBody} query - The query and body used to delete the WebAuthn device.
|
|
136
|
-
* @returns {Promise<WebAuthnDevice | undefined>} - A promise that resolves to the response data or undefined if the response is not valid.
|
|
137
|
-
*/
|
|
138
|
-
delete: async function (query) {
|
|
139
|
-
const response = await store.dispatch(endpoints.deleteWebAuthnDeviceName.initiate(query));
|
|
140
|
-
if (!response || !response.data) {
|
|
141
|
-
return undefined;
|
|
142
|
-
}
|
|
143
|
-
return response.data;
|
|
144
|
-
},
|
|
145
|
-
},
|
|
146
|
-
/**
|
|
147
|
-
* Bound devices management methods.
|
|
148
|
-
*
|
|
149
|
-
* @type {BoundDevicesManagement}
|
|
150
|
-
*/
|
|
151
|
-
boundDevices: {
|
|
152
|
-
/**
|
|
153
|
-
* Retrieves bound devices based on the specified query.
|
|
154
|
-
*
|
|
155
|
-
* @async
|
|
156
|
-
* @function get
|
|
157
|
-
* @param {BindingDeviceQuery} query - The query used to retrieve bound devices.
|
|
158
|
-
* @returns {Promise<DeviceResponse | undefined>} - A promise that resolves to the retrieved data or undefined if the response is not valid.
|
|
159
|
-
*/
|
|
160
|
-
get: async function (query) {
|
|
161
|
-
const response = await store.dispatch(endpoints.getBoundDevices.initiate(query));
|
|
162
|
-
if (!response || !response.data) {
|
|
163
|
-
return undefined;
|
|
164
|
-
}
|
|
165
|
-
return response.data;
|
|
166
|
-
},
|
|
167
|
-
/**
|
|
168
|
-
* Deletes a bound device based on the provided query.
|
|
169
|
-
*
|
|
170
|
-
* @async
|
|
171
|
-
* @function delete
|
|
172
|
-
* @param {BindingDeviceQuery} query - The query used to delete the bound device.
|
|
173
|
-
* @returns {Promise<Device | undefined>} - A promise that resolves to the response data or undefined if the response is not valid.
|
|
174
|
-
*/
|
|
175
|
-
delete: async function (query) {
|
|
176
|
-
const response = await store.dispatch(endpoints.deleteBindingDevice.initiate(query));
|
|
177
|
-
if (!response || !response.data) {
|
|
178
|
-
return undefined;
|
|
179
|
-
}
|
|
180
|
-
return response.data;
|
|
181
|
-
},
|
|
182
|
-
/**
|
|
183
|
-
* Updates the name of a bound device based on the provided query.
|
|
184
|
-
*
|
|
185
|
-
* @async
|
|
186
|
-
* @function update
|
|
187
|
-
* @param {BindingDeviceQuery} query - The query used to update the bound device name.
|
|
188
|
-
* @returns {Promise<Device | undefined>} - A promise that resolves to the response data or undefined if the response is not valid.
|
|
189
|
-
*/
|
|
190
|
-
update: async function (query) {
|
|
191
|
-
const response = await store.dispatch(endpoints.updateBindingDeviceName.initiate(query));
|
|
192
|
-
if (!response || !response.data) {
|
|
193
|
-
return undefined;
|
|
194
|
-
}
|
|
195
|
-
return response.data;
|
|
196
|
-
},
|
|
197
|
-
},
|
|
198
|
-
};
|
|
199
|
-
};
|
|
200
|
-
//# sourceMappingURL=device.store.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"device.store.js","sourceRoot":"","sources":["../../../../device-client/src/lib/device.store.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAMpD,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,MAAqB,EAAE,EAAE;IACpD,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,aAAa,CAAC;QACpE,OAAO,EAAE,MAAM,CAAC,YAAY,EAAE,OAAO,IAAI,EAAE;QAC3C,SAAS,EAAE,MAAM,EAAE,SAAS,IAAI,EAAE;KACnC,CAAC,CAAC;IAEH,MAAM,KAAK,GAAG,cAAc,CAAC;QAC3B,OAAO,EAAE;YACP,CAAC,WAAW,CAAC,EAAE,OAAO;SACvB;QACD,UAAU,EAAE,CAAC,oBAAoB,EAAE,EAAE,CAAC,oBAAoB,EAAE,CAAC,MAAM,CAAC,UAAU,CAAC;KAChF,CAAC,CAAC;IAEH;;;;OAIG;IACH,OAAO;QACL;;;;WAIG;QACH,IAAI,EAAE;YACJ;;;;;;;eAOG;YACH,GAAG,EAAE,KAAK,WAAW,KAAwB;gBAC3C,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC,cAAc,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;gBAEhF,IAAI,CAAC,QAAQ,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;oBAChC,OAAO,SAAS,CAAC;gBACnB,CAAC;gBAED,OAAO,QAAQ,CAAC,IAAI,CAAC;YACvB,CAAC;YAED;;;;;;;eAOG;YACH,MAAM,EAAE,KAAK,WAAW,KAAmC;gBACzD,MAAM,QAAQ,GAAG,MAAM,KAAK,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AAC,SAAS,CAAC,mBAAmB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;gBAErF,IAAI,CAAC,QAAQ,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;oBAChC,OAAO,SAAS,CAAC;gBACnB,CAAC;gBAED,OAAO,QAAQ,CAAC,IAAI,CAAC;YACvB,CAAC;YAED;;;;;;;eAOG;YACH,MAAM,EAAE,KAAK,WAAW,KAAyB;gBAC/C,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC,uBAAuB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;gBAEzF,IAAI,CAAC,QAAQ,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;oBAChC,OAAO,SAAS,CAAC;gBACnB,CAAC;gBAED,OAAO,QAAQ,CAAC,IAAI,CAAC;YACvB,CAAC;SACF;KACF,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { DeletedOAthDevice, DeleteOathQuery, OathDevice, OAthResponse, RetrieveOathQuery } from '../types/oath.types.js';
|
|
2
|
-
import { DeleteDeviceQuery, PushDevice, PushDeviceQuery, PushDevicesResponse } from '../types/push-device.types.js';
|
|
3
|
-
import { BindingDeviceQuery, Device, DeviceResponse } from '../types/binding-device.types.js';
|
|
4
|
-
import { UpdatedWebAuthnDevice, WebAuthnBody, WebAuthnDevice, WebAuthnDevicesResponse, WebAuthnQuery } from '../types/webauthn.types.js';
|
|
5
|
-
export declare const deviceService: ({ baseUrl, realmPath }: {
|
|
6
|
-
baseUrl: string;
|
|
7
|
-
realmPath: string;
|
|
8
|
-
}) => import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, {
|
|
9
|
-
getOAthDevices: import("@reduxjs/toolkit/query").QueryDefinition<RetrieveOathQuery, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, OAthResponse, "deviceClient">;
|
|
10
|
-
deleteOathDevice: import("@reduxjs/toolkit/query").MutationDefinition<DeleteOathQuery & OathDevice, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, DeletedOAthDevice, "deviceClient">;
|
|
11
|
-
getPushDevices: import("@reduxjs/toolkit/query").QueryDefinition<PushDeviceQuery, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, PushDevicesResponse, "deviceClient">;
|
|
12
|
-
deletePushDevice: import("@reduxjs/toolkit/query").MutationDefinition<DeleteDeviceQuery, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, PushDevice, "deviceClient">;
|
|
13
|
-
getWebAuthnDevices: import("@reduxjs/toolkit/query").QueryDefinition<WebAuthnQuery, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, WebAuthnDevicesResponse, "deviceClient">;
|
|
14
|
-
updateWebAuthnDeviceName: import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
15
|
-
uuid: string;
|
|
16
|
-
} & WebAuthnQuery & WebAuthnBody, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, UpdatedWebAuthnDevice, "deviceClient">;
|
|
17
|
-
deleteWebAuthnDeviceName: import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
18
|
-
uuid: string;
|
|
19
|
-
} & WebAuthnQuery & WebAuthnBody, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, WebAuthnDevice, "deviceClient">;
|
|
20
|
-
getBoundDevices: import("@reduxjs/toolkit/query").MutationDefinition<BindingDeviceQuery, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, DeviceResponse, "deviceClient">;
|
|
21
|
-
updateBindingDeviceName: import("@reduxjs/toolkit/query").MutationDefinition<BindingDeviceQuery, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, Device, "deviceClient">;
|
|
22
|
-
deleteBindingDevice: import("@reduxjs/toolkit/query").MutationDefinition<BindingDeviceQuery, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, Device, "deviceClient">;
|
|
23
|
-
}, "deviceClient", never, typeof import("@reduxjs/toolkit/query").coreModuleName>;
|
|
24
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../device-client/src/lib/services/index.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,UAAU,EACV,YAAY,EACZ,iBAAiB,EAClB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,eAAe,EACf,mBAAmB,EACpB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAE9F,OAAO,EACL,qBAAqB,EACrB,YAAY,EACZ,cAAc,EACd,uBAAuB,EACvB,aAAa,EAEd,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,aAAa,2BAA4B;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE;;;;;;;;;;;;;;;iFAuFxF,CAAC"}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2025 Ping Identity Corporation. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
* This software may be modified and distributed under the terms
|
|
5
|
-
* of the MIT license. See the LICENSE file for details.
|
|
6
|
-
*/
|
|
7
|
-
import { createApi, fetchBaseQuery } from '@reduxjs/toolkit/query';
|
|
8
|
-
export const deviceService = ({ baseUrl, realmPath }) => createApi({
|
|
9
|
-
reducerPath: 'deviceClient',
|
|
10
|
-
baseQuery: fetchBaseQuery({
|
|
11
|
-
credentials: 'include',
|
|
12
|
-
prepareHeaders: (headers) => {
|
|
13
|
-
headers.set('Content-Type', 'application/json');
|
|
14
|
-
headers.set('Accept', 'application/json');
|
|
15
|
-
headers.set('x-requested-with', 'forgerock-sdk');
|
|
16
|
-
headers.set('x-requested-platform', 'javascript');
|
|
17
|
-
return headers;
|
|
18
|
-
},
|
|
19
|
-
baseUrl,
|
|
20
|
-
}),
|
|
21
|
-
endpoints: (builder) => ({
|
|
22
|
-
// oath endpoints
|
|
23
|
-
getOAthDevices: builder.query({
|
|
24
|
-
query: ({ realm = realmPath, userId }) => `json/realms/${realm}/users/${userId}/devices/2fa/oath?_queryFilter=true`,
|
|
25
|
-
}),
|
|
26
|
-
deleteOathDevice: builder.mutation({
|
|
27
|
-
query: ({ realm = realmPath, userId, uuid, ...body }) => ({
|
|
28
|
-
method: 'DELETE',
|
|
29
|
-
url: `json/realms/${realm}/users/${userId}/devices/2fa/oath/${uuid}`,
|
|
30
|
-
body: { uuid, ...body },
|
|
31
|
-
}),
|
|
32
|
-
}),
|
|
33
|
-
// push device
|
|
34
|
-
getPushDevices: builder.query({
|
|
35
|
-
query: ({ realm = realmPath, userId }) => `/json/realms/${realm}/users/${userId}/devices/2fa/push?_queryFilter=true`,
|
|
36
|
-
}),
|
|
37
|
-
deletePushDevice: builder.mutation({
|
|
38
|
-
query: ({ realm = realmPath, userId, uuid }) => ({
|
|
39
|
-
url: `/json/realms/${realm}/users/${userId}/devices/2fa/push/${uuid}`,
|
|
40
|
-
method: 'DELETE',
|
|
41
|
-
body: {},
|
|
42
|
-
}),
|
|
43
|
-
}),
|
|
44
|
-
// webauthn devices
|
|
45
|
-
getWebAuthnDevices: builder.query({
|
|
46
|
-
query: ({ realm = realmPath, userId }) => `/json/realms/${realm}/users/${userId}/devices/2fa/webauthn?_queryFilter=true`,
|
|
47
|
-
}),
|
|
48
|
-
updateWebAuthnDeviceName: builder.mutation({
|
|
49
|
-
query: ({ realm = realmPath, userId, ...device }) => ({
|
|
50
|
-
url: `/json/realms/${realm}/users/${userId}/devices/2fa/webauthn/${device.uuid}`,
|
|
51
|
-
method: 'PUT',
|
|
52
|
-
body: device,
|
|
53
|
-
}),
|
|
54
|
-
}),
|
|
55
|
-
deleteWebAuthnDeviceName: builder.mutation({
|
|
56
|
-
query: ({ realm = realmPath, userId, ...device }) => ({
|
|
57
|
-
url: `/json/realms/${realm}/users/${userId}/devices/2fa/webauthn/${device.uuid}`,
|
|
58
|
-
method: 'DELETE',
|
|
59
|
-
body: device,
|
|
60
|
-
}),
|
|
61
|
-
}),
|
|
62
|
-
getBoundDevices: builder.mutation({
|
|
63
|
-
query: ({ realm = realmPath, userId }) => `/json/realms/${realm}/users/${userId}/devices/2fa/binding?_queryFilter=true`,
|
|
64
|
-
}),
|
|
65
|
-
updateBindingDeviceName: builder.mutation({
|
|
66
|
-
query: ({ realm = realmPath, userId, ...device }) => ({
|
|
67
|
-
url: `/json/realms/root/realms/${realm}/users/${userId}/devices/2fa/binding/${device.uuid}`,
|
|
68
|
-
method: 'PUT',
|
|
69
|
-
body: device,
|
|
70
|
-
}),
|
|
71
|
-
}),
|
|
72
|
-
deleteBindingDevice: builder.mutation({
|
|
73
|
-
query: ({ realm = realmPath, userId, ...device }) => ({
|
|
74
|
-
url: `/json/realms/root/realms/${realm}/users/${userId}/devices/2fa/binding/${device.uuid}`,
|
|
75
|
-
method: 'DELETE',
|
|
76
|
-
body: device,
|
|
77
|
-
}),
|
|
78
|
-
}),
|
|
79
|
-
}),
|
|
80
|
-
});
|
|
81
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../device-client/src/lib/services/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAyBnE,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,EAAE,OAAO,EAAE,SAAS,EAA0C,EAAE,EAAE,CAC9F,SAAS,CAAC;IACR,WAAW,EAAE,cAAc;IAC3B,SAAS,EAAE,cAAc,CAAC;QACxB,WAAW,EAAE,SAAS;QACtB,cAAc,EAAE,CAAC,OAAO,EAAE,EAAE;YAC1B,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,kBAAkB,CAAC,CAAC;YAChD,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,kBAAkB,CAAC,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AM,EAAE,KAAK;gBACb,IAAI,EAAE,MAAuB;aAC9B,CAAC;SACH,CAAC;QACF,mBAAmB,EAAE,OAAO,CAAC,QAAQ,CAA6B;YAChE,KAAK,EAAE,CAAC,EAAE,KAAK,GAAG,SAAS,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC;gBACpD,GAAG,EAAE,4BAA4B,KAAK,UAAU,MAAM,wBAAwB,MAAM,CAAC,IAAI,EAAE;gBAC3F,MAAM,EAAE,QAAQ;gBAChB,IAAI,EAAE,MAAuB;aAC9B,CAAC;SACH,CAAC;KACH,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export type BindingDeviceQuery = {
|
|
2
|
-
userId: string;
|
|
3
|
-
realm?: string;
|
|
4
|
-
} & Device;
|
|
5
|
-
export type DeviceResponse = {
|
|
6
|
-
result: Device[];
|
|
7
|
-
resultCount: number;
|
|
8
|
-
pagedResultsCookie: null;
|
|
9
|
-
totalPagedResultsPolicy: string;
|
|
10
|
-
totalPagedResults: -1;
|
|
11
|
-
remainingPagedResults: -1;
|
|
12
|
-
};
|
|
13
|
-
export type Device = {
|
|
14
|
-
_id: string;
|
|
15
|
-
_rev: string;
|
|
16
|
-
createdDate: number;
|
|
17
|
-
lastAccessDate: number;
|
|
18
|
-
deviceId: string;
|
|
19
|
-
deviceName: string;
|
|
20
|
-
uuid: string;
|
|
21
|
-
key: {
|
|
22
|
-
kty: string;
|
|
23
|
-
kid: string;
|
|
24
|
-
use: string;
|
|
25
|
-
alg: string;
|
|
26
|
-
n: string;
|
|
27
|
-
e: string;
|
|
28
|
-
};
|
|
29
|
-
deviceManagementStatus: boolean;
|
|
30
|
-
};
|
|
31
|
-
//# sourceMappingURL=binding-device.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"binding-device.types.d.ts","sourceRoot":"","sources":["../../../../../device-client/src/lib/types/binding-device.types.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,MAAM,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,IAAI,CAAC;IACzB,uBAAuB,EAAE,MAAM,CAAC;IAChC,iBAAiB,EAAE,CAAC,CAAC,CAAC;IACtB,qBAAqB,EAAE,CAAC,CAAC,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE;QACH,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;QACZ,CAAC,EAAE,MAAM,CAAC;QACV,CAAC,EAAE,MAAM,CAAC;KACX,CAAC;IACF,sBAAsB,EAAE,OAAO,CAAC;CACjC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"binding-device.types.js","sourceRoot":"","sources":["../../../../../device-client/src/lib/types/binding-device.types.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../device-client/src/lib/types/index.ts"],"names":[],"mappings":"AAMA,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2025 Ping Identity Corporation. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
* This software may be modified and distributed under the terms
|
|
5
|
-
* of the MIT license. See the LICENSE file for details.
|
|
6
|
-
*/
|
|
7
|
-
export * from './oath.types.js';
|
|
8
|
-
export * from './webauthn.types.js';
|
|
9
|
-
export * from './push-device.types.js';
|
|
10
|
-
export * from './binding-device.types.js';
|
|
11
|
-
export * from './updateDeviceProfile.types.js';
|
|
12
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../device-client/src/lib/types/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
export type OathDevice = {
|
|
2
|
-
id: string;
|
|
3
|
-
deviceName: string;
|
|
4
|
-
uuid: string;
|
|
5
|
-
createdDate: Date;
|
|
6
|
-
lastAccessDate: Date;
|
|
7
|
-
};
|
|
8
|
-
export type DeleteOathQuery = {
|
|
9
|
-
realm?: string;
|
|
10
|
-
userId: string;
|
|
11
|
-
uuid: string;
|
|
12
|
-
};
|
|
13
|
-
export type RetrieveOathQuery = {
|
|
14
|
-
realm?: string;
|
|
15
|
-
userId: string;
|
|
16
|
-
};
|
|
17
|
-
export type OAthResponse = {
|
|
18
|
-
_id: string;
|
|
19
|
-
_rev: string;
|
|
20
|
-
createdDate: number;
|
|
21
|
-
lastAccessDate: number;
|
|
22
|
-
deviceName: string;
|
|
23
|
-
uuid: string;
|
|
24
|
-
deviceManagementStatus: boolean;
|
|
25
|
-
}[];
|
|
26
|
-
export type DeletedOAthDevice = {
|
|
27
|
-
_id: string;
|
|
28
|
-
_rev: string;
|
|
29
|
-
uuid: string;
|
|
30
|
-
recoveryCodes: string[];
|
|
31
|
-
createdDate: number;
|
|
32
|
-
lastAccessDate: number;
|
|
33
|
-
sharedSecret: string;
|
|
34
|
-
deviceName: string;
|
|
35
|
-
lastLogin: number;
|
|
36
|
-
counter: number;
|
|
37
|
-
checksumDigit: boolean;
|
|
38
|
-
truncationOffset: number;
|
|
39
|
-
clockDriftSeconds: number;
|
|
40
|
-
};
|
|
41
|
-
//# sourceMappingURL=oath.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"oath.types.d.ts","sourceRoot":"","sources":["../../../../../device-client/src/lib/types/oath.types.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,IAAI,CAAC;IAClB,cAAc,EAAE,IAAI,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,sBAAsB,EAAE,OAAO,CAAC;CACjC,EAAE,CAAC;AAEJ,MAAM,MAAM,iBAAiB,GAAG;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,OAAO,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"oath.types.js","sourceRoot":"","sources":["../../../../../device-client/src/lib/types/oath.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
export type PushDeviceQuery = {
|
|
2
|
-
realm?: string;
|
|
3
|
-
userId: string;
|
|
4
|
-
};
|
|
5
|
-
export type PushDeviceBody = {
|
|
6
|
-
id: string;
|
|
7
|
-
deviceName: string;
|
|
8
|
-
uuid: string;
|
|
9
|
-
createdDate: string;
|
|
10
|
-
lastAccessDate: string;
|
|
11
|
-
};
|
|
12
|
-
export type DeleteDeviceQuery = {
|
|
13
|
-
realm?: string;
|
|
14
|
-
userId: string;
|
|
15
|
-
uuid: string;
|
|
16
|
-
};
|
|
17
|
-
export type DeviceInfoResponse = {
|
|
18
|
-
result: DeviceInfo[];
|
|
19
|
-
resultCount: number;
|
|
20
|
-
pagedResultsCookie: null;
|
|
21
|
-
totalPagedResultsPolicy: string;
|
|
22
|
-
totalPagedResults: -1;
|
|
23
|
-
remainingPagedResults: -1;
|
|
24
|
-
};
|
|
25
|
-
export type DeviceInfo = {
|
|
26
|
-
_id: string;
|
|
27
|
-
_rev: string;
|
|
28
|
-
identifier: string;
|
|
29
|
-
metadata: {
|
|
30
|
-
platform: {
|
|
31
|
-
platform: string;
|
|
32
|
-
version: number;
|
|
33
|
-
device: string;
|
|
34
|
-
deviceName: string;
|
|
35
|
-
model: string;
|
|
36
|
-
brand: string;
|
|
37
|
-
locale: string;
|
|
38
|
-
timeZone: string;
|
|
39
|
-
jailBreakScore: number;
|
|
40
|
-
};
|
|
41
|
-
hardware: {
|
|
42
|
-
hardware: string;
|
|
43
|
-
manufacturer: string;
|
|
44
|
-
storage: number;
|
|
45
|
-
memory: number;
|
|
46
|
-
cpu: number;
|
|
47
|
-
display: {
|
|
48
|
-
width: number;
|
|
49
|
-
height: number;
|
|
50
|
-
orientation: number;
|
|
51
|
-
};
|
|
52
|
-
camera: {
|
|
53
|
-
numberOfCameras: number;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
browser: {
|
|
57
|
-
userAgent: string;
|
|
58
|
-
};
|
|
59
|
-
bluetooth: {
|
|
60
|
-
supported: boolean;
|
|
61
|
-
};
|
|
62
|
-
network: {
|
|
63
|
-
connected: boolean;
|
|
64
|
-
};
|
|
65
|
-
telephony: {
|
|
66
|
-
networkCountryIso: string;
|
|
67
|
-
carrierName: string;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
lastSelectedDate: number;
|
|
71
|
-
alias: string;
|
|
72
|
-
recoveryCodes: string[];
|
|
73
|
-
};
|
|
74
|
-
export type PushDevicesResponse = PushDevice[];
|
|
75
|
-
export type PushDevice = {
|
|
76
|
-
_id: string;
|
|
77
|
-
_rev: string;
|
|
78
|
-
createdDate: number;
|
|
79
|
-
lastAccessDate: number;
|
|
80
|
-
deviceName: string;
|
|
81
|
-
uuid: string;
|
|
82
|
-
deviceManagementStatus: boolean;
|
|
83
|
-
};
|
|
84
|
-
//# sourceMappingURL=push-device.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"push-device.types.d.ts","sourceRoot":"","sources":["../../../../../device-client/src/lib/types/push-device.types.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK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AG,EAAE,MAAM,CAAC;YACZ,OAAO,EAAE;gBACP,KAAK,EAAE,MAAM,CAAC;gBACd,MAAM,EAAE,MAAM,CAAC;gBACf,WAAW,EAAE,MAAM,CAAC;aACrB,CAAC;YACF,MAAM,EAAE;gBACN,eAAe,EAAE,MAAM,CAAC;aACzB,CAAC;SACH,CAAC;QACF,OAAO,EAAE;YACP,SAAS,EAAE,MAAM,CAAC;SACnB,CAAC;QACF,SAAS,EAAE;YACT,SAAS,EAAE,OAAO,CAAC;SACpB,CAAC;QACF,OAAO,EAAE;YACP,SAAS,EAAE,OAAO,CAAC;SACpB,CAAC;QACF,SAAS,EAAE;YACT,iBAAiB,EAAE,MAAM,CAAC;YAC1B,WAAW,EAAE,MAAM,CAAC;SACrB,CAAC;KACH,CAAC;IACF,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,EAAE,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,UAAU,EAAE,CAAC;AAE/C,MAAM,MAAM,UAAU,GAAG;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,sBAAsB,EAAE,OAAO,CAAC;CACjC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"push-device.types.js","sourceRoot":"","sources":["../../../../../device-client/src/lib/types/push-device.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
type Device = {
|
|
2
|
-
platform: string;
|
|
3
|
-
version: 34;
|
|
4
|
-
device: string;
|
|
5
|
-
deviceName: string;
|
|
6
|
-
model: string;
|
|
7
|
-
brand: string;
|
|
8
|
-
locale: string;
|
|
9
|
-
timeZone: string;
|
|
10
|
-
jailBreakScore: 0;
|
|
11
|
-
};
|
|
12
|
-
type Hardware = {
|
|
13
|
-
hardware: string;
|
|
14
|
-
manufacturer: string;
|
|
15
|
-
storage: 5939;
|
|
16
|
-
memory: 2981;
|
|
17
|
-
cpu: 4;
|
|
18
|
-
display: {
|
|
19
|
-
width: 1440;
|
|
20
|
-
height: 2678;
|
|
21
|
-
orientation: 1;
|
|
22
|
-
};
|
|
23
|
-
camera: {
|
|
24
|
-
numberOfCameras: 2;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
type Browser = {
|
|
28
|
-
userAgent: string;
|
|
29
|
-
};
|
|
30
|
-
type Bluetooth = {
|
|
31
|
-
supported: true;
|
|
32
|
-
};
|
|
33
|
-
type Network = {
|
|
34
|
-
connected: true;
|
|
35
|
-
};
|
|
36
|
-
type Telephony = {
|
|
37
|
-
networkCountryIso: 'us';
|
|
38
|
-
carrierName: 'T-Mobile';
|
|
39
|
-
};
|
|
40
|
-
type Metadata = {
|
|
41
|
-
platform: Device;
|
|
42
|
-
hardware: Hardware;
|
|
43
|
-
browser: Browser;
|
|
44
|
-
bluetooth: Bluetooth;
|
|
45
|
-
network: Network;
|
|
46
|
-
telephony: Telephony;
|
|
47
|
-
};
|
|
48
|
-
export type DeviceProfile = {
|
|
49
|
-
_id: string;
|
|
50
|
-
_rev: string;
|
|
51
|
-
identifier: string;
|
|
52
|
-
metadata: Metadata;
|
|
53
|
-
lastSelectedDate: number;
|
|
54
|
-
alias: 'Test3';
|
|
55
|
-
recoveryCodes: [];
|
|
56
|
-
};
|
|
57
|
-
export {};
|
|
58
|
-
//# sourceMappingURL=updateDeviceProfile.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updateDeviceProfile.types.d.ts","sourceRoot":"","sources":["../../../../../device-client/src/lib/types/updateDeviceProfile.types.ts"],"names":[],"mappings":"AAMA,KAAK,MAAM,GAAG;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,OA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IACnB,QAAQ,EAAE,QAAQ,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE,OAAO,CAAC;IACf,aAAa,EAAE,EAAE,CAAC;CACnB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updateDeviceProfile.types.js","sourceRoot":"","sources":["../../../../../device-client/src/lib/types/updateDeviceProfile.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
export type WebAuthnQuery = {
|
|
2
|
-
realm?: string;
|
|
3
|
-
userId: string;
|
|
4
|
-
};
|
|
5
|
-
export type WebAuthnQueryWithUUID = {
|
|
6
|
-
uuid: string;
|
|
7
|
-
} & WebAuthnQuery;
|
|
8
|
-
export type WebAuthnBody = {
|
|
9
|
-
id: string;
|
|
10
|
-
deviceName: string;
|
|
11
|
-
uuid: string;
|
|
12
|
-
credentialId: string;
|
|
13
|
-
createdDate: number;
|
|
14
|
-
lastAccessDate: number;
|
|
15
|
-
};
|
|
16
|
-
export type WebAuthnDevicesResponse = {
|
|
17
|
-
result: WebAuthnDevice[];
|
|
18
|
-
resultCount: number;
|
|
19
|
-
pagedResultsCookie: null;
|
|
20
|
-
totalPagedResultsPolicy: 'NONE';
|
|
21
|
-
totalPagedResults: -1;
|
|
22
|
-
remainingPagedResults: -1;
|
|
23
|
-
};
|
|
24
|
-
export type WebAuthnDevice = {
|
|
25
|
-
_id: string;
|
|
26
|
-
_rev: string;
|
|
27
|
-
createdDate: number;
|
|
28
|
-
lastAccessDate: number;
|
|
29
|
-
credentialId: string;
|
|
30
|
-
deviceName: string;
|
|
31
|
-
uuid: string;
|
|
32
|
-
deviceManagementStatus: boolean;
|
|
33
|
-
};
|
|
34
|
-
export type UpdatedWebAuthnDevice = {
|
|
35
|
-
_id: string;
|
|
36
|
-
_rev: string;
|
|
37
|
-
uuid: string;
|
|
38
|
-
recoveryCodes: string[];
|
|
39
|
-
createdDate: number;
|
|
40
|
-
lastAccessDate: number;
|
|
41
|
-
credentialId: string;
|
|
42
|
-
algorithm: string;
|
|
43
|
-
deviceName: string;
|
|
44
|
-
signCount: number;
|
|
45
|
-
key: {
|
|
46
|
-
kty: string;
|
|
47
|
-
x: string;
|
|
48
|
-
y: string;
|
|
49
|
-
crv: string;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
export type WebAuthnCredential = {
|
|
53
|
-
_id: string;
|
|
54
|
-
_rev: string;
|
|
55
|
-
uuid: string;
|
|
56
|
-
recoveryCodes: string[];
|
|
57
|
-
createdDate: number;
|
|
58
|
-
lastAccessDate: number;
|
|
59
|
-
credentialId: string;
|
|
60
|
-
algorithm: string;
|
|
61
|
-
deviceName: string;
|
|
62
|
-
key: {
|
|
63
|
-
kty: string;
|
|
64
|
-
x: string;
|
|
65
|
-
y: string;
|
|
66
|
-
crv: string;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
//# sourceMappingURL=webauthn.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"webauthn.types.d.ts","sourceRoot":"","sources":["../../../../../device-client/src/lib/types/webauthn.types.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,aAAa,CAAC;AAElB,MAAM,MAAM,YAAY,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,EAAE,cAAc,EAAE,CAAC;IACzB,WAAW,EAAE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U,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE;QACH,GAAG,EAAE,MAAM,CAAC;QACZ,CAAC,EAAE,MAAM,CAAC;QACV,CAAC,EAAE,MAAM,CAAC;QACV,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;CACH,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"webauthn.types.js","sourceRoot":"","sources":["../../../../../device-client/src/lib/types/webauthn.types.ts"],"names":[],"mappings":""}
|