Class RawOrgsClient


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

      • RawOrgsClient

        public RawOrgsClient​(ClientOptions clientOptions)
    • Method Detail

      • getInfoV1

        public ChrtApiHttpResponse<java.util.Map<java.lang.String,​java.lang.Object>> getInfoV1()
        Retrieves basic organization information from the authentication service. | () -> (dict)
      • getInfoV1

        public ChrtApiHttpResponse<java.util.Map<java.lang.String,​java.lang.Object>> getInfoV1​(RequestOptions requestOptions)
        Retrieves basic organization information from the authentication service. | () -> (dict)
      • listMembersV1

        public ChrtApiHttpResponse<java.util.List<OrgMemberDetails>> listMembersV1()
        Lists all members of the caller's organization with their roles and details. | () -> (list[OrgMemberDetails])
      • getOrgPublicDataV1

        public ChrtApiHttpResponse<OrgPublicData1> getOrgPublicDataV1()
        Retrieves public organization data for the caller's organization. | () -> (OrgPublicData1)
      • createOrgPublicDataV1

        public ChrtApiHttpResponse<CreateOrgPublicDataRes> createOrgPublicDataV1()
        Creates org_public_data and org_private_data documents for the caller's organization using org_type from JWT. | (CreateOrgPublicDataReq) -> (CreateOrgPublicDataRes)
      • updateOrgPublicDataV1

        public ChrtApiHttpResponse<java.lang.Boolean> updateOrgPublicDataV1()
        Updates the handle and/or company_name for the caller's organization. | (UpdateOrgPublicDataReq) -> (bool)
      • updateOrgPublicDataV1

        public ChrtApiHttpResponse<java.lang.Boolean> updateOrgPublicDataV1​(UpdateOrgPublicDataReq request)
        Updates the handle and/or company_name for the caller's organization. | (UpdateOrgPublicDataReq) -> (bool)
      • getOrgPublicDataByOrgIdV1

        public ChrtApiHttpResponse<OrgPublicData1> getOrgPublicDataByOrgIdV1​(java.lang.String orgId)
        Retrieves public organization data for a specific organization by ID. | () -> (OrgPublicData1)
      • getOrgPublicDataByOrgIdV1

        public ChrtApiHttpResponse<OrgPublicData1> getOrgPublicDataByOrgIdV1​(java.lang.String orgId,
                                                                             RequestOptions requestOptions)
        Retrieves public organization data for a specific organization by ID. | () -> (OrgPublicData1)
      • getOrgPublicDataHandleAvailabilityV1

        public ChrtApiHttpResponse<java.lang.Boolean> getOrgPublicDataHandleAvailabilityV1​(java.lang.String handle)
        Returns True when the provided handle is available, otherwise False. | () -> (bool)
      • getOrgPublicDataHandleAvailabilityV1

        public ChrtApiHttpResponse<java.lang.Boolean> getOrgPublicDataHandleAvailabilityV1​(java.lang.String handle,
                                                                                           RequestOptions requestOptions)
        Returns True when the provided handle is available, otherwise False. | () -> (bool)
      • setOrgTypeV1

        public ChrtApiHttpResponse<java.lang.Boolean> setOrgTypeV1​(SetOrgTypeReq request)
        Sets the org_type in Clerk's JWT public metadata. Returns True if already set and matching, sets it if not present, or raises exception if conflicting. | (SetOrgTypeReq) -> (bool)
      • setOrgTypeV1

        public ChrtApiHttpResponse<java.lang.Boolean> setOrgTypeV1​(SetOrgTypeReq request,
                                                                   RequestOptions requestOptions)
        Sets the org_type in Clerk's JWT public metadata. Returns True if already set and matching, sets it if not present, or raises exception if conflicting. | (SetOrgTypeReq) -> (bool)
      • getStripeConnectAccountIdV1

        public ChrtApiHttpResponse<java.lang.String> getStripeConnectAccountIdV1()
        Retrieves the Stripe Connect account ID for the caller's organization. Returns 404 if not set. | () -> (str)
      • getStripeConnectAccountIdV1

        public ChrtApiHttpResponse<java.lang.String> getStripeConnectAccountIdV1​(RequestOptions requestOptions)
        Retrieves the Stripe Connect account ID for the caller's organization. Returns 404 if not set. | () -> (str)