Class RawDevClient


  • public class RawDevClient
    extends java.lang.Object
    • Constructor Detail

      • RawDevClient

        public RawDevClient​(ClientOptions clientOptions)
    • Method Detail

      • postAgentV1

        public ChrtApiHttpResponse<AgentRes> postAgentV1()
        Runs a customer service agent that responds with logistics fun facts (real order data not yet available). | (AgentReq) -> (AgentRes)
      • postAgentV1

        public ChrtApiHttpResponse<AgentRes> postAgentV1​(AgentReq request)
        Runs a customer service agent that responds with logistics fun facts (real order data not yet available). | (AgentReq) -> (AgentRes)
      • postAgentV1

        public ChrtApiHttpResponse<AgentRes> postAgentV1​(AgentReq request,
                                                         RequestOptions requestOptions)
        Runs a customer service agent that responds with logistics fun facts (real order data not yet available). | (AgentReq) -> (AgentRes)
      • getUserIdV1

        public ChrtApiHttpResponse<java.lang.String> getUserIdV1()
        (DEPRECATED) Extracts and returns the user ID from the authenticated request's JWT token. | () -> (str)
      • getUserIdV1

        public ChrtApiHttpResponse<java.lang.String> getUserIdV1​(RequestOptions requestOptions)
        (DEPRECATED) Extracts and returns the user ID from the authenticated request's JWT token. | () -> (str)
      • getUserIdV2

        public ChrtApiHttpResponse<java.lang.String> getUserIdV2()
        Extracts and returns the user ID from the authenticated request's JWT token. | () -> (str)
      • getUserIdV2

        public ChrtApiHttpResponse<java.lang.String> getUserIdV2​(RequestOptions requestOptions)
        Extracts and returns the user ID from the authenticated request's JWT token. | () -> (str)
      • getEmailV1

        public ChrtApiHttpResponse<java.lang.String> getEmailV1()
        Retrieves the primary email address for the caller from the authentication service. | () -> (str)
      • getEmailV1

        public ChrtApiHttpResponse<java.lang.String> getEmailV1​(RequestOptions requestOptions)
        Retrieves the primary email address for the caller from the authentication service. | () -> (str)
      • getTemplateV1

        public ChrtApiHttpResponse<java.lang.String> getTemplateV1()
        Development template endpoint that returns the caller's ID for testing. | () -> (str)
      • getTemplateV1

        public ChrtApiHttpResponse<java.lang.String> getTemplateV1​(RequestOptions requestOptions)
        Development template endpoint that returns the caller's ID for testing. | () -> (str)
      • createTemplateV1

        public ChrtApiHttpResponse<TemplateRes> createTemplateV1​(TemplateReq request)
        Development template endpoint that demonstrates transaction handling and request mirroring. | (TemplateReq) -> (TemplateRes)
      • getGitInfoV1

        public ChrtApiHttpResponse<java.util.Map<java.lang.String,​java.lang.String>> getGitInfoV1()
        Returns the current GitHub PR number and commit hash for the deployment. | () -> (dict[str, str])
      • getGitInfoV1

        public ChrtApiHttpResponse<java.util.Map<java.lang.String,​java.lang.String>> getGitInfoV1​(RequestOptions requestOptions)
        Returns the current GitHub PR number and commit hash for the deployment. | () -> (dict[str, str])