-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DeviceApi is missing in sdk client #386
Comments
Thanks for submitting this issue. |
I still can't see it in version 7.0.1 which is the latest version? |
Yes, 7.0.1 is the latest version. import { Client, Device } from '@okta/okta-sdk-nodejs';
const client = new Client(...);
const collection = await client.deviceApi.listDevices({
limit: 1
});
const { value: device } = await collection.next(); // access the first item of the collect
console.log(device); |
@denysoblohin-okta I am happy to show you that it is not available. If you download your source code from this repo as of 7.0.1 tag it is NOT included: |
You can also see it in the github tree here, DevicesApi is not imported. It is present on master, but NOT in 7.0.1 https://github.com/okta/okta-sdk-nodejs/blob/okta-sdk-nodejs-7.0.1/src/client.js#L55 |
@denysoblohin-okta you can see in master it is on line 56, but not in 7.0.1 https://github.com/okta/okta-sdk-nodejs/blob/master/src/client.js#L56 |
Sorry, you're correct. |
@denysoblohin-okta do you have an ETA for this? |
this fix appears to still be missing a listDeviceUsers method |
@az-nextsec |
Describe the feature request?
DeviceApi (ObjectDeviceApi) is missing in list of
Client
object apisNew or Affected Resource(s)
7.0.0
Provide a documentation link
okta-sdk-nodejs/src/types/generated/types/ObjectParamAPI.d.ts
Line 3770 in 26ba0a0
Additional Information?
Is it possible to add
deviceApi
to the client as well?Thank you
The text was updated successfully, but these errors were encountered: