SupplySourcesApi - axios parameter creator

  • Parameters

    • Optionalconfiguration: Configuration

    Returns {
        archiveSupplySource: (
            supplySourceId: string,
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>;
        createSupplySource: (
            payload: CreateSupplySourceRequest,
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>;
        getSupplySource: (
            supplySourceId: string,
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>;
        getSupplySources: (
            nextPageToken?: string,
            pageSize?: number,
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>;
        updateSupplySource: (
            supplySourceId: string,
            payload?: UpdateSupplySourceRequest,
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>;
        updateSupplySourceStatus: (
            supplySourceId: string,
            payload?: UpdateSupplySourceStatusRequest,
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>;
    }

    • archiveSupplySource: (
          supplySourceId: string,
          options?: RawAxiosRequestConfig,
      ) => Promise<RequestArgs>

      Archive a supply source, making it inactive. Cannot be undone.

    • createSupplySource: (
          payload: CreateSupplySourceRequest,
          options?: RawAxiosRequestConfig,
      ) => Promise<RequestArgs>

      Create a new supply source.

    • getSupplySource: (
          supplySourceId: string,
          options?: RawAxiosRequestConfig,
      ) => Promise<RequestArgs>

      Retrieve a supply source.

    • getSupplySources: (
          nextPageToken?: string,
          pageSize?: number,
          options?: RawAxiosRequestConfig,
      ) => Promise<RequestArgs>

      The path to retrieve paginated supply sources.

    • updateSupplySource: (
          supplySourceId: string,
          payload?: UpdateSupplySourceRequest,
          options?: RawAxiosRequestConfig,
      ) => Promise<RequestArgs>

      Update the configuration and capabilities of a supply source.

    • updateSupplySourceStatus: (
          supplySourceId: string,
          payload?: UpdateSupplySourceStatusRequest,
          options?: RawAxiosRequestConfig,
      ) => Promise<RequestArgs>

      Update the status of a supply source.