Skip to content

Conversation

tanya732
Copy link
Contributor

@tanya732 tanya732 commented May 14, 2025

Changes

New method in PromptsManager: Added getAllRenderingSettings to fetch rendering configurations for prompts and screens.

New types and interfaces:

  1. GetAllRendering200Response: Represents the response for rendering settings.
  2. GetAllRendering200ResponseOneOf and GetAllRendering200ResponseOneOfInner: Define structure for rendering configuration details.
  3. GetAllRenderingRequest: Specifies request parameters for the new API.
  4. Enum for rendering mode: Added GetAllRenderingRenderingModeEnum with values advanced and standard.

References

https://oktawiki.atlassian.net/wiki/spaces/IULX/pages/3232859634/RFC+API+endpoint+to+get+all+ACUL+configured+screens

Manual Testing

Securely store your Client ID, Client Secret, and Management API token.
Install the SDK: npm install auth0

var auth0 = new ManagementClient({
domain: '{YOUR_TENANT_AND REGION}.auth0.com',
clientId: '{YOUR_CLIENT_ID}',
clientSecret: '{YOUR_CLIENT_SECRET}',
});

const resp = auth01.prompts.getAllRenderingSettings();
console.log("resp", resp.then((data) => {
  console.log("data", data);
}))

Testing

Please describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.

  • This change adds unit test coverage
  • This change adds integration test coverage

Checklist

@tanya732 tanya732 marked this pull request as ready for review May 15, 2025 05:53
@tanya732 tanya732 requested a review from a team as a code owner May 15, 2025 05:53
@ramya18101 ramya18101 merged commit 91da296 into master May 20, 2025
8 checks passed
@ramya18101 ramya18101 deleted the acul-prompts-rendering-support branch May 20, 2025 16:51
@tusharpandey13 tusharpandey13 mentioned this pull request May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants