Class AsyncRawRateSheetMappingsClient


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

      • AsyncRawRateSheetMappingsClient

        public AsyncRawRateSheetMappingsClient​(ClientOptions clientOptions)
    • Method Detail

      • getByIdV1

        public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<RateSheetMapping1>> getByIdV1​(java.lang.String id)
        Retrieves a specific rate sheet mapping owned by the caller's org (owned_by_org_id == caller.org_id). | authz: allowed_org_types=[provider], min_org_role=operator | () -> (RateSheetMapping1)
      • getByIdV1

        public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<RateSheetMapping1>> getByIdV1​(java.lang.String id,
                                                                                                        RequestOptions requestOptions)
        Retrieves a specific rate sheet mapping owned by the caller's org (owned_by_org_id == caller.org_id). | authz: allowed_org_types=[provider], min_org_role=operator | () -> (RateSheetMapping1)
      • listV1

        public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<RateSheetMappingListRes>> listV1()
        Lists rate sheet mappings owned by the caller's org. Pagination only — no search/filter. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (RateSheetMappingListRes)
      • listRateSheetIdsByCounterpartyV1

        public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.util.List<java.lang.String>>> listRateSheetIdsByCounterpartyV1​(TaskGroupTypeEnum1 tgType)
        Lists rate sheet IDs mapped to a counterparty for the requested task group type. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (list[PydanticObjectId])
      • createV1

        public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.String>> createV1​(RateSheetMappingClientCreate1 request)
        Creates a rate sheet mapping owned by the caller's org. The caller becomes owned_by_org_id. Body must set exactly one of counterparty_org_id / counterparty_driver_id (XOR). | authz: allowed_org_types=[provider], min_org_role=operator | (RateSheetMappingClientCreate1) -> (PydanticObjectId)
      • createV1

        public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.String>> createV1​(RateSheetMappingClientCreate1 request,
                                                                                                      RequestOptions requestOptions)
        Creates a rate sheet mapping owned by the caller's org. The caller becomes owned_by_org_id. Body must set exactly one of counterparty_org_id / counterparty_driver_id (XOR). | authz: allowed_org_types=[provider], min_org_role=operator | (RateSheetMappingClientCreate1) -> (PydanticObjectId)
      • deleteV1

        public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> deleteV1​(java.lang.String id)
        Deletes a rate sheet mapping owned by the caller's org. Does not cascade — rate sheet documents themselves are untouched. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
      • deleteV1

        public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> deleteV1​(java.lang.String id,
                                                                                                       RequestOptions requestOptions)
        Deletes a rate sheet mapping owned by the caller's org. Does not cascade — rate sheet documents themselves are untouched. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
      • appendRateSheetV1

        public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> appendRateSheetV1​(java.lang.String id,
                                                                                                                TaskGroupTypeEnum1 tgType,
                                                                                                                java.lang.String rateSheetId)
        Appends rate_sheet_id to the per-TG-type list on a mapping. Idempotent — already-present ids are a no-op. The 0-index entry remains the default; use the set_default route to promote a different sheet. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
      • appendRateSheetV1

        public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> appendRateSheetV1​(java.lang.String id,
                                                                                                                TaskGroupTypeEnum1 tgType,
                                                                                                                java.lang.String rateSheetId,
                                                                                                                RequestOptions requestOptions)
        Appends rate_sheet_id to the per-TG-type list on a mapping. Idempotent — already-present ids are a no-op. The 0-index entry remains the default; use the set_default route to promote a different sheet. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
      • removeRateSheetV1

        public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> removeRateSheetV1​(java.lang.String id,
                                                                                                                TaskGroupTypeEnum1 tgType,
                                                                                                                java.lang.String rateSheetId)
        Removes rate_sheet_id from the per-TG-type list on a mapping. Idempotent — absent ids are a no-op. If the removed id was the 0-index default, the next id (if any) becomes the new default. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
      • removeRateSheetV1

        public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> removeRateSheetV1​(java.lang.String id,
                                                                                                                TaskGroupTypeEnum1 tgType,
                                                                                                                java.lang.String rateSheetId,
                                                                                                                RequestOptions requestOptions)
        Removes rate_sheet_id from the per-TG-type list on a mapping. Idempotent — absent ids are a no-op. If the removed id was the 0-index default, the next id (if any) becomes the new default. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
      • setDefaultRateSheetV1

        public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> setDefaultRateSheetV1​(java.lang.String id,
                                                                                                                    TaskGroupTypeEnum1 tgType,
                                                                                                                    java.lang.String rateSheetId)
        Promotes rate_sheet_id to the 0-index (default) slot of the per-TG-type list, preserving the relative order of the other ids. If the id isn't already in the list it is added at index 0. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
      • setDefaultRateSheetV1

        public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> setDefaultRateSheetV1​(java.lang.String id,
                                                                                                                    TaskGroupTypeEnum1 tgType,
                                                                                                                    java.lang.String rateSheetId,
                                                                                                                    RequestOptions requestOptions)
        Promotes rate_sheet_id to the 0-index (default) slot of the per-TG-type list, preserving the relative order of the other ids. If the id isn't already in the list it is added at index 0. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)