Astrada TypeScript SDK
    Preparing search index...

    Class NetworkBulkFeedsApi

    Hierarchy (View Summary)

    Index
    configuration: Configuration
    middleware: Middleware[]

    The middleware of this instance; protected so hand-written subclasses can pass it on.

    • Check if the given MIME is a JSON MIME. JSON MIME examples: application/json application/json; charset=UTF8 APPLICATION/JSON application/vnd.company+json

      Parameters

      • mime: string

        MIME (Multipurpose Internet Mail Extensions)

      Returns boolean

      True if the given MIME is JSON, false otherwise.

    • Sends the request. Network errors and timeouts (while waiting for the answer or reading its body), 408, 429 and 5xx are retried for idempotent methods (see ConfigurationParameters.maxRetries). A 401 is retried once with a new token. Any other status outside 200 to 299 throws a ResponseError subclass. The body is read here, whole.

      Parameters

      Returns Promise<Response>

    • Updates a network bulk feed. Supports setting transactionStartDate (currently for SMARTDATA feeds only; other feed types are rejected with a 422) and expectedCardCount. At least one field must be provided; transactionStartDate cannot be unset (null is rejected). Setting transactionStartDate widens the feed's ingestion window: transactions posted on or after the date are ingested for the feed's deliveries, replacing the default 15-day window. Update a network bulk feed

      Parameters

      Returns Promise<NetworkBulkFeeds>