@cfxlabsinc/b2b-services
    Preparing search index...

    Operations that cannot be performed by consumers of this doam

    These operations are cross-customer and do not have the additional validation the normal service has. So please use with care.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    Methods

    • Parameters

      Returns Promise<
          {
              ok: true;
              value: {
                  createdAt: Date;
                  id: string;
                  quote: SwapQuote;
                  receipt?: {
                      id: string;
                      type: "SOLANA_TRANSACTION_SIGNATURE"
                      | "REWARD_ID"
                      | "REWARD_CLAIM_ID";
                  }[];
                  status: "CREATED"
                  | "PENDING"
                  | "COMPLETED"
                  | "FAILED";
                  updatedAt: Date;
              } & { customerId: string; entityId: string };
          },
      >

    • Parameters

      • __namedParameters: { id: string }

      Returns Promise<
          {
              ok: true;
              value: | {
                  createdAt: Date;
                  id: string;
                  quote: SwapQuote;
                  receipt?: {
                      id: string;
                      type: "SOLANA_TRANSACTION_SIGNATURE"
                      | "REWARD_ID"
                      | "REWARD_CLAIM_ID";
                  }[];
                  status: "CREATED"
                  | "PENDING"
                  | "COMPLETED"
                  | "FAILED";
                  updatedAt: Date;
              } & { customerId: string; entityId: string }
              | null;
          },
      >

    • Parameters

      • __namedParameters: { depositId?: string }

      Returns Promise<
          {
              ok: true;
              value: {
                  hasNext: boolean;
                  items: (
                      {
                          createdAt: Date;
                          id: string;
                          quote: SwapQuote;
                          receipt?: {
                              id: string;
                              type: "SOLANA_TRANSACTION_SIGNATURE"
                              | "REWARD_ID"
                              | "REWARD_CLAIM_ID";
                          }[];
                          status: "CREATED"
                          | "PENDING"
                          | "COMPLETED"
                          | "FAILED";
                          updatedAt: Date;
                      } & { customerId: string; entityId: string }
                  )[];
              };
          },
      >

    • Parameters

      • __namedParameters: {
            data:
                | { status: "PENDING"
                | "FAILED" }
                | {
                    receipt: {
                        id: string;
                        type: "SOLANA_TRANSACTION_SIGNATURE" | "REWARD_ID" | "REWARD_CLAIM_ID";
                    }[];
                    status: "COMPLETED";
                };
            id: string;
        }

      Returns Promise<
          {
              ok: true;
              value: {
                  createdAt: Date;
                  id: string;
                  quote: SwapQuote;
                  receipt?: {
                      id: string;
                      type: "SOLANA_TRANSACTION_SIGNATURE"
                      | "REWARD_ID"
                      | "REWARD_CLAIM_ID";
                  }[];
                  status: "CREATED"
                  | "PENDING"
                  | "COMPLETED"
                  | "FAILED";
                  updatedAt: Date;
              };
          },
      >