You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm upgrading from v6, I saw that all the types were regenerated in v7. I'm calling client.policyApi.listPolicyRules and I want to access rules actions.
The actions object is gone. I don't see why, as the API documentation states the listPolicyRules endpoint returns a Rules object that contain an actions key which is a Rules Actions Objects.
Describe the bug
I'm upgrading from v6, I saw that all the types were regenerated in v7. I'm calling
client.policyApi.listPolicyRules
and I want to access rules actions.v6
PolicyRule
type: https://github.com/okta/okta-sdk-nodejs/blob/okta-sdk-nodejs-6.0.0/src/types/models/PolicyRule.d.tsIn v7: https://github.com/okta/okta-sdk-nodejs/blob/okta-sdk-nodejs-7.0.0/src/types/generated/models/PolicyRule.d.ts
The
actions
object is gone. I don't see why, as the API documentation states thelistPolicyRules
endpoint returns a Rules object that contain anactions
key which is a Rules Actions Objects.https://developer.okta.com/docs/reference/api/policy/#list-policy-rules
https://developer.okta.com/docs/reference/api/policy/#rules-object
Could you please correct the type? Thank you.
Reproduction Steps?
n/a
SDK Versions
7.0.0 and up
Additional Information
No response
The text was updated successfully, but these errors were encountered: