Class RawBidThreadsClient


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

      • RawBidThreadsClient

        public RawBidThreadsClient​(ClientOptions clientOptions)
    • Method Detail

      • byIdV1

        public ChrtApiHttpResponse<BidThread1> byIdV1​(java.lang.String bidThreadId)
        Fetches a bid thread by id. Visible to the lister, the bidder org (provider), and the bidder driver. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (BidThread1)
      • byIdV1

        public ChrtApiHttpResponse<BidThread1> byIdV1​(java.lang.String bidThreadId,
                                                      RequestOptions requestOptions)
        Fetches a bid thread by id. Visible to the lister, the bidder org (provider), and the bidder driver. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (BidThread1)
      • listForListingV1

        public ChrtApiHttpResponse<BidThreadListRes> listForListingV1​(java.lang.String listingId)
        Lists all bid threads on a listing with filtering, sorting, and pagination. Lister-only — the listing must belong to the caller's org. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (BidThreadListRes)
      • listForListingV1

        public ChrtApiHttpResponse<BidThreadListRes> listForListingV1​(java.lang.String listingId,
                                                                      BidThreadsListForListingV1Request request)
        Lists all bid threads on a listing with filtering, sorting, and pagination. Lister-only — the listing must belong to the caller's org. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (BidThreadListRes)
      • listForListingV1

        public ChrtApiHttpResponse<BidThreadListRes> listForListingV1​(java.lang.String listingId,
                                                                      BidThreadsListForListingV1Request request,
                                                                      RequestOptions requestOptions)
        Lists all bid threads on a listing with filtering, sorting, and pagination. Lister-only — the listing must belong to the caller's org. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (BidThreadListRes)
      • listForBidderV1

        public ChrtApiHttpResponse<BidThreadListRes> listForBidderV1()
        Lists bid threads where the caller is the bidder — either as the bidder org (operator+) or as the bidder driver (driver). Filtering, sorting, and pagination supported. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (BidThreadListRes)
      • listForBidderV1

        public ChrtApiHttpResponse<BidThreadListRes> listForBidderV1​(BidThreadsListForBidderV1Request request)
        Lists bid threads where the caller is the bidder — either as the bidder org (operator+) or as the bidder driver (driver). Filtering, sorting, and pagination supported. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (BidThreadListRes)
      • listForBidderV1

        public ChrtApiHttpResponse<BidThreadListRes> listForBidderV1​(BidThreadsListForBidderV1Request request,
                                                                     RequestOptions requestOptions)
        Lists bid threads where the caller is the bidder — either as the bidder org (operator+) or as the bidder driver (driver). Filtering, sorting, and pagination supported. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (BidThreadListRes)
      • createV1

        public ChrtApiHttpResponse<java.lang.String> createV1​(BidThreadClientCreate1 request)
        Opens a new BidThread on a Listing. The body carries the thread's first Bid (SUBMIT / ACCEPT / DENY). Bidder identity is resolved server-side from the caller's JWT + the listing's audience. | authz: allowed_org_types=[provider], min_org_role=driver | (BidThreadClientCreate1) -> (PydanticObjectId)
      • createV1

        public ChrtApiHttpResponse<java.lang.String> createV1​(BidThreadClientCreate1 request,
                                                              RequestOptions requestOptions)
        Opens a new BidThread on a Listing. The body carries the thread's first Bid (SUBMIT / ACCEPT / DENY). Bidder identity is resolved server-side from the caller's JWT + the listing's audience. | authz: allowed_org_types=[provider], min_org_role=driver | (BidThreadClientCreate1) -> (PydanticObjectId)
      • counterV1

        public ChrtApiHttpResponse<java.lang.Boolean> counterV1​(java.lang.String bidThreadId)
        Pushes a COUNTER Bid carrying revised pro_forma_line_items onto an OPEN NEGOTIATION thread. Both sides of the thread may COUNTER. | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
      • counterV1

        public ChrtApiHttpResponse<java.lang.Boolean> counterV1​(java.lang.String bidThreadId,
                                                                BidAppendReq request)
        Pushes a COUNTER Bid carrying revised pro_forma_line_items onto an OPEN NEGOTIATION thread. Both sides of the thread may COUNTER. | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
      • counterV1

        public ChrtApiHttpResponse<java.lang.Boolean> counterV1​(java.lang.String bidThreadId,
                                                                BidAppendReq request,
                                                                RequestOptions requestOptions)
        Pushes a COUNTER Bid carrying revised pro_forma_line_items onto an OPEN NEGOTIATION thread. Both sides of the thread may COUNTER. | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
      • acceptV1

        public ChrtApiHttpResponse<java.lang.Boolean> acceptV1​(java.lang.String bidThreadId)
        Pushes a bidder-side ACCEPT onto an OPEN thread. References the most recent lister-side pro_forma (or the listing's opening for DISPATCH). On auto_award_first_accept=True listings, fires the full cascade immediately (thread ACCEPTED, listing AWARDED, shipping + billing side-effects). Otherwise leaves the thread OPEN for the lister to finalise via confirm_accept. Lister-side finalisation lives on confirm_accept; calling /accept/v1 from the lister side is rejected (400). | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
      • acceptV1

        public ChrtApiHttpResponse<java.lang.Boolean> acceptV1​(java.lang.String bidThreadId,
                                                               BidAppendReq request)
        Pushes a bidder-side ACCEPT onto an OPEN thread. References the most recent lister-side pro_forma (or the listing's opening for DISPATCH). On auto_award_first_accept=True listings, fires the full cascade immediately (thread ACCEPTED, listing AWARDED, shipping + billing side-effects). Otherwise leaves the thread OPEN for the lister to finalise via confirm_accept. Lister-side finalisation lives on confirm_accept; calling /accept/v1 from the lister side is rejected (400). | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
      • acceptV1

        public ChrtApiHttpResponse<java.lang.Boolean> acceptV1​(java.lang.String bidThreadId,
                                                               BidAppendReq request,
                                                               RequestOptions requestOptions)
        Pushes a bidder-side ACCEPT onto an OPEN thread. References the most recent lister-side pro_forma (or the listing's opening for DISPATCH). On auto_award_first_accept=True listings, fires the full cascade immediately (thread ACCEPTED, listing AWARDED, shipping + billing side-effects). Otherwise leaves the thread OPEN for the lister to finalise via confirm_accept. Lister-side finalisation lives on confirm_accept; calling /accept/v1 from the lister side is rejected (400). | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
      • denyV1

        public ChrtApiHttpResponse<java.lang.Boolean> denyV1​(java.lang.String bidThreadId)
        Pushes a DENY onto an OPEN thread, flipping its status to DENIED (terminal). Both sides may deny. References the most recent opposite-side Bid; carries no pro_forma. | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
      • denyV1

        public ChrtApiHttpResponse<java.lang.Boolean> denyV1​(java.lang.String bidThreadId,
                                                             BidAppendReq request)
        Pushes a DENY onto an OPEN thread, flipping its status to DENIED (terminal). Both sides may deny. References the most recent opposite-side Bid; carries no pro_forma. | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
      • denyV1

        public ChrtApiHttpResponse<java.lang.Boolean> denyV1​(java.lang.String bidThreadId,
                                                             BidAppendReq request,
                                                             RequestOptions requestOptions)
        Pushes a DENY onto an OPEN thread, flipping its status to DENIED (terminal). Both sides may deny. References the most recent opposite-side Bid; carries no pro_forma. | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
      • withdrawV1

        public ChrtApiHttpResponse<java.lang.Boolean> withdrawV1​(java.lang.String bidThreadId)
        Pushes a bidder-side WITHDRAW onto an OPEN thread, flipping its status to WITHDRAWN (terminal). Bidder-only — the lister equivalent is CANCEL on the listing. | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
      • withdrawV1

        public ChrtApiHttpResponse<java.lang.Boolean> withdrawV1​(java.lang.String bidThreadId,
                                                                 BidAppendReq request)
        Pushes a bidder-side WITHDRAW onto an OPEN thread, flipping its status to WITHDRAWN (terminal). Bidder-only — the lister equivalent is CANCEL on the listing. | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
      • withdrawV1

        public ChrtApiHttpResponse<java.lang.Boolean> withdrawV1​(java.lang.String bidThreadId,
                                                                 BidAppendReq request,
                                                                 RequestOptions requestOptions)
        Pushes a bidder-side WITHDRAW onto an OPEN thread, flipping its status to WITHDRAWN (terminal). Bidder-only — the lister equivalent is CANCEL on the listing. | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
      • confirmAcceptV1

        public ChrtApiHttpResponse<java.lang.Boolean> confirmAcceptV1​(java.lang.String bidThreadId)
        Lister confirmation of a bidder's ACCEPT on this thread, used when listing.auto_award_first_accept == False. Runs the full award cascade: thread ACCEPTED, listing AWARDED, sibling threads / listings cancelled, shipping + billing side-effects. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
      • confirmAcceptV1

        public ChrtApiHttpResponse<java.lang.Boolean> confirmAcceptV1​(java.lang.String bidThreadId,
                                                                      RequestOptions requestOptions)
        Lister confirmation of a bidder's ACCEPT on this thread, used when listing.auto_award_first_accept == False. Runs the full award cascade: thread ACCEPTED, listing AWARDED, sibling threads / listings cancelled, shipping + billing side-effects. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)