Package com.chrt.api.resources.orgs
Class RawOrgsClient
- java.lang.Object
-
- com.chrt.api.resources.orgs.RawOrgsClient
-
public class RawOrgsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description RawOrgsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChrtApiHttpResponse<CreateOrgPublicDataRes>createOrgPublicDataV1()Creates org_public_data and org_private_data documents for the caller's organization using org_type from JWT.ChrtApiHttpResponse<CreateOrgPublicDataRes>createOrgPublicDataV1(CreateOrgPublicDataReq request)Creates org_public_data and org_private_data documents for the caller's organization using org_type from JWT.ChrtApiHttpResponse<CreateOrgPublicDataRes>createOrgPublicDataV1(CreateOrgPublicDataReq request, RequestOptions requestOptions)Creates org_public_data and org_private_data documents for the caller's organization using org_type from JWT.ChrtApiHttpResponse<java.util.Map<java.lang.String,java.lang.Object>>getInfoV1()Retrieves basic organization information from the authentication service.ChrtApiHttpResponse<java.util.Map<java.lang.String,java.lang.Object>>getInfoV1(RequestOptions requestOptions)Retrieves basic organization information from the authentication service.ChrtApiHttpResponse<OrgPublicData1>getOrgPublicDataByOrgIdV1(java.lang.String orgId)Retrieves public organization data for a specific organization by ID.ChrtApiHttpResponse<OrgPublicData1>getOrgPublicDataByOrgIdV1(java.lang.String orgId, RequestOptions requestOptions)Retrieves public organization data for a specific organization by ID.ChrtApiHttpResponse<java.lang.Boolean>getOrgPublicDataHandleAvailabilityV1(java.lang.String handle)Returns True when the provided handle is available, otherwise False.ChrtApiHttpResponse<java.lang.Boolean>getOrgPublicDataHandleAvailabilityV1(java.lang.String handle, RequestOptions requestOptions)Returns True when the provided handle is available, otherwise False.ChrtApiHttpResponse<OrgPublicData1>getOrgPublicDataV1()Retrieves public organization data for the caller's organization.ChrtApiHttpResponse<OrgPublicData1>getOrgPublicDataV1(RequestOptions requestOptions)Retrieves public organization data for the caller's organization.ChrtApiHttpResponse<java.lang.String>getStripeConnectAccountIdV1()Retrieves the Stripe Connect account ID for the caller's organization.ChrtApiHttpResponse<java.lang.String>getStripeConnectAccountIdV1(RequestOptions requestOptions)Retrieves the Stripe Connect account ID for the caller's organization.ChrtApiHttpResponse<java.util.List<OrgMemberDetails>>listMembersV1()Lists all members of the caller's organization with their roles and details.ChrtApiHttpResponse<java.util.List<OrgMemberDetails>>listMembersV1(RequestOptions requestOptions)Lists all members of the caller's organization with their roles and details.ChrtApiHttpResponse<java.lang.Boolean>setOrgTypeV1(SetOrgTypeReq request)Sets the org_type in Clerk's JWT public metadata.ChrtApiHttpResponse<java.lang.Boolean>setOrgTypeV1(SetOrgTypeReq request, RequestOptions requestOptions)Sets the org_type in Clerk's JWT public metadata.ChrtApiHttpResponse<java.lang.Boolean>updateOrgPublicDataV1()Updates the handle and/or company_name for the caller's organization.ChrtApiHttpResponse<java.lang.Boolean>updateOrgPublicDataV1(UpdateOrgPublicDataReq request)Updates the handle and/or company_name for the caller's organization.ChrtApiHttpResponse<java.lang.Boolean>updateOrgPublicDataV1(UpdateOrgPublicDataReq request, RequestOptions requestOptions)Updates the handle and/or company_name for the caller's organization.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
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])
-
listMembersV1
public ChrtApiHttpResponse<java.util.List<OrgMemberDetails>> listMembersV1(RequestOptions requestOptions)
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)
-
getOrgPublicDataV1
public ChrtApiHttpResponse<OrgPublicData1> getOrgPublicDataV1(RequestOptions requestOptions)
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)
-
createOrgPublicDataV1
public ChrtApiHttpResponse<CreateOrgPublicDataRes> createOrgPublicDataV1(CreateOrgPublicDataReq request)
Creates org_public_data and org_private_data documents for the caller's organization using org_type from JWT. | (CreateOrgPublicDataReq) -> (CreateOrgPublicDataRes)
-
createOrgPublicDataV1
public ChrtApiHttpResponse<CreateOrgPublicDataRes> createOrgPublicDataV1(CreateOrgPublicDataReq request, RequestOptions requestOptions)
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)
-
updateOrgPublicDataV1
public ChrtApiHttpResponse<java.lang.Boolean> updateOrgPublicDataV1(UpdateOrgPublicDataReq request, RequestOptions requestOptions)
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)
-
-